1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_NOINCLUDE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
33 /*************************************************************** -*- c -*-
34 * python/precommon.swg
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
39 ************************************************************************/
41 #define SWIG_TypeRegister SWIG_Python_TypeRegister
42 #define SWIG_TypeCheck SWIG_Python_TypeCheck
43 #define SWIG_TypeCast SWIG_Python_TypeCast
44 #define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45 #define SWIG_TypeName SWIG_Python_TypeName
46 #define SWIG_TypeQuery SWIG_Python_TypeQuery
47 #define SWIG_TypeClientData SWIG_Python_TypeClientData
48 #define SWIG_PackData SWIG_Python_PackData
49 #define SWIG_UnpackData SWIG_Python_UnpackData
52 /***********************************************************************
53 * common.swg for wxPython
55 * Include only the function prototypes and such from SWIG's common.swg,
56 * but not the runtime functions themselves. This helps keep the
57 * wrapper files clean of unnecessary stuff that is in the libpy.c file
60 ************************************************************************/
64 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
65 # if defined(_MSC_VER) || defined(__GNUC__)
66 # if defined(STATIC_LINKED)
67 # define SWIGEXPORT(a) a
68 # define SWIGIMPORT(a) extern a
70 # define SWIGEXPORT(a) __declspec(dllexport) a
71 # define SWIGIMPORT(a) extern a
74 # if defined(__BORLANDC__)
75 # define SWIGEXPORT(a) a _export
76 # define SWIGIMPORT(a) a _export
78 # define SWIGEXPORT(a) a
79 # define SWIGIMPORT(a) a
83 # define SWIGEXPORT(a) a
84 # define SWIGIMPORT(a) a
88 # define SWIGRUNTIME(a) SWIGEXPORT(a)
90 # define SWIGRUNTIME(a) static a
97 typedef void *(*swig_converter_func
)(void *);
98 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
100 typedef struct swig_type_info
{
102 swig_converter_func converter
;
105 swig_dycast_func dcast
;
106 struct swig_type_info
*next
;
107 struct swig_type_info
*prev
;
111 SWIGIMPORT(swig_type_info
*) SWIG_TypeRegister(swig_type_info
*);
112 SWIGIMPORT(swig_type_info
*) SWIG_TypeCheck(char *c
, swig_type_info
*);
113 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info
*, void *);
114 SWIGIMPORT(swig_type_info
*) SWIG_TypeDynamicCast(swig_type_info
*, void **);
115 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info
*);
116 SWIGIMPORT(swig_type_info
*) SWIG_TypeQuery(const char *);
117 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info
*, void *);
118 SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
119 SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
128 /***********************************************************************
129 * pyrun.swg for wxPython
131 * Include only the function prototypes and such from SWIG's pyrun.swg,
132 * but not the runtime functions themselves. This helps keep the
133 * wrapper files clean of unnecessary stuff that is in the libpy.c file
136 ************************************************************************/
144 #define SWIG_PY_INT 1
145 #define SWIG_PY_FLOAT 2
146 #define SWIG_PY_STRING 3
147 #define SWIG_PY_POINTER 4
148 #define SWIG_PY_BINARY 5
150 /* Flags for pointer conversion */
152 #define SWIG_POINTER_EXCEPTION 0x1
153 #define SWIG_POINTER_DISOWN 0x2
155 /* Exception handling in wrappers */
156 #define SWIG_fail goto fail
158 /* Constant information structure */
159 typedef struct swig_const_info
{
165 swig_type_info
**ptype
;
168 /* Common SWIG API */
169 #define SWIG_ConvertPtr(obj, pp, type, flags) \
170 SWIG_Python_ConvertPtr(obj, pp, type, flags)
171 #define SWIG_NewPointerObj(p, type, flags) \
172 SWIG_Python_NewPointerObj(p, type, flags)
173 #define SWIG_MustGetPtr(p, type, argnum, flags) \
174 SWIG_Python_MustGetPtr(p, type, argnum, flags)
176 /* Python-specific SWIG API */
177 #define SWIG_newvarlink() \
178 SWIG_Python_newvarlink()
179 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
180 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
181 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
182 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
183 #define SWIG_NewPackedObj(ptr, sz, type) \
184 SWIG_Python_NewPackedObj(ptr, sz, type)
185 #define SWIG_InstallConstants(d, constants) \
186 SWIG_Python_InstallConstants(d, constants)
189 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject
*, void **, swig_type_info
*, int);
190 SWIGIMPORT(PyObject
*) SWIG_Python_NewPointerObj(void *, swig_type_info
*,int own
);
191 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject
*, swig_type_info
*, int, int);
192 SWIGIMPORT(PyObject
*) SWIG_Python_newvarlink(void);
193 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
194 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject
*, void *, int sz
, swig_type_info
*, int);
195 SWIGIMPORT(PyObject
*) SWIG_Python_NewPackedObj(void *, int sz
, swig_type_info
*);
196 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]);
200 /* Contract support */
202 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
210 /* -------- TYPES TABLE (BEGIN) -------- */
212 #define SWIGTYPE_p_wxLogChain swig_types[0]
213 #define SWIGTYPE_p_wxMutexGuiLocker swig_types[1]
214 #define SWIGTYPE_p_wxFileHistory swig_types[2]
215 #define SWIGTYPE_p_wxLog swig_types[3]
216 #define SWIGTYPE_p_wxDateTime__TimeZone swig_types[4]
217 #define SWIGTYPE_p_wxMenu swig_types[5]
218 #define SWIGTYPE_p_wxEvent swig_types[6]
219 #define SWIGTYPE_p_wxConfigBase swig_types[7]
220 #define SWIGTYPE_p_wxWave swig_types[8]
221 #define SWIGTYPE_p_wxFileType swig_types[9]
222 #define SWIGTYPE_p_wxLogGui swig_types[10]
223 #define SWIGTYPE_p_wxFont swig_types[11]
224 #define SWIGTYPE_p_wxDataFormat swig_types[12]
225 #define SWIGTYPE_p_wxTimerEvent swig_types[13]
226 #define SWIGTYPE_p_wxCaret swig_types[14]
227 #define SWIGTYPE_p_int swig_types[15]
228 #define SWIGTYPE_p_wxSize swig_types[16]
229 #define SWIGTYPE_p_wxClipboard swig_types[17]
230 #define SWIGTYPE_p_wxStopWatch swig_types[18]
231 #define SWIGTYPE_p_wxDC swig_types[19]
232 #define SWIGTYPE_p_wxClipboardLocker swig_types[20]
233 #define SWIGTYPE_p_wxIcon swig_types[21]
234 #define SWIGTYPE_p_wxLogStderr swig_types[22]
235 #define SWIGTYPE_p_wxLogTextCtrl swig_types[23]
236 #define SWIGTYPE_p_wxTextCtrl swig_types[24]
237 #define SWIGTYPE_p_wxBusyCursor swig_types[25]
238 #define SWIGTYPE_p_wxFileDataObject swig_types[26]
239 #define SWIGTYPE_p_wxPyBitmapDataObject swig_types[27]
240 #define SWIGTYPE_p_wxPyTextDataObject swig_types[28]
241 #define SWIGTYPE_p_wxBitmapDataObject swig_types[29]
242 #define SWIGTYPE_p_wxTextDataObject swig_types[30]
243 #define SWIGTYPE_p_wxDataObject swig_types[31]
244 #define SWIGTYPE_p_wxCustomDataObject swig_types[32]
245 #define SWIGTYPE_p_wxURLDataObject swig_types[33]
246 #define SWIGTYPE_p_wxMetafileDataObject swig_types[34]
247 #define SWIGTYPE_p_wxTimerRunner swig_types[35]
248 #define SWIGTYPE_p_wxLogWindow swig_types[36]
249 #define SWIGTYPE_p_wxTimeSpan swig_types[37]
250 #define SWIGTYPE_p_wxArrayString swig_types[38]
251 #define SWIGTYPE_p_wxWindowDisabler swig_types[39]
252 #define SWIGTYPE_p_wxToolTip swig_types[40]
253 #define SWIGTYPE_p_wxDataObjectComposite swig_types[41]
254 #define SWIGTYPE_p_wxFileConfig swig_types[42]
255 #define SWIGTYPE_p_wxSystemSettings swig_types[43]
256 #define SWIGTYPE_p_wxPyDataObjectSimple swig_types[44]
257 #define SWIGTYPE_p_wxDataObjectSimple swig_types[45]
258 #define SWIGTYPE_p_wxEvtHandler swig_types[46]
259 #define SWIGTYPE_p_wxRect swig_types[47]
260 #define SWIGTYPE_p_wxSingleInstanceChecker swig_types[48]
261 #define SWIGTYPE_p_wxFileTypeInfo swig_types[49]
262 #define SWIGTYPE_p_wxFrame swig_types[50]
263 #define SWIGTYPE_p_wxTimer swig_types[51]
264 #define SWIGTYPE_p_wxMimeTypesManager swig_types[52]
265 #define SWIGTYPE_p_wxPyArtProvider swig_types[53]
266 #define SWIGTYPE_p_wxPyTipProvider swig_types[54]
267 #define SWIGTYPE_p_wxTipProvider swig_types[55]
268 #define SWIGTYPE_p_wxJoystick swig_types[56]
269 #define SWIGTYPE_p_wxSystemOptions swig_types[57]
270 #define SWIGTYPE_p_wxPoint swig_types[58]
271 #define SWIGTYPE_p_wxJoystickEvent swig_types[59]
272 #define SWIGTYPE_p_wxCursor swig_types[60]
273 #define SWIGTYPE_p_wxObject swig_types[61]
274 #define SWIGTYPE_p_wxOutputStream swig_types[62]
275 #define SWIGTYPE_p_wxDateTime swig_types[63]
276 #define SWIGTYPE_p_wxPyDropSource swig_types[64]
277 #define SWIGTYPE_p_wxWindow swig_types[65]
278 #define SWIGTYPE_p_wxString swig_types[66]
279 #define SWIGTYPE_p_wxPyProcess swig_types[67]
280 #define SWIGTYPE_p_wxBitmap swig_types[68]
281 #define SWIGTYPE_p_wxConfig swig_types[69]
282 #define SWIGTYPE_p_wxChar swig_types[70]
283 #define SWIGTYPE_p_wxBusyInfo swig_types[71]
284 #define SWIGTYPE_p_wxPyDropTarget swig_types[72]
285 #define SWIGTYPE_p_wxPyTextDropTarget swig_types[73]
286 #define SWIGTYPE_p_wxPyFileDropTarget swig_types[74]
287 #define SWIGTYPE_p_wxProcessEvent swig_types[75]
288 #define SWIGTYPE_p_wxPyLog swig_types[76]
289 #define SWIGTYPE_p_wxLogNull swig_types[77]
290 #define SWIGTYPE_p_wxColour swig_types[78]
291 #define SWIGTYPE_p_wxConfigPathChanger swig_types[79]
292 #define SWIGTYPE_p_wxPyTimer swig_types[80]
293 #define SWIGTYPE_p_wxDateSpan swig_types[81]
294 static swig_type_info
*swig_types
[83];
296 /* -------- TYPES TABLE (END) -------- */
299 /*-----------------------------------------------
301 ------------------------------------------------*/
302 #define SWIG_init init_misc
304 #define SWIG_name "_misc"
306 #include "wx/wxPython/wxPython.h"
307 #include "wx/wxPython/pyclasses.h"
308 #include "wx/wxPython/pyistream.h"
311 static const wxString
wxPyEmptyString(wxEmptyString
);
314 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
315 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
316 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
318 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
324 } else if (target
== Py_None
) {
328 if (!PyTuple_Check(target
)) {
330 target
= PyTuple_New(1);
331 PyTuple_SetItem(target
, 0, o2
);
334 PyTuple_SetItem(o3
, 0, o
);
337 target
= PySequence_Concat(o2
, o3
);
345 long wxGetFreeMemory()
346 { PyErr_SetNone(PyExc_NotImplementedError
); return 0; }
349 void wxWakeUpMainThread() {}
352 bool wxThread_IsMain() {
353 #ifdef WXP_WITH_THREAD
354 return wxThread::IsMain();
361 int wxCaret_GetBlinkTime() {
362 return wxCaret::GetBlinkTime();
365 void wxCaret_SetBlinkTime(int milliseconds
) {
366 wxCaret::SetBlinkTime(milliseconds
);
370 #include <wx/snglinst.h>
374 #include <wx/msw/private.h>
375 #include <wx/dynload.h>
380 void wxDrawWindowOnDC(wxWindow
* window
, const wxDC
& dc
, int method
)
387 // This one only partially works. Appears to be an undocumented
388 // "standard" convention that not all widgets adhear to. For
389 // example, for some widgets backgrounds or non-client areas may
391 ::SendMessage(GetHwndOf(window
), WM_PAINT
, (long)GetHdcOf(dc
), 0);
395 // This one works much better, except for on XP. On Win2k nearly
396 // all widgets and their children are captured correctly[**]. On
397 // XP with Themes activated most native widgets draw only
398 // partially, if at all. Without themes it works just like on
401 // ** For example the radio buttons in a wxRadioBox are not its
402 // children by default, but you can capture it via the panel
403 // instead, or change RADIOBTN_PARENT_IS_RADIOBOX in radiobox.cpp.
404 ::SendMessage(GetHwndOf(window
), WM_PRINT
, (long)GetHdcOf(dc
),
405 PRF_CLIENT
| PRF_NONCLIENT
| PRF_CHILDREN
|
406 PRF_ERASEBKGND
| PRF_OWNED
);
410 // This one is only defined in the latest SDK and is only
411 // available on XP. MSDN says it is similar to sending WM_PRINT
412 // so I expect that it will work similar to the above. Since it
413 // is avaialble only on XP, it can't be compiled like this and
414 // will have to be loaded dynamically.
415 // //::PrintWindow(GetHwndOf(window), GetHdcOf(dc), 0); //break;
420 // Use PrintWindow if available, or fallback to WM_PRINT
421 // otherwise. Unfortunately using PrintWindow is even worse than
422 // WM_PRINT. For most native widgets nothing is drawn to the dc
423 // at all, with or without Themes.
424 typedef BOOL (WINAPI
*PrintWindow_t
)(HWND
, HDC
, UINT
);
425 static bool s_triedToLoad
= False
;
426 static PrintWindow_t pfnPrintWindow
= NULL
;
427 if ( !s_triedToLoad
)
430 s_triedToLoad
= True
;
431 wxDynamicLibrary
dllUser32(_T("user32.dll"));
432 if ( dllUser32
.IsLoaded() )
434 wxLogNull nolog
; // Don't report errors here
435 pfnPrintWindow
= (PrintWindow_t
)dllUser32
.GetSymbol(_T("PrintWindow"));
440 printf("Using PrintWindow\n");
441 pfnPrintWindow(GetHwndOf(window
), GetHdcOf(dc
), 0);
445 printf("Using WM_PRINT\n");
446 ::SendMessage(GetHwndOf(window
), WM_PRINT
, (long)GetHdcOf(dc
),
447 PRF_CLIENT
| PRF_NONCLIENT
| PRF_CHILDREN
| PRF_ERASEBKGND
| PRF_OWNED
);
455 #include <wx/tipdlg.h>
458 class wxPyTipProvider
: public wxTipProvider
{
460 wxPyTipProvider(size_t currentTip
)
461 : wxTipProvider(currentTip
) {}
463 DEC_PYCALLBACK_STRING__pure(GetTip
);
464 DEC_PYCALLBACK_STRING_STRING(PreprocessTip
);
468 IMP_PYCALLBACK_STRING__pure( wxPyTipProvider
, wxTipProvider
, GetTip
);
469 IMP_PYCALLBACK_STRING_STRING(wxPyTipProvider
, wxTipProvider
, PreprocessTip
);
472 IMP_PYCALLBACK__(wxPyTimer
, wxTimer
, Notify
);
474 wxString
Log_TimeStamp(){
476 wxLog::TimeStamp(&msg
);
479 void wxLog_Destroy(wxLog
*self
){ delete self
; }
481 // A wxLog class that can be derived from in wxPython
482 class wxPyLog
: public wxLog
{
484 wxPyLog() : wxLog() {}
486 virtual void DoLog(wxLogLevel level
, const wxChar
*szString
, time_t t
) {
488 wxPyBeginBlockThreads();
489 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLog"))) {
490 PyObject
* s
= wx2PyString(szString
);
491 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iOi)", level
, s
, t
));
494 wxPyEndBlockThreads();
496 wxLog::DoLog(level
, szString
, t
);
499 virtual void DoLogString(const wxChar
*szString
, time_t t
) {
501 wxPyBeginBlockThreads();
502 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLogString"))) {
503 PyObject
* s
= wx2PyString(szString
);
504 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(Oi)", s
, t
));
507 wxPyEndBlockThreads();
509 wxLog::DoLogString(szString
, t
);
518 IMP_PYCALLBACK_VOID_INTINT( wxPyProcess
, wxProcess
, OnTerminate
);
521 #include <wx/joystick.h>
524 #if !wxUSE_JOYSTICK && !defined(__WXMSW__)
525 // A C++ stub class for wxJoystick for platforms that don't have it.
526 class wxJoystick
: public wxObject
{
528 wxJoystick(int joystick
= wxJOYSTICK1
) {
529 wxPyBeginBlockThreads();
530 PyErr_SetString(PyExc_NotImplementedError
, "wxJoystick is not available on this platform.");
531 wxPyEndBlockThreads();
533 wxPoint
GetPosition() { return wxPoint(-1,-1); }
534 int GetZPosition() { return -1; }
535 int GetButtonState() { return -1; }
536 int GetPOVPosition() { return -1; }
537 int GetPOVCTSPosition() { return -1; }
538 int GetRudderPosition() { return -1; }
539 int GetUPosition() { return -1; }
540 int GetVPosition() { return -1; }
541 int GetMovementThreshold() { return -1; }
542 void SetMovementThreshold(int threshold
) {}
544 bool IsOk(void) { return False
; }
545 int GetNumberJoysticks() { return -1; }
546 int GetManufacturerId() { return -1; }
547 int GetProductId() { return -1; }
548 wxString
GetProductName() { return ""; }
549 int GetXMin() { return -1; }
550 int GetYMin() { return -1; }
551 int GetZMin() { return -1; }
552 int GetXMax() { return -1; }
553 int GetYMax() { return -1; }
554 int GetZMax() { return -1; }
555 int GetNumberButtons() { return -1; }
556 int GetNumberAxes() { return -1; }
557 int GetMaxButtons() { return -1; }
558 int GetMaxAxes() { return -1; }
559 int GetPollingMin() { return -1; }
560 int GetPollingMax() { return -1; }
561 int GetRudderMin() { return -1; }
562 int GetRudderMax() { return -1; }
563 int GetUMin() { return -1; }
564 int GetUMax() { return -1; }
565 int GetVMin() { return -1; }
566 int GetVMax() { return -1; }
568 bool HasRudder() { return False
; }
569 bool HasZ() { return False
; }
570 bool HasU() { return False
; }
571 bool HasV() { return False
; }
572 bool HasPOV() { return False
; }
573 bool HasPOV4Dir() { return False
; }
574 bool HasPOVCTS() { return False
; }
576 bool SetCapture(wxWindow
* win
, int pollingFreq
= 0) { return False
; }
577 bool ReleaseCapture() { return False
; }
586 // A C++ stub class for wxWave for platforms that don't have it.
587 class wxWave
: public wxObject
590 wxWave(const wxString
& fileName
, bool isResource
= False
) {
591 wxPyBeginBlockThreads();
592 PyErr_SetString(PyExc_NotImplementedError
, "wxWave is not available on this platform.");
593 wxPyEndBlockThreads();
595 wxWave(int size
, const wxByte
* data
) {
596 wxPyBeginBlockThreads();
597 PyErr_SetString(PyExc_NotImplementedError
, "wxWave is not available on this platform.");
598 wxPyEndBlockThreads();
603 bool IsOk() const { return False
; }
604 bool Play(bool async
= True
, bool looped
= False
) const { return False
; }
609 wxWave
*new_wxWave(wxString
const &data
){
610 return new wxWave(data
.Len(), (wxByte
*)data
.c_str());
613 #include <wx/mimetype.h>
615 PyObject
*wxFileType_GetMimeType(wxFileType
*self
){
617 if (self
->GetMimeType(&str
))
618 return wx2PyString(str
);
622 PyObject
*wxFileType_GetMimeTypes(wxFileType
*self
){
624 if (self
->GetMimeTypes(arr
))
625 return wxArrayString2PyList_helper(arr
);
629 PyObject
*wxFileType_GetExtensions(wxFileType
*self
){
631 if (self
->GetExtensions(arr
))
632 return wxArrayString2PyList_helper(arr
);
636 wxIcon
*wxFileType_GetIcon(wxFileType
*self
){
638 if (self
->GetIcon(&loc
))
639 return new wxIcon(loc
);
643 PyObject
*wxFileType_GetIconInfo(wxFileType
*self
){
645 if (self
->GetIcon(&loc
)) {
646 wxString iconFile
= loc
.GetFileName();
651 // Make a tuple and put the values in it
652 wxPyBeginBlockThreads();
653 PyObject
* tuple
= PyTuple_New(3);
654 PyTuple_SetItem(tuple
, 0, wxPyConstructObject(new wxIcon(loc
),
655 wxT("wxIcon"), True
));
656 PyTuple_SetItem(tuple
, 1, wx2PyString(iconFile
));
657 PyTuple_SetItem(tuple
, 2, PyInt_FromLong(iconIndex
));
658 wxPyEndBlockThreads();
664 PyObject
*wxFileType_GetDescription(wxFileType
*self
){
666 if (self
->GetDescription(&str
))
667 return wx2PyString(str
);
671 PyObject
*wxFileType_GetOpenCommand(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
){
673 if (self
->GetOpenCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
674 return wx2PyString(str
);
678 PyObject
*wxFileType_GetPrintCommand(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
){
680 if (self
->GetPrintCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
681 return wx2PyString(str
);
685 PyObject
*wxFileType_GetAllCommands(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
){
687 wxArrayString commands
;
688 if (self
->GetAllCommands(&verbs
, &commands
,
689 wxFileType::MessageParameters(filename
, mimetype
))) {
690 wxPyBeginBlockThreads();
691 PyObject
* tuple
= PyTuple_New(2);
692 PyTuple_SetItem(tuple
, 0, wxArrayString2PyList_helper(verbs
));
693 PyTuple_SetItem(tuple
, 1, wxArrayString2PyList_helper(commands
));
694 wxPyEndBlockThreads();
700 wxString
FileType_ExpandCommand(wxString
const &command
,wxString
const &filename
,wxString
const &mimetype
){
701 return wxFileType::ExpandCommand(command
,
702 wxFileType::MessageParameters(filename
, mimetype
));
704 PyObject
*wxMimeTypesManager_EnumAllFileTypes(wxMimeTypesManager
*self
){
706 self
->EnumAllFileTypes(arr
);
707 return wxArrayString2PyList_helper(arr
);
710 #include <wx/artprov.h>
712 static const wxString
wxPyART_TOOLBAR(wxART_TOOLBAR
);
713 static const wxString
wxPyART_MENU(wxART_MENU
);
714 static const wxString
wxPyART_FRAME_ICON(wxART_FRAME_ICON
);
715 static const wxString
wxPyART_CMN_DIALOG(wxART_CMN_DIALOG
);
716 static const wxString
wxPyART_HELP_BROWSER(wxART_HELP_BROWSER
);
717 static const wxString
wxPyART_MESSAGE_BOX(wxART_MESSAGE_BOX
);
718 static const wxString
wxPyART_OTHER(wxART_OTHER
);
719 static const wxString
wxPyART_ADD_BOOKMARK(wxART_ADD_BOOKMARK
);
720 static const wxString
wxPyART_DEL_BOOKMARK(wxART_DEL_BOOKMARK
);
721 static const wxString
wxPyART_HELP_SIDE_PANEL(wxART_HELP_SIDE_PANEL
);
722 static const wxString
wxPyART_HELP_SETTINGS(wxART_HELP_SETTINGS
);
723 static const wxString
wxPyART_HELP_BOOK(wxART_HELP_BOOK
);
724 static const wxString
wxPyART_HELP_FOLDER(wxART_HELP_FOLDER
);
725 static const wxString
wxPyART_HELP_PAGE(wxART_HELP_PAGE
);
726 static const wxString
wxPyART_GO_BACK(wxART_GO_BACK
);
727 static const wxString
wxPyART_GO_FORWARD(wxART_GO_FORWARD
);
728 static const wxString
wxPyART_GO_UP(wxART_GO_UP
);
729 static const wxString
wxPyART_GO_DOWN(wxART_GO_DOWN
);
730 static const wxString
wxPyART_GO_TO_PARENT(wxART_GO_TO_PARENT
);
731 static const wxString
wxPyART_GO_HOME(wxART_GO_HOME
);
732 static const wxString
wxPyART_FILE_OPEN(wxART_FILE_OPEN
);
733 static const wxString
wxPyART_PRINT(wxART_PRINT
);
734 static const wxString
wxPyART_HELP(wxART_HELP
);
735 static const wxString
wxPyART_TIP(wxART_TIP
);
736 static const wxString
wxPyART_REPORT_VIEW(wxART_REPORT_VIEW
);
737 static const wxString
wxPyART_LIST_VIEW(wxART_LIST_VIEW
);
738 static const wxString
wxPyART_NEW_DIR(wxART_NEW_DIR
);
739 static const wxString
wxPyART_FOLDER(wxART_FOLDER
);
740 static const wxString
wxPyART_GO_DIR_UP(wxART_GO_DIR_UP
);
741 static const wxString
wxPyART_EXECUTABLE_FILE(wxART_EXECUTABLE_FILE
);
742 static const wxString
wxPyART_NORMAL_FILE(wxART_NORMAL_FILE
);
743 static const wxString
wxPyART_TICK_MARK(wxART_TICK_MARK
);
744 static const wxString
wxPyART_CROSS_MARK(wxART_CROSS_MARK
);
745 static const wxString
wxPyART_ERROR(wxART_ERROR
);
746 static const wxString
wxPyART_QUESTION(wxART_QUESTION
);
747 static const wxString
wxPyART_WARNING(wxART_WARNING
);
748 static const wxString
wxPyART_INFORMATION(wxART_INFORMATION
);
749 static const wxString
wxPyART_MISSING_IMAGE(wxART_MISSING_IMAGE
);
750 // Python aware wxArtProvider
751 class wxPyArtProvider
: public wxArtProvider
{
754 virtual wxBitmap
CreateBitmap(const wxArtID
& id
,
755 const wxArtClient
& client
,
756 const wxSize
& size
) {
757 wxBitmap rval
= wxNullBitmap
;
758 wxPyBeginBlockThreads();
759 if ((wxPyCBH_findCallback(m_myInst
, "CreateBitmap"))) {
760 PyObject
* so
= wxPyConstructObject((void*)&size
, wxT("wxSize"), 0);
764 s1
= wx2PyString(id
);
765 s2
= wx2PyString(client
);
766 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OOO)", s1
, s2
, so
));
771 if (wxPyConvertSwigPtr(ro
, (void**)&ptr
, wxT("wxBitmap")))
776 wxPyEndBlockThreads();
783 void wxPyArtProvider_Destroy(wxPyArtProvider
*self
){ delete self
; }
787 static PyObject
* __EnumerationHelper(bool flag
, wxString
& str
, long index
) {
788 PyObject
* ret
= PyTuple_New(3);
790 PyTuple_SET_ITEM(ret
, 0, PyInt_FromLong(flag
));
791 PyTuple_SET_ITEM(ret
, 1, wx2PyString(str
));
792 PyTuple_SET_ITEM(ret
, 2, PyInt_FromLong(index
));
797 PyObject
*wxConfigBase_GetFirstGroup(wxConfigBase
*self
){
802 cont
= self
->GetFirstGroup(value
, index
);
803 return __EnumerationHelper(cont
, value
, index
);
805 PyObject
*wxConfigBase_GetNextGroup(wxConfigBase
*self
,long index
){
809 cont
= self
->GetNextGroup(value
, index
);
810 return __EnumerationHelper(cont
, value
, index
);
812 PyObject
*wxConfigBase_GetFirstEntry(wxConfigBase
*self
){
817 cont
= self
->GetFirstEntry(value
, index
);
818 return __EnumerationHelper(cont
, value
, index
);
820 PyObject
*wxConfigBase_GetNextEntry(wxConfigBase
*self
,long index
){
824 cont
= self
->GetNextEntry(value
, index
);
825 return __EnumerationHelper(cont
, value
, index
);
827 long wxConfigBase_ReadInt(wxConfigBase
*self
,wxString
const &key
,long defaultVal
){
829 self
->Read(key
, &rv
, defaultVal
);
832 double wxConfigBase_ReadFloat(wxConfigBase
*self
,wxString
const &key
,double defaultVal
){
834 self
->Read(key
, &rv
, defaultVal
);
837 bool wxConfigBase_ReadBool(wxConfigBase
*self
,wxString
const &key
,bool defaultVal
){
839 self
->Read(key
, &rv
, defaultVal
);
843 #include <wx/datetime.h>
846 static const wxString
wxPyDateFormatStr(wxT(wxT("%c")));
847 static const wxString
wxPyTimeSpanFormatStr(wxT(wxT("%H:%M:%S")));
849 #define LOCAL_TZ wxDateTime::Local
851 wxDateTime
wxDateTime___add____SWIG_0(wxDateTime
*self
,wxTimeSpan
const &other
){ return *self
+ other
; }
852 wxDateTime
wxDateTime___add____SWIG_1(wxDateTime
*self
,wxDateSpan
const &other
){ return *self
+ other
; }
853 wxTimeSpan
wxDateTime___sub____SWIG_0(wxDateTime
*self
,wxDateTime
const &other
){ return *self
- other
; }
854 wxDateTime
wxDateTime___sub____SWIG_1(wxDateTime
*self
,wxTimeSpan
const &other
){ return *self
- other
; }
855 wxDateTime
wxDateTime___sub____SWIG_2(wxDateTime
*self
,wxDateSpan
const &other
){ return *self
- other
; }
856 bool wxDateTime___lt__(wxDateTime
*self
,wxDateTime
const &other
){ return *self
< other
; }
857 bool wxDateTime___le__(wxDateTime
*self
,wxDateTime
const &other
){ return *self
<= other
; }
858 bool wxDateTime___gt__(wxDateTime
*self
,wxDateTime
const &other
){ return *self
> other
; }
859 bool wxDateTime___ge__(wxDateTime
*self
,wxDateTime
const &other
){ return *self
>= other
; }
860 bool wxDateTime___eq__(wxDateTime
*self
,wxDateTime
const &other
){ return *self
== other
; }
861 bool wxDateTime___ne__(wxDateTime
*self
,wxDateTime
const &other
){ return *self
!= other
; }
862 int wxDateTime_ParseRfc822Date(wxDateTime
*self
,wxString
const &date
){
864 const wxChar
* _date
= date
;
865 rv
= self
->ParseRfc822Date(_date
);
866 if (rv
== NULL
) return -1;
869 int wxDateTime_ParseFormat(wxDateTime
*self
,wxString
const &date
,wxString
const &format
,wxDateTime
const &dateDef
){
871 const wxChar
* _date
= date
;
872 rv
= self
->ParseFormat(_date
, format
, dateDef
);
873 if (rv
== NULL
) return -1;
876 int wxDateTime_ParseDateTime(wxDateTime
*self
,wxString
const &datetime
){
878 const wxChar
* _datetime
= datetime
;
879 rv
= self
->ParseDateTime(_datetime
);
880 if (rv
== NULL
) return -1;
881 return rv
- _datetime
;
883 int wxDateTime_ParseDate(wxDateTime
*self
,wxString
const &date
){
885 const wxChar
* _date
= date
;
886 rv
= self
->ParseDate(_date
);
887 if (rv
== NULL
) return -1;
890 int wxDateTime_ParseTime(wxDateTime
*self
,wxString
const &time
){
892 const wxChar
* _time
= time
;
893 rv
= self
->ParseTime(_time
);
894 if (rv
== NULL
) return -1;
897 wxTimeSpan
wxTimeSpan___add__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
+ other
; }
898 wxTimeSpan
wxTimeSpan___sub__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
- other
; }
899 wxTimeSpan
wxTimeSpan___mul__(wxTimeSpan
*self
,int n
){ return *self
* n
; }
900 wxTimeSpan
wxTimeSpan___rmul__(wxTimeSpan
*self
,int n
){ return n
* *self
; }
901 bool wxTimeSpan___lt__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
< other
; }
902 bool wxTimeSpan___le__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
<= other
; }
903 bool wxTimeSpan___gt__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
> other
; }
904 bool wxTimeSpan___ge__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
>= other
; }
905 bool wxTimeSpan___eq__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
== other
; }
906 bool wxTimeSpan___ne__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
!= other
; }
907 wxDateSpan
wxDateSpan___add__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
+ other
; }
908 wxDateSpan
wxDateSpan___sub__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
- other
; }
909 wxDateSpan
wxDateSpan___mul__(wxDateSpan
*self
,int n
){ return *self
* n
; }
910 wxDateSpan
wxDateSpan___rmul__(wxDateSpan
*self
,int n
){ return n
* *self
; }
911 bool wxDateSpan___eq__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
== other
; }
912 bool wxDateSpan___ne__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
!= other
; }
914 #include <wx/dataobj.h>
916 // Create a new class for wxPython to use
917 class wxPyDataObjectSimple
: public wxDataObjectSimple
{
919 wxPyDataObjectSimple(const wxDataFormat
& format
= wxFormatInvalid
)
920 : wxDataObjectSimple(format
) {}
922 DEC_PYCALLBACK_SIZET__const(GetDataSize
);
923 bool GetDataHere(void *buf
) const;
924 bool SetData(size_t len
, const void *buf
) const;
928 IMP_PYCALLBACK_SIZET__const(wxPyDataObjectSimple
, wxDataObjectSimple
, GetDataSize
);
930 bool wxPyDataObjectSimple::GetDataHere(void *buf
) const {
931 // We need to get the data for this object and write it to buf. I think
932 // the best way to do this for wxPython is to have the Python method
933 // return either a string or None and then act appropriately with the
937 wxPyBeginBlockThreads();
938 if (wxPyCBH_findCallback(m_myInst
, "GetDataHere")) {
940 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
942 rval
= (ro
!= Py_None
&& PyString_Check(ro
));
944 memcpy(buf
, PyString_AsString(ro
), PyString_Size(ro
));
948 wxPyEndBlockThreads();
952 bool wxPyDataObjectSimple::SetData(size_t len
, const void *buf
) const{
953 // For this one we simply need to make a string from buf and len
954 // and send it to the Python method.
956 wxPyBeginBlockThreads();
957 if (wxPyCBH_findCallback(m_myInst
, "SetData")) {
958 PyObject
* data
= PyString_FromStringAndSize((char*)buf
, len
);
959 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", data
));
962 wxPyEndBlockThreads();
966 // Create a new class for wxPython to use
967 class wxPyTextDataObject
: public wxTextDataObject
{
969 wxPyTextDataObject(const wxString
& text
= wxPyEmptyString
)
970 : wxTextDataObject(text
) {}
972 DEC_PYCALLBACK_SIZET__const(GetTextLength
);
973 DEC_PYCALLBACK_STRING__const(GetText
);
974 DEC_PYCALLBACK__STRING(SetText
);
978 IMP_PYCALLBACK_SIZET__const(wxPyTextDataObject
, wxTextDataObject
, GetTextLength
);
979 IMP_PYCALLBACK_STRING__const(wxPyTextDataObject
, wxTextDataObject
, GetText
);
980 IMP_PYCALLBACK__STRING(wxPyTextDataObject
, wxTextDataObject
, SetText
);
983 // Create a new class for wxPython to use
984 class wxPyBitmapDataObject
: public wxBitmapDataObject
{
986 wxPyBitmapDataObject(const wxBitmap
& bitmap
= wxNullBitmap
)
987 : wxBitmapDataObject(bitmap
) {}
989 wxBitmap
GetBitmap() const;
990 void SetBitmap(const wxBitmap
& bitmap
);
994 wxBitmap
wxPyBitmapDataObject::GetBitmap() const {
995 wxBitmap
* rval
= &wxNullBitmap
;
996 wxPyBeginBlockThreads();
997 if (wxPyCBH_findCallback(m_myInst
, "GetBitmap")) {
1000 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
1002 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxBitmap")))
1007 wxPyEndBlockThreads();
1011 void wxPyBitmapDataObject::SetBitmap(const wxBitmap
& bitmap
) {
1012 wxPyBeginBlockThreads();
1013 if (wxPyCBH_findCallback(m_myInst
, "SetBitmap")) {
1014 PyObject
* bo
= wxPyConstructObject((void*)&bitmap
, wxT("wxBitmap"), False
);
1015 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", bo
));
1018 wxPyEndBlockThreads();
1021 void wxCustomDataObject_TakeData(wxCustomDataObject
*self
,PyObject
*data
){
1022 if (PyString_Check(data
)) {
1023 // for Python we just call SetData here since we always need it to make a copy.
1024 self
->SetData(PyString_Size(data
), PyString_AsString(data
));
1027 // raise a TypeError if not a string
1028 PyErr_SetString(PyExc_TypeError
, "String expected.");
1031 bool wxCustomDataObject_SetData(wxCustomDataObject
*self
,PyObject
*data
){
1032 if (PyString_Check(data
)) {
1033 return self
->SetData(PyString_Size(data
), PyString_AsString(data
));
1036 // raise a TypeError if not a string
1037 PyErr_SetString(PyExc_TypeError
, "String expected.");
1041 PyObject
*wxCustomDataObject_GetData(wxCustomDataObject
*self
){
1042 return PyString_FromStringAndSize((char*)self
->GetData(), self
->GetSize());
1045 class wxMetafileDataObject
: public wxDataObjectSimple
1048 wxMetafileDataObject() { PyErr_SetNone(PyExc_NotImplementedError
); }
1054 IMP_PYCALLBACK_BOOL_DR(wxPyDropSource
, wxDropSource
, GiveFeedback
);
1057 IMP_PYCALLBACK__(wxPyDropTarget
, wxDropTarget
, OnLeave
);
1058 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnEnter
);
1059 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnDragOver
);
1060 IMP_PYCALLBACK_DR_2WXCDR_pure(wxPyDropTarget
, wxDropTarget
, OnData
);
1061 IMP_PYCALLBACK_BOOL_INTINT(wxPyDropTarget
, wxDropTarget
, OnDrop
);
1064 class wxPyTextDropTarget
: public wxTextDropTarget
{
1066 wxPyTextDropTarget() {}
1068 DEC_PYCALLBACK_BOOL_INTINTSTR_pure(OnDropText
);
1070 DEC_PYCALLBACK__(OnLeave
);
1071 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
1072 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
1073 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
1074 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
1079 IMP_PYCALLBACK_BOOL_INTINTSTR_pure(wxPyTextDropTarget
, wxTextDropTarget
, OnDropText
);
1080 IMP_PYCALLBACK__(wxPyTextDropTarget
, wxTextDropTarget
, OnLeave
);
1081 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnEnter
);
1082 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnDragOver
);
1083 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnData
);
1084 IMP_PYCALLBACK_BOOL_INTINT(wxPyTextDropTarget
, wxTextDropTarget
, OnDrop
);
1088 class wxPyFileDropTarget
: public wxFileDropTarget
{
1090 wxPyFileDropTarget() {}
1092 virtual bool OnDropFiles(wxCoord x
, wxCoord y
, const wxArrayString
& filenames
);
1094 DEC_PYCALLBACK__(OnLeave
);
1095 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
1096 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
1097 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
1098 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
1103 bool wxPyFileDropTarget::OnDropFiles(wxCoord x
, wxCoord y
,
1104 const wxArrayString
& filenames
) {
1106 wxPyBeginBlockThreads();
1107 if (wxPyCBH_findCallback(m_myInst
, "OnDropFiles")) {
1108 PyObject
* list
= wxArrayString2PyList_helper(filenames
);
1109 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iiO)",x
,y
,list
));
1112 wxPyEndBlockThreads();
1118 IMP_PYCALLBACK__(wxPyFileDropTarget
, wxFileDropTarget
, OnLeave
);
1119 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnEnter
);
1120 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnDragOver
);
1121 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnData
);
1122 IMP_PYCALLBACK_BOOL_INTINT(wxPyFileDropTarget
, wxFileDropTarget
, OnDrop
);
1127 bool wxClipboardLocker___nonzero__(wxClipboardLocker
*self
){ return !!(*self
); }
1131 static PyObject
*_wrap_SystemSettings_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1132 PyObject
*resultobj
;
1136 (char *) "index", NULL
1139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i:SystemSettings_GetColour",kwnames
,&arg1
)) goto fail
;
1141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1142 result
= wxSystemSettings::GetColour((wxSystemColour
)arg1
);
1144 wxPyEndAllowThreads(__tstate
);
1145 if (PyErr_Occurred()) SWIG_fail
;
1148 wxColour
* resultptr
;
1149 resultptr
= new wxColour((wxColour
&) result
);
1150 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
1158 static PyObject
*_wrap_SystemSettings_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1159 PyObject
*resultobj
;
1163 (char *) "index", NULL
1166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i:SystemSettings_GetFont",kwnames
,&arg1
)) goto fail
;
1168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1169 result
= wxSystemSettings::GetFont((wxSystemFont
)arg1
);
1171 wxPyEndAllowThreads(__tstate
);
1172 if (PyErr_Occurred()) SWIG_fail
;
1176 resultptr
= new wxFont((wxFont
&) result
);
1177 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxFont
, 1);
1185 static PyObject
*_wrap_SystemSettings_GetMetric(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1186 PyObject
*resultobj
;
1190 (char *) "index", NULL
1193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i:SystemSettings_GetMetric",kwnames
,&arg1
)) goto fail
;
1195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1196 result
= (int)wxSystemSettings::GetMetric((wxSystemMetric
)arg1
);
1198 wxPyEndAllowThreads(__tstate
);
1199 if (PyErr_Occurred()) SWIG_fail
;
1201 resultobj
= PyInt_FromLong((long)result
);
1208 static PyObject
*_wrap_SystemSettings_HasFeature(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1209 PyObject
*resultobj
;
1213 (char *) "index", NULL
1216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i:SystemSettings_HasFeature",kwnames
,&arg1
)) goto fail
;
1218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1219 result
= (bool)wxSystemSettings::HasFeature((wxSystemFeature
)arg1
);
1221 wxPyEndAllowThreads(__tstate
);
1222 if (PyErr_Occurred()) SWIG_fail
;
1224 resultobj
= PyInt_FromLong((long)result
);
1231 static PyObject
*_wrap_SystemSettings_GetScreenType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1232 PyObject
*resultobj
;
1238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":SystemSettings_GetScreenType",kwnames
)) goto fail
;
1240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1241 result
= (int)wxSystemSettings::GetScreenType();
1243 wxPyEndAllowThreads(__tstate
);
1244 if (PyErr_Occurred()) SWIG_fail
;
1246 resultobj
= PyInt_FromLong((long)result
);
1253 static PyObject
*_wrap_SystemSettings_SetScreenType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1254 PyObject
*resultobj
;
1257 (char *) "screen", NULL
1260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i:SystemSettings_SetScreenType",kwnames
,&arg1
)) goto fail
;
1262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1263 wxSystemSettings::SetScreenType((wxSystemScreenType
)arg1
);
1265 wxPyEndAllowThreads(__tstate
);
1266 if (PyErr_Occurred()) SWIG_fail
;
1268 Py_INCREF(Py_None
); resultobj
= Py_None
;
1275 static PyObject
* SystemSettings_swigregister(PyObject
*self
, PyObject
*args
) {
1277 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1278 SWIG_TypeClientData(SWIGTYPE_p_wxSystemSettings
, obj
);
1280 return Py_BuildValue((char *)"");
1282 static PyObject
*_wrap_new_SystemOptions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1283 PyObject
*resultobj
;
1284 wxSystemOptions
*result
;
1289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SystemOptions",kwnames
)) goto fail
;
1291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1292 result
= (wxSystemOptions
*)new wxSystemOptions();
1294 wxPyEndAllowThreads(__tstate
);
1295 if (PyErr_Occurred()) SWIG_fail
;
1297 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSystemOptions
, 1);
1304 static PyObject
*_wrap_SystemOptions_SetOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1305 PyObject
*resultobj
;
1306 wxString
*arg1
= 0 ;
1307 wxString
*arg2
= 0 ;
1308 bool temp1
= False
;
1309 bool temp2
= False
;
1310 PyObject
* obj0
= 0 ;
1311 PyObject
* obj1
= 0 ;
1313 (char *) "name",(char *) "value", NULL
1316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOption",kwnames
,&obj0
,&obj1
)) goto fail
;
1318 arg1
= wxString_in_helper(obj0
);
1319 if (arg1
== NULL
) SWIG_fail
;
1323 arg2
= wxString_in_helper(obj1
);
1324 if (arg2
== NULL
) SWIG_fail
;
1328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1329 wxSystemOptions::SetOption((wxString
const &)*arg1
,(wxString
const &)*arg2
);
1331 wxPyEndAllowThreads(__tstate
);
1332 if (PyErr_Occurred()) SWIG_fail
;
1334 Py_INCREF(Py_None
); resultobj
= Py_None
;
1357 static PyObject
*_wrap_SystemOptions_SetOptionInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1358 PyObject
*resultobj
;
1359 wxString
*arg1
= 0 ;
1361 bool temp1
= False
;
1362 PyObject
* obj0
= 0 ;
1364 (char *) "name",(char *) "value", NULL
1367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SystemOptions_SetOptionInt",kwnames
,&obj0
,&arg2
)) goto fail
;
1369 arg1
= wxString_in_helper(obj0
);
1370 if (arg1
== NULL
) SWIG_fail
;
1374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1375 wxSystemOptions::SetOption((wxString
const &)*arg1
,arg2
);
1377 wxPyEndAllowThreads(__tstate
);
1378 if (PyErr_Occurred()) SWIG_fail
;
1380 Py_INCREF(Py_None
); resultobj
= Py_None
;
1395 static PyObject
*_wrap_SystemOptions_GetOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1396 PyObject
*resultobj
;
1397 wxString
*arg1
= 0 ;
1399 bool temp1
= False
;
1400 PyObject
* obj0
= 0 ;
1402 (char *) "name", NULL
1405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOption",kwnames
,&obj0
)) goto fail
;
1407 arg1
= wxString_in_helper(obj0
);
1408 if (arg1
== NULL
) SWIG_fail
;
1412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1413 result
= wxSystemOptions::GetOption((wxString
const &)*arg1
);
1415 wxPyEndAllowThreads(__tstate
);
1416 if (PyErr_Occurred()) SWIG_fail
;
1420 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
1422 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
1439 static PyObject
*_wrap_SystemOptions_GetOptionInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1440 PyObject
*resultobj
;
1441 wxString
*arg1
= 0 ;
1443 bool temp1
= False
;
1444 PyObject
* obj0
= 0 ;
1446 (char *) "name", NULL
1449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOptionInt",kwnames
,&obj0
)) goto fail
;
1451 arg1
= wxString_in_helper(obj0
);
1452 if (arg1
== NULL
) SWIG_fail
;
1456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1457 result
= (int)wxSystemOptions::GetOptionInt((wxString
const &)*arg1
);
1459 wxPyEndAllowThreads(__tstate
);
1460 if (PyErr_Occurred()) SWIG_fail
;
1462 resultobj
= PyInt_FromLong((long)result
);
1477 static PyObject
*_wrap_SystemOptions_HasOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1478 PyObject
*resultobj
;
1479 wxString
*arg1
= 0 ;
1481 bool temp1
= False
;
1482 PyObject
* obj0
= 0 ;
1484 (char *) "name", NULL
1487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_HasOption",kwnames
,&obj0
)) goto fail
;
1489 arg1
= wxString_in_helper(obj0
);
1490 if (arg1
== NULL
) SWIG_fail
;
1494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1495 result
= (bool)wxSystemOptions::HasOption((wxString
const &)*arg1
);
1497 wxPyEndAllowThreads(__tstate
);
1498 if (PyErr_Occurred()) SWIG_fail
;
1500 resultobj
= PyInt_FromLong((long)result
);
1515 static PyObject
* SystemOptions_swigregister(PyObject
*self
, PyObject
*args
) {
1517 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1518 SWIG_TypeClientData(SWIGTYPE_p_wxSystemOptions
, obj
);
1520 return Py_BuildValue((char *)"");
1522 static int _wrap_FileSelectorPromptStr_set(PyObject
*_val
) {
1523 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorPromptStr is read-only.");
1528 static PyObject
*_wrap_FileSelectorPromptStr_get() {
1533 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
1535 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
1542 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject
*_val
) {
1543 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
1548 static PyObject
*_wrap_FileSelectorDefaultWildcardStr_get() {
1553 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
1555 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
1562 static int _wrap_DirSelectorPromptStr_set(PyObject
*_val
) {
1563 PyErr_SetString(PyExc_TypeError
,"Variable DirSelectorPromptStr is read-only.");
1568 static PyObject
*_wrap_DirSelectorPromptStr_get() {
1573 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
1575 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
1582 static PyObject
*_wrap_NewId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1583 PyObject
*resultobj
;
1589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":NewId",kwnames
)) goto fail
;
1591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1592 result
= (long)wxNewId();
1594 wxPyEndAllowThreads(__tstate
);
1595 if (PyErr_Occurred()) SWIG_fail
;
1597 resultobj
= PyInt_FromLong((long)result
);
1604 static PyObject
*_wrap_RegisterId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1605 PyObject
*resultobj
;
1611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"l:RegisterId",kwnames
,&arg1
)) goto fail
;
1613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1616 wxPyEndAllowThreads(__tstate
);
1617 if (PyErr_Occurred()) SWIG_fail
;
1619 Py_INCREF(Py_None
); resultobj
= Py_None
;
1626 static PyObject
*_wrap_GetCurrentId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1627 PyObject
*resultobj
;
1633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetCurrentId",kwnames
)) goto fail
;
1635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1636 result
= (long)wxGetCurrentId();
1638 wxPyEndAllowThreads(__tstate
);
1639 if (PyErr_Occurred()) SWIG_fail
;
1641 resultobj
= PyInt_FromLong((long)result
);
1648 static PyObject
*_wrap_Bell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1649 PyObject
*resultobj
;
1654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Bell",kwnames
)) goto fail
;
1656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1659 wxPyEndAllowThreads(__tstate
);
1660 if (PyErr_Occurred()) SWIG_fail
;
1662 Py_INCREF(Py_None
); resultobj
= Py_None
;
1669 static PyObject
*_wrap_EndBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1670 PyObject
*resultobj
;
1675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":EndBusyCursor",kwnames
)) goto fail
;
1677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1680 wxPyEndAllowThreads(__tstate
);
1681 if (PyErr_Occurred()) SWIG_fail
;
1683 Py_INCREF(Py_None
); resultobj
= Py_None
;
1690 static PyObject
*_wrap_GetElapsedTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1691 PyObject
*resultobj
;
1692 bool arg1
= (bool) True
;
1694 PyObject
* obj0
= 0 ;
1696 (char *) "resetTimer", NULL
1699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetElapsedTime",kwnames
,&obj0
)) goto fail
;
1701 arg1
= PyInt_AsLong(obj0
) ? true : false;
1702 if (PyErr_Occurred()) SWIG_fail
;
1705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1706 result
= (long)wxGetElapsedTime(arg1
);
1708 wxPyEndAllowThreads(__tstate
);
1709 if (PyErr_Occurred()) SWIG_fail
;
1711 resultobj
= PyInt_FromLong((long)result
);
1718 static PyObject
*_wrap_GetMousePosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1719 PyObject
*resultobj
;
1720 int *arg1
= (int *) 0 ;
1721 int *arg2
= (int *) 0 ;
1730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetMousePosition",kwnames
)) goto fail
;
1732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1733 wxGetMousePosition(arg1
,arg2
);
1735 wxPyEndAllowThreads(__tstate
);
1736 if (PyErr_Occurred()) SWIG_fail
;
1738 Py_INCREF(Py_None
); resultobj
= Py_None
;
1740 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
1741 resultobj
= t_output_helper(resultobj
,o
);
1744 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
1745 resultobj
= t_output_helper(resultobj
,o
);
1753 static PyObject
*_wrap_IsBusy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1754 PyObject
*resultobj
;
1760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":IsBusy",kwnames
)) goto fail
;
1762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1763 result
= (bool)wxIsBusy();
1765 wxPyEndAllowThreads(__tstate
);
1766 if (PyErr_Occurred()) SWIG_fail
;
1768 resultobj
= PyInt_FromLong((long)result
);
1775 static PyObject
*_wrap_Now(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1776 PyObject
*resultobj
;
1782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Now",kwnames
)) goto fail
;
1784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1787 wxPyEndAllowThreads(__tstate
);
1788 if (PyErr_Occurred()) SWIG_fail
;
1792 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
1794 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
1803 static PyObject
*_wrap_Shell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1804 PyObject
*resultobj
;
1805 wxString
const &arg1_defvalue
= wxPyEmptyString
;
1806 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
1808 bool temp1
= False
;
1809 PyObject
* obj0
= 0 ;
1811 (char *) "command", NULL
1814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Shell",kwnames
,&obj0
)) goto fail
;
1817 arg1
= wxString_in_helper(obj0
);
1818 if (arg1
== NULL
) SWIG_fail
;
1823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1824 result
= (bool)wxShell((wxString
const &)*arg1
);
1826 wxPyEndAllowThreads(__tstate
);
1827 if (PyErr_Occurred()) SWIG_fail
;
1829 resultobj
= PyInt_FromLong((long)result
);
1844 static PyObject
*_wrap_StartTimer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1845 PyObject
*resultobj
;
1850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StartTimer",kwnames
)) goto fail
;
1852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1855 wxPyEndAllowThreads(__tstate
);
1856 if (PyErr_Occurred()) SWIG_fail
;
1858 Py_INCREF(Py_None
); resultobj
= Py_None
;
1865 static PyObject
*_wrap_GetOsVersion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1866 PyObject
*resultobj
;
1867 int *arg1
= (int *) 0 ;
1868 int *arg2
= (int *) 0 ;
1878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetOsVersion",kwnames
)) goto fail
;
1880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1881 result
= (int)wxGetOsVersion(arg1
,arg2
);
1883 wxPyEndAllowThreads(__tstate
);
1884 if (PyErr_Occurred()) SWIG_fail
;
1886 resultobj
= PyInt_FromLong((long)result
);
1888 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
1889 resultobj
= t_output_helper(resultobj
,o
);
1892 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
1893 resultobj
= t_output_helper(resultobj
,o
);
1901 static PyObject
*_wrap_GetOsDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1902 PyObject
*resultobj
;
1908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetOsDescription",kwnames
)) goto fail
;
1910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1911 result
= wxGetOsDescription();
1913 wxPyEndAllowThreads(__tstate
);
1914 if (PyErr_Occurred()) SWIG_fail
;
1918 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
1920 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
1929 static PyObject
*_wrap_GetFreeMemory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1930 PyObject
*resultobj
;
1936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetFreeMemory",kwnames
)) goto fail
;
1938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1939 result
= (long)wxGetFreeMemory();
1941 wxPyEndAllowThreads(__tstate
);
1942 if (PyErr_Occurred()) SWIG_fail
;
1944 resultobj
= PyInt_FromLong((long)result
);
1951 static PyObject
*_wrap_Shutdown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1952 PyObject
*resultobj
;
1956 (char *) "wFlags", NULL
1959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i:Shutdown",kwnames
,&arg1
)) goto fail
;
1961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1962 result
= (bool)wxShutdown((wxShutdownFlags
)arg1
);
1964 wxPyEndAllowThreads(__tstate
);
1965 if (PyErr_Occurred()) SWIG_fail
;
1967 resultobj
= PyInt_FromLong((long)result
);
1974 static PyObject
*_wrap_Sleep(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1975 PyObject
*resultobj
;
1978 (char *) "secs", NULL
1981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i:Sleep",kwnames
,&arg1
)) goto fail
;
1983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1986 wxPyEndAllowThreads(__tstate
);
1987 if (PyErr_Occurred()) SWIG_fail
;
1989 Py_INCREF(Py_None
); resultobj
= Py_None
;
1996 static PyObject
*_wrap_Usleep(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1997 PyObject
*resultobj
;
1998 unsigned long arg1
;
1999 PyObject
* obj0
= 0 ;
2001 (char *) "milliseconds", NULL
2004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Usleep",kwnames
,&obj0
)) goto fail
;
2005 arg1
= (unsigned long) PyInt_AsLong(obj0
);
2006 if (PyErr_Occurred()) SWIG_fail
;
2008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2011 wxPyEndAllowThreads(__tstate
);
2012 if (PyErr_Occurred()) SWIG_fail
;
2014 Py_INCREF(Py_None
); resultobj
= Py_None
;
2021 static PyObject
*_wrap_EnableTopLevelWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2022 PyObject
*resultobj
;
2024 PyObject
* obj0
= 0 ;
2026 (char *) "enable", NULL
2029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EnableTopLevelWindows",kwnames
,&obj0
)) goto fail
;
2030 arg1
= PyInt_AsLong(obj0
) ? true : false;
2031 if (PyErr_Occurred()) SWIG_fail
;
2033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2034 wxEnableTopLevelWindows(arg1
);
2036 wxPyEndAllowThreads(__tstate
);
2037 if (PyErr_Occurred()) SWIG_fail
;
2039 Py_INCREF(Py_None
); resultobj
= Py_None
;
2046 static PyObject
*_wrap_StripMenuCodes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2047 PyObject
*resultobj
;
2048 wxString
*arg1
= 0 ;
2050 bool temp1
= False
;
2051 PyObject
* obj0
= 0 ;
2056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StripMenuCodes",kwnames
,&obj0
)) goto fail
;
2058 arg1
= wxString_in_helper(obj0
);
2059 if (arg1
== NULL
) SWIG_fail
;
2063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2064 result
= wxStripMenuCodes((wxString
const &)*arg1
);
2066 wxPyEndAllowThreads(__tstate
);
2067 if (PyErr_Occurred()) SWIG_fail
;
2071 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2073 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2090 static PyObject
*_wrap_GetEmailAddress(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2091 PyObject
*resultobj
;
2097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetEmailAddress",kwnames
)) goto fail
;
2099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2100 result
= wxGetEmailAddress();
2102 wxPyEndAllowThreads(__tstate
);
2103 if (PyErr_Occurred()) SWIG_fail
;
2107 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2109 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2118 static PyObject
*_wrap_GetHostName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2119 PyObject
*resultobj
;
2125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetHostName",kwnames
)) goto fail
;
2127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2128 result
= wxGetHostName();
2130 wxPyEndAllowThreads(__tstate
);
2131 if (PyErr_Occurred()) SWIG_fail
;
2135 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2137 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2146 static PyObject
*_wrap_GetFullHostName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2147 PyObject
*resultobj
;
2153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetFullHostName",kwnames
)) goto fail
;
2155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2156 result
= wxGetFullHostName();
2158 wxPyEndAllowThreads(__tstate
);
2159 if (PyErr_Occurred()) SWIG_fail
;
2163 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2165 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2174 static PyObject
*_wrap_GetUserId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2175 PyObject
*resultobj
;
2181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUserId",kwnames
)) goto fail
;
2183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2184 result
= wxGetUserId();
2186 wxPyEndAllowThreads(__tstate
);
2187 if (PyErr_Occurred()) SWIG_fail
;
2191 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2193 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2202 static PyObject
*_wrap_GetUserName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2203 PyObject
*resultobj
;
2209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUserName",kwnames
)) goto fail
;
2211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2212 result
= wxGetUserName();
2214 wxPyEndAllowThreads(__tstate
);
2215 if (PyErr_Occurred()) SWIG_fail
;
2219 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2221 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2230 static PyObject
*_wrap_GetHomeDir(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2231 PyObject
*resultobj
;
2237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetHomeDir",kwnames
)) goto fail
;
2239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2240 result
= wxGetHomeDir();
2242 wxPyEndAllowThreads(__tstate
);
2243 if (PyErr_Occurred()) SWIG_fail
;
2247 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2249 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2258 static PyObject
*_wrap_GetUserHome(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2259 PyObject
*resultobj
;
2260 wxString
const &arg1_defvalue
= wxPyEmptyString
;
2261 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
2263 bool temp1
= False
;
2264 PyObject
* obj0
= 0 ;
2266 (char *) "user", NULL
2269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetUserHome",kwnames
,&obj0
)) goto fail
;
2272 arg1
= wxString_in_helper(obj0
);
2273 if (arg1
== NULL
) SWIG_fail
;
2278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2279 result
= wxGetUserHome((wxString
const &)*arg1
);
2281 wxPyEndAllowThreads(__tstate
);
2282 if (PyErr_Occurred()) SWIG_fail
;
2286 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2288 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2305 static PyObject
*_wrap_GetProcessId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2306 PyObject
*resultobj
;
2307 unsigned long result
;
2312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetProcessId",kwnames
)) goto fail
;
2314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2315 result
= (unsigned long)wxGetProcessId();
2317 wxPyEndAllowThreads(__tstate
);
2318 if (PyErr_Occurred()) SWIG_fail
;
2320 resultobj
= PyInt_FromLong((long)result
);
2327 static PyObject
*_wrap_Trap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2328 PyObject
*resultobj
;
2333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Trap",kwnames
)) goto fail
;
2335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2338 wxPyEndAllowThreads(__tstate
);
2339 if (PyErr_Occurred()) SWIG_fail
;
2341 Py_INCREF(Py_None
); resultobj
= Py_None
;
2348 static PyObject
*_wrap_FileSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2349 PyObject
*resultobj
;
2350 wxString
const &arg1_defvalue
= wxPyFileSelectorPromptStr
;
2351 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
2352 wxString
const &arg2_defvalue
= wxPyEmptyString
;
2353 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
2354 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2355 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2356 wxString
const &arg4_defvalue
= wxPyEmptyString
;
2357 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
2358 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
2359 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
2360 int arg6
= (int) 0 ;
2361 wxWindow
*arg7
= (wxWindow
*) NULL
;
2362 int arg8
= (int) -1 ;
2363 int arg9
= (int) -1 ;
2365 bool temp1
= False
;
2366 bool temp2
= False
;
2367 bool temp3
= False
;
2368 bool temp4
= False
;
2369 bool temp5
= False
;
2370 PyObject
* obj0
= 0 ;
2371 PyObject
* obj1
= 0 ;
2372 PyObject
* obj2
= 0 ;
2373 PyObject
* obj3
= 0 ;
2374 PyObject
* obj4
= 0 ;
2375 PyObject
* obj6
= 0 ;
2377 (char *) "message",(char *) "default_path",(char *) "default_filename",(char *) "default_extension",(char *) "wildcard",(char *) "flags",(char *) "parent",(char *) "x",(char *) "y", NULL
2380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOiOii:FileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
,&arg8
,&arg9
)) goto fail
;
2383 arg1
= wxString_in_helper(obj0
);
2384 if (arg1
== NULL
) SWIG_fail
;
2390 arg2
= wxString_in_helper(obj1
);
2391 if (arg2
== NULL
) SWIG_fail
;
2397 arg3
= wxString_in_helper(obj2
);
2398 if (arg3
== NULL
) SWIG_fail
;
2404 arg4
= wxString_in_helper(obj3
);
2405 if (arg4
== NULL
) SWIG_fail
;
2411 arg5
= wxString_in_helper(obj4
);
2412 if (arg5
== NULL
) SWIG_fail
;
2417 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2421 result
= wxFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,arg7
,arg8
,arg9
);
2423 wxPyEndAllowThreads(__tstate
);
2424 if (PyErr_Occurred()) SWIG_fail
;
2428 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2430 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2479 static PyObject
*_wrap_LoadFileSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2480 PyObject
*resultobj
;
2481 wxString
*arg1
= 0 ;
2482 wxString
*arg2
= 0 ;
2483 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2484 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2485 wxWindow
*arg4
= (wxWindow
*) NULL
;
2487 bool temp1
= False
;
2488 bool temp2
= False
;
2489 bool temp3
= False
;
2490 PyObject
* obj0
= 0 ;
2491 PyObject
* obj1
= 0 ;
2492 PyObject
* obj2
= 0 ;
2493 PyObject
* obj3
= 0 ;
2495 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
2498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:LoadFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
2500 arg1
= wxString_in_helper(obj0
);
2501 if (arg1
== NULL
) SWIG_fail
;
2505 arg2
= wxString_in_helper(obj1
);
2506 if (arg2
== NULL
) SWIG_fail
;
2511 arg3
= wxString_in_helper(obj2
);
2512 if (arg3
== NULL
) SWIG_fail
;
2517 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2521 result
= wxLoadFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
2523 wxPyEndAllowThreads(__tstate
);
2524 if (PyErr_Occurred()) SWIG_fail
;
2528 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2530 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2563 static PyObject
*_wrap_SaveFileSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2564 PyObject
*resultobj
;
2565 wxString
*arg1
= 0 ;
2566 wxString
*arg2
= 0 ;
2567 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2568 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2569 wxWindow
*arg4
= (wxWindow
*) NULL
;
2571 bool temp1
= False
;
2572 bool temp2
= False
;
2573 bool temp3
= False
;
2574 PyObject
* obj0
= 0 ;
2575 PyObject
* obj1
= 0 ;
2576 PyObject
* obj2
= 0 ;
2577 PyObject
* obj3
= 0 ;
2579 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
2582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:SaveFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
2584 arg1
= wxString_in_helper(obj0
);
2585 if (arg1
== NULL
) SWIG_fail
;
2589 arg2
= wxString_in_helper(obj1
);
2590 if (arg2
== NULL
) SWIG_fail
;
2595 arg3
= wxString_in_helper(obj2
);
2596 if (arg3
== NULL
) SWIG_fail
;
2601 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2605 result
= wxSaveFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
2607 wxPyEndAllowThreads(__tstate
);
2608 if (PyErr_Occurred()) SWIG_fail
;
2612 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2614 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2647 static PyObject
*_wrap_DirSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2648 PyObject
*resultobj
;
2649 wxString
const &arg1_defvalue
= wxPyDirSelectorPromptStr
;
2650 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
2651 wxString
const &arg2_defvalue
= wxPyEmptyString
;
2652 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
2653 long arg3
= (long) wxDD_DEFAULT_STYLE
;
2654 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2655 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2656 wxWindow
*arg5
= (wxWindow
*) NULL
;
2658 bool temp1
= False
;
2659 bool temp2
= False
;
2661 PyObject
* obj0
= 0 ;
2662 PyObject
* obj1
= 0 ;
2663 PyObject
* obj3
= 0 ;
2664 PyObject
* obj4
= 0 ;
2666 (char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "parent", NULL
2669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOlOO:DirSelector",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
)) goto fail
;
2672 arg1
= wxString_in_helper(obj0
);
2673 if (arg1
== NULL
) SWIG_fail
;
2679 arg2
= wxString_in_helper(obj1
);
2680 if (arg2
== NULL
) SWIG_fail
;
2687 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2691 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2695 result
= wxDirSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,(wxPoint
const &)*arg4
,arg5
);
2697 wxPyEndAllowThreads(__tstate
);
2698 if (PyErr_Occurred()) SWIG_fail
;
2702 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2704 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2729 static PyObject
*_wrap_GetTextFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2730 PyObject
*resultobj
;
2731 wxString
*arg1
= 0 ;
2732 wxString
const &arg2_defvalue
= wxPyEmptyString
;
2733 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
2734 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2735 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2736 wxWindow
*arg4
= (wxWindow
*) NULL
;
2737 int arg5
= (int) -1 ;
2738 int arg6
= (int) -1 ;
2739 bool arg7
= (bool) True
;
2741 bool temp1
= False
;
2742 bool temp2
= False
;
2743 bool temp3
= False
;
2744 PyObject
* obj0
= 0 ;
2745 PyObject
* obj1
= 0 ;
2746 PyObject
* obj2
= 0 ;
2747 PyObject
* obj3
= 0 ;
2748 PyObject
* obj6
= 0 ;
2750 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre", NULL
2753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOiiO:GetTextFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&arg5
,&arg6
,&obj6
)) goto fail
;
2755 arg1
= wxString_in_helper(obj0
);
2756 if (arg1
== NULL
) SWIG_fail
;
2761 arg2
= wxString_in_helper(obj1
);
2762 if (arg2
== NULL
) SWIG_fail
;
2768 arg3
= wxString_in_helper(obj2
);
2769 if (arg3
== NULL
) SWIG_fail
;
2774 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2777 arg7
= PyInt_AsLong(obj6
) ? true : false;
2778 if (PyErr_Occurred()) SWIG_fail
;
2781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2782 result
= wxGetTextFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,arg7
);
2784 wxPyEndAllowThreads(__tstate
);
2785 if (PyErr_Occurred()) SWIG_fail
;
2789 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2791 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2824 static PyObject
*_wrap_GetPasswordFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2825 PyObject
*resultobj
;
2826 wxString
*arg1
= 0 ;
2827 wxString
const &arg2_defvalue
= wxPyEmptyString
;
2828 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
2829 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2830 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2831 wxWindow
*arg4
= (wxWindow
*) NULL
;
2833 bool temp1
= False
;
2834 bool temp2
= False
;
2835 bool temp3
= False
;
2836 PyObject
* obj0
= 0 ;
2837 PyObject
* obj1
= 0 ;
2838 PyObject
* obj2
= 0 ;
2839 PyObject
* obj3
= 0 ;
2841 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent", NULL
2844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:GetPasswordFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
2846 arg1
= wxString_in_helper(obj0
);
2847 if (arg1
== NULL
) SWIG_fail
;
2852 arg2
= wxString_in_helper(obj1
);
2853 if (arg2
== NULL
) SWIG_fail
;
2859 arg3
= wxString_in_helper(obj2
);
2860 if (arg3
== NULL
) SWIG_fail
;
2865 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2869 result
= wxGetPasswordFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
2871 wxPyEndAllowThreads(__tstate
);
2872 if (PyErr_Occurred()) SWIG_fail
;
2876 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2878 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2911 static PyObject
*_wrap_GetSingleChoice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2912 PyObject
*resultobj
;
2913 wxString
*arg1
= 0 ;
2914 wxString
*arg2
= 0 ;
2916 wxString
*arg4
= (wxString
*) 0 ;
2917 wxWindow
*arg5
= (wxWindow
*) NULL
;
2918 int arg6
= (int) -1 ;
2919 int arg7
= (int) -1 ;
2920 bool arg8
= (bool) True
;
2921 int arg9
= (int) 150 ;
2922 int arg10
= (int) 200 ;
2924 bool temp1
= False
;
2925 bool temp2
= False
;
2926 PyObject
* obj0
= 0 ;
2927 PyObject
* obj1
= 0 ;
2928 PyObject
* obj2
= 0 ;
2929 PyObject
* obj3
= 0 ;
2930 PyObject
* obj6
= 0 ;
2932 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
2935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OiiOii:GetSingleChoice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&arg6
,&arg7
,&obj6
,&arg9
,&arg10
)) goto fail
;
2937 arg1
= wxString_in_helper(obj0
);
2938 if (arg1
== NULL
) SWIG_fail
;
2942 arg2
= wxString_in_helper(obj1
);
2943 if (arg2
== NULL
) SWIG_fail
;
2947 arg3
= PyList_Size(obj2
);
2948 arg4
= wxString_LIST_helper(obj2
);
2949 if (arg4
== NULL
) SWIG_fail
;
2952 if ((SWIG_ConvertPtr(obj3
,(void **) &arg5
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2955 arg8
= PyInt_AsLong(obj6
) ? true : false;
2956 if (PyErr_Occurred()) SWIG_fail
;
2959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2960 result
= wxGetSingleChoice((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
2962 wxPyEndAllowThreads(__tstate
);
2963 if (PyErr_Occurred()) SWIG_fail
;
2967 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2969 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2981 if (arg4
) delete [] arg4
;
2994 if (arg4
) delete [] arg4
;
3000 static PyObject
*_wrap_GetSingleChoiceIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3001 PyObject
*resultobj
;
3002 wxString
*arg1
= 0 ;
3003 wxString
*arg2
= 0 ;
3005 wxString
*arg4
= (wxString
*) 0 ;
3006 wxWindow
*arg5
= (wxWindow
*) NULL
;
3007 int arg6
= (int) -1 ;
3008 int arg7
= (int) -1 ;
3009 bool arg8
= (bool) True
;
3010 int arg9
= (int) 150 ;
3011 int arg10
= (int) 200 ;
3013 bool temp1
= False
;
3014 bool temp2
= False
;
3015 PyObject
* obj0
= 0 ;
3016 PyObject
* obj1
= 0 ;
3017 PyObject
* obj2
= 0 ;
3018 PyObject
* obj3
= 0 ;
3019 PyObject
* obj6
= 0 ;
3021 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
3024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OiiOii:GetSingleChoiceIndex",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&arg6
,&arg7
,&obj6
,&arg9
,&arg10
)) goto fail
;
3026 arg1
= wxString_in_helper(obj0
);
3027 if (arg1
== NULL
) SWIG_fail
;
3031 arg2
= wxString_in_helper(obj1
);
3032 if (arg2
== NULL
) SWIG_fail
;
3036 arg3
= PyList_Size(obj2
);
3037 arg4
= wxString_LIST_helper(obj2
);
3038 if (arg4
== NULL
) SWIG_fail
;
3041 if ((SWIG_ConvertPtr(obj3
,(void **) &arg5
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3044 arg8
= PyInt_AsLong(obj6
) ? true : false;
3045 if (PyErr_Occurred()) SWIG_fail
;
3048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3049 result
= (int)wxGetSingleChoiceIndex((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
3051 wxPyEndAllowThreads(__tstate
);
3052 if (PyErr_Occurred()) SWIG_fail
;
3054 resultobj
= PyInt_FromLong((long)result
);
3064 if (arg4
) delete [] arg4
;
3077 if (arg4
) delete [] arg4
;
3083 static PyObject
*_wrap_MessageBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3084 PyObject
*resultobj
;
3085 wxString
*arg1
= 0 ;
3086 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3087 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3088 int arg3
= (int) wxOK
|wxCENTRE
;
3089 wxWindow
*arg4
= (wxWindow
*) NULL
;
3090 int arg5
= (int) -1 ;
3091 int arg6
= (int) -1 ;
3093 bool temp1
= False
;
3094 bool temp2
= False
;
3095 PyObject
* obj0
= 0 ;
3096 PyObject
* obj1
= 0 ;
3097 PyObject
* obj3
= 0 ;
3099 (char *) "message",(char *) "caption",(char *) "style",(char *) "parent",(char *) "x",(char *) "y", NULL
3102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OiOii:MessageBox",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&arg5
,&arg6
)) goto fail
;
3104 arg1
= wxString_in_helper(obj0
);
3105 if (arg1
== NULL
) SWIG_fail
;
3110 arg2
= wxString_in_helper(obj1
);
3111 if (arg2
== NULL
) SWIG_fail
;
3116 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3120 result
= (int)wxMessageBox((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
3122 wxPyEndAllowThreads(__tstate
);
3123 if (PyErr_Occurred()) SWIG_fail
;
3125 resultobj
= PyInt_FromLong((long)result
);
3148 static PyObject
*_wrap_GetNumberFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3149 PyObject
*resultobj
;
3150 wxString
*arg1
= 0 ;
3151 wxString
*arg2
= 0 ;
3152 wxString
*arg3
= 0 ;
3154 long arg5
= (long) 0 ;
3155 long arg6
= (long) 100 ;
3156 wxWindow
*arg7
= (wxWindow
*) NULL
;
3157 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
3158 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
3160 bool temp1
= False
;
3161 bool temp2
= False
;
3162 bool temp3
= False
;
3164 PyObject
* obj0
= 0 ;
3165 PyObject
* obj1
= 0 ;
3166 PyObject
* obj2
= 0 ;
3167 PyObject
* obj6
= 0 ;
3168 PyObject
* obj7
= 0 ;
3170 (char *) "message",(char *) "prompt",(char *) "caption",(char *) "value",(char *) "min",(char *) "max",(char *) "parent",(char *) "pos", NULL
3173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOl|llOO:GetNumberFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
,&arg5
,&arg6
,&obj6
,&obj7
)) goto fail
;
3175 arg1
= wxString_in_helper(obj0
);
3176 if (arg1
== NULL
) SWIG_fail
;
3180 arg2
= wxString_in_helper(obj1
);
3181 if (arg2
== NULL
) SWIG_fail
;
3185 arg3
= wxString_in_helper(obj2
);
3186 if (arg3
== NULL
) SWIG_fail
;
3190 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3195 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
3199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3200 result
= (long)wxGetNumberFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
3202 wxPyEndAllowThreads(__tstate
);
3203 if (PyErr_Occurred()) SWIG_fail
;
3205 resultobj
= PyInt_FromLong((long)result
);
3236 static PyObject
*_wrap_ColourDisplay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3237 PyObject
*resultobj
;
3243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ColourDisplay",kwnames
)) goto fail
;
3245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3246 result
= (bool)wxColourDisplay();
3248 wxPyEndAllowThreads(__tstate
);
3249 if (PyErr_Occurred()) SWIG_fail
;
3251 resultobj
= PyInt_FromLong((long)result
);
3258 static PyObject
*_wrap_DisplayDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3259 PyObject
*resultobj
;
3265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplayDepth",kwnames
)) goto fail
;
3267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3268 result
= (int)wxDisplayDepth();
3270 wxPyEndAllowThreads(__tstate
);
3271 if (PyErr_Occurred()) SWIG_fail
;
3273 resultobj
= PyInt_FromLong((long)result
);
3280 static PyObject
*_wrap_GetDisplayDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3281 PyObject
*resultobj
;
3287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplayDepth",kwnames
)) goto fail
;
3289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3290 result
= (int)wxGetDisplayDepth();
3292 wxPyEndAllowThreads(__tstate
);
3293 if (PyErr_Occurred()) SWIG_fail
;
3295 resultobj
= PyInt_FromLong((long)result
);
3302 static PyObject
*_wrap_DisplaySize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3303 PyObject
*resultobj
;
3304 int *arg1
= (int *) 0 ;
3305 int *arg2
= (int *) 0 ;
3314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplaySize",kwnames
)) goto fail
;
3316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3317 wxDisplaySize(arg1
,arg2
);
3319 wxPyEndAllowThreads(__tstate
);
3320 if (PyErr_Occurred()) SWIG_fail
;
3322 Py_INCREF(Py_None
); resultobj
= Py_None
;
3324 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
3325 resultobj
= t_output_helper(resultobj
,o
);
3328 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
3329 resultobj
= t_output_helper(resultobj
,o
);
3337 static PyObject
*_wrap_GetDisplaySize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3338 PyObject
*resultobj
;
3344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplaySize",kwnames
)) goto fail
;
3346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3347 result
= wxGetDisplaySize();
3349 wxPyEndAllowThreads(__tstate
);
3350 if (PyErr_Occurred()) SWIG_fail
;
3354 resultptr
= new wxSize((wxSize
&) result
);
3355 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
3363 static PyObject
*_wrap_DisplaySizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3364 PyObject
*resultobj
;
3365 int *arg1
= (int *) 0 ;
3366 int *arg2
= (int *) 0 ;
3375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplaySizeMM",kwnames
)) goto fail
;
3377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3378 wxDisplaySizeMM(arg1
,arg2
);
3380 wxPyEndAllowThreads(__tstate
);
3381 if (PyErr_Occurred()) SWIG_fail
;
3383 Py_INCREF(Py_None
); resultobj
= Py_None
;
3385 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
3386 resultobj
= t_output_helper(resultobj
,o
);
3389 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
3390 resultobj
= t_output_helper(resultobj
,o
);
3398 static PyObject
*_wrap_GetDisplaySizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3399 PyObject
*resultobj
;
3405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplaySizeMM",kwnames
)) goto fail
;
3407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3408 result
= wxGetDisplaySizeMM();
3410 wxPyEndAllowThreads(__tstate
);
3411 if (PyErr_Occurred()) SWIG_fail
;
3415 resultptr
= new wxSize((wxSize
&) result
);
3416 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
3424 static PyObject
*_wrap_ClientDisplayRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3425 PyObject
*resultobj
;
3426 int *arg1
= (int *) 0 ;
3427 int *arg2
= (int *) 0 ;
3428 int *arg3
= (int *) 0 ;
3429 int *arg4
= (int *) 0 ;
3442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ClientDisplayRect",kwnames
)) goto fail
;
3444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3445 wxClientDisplayRect(arg1
,arg2
,arg3
,arg4
);
3447 wxPyEndAllowThreads(__tstate
);
3448 if (PyErr_Occurred()) SWIG_fail
;
3450 Py_INCREF(Py_None
); resultobj
= Py_None
;
3452 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
3453 resultobj
= t_output_helper(resultobj
,o
);
3456 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
3457 resultobj
= t_output_helper(resultobj
,o
);
3460 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
3461 resultobj
= t_output_helper(resultobj
,o
);
3464 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
3465 resultobj
= t_output_helper(resultobj
,o
);
3473 static PyObject
*_wrap_GetClientDisplayRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3474 PyObject
*resultobj
;
3480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetClientDisplayRect",kwnames
)) goto fail
;
3482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3483 result
= wxGetClientDisplayRect();
3485 wxPyEndAllowThreads(__tstate
);
3486 if (PyErr_Occurred()) SWIG_fail
;
3490 resultptr
= new wxRect((wxRect
&) result
);
3491 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
3499 static PyObject
*_wrap_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3500 PyObject
*resultobj
;
3501 wxCursor
*arg1
= 0 ;
3502 PyObject
* obj0
= 0 ;
3504 (char *) "cursor", NULL
3507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursor",kwnames
,&obj0
)) goto fail
;
3508 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3510 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
3513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3516 wxPyEndAllowThreads(__tstate
);
3517 if (PyErr_Occurred()) SWIG_fail
;
3519 Py_INCREF(Py_None
); resultobj
= Py_None
;
3526 static PyObject
*_wrap_BeginBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3527 PyObject
*resultobj
;
3528 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
3529 PyObject
* obj0
= 0 ;
3531 (char *) "cursor", NULL
3534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BeginBusyCursor",kwnames
,&obj0
)) goto fail
;
3536 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3540 wxBeginBusyCursor(arg1
);
3542 wxPyEndAllowThreads(__tstate
);
3543 if (PyErr_Occurred()) SWIG_fail
;
3545 Py_INCREF(Py_None
); resultobj
= Py_None
;
3552 static PyObject
*_wrap_GetActiveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3553 PyObject
*resultobj
;
3559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetActiveWindow",kwnames
)) goto fail
;
3561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3562 result
= (wxWindow
*)wxGetActiveWindow();
3564 wxPyEndAllowThreads(__tstate
);
3565 if (PyErr_Occurred()) SWIG_fail
;
3568 resultobj
= wxPyMake_wxObject(result
);
3576 static PyObject
*_wrap_GenericFindWindowAtPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3577 PyObject
*resultobj
;
3581 PyObject
* obj0
= 0 ;
3586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericFindWindowAtPoint",kwnames
,&obj0
)) goto fail
;
3589 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
3592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3593 result
= (wxWindow
*)wxGenericFindWindowAtPoint((wxPoint
const &)*arg1
);
3595 wxPyEndAllowThreads(__tstate
);
3596 if (PyErr_Occurred()) SWIG_fail
;
3599 resultobj
= wxPyMake_wxObject(result
);
3607 static PyObject
*_wrap_FindWindowAtPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3608 PyObject
*resultobj
;
3612 PyObject
* obj0
= 0 ;
3617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindWindowAtPoint",kwnames
,&obj0
)) goto fail
;
3620 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
3623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3624 result
= (wxWindow
*)wxFindWindowAtPoint((wxPoint
const &)*arg1
);
3626 wxPyEndAllowThreads(__tstate
);
3627 if (PyErr_Occurred()) SWIG_fail
;
3630 resultobj
= wxPyMake_wxObject(result
);
3638 static PyObject
*_wrap_GetTopLevelParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3639 PyObject
*resultobj
;
3640 wxWindow
*arg1
= (wxWindow
*) 0 ;
3642 PyObject
* obj0
= 0 ;
3644 (char *) "win", NULL
3647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetTopLevelParent",kwnames
,&obj0
)) goto fail
;
3648 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3651 result
= (wxWindow
*)wxGetTopLevelParent(arg1
);
3653 wxPyEndAllowThreads(__tstate
);
3654 if (PyErr_Occurred()) SWIG_fail
;
3657 resultobj
= wxPyMake_wxObject(result
);
3665 static PyObject
*_wrap_WakeUpMainThread(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3666 PyObject
*resultobj
;
3671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":WakeUpMainThread",kwnames
)) goto fail
;
3673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3674 wxWakeUpMainThread();
3676 wxPyEndAllowThreads(__tstate
);
3677 if (PyErr_Occurred()) SWIG_fail
;
3679 Py_INCREF(Py_None
); resultobj
= Py_None
;
3686 static PyObject
*_wrap_MutexGuiEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3687 PyObject
*resultobj
;
3692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MutexGuiEnter",kwnames
)) goto fail
;
3694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3697 wxPyEndAllowThreads(__tstate
);
3698 if (PyErr_Occurred()) SWIG_fail
;
3700 Py_INCREF(Py_None
); resultobj
= Py_None
;
3707 static PyObject
*_wrap_MutexGuiLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3708 PyObject
*resultobj
;
3713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MutexGuiLeave",kwnames
)) goto fail
;
3715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3718 wxPyEndAllowThreads(__tstate
);
3719 if (PyErr_Occurred()) SWIG_fail
;
3721 Py_INCREF(Py_None
); resultobj
= Py_None
;
3728 static PyObject
*_wrap_new_MutexGuiLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3729 PyObject
*resultobj
;
3730 wxMutexGuiLocker
*result
;
3735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MutexGuiLocker",kwnames
)) goto fail
;
3737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3738 result
= (wxMutexGuiLocker
*)new wxMutexGuiLocker();
3740 wxPyEndAllowThreads(__tstate
);
3741 if (PyErr_Occurred()) SWIG_fail
;
3743 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMutexGuiLocker
, 1);
3750 static PyObject
*_wrap_delete_MutexGuiLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3751 PyObject
*resultobj
;
3752 wxMutexGuiLocker
*arg1
= (wxMutexGuiLocker
*) 0 ;
3753 PyObject
* obj0
= 0 ;
3755 (char *) "self", NULL
3758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MutexGuiLocker",kwnames
,&obj0
)) goto fail
;
3759 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMutexGuiLocker
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3764 wxPyEndAllowThreads(__tstate
);
3765 if (PyErr_Occurred()) SWIG_fail
;
3767 Py_INCREF(Py_None
); resultobj
= Py_None
;
3774 static PyObject
* MutexGuiLocker_swigregister(PyObject
*self
, PyObject
*args
) {
3776 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3777 SWIG_TypeClientData(SWIGTYPE_p_wxMutexGuiLocker
, obj
);
3779 return Py_BuildValue((char *)"");
3781 static PyObject
*_wrap_Thread_IsMain(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3782 PyObject
*resultobj
;
3788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Thread_IsMain",kwnames
)) goto fail
;
3790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3791 result
= (bool)wxThread_IsMain();
3793 wxPyEndAllowThreads(__tstate
);
3794 if (PyErr_Occurred()) SWIG_fail
;
3796 resultobj
= PyInt_FromLong((long)result
);
3803 static PyObject
*_wrap_new_ToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3804 PyObject
*resultobj
;
3805 wxString
*arg1
= 0 ;
3807 bool temp1
= False
;
3808 PyObject
* obj0
= 0 ;
3810 (char *) "tip", NULL
3813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ToolTip",kwnames
,&obj0
)) goto fail
;
3815 arg1
= wxString_in_helper(obj0
);
3816 if (arg1
== NULL
) SWIG_fail
;
3820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3821 result
= (wxToolTip
*)new wxToolTip((wxString
const &)*arg1
);
3823 wxPyEndAllowThreads(__tstate
);
3824 if (PyErr_Occurred()) SWIG_fail
;
3827 resultobj
= wxPyMake_wxObject(result
);
3843 static PyObject
*_wrap_ToolTip_SetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3844 PyObject
*resultobj
;
3845 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
3846 wxString
*arg2
= 0 ;
3847 bool temp2
= False
;
3848 PyObject
* obj0
= 0 ;
3849 PyObject
* obj1
= 0 ;
3851 (char *) "self",(char *) "tip", NULL
3854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolTip_SetTip",kwnames
,&obj0
,&obj1
)) goto fail
;
3855 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolTip
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3857 arg2
= wxString_in_helper(obj1
);
3858 if (arg2
== NULL
) SWIG_fail
;
3862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3863 (arg1
)->SetTip((wxString
const &)*arg2
);
3865 wxPyEndAllowThreads(__tstate
);
3866 if (PyErr_Occurred()) SWIG_fail
;
3868 Py_INCREF(Py_None
); resultobj
= Py_None
;
3883 static PyObject
*_wrap_ToolTip_GetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3884 PyObject
*resultobj
;
3885 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
3887 PyObject
* obj0
= 0 ;
3889 (char *) "self", NULL
3892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_GetTip",kwnames
,&obj0
)) goto fail
;
3893 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolTip
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3896 result
= (arg1
)->GetTip();
3898 wxPyEndAllowThreads(__tstate
);
3899 if (PyErr_Occurred()) SWIG_fail
;
3903 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3905 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3914 static PyObject
*_wrap_ToolTip_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3915 PyObject
*resultobj
;
3916 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
3918 PyObject
* obj0
= 0 ;
3920 (char *) "self", NULL
3923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_GetWindow",kwnames
,&obj0
)) goto fail
;
3924 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolTip
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3927 result
= (wxWindow
*)(arg1
)->GetWindow();
3929 wxPyEndAllowThreads(__tstate
);
3930 if (PyErr_Occurred()) SWIG_fail
;
3933 resultobj
= wxPyMake_wxObject(result
);
3941 static PyObject
*_wrap_ToolTip_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3942 PyObject
*resultobj
;
3944 PyObject
* obj0
= 0 ;
3946 (char *) "flag", NULL
3949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_Enable",kwnames
,&obj0
)) goto fail
;
3950 arg1
= PyInt_AsLong(obj0
) ? true : false;
3951 if (PyErr_Occurred()) SWIG_fail
;
3953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3954 wxToolTip::Enable(arg1
);
3956 wxPyEndAllowThreads(__tstate
);
3957 if (PyErr_Occurred()) SWIG_fail
;
3959 Py_INCREF(Py_None
); resultobj
= Py_None
;
3966 static PyObject
*_wrap_ToolTip_SetDelay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3967 PyObject
*resultobj
;
3970 (char *) "milliseconds", NULL
3973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"l:ToolTip_SetDelay",kwnames
,&arg1
)) goto fail
;
3975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3976 wxToolTip::SetDelay(arg1
);
3978 wxPyEndAllowThreads(__tstate
);
3979 if (PyErr_Occurred()) SWIG_fail
;
3981 Py_INCREF(Py_None
); resultobj
= Py_None
;
3988 static PyObject
* ToolTip_swigregister(PyObject
*self
, PyObject
*args
) {
3990 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3991 SWIG_TypeClientData(SWIGTYPE_p_wxToolTip
, obj
);
3993 return Py_BuildValue((char *)"");
3995 static PyObject
*_wrap_new_Caret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3996 PyObject
*resultobj
;
3997 wxWindow
*arg1
= (wxWindow
*) 0 ;
4001 PyObject
* obj0
= 0 ;
4002 PyObject
* obj1
= 0 ;
4004 (char *) "window",(char *) "size", NULL
4007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_Caret",kwnames
,&obj0
,&obj1
)) goto fail
;
4008 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4011 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4015 result
= (wxCaret
*)new wxCaret(arg1
,(wxSize
const &)*arg2
);
4017 wxPyEndAllowThreads(__tstate
);
4018 if (PyErr_Occurred()) SWIG_fail
;
4020 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCaret
, 1);
4027 static PyObject
*_wrap_delete_Caret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4028 PyObject
*resultobj
;
4029 wxCaret
*arg1
= (wxCaret
*) 0 ;
4030 PyObject
* obj0
= 0 ;
4032 (char *) "self", NULL
4035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Caret",kwnames
,&obj0
)) goto fail
;
4036 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCaret
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4041 wxPyEndAllowThreads(__tstate
);
4042 if (PyErr_Occurred()) SWIG_fail
;
4044 Py_INCREF(Py_None
); resultobj
= Py_None
;
4051 static PyObject
*_wrap_Caret_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4052 PyObject
*resultobj
;
4053 wxCaret
*arg1
= (wxCaret
*) 0 ;
4055 PyObject
* obj0
= 0 ;
4057 (char *) "self", NULL
4060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_IsOk",kwnames
,&obj0
)) goto fail
;
4061 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCaret
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4064 result
= (bool)(arg1
)->IsOk();
4066 wxPyEndAllowThreads(__tstate
);
4067 if (PyErr_Occurred()) SWIG_fail
;
4069 resultobj
= PyInt_FromLong((long)result
);
4076 static PyObject
*_wrap_Caret_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4077 PyObject
*resultobj
;
4078 wxCaret
*arg1
= (wxCaret
*) 0 ;
4080 PyObject
* obj0
= 0 ;
4082 (char *) "self", NULL
4085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_IsVisible",kwnames
,&obj0
)) goto fail
;
4086 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCaret
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4089 result
= (bool)(arg1
)->IsVisible();
4091 wxPyEndAllowThreads(__tstate
);
4092 if (PyErr_Occurred()) SWIG_fail
;
4094 resultobj
= PyInt_FromLong((long)result
);
4101 static PyObject
*_wrap_Caret_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4102 PyObject
*resultobj
;
4103 wxCaret
*arg1
= (wxCaret
*) 0 ;
4105 PyObject
* obj0
= 0 ;
4107 (char *) "self", NULL
4110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetPosition",kwnames
,&obj0
)) goto fail
;
4111 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCaret
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4114 result
= (arg1
)->GetPosition();
4116 wxPyEndAllowThreads(__tstate
);
4117 if (PyErr_Occurred()) SWIG_fail
;
4120 wxPoint
* resultptr
;
4121 resultptr
= new wxPoint((wxPoint
&) result
);
4122 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
4130 static PyObject
*_wrap_Caret_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4131 PyObject
*resultobj
;
4132 wxCaret
*arg1
= (wxCaret
*) 0 ;
4133 int *arg2
= (int *) 0 ;
4134 int *arg3
= (int *) 0 ;
4137 PyObject
* obj0
= 0 ;
4139 (char *) "self", NULL
4144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
4145 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCaret
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4148 (arg1
)->GetPosition(arg2
,arg3
);
4150 wxPyEndAllowThreads(__tstate
);
4151 if (PyErr_Occurred()) SWIG_fail
;
4153 Py_INCREF(Py_None
); resultobj
= Py_None
;
4155 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4156 resultobj
= t_output_helper(resultobj
,o
);
4159 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
4160 resultobj
= t_output_helper(resultobj
,o
);
4168 static PyObject
*_wrap_Caret_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4169 PyObject
*resultobj
;
4170 wxCaret
*arg1
= (wxCaret
*) 0 ;
4172 PyObject
* obj0
= 0 ;
4174 (char *) "self", NULL
4177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetSize",kwnames
,&obj0
)) goto fail
;
4178 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCaret
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4181 result
= (arg1
)->GetSize();
4183 wxPyEndAllowThreads(__tstate
);
4184 if (PyErr_Occurred()) SWIG_fail
;
4188 resultptr
= new wxSize((wxSize
&) result
);
4189 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
4197 static PyObject
*_wrap_Caret_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4198 PyObject
*resultobj
;
4199 wxCaret
*arg1
= (wxCaret
*) 0 ;
4200 int *arg2
= (int *) 0 ;
4201 int *arg3
= (int *) 0 ;
4204 PyObject
* obj0
= 0 ;
4206 (char *) "self", NULL
4211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
4212 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCaret
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4215 (arg1
)->GetSize(arg2
,arg3
);
4217 wxPyEndAllowThreads(__tstate
);
4218 if (PyErr_Occurred()) SWIG_fail
;
4220 Py_INCREF(Py_None
); resultobj
= Py_None
;
4222 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4223 resultobj
= t_output_helper(resultobj
,o
);
4226 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
4227 resultobj
= t_output_helper(resultobj
,o
);
4235 static PyObject
*_wrap_Caret_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4236 PyObject
*resultobj
;
4237 wxCaret
*arg1
= (wxCaret
*) 0 ;
4239 PyObject
* obj0
= 0 ;
4241 (char *) "self", NULL
4244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetWindow",kwnames
,&obj0
)) goto fail
;
4245 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCaret
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4248 result
= (wxWindow
*)(arg1
)->GetWindow();
4250 wxPyEndAllowThreads(__tstate
);
4251 if (PyErr_Occurred()) SWIG_fail
;
4254 resultobj
= wxPyMake_wxObject(result
);
4262 static PyObject
*_wrap_Caret_MoveXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4263 PyObject
*resultobj
;
4264 wxCaret
*arg1
= (wxCaret
*) 0 ;
4267 PyObject
* obj0
= 0 ;
4269 (char *) "self",(char *) "x",(char *) "y", NULL
4272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Caret_MoveXY",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
4273 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCaret
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4276 (arg1
)->Move(arg2
,arg3
);
4278 wxPyEndAllowThreads(__tstate
);
4279 if (PyErr_Occurred()) SWIG_fail
;
4281 Py_INCREF(Py_None
); resultobj
= Py_None
;
4288 static PyObject
*_wrap_Caret_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4289 PyObject
*resultobj
;
4290 wxCaret
*arg1
= (wxCaret
*) 0 ;
4293 PyObject
* obj0
= 0 ;
4294 PyObject
* obj1
= 0 ;
4296 (char *) "self",(char *) "pt", NULL
4299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_Move",kwnames
,&obj0
,&obj1
)) goto fail
;
4300 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCaret
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4303 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4307 (arg1
)->Move((wxPoint
const &)*arg2
);
4309 wxPyEndAllowThreads(__tstate
);
4310 if (PyErr_Occurred()) SWIG_fail
;
4312 Py_INCREF(Py_None
); resultobj
= Py_None
;
4319 static PyObject
*_wrap_Caret_SetSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4320 PyObject
*resultobj
;
4321 wxCaret
*arg1
= (wxCaret
*) 0 ;
4324 PyObject
* obj0
= 0 ;
4326 (char *) "self",(char *) "width",(char *) "height", NULL
4329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Caret_SetSizeWH",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
4330 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCaret
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4333 (arg1
)->SetSize(arg2
,arg3
);
4335 wxPyEndAllowThreads(__tstate
);
4336 if (PyErr_Occurred()) SWIG_fail
;
4338 Py_INCREF(Py_None
); resultobj
= Py_None
;
4345 static PyObject
*_wrap_Caret_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4346 PyObject
*resultobj
;
4347 wxCaret
*arg1
= (wxCaret
*) 0 ;
4350 PyObject
* obj0
= 0 ;
4351 PyObject
* obj1
= 0 ;
4353 (char *) "self",(char *) "size", NULL
4356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
4357 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCaret
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4360 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4364 (arg1
)->SetSize((wxSize
const &)*arg2
);
4366 wxPyEndAllowThreads(__tstate
);
4367 if (PyErr_Occurred()) SWIG_fail
;
4369 Py_INCREF(Py_None
); resultobj
= Py_None
;
4376 static PyObject
*_wrap_Caret_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4377 PyObject
*resultobj
;
4378 wxCaret
*arg1
= (wxCaret
*) 0 ;
4379 int arg2
= (int) True
;
4380 PyObject
* obj0
= 0 ;
4382 (char *) "self",(char *) "show", NULL
4385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:Caret_Show",kwnames
,&obj0
,&arg2
)) goto fail
;
4386 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCaret
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4391 wxPyEndAllowThreads(__tstate
);
4392 if (PyErr_Occurred()) SWIG_fail
;
4394 Py_INCREF(Py_None
); resultobj
= Py_None
;
4401 static PyObject
*_wrap_Caret_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4402 PyObject
*resultobj
;
4403 wxCaret
*arg1
= (wxCaret
*) 0 ;
4404 PyObject
* obj0
= 0 ;
4406 (char *) "self", NULL
4409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_Hide",kwnames
,&obj0
)) goto fail
;
4410 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCaret
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4415 wxPyEndAllowThreads(__tstate
);
4416 if (PyErr_Occurred()) SWIG_fail
;
4418 Py_INCREF(Py_None
); resultobj
= Py_None
;
4425 static PyObject
* Caret_swigregister(PyObject
*self
, PyObject
*args
) {
4427 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4428 SWIG_TypeClientData(SWIGTYPE_p_wxCaret
, obj
);
4430 return Py_BuildValue((char *)"");
4432 static PyObject
*_wrap_Caret_GetBlinkTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4433 PyObject
*resultobj
;
4439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Caret_GetBlinkTime",kwnames
)) goto fail
;
4441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4442 result
= (int)wxCaret_GetBlinkTime();
4444 wxPyEndAllowThreads(__tstate
);
4445 if (PyErr_Occurred()) SWIG_fail
;
4447 resultobj
= PyInt_FromLong((long)result
);
4454 static PyObject
*_wrap_Caret_SetBlinkTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4455 PyObject
*resultobj
;
4458 (char *) "milliseconds", NULL
4461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i:Caret_SetBlinkTime",kwnames
,&arg1
)) goto fail
;
4463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4464 wxCaret_SetBlinkTime(arg1
);
4466 wxPyEndAllowThreads(__tstate
);
4467 if (PyErr_Occurred()) SWIG_fail
;
4469 Py_INCREF(Py_None
); resultobj
= Py_None
;
4476 static PyObject
*_wrap_new_BusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4477 PyObject
*resultobj
;
4478 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
4479 wxBusyCursor
*result
;
4480 PyObject
* obj0
= 0 ;
4482 (char *) "cursor", NULL
4485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BusyCursor",kwnames
,&obj0
)) goto fail
;
4487 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4491 result
= (wxBusyCursor
*)new wxBusyCursor(arg1
);
4493 wxPyEndAllowThreads(__tstate
);
4494 if (PyErr_Occurred()) SWIG_fail
;
4496 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBusyCursor
, 1);
4503 static PyObject
*_wrap_delete_BusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4504 PyObject
*resultobj
;
4505 wxBusyCursor
*arg1
= (wxBusyCursor
*) 0 ;
4506 PyObject
* obj0
= 0 ;
4508 (char *) "self", NULL
4511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BusyCursor",kwnames
,&obj0
)) goto fail
;
4512 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBusyCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4517 wxPyEndAllowThreads(__tstate
);
4518 if (PyErr_Occurred()) SWIG_fail
;
4520 Py_INCREF(Py_None
); resultobj
= Py_None
;
4527 static PyObject
* BusyCursor_swigregister(PyObject
*self
, PyObject
*args
) {
4529 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4530 SWIG_TypeClientData(SWIGTYPE_p_wxBusyCursor
, obj
);
4532 return Py_BuildValue((char *)"");
4534 static PyObject
*_wrap_new_WindowDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4535 PyObject
*resultobj
;
4536 wxWindow
*arg1
= (wxWindow
*) NULL
;
4537 wxWindowDisabler
*result
;
4538 PyObject
* obj0
= 0 ;
4540 (char *) "winToSkip", NULL
4543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDisabler",kwnames
,&obj0
)) goto fail
;
4545 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4549 result
= (wxWindowDisabler
*)new wxWindowDisabler(arg1
);
4551 wxPyEndAllowThreads(__tstate
);
4552 if (PyErr_Occurred()) SWIG_fail
;
4554 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxWindowDisabler
, 1);
4561 static PyObject
*_wrap_delete_WindowDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4562 PyObject
*resultobj
;
4563 wxWindowDisabler
*arg1
= (wxWindowDisabler
*) 0 ;
4564 PyObject
* obj0
= 0 ;
4566 (char *) "self", NULL
4569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_WindowDisabler",kwnames
,&obj0
)) goto fail
;
4570 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindowDisabler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4575 wxPyEndAllowThreads(__tstate
);
4576 if (PyErr_Occurred()) SWIG_fail
;
4578 Py_INCREF(Py_None
); resultobj
= Py_None
;
4585 static PyObject
* WindowDisabler_swigregister(PyObject
*self
, PyObject
*args
) {
4587 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4588 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDisabler
, obj
);
4590 return Py_BuildValue((char *)"");
4592 static PyObject
*_wrap_new_BusyInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4593 PyObject
*resultobj
;
4594 wxString
*arg1
= 0 ;
4596 bool temp1
= False
;
4597 PyObject
* obj0
= 0 ;
4599 (char *) "message", NULL
4602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BusyInfo",kwnames
,&obj0
)) goto fail
;
4604 arg1
= wxString_in_helper(obj0
);
4605 if (arg1
== NULL
) SWIG_fail
;
4609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4610 result
= (wxBusyInfo
*)new wxBusyInfo((wxString
const &)*arg1
);
4612 wxPyEndAllowThreads(__tstate
);
4613 if (PyErr_Occurred()) SWIG_fail
;
4615 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBusyInfo
, 1);
4630 static PyObject
*_wrap_delete_BusyInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4631 PyObject
*resultobj
;
4632 wxBusyInfo
*arg1
= (wxBusyInfo
*) 0 ;
4633 PyObject
* obj0
= 0 ;
4635 (char *) "self", NULL
4638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BusyInfo",kwnames
,&obj0
)) goto fail
;
4639 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBusyInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4644 wxPyEndAllowThreads(__tstate
);
4645 if (PyErr_Occurred()) SWIG_fail
;
4647 Py_INCREF(Py_None
); resultobj
= Py_None
;
4654 static PyObject
* BusyInfo_swigregister(PyObject
*self
, PyObject
*args
) {
4656 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4657 SWIG_TypeClientData(SWIGTYPE_p_wxBusyInfo
, obj
);
4659 return Py_BuildValue((char *)"");
4661 static PyObject
*_wrap_new_StopWatch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4662 PyObject
*resultobj
;
4663 wxStopWatch
*result
;
4668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_StopWatch",kwnames
)) goto fail
;
4670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4671 result
= (wxStopWatch
*)new wxStopWatch();
4673 wxPyEndAllowThreads(__tstate
);
4674 if (PyErr_Occurred()) SWIG_fail
;
4676 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxStopWatch
, 1);
4683 static PyObject
*_wrap_StopWatch_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4684 PyObject
*resultobj
;
4685 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
4686 long arg2
= (long) 0 ;
4687 PyObject
* obj0
= 0 ;
4689 (char *) "self",(char *) "t0", NULL
4692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|l:StopWatch_Start",kwnames
,&obj0
,&arg2
)) goto fail
;
4693 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStopWatch
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4696 (arg1
)->Start(arg2
);
4698 wxPyEndAllowThreads(__tstate
);
4699 if (PyErr_Occurred()) SWIG_fail
;
4701 Py_INCREF(Py_None
); resultobj
= Py_None
;
4708 static PyObject
*_wrap_StopWatch_Pause(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4709 PyObject
*resultobj
;
4710 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
4711 PyObject
* obj0
= 0 ;
4713 (char *) "self", NULL
4716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Pause",kwnames
,&obj0
)) goto fail
;
4717 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStopWatch
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4722 wxPyEndAllowThreads(__tstate
);
4723 if (PyErr_Occurred()) SWIG_fail
;
4725 Py_INCREF(Py_None
); resultobj
= Py_None
;
4732 static PyObject
*_wrap_StopWatch_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4733 PyObject
*resultobj
;
4734 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
4735 PyObject
* obj0
= 0 ;
4737 (char *) "self", NULL
4740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Resume",kwnames
,&obj0
)) goto fail
;
4741 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStopWatch
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4746 wxPyEndAllowThreads(__tstate
);
4747 if (PyErr_Occurred()) SWIG_fail
;
4749 Py_INCREF(Py_None
); resultobj
= Py_None
;
4756 static PyObject
*_wrap_StopWatch_Time(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4757 PyObject
*resultobj
;
4758 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
4760 PyObject
* obj0
= 0 ;
4762 (char *) "self", NULL
4765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Time",kwnames
,&obj0
)) goto fail
;
4766 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStopWatch
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4769 result
= (long)((wxStopWatch
const *)arg1
)->Time();
4771 wxPyEndAllowThreads(__tstate
);
4772 if (PyErr_Occurred()) SWIG_fail
;
4774 resultobj
= PyInt_FromLong((long)result
);
4781 static PyObject
* StopWatch_swigregister(PyObject
*self
, PyObject
*args
) {
4783 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4784 SWIG_TypeClientData(SWIGTYPE_p_wxStopWatch
, obj
);
4786 return Py_BuildValue((char *)"");
4788 static PyObject
*_wrap_new_FileHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4789 PyObject
*resultobj
;
4790 int arg1
= (int) 9 ;
4791 wxFileHistory
*result
;
4793 (char *) "maxFiles", NULL
4796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|i:new_FileHistory",kwnames
,&arg1
)) goto fail
;
4798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4799 result
= (wxFileHistory
*)new wxFileHistory(arg1
);
4801 wxPyEndAllowThreads(__tstate
);
4802 if (PyErr_Occurred()) SWIG_fail
;
4804 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFileHistory
, 1);
4811 static PyObject
*_wrap_delete_FileHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4812 PyObject
*resultobj
;
4813 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
4814 PyObject
* obj0
= 0 ;
4816 (char *) "self", NULL
4819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileHistory",kwnames
,&obj0
)) goto fail
;
4820 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileHistory
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4825 wxPyEndAllowThreads(__tstate
);
4826 if (PyErr_Occurred()) SWIG_fail
;
4828 Py_INCREF(Py_None
); resultobj
= Py_None
;
4835 static PyObject
*_wrap_FileHistory_AddFileToHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4836 PyObject
*resultobj
;
4837 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
4838 wxString
*arg2
= 0 ;
4839 bool temp2
= False
;
4840 PyObject
* obj0
= 0 ;
4841 PyObject
* obj1
= 0 ;
4843 (char *) "self",(char *) "file", NULL
4846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFileToHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
4847 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileHistory
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4849 arg2
= wxString_in_helper(obj1
);
4850 if (arg2
== NULL
) SWIG_fail
;
4854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4855 (arg1
)->AddFileToHistory((wxString
const &)*arg2
);
4857 wxPyEndAllowThreads(__tstate
);
4858 if (PyErr_Occurred()) SWIG_fail
;
4860 Py_INCREF(Py_None
); resultobj
= Py_None
;
4875 static PyObject
*_wrap_FileHistory_RemoveFileFromHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4876 PyObject
*resultobj
;
4877 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
4879 PyObject
* obj0
= 0 ;
4881 (char *) "self",(char *) "i", NULL
4884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:FileHistory_RemoveFileFromHistory",kwnames
,&obj0
,&arg2
)) goto fail
;
4885 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileHistory
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4888 (arg1
)->RemoveFileFromHistory(arg2
);
4890 wxPyEndAllowThreads(__tstate
);
4891 if (PyErr_Occurred()) SWIG_fail
;
4893 Py_INCREF(Py_None
); resultobj
= Py_None
;
4900 static PyObject
*_wrap_FileHistory_GetMaxFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4901 PyObject
*resultobj
;
4902 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
4904 PyObject
* obj0
= 0 ;
4906 (char *) "self", NULL
4909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_GetMaxFiles",kwnames
,&obj0
)) goto fail
;
4910 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileHistory
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4913 result
= (int)((wxFileHistory
const *)arg1
)->GetMaxFiles();
4915 wxPyEndAllowThreads(__tstate
);
4916 if (PyErr_Occurred()) SWIG_fail
;
4918 resultobj
= PyInt_FromLong((long)result
);
4925 static PyObject
*_wrap_FileHistory_UseMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4926 PyObject
*resultobj
;
4927 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
4928 wxMenu
*arg2
= (wxMenu
*) 0 ;
4929 PyObject
* obj0
= 0 ;
4930 PyObject
* obj1
= 0 ;
4932 (char *) "self",(char *) "menu", NULL
4935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_UseMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
4936 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileHistory
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4937 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4940 (arg1
)->UseMenu(arg2
);
4942 wxPyEndAllowThreads(__tstate
);
4943 if (PyErr_Occurred()) SWIG_fail
;
4945 Py_INCREF(Py_None
); resultobj
= Py_None
;
4952 static PyObject
*_wrap_FileHistory_RemoveMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4953 PyObject
*resultobj
;
4954 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
4955 wxMenu
*arg2
= (wxMenu
*) 0 ;
4956 PyObject
* obj0
= 0 ;
4957 PyObject
* obj1
= 0 ;
4959 (char *) "self",(char *) "menu", NULL
4962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
4963 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileHistory
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4964 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4967 (arg1
)->RemoveMenu(arg2
);
4969 wxPyEndAllowThreads(__tstate
);
4970 if (PyErr_Occurred()) SWIG_fail
;
4972 Py_INCREF(Py_None
); resultobj
= Py_None
;
4979 static PyObject
*_wrap_FileHistory_Load(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4980 PyObject
*resultobj
;
4981 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
4982 wxConfigBase
*arg2
= 0 ;
4983 PyObject
* obj0
= 0 ;
4984 PyObject
* obj1
= 0 ;
4986 (char *) "self",(char *) "config", NULL
4989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Load",kwnames
,&obj0
,&obj1
)) goto fail
;
4990 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileHistory
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4991 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4993 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4997 (arg1
)->Load(*arg2
);
4999 wxPyEndAllowThreads(__tstate
);
5000 if (PyErr_Occurred()) SWIG_fail
;
5002 Py_INCREF(Py_None
); resultobj
= Py_None
;
5009 static PyObject
*_wrap_FileHistory_Save(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5010 PyObject
*resultobj
;
5011 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5012 wxConfigBase
*arg2
= 0 ;
5013 PyObject
* obj0
= 0 ;
5014 PyObject
* obj1
= 0 ;
5016 (char *) "self",(char *) "config", NULL
5019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Save",kwnames
,&obj0
,&obj1
)) goto fail
;
5020 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileHistory
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5021 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5023 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5027 (arg1
)->Save(*arg2
);
5029 wxPyEndAllowThreads(__tstate
);
5030 if (PyErr_Occurred()) SWIG_fail
;
5032 Py_INCREF(Py_None
); resultobj
= Py_None
;
5039 static PyObject
*_wrap_FileHistory_AddFilesToMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5040 PyObject
*resultobj
;
5041 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5042 PyObject
* obj0
= 0 ;
5044 (char *) "self", NULL
5047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_AddFilesToMenu",kwnames
,&obj0
)) goto fail
;
5048 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileHistory
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5051 (arg1
)->AddFilesToMenu();
5053 wxPyEndAllowThreads(__tstate
);
5054 if (PyErr_Occurred()) SWIG_fail
;
5056 Py_INCREF(Py_None
); resultobj
= Py_None
;
5063 static PyObject
*_wrap_FileHistory_AddFilesToThisMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5064 PyObject
*resultobj
;
5065 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5066 wxMenu
*arg2
= (wxMenu
*) 0 ;
5067 PyObject
* obj0
= 0 ;
5068 PyObject
* obj1
= 0 ;
5070 (char *) "self",(char *) "menu", NULL
5073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFilesToThisMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
5074 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileHistory
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5075 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5078 (arg1
)->AddFilesToMenu(arg2
);
5080 wxPyEndAllowThreads(__tstate
);
5081 if (PyErr_Occurred()) SWIG_fail
;
5083 Py_INCREF(Py_None
); resultobj
= Py_None
;
5090 static PyObject
*_wrap_FileHistory_GetHistoryFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5091 PyObject
*resultobj
;
5092 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5095 PyObject
* obj0
= 0 ;
5097 (char *) "self",(char *) "i", NULL
5100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:FileHistory_GetHistoryFile",kwnames
,&obj0
,&arg2
)) goto fail
;
5101 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileHistory
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5104 result
= ((wxFileHistory
const *)arg1
)->GetHistoryFile(arg2
);
5106 wxPyEndAllowThreads(__tstate
);
5107 if (PyErr_Occurred()) SWIG_fail
;
5111 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5113 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5122 static PyObject
*_wrap_FileHistory_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5123 PyObject
*resultobj
;
5124 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5126 PyObject
* obj0
= 0 ;
5128 (char *) "self", NULL
5131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_GetCount",kwnames
,&obj0
)) goto fail
;
5132 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileHistory
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5135 result
= (int)((wxFileHistory
const *)arg1
)->GetCount();
5137 wxPyEndAllowThreads(__tstate
);
5138 if (PyErr_Occurred()) SWIG_fail
;
5140 resultobj
= PyInt_FromLong((long)result
);
5147 static PyObject
* FileHistory_swigregister(PyObject
*self
, PyObject
*args
) {
5149 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5150 SWIG_TypeClientData(SWIGTYPE_p_wxFileHistory
, obj
);
5152 return Py_BuildValue((char *)"");
5154 static PyObject
*_wrap_new_SingleInstanceChecker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5155 PyObject
*resultobj
;
5156 wxString
*arg1
= 0 ;
5157 wxString
const &arg2_defvalue
= wxPyEmptyString
;
5158 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
5159 wxSingleInstanceChecker
*result
;
5160 bool temp1
= False
;
5161 bool temp2
= False
;
5162 PyObject
* obj0
= 0 ;
5163 PyObject
* obj1
= 0 ;
5165 (char *) "name",(char *) "path", NULL
5168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_SingleInstanceChecker",kwnames
,&obj0
,&obj1
)) goto fail
;
5170 arg1
= wxString_in_helper(obj0
);
5171 if (arg1
== NULL
) SWIG_fail
;
5176 arg2
= wxString_in_helper(obj1
);
5177 if (arg2
== NULL
) SWIG_fail
;
5182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5183 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker((wxString
const &)*arg1
,(wxString
const &)*arg2
);
5185 wxPyEndAllowThreads(__tstate
);
5186 if (PyErr_Occurred()) SWIG_fail
;
5188 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSingleInstanceChecker
, 1);
5211 static PyObject
*_wrap_new_PreSingleInstanceChecker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5212 PyObject
*resultobj
;
5213 wxSingleInstanceChecker
*result
;
5218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSingleInstanceChecker",kwnames
)) goto fail
;
5220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5221 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker();
5223 wxPyEndAllowThreads(__tstate
);
5224 if (PyErr_Occurred()) SWIG_fail
;
5226 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSingleInstanceChecker
, 1);
5233 static PyObject
*_wrap_delete_SingleInstanceChecker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5234 PyObject
*resultobj
;
5235 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
5236 PyObject
* obj0
= 0 ;
5238 (char *) "self", NULL
5241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_SingleInstanceChecker",kwnames
,&obj0
)) goto fail
;
5242 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSingleInstanceChecker
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5247 wxPyEndAllowThreads(__tstate
);
5248 if (PyErr_Occurred()) SWIG_fail
;
5250 Py_INCREF(Py_None
); resultobj
= Py_None
;
5257 static PyObject
*_wrap_SingleInstanceChecker_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5258 PyObject
*resultobj
;
5259 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
5260 wxString
*arg2
= 0 ;
5261 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5262 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5264 bool temp2
= False
;
5265 bool temp3
= False
;
5266 PyObject
* obj0
= 0 ;
5267 PyObject
* obj1
= 0 ;
5268 PyObject
* obj2
= 0 ;
5270 (char *) "self",(char *) "name",(char *) "path", NULL
5273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SingleInstanceChecker_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5274 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSingleInstanceChecker
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5276 arg2
= wxString_in_helper(obj1
);
5277 if (arg2
== NULL
) SWIG_fail
;
5282 arg3
= wxString_in_helper(obj2
);
5283 if (arg3
== NULL
) SWIG_fail
;
5288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5289 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
,(wxString
const &)*arg3
);
5291 wxPyEndAllowThreads(__tstate
);
5292 if (PyErr_Occurred()) SWIG_fail
;
5294 resultobj
= PyInt_FromLong((long)result
);
5317 static PyObject
*_wrap_SingleInstanceChecker_IsAnotherRunning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5318 PyObject
*resultobj
;
5319 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
5321 PyObject
* obj0
= 0 ;
5323 (char *) "self", NULL
5326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleInstanceChecker_IsAnotherRunning",kwnames
,&obj0
)) goto fail
;
5327 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSingleInstanceChecker
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5330 result
= (bool)((wxSingleInstanceChecker
const *)arg1
)->IsAnotherRunning();
5332 wxPyEndAllowThreads(__tstate
);
5333 if (PyErr_Occurred()) SWIG_fail
;
5335 resultobj
= PyInt_FromLong((long)result
);
5342 static PyObject
* SingleInstanceChecker_swigregister(PyObject
*self
, PyObject
*args
) {
5344 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5345 SWIG_TypeClientData(SWIGTYPE_p_wxSingleInstanceChecker
, obj
);
5347 return Py_BuildValue((char *)"");
5349 static PyObject
*_wrap_DrawWindowOnDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5350 PyObject
*resultobj
;
5351 wxWindow
*arg1
= (wxWindow
*) 0 ;
5354 PyObject
* obj0
= 0 ;
5355 PyObject
* obj1
= 0 ;
5357 (char *) "window",(char *) "dc",(char *) "method", NULL
5360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi:DrawWindowOnDC",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
5361 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5362 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5364 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5368 wxDrawWindowOnDC(arg1
,(wxDC
const &)*arg2
,arg3
);
5370 wxPyEndAllowThreads(__tstate
);
5371 if (PyErr_Occurred()) SWIG_fail
;
5373 Py_INCREF(Py_None
); resultobj
= Py_None
;
5380 static PyObject
*_wrap_delete_TipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5381 PyObject
*resultobj
;
5382 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
5383 PyObject
* obj0
= 0 ;
5385 (char *) "self", NULL
5388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TipProvider",kwnames
,&obj0
)) goto fail
;
5389 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTipProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5394 wxPyEndAllowThreads(__tstate
);
5395 if (PyErr_Occurred()) SWIG_fail
;
5397 Py_INCREF(Py_None
); resultobj
= Py_None
;
5404 static PyObject
*_wrap_TipProvider_GetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5405 PyObject
*resultobj
;
5406 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
5408 PyObject
* obj0
= 0 ;
5410 (char *) "self", NULL
5413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipProvider_GetTip",kwnames
,&obj0
)) goto fail
;
5414 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTipProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5417 result
= (arg1
)->GetTip();
5419 wxPyEndAllowThreads(__tstate
);
5420 if (PyErr_Occurred()) SWIG_fail
;
5424 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5426 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5435 static PyObject
*_wrap_TipProvider_GetCurrentTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5436 PyObject
*resultobj
;
5437 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
5439 PyObject
* obj0
= 0 ;
5441 (char *) "self", NULL
5444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipProvider_GetCurrentTip",kwnames
,&obj0
)) goto fail
;
5445 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTipProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5448 result
= (size_t)(arg1
)->GetCurrentTip();
5450 wxPyEndAllowThreads(__tstate
);
5451 if (PyErr_Occurred()) SWIG_fail
;
5453 resultobj
= PyInt_FromLong((long)result
);
5460 static PyObject
*_wrap_TipProvider_PreprocessTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5461 PyObject
*resultobj
;
5462 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
5463 wxString
*arg2
= 0 ;
5465 bool temp2
= False
;
5466 PyObject
* obj0
= 0 ;
5467 PyObject
* obj1
= 0 ;
5469 (char *) "self",(char *) "tip", NULL
5472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipProvider_PreprocessTip",kwnames
,&obj0
,&obj1
)) goto fail
;
5473 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTipProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5475 arg2
= wxString_in_helper(obj1
);
5476 if (arg2
== NULL
) SWIG_fail
;
5480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5481 result
= (arg1
)->PreprocessTip((wxString
const &)*arg2
);
5483 wxPyEndAllowThreads(__tstate
);
5484 if (PyErr_Occurred()) SWIG_fail
;
5488 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5490 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5507 static PyObject
* TipProvider_swigregister(PyObject
*self
, PyObject
*args
) {
5509 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5510 SWIG_TypeClientData(SWIGTYPE_p_wxTipProvider
, obj
);
5512 return Py_BuildValue((char *)"");
5514 static PyObject
*_wrap_new_PyTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5515 PyObject
*resultobj
;
5517 wxPyTipProvider
*result
;
5518 PyObject
* obj0
= 0 ;
5520 (char *) "currentTip", NULL
5523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PyTipProvider",kwnames
,&obj0
)) goto fail
;
5524 arg1
= (size_t) PyInt_AsLong(obj0
);
5525 if (PyErr_Occurred()) SWIG_fail
;
5527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5528 result
= (wxPyTipProvider
*)new wxPyTipProvider(arg1
);
5530 wxPyEndAllowThreads(__tstate
);
5531 if (PyErr_Occurred()) SWIG_fail
;
5533 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyTipProvider
, 1);
5540 static PyObject
*_wrap_PyTipProvider__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5541 PyObject
*resultobj
;
5542 wxPyTipProvider
*arg1
= (wxPyTipProvider
*) 0 ;
5543 PyObject
*arg2
= (PyObject
*) 0 ;
5544 PyObject
*arg3
= (PyObject
*) 0 ;
5545 PyObject
* obj0
= 0 ;
5546 PyObject
* obj1
= 0 ;
5547 PyObject
* obj2
= 0 ;
5549 (char *) "self",(char *) "self",(char *) "_class", NULL
5552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTipProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5553 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTipProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5558 (arg1
)->_setCallbackInfo(arg2
,arg3
);
5560 wxPyEndAllowThreads(__tstate
);
5561 if (PyErr_Occurred()) SWIG_fail
;
5563 Py_INCREF(Py_None
); resultobj
= Py_None
;
5570 static PyObject
* PyTipProvider_swigregister(PyObject
*self
, PyObject
*args
) {
5572 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5573 SWIG_TypeClientData(SWIGTYPE_p_wxPyTipProvider
, obj
);
5575 return Py_BuildValue((char *)"");
5577 static PyObject
*_wrap_ShowTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5578 PyObject
*resultobj
;
5579 wxWindow
*arg1
= (wxWindow
*) 0 ;
5580 wxTipProvider
*arg2
= (wxTipProvider
*) 0 ;
5581 bool arg3
= (bool) True
;
5583 PyObject
* obj0
= 0 ;
5584 PyObject
* obj1
= 0 ;
5585 PyObject
* obj2
= 0 ;
5587 (char *) "parent",(char *) "tipProvider",(char *) "showAtStartup", NULL
5590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ShowTip",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5591 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5592 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTipProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5594 arg3
= PyInt_AsLong(obj2
) ? true : false;
5595 if (PyErr_Occurred()) SWIG_fail
;
5598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5599 result
= (bool)wxShowTip(arg1
,arg2
,arg3
);
5601 wxPyEndAllowThreads(__tstate
);
5602 if (PyErr_Occurred()) SWIG_fail
;
5604 resultobj
= PyInt_FromLong((long)result
);
5611 static PyObject
*_wrap_CreateFileTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5612 PyObject
*resultobj
;
5613 wxString
*arg1
= 0 ;
5615 wxTipProvider
*result
;
5616 bool temp1
= False
;
5617 PyObject
* obj0
= 0 ;
5618 PyObject
* obj1
= 0 ;
5620 (char *) "filename",(char *) "currentTip", NULL
5623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CreateFileTipProvider",kwnames
,&obj0
,&obj1
)) goto fail
;
5625 arg1
= wxString_in_helper(obj0
);
5626 if (arg1
== NULL
) SWIG_fail
;
5629 arg2
= (size_t) PyInt_AsLong(obj1
);
5630 if (PyErr_Occurred()) SWIG_fail
;
5632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5633 result
= (wxTipProvider
*)wxCreateFileTipProvider((wxString
const &)*arg1
,arg2
);
5635 wxPyEndAllowThreads(__tstate
);
5636 if (PyErr_Occurred()) SWIG_fail
;
5638 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTipProvider
, 1);
5653 static PyObject
*_wrap_new_Timer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5654 PyObject
*resultobj
;
5655 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
5656 int arg2
= (int) -1 ;
5658 PyObject
* obj0
= 0 ;
5660 (char *) "owner",(char *) "id", NULL
5663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|Oi:new_Timer",kwnames
,&obj0
,&arg2
)) goto fail
;
5665 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5669 result
= (wxPyTimer
*)new wxPyTimer(arg1
,arg2
);
5671 wxPyEndAllowThreads(__tstate
);
5672 if (PyErr_Occurred()) SWIG_fail
;
5674 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyTimer
, 1);
5681 static PyObject
*_wrap_delete_Timer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5682 PyObject
*resultobj
;
5683 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
5684 PyObject
* obj0
= 0 ;
5686 (char *) "self", NULL
5689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Timer",kwnames
,&obj0
)) goto fail
;
5690 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTimer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5695 wxPyEndAllowThreads(__tstate
);
5696 if (PyErr_Occurred()) SWIG_fail
;
5698 Py_INCREF(Py_None
); resultobj
= Py_None
;
5705 static PyObject
*_wrap_Timer__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5706 PyObject
*resultobj
;
5707 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
5708 PyObject
*arg2
= (PyObject
*) 0 ;
5709 PyObject
*arg3
= (PyObject
*) 0 ;
5710 PyObject
* obj0
= 0 ;
5711 PyObject
* obj1
= 0 ;
5712 PyObject
* obj2
= 0 ;
5714 (char *) "self",(char *) "self",(char *) "_class", NULL
5717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Timer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5718 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTimer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5723 (arg1
)->_setCallbackInfo(arg2
,arg3
);
5725 wxPyEndAllowThreads(__tstate
);
5726 if (PyErr_Occurred()) SWIG_fail
;
5728 Py_INCREF(Py_None
); resultobj
= Py_None
;
5735 static PyObject
*_wrap_Timer_SetOwner(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5736 PyObject
*resultobj
;
5737 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
5738 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
5739 int arg3
= (int) -1 ;
5740 PyObject
* obj0
= 0 ;
5741 PyObject
* obj1
= 0 ;
5743 (char *) "self",(char *) "owner",(char *) "id", NULL
5746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:Timer_SetOwner",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
5747 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTimer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5748 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5751 (arg1
)->SetOwner(arg2
,arg3
);
5753 wxPyEndAllowThreads(__tstate
);
5754 if (PyErr_Occurred()) SWIG_fail
;
5756 Py_INCREF(Py_None
); resultobj
= Py_None
;
5763 static PyObject
*_wrap_Timer_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5764 PyObject
*resultobj
;
5765 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
5766 int arg2
= (int) -1 ;
5767 bool arg3
= (bool) False
;
5769 PyObject
* obj0
= 0 ;
5770 PyObject
* obj2
= 0 ;
5772 (char *) "self",(char *) "milliseconds",(char *) "oneShot", NULL
5775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iO:Timer_Start",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
5776 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTimer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5778 arg3
= PyInt_AsLong(obj2
) ? true : false;
5779 if (PyErr_Occurred()) SWIG_fail
;
5782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5783 result
= (bool)(arg1
)->Start(arg2
,arg3
);
5785 wxPyEndAllowThreads(__tstate
);
5786 if (PyErr_Occurred()) SWIG_fail
;
5788 resultobj
= PyInt_FromLong((long)result
);
5795 static PyObject
*_wrap_Timer_Stop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5796 PyObject
*resultobj
;
5797 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
5798 PyObject
* obj0
= 0 ;
5800 (char *) "self", NULL
5803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_Stop",kwnames
,&obj0
)) goto fail
;
5804 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTimer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5809 wxPyEndAllowThreads(__tstate
);
5810 if (PyErr_Occurred()) SWIG_fail
;
5812 Py_INCREF(Py_None
); resultobj
= Py_None
;
5819 static PyObject
*_wrap_Timer_IsRunning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5820 PyObject
*resultobj
;
5821 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
5823 PyObject
* obj0
= 0 ;
5825 (char *) "self", NULL
5828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_IsRunning",kwnames
,&obj0
)) goto fail
;
5829 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTimer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5832 result
= (bool)((wxPyTimer
const *)arg1
)->IsRunning();
5834 wxPyEndAllowThreads(__tstate
);
5835 if (PyErr_Occurred()) SWIG_fail
;
5837 resultobj
= PyInt_FromLong((long)result
);
5844 static PyObject
*_wrap_Timer_GetInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5845 PyObject
*resultobj
;
5846 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
5848 PyObject
* obj0
= 0 ;
5850 (char *) "self", NULL
5853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetInterval",kwnames
,&obj0
)) goto fail
;
5854 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTimer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5857 result
= (int)((wxPyTimer
const *)arg1
)->GetInterval();
5859 wxPyEndAllowThreads(__tstate
);
5860 if (PyErr_Occurred()) SWIG_fail
;
5862 resultobj
= PyInt_FromLong((long)result
);
5869 static PyObject
*_wrap_Timer_IsOneShot(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5870 PyObject
*resultobj
;
5871 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
5873 PyObject
* obj0
= 0 ;
5875 (char *) "self", NULL
5878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_IsOneShot",kwnames
,&obj0
)) goto fail
;
5879 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTimer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5882 result
= (bool)((wxPyTimer
const *)arg1
)->IsOneShot();
5884 wxPyEndAllowThreads(__tstate
);
5885 if (PyErr_Occurred()) SWIG_fail
;
5887 resultobj
= PyInt_FromLong((long)result
);
5894 static PyObject
*_wrap_Timer_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5895 PyObject
*resultobj
;
5896 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
5898 PyObject
* obj0
= 0 ;
5900 (char *) "self", NULL
5903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetId",kwnames
,&obj0
)) goto fail
;
5904 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTimer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5907 result
= (int)((wxPyTimer
const *)arg1
)->GetId();
5909 wxPyEndAllowThreads(__tstate
);
5910 if (PyErr_Occurred()) SWIG_fail
;
5912 resultobj
= PyInt_FromLong((long)result
);
5919 static PyObject
* Timer_swigregister(PyObject
*self
, PyObject
*args
) {
5921 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5922 SWIG_TypeClientData(SWIGTYPE_p_wxPyTimer
, obj
);
5924 return Py_BuildValue((char *)"");
5926 static PyObject
*_wrap_new_TimerEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5927 PyObject
*resultobj
;
5928 int arg1
= (int) 0 ;
5929 int arg2
= (int) 0 ;
5930 wxTimerEvent
*result
;
5932 (char *) "timerid",(char *) "interval", NULL
5935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:new_TimerEvent",kwnames
,&arg1
,&arg2
)) goto fail
;
5937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5938 result
= (wxTimerEvent
*)new wxTimerEvent(arg1
,arg2
);
5940 wxPyEndAllowThreads(__tstate
);
5941 if (PyErr_Occurred()) SWIG_fail
;
5943 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTimerEvent
, 1);
5950 static PyObject
*_wrap_TimerEvent_GetInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5951 PyObject
*resultobj
;
5952 wxTimerEvent
*arg1
= (wxTimerEvent
*) 0 ;
5954 PyObject
* obj0
= 0 ;
5956 (char *) "self", NULL
5959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimerEvent_GetInterval",kwnames
,&obj0
)) goto fail
;
5960 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimerEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5963 result
= (int)((wxTimerEvent
const *)arg1
)->GetInterval();
5965 wxPyEndAllowThreads(__tstate
);
5966 if (PyErr_Occurred()) SWIG_fail
;
5968 resultobj
= PyInt_FromLong((long)result
);
5975 static PyObject
* TimerEvent_swigregister(PyObject
*self
, PyObject
*args
) {
5977 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5978 SWIG_TypeClientData(SWIGTYPE_p_wxTimerEvent
, obj
);
5980 return Py_BuildValue((char *)"");
5982 static PyObject
*_wrap_new_TimerRunner__SWIG_0(PyObject
*self
, PyObject
*args
) {
5983 PyObject
*resultobj
;
5985 wxTimerRunner
*result
;
5986 PyObject
* obj0
= 0 ;
5988 if(!PyArg_ParseTuple(args
,(char *)"O:new_TimerRunner",&obj0
)) goto fail
;
5989 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5991 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5995 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
);
5997 wxPyEndAllowThreads(__tstate
);
5998 if (PyErr_Occurred()) SWIG_fail
;
6000 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTimerRunner
, 1);
6007 static PyObject
*_wrap_new_TimerRunner__SWIG_1(PyObject
*self
, PyObject
*args
) {
6008 PyObject
*resultobj
;
6011 bool arg3
= (bool) False
;
6012 wxTimerRunner
*result
;
6013 PyObject
* obj0
= 0 ;
6014 PyObject
* obj2
= 0 ;
6016 if(!PyArg_ParseTuple(args
,(char *)"Oi|O:new_TimerRunner",&obj0
,&arg2
,&obj2
)) goto fail
;
6017 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6019 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6022 arg3
= PyInt_AsLong(obj2
) ? true : false;
6023 if (PyErr_Occurred()) SWIG_fail
;
6026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6027 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
,arg2
,arg3
);
6029 wxPyEndAllowThreads(__tstate
);
6030 if (PyErr_Occurred()) SWIG_fail
;
6032 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTimerRunner
, 1);
6039 static PyObject
*_wrap_new_TimerRunner(PyObject
*self
, PyObject
*args
) {
6044 argc
= PyObject_Length(args
);
6045 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
6046 argv
[ii
] = PyTuple_GetItem(args
,ii
);
6052 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxTimer
, 0) == -1) {
6060 return _wrap_new_TimerRunner__SWIG_0(self
,args
);
6063 if ((argc
>= 2) && (argc
<= 3)) {
6067 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxTimer
, 0) == -1) {
6076 _v
= (PyInt_Check(argv
[1]) || PyLong_Check(argv
[1])) ? 1 : 0;
6080 return _wrap_new_TimerRunner__SWIG_1(self
,args
);
6083 _v
= (PyInt_Check(argv
[2]) || PyLong_Check(argv
[2])) ? 1 : 0;
6086 return _wrap_new_TimerRunner__SWIG_1(self
,args
);
6092 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_TimerRunner'");
6097 static PyObject
*_wrap_delete_TimerRunner(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6098 PyObject
*resultobj
;
6099 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
6100 PyObject
* obj0
= 0 ;
6102 (char *) "self", NULL
6105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TimerRunner",kwnames
,&obj0
)) goto fail
;
6106 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimerRunner
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6111 wxPyEndAllowThreads(__tstate
);
6112 if (PyErr_Occurred()) SWIG_fail
;
6114 Py_INCREF(Py_None
); resultobj
= Py_None
;
6121 static PyObject
*_wrap_TimerRunner_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6122 PyObject
*resultobj
;
6123 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
6125 bool arg3
= (bool) False
;
6126 PyObject
* obj0
= 0 ;
6127 PyObject
* obj2
= 0 ;
6129 (char *) "self",(char *) "milli",(char *) "oneShot", NULL
6132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|O:TimerRunner_Start",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
6133 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimerRunner
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6135 arg3
= PyInt_AsLong(obj2
) ? true : false;
6136 if (PyErr_Occurred()) SWIG_fail
;
6139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6140 (arg1
)->Start(arg2
,arg3
);
6142 wxPyEndAllowThreads(__tstate
);
6143 if (PyErr_Occurred()) SWIG_fail
;
6145 Py_INCREF(Py_None
); resultobj
= Py_None
;
6152 static PyObject
* TimerRunner_swigregister(PyObject
*self
, PyObject
*args
) {
6154 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6155 SWIG_TypeClientData(SWIGTYPE_p_wxTimerRunner
, obj
);
6157 return Py_BuildValue((char *)"");
6159 static PyObject
*_wrap_new_Log(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6160 PyObject
*resultobj
;
6166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Log",kwnames
)) goto fail
;
6168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6169 result
= (wxLog
*)new wxLog();
6171 wxPyEndAllowThreads(__tstate
);
6172 if (PyErr_Occurred()) SWIG_fail
;
6174 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLog
, 1);
6181 static PyObject
*_wrap_Log_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6182 PyObject
*resultobj
;
6188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_IsEnabled",kwnames
)) goto fail
;
6190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6191 result
= (bool)wxLog::IsEnabled();
6193 wxPyEndAllowThreads(__tstate
);
6194 if (PyErr_Occurred()) SWIG_fail
;
6196 resultobj
= PyInt_FromLong((long)result
);
6203 static PyObject
*_wrap_Log_EnableLogging(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6204 PyObject
*resultobj
;
6205 bool arg1
= (bool) True
;
6207 PyObject
* obj0
= 0 ;
6209 (char *) "doIt", NULL
6212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_EnableLogging",kwnames
,&obj0
)) goto fail
;
6214 arg1
= PyInt_AsLong(obj0
) ? true : false;
6215 if (PyErr_Occurred()) SWIG_fail
;
6218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6219 result
= (bool)wxLog::EnableLogging(arg1
);
6221 wxPyEndAllowThreads(__tstate
);
6222 if (PyErr_Occurred()) SWIG_fail
;
6224 resultobj
= PyInt_FromLong((long)result
);
6231 static PyObject
*_wrap_Log_OnLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6232 PyObject
*resultobj
;
6234 wxChar
*arg2
= (wxChar
*) 0 ;
6236 PyObject
* obj0
= 0 ;
6237 PyObject
* obj1
= 0 ;
6238 PyObject
* obj2
= 0 ;
6240 (char *) "level",(char *) "szString",(char *) "t", NULL
6243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Log_OnLog",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6244 arg1
= (wxLogLevel
) PyInt_AsLong(obj0
);
6245 if (PyErr_Occurred()) SWIG_fail
;
6246 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxChar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6247 arg3
= (time_t) PyInt_AsLong(obj2
);
6248 if (PyErr_Occurred()) SWIG_fail
;
6250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6251 wxLog::OnLog(arg1
,(wxChar
const *)arg2
,arg3
);
6253 wxPyEndAllowThreads(__tstate
);
6254 if (PyErr_Occurred()) SWIG_fail
;
6256 Py_INCREF(Py_None
); resultobj
= Py_None
;
6263 static PyObject
*_wrap_Log_Flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6264 PyObject
*resultobj
;
6265 wxLog
*arg1
= (wxLog
*) 0 ;
6266 PyObject
* obj0
= 0 ;
6268 (char *) "self", NULL
6271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_Flush",kwnames
,&obj0
)) goto fail
;
6272 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6277 wxPyEndAllowThreads(__tstate
);
6278 if (PyErr_Occurred()) SWIG_fail
;
6280 Py_INCREF(Py_None
); resultobj
= Py_None
;
6287 static PyObject
*_wrap_Log_FlushActive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6288 PyObject
*resultobj
;
6293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_FlushActive",kwnames
)) goto fail
;
6295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6296 wxLog::FlushActive();
6298 wxPyEndAllowThreads(__tstate
);
6299 if (PyErr_Occurred()) SWIG_fail
;
6301 Py_INCREF(Py_None
); resultobj
= Py_None
;
6308 static PyObject
*_wrap_Log_GetActiveTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6309 PyObject
*resultobj
;
6315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetActiveTarget",kwnames
)) goto fail
;
6317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6318 result
= (wxLog
*)wxLog::GetActiveTarget();
6320 wxPyEndAllowThreads(__tstate
);
6321 if (PyErr_Occurred()) SWIG_fail
;
6323 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLog
, 0);
6330 static PyObject
*_wrap_Log_SetActiveTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6331 PyObject
*resultobj
;
6332 wxLog
*arg1
= (wxLog
*) 0 ;
6334 PyObject
* obj0
= 0 ;
6336 (char *) "pLogger", NULL
6339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetActiveTarget",kwnames
,&obj0
)) goto fail
;
6340 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6343 result
= (wxLog
*)wxLog::SetActiveTarget(arg1
);
6345 wxPyEndAllowThreads(__tstate
);
6346 if (PyErr_Occurred()) SWIG_fail
;
6348 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLog
, 0);
6355 static PyObject
*_wrap_Log_Suspend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6356 PyObject
*resultobj
;
6361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_Suspend",kwnames
)) goto fail
;
6363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6366 wxPyEndAllowThreads(__tstate
);
6367 if (PyErr_Occurred()) SWIG_fail
;
6369 Py_INCREF(Py_None
); resultobj
= Py_None
;
6376 static PyObject
*_wrap_Log_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6377 PyObject
*resultobj
;
6382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_Resume",kwnames
)) goto fail
;
6384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6387 wxPyEndAllowThreads(__tstate
);
6388 if (PyErr_Occurred()) SWIG_fail
;
6390 Py_INCREF(Py_None
); resultobj
= Py_None
;
6397 static PyObject
*_wrap_Log_SetVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6398 PyObject
*resultobj
;
6399 bool arg1
= (bool) True
;
6400 PyObject
* obj0
= 0 ;
6402 (char *) "bVerbose", NULL
6405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_SetVerbose",kwnames
,&obj0
)) goto fail
;
6407 arg1
= PyInt_AsLong(obj0
) ? true : false;
6408 if (PyErr_Occurred()) SWIG_fail
;
6411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6412 wxLog::SetVerbose(arg1
);
6414 wxPyEndAllowThreads(__tstate
);
6415 if (PyErr_Occurred()) SWIG_fail
;
6417 Py_INCREF(Py_None
); resultobj
= Py_None
;
6424 static PyObject
*_wrap_Log_SetLogLevel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6425 PyObject
*resultobj
;
6427 PyObject
* obj0
= 0 ;
6429 (char *) "logLevel", NULL
6432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetLogLevel",kwnames
,&obj0
)) goto fail
;
6433 arg1
= (wxLogLevel
) PyInt_AsLong(obj0
);
6434 if (PyErr_Occurred()) SWIG_fail
;
6436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6437 wxLog::SetLogLevel(arg1
);
6439 wxPyEndAllowThreads(__tstate
);
6440 if (PyErr_Occurred()) SWIG_fail
;
6442 Py_INCREF(Py_None
); resultobj
= Py_None
;
6449 static PyObject
*_wrap_Log_DontCreateOnDemand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6450 PyObject
*resultobj
;
6455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_DontCreateOnDemand",kwnames
)) goto fail
;
6457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6458 wxLog::DontCreateOnDemand();
6460 wxPyEndAllowThreads(__tstate
);
6461 if (PyErr_Occurred()) SWIG_fail
;
6463 Py_INCREF(Py_None
); resultobj
= Py_None
;
6470 static PyObject
*_wrap_Log_SetTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6471 PyObject
*resultobj
;
6473 PyObject
* obj0
= 0 ;
6475 (char *) "ulMask", NULL
6478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTraceMask",kwnames
,&obj0
)) goto fail
;
6479 arg1
= (wxTraceMask
) PyInt_AsLong(obj0
);
6480 if (PyErr_Occurred()) SWIG_fail
;
6482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6483 wxLog::SetTraceMask(arg1
);
6485 wxPyEndAllowThreads(__tstate
);
6486 if (PyErr_Occurred()) SWIG_fail
;
6488 Py_INCREF(Py_None
); resultobj
= Py_None
;
6495 static PyObject
*_wrap_Log_AddTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6496 PyObject
*resultobj
;
6497 wxString
*arg1
= 0 ;
6498 bool temp1
= False
;
6499 PyObject
* obj0
= 0 ;
6501 (char *) "str", NULL
6504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_AddTraceMask",kwnames
,&obj0
)) goto fail
;
6506 arg1
= wxString_in_helper(obj0
);
6507 if (arg1
== NULL
) SWIG_fail
;
6511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6512 wxLog::AddTraceMask((wxString
const &)*arg1
);
6514 wxPyEndAllowThreads(__tstate
);
6515 if (PyErr_Occurred()) SWIG_fail
;
6517 Py_INCREF(Py_None
); resultobj
= Py_None
;
6532 static PyObject
*_wrap_Log_RemoveTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6533 PyObject
*resultobj
;
6534 wxString
*arg1
= 0 ;
6535 bool temp1
= False
;
6536 PyObject
* obj0
= 0 ;
6538 (char *) "str", NULL
6541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_RemoveTraceMask",kwnames
,&obj0
)) goto fail
;
6543 arg1
= wxString_in_helper(obj0
);
6544 if (arg1
== NULL
) SWIG_fail
;
6548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6549 wxLog::RemoveTraceMask((wxString
const &)*arg1
);
6551 wxPyEndAllowThreads(__tstate
);
6552 if (PyErr_Occurred()) SWIG_fail
;
6554 Py_INCREF(Py_None
); resultobj
= Py_None
;
6569 static PyObject
*_wrap_Log_ClearTraceMasks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6570 PyObject
*resultobj
;
6575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_ClearTraceMasks",kwnames
)) goto fail
;
6577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6578 wxLog::ClearTraceMasks();
6580 wxPyEndAllowThreads(__tstate
);
6581 if (PyErr_Occurred()) SWIG_fail
;
6583 Py_INCREF(Py_None
); resultobj
= Py_None
;
6590 static PyObject
*_wrap_Log_GetTraceMasks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6591 PyObject
*resultobj
;
6592 wxArrayString
*result
;
6597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTraceMasks",kwnames
)) goto fail
;
6599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6601 wxArrayString
const &_result_ref
= wxLog::GetTraceMasks();
6602 result
= (wxArrayString
*) &_result_ref
;
6605 wxPyEndAllowThreads(__tstate
);
6606 if (PyErr_Occurred()) SWIG_fail
;
6609 resultobj
= wxArrayString2PyList_helper(*result
);
6617 static PyObject
*_wrap_Log_SetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6618 PyObject
*resultobj
;
6619 wxChar
*arg1
= (wxChar
*) 0 ;
6620 PyObject
* obj0
= 0 ;
6625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTimestamp",kwnames
,&obj0
)) goto fail
;
6626 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxChar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6629 wxLog::SetTimestamp((wxChar
const *)arg1
);
6631 wxPyEndAllowThreads(__tstate
);
6632 if (PyErr_Occurred()) SWIG_fail
;
6634 Py_INCREF(Py_None
); resultobj
= Py_None
;
6641 static PyObject
*_wrap_Log_GetVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6642 PyObject
*resultobj
;
6648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetVerbose",kwnames
)) goto fail
;
6650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6651 result
= (bool)wxLog::GetVerbose();
6653 wxPyEndAllowThreads(__tstate
);
6654 if (PyErr_Occurred()) SWIG_fail
;
6656 resultobj
= PyInt_FromLong((long)result
);
6663 static PyObject
*_wrap_Log_GetTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6664 PyObject
*resultobj
;
6670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTraceMask",kwnames
)) goto fail
;
6672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6673 result
= (wxTraceMask
)wxLog::GetTraceMask();
6675 wxPyEndAllowThreads(__tstate
);
6676 if (PyErr_Occurred()) SWIG_fail
;
6678 resultobj
= PyInt_FromLong((long)result
);
6685 static PyObject
*_wrap_Log_IsAllowedTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6686 PyObject
*resultobj
;
6687 wxChar
*arg1
= (wxChar
*) 0 ;
6689 PyObject
* obj0
= 0 ;
6691 (char *) "mask", NULL
6694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_IsAllowedTraceMask",kwnames
,&obj0
)) goto fail
;
6695 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxChar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6698 result
= (bool)wxLog::IsAllowedTraceMask((wxChar
const *)arg1
);
6700 wxPyEndAllowThreads(__tstate
);
6701 if (PyErr_Occurred()) SWIG_fail
;
6703 resultobj
= PyInt_FromLong((long)result
);
6710 static PyObject
*_wrap_Log_GetLogLevel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6711 PyObject
*resultobj
;
6717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetLogLevel",kwnames
)) goto fail
;
6719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6720 result
= (wxLogLevel
)wxLog::GetLogLevel();
6722 wxPyEndAllowThreads(__tstate
);
6723 if (PyErr_Occurred()) SWIG_fail
;
6725 resultobj
= PyInt_FromLong((long)result
);
6732 static PyObject
*_wrap_Log_GetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6733 PyObject
*resultobj
;
6739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTimestamp",kwnames
)) goto fail
;
6741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6742 result
= (wxChar
*)wxLog::GetTimestamp();
6744 wxPyEndAllowThreads(__tstate
);
6745 if (PyErr_Occurred()) SWIG_fail
;
6747 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxChar
, 0);
6754 static PyObject
*_wrap_Log_TimeStamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6755 PyObject
*resultobj
;
6761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_TimeStamp",kwnames
)) goto fail
;
6763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6764 result
= Log_TimeStamp();
6766 wxPyEndAllowThreads(__tstate
);
6767 if (PyErr_Occurred()) SWIG_fail
;
6771 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6773 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6782 static PyObject
*_wrap_Log_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6783 PyObject
*resultobj
;
6784 wxLog
*arg1
= (wxLog
*) 0 ;
6785 PyObject
* obj0
= 0 ;
6787 (char *) "self", NULL
6790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_Destroy",kwnames
,&obj0
)) goto fail
;
6791 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6794 wxLog_Destroy(arg1
);
6796 wxPyEndAllowThreads(__tstate
);
6797 if (PyErr_Occurred()) SWIG_fail
;
6799 Py_INCREF(Py_None
); resultobj
= Py_None
;
6806 static PyObject
* Log_swigregister(PyObject
*self
, PyObject
*args
) {
6808 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6809 SWIG_TypeClientData(SWIGTYPE_p_wxLog
, obj
);
6811 return Py_BuildValue((char *)"");
6813 static PyObject
*_wrap_new_LogStderr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6814 PyObject
*resultobj
;
6815 wxLogStderr
*result
;
6820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogStderr",kwnames
)) goto fail
;
6822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6823 result
= (wxLogStderr
*)new wxLogStderr();
6825 wxPyEndAllowThreads(__tstate
);
6826 if (PyErr_Occurred()) SWIG_fail
;
6828 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLogStderr
, 1);
6835 static PyObject
* LogStderr_swigregister(PyObject
*self
, PyObject
*args
) {
6837 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6838 SWIG_TypeClientData(SWIGTYPE_p_wxLogStderr
, obj
);
6840 return Py_BuildValue((char *)"");
6842 static PyObject
*_wrap_new_LogTextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6843 PyObject
*resultobj
;
6844 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
6845 wxLogTextCtrl
*result
;
6846 PyObject
* obj0
= 0 ;
6848 (char *) "pTextCtrl", NULL
6851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogTextCtrl",kwnames
,&obj0
)) goto fail
;
6852 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6855 result
= (wxLogTextCtrl
*)new wxLogTextCtrl(arg1
);
6857 wxPyEndAllowThreads(__tstate
);
6858 if (PyErr_Occurred()) SWIG_fail
;
6860 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLogTextCtrl
, 1);
6867 static PyObject
* LogTextCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
6869 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6870 SWIG_TypeClientData(SWIGTYPE_p_wxLogTextCtrl
, obj
);
6872 return Py_BuildValue((char *)"");
6874 static PyObject
*_wrap_new_LogGui(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6875 PyObject
*resultobj
;
6881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogGui",kwnames
)) goto fail
;
6883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6884 result
= (wxLogGui
*)new wxLogGui();
6886 wxPyEndAllowThreads(__tstate
);
6887 if (PyErr_Occurred()) SWIG_fail
;
6889 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLogGui
, 1);
6896 static PyObject
* LogGui_swigregister(PyObject
*self
, PyObject
*args
) {
6898 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6899 SWIG_TypeClientData(SWIGTYPE_p_wxLogGui
, obj
);
6901 return Py_BuildValue((char *)"");
6903 static PyObject
*_wrap_new_LogWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6904 PyObject
*resultobj
;
6905 wxFrame
*arg1
= (wxFrame
*) 0 ;
6906 wxString
*arg2
= 0 ;
6907 bool arg3
= (bool) True
;
6908 bool arg4
= (bool) True
;
6909 wxLogWindow
*result
;
6910 bool temp2
= False
;
6911 PyObject
* obj0
= 0 ;
6912 PyObject
* obj1
= 0 ;
6913 PyObject
* obj2
= 0 ;
6914 PyObject
* obj3
= 0 ;
6916 (char *) "pParent",(char *) "szTitle",(char *) "bShow",(char *) "bPassToOld", NULL
6919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_LogWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6920 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6922 arg2
= wxString_in_helper(obj1
);
6923 if (arg2
== NULL
) SWIG_fail
;
6927 arg3
= PyInt_AsLong(obj2
) ? true : false;
6928 if (PyErr_Occurred()) SWIG_fail
;
6931 arg4
= PyInt_AsLong(obj3
) ? true : false;
6932 if (PyErr_Occurred()) SWIG_fail
;
6935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6936 result
= (wxLogWindow
*)new wxLogWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
6938 wxPyEndAllowThreads(__tstate
);
6939 if (PyErr_Occurred()) SWIG_fail
;
6941 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLogWindow
, 1);
6956 static PyObject
*_wrap_LogWindow_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6957 PyObject
*resultobj
;
6958 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
6959 bool arg2
= (bool) True
;
6960 PyObject
* obj0
= 0 ;
6961 PyObject
* obj1
= 0 ;
6963 (char *) "self",(char *) "bShow", NULL
6966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:LogWindow_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
6967 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLogWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6969 arg2
= PyInt_AsLong(obj1
) ? true : false;
6970 if (PyErr_Occurred()) SWIG_fail
;
6973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6976 wxPyEndAllowThreads(__tstate
);
6977 if (PyErr_Occurred()) SWIG_fail
;
6979 Py_INCREF(Py_None
); resultobj
= Py_None
;
6986 static PyObject
*_wrap_LogWindow_GetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6987 PyObject
*resultobj
;
6988 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
6990 PyObject
* obj0
= 0 ;
6992 (char *) "self", NULL
6995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_GetFrame",kwnames
,&obj0
)) goto fail
;
6996 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLogWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6999 result
= (wxFrame
*)((wxLogWindow
const *)arg1
)->GetFrame();
7001 wxPyEndAllowThreads(__tstate
);
7002 if (PyErr_Occurred()) SWIG_fail
;
7005 resultobj
= wxPyMake_wxObject(result
);
7013 static PyObject
*_wrap_LogWindow_GetOldLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7014 PyObject
*resultobj
;
7015 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
7017 PyObject
* obj0
= 0 ;
7019 (char *) "self", NULL
7022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_GetOldLog",kwnames
,&obj0
)) goto fail
;
7023 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLogWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7026 result
= (wxLog
*)((wxLogWindow
const *)arg1
)->GetOldLog();
7028 wxPyEndAllowThreads(__tstate
);
7029 if (PyErr_Occurred()) SWIG_fail
;
7031 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLog
, 0);
7038 static PyObject
*_wrap_LogWindow_IsPassingMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7039 PyObject
*resultobj
;
7040 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
7042 PyObject
* obj0
= 0 ;
7044 (char *) "self", NULL
7047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_IsPassingMessages",kwnames
,&obj0
)) goto fail
;
7048 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLogWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7051 result
= (bool)((wxLogWindow
const *)arg1
)->IsPassingMessages();
7053 wxPyEndAllowThreads(__tstate
);
7054 if (PyErr_Occurred()) SWIG_fail
;
7056 resultobj
= PyInt_FromLong((long)result
);
7063 static PyObject
*_wrap_LogWindow_PassMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7064 PyObject
*resultobj
;
7065 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
7067 PyObject
* obj0
= 0 ;
7068 PyObject
* obj1
= 0 ;
7070 (char *) "self",(char *) "bDoPass", NULL
7073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogWindow_PassMessages",kwnames
,&obj0
,&obj1
)) goto fail
;
7074 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLogWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7075 arg2
= PyInt_AsLong(obj1
) ? true : false;
7076 if (PyErr_Occurred()) SWIG_fail
;
7078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7079 (arg1
)->PassMessages(arg2
);
7081 wxPyEndAllowThreads(__tstate
);
7082 if (PyErr_Occurred()) SWIG_fail
;
7084 Py_INCREF(Py_None
); resultobj
= Py_None
;
7091 static PyObject
* LogWindow_swigregister(PyObject
*self
, PyObject
*args
) {
7093 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7094 SWIG_TypeClientData(SWIGTYPE_p_wxLogWindow
, obj
);
7096 return Py_BuildValue((char *)"");
7098 static PyObject
*_wrap_new_LogChain(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7099 PyObject
*resultobj
;
7100 wxLog
*arg1
= (wxLog
*) 0 ;
7102 PyObject
* obj0
= 0 ;
7104 (char *) "logger", NULL
7107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogChain",kwnames
,&obj0
)) goto fail
;
7108 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7111 result
= (wxLogChain
*)new wxLogChain(arg1
);
7113 wxPyEndAllowThreads(__tstate
);
7114 if (PyErr_Occurred()) SWIG_fail
;
7116 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLogChain
, 1);
7123 static PyObject
*_wrap_LogChain_SetLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7124 PyObject
*resultobj
;
7125 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
7126 wxLog
*arg2
= (wxLog
*) 0 ;
7127 PyObject
* obj0
= 0 ;
7128 PyObject
* obj1
= 0 ;
7130 (char *) "self",(char *) "logger", NULL
7133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_SetLog",kwnames
,&obj0
,&obj1
)) goto fail
;
7134 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLogChain
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7135 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxLog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7138 (arg1
)->SetLog(arg2
);
7140 wxPyEndAllowThreads(__tstate
);
7141 if (PyErr_Occurred()) SWIG_fail
;
7143 Py_INCREF(Py_None
); resultobj
= Py_None
;
7150 static PyObject
*_wrap_LogChain_PassMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7151 PyObject
*resultobj
;
7152 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
7154 PyObject
* obj0
= 0 ;
7155 PyObject
* obj1
= 0 ;
7157 (char *) "self",(char *) "bDoPass", NULL
7160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_PassMessages",kwnames
,&obj0
,&obj1
)) goto fail
;
7161 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLogChain
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7162 arg2
= PyInt_AsLong(obj1
) ? true : false;
7163 if (PyErr_Occurred()) SWIG_fail
;
7165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7166 (arg1
)->PassMessages(arg2
);
7168 wxPyEndAllowThreads(__tstate
);
7169 if (PyErr_Occurred()) SWIG_fail
;
7171 Py_INCREF(Py_None
); resultobj
= Py_None
;
7178 static PyObject
*_wrap_LogChain_IsPassingMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7179 PyObject
*resultobj
;
7180 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
7182 PyObject
* obj0
= 0 ;
7184 (char *) "self", NULL
7187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogChain_IsPassingMessages",kwnames
,&obj0
)) goto fail
;
7188 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLogChain
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7191 result
= (bool)(arg1
)->IsPassingMessages();
7193 wxPyEndAllowThreads(__tstate
);
7194 if (PyErr_Occurred()) SWIG_fail
;
7196 resultobj
= PyInt_FromLong((long)result
);
7203 static PyObject
*_wrap_LogChain_GetOldLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7204 PyObject
*resultobj
;
7205 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
7207 PyObject
* obj0
= 0 ;
7209 (char *) "self", NULL
7212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogChain_GetOldLog",kwnames
,&obj0
)) goto fail
;
7213 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLogChain
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7216 result
= (wxLog
*)(arg1
)->GetOldLog();
7218 wxPyEndAllowThreads(__tstate
);
7219 if (PyErr_Occurred()) SWIG_fail
;
7221 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLog
, 0);
7228 static PyObject
* LogChain_swigregister(PyObject
*self
, PyObject
*args
) {
7230 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7231 SWIG_TypeClientData(SWIGTYPE_p_wxLogChain
, obj
);
7233 return Py_BuildValue((char *)"");
7235 static PyObject
*_wrap_SysErrorCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7236 PyObject
*resultobj
;
7237 unsigned long result
;
7242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":SysErrorCode",kwnames
)) goto fail
;
7244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7245 result
= (unsigned long)wxSysErrorCode();
7247 wxPyEndAllowThreads(__tstate
);
7248 if (PyErr_Occurred()) SWIG_fail
;
7250 resultobj
= PyInt_FromLong((long)result
);
7257 static PyObject
*_wrap_SysErrorMsg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7258 PyObject
*resultobj
;
7259 unsigned long arg1
= (unsigned long) 0 ;
7261 PyObject
* obj0
= 0 ;
7263 (char *) "nErrCode", NULL
7266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SysErrorMsg",kwnames
,&obj0
)) goto fail
;
7268 arg1
= (unsigned long) PyInt_AsLong(obj0
);
7269 if (PyErr_Occurred()) SWIG_fail
;
7272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7273 result
= wxSysErrorMsg(arg1
);
7275 wxPyEndAllowThreads(__tstate
);
7276 if (PyErr_Occurred()) SWIG_fail
;
7280 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7282 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7291 static PyObject
*_wrap_LogFatalError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7292 PyObject
*resultobj
;
7293 wxString
*arg1
= 0 ;
7294 bool temp1
= False
;
7295 PyObject
* obj0
= 0 ;
7297 (char *) "msg", NULL
7300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogFatalError",kwnames
,&obj0
)) goto fail
;
7302 arg1
= wxString_in_helper(obj0
);
7303 if (arg1
== NULL
) SWIG_fail
;
7307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7308 wxLogFatalError((wxString
const &)*arg1
);
7310 wxPyEndAllowThreads(__tstate
);
7311 if (PyErr_Occurred()) SWIG_fail
;
7313 Py_INCREF(Py_None
); resultobj
= Py_None
;
7328 static PyObject
*_wrap_LogError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7329 PyObject
*resultobj
;
7330 wxString
*arg1
= 0 ;
7331 bool temp1
= False
;
7332 PyObject
* obj0
= 0 ;
7334 (char *) "msg", NULL
7337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogError",kwnames
,&obj0
)) goto fail
;
7339 arg1
= wxString_in_helper(obj0
);
7340 if (arg1
== NULL
) SWIG_fail
;
7344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7345 wxLogError((wxString
const &)*arg1
);
7347 wxPyEndAllowThreads(__tstate
);
7348 if (PyErr_Occurred()) SWIG_fail
;
7350 Py_INCREF(Py_None
); resultobj
= Py_None
;
7365 static PyObject
*_wrap_LogWarning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7366 PyObject
*resultobj
;
7367 wxString
*arg1
= 0 ;
7368 bool temp1
= False
;
7369 PyObject
* obj0
= 0 ;
7371 (char *) "msg", NULL
7374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWarning",kwnames
,&obj0
)) goto fail
;
7376 arg1
= wxString_in_helper(obj0
);
7377 if (arg1
== NULL
) SWIG_fail
;
7381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7382 wxLogWarning((wxString
const &)*arg1
);
7384 wxPyEndAllowThreads(__tstate
);
7385 if (PyErr_Occurred()) SWIG_fail
;
7387 Py_INCREF(Py_None
); resultobj
= Py_None
;
7402 static PyObject
*_wrap_LogMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7403 PyObject
*resultobj
;
7404 wxString
*arg1
= 0 ;
7405 bool temp1
= False
;
7406 PyObject
* obj0
= 0 ;
7408 (char *) "msg", NULL
7411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogMessage",kwnames
,&obj0
)) goto fail
;
7413 arg1
= wxString_in_helper(obj0
);
7414 if (arg1
== NULL
) SWIG_fail
;
7418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7419 wxLogMessage((wxString
const &)*arg1
);
7421 wxPyEndAllowThreads(__tstate
);
7422 if (PyErr_Occurred()) SWIG_fail
;
7424 Py_INCREF(Py_None
); resultobj
= Py_None
;
7439 static PyObject
*_wrap_LogInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7440 PyObject
*resultobj
;
7441 wxString
*arg1
= 0 ;
7442 bool temp1
= False
;
7443 PyObject
* obj0
= 0 ;
7445 (char *) "msg", NULL
7448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogInfo",kwnames
,&obj0
)) goto fail
;
7450 arg1
= wxString_in_helper(obj0
);
7451 if (arg1
== NULL
) SWIG_fail
;
7455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7456 wxLogInfo((wxString
const &)*arg1
);
7458 wxPyEndAllowThreads(__tstate
);
7459 if (PyErr_Occurred()) SWIG_fail
;
7461 Py_INCREF(Py_None
); resultobj
= Py_None
;
7476 static PyObject
*_wrap_LogDebug(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7477 PyObject
*resultobj
;
7478 wxString
*arg1
= 0 ;
7479 bool temp1
= False
;
7480 PyObject
* obj0
= 0 ;
7482 (char *) "msg", NULL
7485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogDebug",kwnames
,&obj0
)) goto fail
;
7487 arg1
= wxString_in_helper(obj0
);
7488 if (arg1
== NULL
) SWIG_fail
;
7492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7493 wxLogDebug((wxString
const &)*arg1
);
7495 wxPyEndAllowThreads(__tstate
);
7496 if (PyErr_Occurred()) SWIG_fail
;
7498 Py_INCREF(Py_None
); resultobj
= Py_None
;
7513 static PyObject
*_wrap_LogVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7514 PyObject
*resultobj
;
7515 wxString
*arg1
= 0 ;
7516 bool temp1
= False
;
7517 PyObject
* obj0
= 0 ;
7519 (char *) "msg", NULL
7522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogVerbose",kwnames
,&obj0
)) goto fail
;
7524 arg1
= wxString_in_helper(obj0
);
7525 if (arg1
== NULL
) SWIG_fail
;
7529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7530 wxLogVerbose((wxString
const &)*arg1
);
7532 wxPyEndAllowThreads(__tstate
);
7533 if (PyErr_Occurred()) SWIG_fail
;
7535 Py_INCREF(Py_None
); resultobj
= Py_None
;
7550 static PyObject
*_wrap_LogStatus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7551 PyObject
*resultobj
;
7552 wxString
*arg1
= 0 ;
7553 bool temp1
= False
;
7554 PyObject
* obj0
= 0 ;
7556 (char *) "msg", NULL
7559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogStatus",kwnames
,&obj0
)) goto fail
;
7561 arg1
= wxString_in_helper(obj0
);
7562 if (arg1
== NULL
) SWIG_fail
;
7566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7567 wxLogStatus((wxString
const &)*arg1
);
7569 wxPyEndAllowThreads(__tstate
);
7570 if (PyErr_Occurred()) SWIG_fail
;
7572 Py_INCREF(Py_None
); resultobj
= Py_None
;
7587 static PyObject
*_wrap_LogStatusFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7588 PyObject
*resultobj
;
7589 wxFrame
*arg1
= (wxFrame
*) 0 ;
7590 wxString
*arg2
= 0 ;
7591 bool temp2
= False
;
7592 PyObject
* obj0
= 0 ;
7593 PyObject
* obj1
= 0 ;
7595 (char *) "pFrame",(char *) "msg", NULL
7598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogStatusFrame",kwnames
,&obj0
,&obj1
)) goto fail
;
7599 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7601 arg2
= wxString_in_helper(obj1
);
7602 if (arg2
== NULL
) SWIG_fail
;
7606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7607 wxLogStatus(arg1
,(wxString
const &)*arg2
);
7609 wxPyEndAllowThreads(__tstate
);
7610 if (PyErr_Occurred()) SWIG_fail
;
7612 Py_INCREF(Py_None
); resultobj
= Py_None
;
7627 static PyObject
*_wrap_LogSysError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7628 PyObject
*resultobj
;
7629 wxString
*arg1
= 0 ;
7630 bool temp1
= False
;
7631 PyObject
* obj0
= 0 ;
7633 (char *) "msg", NULL
7636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogSysError",kwnames
,&obj0
)) goto fail
;
7638 arg1
= wxString_in_helper(obj0
);
7639 if (arg1
== NULL
) SWIG_fail
;
7643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7644 wxLogSysError((wxString
const &)*arg1
);
7646 wxPyEndAllowThreads(__tstate
);
7647 if (PyErr_Occurred()) SWIG_fail
;
7649 Py_INCREF(Py_None
); resultobj
= Py_None
;
7664 static PyObject
*_wrap_LogTrace__SWIG_0(PyObject
*self
, PyObject
*args
) {
7665 PyObject
*resultobj
;
7666 unsigned long arg1
;
7667 wxString
*arg2
= 0 ;
7668 bool temp2
= False
;
7669 PyObject
* obj0
= 0 ;
7670 PyObject
* obj1
= 0 ;
7672 if(!PyArg_ParseTuple(args
,(char *)"OO:LogTrace",&obj0
,&obj1
)) goto fail
;
7673 arg1
= (unsigned long) PyInt_AsLong(obj0
);
7674 if (PyErr_Occurred()) SWIG_fail
;
7676 arg2
= wxString_in_helper(obj1
);
7677 if (arg2
== NULL
) SWIG_fail
;
7681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7682 wxLogTrace(arg1
,(wxString
const &)*arg2
);
7684 wxPyEndAllowThreads(__tstate
);
7685 if (PyErr_Occurred()) SWIG_fail
;
7687 Py_INCREF(Py_None
); resultobj
= Py_None
;
7702 static PyObject
*_wrap_LogTrace__SWIG_1(PyObject
*self
, PyObject
*args
) {
7703 PyObject
*resultobj
;
7704 wxString
*arg1
= 0 ;
7705 wxString
*arg2
= 0 ;
7706 bool temp1
= False
;
7707 bool temp2
= False
;
7708 PyObject
* obj0
= 0 ;
7709 PyObject
* obj1
= 0 ;
7711 if(!PyArg_ParseTuple(args
,(char *)"OO:LogTrace",&obj0
,&obj1
)) goto fail
;
7713 arg1
= wxString_in_helper(obj0
);
7714 if (arg1
== NULL
) SWIG_fail
;
7718 arg2
= wxString_in_helper(obj1
);
7719 if (arg2
== NULL
) SWIG_fail
;
7723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7724 wxLogTrace((wxString
const &)*arg1
,(wxString
const &)*arg2
);
7726 wxPyEndAllowThreads(__tstate
);
7727 if (PyErr_Occurred()) SWIG_fail
;
7729 Py_INCREF(Py_None
); resultobj
= Py_None
;
7752 static PyObject
*_wrap_LogTrace(PyObject
*self
, PyObject
*args
) {
7757 argc
= PyObject_Length(args
);
7758 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
7759 argv
[ii
] = PyTuple_GetItem(args
,ii
);
7765 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxString
, 0) == -1) {
7775 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxString
, 0) == -1) {
7783 return _wrap_LogTrace__SWIG_1(self
,args
);
7790 _v
= (PyInt_Check(argv
[0]) || PyLong_Check(argv
[0])) ? 1 : 0;
7795 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxString
, 0) == -1) {
7803 return _wrap_LogTrace__SWIG_0(self
,args
);
7808 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'LogTrace'");
7813 static PyObject
*_wrap_LogGeneric(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7814 PyObject
*resultobj
;
7815 unsigned long arg1
;
7816 wxString
*arg2
= 0 ;
7817 bool temp2
= False
;
7818 PyObject
* obj0
= 0 ;
7819 PyObject
* obj1
= 0 ;
7821 (char *) "level",(char *) "msg", NULL
7824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogGeneric",kwnames
,&obj0
,&obj1
)) goto fail
;
7825 arg1
= (unsigned long) PyInt_AsLong(obj0
);
7826 if (PyErr_Occurred()) SWIG_fail
;
7828 arg2
= wxString_in_helper(obj1
);
7829 if (arg2
== NULL
) SWIG_fail
;
7833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7834 wxLogGeneric(arg1
,(wxString
const &)*arg2
);
7836 wxPyEndAllowThreads(__tstate
);
7837 if (PyErr_Occurred()) SWIG_fail
;
7839 Py_INCREF(Py_None
); resultobj
= Py_None
;
7854 static PyObject
*_wrap_SafeShowMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7855 PyObject
*resultobj
;
7856 wxString
*arg1
= 0 ;
7857 wxString
*arg2
= 0 ;
7858 bool temp1
= False
;
7859 bool temp2
= False
;
7860 PyObject
* obj0
= 0 ;
7861 PyObject
* obj1
= 0 ;
7863 (char *) "title",(char *) "text", NULL
7866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SafeShowMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
7868 arg1
= wxString_in_helper(obj0
);
7869 if (arg1
== NULL
) SWIG_fail
;
7873 arg2
= wxString_in_helper(obj1
);
7874 if (arg2
== NULL
) SWIG_fail
;
7878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7879 wxSafeShowMessage((wxString
const &)*arg1
,(wxString
const &)*arg2
);
7881 wxPyEndAllowThreads(__tstate
);
7882 if (PyErr_Occurred()) SWIG_fail
;
7884 Py_INCREF(Py_None
); resultobj
= Py_None
;
7907 static PyObject
*_wrap_new_LogNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7908 PyObject
*resultobj
;
7914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogNull",kwnames
)) goto fail
;
7916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7917 result
= (wxLogNull
*)new wxLogNull();
7919 wxPyEndAllowThreads(__tstate
);
7920 if (PyErr_Occurred()) SWIG_fail
;
7922 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLogNull
, 1);
7929 static PyObject
*_wrap_delete_LogNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7930 PyObject
*resultobj
;
7931 wxLogNull
*arg1
= (wxLogNull
*) 0 ;
7932 PyObject
* obj0
= 0 ;
7934 (char *) "self", NULL
7937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_LogNull",kwnames
,&obj0
)) goto fail
;
7938 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLogNull
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7943 wxPyEndAllowThreads(__tstate
);
7944 if (PyErr_Occurred()) SWIG_fail
;
7946 Py_INCREF(Py_None
); resultobj
= Py_None
;
7953 static PyObject
* LogNull_swigregister(PyObject
*self
, PyObject
*args
) {
7955 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7956 SWIG_TypeClientData(SWIGTYPE_p_wxLogNull
, obj
);
7958 return Py_BuildValue((char *)"");
7960 static PyObject
*_wrap_new_PyLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7961 PyObject
*resultobj
;
7967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyLog",kwnames
)) goto fail
;
7969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7970 result
= (wxPyLog
*)new wxPyLog();
7972 wxPyEndAllowThreads(__tstate
);
7973 if (PyErr_Occurred()) SWIG_fail
;
7975 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyLog
, 1);
7982 static PyObject
*_wrap_PyLog__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7983 PyObject
*resultobj
;
7984 wxPyLog
*arg1
= (wxPyLog
*) 0 ;
7985 PyObject
*arg2
= (PyObject
*) 0 ;
7986 PyObject
*arg3
= (PyObject
*) 0 ;
7987 PyObject
* obj0
= 0 ;
7988 PyObject
* obj1
= 0 ;
7989 PyObject
* obj2
= 0 ;
7991 (char *) "self",(char *) "self",(char *) "_class", NULL
7994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLog__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7995 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8000 (arg1
)->_setCallbackInfo(arg2
,arg3
);
8002 wxPyEndAllowThreads(__tstate
);
8003 if (PyErr_Occurred()) SWIG_fail
;
8005 Py_INCREF(Py_None
); resultobj
= Py_None
;
8012 static PyObject
* PyLog_swigregister(PyObject
*self
, PyObject
*args
) {
8014 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8015 SWIG_TypeClientData(SWIGTYPE_p_wxPyLog
, obj
);
8017 return Py_BuildValue((char *)"");
8019 static PyObject
*_wrap_Process_Kill(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8020 PyObject
*resultobj
;
8022 int arg2
= (int) wxSIGTERM
;
8025 (char *) "pid",(char *) "sig", NULL
8028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i|i:Process_Kill",kwnames
,&arg1
,&arg2
)) goto fail
;
8030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8031 result
= (int)wxPyProcess::Kill(arg1
,(wxSignal
)arg2
);
8033 wxPyEndAllowThreads(__tstate
);
8034 if (PyErr_Occurred()) SWIG_fail
;
8036 resultobj
= PyInt_FromLong((long)result
);
8043 static PyObject
*_wrap_Process_Exists(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8044 PyObject
*resultobj
;
8048 (char *) "pid", NULL
8051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i:Process_Exists",kwnames
,&arg1
)) goto fail
;
8053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8054 result
= (bool)wxPyProcess::Exists(arg1
);
8056 wxPyEndAllowThreads(__tstate
);
8057 if (PyErr_Occurred()) SWIG_fail
;
8059 resultobj
= PyInt_FromLong((long)result
);
8066 static PyObject
*_wrap_Process_Open(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8067 PyObject
*resultobj
;
8068 wxString
*arg1
= 0 ;
8069 int arg2
= (int) wxEXEC_ASYNC
;
8070 wxPyProcess
*result
;
8071 bool temp1
= False
;
8072 PyObject
* obj0
= 0 ;
8074 (char *) "cmd",(char *) "flags", NULL
8077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:Process_Open",kwnames
,&obj0
,&arg2
)) goto fail
;
8079 arg1
= wxString_in_helper(obj0
);
8080 if (arg1
== NULL
) SWIG_fail
;
8084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8085 result
= (wxPyProcess
*)wxPyProcess::Open((wxString
const &)*arg1
,arg2
);
8087 wxPyEndAllowThreads(__tstate
);
8088 if (PyErr_Occurred()) SWIG_fail
;
8090 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyProcess
, 0);
8105 static PyObject
*_wrap_new_Process(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8106 PyObject
*resultobj
;
8107 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
8108 int arg2
= (int) -1 ;
8109 wxPyProcess
*result
;
8110 PyObject
* obj0
= 0 ;
8112 (char *) "parent",(char *) "id", NULL
8115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|Oi:new_Process",kwnames
,&obj0
,&arg2
)) goto fail
;
8117 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8121 result
= (wxPyProcess
*)new wxPyProcess(arg1
,arg2
);
8123 wxPyEndAllowThreads(__tstate
);
8124 if (PyErr_Occurred()) SWIG_fail
;
8126 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyProcess
, 1);
8133 static PyObject
*_wrap_Process__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8134 PyObject
*resultobj
;
8135 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8136 PyObject
*arg2
= (PyObject
*) 0 ;
8137 PyObject
*arg3
= (PyObject
*) 0 ;
8138 PyObject
* obj0
= 0 ;
8139 PyObject
* obj1
= 0 ;
8140 PyObject
* obj2
= 0 ;
8142 (char *) "self",(char *) "self",(char *) "_class", NULL
8145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8146 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyProcess
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8151 (arg1
)->_setCallbackInfo(arg2
,arg3
);
8153 wxPyEndAllowThreads(__tstate
);
8154 if (PyErr_Occurred()) SWIG_fail
;
8156 Py_INCREF(Py_None
); resultobj
= Py_None
;
8163 static PyObject
*_wrap_Process_base_OnTerminate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8164 PyObject
*resultobj
;
8165 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8168 PyObject
* obj0
= 0 ;
8170 (char *) "self",(char *) "pid",(char *) "status", NULL
8173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Process_base_OnTerminate",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
8174 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyProcess
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8177 (arg1
)->base_OnTerminate(arg2
,arg3
);
8179 wxPyEndAllowThreads(__tstate
);
8180 if (PyErr_Occurred()) SWIG_fail
;
8182 Py_INCREF(Py_None
); resultobj
= Py_None
;
8189 static PyObject
*_wrap_Process_Redirect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8190 PyObject
*resultobj
;
8191 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8192 PyObject
* obj0
= 0 ;
8194 (char *) "self", NULL
8197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Redirect",kwnames
,&obj0
)) goto fail
;
8198 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyProcess
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8203 wxPyEndAllowThreads(__tstate
);
8204 if (PyErr_Occurred()) SWIG_fail
;
8206 Py_INCREF(Py_None
); resultobj
= Py_None
;
8213 static PyObject
*_wrap_Process_IsRedirected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8214 PyObject
*resultobj
;
8215 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8217 PyObject
* obj0
= 0 ;
8219 (char *) "self", NULL
8222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsRedirected",kwnames
,&obj0
)) goto fail
;
8223 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyProcess
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8226 result
= (bool)(arg1
)->IsRedirected();
8228 wxPyEndAllowThreads(__tstate
);
8229 if (PyErr_Occurred()) SWIG_fail
;
8231 resultobj
= PyInt_FromLong((long)result
);
8238 static PyObject
*_wrap_Process_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8239 PyObject
*resultobj
;
8240 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8241 PyObject
* obj0
= 0 ;
8243 (char *) "self", NULL
8246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Detach",kwnames
,&obj0
)) goto fail
;
8247 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyProcess
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8252 wxPyEndAllowThreads(__tstate
);
8253 if (PyErr_Occurred()) SWIG_fail
;
8255 Py_INCREF(Py_None
); resultobj
= Py_None
;
8262 static PyObject
*_wrap_Process_GetInputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8263 PyObject
*resultobj
;
8264 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8265 wxInputStream
*result
;
8266 PyObject
* obj0
= 0 ;
8268 (char *) "self", NULL
8271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetInputStream",kwnames
,&obj0
)) goto fail
;
8272 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyProcess
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8275 result
= (wxInputStream
*)(arg1
)->GetInputStream();
8277 wxPyEndAllowThreads(__tstate
);
8278 if (PyErr_Occurred()) SWIG_fail
;
8281 wxPyInputStream
* _ptr
= NULL
;
8284 _ptr
= new wxPyInputStream(result
);
8286 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), True
);
8294 static PyObject
*_wrap_Process_GetErrorStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8295 PyObject
*resultobj
;
8296 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8297 wxInputStream
*result
;
8298 PyObject
* obj0
= 0 ;
8300 (char *) "self", NULL
8303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetErrorStream",kwnames
,&obj0
)) goto fail
;
8304 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyProcess
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8307 result
= (wxInputStream
*)(arg1
)->GetErrorStream();
8309 wxPyEndAllowThreads(__tstate
);
8310 if (PyErr_Occurred()) SWIG_fail
;
8313 wxPyInputStream
* _ptr
= NULL
;
8316 _ptr
= new wxPyInputStream(result
);
8318 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), True
);
8326 static PyObject
*_wrap_Process_GetOutputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8327 PyObject
*resultobj
;
8328 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8329 wxOutputStream
*result
;
8330 PyObject
* obj0
= 0 ;
8332 (char *) "self", NULL
8335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetOutputStream",kwnames
,&obj0
)) goto fail
;
8336 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyProcess
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8339 result
= (wxOutputStream
*)(arg1
)->GetOutputStream();
8341 wxPyEndAllowThreads(__tstate
);
8342 if (PyErr_Occurred()) SWIG_fail
;
8344 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxOutputStream
, 0);
8351 static PyObject
*_wrap_Process_CloseOutput(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8352 PyObject
*resultobj
;
8353 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8354 PyObject
* obj0
= 0 ;
8356 (char *) "self", NULL
8359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_CloseOutput",kwnames
,&obj0
)) goto fail
;
8360 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyProcess
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8363 (arg1
)->CloseOutput();
8365 wxPyEndAllowThreads(__tstate
);
8366 if (PyErr_Occurred()) SWIG_fail
;
8368 Py_INCREF(Py_None
); resultobj
= Py_None
;
8375 static PyObject
*_wrap_Process_IsInputOpened(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8376 PyObject
*resultobj
;
8377 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8379 PyObject
* obj0
= 0 ;
8381 (char *) "self", NULL
8384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsInputOpened",kwnames
,&obj0
)) goto fail
;
8385 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyProcess
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8388 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputOpened();
8390 wxPyEndAllowThreads(__tstate
);
8391 if (PyErr_Occurred()) SWIG_fail
;
8393 resultobj
= PyInt_FromLong((long)result
);
8400 static PyObject
*_wrap_Process_IsInputAvailable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8401 PyObject
*resultobj
;
8402 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8404 PyObject
* obj0
= 0 ;
8406 (char *) "self", NULL
8409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsInputAvailable",kwnames
,&obj0
)) goto fail
;
8410 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyProcess
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8413 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputAvailable();
8415 wxPyEndAllowThreads(__tstate
);
8416 if (PyErr_Occurred()) SWIG_fail
;
8418 resultobj
= PyInt_FromLong((long)result
);
8425 static PyObject
*_wrap_Process_IsErrorAvailable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8426 PyObject
*resultobj
;
8427 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8429 PyObject
* obj0
= 0 ;
8431 (char *) "self", NULL
8434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsErrorAvailable",kwnames
,&obj0
)) goto fail
;
8435 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyProcess
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8438 result
= (bool)((wxPyProcess
const *)arg1
)->IsErrorAvailable();
8440 wxPyEndAllowThreads(__tstate
);
8441 if (PyErr_Occurred()) SWIG_fail
;
8443 resultobj
= PyInt_FromLong((long)result
);
8450 static PyObject
* Process_swigregister(PyObject
*self
, PyObject
*args
) {
8452 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8453 SWIG_TypeClientData(SWIGTYPE_p_wxPyProcess
, obj
);
8455 return Py_BuildValue((char *)"");
8457 static PyObject
*_wrap_new_ProcessEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8458 PyObject
*resultobj
;
8459 int arg1
= (int) 0 ;
8460 int arg2
= (int) 0 ;
8461 int arg3
= (int) 0 ;
8462 wxProcessEvent
*result
;
8464 (char *) "id",(char *) "pid",(char *) "exitcode", NULL
8467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iii:new_ProcessEvent",kwnames
,&arg1
,&arg2
,&arg3
)) goto fail
;
8469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8470 result
= (wxProcessEvent
*)new wxProcessEvent(arg1
,arg2
,arg3
);
8472 wxPyEndAllowThreads(__tstate
);
8473 if (PyErr_Occurred()) SWIG_fail
;
8475 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxProcessEvent
, 1);
8482 static PyObject
*_wrap_ProcessEvent_GetPid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8483 PyObject
*resultobj
;
8484 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
8486 PyObject
* obj0
= 0 ;
8488 (char *) "self", NULL
8491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_GetPid",kwnames
,&obj0
)) goto fail
;
8492 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxProcessEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8495 result
= (int)(arg1
)->GetPid();
8497 wxPyEndAllowThreads(__tstate
);
8498 if (PyErr_Occurred()) SWIG_fail
;
8500 resultobj
= PyInt_FromLong((long)result
);
8507 static PyObject
*_wrap_ProcessEvent_GetExitCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8508 PyObject
*resultobj
;
8509 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
8511 PyObject
* obj0
= 0 ;
8513 (char *) "self", NULL
8516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_GetExitCode",kwnames
,&obj0
)) goto fail
;
8517 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxProcessEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8520 result
= (int)(arg1
)->GetExitCode();
8522 wxPyEndAllowThreads(__tstate
);
8523 if (PyErr_Occurred()) SWIG_fail
;
8525 resultobj
= PyInt_FromLong((long)result
);
8532 static PyObject
*_wrap_ProcessEvent_m_pid_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8533 PyObject
*resultobj
;
8534 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
8536 PyObject
* obj0
= 0 ;
8538 (char *) "self",(char *) "m_pid", NULL
8541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ProcessEvent_m_pid_set",kwnames
,&obj0
,&arg2
)) goto fail
;
8542 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxProcessEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8543 if (arg1
) (arg1
)->m_pid
= arg2
;
8545 Py_INCREF(Py_None
); resultobj
= Py_None
;
8552 static PyObject
*_wrap_ProcessEvent_m_pid_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8553 PyObject
*resultobj
;
8554 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
8556 PyObject
* obj0
= 0 ;
8558 (char *) "self", NULL
8561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_m_pid_get",kwnames
,&obj0
)) goto fail
;
8562 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxProcessEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8563 result
= (int) ((arg1
)->m_pid
);
8565 resultobj
= PyInt_FromLong((long)result
);
8572 static PyObject
*_wrap_ProcessEvent_m_exitcode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8573 PyObject
*resultobj
;
8574 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
8576 PyObject
* obj0
= 0 ;
8578 (char *) "self",(char *) "m_exitcode", NULL
8581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ProcessEvent_m_exitcode_set",kwnames
,&obj0
,&arg2
)) goto fail
;
8582 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxProcessEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8583 if (arg1
) (arg1
)->m_exitcode
= arg2
;
8585 Py_INCREF(Py_None
); resultobj
= Py_None
;
8592 static PyObject
*_wrap_ProcessEvent_m_exitcode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8593 PyObject
*resultobj
;
8594 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
8596 PyObject
* obj0
= 0 ;
8598 (char *) "self", NULL
8601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_m_exitcode_get",kwnames
,&obj0
)) goto fail
;
8602 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxProcessEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8603 result
= (int) ((arg1
)->m_exitcode
);
8605 resultobj
= PyInt_FromLong((long)result
);
8612 static PyObject
* ProcessEvent_swigregister(PyObject
*self
, PyObject
*args
) {
8614 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8615 SWIG_TypeClientData(SWIGTYPE_p_wxProcessEvent
, obj
);
8617 return Py_BuildValue((char *)"");
8619 static PyObject
*_wrap_Execute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8620 PyObject
*resultobj
;
8621 wxString
*arg1
= 0 ;
8622 int arg2
= (int) wxEXEC_ASYNC
;
8623 wxPyProcess
*arg3
= (wxPyProcess
*) NULL
;
8625 bool temp1
= False
;
8626 PyObject
* obj0
= 0 ;
8627 PyObject
* obj2
= 0 ;
8629 (char *) "command",(char *) "flags",(char *) "process", NULL
8632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iO:Execute",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
8634 arg1
= wxString_in_helper(obj0
);
8635 if (arg1
== NULL
) SWIG_fail
;
8639 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxPyProcess
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8643 result
= (long)wxExecute((wxString
const &)*arg1
,arg2
,arg3
);
8645 wxPyEndAllowThreads(__tstate
);
8646 if (PyErr_Occurred()) SWIG_fail
;
8648 resultobj
= PyInt_FromLong((long)result
);
8663 static PyObject
*_wrap_new_Joystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8664 PyObject
*resultobj
;
8665 int arg1
= (int) wxJOYSTICK1
;
8668 (char *) "joystick", NULL
8671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|i:new_Joystick",kwnames
,&arg1
)) goto fail
;
8673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8674 result
= (wxJoystick
*)new wxJoystick(arg1
);
8676 wxPyEndAllowThreads(__tstate
);
8677 if (PyErr_Occurred()) SWIG_fail
;
8679 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxJoystick
, 1);
8686 static PyObject
*_wrap_delete_Joystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8687 PyObject
*resultobj
;
8688 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
8689 PyObject
* obj0
= 0 ;
8691 (char *) "self", NULL
8694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Joystick",kwnames
,&obj0
)) goto fail
;
8695 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8700 wxPyEndAllowThreads(__tstate
);
8701 if (PyErr_Occurred()) SWIG_fail
;
8703 Py_INCREF(Py_None
); resultobj
= Py_None
;
8710 static PyObject
*_wrap_Joystick_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8711 PyObject
*resultobj
;
8712 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
8714 PyObject
* obj0
= 0 ;
8716 (char *) "self", NULL
8719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPosition",kwnames
,&obj0
)) goto fail
;
8720 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8723 result
= (arg1
)->GetPosition();
8725 wxPyEndAllowThreads(__tstate
);
8726 if (PyErr_Occurred()) SWIG_fail
;
8729 wxPoint
* resultptr
;
8730 resultptr
= new wxPoint((wxPoint
&) result
);
8731 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
8739 static PyObject
*_wrap_Joystick_GetZPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8740 PyObject
*resultobj
;
8741 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
8743 PyObject
* obj0
= 0 ;
8745 (char *) "self", NULL
8748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZPosition",kwnames
,&obj0
)) goto fail
;
8749 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8752 result
= (int)(arg1
)->GetZPosition();
8754 wxPyEndAllowThreads(__tstate
);
8755 if (PyErr_Occurred()) SWIG_fail
;
8757 resultobj
= PyInt_FromLong((long)result
);
8764 static PyObject
*_wrap_Joystick_GetButtonState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8765 PyObject
*resultobj
;
8766 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
8768 PyObject
* obj0
= 0 ;
8770 (char *) "self", NULL
8773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetButtonState",kwnames
,&obj0
)) goto fail
;
8774 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8777 result
= (int)(arg1
)->GetButtonState();
8779 wxPyEndAllowThreads(__tstate
);
8780 if (PyErr_Occurred()) SWIG_fail
;
8782 resultobj
= PyInt_FromLong((long)result
);
8789 static PyObject
*_wrap_Joystick_GetPOVPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8790 PyObject
*resultobj
;
8791 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
8793 PyObject
* obj0
= 0 ;
8795 (char *) "self", NULL
8798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPOVPosition",kwnames
,&obj0
)) goto fail
;
8799 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8802 result
= (int)(arg1
)->GetPOVPosition();
8804 wxPyEndAllowThreads(__tstate
);
8805 if (PyErr_Occurred()) SWIG_fail
;
8807 resultobj
= PyInt_FromLong((long)result
);
8814 static PyObject
*_wrap_Joystick_GetPOVCTSPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8815 PyObject
*resultobj
;
8816 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
8818 PyObject
* obj0
= 0 ;
8820 (char *) "self", NULL
8823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPOVCTSPosition",kwnames
,&obj0
)) goto fail
;
8824 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8827 result
= (int)(arg1
)->GetPOVCTSPosition();
8829 wxPyEndAllowThreads(__tstate
);
8830 if (PyErr_Occurred()) SWIG_fail
;
8832 resultobj
= PyInt_FromLong((long)result
);
8839 static PyObject
*_wrap_Joystick_GetRudderPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8840 PyObject
*resultobj
;
8841 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
8843 PyObject
* obj0
= 0 ;
8845 (char *) "self", NULL
8848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderPosition",kwnames
,&obj0
)) goto fail
;
8849 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8852 result
= (int)(arg1
)->GetRudderPosition();
8854 wxPyEndAllowThreads(__tstate
);
8855 if (PyErr_Occurred()) SWIG_fail
;
8857 resultobj
= PyInt_FromLong((long)result
);
8864 static PyObject
*_wrap_Joystick_GetUPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8865 PyObject
*resultobj
;
8866 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
8868 PyObject
* obj0
= 0 ;
8870 (char *) "self", NULL
8873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUPosition",kwnames
,&obj0
)) goto fail
;
8874 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8877 result
= (int)(arg1
)->GetUPosition();
8879 wxPyEndAllowThreads(__tstate
);
8880 if (PyErr_Occurred()) SWIG_fail
;
8882 resultobj
= PyInt_FromLong((long)result
);
8889 static PyObject
*_wrap_Joystick_GetVPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8890 PyObject
*resultobj
;
8891 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
8893 PyObject
* obj0
= 0 ;
8895 (char *) "self", NULL
8898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVPosition",kwnames
,&obj0
)) goto fail
;
8899 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8902 result
= (int)(arg1
)->GetVPosition();
8904 wxPyEndAllowThreads(__tstate
);
8905 if (PyErr_Occurred()) SWIG_fail
;
8907 resultobj
= PyInt_FromLong((long)result
);
8914 static PyObject
*_wrap_Joystick_GetMovementThreshold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8915 PyObject
*resultobj
;
8916 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
8918 PyObject
* obj0
= 0 ;
8920 (char *) "self", NULL
8923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMovementThreshold",kwnames
,&obj0
)) goto fail
;
8924 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8927 result
= (int)(arg1
)->GetMovementThreshold();
8929 wxPyEndAllowThreads(__tstate
);
8930 if (PyErr_Occurred()) SWIG_fail
;
8932 resultobj
= PyInt_FromLong((long)result
);
8939 static PyObject
*_wrap_Joystick_SetMovementThreshold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8940 PyObject
*resultobj
;
8941 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
8943 PyObject
* obj0
= 0 ;
8945 (char *) "self",(char *) "threshold", NULL
8948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Joystick_SetMovementThreshold",kwnames
,&obj0
,&arg2
)) goto fail
;
8949 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8952 (arg1
)->SetMovementThreshold(arg2
);
8954 wxPyEndAllowThreads(__tstate
);
8955 if (PyErr_Occurred()) SWIG_fail
;
8957 Py_INCREF(Py_None
); resultobj
= Py_None
;
8964 static PyObject
*_wrap_Joystick_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8965 PyObject
*resultobj
;
8966 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
8968 PyObject
* obj0
= 0 ;
8970 (char *) "self", NULL
8973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_IsOk",kwnames
,&obj0
)) goto fail
;
8974 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8977 result
= (bool)(arg1
)->IsOk();
8979 wxPyEndAllowThreads(__tstate
);
8980 if (PyErr_Occurred()) SWIG_fail
;
8982 resultobj
= PyInt_FromLong((long)result
);
8989 static PyObject
*_wrap_Joystick_GetNumberJoysticks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8990 PyObject
*resultobj
;
8991 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
8993 PyObject
* obj0
= 0 ;
8995 (char *) "self", NULL
8998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberJoysticks",kwnames
,&obj0
)) goto fail
;
8999 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9002 result
= (int)(arg1
)->GetNumberJoysticks();
9004 wxPyEndAllowThreads(__tstate
);
9005 if (PyErr_Occurred()) SWIG_fail
;
9007 resultobj
= PyInt_FromLong((long)result
);
9014 static PyObject
*_wrap_Joystick_GetManufacturerId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9015 PyObject
*resultobj
;
9016 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9018 PyObject
* obj0
= 0 ;
9020 (char *) "self", NULL
9023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetManufacturerId",kwnames
,&obj0
)) goto fail
;
9024 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9027 result
= (int)(arg1
)->GetManufacturerId();
9029 wxPyEndAllowThreads(__tstate
);
9030 if (PyErr_Occurred()) SWIG_fail
;
9032 resultobj
= PyInt_FromLong((long)result
);
9039 static PyObject
*_wrap_Joystick_GetProductId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9040 PyObject
*resultobj
;
9041 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9043 PyObject
* obj0
= 0 ;
9045 (char *) "self", NULL
9048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetProductId",kwnames
,&obj0
)) goto fail
;
9049 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9052 result
= (int)(arg1
)->GetProductId();
9054 wxPyEndAllowThreads(__tstate
);
9055 if (PyErr_Occurred()) SWIG_fail
;
9057 resultobj
= PyInt_FromLong((long)result
);
9064 static PyObject
*_wrap_Joystick_GetProductName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9065 PyObject
*resultobj
;
9066 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9068 PyObject
* obj0
= 0 ;
9070 (char *) "self", NULL
9073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetProductName",kwnames
,&obj0
)) goto fail
;
9074 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9077 result
= (arg1
)->GetProductName();
9079 wxPyEndAllowThreads(__tstate
);
9080 if (PyErr_Occurred()) SWIG_fail
;
9084 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9086 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9095 static PyObject
*_wrap_Joystick_GetXMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9096 PyObject
*resultobj
;
9097 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9099 PyObject
* obj0
= 0 ;
9101 (char *) "self", NULL
9104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetXMin",kwnames
,&obj0
)) goto fail
;
9105 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9108 result
= (int)(arg1
)->GetXMin();
9110 wxPyEndAllowThreads(__tstate
);
9111 if (PyErr_Occurred()) SWIG_fail
;
9113 resultobj
= PyInt_FromLong((long)result
);
9120 static PyObject
*_wrap_Joystick_GetYMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9121 PyObject
*resultobj
;
9122 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9124 PyObject
* obj0
= 0 ;
9126 (char *) "self", NULL
9129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetYMin",kwnames
,&obj0
)) goto fail
;
9130 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9133 result
= (int)(arg1
)->GetYMin();
9135 wxPyEndAllowThreads(__tstate
);
9136 if (PyErr_Occurred()) SWIG_fail
;
9138 resultobj
= PyInt_FromLong((long)result
);
9145 static PyObject
*_wrap_Joystick_GetZMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9146 PyObject
*resultobj
;
9147 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9149 PyObject
* obj0
= 0 ;
9151 (char *) "self", NULL
9154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZMin",kwnames
,&obj0
)) goto fail
;
9155 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9158 result
= (int)(arg1
)->GetZMin();
9160 wxPyEndAllowThreads(__tstate
);
9161 if (PyErr_Occurred()) SWIG_fail
;
9163 resultobj
= PyInt_FromLong((long)result
);
9170 static PyObject
*_wrap_Joystick_GetXMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9171 PyObject
*resultobj
;
9172 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9174 PyObject
* obj0
= 0 ;
9176 (char *) "self", NULL
9179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetXMax",kwnames
,&obj0
)) goto fail
;
9180 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9183 result
= (int)(arg1
)->GetXMax();
9185 wxPyEndAllowThreads(__tstate
);
9186 if (PyErr_Occurred()) SWIG_fail
;
9188 resultobj
= PyInt_FromLong((long)result
);
9195 static PyObject
*_wrap_Joystick_GetYMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9196 PyObject
*resultobj
;
9197 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9199 PyObject
* obj0
= 0 ;
9201 (char *) "self", NULL
9204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetYMax",kwnames
,&obj0
)) goto fail
;
9205 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9208 result
= (int)(arg1
)->GetYMax();
9210 wxPyEndAllowThreads(__tstate
);
9211 if (PyErr_Occurred()) SWIG_fail
;
9213 resultobj
= PyInt_FromLong((long)result
);
9220 static PyObject
*_wrap_Joystick_GetZMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9221 PyObject
*resultobj
;
9222 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9224 PyObject
* obj0
= 0 ;
9226 (char *) "self", NULL
9229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZMax",kwnames
,&obj0
)) goto fail
;
9230 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9233 result
= (int)(arg1
)->GetZMax();
9235 wxPyEndAllowThreads(__tstate
);
9236 if (PyErr_Occurred()) SWIG_fail
;
9238 resultobj
= PyInt_FromLong((long)result
);
9245 static PyObject
*_wrap_Joystick_GetNumberButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9246 PyObject
*resultobj
;
9247 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9249 PyObject
* obj0
= 0 ;
9251 (char *) "self", NULL
9254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberButtons",kwnames
,&obj0
)) goto fail
;
9255 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9258 result
= (int)(arg1
)->GetNumberButtons();
9260 wxPyEndAllowThreads(__tstate
);
9261 if (PyErr_Occurred()) SWIG_fail
;
9263 resultobj
= PyInt_FromLong((long)result
);
9270 static PyObject
*_wrap_Joystick_GetNumberAxes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9271 PyObject
*resultobj
;
9272 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9274 PyObject
* obj0
= 0 ;
9276 (char *) "self", NULL
9279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberAxes",kwnames
,&obj0
)) goto fail
;
9280 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9283 result
= (int)(arg1
)->GetNumberAxes();
9285 wxPyEndAllowThreads(__tstate
);
9286 if (PyErr_Occurred()) SWIG_fail
;
9288 resultobj
= PyInt_FromLong((long)result
);
9295 static PyObject
*_wrap_Joystick_GetMaxButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9296 PyObject
*resultobj
;
9297 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9299 PyObject
* obj0
= 0 ;
9301 (char *) "self", NULL
9304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMaxButtons",kwnames
,&obj0
)) goto fail
;
9305 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9308 result
= (int)(arg1
)->GetMaxButtons();
9310 wxPyEndAllowThreads(__tstate
);
9311 if (PyErr_Occurred()) SWIG_fail
;
9313 resultobj
= PyInt_FromLong((long)result
);
9320 static PyObject
*_wrap_Joystick_GetMaxAxes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9321 PyObject
*resultobj
;
9322 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9324 PyObject
* obj0
= 0 ;
9326 (char *) "self", NULL
9329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMaxAxes",kwnames
,&obj0
)) goto fail
;
9330 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9333 result
= (int)(arg1
)->GetMaxAxes();
9335 wxPyEndAllowThreads(__tstate
);
9336 if (PyErr_Occurred()) SWIG_fail
;
9338 resultobj
= PyInt_FromLong((long)result
);
9345 static PyObject
*_wrap_Joystick_GetPollingMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9346 PyObject
*resultobj
;
9347 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9349 PyObject
* obj0
= 0 ;
9351 (char *) "self", NULL
9354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPollingMin",kwnames
,&obj0
)) goto fail
;
9355 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9358 result
= (int)(arg1
)->GetPollingMin();
9360 wxPyEndAllowThreads(__tstate
);
9361 if (PyErr_Occurred()) SWIG_fail
;
9363 resultobj
= PyInt_FromLong((long)result
);
9370 static PyObject
*_wrap_Joystick_GetPollingMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9371 PyObject
*resultobj
;
9372 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9374 PyObject
* obj0
= 0 ;
9376 (char *) "self", NULL
9379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPollingMax",kwnames
,&obj0
)) goto fail
;
9380 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9383 result
= (int)(arg1
)->GetPollingMax();
9385 wxPyEndAllowThreads(__tstate
);
9386 if (PyErr_Occurred()) SWIG_fail
;
9388 resultobj
= PyInt_FromLong((long)result
);
9395 static PyObject
*_wrap_Joystick_GetRudderMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9396 PyObject
*resultobj
;
9397 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9399 PyObject
* obj0
= 0 ;
9401 (char *) "self", NULL
9404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderMin",kwnames
,&obj0
)) goto fail
;
9405 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9408 result
= (int)(arg1
)->GetRudderMin();
9410 wxPyEndAllowThreads(__tstate
);
9411 if (PyErr_Occurred()) SWIG_fail
;
9413 resultobj
= PyInt_FromLong((long)result
);
9420 static PyObject
*_wrap_Joystick_GetRudderMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9421 PyObject
*resultobj
;
9422 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9424 PyObject
* obj0
= 0 ;
9426 (char *) "self", NULL
9429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderMax",kwnames
,&obj0
)) goto fail
;
9430 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9433 result
= (int)(arg1
)->GetRudderMax();
9435 wxPyEndAllowThreads(__tstate
);
9436 if (PyErr_Occurred()) SWIG_fail
;
9438 resultobj
= PyInt_FromLong((long)result
);
9445 static PyObject
*_wrap_Joystick_GetUMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9446 PyObject
*resultobj
;
9447 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9449 PyObject
* obj0
= 0 ;
9451 (char *) "self", NULL
9454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUMin",kwnames
,&obj0
)) goto fail
;
9455 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9458 result
= (int)(arg1
)->GetUMin();
9460 wxPyEndAllowThreads(__tstate
);
9461 if (PyErr_Occurred()) SWIG_fail
;
9463 resultobj
= PyInt_FromLong((long)result
);
9470 static PyObject
*_wrap_Joystick_GetUMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9471 PyObject
*resultobj
;
9472 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9474 PyObject
* obj0
= 0 ;
9476 (char *) "self", NULL
9479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUMax",kwnames
,&obj0
)) goto fail
;
9480 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9483 result
= (int)(arg1
)->GetUMax();
9485 wxPyEndAllowThreads(__tstate
);
9486 if (PyErr_Occurred()) SWIG_fail
;
9488 resultobj
= PyInt_FromLong((long)result
);
9495 static PyObject
*_wrap_Joystick_GetVMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9496 PyObject
*resultobj
;
9497 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9499 PyObject
* obj0
= 0 ;
9501 (char *) "self", NULL
9504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVMin",kwnames
,&obj0
)) goto fail
;
9505 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9508 result
= (int)(arg1
)->GetVMin();
9510 wxPyEndAllowThreads(__tstate
);
9511 if (PyErr_Occurred()) SWIG_fail
;
9513 resultobj
= PyInt_FromLong((long)result
);
9520 static PyObject
*_wrap_Joystick_GetVMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9521 PyObject
*resultobj
;
9522 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9524 PyObject
* obj0
= 0 ;
9526 (char *) "self", NULL
9529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVMax",kwnames
,&obj0
)) goto fail
;
9530 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9533 result
= (int)(arg1
)->GetVMax();
9535 wxPyEndAllowThreads(__tstate
);
9536 if (PyErr_Occurred()) SWIG_fail
;
9538 resultobj
= PyInt_FromLong((long)result
);
9545 static PyObject
*_wrap_Joystick_HasRudder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9546 PyObject
*resultobj
;
9547 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9549 PyObject
* obj0
= 0 ;
9551 (char *) "self", NULL
9554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasRudder",kwnames
,&obj0
)) goto fail
;
9555 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9558 result
= (bool)(arg1
)->HasRudder();
9560 wxPyEndAllowThreads(__tstate
);
9561 if (PyErr_Occurred()) SWIG_fail
;
9563 resultobj
= PyInt_FromLong((long)result
);
9570 static PyObject
*_wrap_Joystick_HasZ(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9571 PyObject
*resultobj
;
9572 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9574 PyObject
* obj0
= 0 ;
9576 (char *) "self", NULL
9579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasZ",kwnames
,&obj0
)) goto fail
;
9580 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9583 result
= (bool)(arg1
)->HasZ();
9585 wxPyEndAllowThreads(__tstate
);
9586 if (PyErr_Occurred()) SWIG_fail
;
9588 resultobj
= PyInt_FromLong((long)result
);
9595 static PyObject
*_wrap_Joystick_HasU(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9596 PyObject
*resultobj
;
9597 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9599 PyObject
* obj0
= 0 ;
9601 (char *) "self", NULL
9604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasU",kwnames
,&obj0
)) goto fail
;
9605 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9608 result
= (bool)(arg1
)->HasU();
9610 wxPyEndAllowThreads(__tstate
);
9611 if (PyErr_Occurred()) SWIG_fail
;
9613 resultobj
= PyInt_FromLong((long)result
);
9620 static PyObject
*_wrap_Joystick_HasV(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9621 PyObject
*resultobj
;
9622 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9624 PyObject
* obj0
= 0 ;
9626 (char *) "self", NULL
9629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasV",kwnames
,&obj0
)) goto fail
;
9630 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9633 result
= (bool)(arg1
)->HasV();
9635 wxPyEndAllowThreads(__tstate
);
9636 if (PyErr_Occurred()) SWIG_fail
;
9638 resultobj
= PyInt_FromLong((long)result
);
9645 static PyObject
*_wrap_Joystick_HasPOV(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9646 PyObject
*resultobj
;
9647 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9649 PyObject
* obj0
= 0 ;
9651 (char *) "self", NULL
9654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOV",kwnames
,&obj0
)) goto fail
;
9655 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9658 result
= (bool)(arg1
)->HasPOV();
9660 wxPyEndAllowThreads(__tstate
);
9661 if (PyErr_Occurred()) SWIG_fail
;
9663 resultobj
= PyInt_FromLong((long)result
);
9670 static PyObject
*_wrap_Joystick_HasPOV4Dir(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9671 PyObject
*resultobj
;
9672 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9674 PyObject
* obj0
= 0 ;
9676 (char *) "self", NULL
9679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOV4Dir",kwnames
,&obj0
)) goto fail
;
9680 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9683 result
= (bool)(arg1
)->HasPOV4Dir();
9685 wxPyEndAllowThreads(__tstate
);
9686 if (PyErr_Occurred()) SWIG_fail
;
9688 resultobj
= PyInt_FromLong((long)result
);
9695 static PyObject
*_wrap_Joystick_HasPOVCTS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9696 PyObject
*resultobj
;
9697 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9699 PyObject
* obj0
= 0 ;
9701 (char *) "self", NULL
9704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOVCTS",kwnames
,&obj0
)) goto fail
;
9705 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9708 result
= (bool)(arg1
)->HasPOVCTS();
9710 wxPyEndAllowThreads(__tstate
);
9711 if (PyErr_Occurred()) SWIG_fail
;
9713 resultobj
= PyInt_FromLong((long)result
);
9720 static PyObject
*_wrap_Joystick_SetCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9721 PyObject
*resultobj
;
9722 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9723 wxWindow
*arg2
= (wxWindow
*) 0 ;
9724 int arg3
= (int) 0 ;
9726 PyObject
* obj0
= 0 ;
9727 PyObject
* obj1
= 0 ;
9729 (char *) "self",(char *) "win",(char *) "pollingFreq", NULL
9732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:Joystick_SetCapture",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
9733 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9734 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9737 result
= (bool)(arg1
)->SetCapture(arg2
,arg3
);
9739 wxPyEndAllowThreads(__tstate
);
9740 if (PyErr_Occurred()) SWIG_fail
;
9742 resultobj
= PyInt_FromLong((long)result
);
9749 static PyObject
*_wrap_Joystick_ReleaseCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9750 PyObject
*resultobj
;
9751 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9753 PyObject
* obj0
= 0 ;
9755 (char *) "self", NULL
9758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_ReleaseCapture",kwnames
,&obj0
)) goto fail
;
9759 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9762 result
= (bool)(arg1
)->ReleaseCapture();
9764 wxPyEndAllowThreads(__tstate
);
9765 if (PyErr_Occurred()) SWIG_fail
;
9767 resultobj
= PyInt_FromLong((long)result
);
9774 static PyObject
* Joystick_swigregister(PyObject
*self
, PyObject
*args
) {
9776 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9777 SWIG_TypeClientData(SWIGTYPE_p_wxJoystick
, obj
);
9779 return Py_BuildValue((char *)"");
9781 static PyObject
*_wrap_JoystickEvent_m_pos_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9782 PyObject
*resultobj
;
9783 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
9784 wxPoint
*arg2
= (wxPoint
*) 0 ;
9785 PyObject
* obj0
= 0 ;
9786 PyObject
* obj1
= 0 ;
9788 (char *) "self",(char *) "m_pos", NULL
9791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_pos_set",kwnames
,&obj0
,&obj1
)) goto fail
;
9792 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9793 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9794 if (arg1
) (arg1
)->m_pos
= *arg2
;
9796 Py_INCREF(Py_None
); resultobj
= Py_None
;
9803 static PyObject
*_wrap_JoystickEvent_m_pos_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9804 PyObject
*resultobj
;
9805 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
9807 PyObject
* obj0
= 0 ;
9809 (char *) "self", NULL
9812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_pos_get",kwnames
,&obj0
)) goto fail
;
9813 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9814 result
= (wxPoint
*)& ((arg1
)->m_pos
);
9816 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint
, 0);
9823 static PyObject
*_wrap_JoystickEvent_m_zPosition_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9824 PyObject
*resultobj
;
9825 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
9827 PyObject
* obj0
= 0 ;
9829 (char *) "self",(char *) "m_zPosition", NULL
9832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:JoystickEvent_m_zPosition_set",kwnames
,&obj0
,&arg2
)) goto fail
;
9833 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9834 if (arg1
) (arg1
)->m_zPosition
= arg2
;
9836 Py_INCREF(Py_None
); resultobj
= Py_None
;
9843 static PyObject
*_wrap_JoystickEvent_m_zPosition_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9844 PyObject
*resultobj
;
9845 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
9847 PyObject
* obj0
= 0 ;
9849 (char *) "self", NULL
9852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_zPosition_get",kwnames
,&obj0
)) goto fail
;
9853 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9854 result
= (int) ((arg1
)->m_zPosition
);
9856 resultobj
= PyInt_FromLong((long)result
);
9863 static PyObject
*_wrap_JoystickEvent_m_buttonChange_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9864 PyObject
*resultobj
;
9865 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
9867 PyObject
* obj0
= 0 ;
9869 (char *) "self",(char *) "m_buttonChange", NULL
9872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:JoystickEvent_m_buttonChange_set",kwnames
,&obj0
,&arg2
)) goto fail
;
9873 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9874 if (arg1
) (arg1
)->m_buttonChange
= arg2
;
9876 Py_INCREF(Py_None
); resultobj
= Py_None
;
9883 static PyObject
*_wrap_JoystickEvent_m_buttonChange_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9884 PyObject
*resultobj
;
9885 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
9887 PyObject
* obj0
= 0 ;
9889 (char *) "self", NULL
9892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_buttonChange_get",kwnames
,&obj0
)) goto fail
;
9893 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9894 result
= (int) ((arg1
)->m_buttonChange
);
9896 resultobj
= PyInt_FromLong((long)result
);
9903 static PyObject
*_wrap_JoystickEvent_m_buttonState_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9904 PyObject
*resultobj
;
9905 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
9907 PyObject
* obj0
= 0 ;
9909 (char *) "self",(char *) "m_buttonState", NULL
9912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:JoystickEvent_m_buttonState_set",kwnames
,&obj0
,&arg2
)) goto fail
;
9913 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9914 if (arg1
) (arg1
)->m_buttonState
= arg2
;
9916 Py_INCREF(Py_None
); resultobj
= Py_None
;
9923 static PyObject
*_wrap_JoystickEvent_m_buttonState_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9924 PyObject
*resultobj
;
9925 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
9927 PyObject
* obj0
= 0 ;
9929 (char *) "self", NULL
9932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_buttonState_get",kwnames
,&obj0
)) goto fail
;
9933 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9934 result
= (int) ((arg1
)->m_buttonState
);
9936 resultobj
= PyInt_FromLong((long)result
);
9943 static PyObject
*_wrap_JoystickEvent_m_joyStick_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9944 PyObject
*resultobj
;
9945 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
9947 PyObject
* obj0
= 0 ;
9949 (char *) "self",(char *) "m_joyStick", NULL
9952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:JoystickEvent_m_joyStick_set",kwnames
,&obj0
,&arg2
)) goto fail
;
9953 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9954 if (arg1
) (arg1
)->m_joyStick
= arg2
;
9956 Py_INCREF(Py_None
); resultobj
= Py_None
;
9963 static PyObject
*_wrap_JoystickEvent_m_joyStick_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9964 PyObject
*resultobj
;
9965 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
9967 PyObject
* obj0
= 0 ;
9969 (char *) "self", NULL
9972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_joyStick_get",kwnames
,&obj0
)) goto fail
;
9973 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9974 result
= (int) ((arg1
)->m_joyStick
);
9976 resultobj
= PyInt_FromLong((long)result
);
9983 static PyObject
*_wrap_new_JoystickEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9984 PyObject
*resultobj
;
9985 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
9986 int arg2
= (int) 0 ;
9987 int arg3
= (int) wxJOYSTICK1
;
9988 int arg4
= (int) 0 ;
9989 wxJoystickEvent
*result
;
9991 (char *) "type",(char *) "state",(char *) "joystick",(char *) "change", NULL
9994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iiii:new_JoystickEvent",kwnames
,&arg1
,&arg2
,&arg3
,&arg4
)) goto fail
;
9996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9997 result
= (wxJoystickEvent
*)new wxJoystickEvent(arg1
,arg2
,arg3
,arg4
);
9999 wxPyEndAllowThreads(__tstate
);
10000 if (PyErr_Occurred()) SWIG_fail
;
10002 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxJoystickEvent
, 1);
10009 static PyObject
*_wrap_JoystickEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10010 PyObject
*resultobj
;
10011 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10013 PyObject
* obj0
= 0 ;
10014 char *kwnames
[] = {
10015 (char *) "self", NULL
10018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
10019 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10022 result
= ((wxJoystickEvent
const *)arg1
)->GetPosition();
10024 wxPyEndAllowThreads(__tstate
);
10025 if (PyErr_Occurred()) SWIG_fail
;
10028 wxPoint
* resultptr
;
10029 resultptr
= new wxPoint((wxPoint
&) result
);
10030 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
10038 static PyObject
*_wrap_JoystickEvent_GetZPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10039 PyObject
*resultobj
;
10040 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10042 PyObject
* obj0
= 0 ;
10043 char *kwnames
[] = {
10044 (char *) "self", NULL
10047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetZPosition",kwnames
,&obj0
)) goto fail
;
10048 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10051 result
= (int)((wxJoystickEvent
const *)arg1
)->GetZPosition();
10053 wxPyEndAllowThreads(__tstate
);
10054 if (PyErr_Occurred()) SWIG_fail
;
10056 resultobj
= PyInt_FromLong((long)result
);
10063 static PyObject
*_wrap_JoystickEvent_GetButtonState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10064 PyObject
*resultobj
;
10065 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10067 PyObject
* obj0
= 0 ;
10068 char *kwnames
[] = {
10069 (char *) "self", NULL
10072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetButtonState",kwnames
,&obj0
)) goto fail
;
10073 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10076 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonState();
10078 wxPyEndAllowThreads(__tstate
);
10079 if (PyErr_Occurred()) SWIG_fail
;
10081 resultobj
= PyInt_FromLong((long)result
);
10088 static PyObject
*_wrap_JoystickEvent_GetButtonChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10089 PyObject
*resultobj
;
10090 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10092 PyObject
* obj0
= 0 ;
10093 char *kwnames
[] = {
10094 (char *) "self", NULL
10097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetButtonChange",kwnames
,&obj0
)) goto fail
;
10098 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10101 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonChange();
10103 wxPyEndAllowThreads(__tstate
);
10104 if (PyErr_Occurred()) SWIG_fail
;
10106 resultobj
= PyInt_FromLong((long)result
);
10113 static PyObject
*_wrap_JoystickEvent_GetJoystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10114 PyObject
*resultobj
;
10115 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10117 PyObject
* obj0
= 0 ;
10118 char *kwnames
[] = {
10119 (char *) "self", NULL
10122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetJoystick",kwnames
,&obj0
)) goto fail
;
10123 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10126 result
= (int)((wxJoystickEvent
const *)arg1
)->GetJoystick();
10128 wxPyEndAllowThreads(__tstate
);
10129 if (PyErr_Occurred()) SWIG_fail
;
10131 resultobj
= PyInt_FromLong((long)result
);
10138 static PyObject
*_wrap_JoystickEvent_SetJoystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10139 PyObject
*resultobj
;
10140 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10142 PyObject
* obj0
= 0 ;
10143 char *kwnames
[] = {
10144 (char *) "self",(char *) "stick", NULL
10147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:JoystickEvent_SetJoystick",kwnames
,&obj0
,&arg2
)) goto fail
;
10148 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10151 (arg1
)->SetJoystick(arg2
);
10153 wxPyEndAllowThreads(__tstate
);
10154 if (PyErr_Occurred()) SWIG_fail
;
10156 Py_INCREF(Py_None
); resultobj
= Py_None
;
10163 static PyObject
*_wrap_JoystickEvent_SetButtonState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10164 PyObject
*resultobj
;
10165 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10167 PyObject
* obj0
= 0 ;
10168 char *kwnames
[] = {
10169 (char *) "self",(char *) "state", NULL
10172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:JoystickEvent_SetButtonState",kwnames
,&obj0
,&arg2
)) goto fail
;
10173 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10176 (arg1
)->SetButtonState(arg2
);
10178 wxPyEndAllowThreads(__tstate
);
10179 if (PyErr_Occurred()) SWIG_fail
;
10181 Py_INCREF(Py_None
); resultobj
= Py_None
;
10188 static PyObject
*_wrap_JoystickEvent_SetButtonChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10189 PyObject
*resultobj
;
10190 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10192 PyObject
* obj0
= 0 ;
10193 char *kwnames
[] = {
10194 (char *) "self",(char *) "change", NULL
10197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:JoystickEvent_SetButtonChange",kwnames
,&obj0
,&arg2
)) goto fail
;
10198 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10201 (arg1
)->SetButtonChange(arg2
);
10203 wxPyEndAllowThreads(__tstate
);
10204 if (PyErr_Occurred()) SWIG_fail
;
10206 Py_INCREF(Py_None
); resultobj
= Py_None
;
10213 static PyObject
*_wrap_JoystickEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10214 PyObject
*resultobj
;
10215 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10216 wxPoint
*arg2
= 0 ;
10218 PyObject
* obj0
= 0 ;
10219 PyObject
* obj1
= 0 ;
10220 char *kwnames
[] = {
10221 (char *) "self",(char *) "pos", NULL
10224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
10225 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10228 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10232 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
10234 wxPyEndAllowThreads(__tstate
);
10235 if (PyErr_Occurred()) SWIG_fail
;
10237 Py_INCREF(Py_None
); resultobj
= Py_None
;
10244 static PyObject
*_wrap_JoystickEvent_SetZPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10245 PyObject
*resultobj
;
10246 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10248 PyObject
* obj0
= 0 ;
10249 char *kwnames
[] = {
10250 (char *) "self",(char *) "zPos", NULL
10253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:JoystickEvent_SetZPosition",kwnames
,&obj0
,&arg2
)) goto fail
;
10254 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10257 (arg1
)->SetZPosition(arg2
);
10259 wxPyEndAllowThreads(__tstate
);
10260 if (PyErr_Occurred()) SWIG_fail
;
10262 Py_INCREF(Py_None
); resultobj
= Py_None
;
10269 static PyObject
*_wrap_JoystickEvent_IsButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10270 PyObject
*resultobj
;
10271 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10273 PyObject
* obj0
= 0 ;
10274 char *kwnames
[] = {
10275 (char *) "self", NULL
10278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsButton",kwnames
,&obj0
)) goto fail
;
10279 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10282 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsButton();
10284 wxPyEndAllowThreads(__tstate
);
10285 if (PyErr_Occurred()) SWIG_fail
;
10287 resultobj
= PyInt_FromLong((long)result
);
10294 static PyObject
*_wrap_JoystickEvent_IsMove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10295 PyObject
*resultobj
;
10296 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10298 PyObject
* obj0
= 0 ;
10299 char *kwnames
[] = {
10300 (char *) "self", NULL
10303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsMove",kwnames
,&obj0
)) goto fail
;
10304 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10307 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsMove();
10309 wxPyEndAllowThreads(__tstate
);
10310 if (PyErr_Occurred()) SWIG_fail
;
10312 resultobj
= PyInt_FromLong((long)result
);
10319 static PyObject
*_wrap_JoystickEvent_IsZMove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10320 PyObject
*resultobj
;
10321 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10323 PyObject
* obj0
= 0 ;
10324 char *kwnames
[] = {
10325 (char *) "self", NULL
10328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsZMove",kwnames
,&obj0
)) goto fail
;
10329 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10332 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsZMove();
10334 wxPyEndAllowThreads(__tstate
);
10335 if (PyErr_Occurred()) SWIG_fail
;
10337 resultobj
= PyInt_FromLong((long)result
);
10344 static PyObject
*_wrap_JoystickEvent_ButtonDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10345 PyObject
*resultobj
;
10346 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10347 int arg2
= (int) wxJOY_BUTTON_ANY
;
10349 PyObject
* obj0
= 0 ;
10350 char *kwnames
[] = {
10351 (char *) "self",(char *) "but", NULL
10354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:JoystickEvent_ButtonDown",kwnames
,&obj0
,&arg2
)) goto fail
;
10355 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10358 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonDown(arg2
);
10360 wxPyEndAllowThreads(__tstate
);
10361 if (PyErr_Occurred()) SWIG_fail
;
10363 resultobj
= PyInt_FromLong((long)result
);
10370 static PyObject
*_wrap_JoystickEvent_ButtonUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10371 PyObject
*resultobj
;
10372 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10373 int arg2
= (int) wxJOY_BUTTON_ANY
;
10375 PyObject
* obj0
= 0 ;
10376 char *kwnames
[] = {
10377 (char *) "self",(char *) "but", NULL
10380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:JoystickEvent_ButtonUp",kwnames
,&obj0
,&arg2
)) goto fail
;
10381 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10384 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonUp(arg2
);
10386 wxPyEndAllowThreads(__tstate
);
10387 if (PyErr_Occurred()) SWIG_fail
;
10389 resultobj
= PyInt_FromLong((long)result
);
10396 static PyObject
*_wrap_JoystickEvent_ButtonIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10397 PyObject
*resultobj
;
10398 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10399 int arg2
= (int) wxJOY_BUTTON_ANY
;
10401 PyObject
* obj0
= 0 ;
10402 char *kwnames
[] = {
10403 (char *) "self",(char *) "but", NULL
10406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:JoystickEvent_ButtonIsDown",kwnames
,&obj0
,&arg2
)) goto fail
;
10407 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10410 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonIsDown(arg2
);
10412 wxPyEndAllowThreads(__tstate
);
10413 if (PyErr_Occurred()) SWIG_fail
;
10415 resultobj
= PyInt_FromLong((long)result
);
10422 static PyObject
* JoystickEvent_swigregister(PyObject
*self
, PyObject
*args
) {
10424 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10425 SWIG_TypeClientData(SWIGTYPE_p_wxJoystickEvent
, obj
);
10427 return Py_BuildValue((char *)"");
10429 static PyObject
*_wrap_new_Wave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10430 PyObject
*resultobj
;
10431 wxString
*arg1
= 0 ;
10432 bool arg2
= (bool) False
;
10434 bool temp1
= False
;
10435 PyObject
* obj0
= 0 ;
10436 PyObject
* obj1
= 0 ;
10437 char *kwnames
[] = {
10438 (char *) "fileName",(char *) "isResource", NULL
10441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Wave",kwnames
,&obj0
,&obj1
)) goto fail
;
10443 arg1
= wxString_in_helper(obj0
);
10444 if (arg1
== NULL
) SWIG_fail
;
10448 arg2
= PyInt_AsLong(obj1
) ? true : false;
10449 if (PyErr_Occurred()) SWIG_fail
;
10452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10453 result
= (wxWave
*)new wxWave((wxString
const &)*arg1
,arg2
);
10455 wxPyEndAllowThreads(__tstate
);
10456 if (PyErr_Occurred()) SWIG_fail
;
10458 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxWave
, 1);
10473 static PyObject
*_wrap_new_WaveData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10474 PyObject
*resultobj
;
10475 wxString
*arg1
= 0 ;
10477 bool temp1
= False
;
10478 PyObject
* obj0
= 0 ;
10479 char *kwnames
[] = {
10480 (char *) "data", NULL
10483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_WaveData",kwnames
,&obj0
)) goto fail
;
10485 arg1
= wxString_in_helper(obj0
);
10486 if (arg1
== NULL
) SWIG_fail
;
10490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10491 result
= (wxWave
*)new_wxWave((wxString
const &)*arg1
);
10493 wxPyEndAllowThreads(__tstate
);
10494 if (PyErr_Occurred()) SWIG_fail
;
10496 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxWave
, 1);
10511 static PyObject
*_wrap_delete_Wave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10512 PyObject
*resultobj
;
10513 wxWave
*arg1
= (wxWave
*) 0 ;
10514 PyObject
* obj0
= 0 ;
10515 char *kwnames
[] = {
10516 (char *) "self", NULL
10519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Wave",kwnames
,&obj0
)) goto fail
;
10520 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWave
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10525 wxPyEndAllowThreads(__tstate
);
10526 if (PyErr_Occurred()) SWIG_fail
;
10528 Py_INCREF(Py_None
); resultobj
= Py_None
;
10535 static PyObject
*_wrap_Wave_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10536 PyObject
*resultobj
;
10537 wxWave
*arg1
= (wxWave
*) 0 ;
10539 PyObject
* obj0
= 0 ;
10540 char *kwnames
[] = {
10541 (char *) "self", NULL
10544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Wave_IsOk",kwnames
,&obj0
)) goto fail
;
10545 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWave
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10548 result
= (bool)((wxWave
const *)arg1
)->IsOk();
10550 wxPyEndAllowThreads(__tstate
);
10551 if (PyErr_Occurred()) SWIG_fail
;
10553 resultobj
= PyInt_FromLong((long)result
);
10560 static PyObject
*_wrap_Wave_Play(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10561 PyObject
*resultobj
;
10562 wxWave
*arg1
= (wxWave
*) 0 ;
10563 bool arg2
= (bool) True
;
10564 bool arg3
= (bool) False
;
10566 PyObject
* obj0
= 0 ;
10567 PyObject
* obj1
= 0 ;
10568 PyObject
* obj2
= 0 ;
10569 char *kwnames
[] = {
10570 (char *) "self",(char *) "async",(char *) "looped", NULL
10573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Wave_Play",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10574 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWave
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10576 arg2
= PyInt_AsLong(obj1
) ? true : false;
10577 if (PyErr_Occurred()) SWIG_fail
;
10580 arg3
= PyInt_AsLong(obj2
) ? true : false;
10581 if (PyErr_Occurred()) SWIG_fail
;
10584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10585 result
= (bool)(arg1
)->Play(arg2
,arg3
);
10587 wxPyEndAllowThreads(__tstate
);
10588 if (PyErr_Occurred()) SWIG_fail
;
10590 resultobj
= PyInt_FromLong((long)result
);
10597 static PyObject
* Wave_swigregister(PyObject
*self
, PyObject
*args
) {
10599 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10600 SWIG_TypeClientData(SWIGTYPE_p_wxWave
, obj
);
10602 return Py_BuildValue((char *)"");
10604 static PyObject
*_wrap_new_FileTypeInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10605 PyObject
*resultobj
;
10606 wxString
*arg1
= 0 ;
10607 wxString
*arg2
= 0 ;
10608 wxString
*arg3
= 0 ;
10609 wxString
*arg4
= 0 ;
10610 wxFileTypeInfo
*result
;
10611 bool temp1
= False
;
10612 bool temp2
= False
;
10613 bool temp3
= False
;
10614 bool temp4
= False
;
10615 PyObject
* obj0
= 0 ;
10616 PyObject
* obj1
= 0 ;
10617 PyObject
* obj2
= 0 ;
10618 PyObject
* obj3
= 0 ;
10619 char *kwnames
[] = {
10620 (char *) "mimeType",(char *) "openCmd",(char *) "printCmd",(char *) "desc", NULL
10623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_FileTypeInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10625 arg1
= wxString_in_helper(obj0
);
10626 if (arg1
== NULL
) SWIG_fail
;
10630 arg2
= wxString_in_helper(obj1
);
10631 if (arg2
== NULL
) SWIG_fail
;
10635 arg3
= wxString_in_helper(obj2
);
10636 if (arg3
== NULL
) SWIG_fail
;
10640 arg4
= wxString_in_helper(obj3
);
10641 if (arg4
== NULL
) SWIG_fail
;
10645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10646 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
10648 wxPyEndAllowThreads(__tstate
);
10649 if (PyErr_Occurred()) SWIG_fail
;
10651 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFileTypeInfo
, 1);
10690 static PyObject
*_wrap_new_FileTypeInfoSequence(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10691 PyObject
*resultobj
;
10692 wxArrayString
*arg1
= 0 ;
10693 wxFileTypeInfo
*result
;
10694 PyObject
* obj0
= 0 ;
10695 char *kwnames
[] = {
10696 (char *) "sArray", NULL
10699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileTypeInfoSequence",kwnames
,&obj0
)) goto fail
;
10701 if (! PySequence_Check(obj0
)) {
10702 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
10705 arg1
= new wxArrayString
;
10706 int i
, len
=PySequence_Length(obj0
);
10707 for (i
=0; i
<len
; i
++) {
10708 PyObject
* item
= PySequence_GetItem(obj0
, i
);
10710 PyObject
* str
= PyObject_Unicode(item
);
10712 PyObject
* str
= PyObject_Str(item
);
10714 arg1
->Add(Py2wxString(str
));
10720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10721 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxArrayString
const &)*arg1
);
10723 wxPyEndAllowThreads(__tstate
);
10724 if (PyErr_Occurred()) SWIG_fail
;
10726 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFileTypeInfo
, 1);
10728 if (arg1
) delete arg1
;
10733 if (arg1
) delete arg1
;
10739 static PyObject
*_wrap_new_NullFileTypeInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10740 PyObject
*resultobj
;
10741 wxFileTypeInfo
*result
;
10742 char *kwnames
[] = {
10746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NullFileTypeInfo",kwnames
)) goto fail
;
10748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10749 result
= (wxFileTypeInfo
*)new wxFileTypeInfo();
10751 wxPyEndAllowThreads(__tstate
);
10752 if (PyErr_Occurred()) SWIG_fail
;
10754 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFileTypeInfo
, 1);
10761 static PyObject
*_wrap_FileTypeInfo_IsValid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10762 PyObject
*resultobj
;
10763 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
10765 PyObject
* obj0
= 0 ;
10766 char *kwnames
[] = {
10767 (char *) "self", NULL
10770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_IsValid",kwnames
,&obj0
)) goto fail
;
10771 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileTypeInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10774 result
= (bool)((wxFileTypeInfo
const *)arg1
)->IsValid();
10776 wxPyEndAllowThreads(__tstate
);
10777 if (PyErr_Occurred()) SWIG_fail
;
10779 resultobj
= PyInt_FromLong((long)result
);
10786 static PyObject
*_wrap_FileTypeInfo_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10787 PyObject
*resultobj
;
10788 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
10789 wxString
*arg2
= 0 ;
10790 int arg3
= (int) 0 ;
10791 bool temp2
= False
;
10792 PyObject
* obj0
= 0 ;
10793 PyObject
* obj1
= 0 ;
10794 char *kwnames
[] = {
10795 (char *) "self",(char *) "iconFile",(char *) "iconIndex", NULL
10798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:FileTypeInfo_SetIcon",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
10799 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileTypeInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10801 arg2
= wxString_in_helper(obj1
);
10802 if (arg2
== NULL
) SWIG_fail
;
10806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10807 (arg1
)->SetIcon((wxString
const &)*arg2
,arg3
);
10809 wxPyEndAllowThreads(__tstate
);
10810 if (PyErr_Occurred()) SWIG_fail
;
10812 Py_INCREF(Py_None
); resultobj
= Py_None
;
10827 static PyObject
*_wrap_FileTypeInfo_SetShortDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10828 PyObject
*resultobj
;
10829 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
10830 wxString
*arg2
= 0 ;
10831 bool temp2
= False
;
10832 PyObject
* obj0
= 0 ;
10833 PyObject
* obj1
= 0 ;
10834 char *kwnames
[] = {
10835 (char *) "self",(char *) "shortDesc", NULL
10838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileTypeInfo_SetShortDesc",kwnames
,&obj0
,&obj1
)) goto fail
;
10839 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileTypeInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10841 arg2
= wxString_in_helper(obj1
);
10842 if (arg2
== NULL
) SWIG_fail
;
10846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10847 (arg1
)->SetShortDesc((wxString
const &)*arg2
);
10849 wxPyEndAllowThreads(__tstate
);
10850 if (PyErr_Occurred()) SWIG_fail
;
10852 Py_INCREF(Py_None
); resultobj
= Py_None
;
10867 static PyObject
*_wrap_FileTypeInfo_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10868 PyObject
*resultobj
;
10869 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
10871 PyObject
* obj0
= 0 ;
10872 char *kwnames
[] = {
10873 (char *) "self", NULL
10876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetMimeType",kwnames
,&obj0
)) goto fail
;
10877 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileTypeInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10881 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetMimeType();
10882 result
= (wxString
*) &_result_ref
;
10885 wxPyEndAllowThreads(__tstate
);
10886 if (PyErr_Occurred()) SWIG_fail
;
10890 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
10892 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
10901 static PyObject
*_wrap_FileTypeInfo_GetOpenCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10902 PyObject
*resultobj
;
10903 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
10905 PyObject
* obj0
= 0 ;
10906 char *kwnames
[] = {
10907 (char *) "self", NULL
10910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetOpenCommand",kwnames
,&obj0
)) goto fail
;
10911 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileTypeInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10915 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetOpenCommand();
10916 result
= (wxString
*) &_result_ref
;
10919 wxPyEndAllowThreads(__tstate
);
10920 if (PyErr_Occurred()) SWIG_fail
;
10924 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
10926 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
10935 static PyObject
*_wrap_FileTypeInfo_GetPrintCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10936 PyObject
*resultobj
;
10937 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
10939 PyObject
* obj0
= 0 ;
10940 char *kwnames
[] = {
10941 (char *) "self", NULL
10944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetPrintCommand",kwnames
,&obj0
)) goto fail
;
10945 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileTypeInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10949 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetPrintCommand();
10950 result
= (wxString
*) &_result_ref
;
10953 wxPyEndAllowThreads(__tstate
);
10954 if (PyErr_Occurred()) SWIG_fail
;
10958 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
10960 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
10969 static PyObject
*_wrap_FileTypeInfo_GetShortDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10970 PyObject
*resultobj
;
10971 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
10973 PyObject
* obj0
= 0 ;
10974 char *kwnames
[] = {
10975 (char *) "self", NULL
10978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetShortDesc",kwnames
,&obj0
)) goto fail
;
10979 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileTypeInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10983 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetShortDesc();
10984 result
= (wxString
*) &_result_ref
;
10987 wxPyEndAllowThreads(__tstate
);
10988 if (PyErr_Occurred()) SWIG_fail
;
10992 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
10994 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
11003 static PyObject
*_wrap_FileTypeInfo_GetDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11004 PyObject
*resultobj
;
11005 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
11007 PyObject
* obj0
= 0 ;
11008 char *kwnames
[] = {
11009 (char *) "self", NULL
11012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetDescription",kwnames
,&obj0
)) goto fail
;
11013 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileTypeInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11017 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetDescription();
11018 result
= (wxString
*) &_result_ref
;
11021 wxPyEndAllowThreads(__tstate
);
11022 if (PyErr_Occurred()) SWIG_fail
;
11026 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
11028 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
11037 static PyObject
*_wrap_FileTypeInfo_GetExtensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11038 PyObject
*resultobj
;
11039 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
11040 wxArrayString
*result
;
11041 PyObject
* obj0
= 0 ;
11042 char *kwnames
[] = {
11043 (char *) "self", NULL
11046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetExtensions",kwnames
,&obj0
)) goto fail
;
11047 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileTypeInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11051 wxArrayString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetExtensions();
11052 result
= (wxArrayString
*) &_result_ref
;
11055 wxPyEndAllowThreads(__tstate
);
11056 if (PyErr_Occurred()) SWIG_fail
;
11059 resultobj
= wxArrayString2PyList_helper(*result
);
11067 static PyObject
*_wrap_FileTypeInfo_GetExtensionsCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11068 PyObject
*resultobj
;
11069 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
11071 PyObject
* obj0
= 0 ;
11072 char *kwnames
[] = {
11073 (char *) "self", NULL
11076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetExtensionsCount",kwnames
,&obj0
)) goto fail
;
11077 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileTypeInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11080 result
= (int)((wxFileTypeInfo
const *)arg1
)->GetExtensionsCount();
11082 wxPyEndAllowThreads(__tstate
);
11083 if (PyErr_Occurred()) SWIG_fail
;
11085 resultobj
= PyInt_FromLong((long)result
);
11092 static PyObject
*_wrap_FileTypeInfo_GetIconFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11093 PyObject
*resultobj
;
11094 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
11096 PyObject
* obj0
= 0 ;
11097 char *kwnames
[] = {
11098 (char *) "self", NULL
11101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetIconFile",kwnames
,&obj0
)) goto fail
;
11102 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileTypeInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11106 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetIconFile();
11107 result
= (wxString
*) &_result_ref
;
11110 wxPyEndAllowThreads(__tstate
);
11111 if (PyErr_Occurred()) SWIG_fail
;
11115 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
11117 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
11126 static PyObject
*_wrap_FileTypeInfo_GetIconIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11127 PyObject
*resultobj
;
11128 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
11130 PyObject
* obj0
= 0 ;
11131 char *kwnames
[] = {
11132 (char *) "self", NULL
11135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetIconIndex",kwnames
,&obj0
)) goto fail
;
11136 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileTypeInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11139 result
= (int)((wxFileTypeInfo
const *)arg1
)->GetIconIndex();
11141 wxPyEndAllowThreads(__tstate
);
11142 if (PyErr_Occurred()) SWIG_fail
;
11144 resultobj
= PyInt_FromLong((long)result
);
11151 static PyObject
* FileTypeInfo_swigregister(PyObject
*self
, PyObject
*args
) {
11153 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11154 SWIG_TypeClientData(SWIGTYPE_p_wxFileTypeInfo
, obj
);
11156 return Py_BuildValue((char *)"");
11158 static PyObject
*_wrap_new_FileType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11159 PyObject
*resultobj
;
11160 wxFileTypeInfo
*arg1
= 0 ;
11161 wxFileType
*result
;
11162 PyObject
* obj0
= 0 ;
11163 char *kwnames
[] = {
11164 (char *) "ftInfo", NULL
11167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileType",kwnames
,&obj0
)) goto fail
;
11168 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileTypeInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11169 if (arg1
== NULL
) {
11170 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11174 result
= (wxFileType
*)new wxFileType((wxFileTypeInfo
const &)*arg1
);
11176 wxPyEndAllowThreads(__tstate
);
11177 if (PyErr_Occurred()) SWIG_fail
;
11179 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFileType
, 1);
11186 static PyObject
*_wrap_delete_FileType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11187 PyObject
*resultobj
;
11188 wxFileType
*arg1
= (wxFileType
*) 0 ;
11189 PyObject
* obj0
= 0 ;
11190 char *kwnames
[] = {
11191 (char *) "self", NULL
11194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileType",kwnames
,&obj0
)) goto fail
;
11195 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileType
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11200 wxPyEndAllowThreads(__tstate
);
11201 if (PyErr_Occurred()) SWIG_fail
;
11203 Py_INCREF(Py_None
); resultobj
= Py_None
;
11210 static PyObject
*_wrap_FileType_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11211 PyObject
*resultobj
;
11212 wxFileType
*arg1
= (wxFileType
*) 0 ;
11214 PyObject
* obj0
= 0 ;
11215 char *kwnames
[] = {
11216 (char *) "self", NULL
11219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetMimeType",kwnames
,&obj0
)) goto fail
;
11220 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileType
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11223 result
= (PyObject
*)wxFileType_GetMimeType(arg1
);
11225 wxPyEndAllowThreads(__tstate
);
11226 if (PyErr_Occurred()) SWIG_fail
;
11228 resultobj
= result
;
11235 static PyObject
*_wrap_FileType_GetMimeTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11236 PyObject
*resultobj
;
11237 wxFileType
*arg1
= (wxFileType
*) 0 ;
11239 PyObject
* obj0
= 0 ;
11240 char *kwnames
[] = {
11241 (char *) "self", NULL
11244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetMimeTypes",kwnames
,&obj0
)) goto fail
;
11245 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileType
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11248 result
= (PyObject
*)wxFileType_GetMimeTypes(arg1
);
11250 wxPyEndAllowThreads(__tstate
);
11251 if (PyErr_Occurred()) SWIG_fail
;
11253 resultobj
= result
;
11260 static PyObject
*_wrap_FileType_GetExtensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11261 PyObject
*resultobj
;
11262 wxFileType
*arg1
= (wxFileType
*) 0 ;
11264 PyObject
* obj0
= 0 ;
11265 char *kwnames
[] = {
11266 (char *) "self", NULL
11269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetExtensions",kwnames
,&obj0
)) goto fail
;
11270 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileType
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11273 result
= (PyObject
*)wxFileType_GetExtensions(arg1
);
11275 wxPyEndAllowThreads(__tstate
);
11276 if (PyErr_Occurred()) SWIG_fail
;
11278 resultobj
= result
;
11285 static PyObject
*_wrap_FileType_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11286 PyObject
*resultobj
;
11287 wxFileType
*arg1
= (wxFileType
*) 0 ;
11289 PyObject
* obj0
= 0 ;
11290 char *kwnames
[] = {
11291 (char *) "self", NULL
11294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetIcon",kwnames
,&obj0
)) goto fail
;
11295 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileType
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11298 result
= (wxIcon
*)wxFileType_GetIcon(arg1
);
11300 wxPyEndAllowThreads(__tstate
);
11301 if (PyErr_Occurred()) SWIG_fail
;
11303 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIcon
, 1);
11310 static PyObject
*_wrap_FileType_GetIconInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11311 PyObject
*resultobj
;
11312 wxFileType
*arg1
= (wxFileType
*) 0 ;
11314 PyObject
* obj0
= 0 ;
11315 char *kwnames
[] = {
11316 (char *) "self", NULL
11319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetIconInfo",kwnames
,&obj0
)) goto fail
;
11320 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileType
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11323 result
= (PyObject
*)wxFileType_GetIconInfo(arg1
);
11325 wxPyEndAllowThreads(__tstate
);
11326 if (PyErr_Occurred()) SWIG_fail
;
11328 resultobj
= result
;
11335 static PyObject
*_wrap_FileType_GetDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11336 PyObject
*resultobj
;
11337 wxFileType
*arg1
= (wxFileType
*) 0 ;
11339 PyObject
* obj0
= 0 ;
11340 char *kwnames
[] = {
11341 (char *) "self", NULL
11344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetDescription",kwnames
,&obj0
)) goto fail
;
11345 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileType
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11348 result
= (PyObject
*)wxFileType_GetDescription(arg1
);
11350 wxPyEndAllowThreads(__tstate
);
11351 if (PyErr_Occurred()) SWIG_fail
;
11353 resultobj
= result
;
11360 static PyObject
*_wrap_FileType_GetOpenCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11361 PyObject
*resultobj
;
11362 wxFileType
*arg1
= (wxFileType
*) 0 ;
11363 wxString
*arg2
= 0 ;
11364 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11365 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11367 bool temp2
= False
;
11368 bool temp3
= False
;
11369 PyObject
* obj0
= 0 ;
11370 PyObject
* obj1
= 0 ;
11371 PyObject
* obj2
= 0 ;
11372 char *kwnames
[] = {
11373 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
11376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetOpenCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11377 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileType
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11379 arg2
= wxString_in_helper(obj1
);
11380 if (arg2
== NULL
) SWIG_fail
;
11385 arg3
= wxString_in_helper(obj2
);
11386 if (arg3
== NULL
) SWIG_fail
;
11391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11392 result
= (PyObject
*)wxFileType_GetOpenCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
11394 wxPyEndAllowThreads(__tstate
);
11395 if (PyErr_Occurred()) SWIG_fail
;
11397 resultobj
= result
;
11420 static PyObject
*_wrap_FileType_GetPrintCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11421 PyObject
*resultobj
;
11422 wxFileType
*arg1
= (wxFileType
*) 0 ;
11423 wxString
*arg2
= 0 ;
11424 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11425 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11427 bool temp2
= False
;
11428 bool temp3
= False
;
11429 PyObject
* obj0
= 0 ;
11430 PyObject
* obj1
= 0 ;
11431 PyObject
* obj2
= 0 ;
11432 char *kwnames
[] = {
11433 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
11436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetPrintCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11437 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileType
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11439 arg2
= wxString_in_helper(obj1
);
11440 if (arg2
== NULL
) SWIG_fail
;
11445 arg3
= wxString_in_helper(obj2
);
11446 if (arg3
== NULL
) SWIG_fail
;
11451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11452 result
= (PyObject
*)wxFileType_GetPrintCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
11454 wxPyEndAllowThreads(__tstate
);
11455 if (PyErr_Occurred()) SWIG_fail
;
11457 resultobj
= result
;
11480 static PyObject
*_wrap_FileType_GetAllCommands(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11481 PyObject
*resultobj
;
11482 wxFileType
*arg1
= (wxFileType
*) 0 ;
11483 wxString
*arg2
= 0 ;
11484 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11485 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11487 bool temp2
= False
;
11488 bool temp3
= False
;
11489 PyObject
* obj0
= 0 ;
11490 PyObject
* obj1
= 0 ;
11491 PyObject
* obj2
= 0 ;
11492 char *kwnames
[] = {
11493 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
11496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetAllCommands",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11497 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileType
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11499 arg2
= wxString_in_helper(obj1
);
11500 if (arg2
== NULL
) SWIG_fail
;
11505 arg3
= wxString_in_helper(obj2
);
11506 if (arg3
== NULL
) SWIG_fail
;
11511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11512 result
= (PyObject
*)wxFileType_GetAllCommands(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
11514 wxPyEndAllowThreads(__tstate
);
11515 if (PyErr_Occurred()) SWIG_fail
;
11517 resultobj
= result
;
11540 static PyObject
*_wrap_FileType_SetCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11541 PyObject
*resultobj
;
11542 wxFileType
*arg1
= (wxFileType
*) 0 ;
11543 wxString
*arg2
= 0 ;
11544 wxString
*arg3
= 0 ;
11545 bool arg4
= (bool) True
;
11547 bool temp2
= False
;
11548 bool temp3
= False
;
11549 PyObject
* obj0
= 0 ;
11550 PyObject
* obj1
= 0 ;
11551 PyObject
* obj2
= 0 ;
11552 PyObject
* obj3
= 0 ;
11553 char *kwnames
[] = {
11554 (char *) "self",(char *) "cmd",(char *) "verb",(char *) "overwriteprompt", NULL
11557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:FileType_SetCommand",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11558 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileType
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11560 arg2
= wxString_in_helper(obj1
);
11561 if (arg2
== NULL
) SWIG_fail
;
11565 arg3
= wxString_in_helper(obj2
);
11566 if (arg3
== NULL
) SWIG_fail
;
11570 arg4
= PyInt_AsLong(obj3
) ? true : false;
11571 if (PyErr_Occurred()) SWIG_fail
;
11574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11575 result
= (bool)(arg1
)->SetCommand((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
11577 wxPyEndAllowThreads(__tstate
);
11578 if (PyErr_Occurred()) SWIG_fail
;
11580 resultobj
= PyInt_FromLong((long)result
);
11603 static PyObject
*_wrap_FileType_SetDefaultIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11604 PyObject
*resultobj
;
11605 wxFileType
*arg1
= (wxFileType
*) 0 ;
11606 wxString
const &arg2_defvalue
= wxPyEmptyString
;
11607 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
11608 int arg3
= (int) 0 ;
11610 bool temp2
= False
;
11611 PyObject
* obj0
= 0 ;
11612 PyObject
* obj1
= 0 ;
11613 char *kwnames
[] = {
11614 (char *) "self",(char *) "cmd",(char *) "index", NULL
11617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|Oi:FileType_SetDefaultIcon",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
11618 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileType
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11621 arg2
= wxString_in_helper(obj1
);
11622 if (arg2
== NULL
) SWIG_fail
;
11627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11628 result
= (bool)(arg1
)->SetDefaultIcon((wxString
const &)*arg2
,arg3
);
11630 wxPyEndAllowThreads(__tstate
);
11631 if (PyErr_Occurred()) SWIG_fail
;
11633 resultobj
= PyInt_FromLong((long)result
);
11648 static PyObject
*_wrap_FileType_Unassociate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11649 PyObject
*resultobj
;
11650 wxFileType
*arg1
= (wxFileType
*) 0 ;
11652 PyObject
* obj0
= 0 ;
11653 char *kwnames
[] = {
11654 (char *) "self", NULL
11657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_Unassociate",kwnames
,&obj0
)) goto fail
;
11658 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileType
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11661 result
= (bool)(arg1
)->Unassociate();
11663 wxPyEndAllowThreads(__tstate
);
11664 if (PyErr_Occurred()) SWIG_fail
;
11666 resultobj
= PyInt_FromLong((long)result
);
11673 static PyObject
*_wrap_FileType_ExpandCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11674 PyObject
*resultobj
;
11675 wxString
*arg1
= 0 ;
11676 wxString
*arg2
= 0 ;
11677 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11678 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11680 bool temp1
= False
;
11681 bool temp2
= False
;
11682 bool temp3
= False
;
11683 PyObject
* obj0
= 0 ;
11684 PyObject
* obj1
= 0 ;
11685 PyObject
* obj2
= 0 ;
11686 char *kwnames
[] = {
11687 (char *) "command",(char *) "filename",(char *) "mimetype", NULL
11690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_ExpandCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11692 arg1
= wxString_in_helper(obj0
);
11693 if (arg1
== NULL
) SWIG_fail
;
11697 arg2
= wxString_in_helper(obj1
);
11698 if (arg2
== NULL
) SWIG_fail
;
11703 arg3
= wxString_in_helper(obj2
);
11704 if (arg3
== NULL
) SWIG_fail
;
11709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11710 result
= FileType_ExpandCommand((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
11712 wxPyEndAllowThreads(__tstate
);
11713 if (PyErr_Occurred()) SWIG_fail
;
11717 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11719 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11752 static PyObject
* FileType_swigregister(PyObject
*self
, PyObject
*args
) {
11754 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11755 SWIG_TypeClientData(SWIGTYPE_p_wxFileType
, obj
);
11757 return Py_BuildValue((char *)"");
11759 static int _wrap_TheMimeTypesManager_set(PyObject
*_val
) {
11760 PyErr_SetString(PyExc_TypeError
,"Variable TheMimeTypesManager is read-only.");
11765 static PyObject
*_wrap_TheMimeTypesManager_get() {
11768 pyobj
= SWIG_NewPointerObj((void *) wxTheMimeTypesManager
, SWIGTYPE_p_wxMimeTypesManager
, 0);
11773 static PyObject
*_wrap_MimeTypesManager_IsOfType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11774 PyObject
*resultobj
;
11775 wxString
*arg1
= 0 ;
11776 wxString
*arg2
= 0 ;
11778 bool temp1
= False
;
11779 bool temp2
= False
;
11780 PyObject
* obj0
= 0 ;
11781 PyObject
* obj1
= 0 ;
11782 char *kwnames
[] = {
11783 (char *) "mimeType",(char *) "wildcard", NULL
11786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_IsOfType",kwnames
,&obj0
,&obj1
)) goto fail
;
11788 arg1
= wxString_in_helper(obj0
);
11789 if (arg1
== NULL
) SWIG_fail
;
11793 arg2
= wxString_in_helper(obj1
);
11794 if (arg2
== NULL
) SWIG_fail
;
11798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11799 result
= (bool)wxMimeTypesManager::IsOfType((wxString
const &)*arg1
,(wxString
const &)*arg2
);
11801 wxPyEndAllowThreads(__tstate
);
11802 if (PyErr_Occurred()) SWIG_fail
;
11804 resultobj
= PyInt_FromLong((long)result
);
11827 static PyObject
*_wrap_new_MimeTypesManager(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11828 PyObject
*resultobj
;
11829 wxMimeTypesManager
*result
;
11830 char *kwnames
[] = {
11834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MimeTypesManager",kwnames
)) goto fail
;
11836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11837 result
= (wxMimeTypesManager
*)new wxMimeTypesManager();
11839 wxPyEndAllowThreads(__tstate
);
11840 if (PyErr_Occurred()) SWIG_fail
;
11842 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMimeTypesManager
, 1);
11849 static PyObject
*_wrap_MimeTypesManager_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11850 PyObject
*resultobj
;
11851 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
11852 int arg2
= (int) wxMAILCAP_ALL
;
11853 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11854 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11855 bool temp3
= False
;
11856 PyObject
* obj0
= 0 ;
11857 PyObject
* obj2
= 0 ;
11858 char *kwnames
[] = {
11859 (char *) "self",(char *) "mailcapStyle",(char *) "extraDir", NULL
11862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iO:MimeTypesManager_Initialize",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
11863 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMimeTypesManager
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11866 arg3
= wxString_in_helper(obj2
);
11867 if (arg3
== NULL
) SWIG_fail
;
11872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11873 (arg1
)->Initialize(arg2
,(wxString
const &)*arg3
);
11875 wxPyEndAllowThreads(__tstate
);
11876 if (PyErr_Occurred()) SWIG_fail
;
11878 Py_INCREF(Py_None
); resultobj
= Py_None
;
11893 static PyObject
*_wrap_MimeTypesManager_ClearData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11894 PyObject
*resultobj
;
11895 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
11896 PyObject
* obj0
= 0 ;
11897 char *kwnames
[] = {
11898 (char *) "self", NULL
11901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MimeTypesManager_ClearData",kwnames
,&obj0
)) goto fail
;
11902 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMimeTypesManager
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11905 (arg1
)->ClearData();
11907 wxPyEndAllowThreads(__tstate
);
11908 if (PyErr_Occurred()) SWIG_fail
;
11910 Py_INCREF(Py_None
); resultobj
= Py_None
;
11917 static PyObject
*_wrap_MimeTypesManager_GetFileTypeFromExtension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11918 PyObject
*resultobj
;
11919 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
11920 wxString
*arg2
= 0 ;
11921 wxFileType
*result
;
11922 bool temp2
= False
;
11923 PyObject
* obj0
= 0 ;
11924 PyObject
* obj1
= 0 ;
11925 char *kwnames
[] = {
11926 (char *) "self",(char *) "ext", NULL
11929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromExtension",kwnames
,&obj0
,&obj1
)) goto fail
;
11930 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMimeTypesManager
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11932 arg2
= wxString_in_helper(obj1
);
11933 if (arg2
== NULL
) SWIG_fail
;
11937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11938 result
= (wxFileType
*)(arg1
)->GetFileTypeFromExtension((wxString
const &)*arg2
);
11940 wxPyEndAllowThreads(__tstate
);
11941 if (PyErr_Occurred()) SWIG_fail
;
11943 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFileType
, 1);
11958 static PyObject
*_wrap_MimeTypesManager_GetFileTypeFromMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11959 PyObject
*resultobj
;
11960 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
11961 wxString
*arg2
= 0 ;
11962 wxFileType
*result
;
11963 bool temp2
= False
;
11964 PyObject
* obj0
= 0 ;
11965 PyObject
* obj1
= 0 ;
11966 char *kwnames
[] = {
11967 (char *) "self",(char *) "mimeType", NULL
11970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromMimeType",kwnames
,&obj0
,&obj1
)) goto fail
;
11971 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMimeTypesManager
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11973 arg2
= wxString_in_helper(obj1
);
11974 if (arg2
== NULL
) SWIG_fail
;
11978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11979 result
= (wxFileType
*)(arg1
)->GetFileTypeFromMimeType((wxString
const &)*arg2
);
11981 wxPyEndAllowThreads(__tstate
);
11982 if (PyErr_Occurred()) SWIG_fail
;
11984 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFileType
, 1);
11999 static PyObject
*_wrap_MimeTypesManager_ReadMailcap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12000 PyObject
*resultobj
;
12001 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
12002 wxString
*arg2
= 0 ;
12003 bool arg3
= (bool) False
;
12005 bool temp2
= False
;
12006 PyObject
* obj0
= 0 ;
12007 PyObject
* obj1
= 0 ;
12008 PyObject
* obj2
= 0 ;
12009 char *kwnames
[] = {
12010 (char *) "self",(char *) "filename",(char *) "fallback", NULL
12013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MimeTypesManager_ReadMailcap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12014 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMimeTypesManager
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12016 arg2
= wxString_in_helper(obj1
);
12017 if (arg2
== NULL
) SWIG_fail
;
12021 arg3
= PyInt_AsLong(obj2
) ? true : false;
12022 if (PyErr_Occurred()) SWIG_fail
;
12025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12026 result
= (bool)(arg1
)->ReadMailcap((wxString
const &)*arg2
,arg3
);
12028 wxPyEndAllowThreads(__tstate
);
12029 if (PyErr_Occurred()) SWIG_fail
;
12031 resultobj
= PyInt_FromLong((long)result
);
12046 static PyObject
*_wrap_MimeTypesManager_ReadMimeTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12047 PyObject
*resultobj
;
12048 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
12049 wxString
*arg2
= 0 ;
12051 bool temp2
= False
;
12052 PyObject
* obj0
= 0 ;
12053 PyObject
* obj1
= 0 ;
12054 char *kwnames
[] = {
12055 (char *) "self",(char *) "filename", NULL
12058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_ReadMimeTypes",kwnames
,&obj0
,&obj1
)) goto fail
;
12059 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMimeTypesManager
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12061 arg2
= wxString_in_helper(obj1
);
12062 if (arg2
== NULL
) SWIG_fail
;
12066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12067 result
= (bool)(arg1
)->ReadMimeTypes((wxString
const &)*arg2
);
12069 wxPyEndAllowThreads(__tstate
);
12070 if (PyErr_Occurred()) SWIG_fail
;
12072 resultobj
= PyInt_FromLong((long)result
);
12087 static PyObject
*_wrap_MimeTypesManager_EnumAllFileTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12088 PyObject
*resultobj
;
12089 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
12091 PyObject
* obj0
= 0 ;
12092 char *kwnames
[] = {
12093 (char *) "self", NULL
12096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MimeTypesManager_EnumAllFileTypes",kwnames
,&obj0
)) goto fail
;
12097 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMimeTypesManager
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12100 result
= (PyObject
*)wxMimeTypesManager_EnumAllFileTypes(arg1
);
12102 wxPyEndAllowThreads(__tstate
);
12103 if (PyErr_Occurred()) SWIG_fail
;
12105 resultobj
= result
;
12112 static PyObject
*_wrap_MimeTypesManager_AddFallback(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12113 PyObject
*resultobj
;
12114 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
12115 wxFileTypeInfo
*arg2
= 0 ;
12116 PyObject
* obj0
= 0 ;
12117 PyObject
* obj1
= 0 ;
12118 char *kwnames
[] = {
12119 (char *) "self",(char *) "ft", NULL
12122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_AddFallback",kwnames
,&obj0
,&obj1
)) goto fail
;
12123 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMimeTypesManager
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12124 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFileTypeInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12125 if (arg2
== NULL
) {
12126 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
12129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12130 (arg1
)->AddFallback((wxFileTypeInfo
const &)*arg2
);
12132 wxPyEndAllowThreads(__tstate
);
12133 if (PyErr_Occurred()) SWIG_fail
;
12135 Py_INCREF(Py_None
); resultobj
= Py_None
;
12142 static PyObject
*_wrap_MimeTypesManager_Associate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12143 PyObject
*resultobj
;
12144 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
12145 wxFileTypeInfo
*arg2
= 0 ;
12146 wxFileType
*result
;
12147 PyObject
* obj0
= 0 ;
12148 PyObject
* obj1
= 0 ;
12149 char *kwnames
[] = {
12150 (char *) "self",(char *) "ftInfo", NULL
12153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Associate",kwnames
,&obj0
,&obj1
)) goto fail
;
12154 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMimeTypesManager
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12155 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFileTypeInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12156 if (arg2
== NULL
) {
12157 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
12160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12161 result
= (wxFileType
*)(arg1
)->Associate((wxFileTypeInfo
const &)*arg2
);
12163 wxPyEndAllowThreads(__tstate
);
12164 if (PyErr_Occurred()) SWIG_fail
;
12166 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFileType
, 1);
12173 static PyObject
*_wrap_MimeTypesManager_Unassociate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12174 PyObject
*resultobj
;
12175 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
12176 wxFileType
*arg2
= (wxFileType
*) 0 ;
12178 PyObject
* obj0
= 0 ;
12179 PyObject
* obj1
= 0 ;
12180 char *kwnames
[] = {
12181 (char *) "self",(char *) "ft", NULL
12184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Unassociate",kwnames
,&obj0
,&obj1
)) goto fail
;
12185 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMimeTypesManager
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12186 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFileType
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12189 result
= (bool)(arg1
)->Unassociate(arg2
);
12191 wxPyEndAllowThreads(__tstate
);
12192 if (PyErr_Occurred()) SWIG_fail
;
12194 resultobj
= PyInt_FromLong((long)result
);
12201 static PyObject
*_wrap_delete_MimeTypesManager(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12202 PyObject
*resultobj
;
12203 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
12204 PyObject
* obj0
= 0 ;
12205 char *kwnames
[] = {
12206 (char *) "self", NULL
12209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MimeTypesManager",kwnames
,&obj0
)) goto fail
;
12210 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMimeTypesManager
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12215 wxPyEndAllowThreads(__tstate
);
12216 if (PyErr_Occurred()) SWIG_fail
;
12218 Py_INCREF(Py_None
); resultobj
= Py_None
;
12225 static PyObject
* MimeTypesManager_swigregister(PyObject
*self
, PyObject
*args
) {
12227 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12228 SWIG_TypeClientData(SWIGTYPE_p_wxMimeTypesManager
, obj
);
12230 return Py_BuildValue((char *)"");
12232 static int _wrap_ART_TOOLBAR_set(PyObject
*_val
) {
12233 PyErr_SetString(PyExc_TypeError
,"Variable ART_TOOLBAR is read-only.");
12238 static PyObject
*_wrap_ART_TOOLBAR_get() {
12243 pyobj
= PyUnicode_FromWideChar((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
12245 pyobj
= PyString_FromStringAndSize((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
12252 static int _wrap_ART_MENU_set(PyObject
*_val
) {
12253 PyErr_SetString(PyExc_TypeError
,"Variable ART_MENU is read-only.");
12258 static PyObject
*_wrap_ART_MENU_get() {
12263 pyobj
= PyUnicode_FromWideChar((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
12265 pyobj
= PyString_FromStringAndSize((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
12272 static int _wrap_ART_FRAME_ICON_set(PyObject
*_val
) {
12273 PyErr_SetString(PyExc_TypeError
,"Variable ART_FRAME_ICON is read-only.");
12278 static PyObject
*_wrap_ART_FRAME_ICON_get() {
12283 pyobj
= PyUnicode_FromWideChar((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
12285 pyobj
= PyString_FromStringAndSize((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
12292 static int _wrap_ART_CMN_DIALOG_set(PyObject
*_val
) {
12293 PyErr_SetString(PyExc_TypeError
,"Variable ART_CMN_DIALOG is read-only.");
12298 static PyObject
*_wrap_ART_CMN_DIALOG_get() {
12303 pyobj
= PyUnicode_FromWideChar((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
12305 pyobj
= PyString_FromStringAndSize((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
12312 static int _wrap_ART_HELP_BROWSER_set(PyObject
*_val
) {
12313 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_BROWSER is read-only.");
12318 static PyObject
*_wrap_ART_HELP_BROWSER_get() {
12323 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
12325 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
12332 static int _wrap_ART_MESSAGE_BOX_set(PyObject
*_val
) {
12333 PyErr_SetString(PyExc_TypeError
,"Variable ART_MESSAGE_BOX is read-only.");
12338 static PyObject
*_wrap_ART_MESSAGE_BOX_get() {
12343 pyobj
= PyUnicode_FromWideChar((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
12345 pyobj
= PyString_FromStringAndSize((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
12352 static int _wrap_ART_OTHER_set(PyObject
*_val
) {
12353 PyErr_SetString(PyExc_TypeError
,"Variable ART_OTHER is read-only.");
12358 static PyObject
*_wrap_ART_OTHER_get() {
12363 pyobj
= PyUnicode_FromWideChar((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
12365 pyobj
= PyString_FromStringAndSize((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
12372 static int _wrap_ART_ADD_BOOKMARK_set(PyObject
*_val
) {
12373 PyErr_SetString(PyExc_TypeError
,"Variable ART_ADD_BOOKMARK is read-only.");
12378 static PyObject
*_wrap_ART_ADD_BOOKMARK_get() {
12383 pyobj
= PyUnicode_FromWideChar((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
12385 pyobj
= PyString_FromStringAndSize((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
12392 static int _wrap_ART_DEL_BOOKMARK_set(PyObject
*_val
) {
12393 PyErr_SetString(PyExc_TypeError
,"Variable ART_DEL_BOOKMARK is read-only.");
12398 static PyObject
*_wrap_ART_DEL_BOOKMARK_get() {
12403 pyobj
= PyUnicode_FromWideChar((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
12405 pyobj
= PyString_FromStringAndSize((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
12412 static int _wrap_ART_HELP_SIDE_PANEL_set(PyObject
*_val
) {
12413 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_SIDE_PANEL is read-only.");
12418 static PyObject
*_wrap_ART_HELP_SIDE_PANEL_get() {
12423 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
12425 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
12432 static int _wrap_ART_HELP_SETTINGS_set(PyObject
*_val
) {
12433 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_SETTINGS is read-only.");
12438 static PyObject
*_wrap_ART_HELP_SETTINGS_get() {
12443 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
12445 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
12452 static int _wrap_ART_HELP_BOOK_set(PyObject
*_val
) {
12453 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_BOOK is read-only.");
12458 static PyObject
*_wrap_ART_HELP_BOOK_get() {
12463 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
12465 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
12472 static int _wrap_ART_HELP_FOLDER_set(PyObject
*_val
) {
12473 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_FOLDER is read-only.");
12478 static PyObject
*_wrap_ART_HELP_FOLDER_get() {
12483 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
12485 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
12492 static int _wrap_ART_HELP_PAGE_set(PyObject
*_val
) {
12493 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_PAGE is read-only.");
12498 static PyObject
*_wrap_ART_HELP_PAGE_get() {
12503 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
12505 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
12512 static int _wrap_ART_GO_BACK_set(PyObject
*_val
) {
12513 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_BACK is read-only.");
12518 static PyObject
*_wrap_ART_GO_BACK_get() {
12523 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
12525 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
12532 static int _wrap_ART_GO_FORWARD_set(PyObject
*_val
) {
12533 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_FORWARD is read-only.");
12538 static PyObject
*_wrap_ART_GO_FORWARD_get() {
12543 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
12545 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
12552 static int _wrap_ART_GO_UP_set(PyObject
*_val
) {
12553 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_UP is read-only.");
12558 static PyObject
*_wrap_ART_GO_UP_get() {
12563 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
12565 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
12572 static int _wrap_ART_GO_DOWN_set(PyObject
*_val
) {
12573 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_DOWN is read-only.");
12578 static PyObject
*_wrap_ART_GO_DOWN_get() {
12583 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
12585 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
12592 static int _wrap_ART_GO_TO_PARENT_set(PyObject
*_val
) {
12593 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_TO_PARENT is read-only.");
12598 static PyObject
*_wrap_ART_GO_TO_PARENT_get() {
12603 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
12605 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
12612 static int _wrap_ART_GO_HOME_set(PyObject
*_val
) {
12613 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_HOME is read-only.");
12618 static PyObject
*_wrap_ART_GO_HOME_get() {
12623 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
12625 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
12632 static int _wrap_ART_FILE_OPEN_set(PyObject
*_val
) {
12633 PyErr_SetString(PyExc_TypeError
,"Variable ART_FILE_OPEN is read-only.");
12638 static PyObject
*_wrap_ART_FILE_OPEN_get() {
12643 pyobj
= PyUnicode_FromWideChar((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
12645 pyobj
= PyString_FromStringAndSize((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
12652 static int _wrap_ART_PRINT_set(PyObject
*_val
) {
12653 PyErr_SetString(PyExc_TypeError
,"Variable ART_PRINT is read-only.");
12658 static PyObject
*_wrap_ART_PRINT_get() {
12663 pyobj
= PyUnicode_FromWideChar((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
12665 pyobj
= PyString_FromStringAndSize((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
12672 static int _wrap_ART_HELP_set(PyObject
*_val
) {
12673 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP is read-only.");
12678 static PyObject
*_wrap_ART_HELP_get() {
12683 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
12685 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
12692 static int _wrap_ART_TIP_set(PyObject
*_val
) {
12693 PyErr_SetString(PyExc_TypeError
,"Variable ART_TIP is read-only.");
12698 static PyObject
*_wrap_ART_TIP_get() {
12703 pyobj
= PyUnicode_FromWideChar((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
12705 pyobj
= PyString_FromStringAndSize((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
12712 static int _wrap_ART_REPORT_VIEW_set(PyObject
*_val
) {
12713 PyErr_SetString(PyExc_TypeError
,"Variable ART_REPORT_VIEW is read-only.");
12718 static PyObject
*_wrap_ART_REPORT_VIEW_get() {
12723 pyobj
= PyUnicode_FromWideChar((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
12725 pyobj
= PyString_FromStringAndSize((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
12732 static int _wrap_ART_LIST_VIEW_set(PyObject
*_val
) {
12733 PyErr_SetString(PyExc_TypeError
,"Variable ART_LIST_VIEW is read-only.");
12738 static PyObject
*_wrap_ART_LIST_VIEW_get() {
12743 pyobj
= PyUnicode_FromWideChar((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
12745 pyobj
= PyString_FromStringAndSize((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
12752 static int _wrap_ART_NEW_DIR_set(PyObject
*_val
) {
12753 PyErr_SetString(PyExc_TypeError
,"Variable ART_NEW_DIR is read-only.");
12758 static PyObject
*_wrap_ART_NEW_DIR_get() {
12763 pyobj
= PyUnicode_FromWideChar((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
12765 pyobj
= PyString_FromStringAndSize((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
12772 static int _wrap_ART_FOLDER_set(PyObject
*_val
) {
12773 PyErr_SetString(PyExc_TypeError
,"Variable ART_FOLDER is read-only.");
12778 static PyObject
*_wrap_ART_FOLDER_get() {
12783 pyobj
= PyUnicode_FromWideChar((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
12785 pyobj
= PyString_FromStringAndSize((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
12792 static int _wrap_ART_GO_DIR_UP_set(PyObject
*_val
) {
12793 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_DIR_UP is read-only.");
12798 static PyObject
*_wrap_ART_GO_DIR_UP_get() {
12803 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
12805 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
12812 static int _wrap_ART_EXECUTABLE_FILE_set(PyObject
*_val
) {
12813 PyErr_SetString(PyExc_TypeError
,"Variable ART_EXECUTABLE_FILE is read-only.");
12818 static PyObject
*_wrap_ART_EXECUTABLE_FILE_get() {
12823 pyobj
= PyUnicode_FromWideChar((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
12825 pyobj
= PyString_FromStringAndSize((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
12832 static int _wrap_ART_NORMAL_FILE_set(PyObject
*_val
) {
12833 PyErr_SetString(PyExc_TypeError
,"Variable ART_NORMAL_FILE is read-only.");
12838 static PyObject
*_wrap_ART_NORMAL_FILE_get() {
12843 pyobj
= PyUnicode_FromWideChar((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
12845 pyobj
= PyString_FromStringAndSize((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
12852 static int _wrap_ART_TICK_MARK_set(PyObject
*_val
) {
12853 PyErr_SetString(PyExc_TypeError
,"Variable ART_TICK_MARK is read-only.");
12858 static PyObject
*_wrap_ART_TICK_MARK_get() {
12863 pyobj
= PyUnicode_FromWideChar((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
12865 pyobj
= PyString_FromStringAndSize((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
12872 static int _wrap_ART_CROSS_MARK_set(PyObject
*_val
) {
12873 PyErr_SetString(PyExc_TypeError
,"Variable ART_CROSS_MARK is read-only.");
12878 static PyObject
*_wrap_ART_CROSS_MARK_get() {
12883 pyobj
= PyUnicode_FromWideChar((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
12885 pyobj
= PyString_FromStringAndSize((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
12892 static int _wrap_ART_ERROR_set(PyObject
*_val
) {
12893 PyErr_SetString(PyExc_TypeError
,"Variable ART_ERROR is read-only.");
12898 static PyObject
*_wrap_ART_ERROR_get() {
12903 pyobj
= PyUnicode_FromWideChar((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
12905 pyobj
= PyString_FromStringAndSize((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
12912 static int _wrap_ART_QUESTION_set(PyObject
*_val
) {
12913 PyErr_SetString(PyExc_TypeError
,"Variable ART_QUESTION is read-only.");
12918 static PyObject
*_wrap_ART_QUESTION_get() {
12923 pyobj
= PyUnicode_FromWideChar((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
12925 pyobj
= PyString_FromStringAndSize((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
12932 static int _wrap_ART_WARNING_set(PyObject
*_val
) {
12933 PyErr_SetString(PyExc_TypeError
,"Variable ART_WARNING is read-only.");
12938 static PyObject
*_wrap_ART_WARNING_get() {
12943 pyobj
= PyUnicode_FromWideChar((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
12945 pyobj
= PyString_FromStringAndSize((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
12952 static int _wrap_ART_INFORMATION_set(PyObject
*_val
) {
12953 PyErr_SetString(PyExc_TypeError
,"Variable ART_INFORMATION is read-only.");
12958 static PyObject
*_wrap_ART_INFORMATION_get() {
12963 pyobj
= PyUnicode_FromWideChar((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
12965 pyobj
= PyString_FromStringAndSize((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
12972 static int _wrap_ART_MISSING_IMAGE_set(PyObject
*_val
) {
12973 PyErr_SetString(PyExc_TypeError
,"Variable ART_MISSING_IMAGE is read-only.");
12978 static PyObject
*_wrap_ART_MISSING_IMAGE_get() {
12983 pyobj
= PyUnicode_FromWideChar((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
12985 pyobj
= PyString_FromStringAndSize((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
12992 static PyObject
*_wrap_new_ArtProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12993 PyObject
*resultobj
;
12994 wxPyArtProvider
*result
;
12995 char *kwnames
[] = {
12999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ArtProvider",kwnames
)) goto fail
;
13001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13002 result
= (wxPyArtProvider
*)new wxPyArtProvider();
13004 wxPyEndAllowThreads(__tstate
);
13005 if (PyErr_Occurred()) SWIG_fail
;
13007 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyArtProvider
, 1);
13014 static PyObject
*_wrap_ArtProvider__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13015 PyObject
*resultobj
;
13016 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
13017 PyObject
*arg2
= (PyObject
*) 0 ;
13018 PyObject
*arg3
= (PyObject
*) 0 ;
13019 PyObject
* obj0
= 0 ;
13020 PyObject
* obj1
= 0 ;
13021 PyObject
* obj2
= 0 ;
13022 char *kwnames
[] = {
13023 (char *) "self",(char *) "self",(char *) "_class", NULL
13026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ArtProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13027 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyArtProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13032 (arg1
)->_setCallbackInfo(arg2
,arg3
);
13034 wxPyEndAllowThreads(__tstate
);
13035 if (PyErr_Occurred()) SWIG_fail
;
13037 Py_INCREF(Py_None
); resultobj
= Py_None
;
13044 static PyObject
*_wrap_ArtProvider_PushProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13045 PyObject
*resultobj
;
13046 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
13047 PyObject
* obj0
= 0 ;
13048 char *kwnames
[] = {
13049 (char *) "provider", NULL
13052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_PushProvider",kwnames
,&obj0
)) goto fail
;
13053 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyArtProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13056 wxPyArtProvider::PushProvider(arg1
);
13058 wxPyEndAllowThreads(__tstate
);
13059 if (PyErr_Occurred()) SWIG_fail
;
13061 Py_INCREF(Py_None
); resultobj
= Py_None
;
13068 static PyObject
*_wrap_ArtProvider_PopProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13069 PyObject
*resultobj
;
13071 char *kwnames
[] = {
13075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ArtProvider_PopProvider",kwnames
)) goto fail
;
13077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13078 result
= (bool)wxPyArtProvider::PopProvider();
13080 wxPyEndAllowThreads(__tstate
);
13081 if (PyErr_Occurred()) SWIG_fail
;
13083 resultobj
= PyInt_FromLong((long)result
);
13090 static PyObject
*_wrap_ArtProvider_RemoveProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13091 PyObject
*resultobj
;
13092 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
13094 PyObject
* obj0
= 0 ;
13095 char *kwnames
[] = {
13096 (char *) "provider", NULL
13099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_RemoveProvider",kwnames
,&obj0
)) goto fail
;
13100 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyArtProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13103 result
= (bool)wxPyArtProvider::RemoveProvider(arg1
);
13105 wxPyEndAllowThreads(__tstate
);
13106 if (PyErr_Occurred()) SWIG_fail
;
13108 resultobj
= PyInt_FromLong((long)result
);
13115 static PyObject
*_wrap_ArtProvider_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13116 PyObject
*resultobj
;
13117 wxString
*arg1
= 0 ;
13118 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
13119 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
13120 wxSize
const &arg3_defvalue
= wxDefaultSize
;
13121 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
13123 bool temp1
= False
;
13124 bool temp2
= False
;
13126 PyObject
* obj0
= 0 ;
13127 PyObject
* obj1
= 0 ;
13128 PyObject
* obj2
= 0 ;
13129 char *kwnames
[] = {
13130 (char *) "id",(char *) "client",(char *) "size", NULL
13133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13135 arg1
= wxString_in_helper(obj0
);
13136 if (arg1
== NULL
) SWIG_fail
;
13141 arg2
= wxString_in_helper(obj1
);
13142 if (arg2
== NULL
) SWIG_fail
;
13149 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
13153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13154 result
= wxPyArtProvider::GetBitmap((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
13156 wxPyEndAllowThreads(__tstate
);
13157 if (PyErr_Occurred()) SWIG_fail
;
13160 wxBitmap
* resultptr
;
13161 resultptr
= new wxBitmap((wxBitmap
&) result
);
13162 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBitmap
, 1);
13186 static PyObject
*_wrap_ArtProvider_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13187 PyObject
*resultobj
;
13188 wxString
*arg1
= 0 ;
13189 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
13190 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
13191 wxSize
const &arg3_defvalue
= wxDefaultSize
;
13192 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
13194 bool temp1
= False
;
13195 bool temp2
= False
;
13197 PyObject
* obj0
= 0 ;
13198 PyObject
* obj1
= 0 ;
13199 PyObject
* obj2
= 0 ;
13200 char *kwnames
[] = {
13201 (char *) "id",(char *) "client",(char *) "size", NULL
13204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13206 arg1
= wxString_in_helper(obj0
);
13207 if (arg1
== NULL
) SWIG_fail
;
13212 arg2
= wxString_in_helper(obj1
);
13213 if (arg2
== NULL
) SWIG_fail
;
13220 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
13224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13225 result
= wxPyArtProvider::GetIcon((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
13227 wxPyEndAllowThreads(__tstate
);
13228 if (PyErr_Occurred()) SWIG_fail
;
13231 wxIcon
* resultptr
;
13232 resultptr
= new wxIcon((wxIcon
&) result
);
13233 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxIcon
, 1);
13257 static PyObject
*_wrap_ArtProvider_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13258 PyObject
*resultobj
;
13259 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
13260 PyObject
* obj0
= 0 ;
13261 char *kwnames
[] = {
13262 (char *) "self", NULL
13265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_Destroy",kwnames
,&obj0
)) goto fail
;
13266 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyArtProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13269 wxPyArtProvider_Destroy(arg1
);
13271 wxPyEndAllowThreads(__tstate
);
13272 if (PyErr_Occurred()) SWIG_fail
;
13274 Py_INCREF(Py_None
); resultobj
= Py_None
;
13281 static PyObject
* ArtProvider_swigregister(PyObject
*self
, PyObject
*args
) {
13283 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13284 SWIG_TypeClientData(SWIGTYPE_p_wxPyArtProvider
, obj
);
13286 return Py_BuildValue((char *)"");
13288 static PyObject
*_wrap_delete_ConfigBase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13289 PyObject
*resultobj
;
13290 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
13291 PyObject
* obj0
= 0 ;
13292 char *kwnames
[] = {
13293 (char *) "self", NULL
13296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ConfigBase",kwnames
,&obj0
)) goto fail
;
13297 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13302 wxPyEndAllowThreads(__tstate
);
13303 if (PyErr_Occurred()) SWIG_fail
;
13305 Py_INCREF(Py_None
); resultobj
= Py_None
;
13312 static PyObject
*_wrap_ConfigBase_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13313 PyObject
*resultobj
;
13314 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
13315 wxConfigBase
*result
;
13316 PyObject
* obj0
= 0 ;
13317 char *kwnames
[] = {
13318 (char *) "pConfig", NULL
13321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_Set",kwnames
,&obj0
)) goto fail
;
13322 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13325 result
= (wxConfigBase
*)wxConfigBase::Set(arg1
);
13327 wxPyEndAllowThreads(__tstate
);
13328 if (PyErr_Occurred()) SWIG_fail
;
13330 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxConfigBase
, 0);
13337 static PyObject
*_wrap_ConfigBase_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13338 PyObject
*resultobj
;
13339 bool arg1
= (bool) True
;
13340 wxConfigBase
*result
;
13341 PyObject
* obj0
= 0 ;
13342 char *kwnames
[] = {
13343 (char *) "createOnDemand", NULL
13346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ConfigBase_Get",kwnames
,&obj0
)) goto fail
;
13348 arg1
= PyInt_AsLong(obj0
) ? true : false;
13349 if (PyErr_Occurred()) SWIG_fail
;
13352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13353 result
= (wxConfigBase
*)wxConfigBase::Get(arg1
);
13355 wxPyEndAllowThreads(__tstate
);
13356 if (PyErr_Occurred()) SWIG_fail
;
13358 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxConfigBase
, 0);
13365 static PyObject
*_wrap_ConfigBase_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13366 PyObject
*resultobj
;
13367 wxConfigBase
*result
;
13368 char *kwnames
[] = {
13372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ConfigBase_Create",kwnames
)) goto fail
;
13374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13375 result
= (wxConfigBase
*)wxConfigBase::Create();
13377 wxPyEndAllowThreads(__tstate
);
13378 if (PyErr_Occurred()) SWIG_fail
;
13380 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxConfigBase
, 0);
13387 static PyObject
*_wrap_ConfigBase_DontCreateOnDemand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13388 PyObject
*resultobj
;
13389 char *kwnames
[] = {
13393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ConfigBase_DontCreateOnDemand",kwnames
)) goto fail
;
13395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13396 wxConfigBase::DontCreateOnDemand();
13398 wxPyEndAllowThreads(__tstate
);
13399 if (PyErr_Occurred()) SWIG_fail
;
13401 Py_INCREF(Py_None
); resultobj
= Py_None
;
13408 static PyObject
*_wrap_ConfigBase_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13409 PyObject
*resultobj
;
13410 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
13411 wxString
*arg2
= 0 ;
13412 bool temp2
= False
;
13413 PyObject
* obj0
= 0 ;
13414 PyObject
* obj1
= 0 ;
13415 char *kwnames
[] = {
13416 (char *) "self",(char *) "strPath", NULL
13419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
13420 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13422 arg2
= wxString_in_helper(obj1
);
13423 if (arg2
== NULL
) SWIG_fail
;
13427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13428 (arg1
)->SetPath((wxString
const &)*arg2
);
13430 wxPyEndAllowThreads(__tstate
);
13431 if (PyErr_Occurred()) SWIG_fail
;
13433 Py_INCREF(Py_None
); resultobj
= Py_None
;
13448 static PyObject
*_wrap_ConfigBase_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13449 PyObject
*resultobj
;
13450 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
13452 PyObject
* obj0
= 0 ;
13453 char *kwnames
[] = {
13454 (char *) "self", NULL
13457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetPath",kwnames
,&obj0
)) goto fail
;
13458 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13462 wxString
const &_result_ref
= ((wxConfigBase
const *)arg1
)->GetPath();
13463 result
= (wxString
*) &_result_ref
;
13466 wxPyEndAllowThreads(__tstate
);
13467 if (PyErr_Occurred()) SWIG_fail
;
13471 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13473 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13482 static PyObject
*_wrap_ConfigBase_GetFirstGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13483 PyObject
*resultobj
;
13484 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
13486 PyObject
* obj0
= 0 ;
13487 char *kwnames
[] = {
13488 (char *) "self", NULL
13491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetFirstGroup",kwnames
,&obj0
)) goto fail
;
13492 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13495 result
= (PyObject
*)wxConfigBase_GetFirstGroup(arg1
);
13497 wxPyEndAllowThreads(__tstate
);
13498 if (PyErr_Occurred()) SWIG_fail
;
13500 resultobj
= result
;
13507 static PyObject
*_wrap_ConfigBase_GetNextGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13508 PyObject
*resultobj
;
13509 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
13512 PyObject
* obj0
= 0 ;
13513 char *kwnames
[] = {
13514 (char *) "self",(char *) "index", NULL
13517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ConfigBase_GetNextGroup",kwnames
,&obj0
,&arg2
)) goto fail
;
13518 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13521 result
= (PyObject
*)wxConfigBase_GetNextGroup(arg1
,arg2
);
13523 wxPyEndAllowThreads(__tstate
);
13524 if (PyErr_Occurred()) SWIG_fail
;
13526 resultobj
= result
;
13533 static PyObject
*_wrap_ConfigBase_GetFirstEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13534 PyObject
*resultobj
;
13535 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
13537 PyObject
* obj0
= 0 ;
13538 char *kwnames
[] = {
13539 (char *) "self", NULL
13542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetFirstEntry",kwnames
,&obj0
)) goto fail
;
13543 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13546 result
= (PyObject
*)wxConfigBase_GetFirstEntry(arg1
);
13548 wxPyEndAllowThreads(__tstate
);
13549 if (PyErr_Occurred()) SWIG_fail
;
13551 resultobj
= result
;
13558 static PyObject
*_wrap_ConfigBase_GetNextEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13559 PyObject
*resultobj
;
13560 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
13563 PyObject
* obj0
= 0 ;
13564 char *kwnames
[] = {
13565 (char *) "self",(char *) "index", NULL
13568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ConfigBase_GetNextEntry",kwnames
,&obj0
,&arg2
)) goto fail
;
13569 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13572 result
= (PyObject
*)wxConfigBase_GetNextEntry(arg1
,arg2
);
13574 wxPyEndAllowThreads(__tstate
);
13575 if (PyErr_Occurred()) SWIG_fail
;
13577 resultobj
= result
;
13584 static PyObject
*_wrap_ConfigBase_GetNumberOfEntries(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13585 PyObject
*resultobj
;
13586 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
13587 bool arg2
= (bool) False
;
13589 PyObject
* obj0
= 0 ;
13590 PyObject
* obj1
= 0 ;
13591 char *kwnames
[] = {
13592 (char *) "self",(char *) "bRecursive", NULL
13595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfEntries",kwnames
,&obj0
,&obj1
)) goto fail
;
13596 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13598 arg2
= PyInt_AsLong(obj1
) ? true : false;
13599 if (PyErr_Occurred()) SWIG_fail
;
13602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13603 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfEntries(arg2
);
13605 wxPyEndAllowThreads(__tstate
);
13606 if (PyErr_Occurred()) SWIG_fail
;
13608 resultobj
= PyInt_FromLong((long)result
);
13615 static PyObject
*_wrap_ConfigBase_GetNumberOfGroups(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13616 PyObject
*resultobj
;
13617 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
13618 bool arg2
= (bool) False
;
13620 PyObject
* obj0
= 0 ;
13621 PyObject
* obj1
= 0 ;
13622 char *kwnames
[] = {
13623 (char *) "self",(char *) "bRecursive", NULL
13626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfGroups",kwnames
,&obj0
,&obj1
)) goto fail
;
13627 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13629 arg2
= PyInt_AsLong(obj1
) ? true : false;
13630 if (PyErr_Occurred()) SWIG_fail
;
13633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13634 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfGroups(arg2
);
13636 wxPyEndAllowThreads(__tstate
);
13637 if (PyErr_Occurred()) SWIG_fail
;
13639 resultobj
= PyInt_FromLong((long)result
);
13646 static PyObject
*_wrap_ConfigBase_HasGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13647 PyObject
*resultobj
;
13648 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
13649 wxString
*arg2
= 0 ;
13651 bool temp2
= False
;
13652 PyObject
* obj0
= 0 ;
13653 PyObject
* obj1
= 0 ;
13654 char *kwnames
[] = {
13655 (char *) "self",(char *) "strName", NULL
13658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
13659 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13661 arg2
= wxString_in_helper(obj1
);
13662 if (arg2
== NULL
) SWIG_fail
;
13666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13667 result
= (bool)((wxConfigBase
const *)arg1
)->HasGroup((wxString
const &)*arg2
);
13669 wxPyEndAllowThreads(__tstate
);
13670 if (PyErr_Occurred()) SWIG_fail
;
13672 resultobj
= PyInt_FromLong((long)result
);
13687 static PyObject
*_wrap_ConfigBase_HasEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13688 PyObject
*resultobj
;
13689 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
13690 wxString
*arg2
= 0 ;
13692 bool temp2
= False
;
13693 PyObject
* obj0
= 0 ;
13694 PyObject
* obj1
= 0 ;
13695 char *kwnames
[] = {
13696 (char *) "self",(char *) "strName", NULL
13699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasEntry",kwnames
,&obj0
,&obj1
)) goto fail
;
13700 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13702 arg2
= wxString_in_helper(obj1
);
13703 if (arg2
== NULL
) SWIG_fail
;
13707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13708 result
= (bool)((wxConfigBase
const *)arg1
)->HasEntry((wxString
const &)*arg2
);
13710 wxPyEndAllowThreads(__tstate
);
13711 if (PyErr_Occurred()) SWIG_fail
;
13713 resultobj
= PyInt_FromLong((long)result
);
13728 static PyObject
*_wrap_ConfigBase_Exists(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13729 PyObject
*resultobj
;
13730 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
13731 wxString
*arg2
= 0 ;
13733 bool temp2
= False
;
13734 PyObject
* obj0
= 0 ;
13735 PyObject
* obj1
= 0 ;
13736 char *kwnames
[] = {
13737 (char *) "self",(char *) "strName", NULL
13740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_Exists",kwnames
,&obj0
,&obj1
)) goto fail
;
13741 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13743 arg2
= wxString_in_helper(obj1
);
13744 if (arg2
== NULL
) SWIG_fail
;
13748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13749 result
= (bool)((wxConfigBase
const *)arg1
)->Exists((wxString
const &)*arg2
);
13751 wxPyEndAllowThreads(__tstate
);
13752 if (PyErr_Occurred()) SWIG_fail
;
13754 resultobj
= PyInt_FromLong((long)result
);
13769 static PyObject
*_wrap_ConfigBase_GetEntryType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13770 PyObject
*resultobj
;
13771 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
13772 wxString
*arg2
= 0 ;
13774 bool temp2
= False
;
13775 PyObject
* obj0
= 0 ;
13776 PyObject
* obj1
= 0 ;
13777 char *kwnames
[] = {
13778 (char *) "self",(char *) "name", NULL
13781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetEntryType",kwnames
,&obj0
,&obj1
)) goto fail
;
13782 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13784 arg2
= wxString_in_helper(obj1
);
13785 if (arg2
== NULL
) SWIG_fail
;
13789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13790 result
= (int)((wxConfigBase
const *)arg1
)->GetEntryType((wxString
const &)*arg2
);
13792 wxPyEndAllowThreads(__tstate
);
13793 if (PyErr_Occurred()) SWIG_fail
;
13795 resultobj
= PyInt_FromLong((long)result
);
13810 static PyObject
*_wrap_ConfigBase_Read(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13811 PyObject
*resultobj
;
13812 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
13813 wxString
*arg2
= 0 ;
13814 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13815 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13817 bool temp2
= False
;
13818 bool temp3
= False
;
13819 PyObject
* obj0
= 0 ;
13820 PyObject
* obj1
= 0 ;
13821 PyObject
* obj2
= 0 ;
13822 char *kwnames
[] = {
13823 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
13826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_Read",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13827 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13829 arg2
= wxString_in_helper(obj1
);
13830 if (arg2
== NULL
) SWIG_fail
;
13835 arg3
= wxString_in_helper(obj2
);
13836 if (arg3
== NULL
) SWIG_fail
;
13841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13842 result
= (arg1
)->Read((wxString
const &)*arg2
,(wxString
const &)*arg3
);
13844 wxPyEndAllowThreads(__tstate
);
13845 if (PyErr_Occurred()) SWIG_fail
;
13849 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13851 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13876 static PyObject
*_wrap_ConfigBase_ReadInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13877 PyObject
*resultobj
;
13878 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
13879 wxString
*arg2
= 0 ;
13880 long arg3
= (long) 0 ;
13882 bool temp2
= False
;
13883 PyObject
* obj0
= 0 ;
13884 PyObject
* obj1
= 0 ;
13885 char *kwnames
[] = {
13886 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
13889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|l:ConfigBase_ReadInt",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
13890 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13892 arg2
= wxString_in_helper(obj1
);
13893 if (arg2
== NULL
) SWIG_fail
;
13897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13898 result
= (long)wxConfigBase_ReadInt(arg1
,(wxString
const &)*arg2
,arg3
);
13900 wxPyEndAllowThreads(__tstate
);
13901 if (PyErr_Occurred()) SWIG_fail
;
13903 resultobj
= PyInt_FromLong((long)result
);
13918 static PyObject
*_wrap_ConfigBase_ReadFloat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13919 PyObject
*resultobj
;
13920 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
13921 wxString
*arg2
= 0 ;
13922 double arg3
= (double) 0.0 ;
13924 bool temp2
= False
;
13925 PyObject
* obj0
= 0 ;
13926 PyObject
* obj1
= 0 ;
13927 char *kwnames
[] = {
13928 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
13931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|d:ConfigBase_ReadFloat",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
13932 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13934 arg2
= wxString_in_helper(obj1
);
13935 if (arg2
== NULL
) SWIG_fail
;
13939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13940 result
= (double)wxConfigBase_ReadFloat(arg1
,(wxString
const &)*arg2
,arg3
);
13942 wxPyEndAllowThreads(__tstate
);
13943 if (PyErr_Occurred()) SWIG_fail
;
13945 resultobj
= PyFloat_FromDouble(result
);
13960 static PyObject
*_wrap_ConfigBase_ReadBool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13961 PyObject
*resultobj
;
13962 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
13963 wxString
*arg2
= 0 ;
13964 bool arg3
= (bool) False
;
13966 bool temp2
= False
;
13967 PyObject
* obj0
= 0 ;
13968 PyObject
* obj1
= 0 ;
13969 PyObject
* obj2
= 0 ;
13970 char *kwnames
[] = {
13971 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
13974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadBool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13975 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13977 arg2
= wxString_in_helper(obj1
);
13978 if (arg2
== NULL
) SWIG_fail
;
13982 arg3
= PyInt_AsLong(obj2
) ? true : false;
13983 if (PyErr_Occurred()) SWIG_fail
;
13986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13987 result
= (bool)wxConfigBase_ReadBool(arg1
,(wxString
const &)*arg2
,arg3
);
13989 wxPyEndAllowThreads(__tstate
);
13990 if (PyErr_Occurred()) SWIG_fail
;
13992 resultobj
= PyInt_FromLong((long)result
);
14007 static PyObject
*_wrap_ConfigBase_Write(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14008 PyObject
*resultobj
;
14009 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14010 wxString
*arg2
= 0 ;
14011 wxString
*arg3
= 0 ;
14013 bool temp2
= False
;
14014 bool temp3
= False
;
14015 PyObject
* obj0
= 0 ;
14016 PyObject
* obj1
= 0 ;
14017 PyObject
* obj2
= 0 ;
14018 char *kwnames
[] = {
14019 (char *) "self",(char *) "key",(char *) "value", NULL
14022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_Write",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14023 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14025 arg2
= wxString_in_helper(obj1
);
14026 if (arg2
== NULL
) SWIG_fail
;
14030 arg3
= wxString_in_helper(obj2
);
14031 if (arg3
== NULL
) SWIG_fail
;
14035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14036 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,(wxString
const &)*arg3
);
14038 wxPyEndAllowThreads(__tstate
);
14039 if (PyErr_Occurred()) SWIG_fail
;
14041 resultobj
= PyInt_FromLong((long)result
);
14064 static PyObject
*_wrap_ConfigBase_WriteInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14065 PyObject
*resultobj
;
14066 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14067 wxString
*arg2
= 0 ;
14070 bool temp2
= False
;
14071 PyObject
* obj0
= 0 ;
14072 PyObject
* obj1
= 0 ;
14073 char *kwnames
[] = {
14074 (char *) "self",(char *) "key",(char *) "value", NULL
14077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOl:ConfigBase_WriteInt",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
14078 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14080 arg2
= wxString_in_helper(obj1
);
14081 if (arg2
== NULL
) SWIG_fail
;
14085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14086 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
14088 wxPyEndAllowThreads(__tstate
);
14089 if (PyErr_Occurred()) SWIG_fail
;
14091 resultobj
= PyInt_FromLong((long)result
);
14106 static PyObject
*_wrap_ConfigBase_WriteFloat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14107 PyObject
*resultobj
;
14108 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14109 wxString
*arg2
= 0 ;
14112 bool temp2
= False
;
14113 PyObject
* obj0
= 0 ;
14114 PyObject
* obj1
= 0 ;
14115 char *kwnames
[] = {
14116 (char *) "self",(char *) "key",(char *) "value", NULL
14119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOd:ConfigBase_WriteFloat",kwnames
,&obj0
,&obj1
,&arg3
)) 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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14128 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
14130 wxPyEndAllowThreads(__tstate
);
14131 if (PyErr_Occurred()) SWIG_fail
;
14133 resultobj
= PyInt_FromLong((long)result
);
14148 static PyObject
*_wrap_ConfigBase_WriteBool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14149 PyObject
*resultobj
;
14150 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14151 wxString
*arg2
= 0 ;
14154 bool temp2
= False
;
14155 PyObject
* obj0
= 0 ;
14156 PyObject
* obj1
= 0 ;
14157 PyObject
* obj2
= 0 ;
14158 char *kwnames
[] = {
14159 (char *) "self",(char *) "key",(char *) "value", NULL
14162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteBool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14163 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14165 arg2
= wxString_in_helper(obj1
);
14166 if (arg2
== NULL
) SWIG_fail
;
14169 arg3
= PyInt_AsLong(obj2
) ? true : false;
14170 if (PyErr_Occurred()) SWIG_fail
;
14172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14173 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
14175 wxPyEndAllowThreads(__tstate
);
14176 if (PyErr_Occurred()) SWIG_fail
;
14178 resultobj
= PyInt_FromLong((long)result
);
14193 static PyObject
*_wrap_ConfigBase_Flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14194 PyObject
*resultobj
;
14195 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14196 bool arg2
= (bool) False
;
14198 PyObject
* obj0
= 0 ;
14199 PyObject
* obj1
= 0 ;
14200 char *kwnames
[] = {
14201 (char *) "self",(char *) "bCurrentOnly", NULL
14204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_Flush",kwnames
,&obj0
,&obj1
)) goto fail
;
14205 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14207 arg2
= PyInt_AsLong(obj1
) ? true : false;
14208 if (PyErr_Occurred()) SWIG_fail
;
14211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14212 result
= (bool)(arg1
)->Flush(arg2
);
14214 wxPyEndAllowThreads(__tstate
);
14215 if (PyErr_Occurred()) SWIG_fail
;
14217 resultobj
= PyInt_FromLong((long)result
);
14224 static PyObject
*_wrap_ConfigBase_RenameEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14225 PyObject
*resultobj
;
14226 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14227 wxString
*arg2
= 0 ;
14228 wxString
*arg3
= 0 ;
14230 bool temp2
= False
;
14231 bool temp3
= False
;
14232 PyObject
* obj0
= 0 ;
14233 PyObject
* obj1
= 0 ;
14234 PyObject
* obj2
= 0 ;
14235 char *kwnames
[] = {
14236 (char *) "self",(char *) "oldName",(char *) "newName", NULL
14239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14240 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14242 arg2
= wxString_in_helper(obj1
);
14243 if (arg2
== NULL
) SWIG_fail
;
14247 arg3
= wxString_in_helper(obj2
);
14248 if (arg3
== NULL
) SWIG_fail
;
14252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14253 result
= (bool)(arg1
)->RenameEntry((wxString
const &)*arg2
,(wxString
const &)*arg3
);
14255 wxPyEndAllowThreads(__tstate
);
14256 if (PyErr_Occurred()) SWIG_fail
;
14258 resultobj
= PyInt_FromLong((long)result
);
14281 static PyObject
*_wrap_ConfigBase_RenameGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14282 PyObject
*resultobj
;
14283 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14284 wxString
*arg2
= 0 ;
14285 wxString
*arg3
= 0 ;
14287 bool temp2
= False
;
14288 bool temp3
= False
;
14289 PyObject
* obj0
= 0 ;
14290 PyObject
* obj1
= 0 ;
14291 PyObject
* obj2
= 0 ;
14292 char *kwnames
[] = {
14293 (char *) "self",(char *) "oldName",(char *) "newName", NULL
14296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameGroup",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14297 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14299 arg2
= wxString_in_helper(obj1
);
14300 if (arg2
== NULL
) SWIG_fail
;
14304 arg3
= wxString_in_helper(obj2
);
14305 if (arg3
== NULL
) SWIG_fail
;
14309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14310 result
= (bool)(arg1
)->RenameGroup((wxString
const &)*arg2
,(wxString
const &)*arg3
);
14312 wxPyEndAllowThreads(__tstate
);
14313 if (PyErr_Occurred()) SWIG_fail
;
14315 resultobj
= PyInt_FromLong((long)result
);
14338 static PyObject
*_wrap_ConfigBase_DeleteEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14339 PyObject
*resultobj
;
14340 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14341 wxString
*arg2
= 0 ;
14342 bool arg3
= (bool) True
;
14344 bool temp2
= False
;
14345 PyObject
* obj0
= 0 ;
14346 PyObject
* obj1
= 0 ;
14347 PyObject
* obj2
= 0 ;
14348 char *kwnames
[] = {
14349 (char *) "self",(char *) "key",(char *) "bDeleteGroupIfEmpty", NULL
14352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_DeleteEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14353 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14355 arg2
= wxString_in_helper(obj1
);
14356 if (arg2
== NULL
) SWIG_fail
;
14360 arg3
= PyInt_AsLong(obj2
) ? true : false;
14361 if (PyErr_Occurred()) SWIG_fail
;
14364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14365 result
= (bool)(arg1
)->DeleteEntry((wxString
const &)*arg2
,arg3
);
14367 wxPyEndAllowThreads(__tstate
);
14368 if (PyErr_Occurred()) SWIG_fail
;
14370 resultobj
= PyInt_FromLong((long)result
);
14385 static PyObject
*_wrap_ConfigBase_DeleteGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14386 PyObject
*resultobj
;
14387 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14388 wxString
*arg2
= 0 ;
14390 bool temp2
= False
;
14391 PyObject
* obj0
= 0 ;
14392 PyObject
* obj1
= 0 ;
14393 char *kwnames
[] = {
14394 (char *) "self",(char *) "key", NULL
14397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_DeleteGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
14398 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14400 arg2
= wxString_in_helper(obj1
);
14401 if (arg2
== NULL
) SWIG_fail
;
14405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14406 result
= (bool)(arg1
)->DeleteGroup((wxString
const &)*arg2
);
14408 wxPyEndAllowThreads(__tstate
);
14409 if (PyErr_Occurred()) SWIG_fail
;
14411 resultobj
= PyInt_FromLong((long)result
);
14426 static PyObject
*_wrap_ConfigBase_DeleteAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14427 PyObject
*resultobj
;
14428 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14430 PyObject
* obj0
= 0 ;
14431 char *kwnames
[] = {
14432 (char *) "self", NULL
14435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_DeleteAll",kwnames
,&obj0
)) goto fail
;
14436 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14439 result
= (bool)(arg1
)->DeleteAll();
14441 wxPyEndAllowThreads(__tstate
);
14442 if (PyErr_Occurred()) SWIG_fail
;
14444 resultobj
= PyInt_FromLong((long)result
);
14451 static PyObject
*_wrap_ConfigBase_IsExpandingEnvVars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14452 PyObject
*resultobj
;
14453 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14455 PyObject
* obj0
= 0 ;
14456 char *kwnames
[] = {
14457 (char *) "self", NULL
14460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_IsExpandingEnvVars",kwnames
,&obj0
)) goto fail
;
14461 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14464 result
= (bool)((wxConfigBase
const *)arg1
)->IsExpandingEnvVars();
14466 wxPyEndAllowThreads(__tstate
);
14467 if (PyErr_Occurred()) SWIG_fail
;
14469 resultobj
= PyInt_FromLong((long)result
);
14476 static PyObject
*_wrap_ConfigBase_SetExpandEnvVars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14477 PyObject
*resultobj
;
14478 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14479 bool arg2
= (bool) True
;
14480 PyObject
* obj0
= 0 ;
14481 PyObject
* obj1
= 0 ;
14482 char *kwnames
[] = {
14483 (char *) "self",(char *) "bDoIt", NULL
14486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetExpandEnvVars",kwnames
,&obj0
,&obj1
)) goto fail
;
14487 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14489 arg2
= PyInt_AsLong(obj1
) ? true : false;
14490 if (PyErr_Occurred()) SWIG_fail
;
14493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14494 (arg1
)->SetExpandEnvVars(arg2
);
14496 wxPyEndAllowThreads(__tstate
);
14497 if (PyErr_Occurred()) SWIG_fail
;
14499 Py_INCREF(Py_None
); resultobj
= Py_None
;
14506 static PyObject
*_wrap_ConfigBase_SetRecordDefaults(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14507 PyObject
*resultobj
;
14508 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14509 bool arg2
= (bool) True
;
14510 PyObject
* obj0
= 0 ;
14511 PyObject
* obj1
= 0 ;
14512 char *kwnames
[] = {
14513 (char *) "self",(char *) "bDoIt", NULL
14516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetRecordDefaults",kwnames
,&obj0
,&obj1
)) goto fail
;
14517 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14519 arg2
= PyInt_AsLong(obj1
) ? true : false;
14520 if (PyErr_Occurred()) SWIG_fail
;
14523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14524 (arg1
)->SetRecordDefaults(arg2
);
14526 wxPyEndAllowThreads(__tstate
);
14527 if (PyErr_Occurred()) SWIG_fail
;
14529 Py_INCREF(Py_None
); resultobj
= Py_None
;
14536 static PyObject
*_wrap_ConfigBase_IsRecordingDefaults(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14537 PyObject
*resultobj
;
14538 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14540 PyObject
* obj0
= 0 ;
14541 char *kwnames
[] = {
14542 (char *) "self", NULL
14545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_IsRecordingDefaults",kwnames
,&obj0
)) goto fail
;
14546 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14549 result
= (bool)((wxConfigBase
const *)arg1
)->IsRecordingDefaults();
14551 wxPyEndAllowThreads(__tstate
);
14552 if (PyErr_Occurred()) SWIG_fail
;
14554 resultobj
= PyInt_FromLong((long)result
);
14561 static PyObject
*_wrap_ConfigBase_ExpandEnvVars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14562 PyObject
*resultobj
;
14563 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14564 wxString
*arg2
= 0 ;
14566 bool temp2
= False
;
14567 PyObject
* obj0
= 0 ;
14568 PyObject
* obj1
= 0 ;
14569 char *kwnames
[] = {
14570 (char *) "self",(char *) "str", NULL
14573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_ExpandEnvVars",kwnames
,&obj0
,&obj1
)) goto fail
;
14574 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14576 arg2
= wxString_in_helper(obj1
);
14577 if (arg2
== NULL
) SWIG_fail
;
14581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14582 result
= ((wxConfigBase
const *)arg1
)->ExpandEnvVars((wxString
const &)*arg2
);
14584 wxPyEndAllowThreads(__tstate
);
14585 if (PyErr_Occurred()) SWIG_fail
;
14589 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14591 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14608 static PyObject
*_wrap_ConfigBase_GetAppName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14609 PyObject
*resultobj
;
14610 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14612 PyObject
* obj0
= 0 ;
14613 char *kwnames
[] = {
14614 (char *) "self", NULL
14617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetAppName",kwnames
,&obj0
)) goto fail
;
14618 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14621 result
= ((wxConfigBase
const *)arg1
)->GetAppName();
14623 wxPyEndAllowThreads(__tstate
);
14624 if (PyErr_Occurred()) SWIG_fail
;
14628 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14630 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14639 static PyObject
*_wrap_ConfigBase_GetVendorName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14640 PyObject
*resultobj
;
14641 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14643 PyObject
* obj0
= 0 ;
14644 char *kwnames
[] = {
14645 (char *) "self", NULL
14648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetVendorName",kwnames
,&obj0
)) goto fail
;
14649 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14652 result
= ((wxConfigBase
const *)arg1
)->GetVendorName();
14654 wxPyEndAllowThreads(__tstate
);
14655 if (PyErr_Occurred()) SWIG_fail
;
14659 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14661 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14670 static PyObject
*_wrap_ConfigBase_SetAppName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14671 PyObject
*resultobj
;
14672 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14673 wxString
*arg2
= 0 ;
14674 bool temp2
= False
;
14675 PyObject
* obj0
= 0 ;
14676 PyObject
* obj1
= 0 ;
14677 char *kwnames
[] = {
14678 (char *) "self",(char *) "appName", NULL
14681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetAppName",kwnames
,&obj0
,&obj1
)) goto fail
;
14682 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14684 arg2
= wxString_in_helper(obj1
);
14685 if (arg2
== NULL
) SWIG_fail
;
14689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14690 (arg1
)->SetAppName((wxString
const &)*arg2
);
14692 wxPyEndAllowThreads(__tstate
);
14693 if (PyErr_Occurred()) SWIG_fail
;
14695 Py_INCREF(Py_None
); resultobj
= Py_None
;
14710 static PyObject
*_wrap_ConfigBase_SetVendorName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14711 PyObject
*resultobj
;
14712 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14713 wxString
*arg2
= 0 ;
14714 bool temp2
= False
;
14715 PyObject
* obj0
= 0 ;
14716 PyObject
* obj1
= 0 ;
14717 char *kwnames
[] = {
14718 (char *) "self",(char *) "vendorName", NULL
14721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetVendorName",kwnames
,&obj0
,&obj1
)) goto fail
;
14722 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14724 arg2
= wxString_in_helper(obj1
);
14725 if (arg2
== NULL
) SWIG_fail
;
14729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14730 (arg1
)->SetVendorName((wxString
const &)*arg2
);
14732 wxPyEndAllowThreads(__tstate
);
14733 if (PyErr_Occurred()) SWIG_fail
;
14735 Py_INCREF(Py_None
); resultobj
= Py_None
;
14750 static PyObject
*_wrap_ConfigBase_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14751 PyObject
*resultobj
;
14752 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14754 PyObject
* obj0
= 0 ;
14755 char *kwnames
[] = {
14756 (char *) "self",(char *) "style", NULL
14759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ConfigBase_SetStyle",kwnames
,&obj0
,&arg2
)) goto fail
;
14760 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14763 (arg1
)->SetStyle(arg2
);
14765 wxPyEndAllowThreads(__tstate
);
14766 if (PyErr_Occurred()) SWIG_fail
;
14768 Py_INCREF(Py_None
); resultobj
= Py_None
;
14775 static PyObject
*_wrap_ConfigBase_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14776 PyObject
*resultobj
;
14777 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14779 PyObject
* obj0
= 0 ;
14780 char *kwnames
[] = {
14781 (char *) "self", NULL
14784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetStyle",kwnames
,&obj0
)) goto fail
;
14785 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14788 result
= (long)((wxConfigBase
const *)arg1
)->GetStyle();
14790 wxPyEndAllowThreads(__tstate
);
14791 if (PyErr_Occurred()) SWIG_fail
;
14793 resultobj
= PyInt_FromLong((long)result
);
14800 static PyObject
* ConfigBase_swigregister(PyObject
*self
, PyObject
*args
) {
14802 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14803 SWIG_TypeClientData(SWIGTYPE_p_wxConfigBase
, obj
);
14805 return Py_BuildValue((char *)"");
14807 static PyObject
*_wrap_new_ConfigPathChanger(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14808 PyObject
*resultobj
;
14809 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14810 wxString
*arg2
= 0 ;
14811 wxConfigPathChanger
*result
;
14812 bool temp2
= False
;
14813 PyObject
* obj0
= 0 ;
14814 PyObject
* obj1
= 0 ;
14815 char *kwnames
[] = {
14816 (char *) "pContainer",(char *) "strEntry", NULL
14819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_ConfigPathChanger",kwnames
,&obj0
,&obj1
)) goto fail
;
14820 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14822 arg2
= wxString_in_helper(obj1
);
14823 if (arg2
== NULL
) SWIG_fail
;
14827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14828 result
= (wxConfigPathChanger
*)new wxConfigPathChanger((wxConfigBase
const *)arg1
,(wxString
const &)*arg2
);
14830 wxPyEndAllowThreads(__tstate
);
14831 if (PyErr_Occurred()) SWIG_fail
;
14833 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxConfigPathChanger
, 1);
14848 static PyObject
*_wrap_delete_ConfigPathChanger(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14849 PyObject
*resultobj
;
14850 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
14851 PyObject
* obj0
= 0 ;
14852 char *kwnames
[] = {
14853 (char *) "self", NULL
14856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ConfigPathChanger",kwnames
,&obj0
)) goto fail
;
14857 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigPathChanger
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14862 wxPyEndAllowThreads(__tstate
);
14863 if (PyErr_Occurred()) SWIG_fail
;
14865 Py_INCREF(Py_None
); resultobj
= Py_None
;
14872 static PyObject
*_wrap_ConfigPathChanger_Name(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14873 PyObject
*resultobj
;
14874 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
14876 PyObject
* obj0
= 0 ;
14877 char *kwnames
[] = {
14878 (char *) "self", NULL
14881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigPathChanger_Name",kwnames
,&obj0
)) goto fail
;
14882 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigPathChanger
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14886 wxString
const &_result_ref
= ((wxConfigPathChanger
const *)arg1
)->Name();
14887 result
= (wxString
*) &_result_ref
;
14890 wxPyEndAllowThreads(__tstate
);
14891 if (PyErr_Occurred()) SWIG_fail
;
14895 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14897 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14906 static PyObject
* ConfigPathChanger_swigregister(PyObject
*self
, PyObject
*args
) {
14908 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14909 SWIG_TypeClientData(SWIGTYPE_p_wxConfigPathChanger
, obj
);
14911 return Py_BuildValue((char *)"");
14913 static PyObject
*_wrap_new_Config(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14914 PyObject
*resultobj
;
14915 wxString
const &arg1_defvalue
= wxPyEmptyString
;
14916 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
14917 wxString
const &arg2_defvalue
= wxPyEmptyString
;
14918 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
14919 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14920 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14921 wxString
const &arg4_defvalue
= wxPyEmptyString
;
14922 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
14923 long arg5
= (long) 0 ;
14925 bool temp1
= False
;
14926 bool temp2
= False
;
14927 bool temp3
= False
;
14928 bool temp4
= False
;
14929 PyObject
* obj0
= 0 ;
14930 PyObject
* obj1
= 0 ;
14931 PyObject
* obj2
= 0 ;
14932 PyObject
* obj3
= 0 ;
14933 char *kwnames
[] = {
14934 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
14937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOl:new_Config",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&arg5
)) goto fail
;
14940 arg1
= wxString_in_helper(obj0
);
14941 if (arg1
== NULL
) SWIG_fail
;
14947 arg2
= wxString_in_helper(obj1
);
14948 if (arg2
== NULL
) SWIG_fail
;
14954 arg3
= wxString_in_helper(obj2
);
14955 if (arg3
== NULL
) SWIG_fail
;
14961 arg4
= wxString_in_helper(obj3
);
14962 if (arg4
== NULL
) SWIG_fail
;
14967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14968 result
= (wxConfig
*)new wxConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
14970 wxPyEndAllowThreads(__tstate
);
14971 if (PyErr_Occurred()) SWIG_fail
;
14973 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxConfig
, 1);
15012 static PyObject
*_wrap_delete_Config(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15013 PyObject
*resultobj
;
15014 wxConfig
*arg1
= (wxConfig
*) 0 ;
15015 PyObject
* obj0
= 0 ;
15016 char *kwnames
[] = {
15017 (char *) "self", NULL
15020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Config",kwnames
,&obj0
)) goto fail
;
15021 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfig
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15026 wxPyEndAllowThreads(__tstate
);
15027 if (PyErr_Occurred()) SWIG_fail
;
15029 Py_INCREF(Py_None
); resultobj
= Py_None
;
15036 static PyObject
* Config_swigregister(PyObject
*self
, PyObject
*args
) {
15038 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15039 SWIG_TypeClientData(SWIGTYPE_p_wxConfig
, obj
);
15041 return Py_BuildValue((char *)"");
15043 static PyObject
*_wrap_new_FileConfig(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15044 PyObject
*resultobj
;
15045 wxString
const &arg1_defvalue
= wxPyEmptyString
;
15046 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
15047 wxString
const &arg2_defvalue
= wxPyEmptyString
;
15048 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
15049 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15050 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15051 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15052 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15053 long arg5
= (long) 0 ;
15054 wxFileConfig
*result
;
15055 bool temp1
= False
;
15056 bool temp2
= False
;
15057 bool temp3
= False
;
15058 bool temp4
= False
;
15059 PyObject
* obj0
= 0 ;
15060 PyObject
* obj1
= 0 ;
15061 PyObject
* obj2
= 0 ;
15062 PyObject
* obj3
= 0 ;
15063 char *kwnames
[] = {
15064 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
15067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOl:new_FileConfig",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&arg5
)) goto fail
;
15070 arg1
= wxString_in_helper(obj0
);
15071 if (arg1
== NULL
) SWIG_fail
;
15077 arg2
= wxString_in_helper(obj1
);
15078 if (arg2
== NULL
) SWIG_fail
;
15084 arg3
= wxString_in_helper(obj2
);
15085 if (arg3
== NULL
) SWIG_fail
;
15091 arg4
= wxString_in_helper(obj3
);
15092 if (arg4
== NULL
) SWIG_fail
;
15097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15098 result
= (wxFileConfig
*)new wxFileConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
15100 wxPyEndAllowThreads(__tstate
);
15101 if (PyErr_Occurred()) SWIG_fail
;
15103 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFileConfig
, 1);
15142 static PyObject
*_wrap_delete_FileConfig(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15143 PyObject
*resultobj
;
15144 wxFileConfig
*arg1
= (wxFileConfig
*) 0 ;
15145 PyObject
* obj0
= 0 ;
15146 char *kwnames
[] = {
15147 (char *) "self", NULL
15150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileConfig",kwnames
,&obj0
)) goto fail
;
15151 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileConfig
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15156 wxPyEndAllowThreads(__tstate
);
15157 if (PyErr_Occurred()) SWIG_fail
;
15159 Py_INCREF(Py_None
); resultobj
= Py_None
;
15166 static PyObject
* FileConfig_swigregister(PyObject
*self
, PyObject
*args
) {
15168 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15169 SWIG_TypeClientData(SWIGTYPE_p_wxFileConfig
, obj
);
15171 return Py_BuildValue((char *)"");
15173 static PyObject
*_wrap_ExpandEnvVars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15174 PyObject
*resultobj
;
15175 wxString
*arg1
= 0 ;
15177 bool temp1
= False
;
15178 PyObject
* obj0
= 0 ;
15179 char *kwnames
[] = {
15180 (char *) "sz", NULL
15183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ExpandEnvVars",kwnames
,&obj0
)) goto fail
;
15185 arg1
= wxString_in_helper(obj0
);
15186 if (arg1
== NULL
) SWIG_fail
;
15190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15191 result
= wxExpandEnvVars((wxString
const &)*arg1
);
15193 wxPyEndAllowThreads(__tstate
);
15194 if (PyErr_Occurred()) SWIG_fail
;
15198 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15200 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15217 static int _wrap_DateFormatStr_set(PyObject
*_val
) {
15218 PyErr_SetString(PyExc_TypeError
,"Variable DateFormatStr is read-only.");
15223 static PyObject
*_wrap_DateFormatStr_get() {
15228 pyobj
= PyUnicode_FromWideChar((&wxPyDateFormatStr
)->c_str(), (&wxPyDateFormatStr
)->Len());
15230 pyobj
= PyString_FromStringAndSize((&wxPyDateFormatStr
)->c_str(), (&wxPyDateFormatStr
)->Len());
15237 static int _wrap_TimeSpanFormatStr_set(PyObject
*_val
) {
15238 PyErr_SetString(PyExc_TypeError
,"Variable TimeSpanFormatStr is read-only.");
15243 static PyObject
*_wrap_TimeSpanFormatStr_get() {
15248 pyobj
= PyUnicode_FromWideChar((&wxPyTimeSpanFormatStr
)->c_str(), (&wxPyTimeSpanFormatStr
)->Len());
15250 pyobj
= PyString_FromStringAndSize((&wxPyTimeSpanFormatStr
)->c_str(), (&wxPyTimeSpanFormatStr
)->Len());
15257 static PyObject
*_wrap_DateTime_SetCountry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15258 PyObject
*resultobj
;
15260 char *kwnames
[] = {
15261 (char *) "country", NULL
15264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i:DateTime_SetCountry",kwnames
,&arg1
)) goto fail
;
15266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15267 wxDateTime::SetCountry((wxDateTime::Country
)arg1
);
15269 wxPyEndAllowThreads(__tstate
);
15270 if (PyErr_Occurred()) SWIG_fail
;
15272 Py_INCREF(Py_None
); resultobj
= Py_None
;
15279 static PyObject
*_wrap_DateTime_GetCountry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15280 PyObject
*resultobj
;
15282 char *kwnames
[] = {
15286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_GetCountry",kwnames
)) goto fail
;
15288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15289 result
= (int)wxDateTime::GetCountry();
15291 wxPyEndAllowThreads(__tstate
);
15292 if (PyErr_Occurred()) SWIG_fail
;
15294 resultobj
= PyInt_FromLong((long)result
);
15301 static PyObject
*_wrap_DateTime_IsWestEuropeanCountry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15302 PyObject
*resultobj
;
15303 int arg1
= (int) wxDateTime::Country_Default
;
15305 char *kwnames
[] = {
15306 (char *) "country", NULL
15309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|i:DateTime_IsWestEuropeanCountry",kwnames
,&arg1
)) goto fail
;
15311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15312 result
= (bool)wxDateTime::IsWestEuropeanCountry((wxDateTime::Country
)arg1
);
15314 wxPyEndAllowThreads(__tstate
);
15315 if (PyErr_Occurred()) SWIG_fail
;
15317 resultobj
= PyInt_FromLong((long)result
);
15324 static PyObject
*_wrap_DateTime_GetCurrentYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15325 PyObject
*resultobj
;
15326 int arg1
= (int) wxDateTime::Gregorian
;
15328 char *kwnames
[] = {
15329 (char *) "cal", NULL
15332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|i:DateTime_GetCurrentYear",kwnames
,&arg1
)) goto fail
;
15334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15335 result
= (int)wxDateTime::GetCurrentYear((wxDateTime::Calendar
)arg1
);
15337 wxPyEndAllowThreads(__tstate
);
15338 if (PyErr_Occurred()) SWIG_fail
;
15340 resultobj
= PyInt_FromLong((long)result
);
15347 static PyObject
*_wrap_DateTime_ConvertYearToBC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15348 PyObject
*resultobj
;
15351 char *kwnames
[] = {
15352 (char *) "year", NULL
15355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i:DateTime_ConvertYearToBC",kwnames
,&arg1
)) goto fail
;
15357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15358 result
= (int)wxDateTime::ConvertYearToBC(arg1
);
15360 wxPyEndAllowThreads(__tstate
);
15361 if (PyErr_Occurred()) SWIG_fail
;
15363 resultobj
= PyInt_FromLong((long)result
);
15370 static PyObject
*_wrap_DateTime_GetCurrentMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15371 PyObject
*resultobj
;
15372 int arg1
= (int) wxDateTime::Gregorian
;
15374 char *kwnames
[] = {
15375 (char *) "cal", NULL
15378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|i:DateTime_GetCurrentMonth",kwnames
,&arg1
)) goto fail
;
15380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15381 result
= (int)wxDateTime::GetCurrentMonth((wxDateTime::Calendar
)arg1
);
15383 wxPyEndAllowThreads(__tstate
);
15384 if (PyErr_Occurred()) SWIG_fail
;
15386 resultobj
= PyInt_FromLong((long)result
);
15393 static PyObject
*_wrap_DateTime_IsLeapYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15394 PyObject
*resultobj
;
15395 int arg1
= (int) wxDateTime::Inv_Year
;
15396 int arg2
= (int) wxDateTime::Gregorian
;
15398 char *kwnames
[] = {
15399 (char *) "year",(char *) "cal", NULL
15402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:DateTime_IsLeapYear",kwnames
,&arg1
,&arg2
)) goto fail
;
15404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15405 result
= (bool)wxDateTime::IsLeapYear(arg1
,(wxDateTime::Calendar
)arg2
);
15407 wxPyEndAllowThreads(__tstate
);
15408 if (PyErr_Occurred()) SWIG_fail
;
15410 resultobj
= PyInt_FromLong((long)result
);
15417 static PyObject
*_wrap_DateTime_GetCentury(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15418 PyObject
*resultobj
;
15419 int arg1
= (int) wxDateTime::Inv_Year
;
15421 char *kwnames
[] = {
15422 (char *) "year", NULL
15425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|i:DateTime_GetCentury",kwnames
,&arg1
)) goto fail
;
15427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15428 result
= (int)wxDateTime::GetCentury(arg1
);
15430 wxPyEndAllowThreads(__tstate
);
15431 if (PyErr_Occurred()) SWIG_fail
;
15433 resultobj
= PyInt_FromLong((long)result
);
15440 static PyObject
*_wrap_DateTime_GetNumberOfDaysinYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15441 PyObject
*resultobj
;
15443 int arg2
= (int) wxDateTime::Gregorian
;
15445 char *kwnames
[] = {
15446 (char *) "year",(char *) "cal", NULL
15449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i|i:DateTime_GetNumberOfDaysinYear",kwnames
,&arg1
,&arg2
)) goto fail
;
15451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15452 result
= (int)wxDateTime::GetNumberOfDays(arg1
,(wxDateTime::Calendar
)arg2
);
15454 wxPyEndAllowThreads(__tstate
);
15455 if (PyErr_Occurred()) SWIG_fail
;
15457 resultobj
= PyInt_FromLong((long)result
);
15464 static PyObject
*_wrap_DateTime_GetNumberOfDaysInMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15465 PyObject
*resultobj
;
15467 int arg2
= (int) wxDateTime::Inv_Year
;
15468 int arg3
= (int) wxDateTime::Gregorian
;
15470 char *kwnames
[] = {
15471 (char *) "month",(char *) "year",(char *) "cal", NULL
15474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i|ii:DateTime_GetNumberOfDaysInMonth",kwnames
,&arg1
,&arg2
,&arg3
)) goto fail
;
15476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15477 result
= (int)wxDateTime::GetNumberOfDays((wxDateTime::Month
)arg1
,arg2
,(wxDateTime::Calendar
)arg3
);
15479 wxPyEndAllowThreads(__tstate
);
15480 if (PyErr_Occurred()) SWIG_fail
;
15482 resultobj
= PyInt_FromLong((long)result
);
15489 static PyObject
*_wrap_DateTime_GetMonthName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15490 PyObject
*resultobj
;
15492 int arg2
= (int) wxDateTime::Name_Full
;
15494 char *kwnames
[] = {
15495 (char *) "month",(char *) "flags", NULL
15498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i|i:DateTime_GetMonthName",kwnames
,&arg1
,&arg2
)) goto fail
;
15500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15501 result
= wxDateTime::GetMonthName((wxDateTime::Month
)arg1
,(wxDateTime::NameFlags
)arg2
);
15503 wxPyEndAllowThreads(__tstate
);
15504 if (PyErr_Occurred()) SWIG_fail
;
15508 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15510 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15519 static PyObject
*_wrap_DateTime_GetWeekDayName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15520 PyObject
*resultobj
;
15522 int arg2
= (int) wxDateTime::Name_Full
;
15524 char *kwnames
[] = {
15525 (char *) "weekday",(char *) "flags", NULL
15528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i|i:DateTime_GetWeekDayName",kwnames
,&arg1
,&arg2
)) goto fail
;
15530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15531 result
= wxDateTime::GetWeekDayName((wxDateTime::WeekDay
)arg1
,(wxDateTime::NameFlags
)arg2
);
15533 wxPyEndAllowThreads(__tstate
);
15534 if (PyErr_Occurred()) SWIG_fail
;
15538 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15540 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15549 static PyObject
*_wrap_DateTime_GetAmPmStrings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15550 PyObject
*resultobj
;
15551 wxString
*arg1
= (wxString
*) 0 ;
15552 wxString
*arg2
= (wxString
*) 0 ;
15553 PyObject
* obj0
= 0 ;
15554 PyObject
* obj1
= 0 ;
15555 char *kwnames
[] = {
15556 (char *) "OUTPUT",(char *) "OUTPUT", NULL
15559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetAmPmStrings",kwnames
,&obj0
,&obj1
)) goto fail
;
15560 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxString
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15561 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxString
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15564 wxDateTime::GetAmPmStrings(arg1
,arg2
);
15566 wxPyEndAllowThreads(__tstate
);
15567 if (PyErr_Occurred()) SWIG_fail
;
15569 Py_INCREF(Py_None
); resultobj
= Py_None
;
15576 static PyObject
*_wrap_DateTime_IsDSTApplicable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15577 PyObject
*resultobj
;
15578 int arg1
= (int) wxDateTime::Inv_Year
;
15579 int arg2
= (int) wxDateTime::Country_Default
;
15581 char *kwnames
[] = {
15582 (char *) "year",(char *) "country", NULL
15585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:DateTime_IsDSTApplicable",kwnames
,&arg1
,&arg2
)) goto fail
;
15587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15588 result
= (bool)wxDateTime::IsDSTApplicable(arg1
,(wxDateTime::Country
)arg2
);
15590 wxPyEndAllowThreads(__tstate
);
15591 if (PyErr_Occurred()) SWIG_fail
;
15593 resultobj
= PyInt_FromLong((long)result
);
15600 static PyObject
*_wrap_DateTime_GetBeginDST(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15601 PyObject
*resultobj
;
15602 int arg1
= (int) wxDateTime::Inv_Year
;
15603 int arg2
= (int) wxDateTime::Country_Default
;
15605 char *kwnames
[] = {
15606 (char *) "year",(char *) "country", NULL
15609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:DateTime_GetBeginDST",kwnames
,&arg1
,&arg2
)) goto fail
;
15611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15612 result
= wxDateTime::GetBeginDST(arg1
,(wxDateTime::Country
)arg2
);
15614 wxPyEndAllowThreads(__tstate
);
15615 if (PyErr_Occurred()) SWIG_fail
;
15618 wxDateTime
* resultptr
;
15619 resultptr
= new wxDateTime((wxDateTime
&) result
);
15620 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
15628 static PyObject
*_wrap_DateTime_GetEndDST(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15629 PyObject
*resultobj
;
15630 int arg1
= (int) wxDateTime::Inv_Year
;
15631 int arg2
= (int) wxDateTime::Country_Default
;
15633 char *kwnames
[] = {
15634 (char *) "year",(char *) "country", NULL
15637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:DateTime_GetEndDST",kwnames
,&arg1
,&arg2
)) goto fail
;
15639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15640 result
= wxDateTime::GetEndDST(arg1
,(wxDateTime::Country
)arg2
);
15642 wxPyEndAllowThreads(__tstate
);
15643 if (PyErr_Occurred()) SWIG_fail
;
15646 wxDateTime
* resultptr
;
15647 resultptr
= new wxDateTime((wxDateTime
&) result
);
15648 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
15656 static PyObject
*_wrap_DateTime_Now(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15657 PyObject
*resultobj
;
15659 char *kwnames
[] = {
15663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_Now",kwnames
)) goto fail
;
15665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15666 result
= wxDateTime::Now();
15668 wxPyEndAllowThreads(__tstate
);
15669 if (PyErr_Occurred()) SWIG_fail
;
15672 wxDateTime
* resultptr
;
15673 resultptr
= new wxDateTime((wxDateTime
&) result
);
15674 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
15682 static PyObject
*_wrap_DateTime_UNow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15683 PyObject
*resultobj
;
15685 char *kwnames
[] = {
15689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_UNow",kwnames
)) goto fail
;
15691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15692 result
= wxDateTime::UNow();
15694 wxPyEndAllowThreads(__tstate
);
15695 if (PyErr_Occurred()) SWIG_fail
;
15698 wxDateTime
* resultptr
;
15699 resultptr
= new wxDateTime((wxDateTime
&) result
);
15700 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
15708 static PyObject
*_wrap_DateTime_Today(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15709 PyObject
*resultobj
;
15711 char *kwnames
[] = {
15715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_Today",kwnames
)) goto fail
;
15717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15718 result
= wxDateTime::Today();
15720 wxPyEndAllowThreads(__tstate
);
15721 if (PyErr_Occurred()) SWIG_fail
;
15724 wxDateTime
* resultptr
;
15725 resultptr
= new wxDateTime((wxDateTime
&) result
);
15726 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
15734 static PyObject
*_wrap_new_DateTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15735 PyObject
*resultobj
;
15736 wxDateTime
*result
;
15737 char *kwnames
[] = {
15741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DateTime",kwnames
)) goto fail
;
15743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15744 result
= (wxDateTime
*)new wxDateTime();
15746 wxPyEndAllowThreads(__tstate
);
15747 if (PyErr_Occurred()) SWIG_fail
;
15749 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 1);
15756 static PyObject
*_wrap_new_DateTimeFromTimeT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15757 PyObject
*resultobj
;
15759 wxDateTime
*result
;
15760 PyObject
* obj0
= 0 ;
15761 char *kwnames
[] = {
15762 (char *) "timet", NULL
15765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromTimeT",kwnames
,&obj0
)) goto fail
;
15766 arg1
= (time_t) PyInt_AsLong(obj0
);
15767 if (PyErr_Occurred()) SWIG_fail
;
15769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15770 result
= (wxDateTime
*)new wxDateTime(arg1
);
15772 wxPyEndAllowThreads(__tstate
);
15773 if (PyErr_Occurred()) SWIG_fail
;
15775 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 1);
15782 static PyObject
*_wrap_new_DateTimeFromJDN(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15783 PyObject
*resultobj
;
15785 wxDateTime
*result
;
15786 char *kwnames
[] = {
15787 (char *) "jdn", NULL
15790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"d:new_DateTimeFromJDN",kwnames
,&arg1
)) goto fail
;
15792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15793 result
= (wxDateTime
*)new wxDateTime(arg1
);
15795 wxPyEndAllowThreads(__tstate
);
15796 if (PyErr_Occurred()) SWIG_fail
;
15798 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 1);
15805 static PyObject
*_wrap_new_DateTimeFromHMS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15806 PyObject
*resultobj
;
15808 int arg2
= (int) 0 ;
15809 int arg3
= (int) 0 ;
15810 int arg4
= (int) 0 ;
15811 wxDateTime
*result
;
15812 char *kwnames
[] = {
15813 (char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
15816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i|iii:new_DateTimeFromHMS",kwnames
,&arg1
,&arg2
,&arg3
,&arg4
)) goto fail
;
15818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15819 result
= (wxDateTime
*)new wxDateTime(arg1
,arg2
,arg3
,arg4
);
15821 wxPyEndAllowThreads(__tstate
);
15822 if (PyErr_Occurred()) SWIG_fail
;
15824 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 1);
15831 static PyObject
*_wrap_new_DateTimeFromDMY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15832 PyObject
*resultobj
;
15834 int arg2
= (int) wxDateTime::Inv_Month
;
15835 int arg3
= (int) wxDateTime::Inv_Year
;
15836 int arg4
= (int) 0 ;
15837 int arg5
= (int) 0 ;
15838 int arg6
= (int) 0 ;
15839 int arg7
= (int) 0 ;
15840 wxDateTime
*result
;
15841 char *kwnames
[] = {
15842 (char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
15845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i|iiiiii:new_DateTimeFromDMY",kwnames
,&arg1
,&arg2
,&arg3
,&arg4
,&arg5
,&arg6
,&arg7
)) goto fail
;
15847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15848 result
= (wxDateTime
*)new wxDateTime(arg1
,(wxDateTime::Month
)arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
15850 wxPyEndAllowThreads(__tstate
);
15851 if (PyErr_Occurred()) SWIG_fail
;
15853 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 1);
15860 static PyObject
*_wrap_delete_DateTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15861 PyObject
*resultobj
;
15862 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
15863 PyObject
* obj0
= 0 ;
15864 char *kwnames
[] = {
15865 (char *) "self", NULL
15868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DateTime",kwnames
,&obj0
)) goto fail
;
15869 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15874 wxPyEndAllowThreads(__tstate
);
15875 if (PyErr_Occurred()) SWIG_fail
;
15877 Py_INCREF(Py_None
); resultobj
= Py_None
;
15884 static PyObject
*_wrap_DateTime_SetToCurrent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15885 PyObject
*resultobj
;
15886 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
15887 wxDateTime
*result
;
15888 PyObject
* obj0
= 0 ;
15889 char *kwnames
[] = {
15890 (char *) "self", NULL
15893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_SetToCurrent",kwnames
,&obj0
)) goto fail
;
15894 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15898 wxDateTime
&_result_ref
= (arg1
)->SetToCurrent();
15899 result
= (wxDateTime
*) &_result_ref
;
15902 wxPyEndAllowThreads(__tstate
);
15903 if (PyErr_Occurred()) SWIG_fail
;
15905 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
15912 static PyObject
*_wrap_DateTime_SetTimeT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15913 PyObject
*resultobj
;
15914 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
15916 wxDateTime
*result
;
15917 PyObject
* obj0
= 0 ;
15918 PyObject
* obj1
= 0 ;
15919 char *kwnames
[] = {
15920 (char *) "self",(char *) "timet", NULL
15923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetTimeT",kwnames
,&obj0
,&obj1
)) goto fail
;
15924 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15925 arg2
= (time_t) PyInt_AsLong(obj1
);
15926 if (PyErr_Occurred()) SWIG_fail
;
15928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15930 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
15931 result
= (wxDateTime
*) &_result_ref
;
15934 wxPyEndAllowThreads(__tstate
);
15935 if (PyErr_Occurred()) SWIG_fail
;
15937 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
15944 static PyObject
*_wrap_DateTime_SetJDN(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15945 PyObject
*resultobj
;
15946 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
15948 wxDateTime
*result
;
15949 PyObject
* obj0
= 0 ;
15950 char *kwnames
[] = {
15951 (char *) "self",(char *) "jdn", NULL
15954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Od:DateTime_SetJDN",kwnames
,&obj0
,&arg2
)) goto fail
;
15955 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15959 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
15960 result
= (wxDateTime
*) &_result_ref
;
15963 wxPyEndAllowThreads(__tstate
);
15964 if (PyErr_Occurred()) SWIG_fail
;
15966 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
15973 static PyObject
*_wrap_DateTime_SetHMS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15974 PyObject
*resultobj
;
15975 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
15977 int arg3
= (int) 0 ;
15978 int arg4
= (int) 0 ;
15979 int arg5
= (int) 0 ;
15980 wxDateTime
*result
;
15981 PyObject
* obj0
= 0 ;
15982 char *kwnames
[] = {
15983 (char *) "self",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
15986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|iii:DateTime_SetHMS",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
15987 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15991 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,arg3
,arg4
,arg5
);
15992 result
= (wxDateTime
*) &_result_ref
;
15995 wxPyEndAllowThreads(__tstate
);
15996 if (PyErr_Occurred()) SWIG_fail
;
15998 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
16005 static PyObject
*_wrap_DateTime_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16006 PyObject
*resultobj
;
16007 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16009 int arg3
= (int) wxDateTime::Inv_Month
;
16010 int arg4
= (int) wxDateTime::Inv_Year
;
16011 int arg5
= (int) 0 ;
16012 int arg6
= (int) 0 ;
16013 int arg7
= (int) 0 ;
16014 int arg8
= (int) 0 ;
16015 wxDateTime
*result
;
16016 PyObject
* obj0
= 0 ;
16017 char *kwnames
[] = {
16018 (char *) "self",(char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
16021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|iiiiii:DateTime_Set",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
,&arg6
,&arg7
,&arg8
)) goto fail
;
16022 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16026 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,(wxDateTime::Month
)arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
16027 result
= (wxDateTime
*) &_result_ref
;
16030 wxPyEndAllowThreads(__tstate
);
16031 if (PyErr_Occurred()) SWIG_fail
;
16033 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
16040 static PyObject
*_wrap_DateTime_ResetTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16041 PyObject
*resultobj
;
16042 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16043 wxDateTime
*result
;
16044 PyObject
* obj0
= 0 ;
16045 char *kwnames
[] = {
16046 (char *) "self", NULL
16049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_ResetTime",kwnames
,&obj0
)) goto fail
;
16050 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16054 wxDateTime
&_result_ref
= (arg1
)->ResetTime();
16055 result
= (wxDateTime
*) &_result_ref
;
16058 wxPyEndAllowThreads(__tstate
);
16059 if (PyErr_Occurred()) SWIG_fail
;
16061 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
16068 static PyObject
*_wrap_DateTime_SetYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16069 PyObject
*resultobj
;
16070 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16072 wxDateTime
*result
;
16073 PyObject
* obj0
= 0 ;
16074 char *kwnames
[] = {
16075 (char *) "self",(char *) "year", NULL
16078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DateTime_SetYear",kwnames
,&obj0
,&arg2
)) goto fail
;
16079 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16083 wxDateTime
&_result_ref
= (arg1
)->SetYear(arg2
);
16084 result
= (wxDateTime
*) &_result_ref
;
16087 wxPyEndAllowThreads(__tstate
);
16088 if (PyErr_Occurred()) SWIG_fail
;
16090 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
16097 static PyObject
*_wrap_DateTime_SetMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16098 PyObject
*resultobj
;
16099 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16101 wxDateTime
*result
;
16102 PyObject
* obj0
= 0 ;
16103 char *kwnames
[] = {
16104 (char *) "self",(char *) "month", NULL
16107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DateTime_SetMonth",kwnames
,&obj0
,&arg2
)) goto fail
;
16108 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16112 wxDateTime
&_result_ref
= (arg1
)->SetMonth((wxDateTime::Month
)arg2
);
16113 result
= (wxDateTime
*) &_result_ref
;
16116 wxPyEndAllowThreads(__tstate
);
16117 if (PyErr_Occurred()) SWIG_fail
;
16119 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
16126 static PyObject
*_wrap_DateTime_SetDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16127 PyObject
*resultobj
;
16128 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16130 wxDateTime
*result
;
16131 PyObject
* obj0
= 0 ;
16132 char *kwnames
[] = {
16133 (char *) "self",(char *) "day", NULL
16136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DateTime_SetDay",kwnames
,&obj0
,&arg2
)) goto fail
;
16137 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16141 wxDateTime
&_result_ref
= (arg1
)->SetDay(arg2
);
16142 result
= (wxDateTime
*) &_result_ref
;
16145 wxPyEndAllowThreads(__tstate
);
16146 if (PyErr_Occurred()) SWIG_fail
;
16148 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
16155 static PyObject
*_wrap_DateTime_SetHour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16156 PyObject
*resultobj
;
16157 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16159 wxDateTime
*result
;
16160 PyObject
* obj0
= 0 ;
16161 char *kwnames
[] = {
16162 (char *) "self",(char *) "hour", NULL
16165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DateTime_SetHour",kwnames
,&obj0
,&arg2
)) goto fail
;
16166 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16170 wxDateTime
&_result_ref
= (arg1
)->SetHour(arg2
);
16171 result
= (wxDateTime
*) &_result_ref
;
16174 wxPyEndAllowThreads(__tstate
);
16175 if (PyErr_Occurred()) SWIG_fail
;
16177 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
16184 static PyObject
*_wrap_DateTime_SetMinute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16185 PyObject
*resultobj
;
16186 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16188 wxDateTime
*result
;
16189 PyObject
* obj0
= 0 ;
16190 char *kwnames
[] = {
16191 (char *) "self",(char *) "minute", NULL
16194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DateTime_SetMinute",kwnames
,&obj0
,&arg2
)) goto fail
;
16195 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16199 wxDateTime
&_result_ref
= (arg1
)->SetMinute(arg2
);
16200 result
= (wxDateTime
*) &_result_ref
;
16203 wxPyEndAllowThreads(__tstate
);
16204 if (PyErr_Occurred()) SWIG_fail
;
16206 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
16213 static PyObject
*_wrap_DateTime_SetSecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16214 PyObject
*resultobj
;
16215 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16217 wxDateTime
*result
;
16218 PyObject
* obj0
= 0 ;
16219 char *kwnames
[] = {
16220 (char *) "self",(char *) "second", NULL
16223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DateTime_SetSecond",kwnames
,&obj0
,&arg2
)) goto fail
;
16224 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16228 wxDateTime
&_result_ref
= (arg1
)->SetSecond(arg2
);
16229 result
= (wxDateTime
*) &_result_ref
;
16232 wxPyEndAllowThreads(__tstate
);
16233 if (PyErr_Occurred()) SWIG_fail
;
16235 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
16242 static PyObject
*_wrap_DateTime_SetMillisecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16243 PyObject
*resultobj
;
16244 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16246 wxDateTime
*result
;
16247 PyObject
* obj0
= 0 ;
16248 char *kwnames
[] = {
16249 (char *) "self",(char *) "millisecond", NULL
16252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DateTime_SetMillisecond",kwnames
,&obj0
,&arg2
)) goto fail
;
16253 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16257 wxDateTime
&_result_ref
= (arg1
)->SetMillisecond(arg2
);
16258 result
= (wxDateTime
*) &_result_ref
;
16261 wxPyEndAllowThreads(__tstate
);
16262 if (PyErr_Occurred()) SWIG_fail
;
16264 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
16271 static PyObject
*_wrap_DateTime_SetToWeekDayInSameWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16272 PyObject
*resultobj
;
16273 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16275 int arg3
= (int) wxDateTime::Monday_First
;
16276 wxDateTime
*result
;
16277 PyObject
* obj0
= 0 ;
16278 char *kwnames
[] = {
16279 (char *) "self",(char *) "weekday",(char *) "flags", NULL
16282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|i:DateTime_SetToWeekDayInSameWeek",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
16283 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16287 wxDateTime
&_result_ref
= (arg1
)->SetToWeekDayInSameWeek((wxDateTime::WeekDay
)arg2
,(wxDateTime::WeekFlags
)arg3
);
16288 result
= (wxDateTime
*) &_result_ref
;
16291 wxPyEndAllowThreads(__tstate
);
16292 if (PyErr_Occurred()) SWIG_fail
;
16294 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
16301 static PyObject
*_wrap_DateTime_GetWeekDayInSameWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16302 PyObject
*resultobj
;
16303 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16305 int arg3
= (int) wxDateTime::Monday_First
;
16307 PyObject
* obj0
= 0 ;
16308 char *kwnames
[] = {
16309 (char *) "self",(char *) "weekday",(char *) "flags", NULL
16312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|i:DateTime_GetWeekDayInSameWeek",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
16313 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16316 result
= (arg1
)->GetWeekDayInSameWeek((wxDateTime::WeekDay
)arg2
,(wxDateTime::WeekFlags
)arg3
);
16318 wxPyEndAllowThreads(__tstate
);
16319 if (PyErr_Occurred()) SWIG_fail
;
16322 wxDateTime
* resultptr
;
16323 resultptr
= new wxDateTime((wxDateTime
&) result
);
16324 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
16332 static PyObject
*_wrap_DateTime_SetToNextWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16333 PyObject
*resultobj
;
16334 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16336 wxDateTime
*result
;
16337 PyObject
* obj0
= 0 ;
16338 char *kwnames
[] = {
16339 (char *) "self",(char *) "weekday", NULL
16342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DateTime_SetToNextWeekDay",kwnames
,&obj0
,&arg2
)) goto fail
;
16343 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16347 wxDateTime
&_result_ref
= (arg1
)->SetToNextWeekDay((wxDateTime::WeekDay
)arg2
);
16348 result
= (wxDateTime
*) &_result_ref
;
16351 wxPyEndAllowThreads(__tstate
);
16352 if (PyErr_Occurred()) SWIG_fail
;
16354 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
16361 static PyObject
*_wrap_DateTime_GetNextWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16362 PyObject
*resultobj
;
16363 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16366 PyObject
* obj0
= 0 ;
16367 char *kwnames
[] = {
16368 (char *) "self",(char *) "weekday", NULL
16371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DateTime_GetNextWeekDay",kwnames
,&obj0
,&arg2
)) goto fail
;
16372 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16375 result
= (arg1
)->GetNextWeekDay((wxDateTime::WeekDay
)arg2
);
16377 wxPyEndAllowThreads(__tstate
);
16378 if (PyErr_Occurred()) SWIG_fail
;
16381 wxDateTime
* resultptr
;
16382 resultptr
= new wxDateTime((wxDateTime
&) result
);
16383 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
16391 static PyObject
*_wrap_DateTime_SetToPrevWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16392 PyObject
*resultobj
;
16393 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16395 wxDateTime
*result
;
16396 PyObject
* obj0
= 0 ;
16397 char *kwnames
[] = {
16398 (char *) "self",(char *) "weekday", NULL
16401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DateTime_SetToPrevWeekDay",kwnames
,&obj0
,&arg2
)) goto fail
;
16402 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16406 wxDateTime
&_result_ref
= (arg1
)->SetToPrevWeekDay((wxDateTime::WeekDay
)arg2
);
16407 result
= (wxDateTime
*) &_result_ref
;
16410 wxPyEndAllowThreads(__tstate
);
16411 if (PyErr_Occurred()) SWIG_fail
;
16413 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
16420 static PyObject
*_wrap_DateTime_GetPrevWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16421 PyObject
*resultobj
;
16422 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16425 PyObject
* obj0
= 0 ;
16426 char *kwnames
[] = {
16427 (char *) "self",(char *) "weekday", NULL
16430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DateTime_GetPrevWeekDay",kwnames
,&obj0
,&arg2
)) goto fail
;
16431 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16434 result
= (arg1
)->GetPrevWeekDay((wxDateTime::WeekDay
)arg2
);
16436 wxPyEndAllowThreads(__tstate
);
16437 if (PyErr_Occurred()) SWIG_fail
;
16440 wxDateTime
* resultptr
;
16441 resultptr
= new wxDateTime((wxDateTime
&) result
);
16442 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
16450 static PyObject
*_wrap_DateTime_SetToWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16451 PyObject
*resultobj
;
16452 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16454 int arg3
= (int) 1 ;
16455 int arg4
= (int) wxDateTime::Inv_Month
;
16456 int arg5
= (int) wxDateTime::Inv_Year
;
16458 PyObject
* obj0
= 0 ;
16459 char *kwnames
[] = {
16460 (char *) "self",(char *) "weekday",(char *) "n",(char *) "month",(char *) "year", NULL
16463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|iii:DateTime_SetToWeekDay",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
16464 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16467 result
= (bool)(arg1
)->SetToWeekDay((wxDateTime::WeekDay
)arg2
,arg3
,(wxDateTime::Month
)arg4
,arg5
);
16469 wxPyEndAllowThreads(__tstate
);
16470 if (PyErr_Occurred()) SWIG_fail
;
16472 resultobj
= PyInt_FromLong((long)result
);
16479 static PyObject
*_wrap_DateTime_SetToLastWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16480 PyObject
*resultobj
;
16481 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16483 int arg3
= (int) wxDateTime::Inv_Month
;
16484 int arg4
= (int) wxDateTime::Inv_Year
;
16486 PyObject
* obj0
= 0 ;
16487 char *kwnames
[] = {
16488 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
16491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|ii:DateTime_SetToLastWeekDay",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
16492 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16495 result
= (bool)(arg1
)->SetToLastWeekDay((wxDateTime::WeekDay
)arg2
,(wxDateTime::Month
)arg3
,arg4
);
16497 wxPyEndAllowThreads(__tstate
);
16498 if (PyErr_Occurred()) SWIG_fail
;
16500 resultobj
= PyInt_FromLong((long)result
);
16507 static PyObject
*_wrap_DateTime_GetLastWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16508 PyObject
*resultobj
;
16509 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16511 int arg3
= (int) wxDateTime::Inv_Month
;
16512 int arg4
= (int) wxDateTime::Inv_Year
;
16514 PyObject
* obj0
= 0 ;
16515 char *kwnames
[] = {
16516 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
16519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|ii:DateTime_GetLastWeekDay",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
16520 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16523 result
= (arg1
)->GetLastWeekDay((wxDateTime::WeekDay
)arg2
,(wxDateTime::Month
)arg3
,arg4
);
16525 wxPyEndAllowThreads(__tstate
);
16526 if (PyErr_Occurred()) SWIG_fail
;
16529 wxDateTime
* resultptr
;
16530 resultptr
= new wxDateTime((wxDateTime
&) result
);
16531 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
16539 static PyObject
*_wrap_DateTime_SetToTheWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16540 PyObject
*resultobj
;
16541 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16543 int arg3
= (int) wxDateTime::Mon
;
16544 int arg4
= (int) wxDateTime::Monday_First
;
16546 PyObject
* obj0
= 0 ;
16547 char *kwnames
[] = {
16548 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
16551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|ii:DateTime_SetToTheWeek",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
16552 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16555 result
= (bool)(arg1
)->SetToTheWeek(arg2
,(wxDateTime::WeekDay
)arg3
,(wxDateTime::WeekFlags
)arg4
);
16557 wxPyEndAllowThreads(__tstate
);
16558 if (PyErr_Occurred()) SWIG_fail
;
16560 resultobj
= PyInt_FromLong((long)result
);
16567 static PyObject
*_wrap_DateTime_GetWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16568 PyObject
*resultobj
;
16569 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16571 int arg3
= (int) wxDateTime::Mon
;
16572 int arg4
= (int) wxDateTime::Monday_First
;
16574 PyObject
* obj0
= 0 ;
16575 char *kwnames
[] = {
16576 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
16579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|ii:DateTime_GetWeek",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
16580 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16583 result
= (arg1
)->GetWeek(arg2
,(wxDateTime::WeekDay
)arg3
,(wxDateTime::WeekFlags
)arg4
);
16585 wxPyEndAllowThreads(__tstate
);
16586 if (PyErr_Occurred()) SWIG_fail
;
16589 wxDateTime
* resultptr
;
16590 resultptr
= new wxDateTime((wxDateTime
&) result
);
16591 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
16599 static PyObject
*_wrap_DateTime_SetToLastMonthDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16600 PyObject
*resultobj
;
16601 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16602 int arg2
= (int) wxDateTime::Inv_Month
;
16603 int arg3
= (int) wxDateTime::Inv_Year
;
16604 wxDateTime
*result
;
16605 PyObject
* obj0
= 0 ;
16606 char *kwnames
[] = {
16607 (char *) "self",(char *) "month",(char *) "year", NULL
16610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|ii:DateTime_SetToLastMonthDay",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
16611 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16615 wxDateTime
&_result_ref
= (arg1
)->SetToLastMonthDay((wxDateTime::Month
)arg2
,arg3
);
16616 result
= (wxDateTime
*) &_result_ref
;
16619 wxPyEndAllowThreads(__tstate
);
16620 if (PyErr_Occurred()) SWIG_fail
;
16622 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
16629 static PyObject
*_wrap_DateTime_GetLastMonthDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16630 PyObject
*resultobj
;
16631 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16632 int arg2
= (int) wxDateTime::Inv_Month
;
16633 int arg3
= (int) wxDateTime::Inv_Year
;
16635 PyObject
* obj0
= 0 ;
16636 char *kwnames
[] = {
16637 (char *) "self",(char *) "month",(char *) "year", NULL
16640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|ii:DateTime_GetLastMonthDay",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
16641 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16644 result
= (arg1
)->GetLastMonthDay((wxDateTime::Month
)arg2
,arg3
);
16646 wxPyEndAllowThreads(__tstate
);
16647 if (PyErr_Occurred()) SWIG_fail
;
16650 wxDateTime
* resultptr
;
16651 resultptr
= new wxDateTime((wxDateTime
&) result
);
16652 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
16660 static PyObject
*_wrap_DateTime_SetToYearDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16661 PyObject
*resultobj
;
16662 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16664 wxDateTime
*result
;
16665 PyObject
* obj0
= 0 ;
16666 char *kwnames
[] = {
16667 (char *) "self",(char *) "yday", NULL
16670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DateTime_SetToYearDay",kwnames
,&obj0
,&arg2
)) goto fail
;
16671 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16675 wxDateTime
&_result_ref
= (arg1
)->SetToYearDay(arg2
);
16676 result
= (wxDateTime
*) &_result_ref
;
16679 wxPyEndAllowThreads(__tstate
);
16680 if (PyErr_Occurred()) SWIG_fail
;
16682 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
16689 static PyObject
*_wrap_DateTime_GetYearDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16690 PyObject
*resultobj
;
16691 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16694 PyObject
* obj0
= 0 ;
16695 char *kwnames
[] = {
16696 (char *) "self",(char *) "yday", NULL
16699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DateTime_GetYearDay",kwnames
,&obj0
,&arg2
)) goto fail
;
16700 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16703 result
= (arg1
)->GetYearDay(arg2
);
16705 wxPyEndAllowThreads(__tstate
);
16706 if (PyErr_Occurred()) SWIG_fail
;
16709 wxDateTime
* resultptr
;
16710 resultptr
= new wxDateTime((wxDateTime
&) result
);
16711 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
16719 static PyObject
*_wrap_DateTime_GetJulianDayNumber(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16720 PyObject
*resultobj
;
16721 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16723 PyObject
* obj0
= 0 ;
16724 char *kwnames
[] = {
16725 (char *) "self", NULL
16728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetJulianDayNumber",kwnames
,&obj0
)) goto fail
;
16729 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16732 result
= (double)(arg1
)->GetJulianDayNumber();
16734 wxPyEndAllowThreads(__tstate
);
16735 if (PyErr_Occurred()) SWIG_fail
;
16737 resultobj
= PyFloat_FromDouble(result
);
16744 static PyObject
*_wrap_DateTime_GetJDN(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16745 PyObject
*resultobj
;
16746 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16748 PyObject
* obj0
= 0 ;
16749 char *kwnames
[] = {
16750 (char *) "self", NULL
16753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetJDN",kwnames
,&obj0
)) goto fail
;
16754 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16757 result
= (double)(arg1
)->GetJDN();
16759 wxPyEndAllowThreads(__tstate
);
16760 if (PyErr_Occurred()) SWIG_fail
;
16762 resultobj
= PyFloat_FromDouble(result
);
16769 static PyObject
*_wrap_DateTime_GetModifiedJulianDayNumber(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16770 PyObject
*resultobj
;
16771 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16773 PyObject
* obj0
= 0 ;
16774 char *kwnames
[] = {
16775 (char *) "self", NULL
16778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetModifiedJulianDayNumber",kwnames
,&obj0
)) goto fail
;
16779 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16782 result
= (double)((wxDateTime
const *)arg1
)->GetModifiedJulianDayNumber();
16784 wxPyEndAllowThreads(__tstate
);
16785 if (PyErr_Occurred()) SWIG_fail
;
16787 resultobj
= PyFloat_FromDouble(result
);
16794 static PyObject
*_wrap_DateTime_GetMJD(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16795 PyObject
*resultobj
;
16796 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16798 PyObject
* obj0
= 0 ;
16799 char *kwnames
[] = {
16800 (char *) "self", NULL
16803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetMJD",kwnames
,&obj0
)) goto fail
;
16804 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16807 result
= (double)(arg1
)->GetMJD();
16809 wxPyEndAllowThreads(__tstate
);
16810 if (PyErr_Occurred()) SWIG_fail
;
16812 resultobj
= PyFloat_FromDouble(result
);
16819 static PyObject
*_wrap_DateTime_GetRataDie(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16820 PyObject
*resultobj
;
16821 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16823 PyObject
* obj0
= 0 ;
16824 char *kwnames
[] = {
16825 (char *) "self", NULL
16828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetRataDie",kwnames
,&obj0
)) goto fail
;
16829 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16832 result
= (double)(arg1
)->GetRataDie();
16834 wxPyEndAllowThreads(__tstate
);
16835 if (PyErr_Occurred()) SWIG_fail
;
16837 resultobj
= PyFloat_FromDouble(result
);
16844 static PyObject
*_wrap_DateTime_ToTimezone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16845 PyObject
*resultobj
;
16846 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16847 wxDateTime::TimeZone
*arg2
= 0 ;
16848 bool arg3
= (bool) False
;
16850 bool temp2
= False
;
16851 PyObject
* obj0
= 0 ;
16852 PyObject
* obj1
= 0 ;
16853 PyObject
* obj2
= 0 ;
16854 char *kwnames
[] = {
16855 (char *) "self",(char *) "tz",(char *) "noDST", NULL
16858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_ToTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16859 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16861 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
16865 arg3
= PyInt_AsLong(obj2
) ? true : false;
16866 if (PyErr_Occurred()) SWIG_fail
;
16869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16870 result
= (arg1
)->ToTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
16872 wxPyEndAllowThreads(__tstate
);
16873 if (PyErr_Occurred()) SWIG_fail
;
16876 wxDateTime
* resultptr
;
16877 resultptr
= new wxDateTime((wxDateTime
&) result
);
16878 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
16881 if (temp2
) delete arg2
;
16886 if (temp2
) delete arg2
;
16892 static PyObject
*_wrap_DateTime_MakeTimezone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16893 PyObject
*resultobj
;
16894 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16895 wxDateTime::TimeZone
*arg2
= 0 ;
16896 bool arg3
= (bool) False
;
16897 wxDateTime
*result
;
16898 bool temp2
= False
;
16899 PyObject
* obj0
= 0 ;
16900 PyObject
* obj1
= 0 ;
16901 PyObject
* obj2
= 0 ;
16902 char *kwnames
[] = {
16903 (char *) "self",(char *) "tz",(char *) "noDST", NULL
16906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_MakeTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16907 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16909 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
16913 arg3
= PyInt_AsLong(obj2
) ? true : false;
16914 if (PyErr_Occurred()) SWIG_fail
;
16917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16919 wxDateTime
&_result_ref
= (arg1
)->MakeTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
16920 result
= (wxDateTime
*) &_result_ref
;
16923 wxPyEndAllowThreads(__tstate
);
16924 if (PyErr_Occurred()) SWIG_fail
;
16926 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
16928 if (temp2
) delete arg2
;
16933 if (temp2
) delete arg2
;
16939 static PyObject
*_wrap_DateTime_ToGMT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16940 PyObject
*resultobj
;
16941 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16942 bool arg2
= (bool) False
;
16944 PyObject
* obj0
= 0 ;
16945 PyObject
* obj1
= 0 ;
16946 char *kwnames
[] = {
16947 (char *) "self",(char *) "noDST", NULL
16950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_ToGMT",kwnames
,&obj0
,&obj1
)) goto fail
;
16951 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16953 arg2
= PyInt_AsLong(obj1
) ? true : false;
16954 if (PyErr_Occurred()) SWIG_fail
;
16957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16958 result
= (arg1
)->ToGMT(arg2
);
16960 wxPyEndAllowThreads(__tstate
);
16961 if (PyErr_Occurred()) SWIG_fail
;
16964 wxDateTime
* resultptr
;
16965 resultptr
= new wxDateTime((wxDateTime
&) result
);
16966 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
16974 static PyObject
*_wrap_DateTime_MakeGMT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16975 PyObject
*resultobj
;
16976 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16977 bool arg2
= (bool) False
;
16978 wxDateTime
*result
;
16979 PyObject
* obj0
= 0 ;
16980 PyObject
* obj1
= 0 ;
16981 char *kwnames
[] = {
16982 (char *) "self",(char *) "noDST", NULL
16985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_MakeGMT",kwnames
,&obj0
,&obj1
)) goto fail
;
16986 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16988 arg2
= PyInt_AsLong(obj1
) ? true : false;
16989 if (PyErr_Occurred()) SWIG_fail
;
16992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16994 wxDateTime
&_result_ref
= (arg1
)->MakeGMT(arg2
);
16995 result
= (wxDateTime
*) &_result_ref
;
16998 wxPyEndAllowThreads(__tstate
);
16999 if (PyErr_Occurred()) SWIG_fail
;
17001 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
17008 static PyObject
*_wrap_DateTime_IsDST(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17009 PyObject
*resultobj
;
17010 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17011 int arg2
= (int) wxDateTime::Country_Default
;
17013 PyObject
* obj0
= 0 ;
17014 char *kwnames
[] = {
17015 (char *) "self",(char *) "country", NULL
17018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:DateTime_IsDST",kwnames
,&obj0
,&arg2
)) goto fail
;
17019 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17022 result
= (int)(arg1
)->IsDST((wxDateTime::Country
)arg2
);
17024 wxPyEndAllowThreads(__tstate
);
17025 if (PyErr_Occurred()) SWIG_fail
;
17027 resultobj
= PyInt_FromLong((long)result
);
17034 static PyObject
*_wrap_DateTime_IsValid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17035 PyObject
*resultobj
;
17036 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17038 PyObject
* obj0
= 0 ;
17039 char *kwnames
[] = {
17040 (char *) "self", NULL
17043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_IsValid",kwnames
,&obj0
)) goto fail
;
17044 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17047 result
= (bool)((wxDateTime
const *)arg1
)->IsValid();
17049 wxPyEndAllowThreads(__tstate
);
17050 if (PyErr_Occurred()) SWIG_fail
;
17052 resultobj
= PyInt_FromLong((long)result
);
17059 static PyObject
*_wrap_DateTime_GetTicks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17060 PyObject
*resultobj
;
17061 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17063 PyObject
* obj0
= 0 ;
17064 char *kwnames
[] = {
17065 (char *) "self", NULL
17068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetTicks",kwnames
,&obj0
)) goto fail
;
17069 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17072 result
= (time_t)((wxDateTime
const *)arg1
)->GetTicks();
17074 wxPyEndAllowThreads(__tstate
);
17075 if (PyErr_Occurred()) SWIG_fail
;
17077 resultobj
= PyInt_FromLong((long)result
);
17084 static PyObject
*_wrap_DateTime_GetYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17085 PyObject
*resultobj
;
17086 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17087 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
17088 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
17090 bool temp2
= False
;
17091 PyObject
* obj0
= 0 ;
17092 PyObject
* obj1
= 0 ;
17093 char *kwnames
[] = {
17094 (char *) "self",(char *) "tz", NULL
17097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetYear",kwnames
,&obj0
,&obj1
)) goto fail
;
17098 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17101 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
17106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17107 result
= (int)((wxDateTime
const *)arg1
)->GetYear((wxDateTime::TimeZone
const &)*arg2
);
17109 wxPyEndAllowThreads(__tstate
);
17110 if (PyErr_Occurred()) SWIG_fail
;
17112 resultobj
= PyInt_FromLong((long)result
);
17114 if (temp2
) delete arg2
;
17119 if (temp2
) delete arg2
;
17125 static PyObject
*_wrap_DateTime_GetMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17126 PyObject
*resultobj
;
17127 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17128 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
17129 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
17131 bool temp2
= False
;
17132 PyObject
* obj0
= 0 ;
17133 PyObject
* obj1
= 0 ;
17134 char *kwnames
[] = {
17135 (char *) "self",(char *) "tz", NULL
17138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonth",kwnames
,&obj0
,&obj1
)) goto fail
;
17139 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17142 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
17147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17148 result
= (int)((wxDateTime
const *)arg1
)->GetMonth((wxDateTime::TimeZone
const &)*arg2
);
17150 wxPyEndAllowThreads(__tstate
);
17151 if (PyErr_Occurred()) SWIG_fail
;
17153 resultobj
= PyInt_FromLong((long)result
);
17155 if (temp2
) delete arg2
;
17160 if (temp2
) delete arg2
;
17166 static PyObject
*_wrap_DateTime_GetDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17167 PyObject
*resultobj
;
17168 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17169 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
17170 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
17172 bool temp2
= False
;
17173 PyObject
* obj0
= 0 ;
17174 PyObject
* obj1
= 0 ;
17175 char *kwnames
[] = {
17176 (char *) "self",(char *) "tz", NULL
17179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDay",kwnames
,&obj0
,&obj1
)) goto fail
;
17180 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17183 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
17188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17189 result
= (int)((wxDateTime
const *)arg1
)->GetDay((wxDateTime::TimeZone
const &)*arg2
);
17191 wxPyEndAllowThreads(__tstate
);
17192 if (PyErr_Occurred()) SWIG_fail
;
17194 resultobj
= PyInt_FromLong((long)result
);
17196 if (temp2
) delete arg2
;
17201 if (temp2
) delete arg2
;
17207 static PyObject
*_wrap_DateTime_GetWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17208 PyObject
*resultobj
;
17209 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17210 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
17211 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
17213 bool temp2
= False
;
17214 PyObject
* obj0
= 0 ;
17215 PyObject
* obj1
= 0 ;
17216 char *kwnames
[] = {
17217 (char *) "self",(char *) "tz", NULL
17220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
17221 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17224 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
17229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17230 result
= (int)((wxDateTime
const *)arg1
)->GetWeekDay((wxDateTime::TimeZone
const &)*arg2
);
17232 wxPyEndAllowThreads(__tstate
);
17233 if (PyErr_Occurred()) SWIG_fail
;
17235 resultobj
= PyInt_FromLong((long)result
);
17237 if (temp2
) delete arg2
;
17242 if (temp2
) delete arg2
;
17248 static PyObject
*_wrap_DateTime_GetHour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17249 PyObject
*resultobj
;
17250 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17251 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
17252 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
17254 bool temp2
= False
;
17255 PyObject
* obj0
= 0 ;
17256 PyObject
* obj1
= 0 ;
17257 char *kwnames
[] = {
17258 (char *) "self",(char *) "tz", NULL
17261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetHour",kwnames
,&obj0
,&obj1
)) goto fail
;
17262 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17265 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
17270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17271 result
= (int)((wxDateTime
const *)arg1
)->GetHour((wxDateTime::TimeZone
const &)*arg2
);
17273 wxPyEndAllowThreads(__tstate
);
17274 if (PyErr_Occurred()) SWIG_fail
;
17276 resultobj
= PyInt_FromLong((long)result
);
17278 if (temp2
) delete arg2
;
17283 if (temp2
) delete arg2
;
17289 static PyObject
*_wrap_DateTime_GetMinute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17290 PyObject
*resultobj
;
17291 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17292 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
17293 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
17295 bool temp2
= False
;
17296 PyObject
* obj0
= 0 ;
17297 PyObject
* obj1
= 0 ;
17298 char *kwnames
[] = {
17299 (char *) "self",(char *) "tz", NULL
17302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMinute",kwnames
,&obj0
,&obj1
)) goto fail
;
17303 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17306 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
17311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17312 result
= (int)((wxDateTime
const *)arg1
)->GetMinute((wxDateTime::TimeZone
const &)*arg2
);
17314 wxPyEndAllowThreads(__tstate
);
17315 if (PyErr_Occurred()) SWIG_fail
;
17317 resultobj
= PyInt_FromLong((long)result
);
17319 if (temp2
) delete arg2
;
17324 if (temp2
) delete arg2
;
17330 static PyObject
*_wrap_DateTime_GetSecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17331 PyObject
*resultobj
;
17332 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17333 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
17334 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
17336 bool temp2
= False
;
17337 PyObject
* obj0
= 0 ;
17338 PyObject
* obj1
= 0 ;
17339 char *kwnames
[] = {
17340 (char *) "self",(char *) "tz", NULL
17343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetSecond",kwnames
,&obj0
,&obj1
)) goto fail
;
17344 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17347 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
17352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17353 result
= (int)((wxDateTime
const *)arg1
)->GetSecond((wxDateTime::TimeZone
const &)*arg2
);
17355 wxPyEndAllowThreads(__tstate
);
17356 if (PyErr_Occurred()) SWIG_fail
;
17358 resultobj
= PyInt_FromLong((long)result
);
17360 if (temp2
) delete arg2
;
17365 if (temp2
) delete arg2
;
17371 static PyObject
*_wrap_DateTime_GetMillisecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17372 PyObject
*resultobj
;
17373 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17374 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
17375 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
17377 bool temp2
= False
;
17378 PyObject
* obj0
= 0 ;
17379 PyObject
* obj1
= 0 ;
17380 char *kwnames
[] = {
17381 (char *) "self",(char *) "tz", NULL
17384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMillisecond",kwnames
,&obj0
,&obj1
)) goto fail
;
17385 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17388 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
17393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17394 result
= (int)((wxDateTime
const *)arg1
)->GetMillisecond((wxDateTime::TimeZone
const &)*arg2
);
17396 wxPyEndAllowThreads(__tstate
);
17397 if (PyErr_Occurred()) SWIG_fail
;
17399 resultobj
= PyInt_FromLong((long)result
);
17401 if (temp2
) delete arg2
;
17406 if (temp2
) delete arg2
;
17412 static PyObject
*_wrap_DateTime_GetDayOfYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17413 PyObject
*resultobj
;
17414 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17415 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
17416 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
17418 bool temp2
= False
;
17419 PyObject
* obj0
= 0 ;
17420 PyObject
* obj1
= 0 ;
17421 char *kwnames
[] = {
17422 (char *) "self",(char *) "tz", NULL
17425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDayOfYear",kwnames
,&obj0
,&obj1
)) goto fail
;
17426 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17429 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
17434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17435 result
= (int)((wxDateTime
const *)arg1
)->GetDayOfYear((wxDateTime::TimeZone
const &)*arg2
);
17437 wxPyEndAllowThreads(__tstate
);
17438 if (PyErr_Occurred()) SWIG_fail
;
17440 resultobj
= PyInt_FromLong((long)result
);
17442 if (temp2
) delete arg2
;
17447 if (temp2
) delete arg2
;
17453 static PyObject
*_wrap_DateTime_GetWeekOfYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17454 PyObject
*resultobj
;
17455 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17456 int arg2
= (int) wxDateTime::Monday_First
;
17457 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
17458 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
17460 bool temp3
= False
;
17461 PyObject
* obj0
= 0 ;
17462 PyObject
* obj2
= 0 ;
17463 char *kwnames
[] = {
17464 (char *) "self",(char *) "flags",(char *) "tz", NULL
17467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iO:DateTime_GetWeekOfYear",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
17468 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17471 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
17476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17477 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfYear((wxDateTime::WeekFlags
)arg2
,(wxDateTime::TimeZone
const &)*arg3
);
17479 wxPyEndAllowThreads(__tstate
);
17480 if (PyErr_Occurred()) SWIG_fail
;
17482 resultobj
= PyInt_FromLong((long)result
);
17484 if (temp3
) delete arg3
;
17489 if (temp3
) delete arg3
;
17495 static PyObject
*_wrap_DateTime_GetWeekOfMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17496 PyObject
*resultobj
;
17497 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17498 int arg2
= (int) wxDateTime::Monday_First
;
17499 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
17500 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
17502 bool temp3
= False
;
17503 PyObject
* obj0
= 0 ;
17504 PyObject
* obj2
= 0 ;
17505 char *kwnames
[] = {
17506 (char *) "self",(char *) "flags",(char *) "tz", NULL
17509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iO:DateTime_GetWeekOfMonth",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
17510 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17513 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
17518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17519 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfMonth((wxDateTime::WeekFlags
)arg2
,(wxDateTime::TimeZone
const &)*arg3
);
17521 wxPyEndAllowThreads(__tstate
);
17522 if (PyErr_Occurred()) SWIG_fail
;
17524 resultobj
= PyInt_FromLong((long)result
);
17526 if (temp3
) delete arg3
;
17531 if (temp3
) delete arg3
;
17537 static PyObject
*_wrap_DateTime_IsWorkDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17538 PyObject
*resultobj
;
17539 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17540 int arg2
= (int) wxDateTime::Country_Default
;
17542 PyObject
* obj0
= 0 ;
17543 char *kwnames
[] = {
17544 (char *) "self",(char *) "country", NULL
17547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:DateTime_IsWorkDay",kwnames
,&obj0
,&arg2
)) goto fail
;
17548 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17551 result
= (bool)((wxDateTime
const *)arg1
)->IsWorkDay((wxDateTime::Country
)arg2
);
17553 wxPyEndAllowThreads(__tstate
);
17554 if (PyErr_Occurred()) SWIG_fail
;
17556 resultobj
= PyInt_FromLong((long)result
);
17563 static PyObject
*_wrap_DateTime_IsEqualTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17564 PyObject
*resultobj
;
17565 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17566 wxDateTime
*arg2
= 0 ;
17568 PyObject
* obj0
= 0 ;
17569 PyObject
* obj1
= 0 ;
17570 char *kwnames
[] = {
17571 (char *) "self",(char *) "datetime", NULL
17574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEqualTo",kwnames
,&obj0
,&obj1
)) goto fail
;
17575 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17576 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17577 if (arg2
== NULL
) {
17578 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17582 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualTo((wxDateTime
const &)*arg2
);
17584 wxPyEndAllowThreads(__tstate
);
17585 if (PyErr_Occurred()) SWIG_fail
;
17587 resultobj
= PyInt_FromLong((long)result
);
17594 static PyObject
*_wrap_DateTime_IsEarlierThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17595 PyObject
*resultobj
;
17596 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17597 wxDateTime
*arg2
= 0 ;
17599 PyObject
* obj0
= 0 ;
17600 PyObject
* obj1
= 0 ;
17601 char *kwnames
[] = {
17602 (char *) "self",(char *) "datetime", NULL
17605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEarlierThan",kwnames
,&obj0
,&obj1
)) goto fail
;
17606 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17607 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17608 if (arg2
== NULL
) {
17609 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17613 result
= (bool)((wxDateTime
const *)arg1
)->IsEarlierThan((wxDateTime
const &)*arg2
);
17615 wxPyEndAllowThreads(__tstate
);
17616 if (PyErr_Occurred()) SWIG_fail
;
17618 resultobj
= PyInt_FromLong((long)result
);
17625 static PyObject
*_wrap_DateTime_IsLaterThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17626 PyObject
*resultobj
;
17627 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17628 wxDateTime
*arg2
= 0 ;
17630 PyObject
* obj0
= 0 ;
17631 PyObject
* obj1
= 0 ;
17632 char *kwnames
[] = {
17633 (char *) "self",(char *) "datetime", NULL
17636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsLaterThan",kwnames
,&obj0
,&obj1
)) goto fail
;
17637 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17638 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17639 if (arg2
== NULL
) {
17640 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17644 result
= (bool)((wxDateTime
const *)arg1
)->IsLaterThan((wxDateTime
const &)*arg2
);
17646 wxPyEndAllowThreads(__tstate
);
17647 if (PyErr_Occurred()) SWIG_fail
;
17649 resultobj
= PyInt_FromLong((long)result
);
17656 static PyObject
*_wrap_DateTime_IsStrictlyBetween(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17657 PyObject
*resultobj
;
17658 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17659 wxDateTime
*arg2
= 0 ;
17660 wxDateTime
*arg3
= 0 ;
17662 PyObject
* obj0
= 0 ;
17663 PyObject
* obj1
= 0 ;
17664 PyObject
* obj2
= 0 ;
17665 char *kwnames
[] = {
17666 (char *) "self",(char *) "t1",(char *) "t2", NULL
17669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsStrictlyBetween",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17670 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17671 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17672 if (arg2
== NULL
) {
17673 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17675 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17676 if (arg3
== NULL
) {
17677 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17681 result
= (bool)((wxDateTime
const *)arg1
)->IsStrictlyBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
17683 wxPyEndAllowThreads(__tstate
);
17684 if (PyErr_Occurred()) SWIG_fail
;
17686 resultobj
= PyInt_FromLong((long)result
);
17693 static PyObject
*_wrap_DateTime_IsBetween(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17694 PyObject
*resultobj
;
17695 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17696 wxDateTime
*arg2
= 0 ;
17697 wxDateTime
*arg3
= 0 ;
17699 PyObject
* obj0
= 0 ;
17700 PyObject
* obj1
= 0 ;
17701 PyObject
* obj2
= 0 ;
17702 char *kwnames
[] = {
17703 (char *) "self",(char *) "t1",(char *) "t2", NULL
17706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsBetween",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17707 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17708 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17709 if (arg2
== NULL
) {
17710 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17712 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17713 if (arg3
== NULL
) {
17714 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17718 result
= (bool)((wxDateTime
const *)arg1
)->IsBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
17720 wxPyEndAllowThreads(__tstate
);
17721 if (PyErr_Occurred()) SWIG_fail
;
17723 resultobj
= PyInt_FromLong((long)result
);
17730 static PyObject
*_wrap_DateTime_IsSameDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17731 PyObject
*resultobj
;
17732 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17733 wxDateTime
*arg2
= 0 ;
17735 PyObject
* obj0
= 0 ;
17736 PyObject
* obj1
= 0 ;
17737 char *kwnames
[] = {
17738 (char *) "self",(char *) "dt", NULL
17741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameDate",kwnames
,&obj0
,&obj1
)) goto fail
;
17742 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17743 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17744 if (arg2
== NULL
) {
17745 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17749 result
= (bool)((wxDateTime
const *)arg1
)->IsSameDate((wxDateTime
const &)*arg2
);
17751 wxPyEndAllowThreads(__tstate
);
17752 if (PyErr_Occurred()) SWIG_fail
;
17754 resultobj
= PyInt_FromLong((long)result
);
17761 static PyObject
*_wrap_DateTime_IsSameTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17762 PyObject
*resultobj
;
17763 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17764 wxDateTime
*arg2
= 0 ;
17766 PyObject
* obj0
= 0 ;
17767 PyObject
* obj1
= 0 ;
17768 char *kwnames
[] = {
17769 (char *) "self",(char *) "dt", NULL
17772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameTime",kwnames
,&obj0
,&obj1
)) goto fail
;
17773 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17774 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17775 if (arg2
== NULL
) {
17776 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17780 result
= (bool)((wxDateTime
const *)arg1
)->IsSameTime((wxDateTime
const &)*arg2
);
17782 wxPyEndAllowThreads(__tstate
);
17783 if (PyErr_Occurred()) SWIG_fail
;
17785 resultobj
= PyInt_FromLong((long)result
);
17792 static PyObject
*_wrap_DateTime_IsEqualUpTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17793 PyObject
*resultobj
;
17794 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17795 wxDateTime
*arg2
= 0 ;
17796 wxTimeSpan
*arg3
= 0 ;
17798 PyObject
* obj0
= 0 ;
17799 PyObject
* obj1
= 0 ;
17800 PyObject
* obj2
= 0 ;
17801 char *kwnames
[] = {
17802 (char *) "self",(char *) "dt",(char *) "ts", NULL
17805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsEqualUpTo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17806 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17807 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17808 if (arg2
== NULL
) {
17809 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17811 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17812 if (arg3
== NULL
) {
17813 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17817 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualUpTo((wxDateTime
const &)*arg2
,(wxTimeSpan
const &)*arg3
);
17819 wxPyEndAllowThreads(__tstate
);
17820 if (PyErr_Occurred()) SWIG_fail
;
17822 resultobj
= PyInt_FromLong((long)result
);
17829 static PyObject
*_wrap_DateTime_AddTS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17830 PyObject
*resultobj
;
17831 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17832 wxTimeSpan
*arg2
= 0 ;
17833 wxDateTime
*result
;
17834 PyObject
* obj0
= 0 ;
17835 PyObject
* obj1
= 0 ;
17836 char *kwnames
[] = {
17837 (char *) "self",(char *) "diff", NULL
17840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddTS",kwnames
,&obj0
,&obj1
)) goto fail
;
17841 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17842 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17843 if (arg2
== NULL
) {
17844 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17849 wxDateTime
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
17850 result
= (wxDateTime
*) &_result_ref
;
17853 wxPyEndAllowThreads(__tstate
);
17854 if (PyErr_Occurred()) SWIG_fail
;
17856 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
17863 static PyObject
*_wrap_DateTime_AddDS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17864 PyObject
*resultobj
;
17865 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17866 wxDateSpan
*arg2
= 0 ;
17867 wxDateTime
*result
;
17868 PyObject
* obj0
= 0 ;
17869 PyObject
* obj1
= 0 ;
17870 char *kwnames
[] = {
17871 (char *) "self",(char *) "diff", NULL
17874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddDS",kwnames
,&obj0
,&obj1
)) goto fail
;
17875 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17876 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17877 if (arg2
== NULL
) {
17878 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17883 wxDateTime
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
17884 result
= (wxDateTime
*) &_result_ref
;
17887 wxPyEndAllowThreads(__tstate
);
17888 if (PyErr_Occurred()) SWIG_fail
;
17890 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
17897 static PyObject
*_wrap_DateTime_SubtractTS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17898 PyObject
*resultobj
;
17899 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17900 wxTimeSpan
*arg2
= 0 ;
17901 wxDateTime
*result
;
17902 PyObject
* obj0
= 0 ;
17903 PyObject
* obj1
= 0 ;
17904 char *kwnames
[] = {
17905 (char *) "self",(char *) "diff", NULL
17908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractTS",kwnames
,&obj0
,&obj1
)) goto fail
;
17909 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17910 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17911 if (arg2
== NULL
) {
17912 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17917 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
17918 result
= (wxDateTime
*) &_result_ref
;
17921 wxPyEndAllowThreads(__tstate
);
17922 if (PyErr_Occurred()) SWIG_fail
;
17924 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
17931 static PyObject
*_wrap_DateTime_SubtractDS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17932 PyObject
*resultobj
;
17933 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17934 wxDateSpan
*arg2
= 0 ;
17935 wxDateTime
*result
;
17936 PyObject
* obj0
= 0 ;
17937 PyObject
* obj1
= 0 ;
17938 char *kwnames
[] = {
17939 (char *) "self",(char *) "diff", NULL
17942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractDS",kwnames
,&obj0
,&obj1
)) goto fail
;
17943 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17944 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17945 if (arg2
== NULL
) {
17946 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17951 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
17952 result
= (wxDateTime
*) &_result_ref
;
17955 wxPyEndAllowThreads(__tstate
);
17956 if (PyErr_Occurred()) SWIG_fail
;
17958 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
17965 static PyObject
*_wrap_DateTime_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17966 PyObject
*resultobj
;
17967 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17968 wxDateTime
*arg2
= 0 ;
17970 PyObject
* obj0
= 0 ;
17971 PyObject
* obj1
= 0 ;
17972 char *kwnames
[] = {
17973 (char *) "self",(char *) "dt", NULL
17976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
17977 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17978 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17979 if (arg2
== NULL
) {
17980 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17984 result
= ((wxDateTime
const *)arg1
)->Subtract((wxDateTime
const &)*arg2
);
17986 wxPyEndAllowThreads(__tstate
);
17987 if (PyErr_Occurred()) SWIG_fail
;
17990 wxTimeSpan
* resultptr
;
17991 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
17992 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTimeSpan
, 1);
18000 static PyObject
*_wrap_DateTime___iadd____SWIG_0(PyObject
*self
, PyObject
*args
) {
18001 PyObject
*resultobj
;
18002 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18003 wxTimeSpan
*arg2
= 0 ;
18004 wxDateTime
*result
;
18005 PyObject
* obj0
= 0 ;
18006 PyObject
* obj1
= 0 ;
18008 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___iadd__",&obj0
,&obj1
)) goto fail
;
18009 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18010 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18011 if (arg2
== NULL
) {
18012 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18017 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
18018 result
= (wxDateTime
*) &_result_ref
;
18021 wxPyEndAllowThreads(__tstate
);
18022 if (PyErr_Occurred()) SWIG_fail
;
18024 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
18031 static PyObject
*_wrap_DateTime___iadd____SWIG_1(PyObject
*self
, PyObject
*args
) {
18032 PyObject
*resultobj
;
18033 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18034 wxDateSpan
*arg2
= 0 ;
18035 wxDateTime
*result
;
18036 PyObject
* obj0
= 0 ;
18037 PyObject
* obj1
= 0 ;
18039 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___iadd__",&obj0
,&obj1
)) goto fail
;
18040 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18041 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18042 if (arg2
== NULL
) {
18043 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18048 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
18049 result
= (wxDateTime
*) &_result_ref
;
18052 wxPyEndAllowThreads(__tstate
);
18053 if (PyErr_Occurred()) SWIG_fail
;
18055 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
18062 static PyObject
*_wrap_DateTime___iadd__(PyObject
*self
, PyObject
*args
) {
18067 argc
= PyObject_Length(args
);
18068 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
18069 argv
[ii
] = PyTuple_GetItem(args
,ii
);
18075 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
18085 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
18093 return _wrap_DateTime___iadd____SWIG_0(self
,args
);
18101 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
18111 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
18119 return _wrap_DateTime___iadd____SWIG_1(self
,args
);
18124 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___iadd__'");
18129 static PyObject
*_wrap_DateTime___isub____SWIG_0(PyObject
*self
, PyObject
*args
) {
18130 PyObject
*resultobj
;
18131 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18132 wxTimeSpan
*arg2
= 0 ;
18133 wxDateTime
*result
;
18134 PyObject
* obj0
= 0 ;
18135 PyObject
* obj1
= 0 ;
18137 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___isub__",&obj0
,&obj1
)) goto fail
;
18138 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18139 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18140 if (arg2
== NULL
) {
18141 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18146 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
18147 result
= (wxDateTime
*) &_result_ref
;
18150 wxPyEndAllowThreads(__tstate
);
18151 if (PyErr_Occurred()) SWIG_fail
;
18153 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
18160 static PyObject
*_wrap_DateTime___isub____SWIG_1(PyObject
*self
, PyObject
*args
) {
18161 PyObject
*resultobj
;
18162 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18163 wxDateSpan
*arg2
= 0 ;
18164 wxDateTime
*result
;
18165 PyObject
* obj0
= 0 ;
18166 PyObject
* obj1
= 0 ;
18168 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___isub__",&obj0
,&obj1
)) goto fail
;
18169 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18170 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18171 if (arg2
== NULL
) {
18172 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18177 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
18178 result
= (wxDateTime
*) &_result_ref
;
18181 wxPyEndAllowThreads(__tstate
);
18182 if (PyErr_Occurred()) SWIG_fail
;
18184 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
18191 static PyObject
*_wrap_DateTime___isub__(PyObject
*self
, PyObject
*args
) {
18196 argc
= PyObject_Length(args
);
18197 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
18198 argv
[ii
] = PyTuple_GetItem(args
,ii
);
18204 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
18214 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
18222 return _wrap_DateTime___isub____SWIG_0(self
,args
);
18230 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
18240 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
18248 return _wrap_DateTime___isub____SWIG_1(self
,args
);
18253 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___isub__'");
18258 static PyObject
*_wrap_DateTime___add____SWIG_0(PyObject
*self
, PyObject
*args
) {
18259 PyObject
*resultobj
;
18260 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18261 wxTimeSpan
*arg2
= 0 ;
18263 PyObject
* obj0
= 0 ;
18264 PyObject
* obj1
= 0 ;
18266 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___add__",&obj0
,&obj1
)) goto fail
;
18267 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18268 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18269 if (arg2
== NULL
) {
18270 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18274 result
= wxDateTime___add____SWIG_0(arg1
,(wxTimeSpan
const &)*arg2
);
18276 wxPyEndAllowThreads(__tstate
);
18277 if (PyErr_Occurred()) SWIG_fail
;
18280 wxDateTime
* resultptr
;
18281 resultptr
= new wxDateTime((wxDateTime
&) result
);
18282 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
18290 static PyObject
*_wrap_DateTime___add____SWIG_1(PyObject
*self
, PyObject
*args
) {
18291 PyObject
*resultobj
;
18292 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18293 wxDateSpan
*arg2
= 0 ;
18295 PyObject
* obj0
= 0 ;
18296 PyObject
* obj1
= 0 ;
18298 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___add__",&obj0
,&obj1
)) goto fail
;
18299 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18300 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18301 if (arg2
== NULL
) {
18302 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18306 result
= wxDateTime___add____SWIG_1(arg1
,(wxDateSpan
const &)*arg2
);
18308 wxPyEndAllowThreads(__tstate
);
18309 if (PyErr_Occurred()) SWIG_fail
;
18312 wxDateTime
* resultptr
;
18313 resultptr
= new wxDateTime((wxDateTime
&) result
);
18314 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
18322 static PyObject
*_wrap_DateTime___add__(PyObject
*self
, PyObject
*args
) {
18327 argc
= PyObject_Length(args
);
18328 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
18329 argv
[ii
] = PyTuple_GetItem(args
,ii
);
18335 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
18345 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
18353 return _wrap_DateTime___add____SWIG_0(self
,args
);
18361 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
18371 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
18379 return _wrap_DateTime___add____SWIG_1(self
,args
);
18384 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___add__'");
18389 static PyObject
*_wrap_DateTime___sub____SWIG_0(PyObject
*self
, PyObject
*args
) {
18390 PyObject
*resultobj
;
18391 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18392 wxDateTime
*arg2
= 0 ;
18394 PyObject
* obj0
= 0 ;
18395 PyObject
* obj1
= 0 ;
18397 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
18398 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18399 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18400 if (arg2
== NULL
) {
18401 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18405 result
= wxDateTime___sub____SWIG_0(arg1
,(wxDateTime
const &)*arg2
);
18407 wxPyEndAllowThreads(__tstate
);
18408 if (PyErr_Occurred()) SWIG_fail
;
18411 wxTimeSpan
* resultptr
;
18412 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
18413 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTimeSpan
, 1);
18421 static PyObject
*_wrap_DateTime___sub____SWIG_1(PyObject
*self
, PyObject
*args
) {
18422 PyObject
*resultobj
;
18423 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18424 wxTimeSpan
*arg2
= 0 ;
18426 PyObject
* obj0
= 0 ;
18427 PyObject
* obj1
= 0 ;
18429 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
18430 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18431 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18432 if (arg2
== NULL
) {
18433 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18437 result
= wxDateTime___sub____SWIG_1(arg1
,(wxTimeSpan
const &)*arg2
);
18439 wxPyEndAllowThreads(__tstate
);
18440 if (PyErr_Occurred()) SWIG_fail
;
18443 wxDateTime
* resultptr
;
18444 resultptr
= new wxDateTime((wxDateTime
&) result
);
18445 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
18453 static PyObject
*_wrap_DateTime___sub____SWIG_2(PyObject
*self
, PyObject
*args
) {
18454 PyObject
*resultobj
;
18455 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18456 wxDateSpan
*arg2
= 0 ;
18458 PyObject
* obj0
= 0 ;
18459 PyObject
* obj1
= 0 ;
18461 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
18462 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18463 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18464 if (arg2
== NULL
) {
18465 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18469 result
= wxDateTime___sub____SWIG_2(arg1
,(wxDateSpan
const &)*arg2
);
18471 wxPyEndAllowThreads(__tstate
);
18472 if (PyErr_Occurred()) SWIG_fail
;
18475 wxDateTime
* resultptr
;
18476 resultptr
= new wxDateTime((wxDateTime
&) result
);
18477 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
18485 static PyObject
*_wrap_DateTime___sub__(PyObject
*self
, PyObject
*args
) {
18490 argc
= PyObject_Length(args
);
18491 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
18492 argv
[ii
] = PyTuple_GetItem(args
,ii
);
18498 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
18508 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
18516 return _wrap_DateTime___sub____SWIG_0(self
,args
);
18524 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
18534 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
18542 return _wrap_DateTime___sub____SWIG_1(self
,args
);
18550 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
18560 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
18568 return _wrap_DateTime___sub____SWIG_2(self
,args
);
18573 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___sub__'");
18578 static PyObject
*_wrap_DateTime___lt__(PyObject
*self
, PyObject
*args
) {
18579 PyObject
*resultobj
;
18580 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18581 wxDateTime
*arg2
= 0 ;
18583 PyObject
* obj0
= 0 ;
18584 PyObject
* obj1
= 0 ;
18586 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___lt__",&obj0
,&obj1
)) goto fail
;
18587 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18588 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18589 if (arg2
== NULL
) {
18590 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18594 result
= (bool)wxDateTime___lt__(arg1
,(wxDateTime
const &)*arg2
);
18596 wxPyEndAllowThreads(__tstate
);
18597 if (PyErr_Occurred()) SWIG_fail
;
18599 resultobj
= PyInt_FromLong((long)result
);
18606 static PyObject
*_wrap_DateTime___le__(PyObject
*self
, PyObject
*args
) {
18607 PyObject
*resultobj
;
18608 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18609 wxDateTime
*arg2
= 0 ;
18611 PyObject
* obj0
= 0 ;
18612 PyObject
* obj1
= 0 ;
18614 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___le__",&obj0
,&obj1
)) goto fail
;
18615 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18616 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18617 if (arg2
== NULL
) {
18618 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18622 result
= (bool)wxDateTime___le__(arg1
,(wxDateTime
const &)*arg2
);
18624 wxPyEndAllowThreads(__tstate
);
18625 if (PyErr_Occurred()) SWIG_fail
;
18627 resultobj
= PyInt_FromLong((long)result
);
18634 static PyObject
*_wrap_DateTime___gt__(PyObject
*self
, PyObject
*args
) {
18635 PyObject
*resultobj
;
18636 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18637 wxDateTime
*arg2
= 0 ;
18639 PyObject
* obj0
= 0 ;
18640 PyObject
* obj1
= 0 ;
18642 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___gt__",&obj0
,&obj1
)) goto fail
;
18643 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18644 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18645 if (arg2
== NULL
) {
18646 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18650 result
= (bool)wxDateTime___gt__(arg1
,(wxDateTime
const &)*arg2
);
18652 wxPyEndAllowThreads(__tstate
);
18653 if (PyErr_Occurred()) SWIG_fail
;
18655 resultobj
= PyInt_FromLong((long)result
);
18662 static PyObject
*_wrap_DateTime___ge__(PyObject
*self
, PyObject
*args
) {
18663 PyObject
*resultobj
;
18664 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18665 wxDateTime
*arg2
= 0 ;
18667 PyObject
* obj0
= 0 ;
18668 PyObject
* obj1
= 0 ;
18670 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___ge__",&obj0
,&obj1
)) goto fail
;
18671 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18672 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18673 if (arg2
== NULL
) {
18674 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18678 result
= (bool)wxDateTime___ge__(arg1
,(wxDateTime
const &)*arg2
);
18680 wxPyEndAllowThreads(__tstate
);
18681 if (PyErr_Occurred()) SWIG_fail
;
18683 resultobj
= PyInt_FromLong((long)result
);
18690 static PyObject
*_wrap_DateTime___eq__(PyObject
*self
, PyObject
*args
) {
18691 PyObject
*resultobj
;
18692 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18693 wxDateTime
*arg2
= 0 ;
18695 PyObject
* obj0
= 0 ;
18696 PyObject
* obj1
= 0 ;
18698 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___eq__",&obj0
,&obj1
)) goto fail
;
18699 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18700 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18701 if (arg2
== NULL
) {
18702 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18706 result
= (bool)wxDateTime___eq__(arg1
,(wxDateTime
const &)*arg2
);
18708 wxPyEndAllowThreads(__tstate
);
18709 if (PyErr_Occurred()) SWIG_fail
;
18711 resultobj
= PyInt_FromLong((long)result
);
18718 static PyObject
*_wrap_DateTime___ne__(PyObject
*self
, PyObject
*args
) {
18719 PyObject
*resultobj
;
18720 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18721 wxDateTime
*arg2
= 0 ;
18723 PyObject
* obj0
= 0 ;
18724 PyObject
* obj1
= 0 ;
18726 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___ne__",&obj0
,&obj1
)) goto fail
;
18727 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18728 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18729 if (arg2
== NULL
) {
18730 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18734 result
= (bool)wxDateTime___ne__(arg1
,(wxDateTime
const &)*arg2
);
18736 wxPyEndAllowThreads(__tstate
);
18737 if (PyErr_Occurred()) SWIG_fail
;
18739 resultobj
= PyInt_FromLong((long)result
);
18746 static PyObject
*_wrap_DateTime_ParseRfc822Date(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18747 PyObject
*resultobj
;
18748 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18749 wxString
*arg2
= 0 ;
18751 bool temp2
= False
;
18752 PyObject
* obj0
= 0 ;
18753 PyObject
* obj1
= 0 ;
18754 char *kwnames
[] = {
18755 (char *) "self",(char *) "date", NULL
18758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseRfc822Date",kwnames
,&obj0
,&obj1
)) goto fail
;
18759 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18761 arg2
= wxString_in_helper(obj1
);
18762 if (arg2
== NULL
) SWIG_fail
;
18766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18767 result
= (int)wxDateTime_ParseRfc822Date(arg1
,(wxString
const &)*arg2
);
18769 wxPyEndAllowThreads(__tstate
);
18770 if (PyErr_Occurred()) SWIG_fail
;
18772 resultobj
= PyInt_FromLong((long)result
);
18787 static PyObject
*_wrap_DateTime_ParseFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18788 PyObject
*resultobj
;
18789 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18790 wxString
*arg2
= 0 ;
18791 wxString
const &arg3_defvalue
= wxPyDateFormatStr
;
18792 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18793 wxDateTime
const &arg4_defvalue
= wxDefaultDateTime
;
18794 wxDateTime
*arg4
= (wxDateTime
*) &arg4_defvalue
;
18796 bool temp2
= False
;
18797 bool temp3
= False
;
18798 PyObject
* obj0
= 0 ;
18799 PyObject
* obj1
= 0 ;
18800 PyObject
* obj2
= 0 ;
18801 PyObject
* obj3
= 0 ;
18802 char *kwnames
[] = {
18803 (char *) "self",(char *) "date",(char *) "format",(char *) "dateDef", NULL
18806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_ParseFormat",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18807 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18809 arg2
= wxString_in_helper(obj1
);
18810 if (arg2
== NULL
) SWIG_fail
;
18815 arg3
= wxString_in_helper(obj2
);
18816 if (arg3
== NULL
) SWIG_fail
;
18821 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18822 if (arg4
== NULL
) {
18823 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18828 result
= (int)wxDateTime_ParseFormat(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxDateTime
const &)*arg4
);
18830 wxPyEndAllowThreads(__tstate
);
18831 if (PyErr_Occurred()) SWIG_fail
;
18833 resultobj
= PyInt_FromLong((long)result
);
18856 static PyObject
*_wrap_DateTime_ParseDateTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18857 PyObject
*resultobj
;
18858 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18859 wxString
*arg2
= 0 ;
18861 bool temp2
= False
;
18862 PyObject
* obj0
= 0 ;
18863 PyObject
* obj1
= 0 ;
18864 char *kwnames
[] = {
18865 (char *) "self",(char *) "datetime", NULL
18868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDateTime",kwnames
,&obj0
,&obj1
)) goto fail
;
18869 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18871 arg2
= wxString_in_helper(obj1
);
18872 if (arg2
== NULL
) SWIG_fail
;
18876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18877 result
= (int)wxDateTime_ParseDateTime(arg1
,(wxString
const &)*arg2
);
18879 wxPyEndAllowThreads(__tstate
);
18880 if (PyErr_Occurred()) SWIG_fail
;
18882 resultobj
= PyInt_FromLong((long)result
);
18897 static PyObject
*_wrap_DateTime_ParseDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18898 PyObject
*resultobj
;
18899 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18900 wxString
*arg2
= 0 ;
18902 bool temp2
= False
;
18903 PyObject
* obj0
= 0 ;
18904 PyObject
* obj1
= 0 ;
18905 char *kwnames
[] = {
18906 (char *) "self",(char *) "date", NULL
18909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDate",kwnames
,&obj0
,&obj1
)) goto fail
;
18910 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18912 arg2
= wxString_in_helper(obj1
);
18913 if (arg2
== NULL
) SWIG_fail
;
18917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18918 result
= (int)wxDateTime_ParseDate(arg1
,(wxString
const &)*arg2
);
18920 wxPyEndAllowThreads(__tstate
);
18921 if (PyErr_Occurred()) SWIG_fail
;
18923 resultobj
= PyInt_FromLong((long)result
);
18938 static PyObject
*_wrap_DateTime_ParseTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18939 PyObject
*resultobj
;
18940 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18941 wxString
*arg2
= 0 ;
18943 bool temp2
= False
;
18944 PyObject
* obj0
= 0 ;
18945 PyObject
* obj1
= 0 ;
18946 char *kwnames
[] = {
18947 (char *) "self",(char *) "time", NULL
18950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseTime",kwnames
,&obj0
,&obj1
)) goto fail
;
18951 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18953 arg2
= wxString_in_helper(obj1
);
18954 if (arg2
== NULL
) SWIG_fail
;
18958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18959 result
= (int)wxDateTime_ParseTime(arg1
,(wxString
const &)*arg2
);
18961 wxPyEndAllowThreads(__tstate
);
18962 if (PyErr_Occurred()) SWIG_fail
;
18964 resultobj
= PyInt_FromLong((long)result
);
18979 static PyObject
*_wrap_DateTime_Format(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18980 PyObject
*resultobj
;
18981 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18982 wxString
const &arg2_defvalue
= wxPyDateFormatStr
;
18983 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
18984 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
18985 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
18987 bool temp2
= False
;
18988 bool temp3
= False
;
18989 PyObject
* obj0
= 0 ;
18990 PyObject
* obj1
= 0 ;
18991 PyObject
* obj2
= 0 ;
18992 char *kwnames
[] = {
18993 (char *) "self",(char *) "format",(char *) "tz", NULL
18996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_Format",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18997 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19000 arg2
= wxString_in_helper(obj1
);
19001 if (arg2
== NULL
) SWIG_fail
;
19007 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
19012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19013 result
= ((wxDateTime
const *)arg1
)->Format((wxString
const &)*arg2
,(wxDateTime::TimeZone
const &)*arg3
);
19015 wxPyEndAllowThreads(__tstate
);
19016 if (PyErr_Occurred()) SWIG_fail
;
19020 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19022 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19030 if (temp3
) delete arg3
;
19039 if (temp3
) delete arg3
;
19045 static PyObject
*_wrap_DateTime_FormatDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19046 PyObject
*resultobj
;
19047 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19049 PyObject
* obj0
= 0 ;
19050 char *kwnames
[] = {
19051 (char *) "self", NULL
19054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatDate",kwnames
,&obj0
)) goto fail
;
19055 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19058 result
= ((wxDateTime
const *)arg1
)->FormatDate();
19060 wxPyEndAllowThreads(__tstate
);
19061 if (PyErr_Occurred()) SWIG_fail
;
19065 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19067 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19076 static PyObject
*_wrap_DateTime_FormatTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19077 PyObject
*resultobj
;
19078 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19080 PyObject
* obj0
= 0 ;
19081 char *kwnames
[] = {
19082 (char *) "self", NULL
19085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatTime",kwnames
,&obj0
)) goto fail
;
19086 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19089 result
= ((wxDateTime
const *)arg1
)->FormatTime();
19091 wxPyEndAllowThreads(__tstate
);
19092 if (PyErr_Occurred()) SWIG_fail
;
19096 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19098 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19107 static PyObject
*_wrap_DateTime_FormatISODate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19108 PyObject
*resultobj
;
19109 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19111 PyObject
* obj0
= 0 ;
19112 char *kwnames
[] = {
19113 (char *) "self", NULL
19116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatISODate",kwnames
,&obj0
)) goto fail
;
19117 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19120 result
= ((wxDateTime
const *)arg1
)->FormatISODate();
19122 wxPyEndAllowThreads(__tstate
);
19123 if (PyErr_Occurred()) SWIG_fail
;
19127 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19129 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19138 static PyObject
*_wrap_DateTime_FormatISOTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19139 PyObject
*resultobj
;
19140 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19142 PyObject
* obj0
= 0 ;
19143 char *kwnames
[] = {
19144 (char *) "self", NULL
19147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatISOTime",kwnames
,&obj0
)) goto fail
;
19148 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19151 result
= ((wxDateTime
const *)arg1
)->FormatISOTime();
19153 wxPyEndAllowThreads(__tstate
);
19154 if (PyErr_Occurred()) SWIG_fail
;
19158 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19160 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19169 static PyObject
* DateTime_swigregister(PyObject
*self
, PyObject
*args
) {
19171 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19172 SWIG_TypeClientData(SWIGTYPE_p_wxDateTime
, obj
);
19174 return Py_BuildValue((char *)"");
19176 static PyObject
*_wrap_TimeSpan_Seconds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19177 PyObject
*resultobj
;
19180 char *kwnames
[] = {
19181 (char *) "sec", NULL
19184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"l:TimeSpan_Seconds",kwnames
,&arg1
)) goto fail
;
19186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19187 result
= wxTimeSpan::Seconds(arg1
);
19189 wxPyEndAllowThreads(__tstate
);
19190 if (PyErr_Occurred()) SWIG_fail
;
19193 wxTimeSpan
* resultptr
;
19194 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
19195 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTimeSpan
, 1);
19203 static PyObject
*_wrap_TimeSpan_Second(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19204 PyObject
*resultobj
;
19206 char *kwnames
[] = {
19210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Second",kwnames
)) goto fail
;
19212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19213 result
= wxTimeSpan::Second();
19215 wxPyEndAllowThreads(__tstate
);
19216 if (PyErr_Occurred()) SWIG_fail
;
19219 wxTimeSpan
* resultptr
;
19220 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
19221 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTimeSpan
, 1);
19229 static PyObject
*_wrap_TimeSpan_Minutes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19230 PyObject
*resultobj
;
19233 char *kwnames
[] = {
19234 (char *) "min", NULL
19237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"l:TimeSpan_Minutes",kwnames
,&arg1
)) goto fail
;
19239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19240 result
= wxTimeSpan::Minutes(arg1
);
19242 wxPyEndAllowThreads(__tstate
);
19243 if (PyErr_Occurred()) SWIG_fail
;
19246 wxTimeSpan
* resultptr
;
19247 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
19248 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTimeSpan
, 1);
19256 static PyObject
*_wrap_TimeSpan_Minute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19257 PyObject
*resultobj
;
19259 char *kwnames
[] = {
19263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Minute",kwnames
)) goto fail
;
19265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19266 result
= wxTimeSpan::Minute();
19268 wxPyEndAllowThreads(__tstate
);
19269 if (PyErr_Occurred()) SWIG_fail
;
19272 wxTimeSpan
* resultptr
;
19273 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
19274 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTimeSpan
, 1);
19282 static PyObject
*_wrap_TimeSpan_Hours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19283 PyObject
*resultobj
;
19286 char *kwnames
[] = {
19287 (char *) "hours", NULL
19290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"l:TimeSpan_Hours",kwnames
,&arg1
)) goto fail
;
19292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19293 result
= wxTimeSpan::Hours(arg1
);
19295 wxPyEndAllowThreads(__tstate
);
19296 if (PyErr_Occurred()) SWIG_fail
;
19299 wxTimeSpan
* resultptr
;
19300 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
19301 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTimeSpan
, 1);
19309 static PyObject
*_wrap_TimeSpan_Hour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19310 PyObject
*resultobj
;
19312 char *kwnames
[] = {
19316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Hour",kwnames
)) goto fail
;
19318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19319 result
= wxTimeSpan::Hour();
19321 wxPyEndAllowThreads(__tstate
);
19322 if (PyErr_Occurred()) SWIG_fail
;
19325 wxTimeSpan
* resultptr
;
19326 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
19327 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTimeSpan
, 1);
19335 static PyObject
*_wrap_TimeSpan_Days(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19336 PyObject
*resultobj
;
19339 char *kwnames
[] = {
19340 (char *) "days", NULL
19343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"l:TimeSpan_Days",kwnames
,&arg1
)) goto fail
;
19345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19346 result
= wxTimeSpan::Days(arg1
);
19348 wxPyEndAllowThreads(__tstate
);
19349 if (PyErr_Occurred()) SWIG_fail
;
19352 wxTimeSpan
* resultptr
;
19353 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
19354 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTimeSpan
, 1);
19362 static PyObject
*_wrap_TimeSpan_Day(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19363 PyObject
*resultobj
;
19365 char *kwnames
[] = {
19369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Day",kwnames
)) goto fail
;
19371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19372 result
= wxTimeSpan::Day();
19374 wxPyEndAllowThreads(__tstate
);
19375 if (PyErr_Occurred()) SWIG_fail
;
19378 wxTimeSpan
* resultptr
;
19379 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
19380 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTimeSpan
, 1);
19388 static PyObject
*_wrap_TimeSpan_Weeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19389 PyObject
*resultobj
;
19392 char *kwnames
[] = {
19393 (char *) "days", NULL
19396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"l:TimeSpan_Weeks",kwnames
,&arg1
)) goto fail
;
19398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19399 result
= wxTimeSpan::Weeks(arg1
);
19401 wxPyEndAllowThreads(__tstate
);
19402 if (PyErr_Occurred()) SWIG_fail
;
19405 wxTimeSpan
* resultptr
;
19406 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
19407 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTimeSpan
, 1);
19415 static PyObject
*_wrap_TimeSpan_Week(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19416 PyObject
*resultobj
;
19418 char *kwnames
[] = {
19422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Week",kwnames
)) goto fail
;
19424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19425 result
= wxTimeSpan::Week();
19427 wxPyEndAllowThreads(__tstate
);
19428 if (PyErr_Occurred()) SWIG_fail
;
19431 wxTimeSpan
* resultptr
;
19432 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
19433 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTimeSpan
, 1);
19441 static PyObject
*_wrap_new_TimeSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19442 PyObject
*resultobj
;
19443 long arg1
= (long) 0 ;
19444 long arg2
= (long) 0 ;
19445 long arg3
= (long) 0 ;
19446 long arg4
= (long) 0 ;
19447 wxTimeSpan
*result
;
19448 char *kwnames
[] = {
19449 (char *) "hours",(char *) "minutes",(char *) "seconds",(char *) "milliseconds", NULL
19452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|llll:new_TimeSpan",kwnames
,&arg1
,&arg2
,&arg3
,&arg4
)) goto fail
;
19454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19455 result
= (wxTimeSpan
*)new wxTimeSpan(arg1
,arg2
,arg3
,arg4
);
19457 wxPyEndAllowThreads(__tstate
);
19458 if (PyErr_Occurred()) SWIG_fail
;
19460 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTimeSpan
, 1);
19467 static PyObject
*_wrap_delete_TimeSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19468 PyObject
*resultobj
;
19469 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
19470 PyObject
* obj0
= 0 ;
19471 char *kwnames
[] = {
19472 (char *) "self", NULL
19475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TimeSpan",kwnames
,&obj0
)) goto fail
;
19476 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19481 wxPyEndAllowThreads(__tstate
);
19482 if (PyErr_Occurred()) SWIG_fail
;
19484 Py_INCREF(Py_None
); resultobj
= Py_None
;
19491 static PyObject
*_wrap_TimeSpan_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19492 PyObject
*resultobj
;
19493 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
19494 wxTimeSpan
*arg2
= 0 ;
19495 wxTimeSpan
*result
;
19496 PyObject
* obj0
= 0 ;
19497 PyObject
* obj1
= 0 ;
19498 char *kwnames
[] = {
19499 (char *) "self",(char *) "diff", NULL
19502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Add",kwnames
,&obj0
,&obj1
)) goto fail
;
19503 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19504 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19505 if (arg2
== NULL
) {
19506 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19511 wxTimeSpan
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
19512 result
= (wxTimeSpan
*) &_result_ref
;
19515 wxPyEndAllowThreads(__tstate
);
19516 if (PyErr_Occurred()) SWIG_fail
;
19518 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTimeSpan
, 0);
19525 static PyObject
*_wrap_TimeSpan_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19526 PyObject
*resultobj
;
19527 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
19528 wxTimeSpan
*arg2
= 0 ;
19529 wxTimeSpan
*result
;
19530 PyObject
* obj0
= 0 ;
19531 PyObject
* obj1
= 0 ;
19532 char *kwnames
[] = {
19533 (char *) "self",(char *) "diff", NULL
19536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
19537 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19538 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19539 if (arg2
== NULL
) {
19540 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19545 wxTimeSpan
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
19546 result
= (wxTimeSpan
*) &_result_ref
;
19549 wxPyEndAllowThreads(__tstate
);
19550 if (PyErr_Occurred()) SWIG_fail
;
19552 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTimeSpan
, 0);
19559 static PyObject
*_wrap_TimeSpan_Multiply(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19560 PyObject
*resultobj
;
19561 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
19563 wxTimeSpan
*result
;
19564 PyObject
* obj0
= 0 ;
19565 char *kwnames
[] = {
19566 (char *) "self",(char *) "n", NULL
19569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:TimeSpan_Multiply",kwnames
,&obj0
,&arg2
)) goto fail
;
19570 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19574 wxTimeSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
19575 result
= (wxTimeSpan
*) &_result_ref
;
19578 wxPyEndAllowThreads(__tstate
);
19579 if (PyErr_Occurred()) SWIG_fail
;
19581 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTimeSpan
, 0);
19588 static PyObject
*_wrap_TimeSpan_Neg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19589 PyObject
*resultobj
;
19590 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
19591 wxTimeSpan
*result
;
19592 PyObject
* obj0
= 0 ;
19593 char *kwnames
[] = {
19594 (char *) "self", NULL
19597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Neg",kwnames
,&obj0
)) goto fail
;
19598 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19602 wxTimeSpan
&_result_ref
= (arg1
)->Neg();
19603 result
= (wxTimeSpan
*) &_result_ref
;
19606 wxPyEndAllowThreads(__tstate
);
19607 if (PyErr_Occurred()) SWIG_fail
;
19609 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTimeSpan
, 0);
19616 static PyObject
*_wrap_TimeSpan_Abs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19617 PyObject
*resultobj
;
19618 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
19620 PyObject
* obj0
= 0 ;
19621 char *kwnames
[] = {
19622 (char *) "self", NULL
19625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Abs",kwnames
,&obj0
)) goto fail
;
19626 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19629 result
= ((wxTimeSpan
const *)arg1
)->Abs();
19631 wxPyEndAllowThreads(__tstate
);
19632 if (PyErr_Occurred()) SWIG_fail
;
19635 wxTimeSpan
* resultptr
;
19636 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
19637 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTimeSpan
, 1);
19645 static PyObject
*_wrap_TimeSpan___iadd__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19646 PyObject
*resultobj
;
19647 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
19648 wxTimeSpan
*arg2
= 0 ;
19649 wxTimeSpan
*result
;
19650 PyObject
* obj0
= 0 ;
19651 PyObject
* obj1
= 0 ;
19652 char *kwnames
[] = {
19653 (char *) "self",(char *) "diff", NULL
19656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
19657 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19658 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19659 if (arg2
== NULL
) {
19660 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19665 wxTimeSpan
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
19666 result
= (wxTimeSpan
*) &_result_ref
;
19669 wxPyEndAllowThreads(__tstate
);
19670 if (PyErr_Occurred()) SWIG_fail
;
19672 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTimeSpan
, 0);
19679 static PyObject
*_wrap_TimeSpan___isub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19680 PyObject
*resultobj
;
19681 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
19682 wxTimeSpan
*arg2
= 0 ;
19683 wxTimeSpan
*result
;
19684 PyObject
* obj0
= 0 ;
19685 PyObject
* obj1
= 0 ;
19686 char *kwnames
[] = {
19687 (char *) "self",(char *) "diff", NULL
19690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
19691 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19692 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19693 if (arg2
== NULL
) {
19694 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19699 wxTimeSpan
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
19700 result
= (wxTimeSpan
*) &_result_ref
;
19703 wxPyEndAllowThreads(__tstate
);
19704 if (PyErr_Occurred()) SWIG_fail
;
19706 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTimeSpan
, 0);
19713 static PyObject
*_wrap_TimeSpan___imul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19714 PyObject
*resultobj
;
19715 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
19717 wxTimeSpan
*result
;
19718 PyObject
* obj0
= 0 ;
19719 char *kwnames
[] = {
19720 (char *) "self",(char *) "n", NULL
19723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:TimeSpan___imul__",kwnames
,&obj0
,&arg2
)) goto fail
;
19724 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19728 wxTimeSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
19729 result
= (wxTimeSpan
*) &_result_ref
;
19732 wxPyEndAllowThreads(__tstate
);
19733 if (PyErr_Occurred()) SWIG_fail
;
19735 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTimeSpan
, 0);
19742 static PyObject
*_wrap_TimeSpan___neg__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19743 PyObject
*resultobj
;
19744 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
19745 wxTimeSpan
*result
;
19746 PyObject
* obj0
= 0 ;
19747 char *kwnames
[] = {
19748 (char *) "self", NULL
19751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan___neg__",kwnames
,&obj0
)) goto fail
;
19752 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19756 wxTimeSpan
&_result_ref
= (arg1
)->operator -();
19757 result
= (wxTimeSpan
*) &_result_ref
;
19760 wxPyEndAllowThreads(__tstate
);
19761 if (PyErr_Occurred()) SWIG_fail
;
19763 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTimeSpan
, 0);
19770 static PyObject
*_wrap_TimeSpan___add__(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___add__",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
= wxTimeSpan___add__(arg1
,(wxTimeSpan
const &)*arg2
);
19791 wxPyEndAllowThreads(__tstate
);
19792 if (PyErr_Occurred()) SWIG_fail
;
19795 wxTimeSpan
* resultptr
;
19796 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
19797 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTimeSpan
, 1);
19805 static PyObject
*_wrap_TimeSpan___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19806 PyObject
*resultobj
;
19807 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
19808 wxTimeSpan
*arg2
= 0 ;
19810 PyObject
* obj0
= 0 ;
19811 PyObject
* obj1
= 0 ;
19812 char *kwnames
[] = {
19813 (char *) "self",(char *) "other", NULL
19816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
19817 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19818 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19819 if (arg2
== NULL
) {
19820 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19824 result
= wxTimeSpan___sub__(arg1
,(wxTimeSpan
const &)*arg2
);
19826 wxPyEndAllowThreads(__tstate
);
19827 if (PyErr_Occurred()) SWIG_fail
;
19830 wxTimeSpan
* resultptr
;
19831 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
19832 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTimeSpan
, 1);
19840 static PyObject
*_wrap_TimeSpan___mul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19841 PyObject
*resultobj
;
19842 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
19845 PyObject
* obj0
= 0 ;
19846 char *kwnames
[] = {
19847 (char *) "self",(char *) "n", NULL
19850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:TimeSpan___mul__",kwnames
,&obj0
,&arg2
)) goto fail
;
19851 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19854 result
= wxTimeSpan___mul__(arg1
,arg2
);
19856 wxPyEndAllowThreads(__tstate
);
19857 if (PyErr_Occurred()) SWIG_fail
;
19860 wxTimeSpan
* resultptr
;
19861 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
19862 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTimeSpan
, 1);
19870 static PyObject
*_wrap_TimeSpan___rmul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19871 PyObject
*resultobj
;
19872 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
19875 PyObject
* obj0
= 0 ;
19876 char *kwnames
[] = {
19877 (char *) "self",(char *) "n", NULL
19880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:TimeSpan___rmul__",kwnames
,&obj0
,&arg2
)) goto fail
;
19881 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19884 result
= wxTimeSpan___rmul__(arg1
,arg2
);
19886 wxPyEndAllowThreads(__tstate
);
19887 if (PyErr_Occurred()) SWIG_fail
;
19890 wxTimeSpan
* resultptr
;
19891 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
19892 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTimeSpan
, 1);
19900 static PyObject
*_wrap_TimeSpan___lt__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19901 PyObject
*resultobj
;
19902 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
19903 wxTimeSpan
*arg2
= 0 ;
19905 PyObject
* obj0
= 0 ;
19906 PyObject
* obj1
= 0 ;
19907 char *kwnames
[] = {
19908 (char *) "self",(char *) "other", NULL
19911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___lt__",kwnames
,&obj0
,&obj1
)) goto fail
;
19912 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19913 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19914 if (arg2
== NULL
) {
19915 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19919 result
= (bool)wxTimeSpan___lt__(arg1
,(wxTimeSpan
const &)*arg2
);
19921 wxPyEndAllowThreads(__tstate
);
19922 if (PyErr_Occurred()) SWIG_fail
;
19924 resultobj
= PyInt_FromLong((long)result
);
19931 static PyObject
*_wrap_TimeSpan___le__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19932 PyObject
*resultobj
;
19933 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
19934 wxTimeSpan
*arg2
= 0 ;
19936 PyObject
* obj0
= 0 ;
19937 PyObject
* obj1
= 0 ;
19938 char *kwnames
[] = {
19939 (char *) "self",(char *) "other", NULL
19942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___le__",kwnames
,&obj0
,&obj1
)) goto fail
;
19943 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19944 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19945 if (arg2
== NULL
) {
19946 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19950 result
= (bool)wxTimeSpan___le__(arg1
,(wxTimeSpan
const &)*arg2
);
19952 wxPyEndAllowThreads(__tstate
);
19953 if (PyErr_Occurred()) SWIG_fail
;
19955 resultobj
= PyInt_FromLong((long)result
);
19962 static PyObject
*_wrap_TimeSpan___gt__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19963 PyObject
*resultobj
;
19964 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
19965 wxTimeSpan
*arg2
= 0 ;
19967 PyObject
* obj0
= 0 ;
19968 PyObject
* obj1
= 0 ;
19969 char *kwnames
[] = {
19970 (char *) "self",(char *) "other", NULL
19973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___gt__",kwnames
,&obj0
,&obj1
)) goto fail
;
19974 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19975 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19976 if (arg2
== NULL
) {
19977 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19981 result
= (bool)wxTimeSpan___gt__(arg1
,(wxTimeSpan
const &)*arg2
);
19983 wxPyEndAllowThreads(__tstate
);
19984 if (PyErr_Occurred()) SWIG_fail
;
19986 resultobj
= PyInt_FromLong((long)result
);
19993 static PyObject
*_wrap_TimeSpan___ge__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19994 PyObject
*resultobj
;
19995 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
19996 wxTimeSpan
*arg2
= 0 ;
19998 PyObject
* obj0
= 0 ;
19999 PyObject
* obj1
= 0 ;
20000 char *kwnames
[] = {
20001 (char *) "self",(char *) "other", NULL
20004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ge__",kwnames
,&obj0
,&obj1
)) goto fail
;
20005 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20006 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20007 if (arg2
== NULL
) {
20008 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20012 result
= (bool)wxTimeSpan___ge__(arg1
,(wxTimeSpan
const &)*arg2
);
20014 wxPyEndAllowThreads(__tstate
);
20015 if (PyErr_Occurred()) SWIG_fail
;
20017 resultobj
= PyInt_FromLong((long)result
);
20024 static PyObject
*_wrap_TimeSpan___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20025 PyObject
*resultobj
;
20026 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
20027 wxTimeSpan
*arg2
= 0 ;
20029 PyObject
* obj0
= 0 ;
20030 PyObject
* obj1
= 0 ;
20031 char *kwnames
[] = {
20032 (char *) "self",(char *) "other", NULL
20035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
20036 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20037 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20038 if (arg2
== NULL
) {
20039 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20043 result
= (bool)wxTimeSpan___eq__(arg1
,(wxTimeSpan
const &)*arg2
);
20045 wxPyEndAllowThreads(__tstate
);
20046 if (PyErr_Occurred()) SWIG_fail
;
20048 resultobj
= PyInt_FromLong((long)result
);
20055 static PyObject
*_wrap_TimeSpan___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20056 PyObject
*resultobj
;
20057 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
20058 wxTimeSpan
*arg2
= 0 ;
20060 PyObject
* obj0
= 0 ;
20061 PyObject
* obj1
= 0 ;
20062 char *kwnames
[] = {
20063 (char *) "self",(char *) "other", NULL
20066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
20067 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20068 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20069 if (arg2
== NULL
) {
20070 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20074 result
= (bool)wxTimeSpan___ne__(arg1
,(wxTimeSpan
const &)*arg2
);
20076 wxPyEndAllowThreads(__tstate
);
20077 if (PyErr_Occurred()) SWIG_fail
;
20079 resultobj
= PyInt_FromLong((long)result
);
20086 static PyObject
*_wrap_TimeSpan_IsNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20087 PyObject
*resultobj
;
20088 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
20090 PyObject
* obj0
= 0 ;
20091 char *kwnames
[] = {
20092 (char *) "self", NULL
20095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsNull",kwnames
,&obj0
)) goto fail
;
20096 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20099 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNull();
20101 wxPyEndAllowThreads(__tstate
);
20102 if (PyErr_Occurred()) SWIG_fail
;
20104 resultobj
= PyInt_FromLong((long)result
);
20111 static PyObject
*_wrap_TimeSpan_IsPositive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20112 PyObject
*resultobj
;
20113 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
20115 PyObject
* obj0
= 0 ;
20116 char *kwnames
[] = {
20117 (char *) "self", NULL
20120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsPositive",kwnames
,&obj0
)) goto fail
;
20121 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20124 result
= (bool)((wxTimeSpan
const *)arg1
)->IsPositive();
20126 wxPyEndAllowThreads(__tstate
);
20127 if (PyErr_Occurred()) SWIG_fail
;
20129 resultobj
= PyInt_FromLong((long)result
);
20136 static PyObject
*_wrap_TimeSpan_IsNegative(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20137 PyObject
*resultobj
;
20138 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
20140 PyObject
* obj0
= 0 ;
20141 char *kwnames
[] = {
20142 (char *) "self", NULL
20145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsNegative",kwnames
,&obj0
)) goto fail
;
20146 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20149 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNegative();
20151 wxPyEndAllowThreads(__tstate
);
20152 if (PyErr_Occurred()) SWIG_fail
;
20154 resultobj
= PyInt_FromLong((long)result
);
20161 static PyObject
*_wrap_TimeSpan_IsEqualTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20162 PyObject
*resultobj
;
20163 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
20164 wxTimeSpan
*arg2
= 0 ;
20166 PyObject
* obj0
= 0 ;
20167 PyObject
* obj1
= 0 ;
20168 char *kwnames
[] = {
20169 (char *) "self",(char *) "ts", NULL
20172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsEqualTo",kwnames
,&obj0
,&obj1
)) goto fail
;
20173 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20174 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20175 if (arg2
== NULL
) {
20176 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20180 result
= (bool)((wxTimeSpan
const *)arg1
)->IsEqualTo((wxTimeSpan
const &)*arg2
);
20182 wxPyEndAllowThreads(__tstate
);
20183 if (PyErr_Occurred()) SWIG_fail
;
20185 resultobj
= PyInt_FromLong((long)result
);
20192 static PyObject
*_wrap_TimeSpan_IsLongerThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20193 PyObject
*resultobj
;
20194 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
20195 wxTimeSpan
*arg2
= 0 ;
20197 PyObject
* obj0
= 0 ;
20198 PyObject
* obj1
= 0 ;
20199 char *kwnames
[] = {
20200 (char *) "self",(char *) "ts", NULL
20203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsLongerThan",kwnames
,&obj0
,&obj1
)) goto fail
;
20204 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20205 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20206 if (arg2
== NULL
) {
20207 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20211 result
= (bool)((wxTimeSpan
const *)arg1
)->IsLongerThan((wxTimeSpan
const &)*arg2
);
20213 wxPyEndAllowThreads(__tstate
);
20214 if (PyErr_Occurred()) SWIG_fail
;
20216 resultobj
= PyInt_FromLong((long)result
);
20223 static PyObject
*_wrap_TimeSpan_IsShorterThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20224 PyObject
*resultobj
;
20225 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
20226 wxTimeSpan
*arg2
= 0 ;
20228 PyObject
* obj0
= 0 ;
20229 PyObject
* obj1
= 0 ;
20230 char *kwnames
[] = {
20231 (char *) "self",(char *) "t", NULL
20234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsShorterThan",kwnames
,&obj0
,&obj1
)) goto fail
;
20235 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20236 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20237 if (arg2
== NULL
) {
20238 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20242 result
= (bool)((wxTimeSpan
const *)arg1
)->IsShorterThan((wxTimeSpan
const &)*arg2
);
20244 wxPyEndAllowThreads(__tstate
);
20245 if (PyErr_Occurred()) SWIG_fail
;
20247 resultobj
= PyInt_FromLong((long)result
);
20254 static PyObject
*_wrap_TimeSpan_GetWeeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20255 PyObject
*resultobj
;
20256 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
20258 PyObject
* obj0
= 0 ;
20259 char *kwnames
[] = {
20260 (char *) "self", NULL
20263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetWeeks",kwnames
,&obj0
)) goto fail
;
20264 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20267 result
= (int)((wxTimeSpan
const *)arg1
)->GetWeeks();
20269 wxPyEndAllowThreads(__tstate
);
20270 if (PyErr_Occurred()) SWIG_fail
;
20272 resultobj
= PyInt_FromLong((long)result
);
20279 static PyObject
*_wrap_TimeSpan_GetDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20280 PyObject
*resultobj
;
20281 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
20283 PyObject
* obj0
= 0 ;
20284 char *kwnames
[] = {
20285 (char *) "self", NULL
20288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetDays",kwnames
,&obj0
)) goto fail
;
20289 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20292 result
= (int)((wxTimeSpan
const *)arg1
)->GetDays();
20294 wxPyEndAllowThreads(__tstate
);
20295 if (PyErr_Occurred()) SWIG_fail
;
20297 resultobj
= PyInt_FromLong((long)result
);
20304 static PyObject
*_wrap_TimeSpan_GetHours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20305 PyObject
*resultobj
;
20306 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
20308 PyObject
* obj0
= 0 ;
20309 char *kwnames
[] = {
20310 (char *) "self", NULL
20313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetHours",kwnames
,&obj0
)) goto fail
;
20314 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20317 result
= (int)((wxTimeSpan
const *)arg1
)->GetHours();
20319 wxPyEndAllowThreads(__tstate
);
20320 if (PyErr_Occurred()) SWIG_fail
;
20322 resultobj
= PyInt_FromLong((long)result
);
20329 static PyObject
*_wrap_TimeSpan_GetMinutes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20330 PyObject
*resultobj
;
20331 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
20333 PyObject
* obj0
= 0 ;
20334 char *kwnames
[] = {
20335 (char *) "self", NULL
20338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetMinutes",kwnames
,&obj0
)) goto fail
;
20339 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20342 result
= (int)((wxTimeSpan
const *)arg1
)->GetMinutes();
20344 wxPyEndAllowThreads(__tstate
);
20345 if (PyErr_Occurred()) SWIG_fail
;
20347 resultobj
= PyInt_FromLong((long)result
);
20354 static PyObject
*_wrap_TimeSpan_GetSeconds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20355 PyObject
*resultobj
;
20356 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
20358 PyObject
* obj0
= 0 ;
20359 char *kwnames
[] = {
20360 (char *) "self", NULL
20363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetSeconds",kwnames
,&obj0
)) goto fail
;
20364 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20367 result
= ((wxTimeSpan
const *)arg1
)->GetSeconds();
20369 wxPyEndAllowThreads(__tstate
);
20370 if (PyErr_Occurred()) SWIG_fail
;
20373 PyObject
*hi
, *lo
, *shifter
, *shifted
;
20374 hi
= PyLong_FromLong( (&result
)->GetHi() );
20375 lo
= PyLong_FromLong( (&result
)->GetLo() );
20376 shifter
= PyLong_FromLong(32);
20377 shifted
= PyNumber_Lshift(hi
, shifter
);
20378 resultobj
= PyNumber_Or(shifted
, lo
);
20381 Py_DECREF(shifter
);
20382 Py_DECREF(shifted
);
20390 static PyObject
*_wrap_TimeSpan_GetMilliseconds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20391 PyObject
*resultobj
;
20392 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
20394 PyObject
* obj0
= 0 ;
20395 char *kwnames
[] = {
20396 (char *) "self", NULL
20399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetMilliseconds",kwnames
,&obj0
)) goto fail
;
20400 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20403 result
= ((wxTimeSpan
const *)arg1
)->GetMilliseconds();
20405 wxPyEndAllowThreads(__tstate
);
20406 if (PyErr_Occurred()) SWIG_fail
;
20409 PyObject
*hi
, *lo
, *shifter
, *shifted
;
20410 hi
= PyLong_FromLong( (&result
)->GetHi() );
20411 lo
= PyLong_FromLong( (&result
)->GetLo() );
20412 shifter
= PyLong_FromLong(32);
20413 shifted
= PyNumber_Lshift(hi
, shifter
);
20414 resultobj
= PyNumber_Or(shifted
, lo
);
20417 Py_DECREF(shifter
);
20418 Py_DECREF(shifted
);
20426 static PyObject
*_wrap_TimeSpan_Format(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20427 PyObject
*resultobj
;
20428 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
20429 wxString
const &arg2_defvalue
= wxPyTimeSpanFormatStr
;
20430 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
20432 bool temp2
= False
;
20433 PyObject
* obj0
= 0 ;
20434 PyObject
* obj1
= 0 ;
20435 char *kwnames
[] = {
20436 (char *) "self",(char *) "format", NULL
20439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TimeSpan_Format",kwnames
,&obj0
,&obj1
)) goto fail
;
20440 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20443 arg2
= wxString_in_helper(obj1
);
20444 if (arg2
== NULL
) SWIG_fail
;
20449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20450 result
= ((wxTimeSpan
const *)arg1
)->Format((wxString
const &)*arg2
);
20452 wxPyEndAllowThreads(__tstate
);
20453 if (PyErr_Occurred()) SWIG_fail
;
20457 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20459 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20476 static PyObject
* TimeSpan_swigregister(PyObject
*self
, PyObject
*args
) {
20478 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20479 SWIG_TypeClientData(SWIGTYPE_p_wxTimeSpan
, obj
);
20481 return Py_BuildValue((char *)"");
20483 static PyObject
*_wrap_new_DateSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20484 PyObject
*resultobj
;
20485 int arg1
= (int) 0 ;
20486 int arg2
= (int) 0 ;
20487 int arg3
= (int) 0 ;
20488 int arg4
= (int) 0 ;
20489 wxDateSpan
*result
;
20490 char *kwnames
[] = {
20491 (char *) "years",(char *) "months",(char *) "weeks",(char *) "days", NULL
20494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iiii:new_DateSpan",kwnames
,&arg1
,&arg2
,&arg3
,&arg4
)) goto fail
;
20496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20497 result
= (wxDateSpan
*)new wxDateSpan(arg1
,arg2
,arg3
,arg4
);
20499 wxPyEndAllowThreads(__tstate
);
20500 if (PyErr_Occurred()) SWIG_fail
;
20502 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateSpan
, 1);
20509 static PyObject
*_wrap_delete_DateSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20510 PyObject
*resultobj
;
20511 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
20512 PyObject
* obj0
= 0 ;
20513 char *kwnames
[] = {
20514 (char *) "self", NULL
20517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DateSpan",kwnames
,&obj0
)) goto fail
;
20518 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20523 wxPyEndAllowThreads(__tstate
);
20524 if (PyErr_Occurred()) SWIG_fail
;
20526 Py_INCREF(Py_None
); resultobj
= Py_None
;
20533 static PyObject
*_wrap_DateSpan_Days(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20534 PyObject
*resultobj
;
20537 char *kwnames
[] = {
20538 (char *) "days", NULL
20541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i:DateSpan_Days",kwnames
,&arg1
)) goto fail
;
20543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20544 result
= wxDateSpan::Days(arg1
);
20546 wxPyEndAllowThreads(__tstate
);
20547 if (PyErr_Occurred()) SWIG_fail
;
20550 wxDateSpan
* resultptr
;
20551 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
20552 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateSpan
, 1);
20560 static PyObject
*_wrap_DateSpan_Day(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20561 PyObject
*resultobj
;
20563 char *kwnames
[] = {
20567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Day",kwnames
)) goto fail
;
20569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20570 result
= wxDateSpan::Day();
20572 wxPyEndAllowThreads(__tstate
);
20573 if (PyErr_Occurred()) SWIG_fail
;
20576 wxDateSpan
* resultptr
;
20577 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
20578 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateSpan
, 1);
20586 static PyObject
*_wrap_DateSpan_Weeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20587 PyObject
*resultobj
;
20590 char *kwnames
[] = {
20591 (char *) "weeks", NULL
20594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i:DateSpan_Weeks",kwnames
,&arg1
)) goto fail
;
20596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20597 result
= wxDateSpan::Weeks(arg1
);
20599 wxPyEndAllowThreads(__tstate
);
20600 if (PyErr_Occurred()) SWIG_fail
;
20603 wxDateSpan
* resultptr
;
20604 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
20605 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateSpan
, 1);
20613 static PyObject
*_wrap_DateSpan_Week(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20614 PyObject
*resultobj
;
20616 char *kwnames
[] = {
20620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Week",kwnames
)) goto fail
;
20622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20623 result
= wxDateSpan::Week();
20625 wxPyEndAllowThreads(__tstate
);
20626 if (PyErr_Occurred()) SWIG_fail
;
20629 wxDateSpan
* resultptr
;
20630 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
20631 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateSpan
, 1);
20639 static PyObject
*_wrap_DateSpan_Months(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20640 PyObject
*resultobj
;
20643 char *kwnames
[] = {
20644 (char *) "mon", NULL
20647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i:DateSpan_Months",kwnames
,&arg1
)) goto fail
;
20649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20650 result
= wxDateSpan::Months(arg1
);
20652 wxPyEndAllowThreads(__tstate
);
20653 if (PyErr_Occurred()) SWIG_fail
;
20656 wxDateSpan
* resultptr
;
20657 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
20658 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateSpan
, 1);
20666 static PyObject
*_wrap_DateSpan_Month(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20667 PyObject
*resultobj
;
20669 char *kwnames
[] = {
20673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Month",kwnames
)) goto fail
;
20675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20676 result
= wxDateSpan::Month();
20678 wxPyEndAllowThreads(__tstate
);
20679 if (PyErr_Occurred()) SWIG_fail
;
20682 wxDateSpan
* resultptr
;
20683 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
20684 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateSpan
, 1);
20692 static PyObject
*_wrap_DateSpan_Years(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20693 PyObject
*resultobj
;
20696 char *kwnames
[] = {
20697 (char *) "years", NULL
20700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i:DateSpan_Years",kwnames
,&arg1
)) goto fail
;
20702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20703 result
= wxDateSpan::Years(arg1
);
20705 wxPyEndAllowThreads(__tstate
);
20706 if (PyErr_Occurred()) SWIG_fail
;
20709 wxDateSpan
* resultptr
;
20710 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
20711 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateSpan
, 1);
20719 static PyObject
*_wrap_DateSpan_Year(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20720 PyObject
*resultobj
;
20722 char *kwnames
[] = {
20726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Year",kwnames
)) goto fail
;
20728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20729 result
= wxDateSpan::Year();
20731 wxPyEndAllowThreads(__tstate
);
20732 if (PyErr_Occurred()) SWIG_fail
;
20735 wxDateSpan
* resultptr
;
20736 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
20737 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateSpan
, 1);
20745 static PyObject
*_wrap_DateSpan_SetYears(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20746 PyObject
*resultobj
;
20747 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
20749 wxDateSpan
*result
;
20750 PyObject
* obj0
= 0 ;
20751 char *kwnames
[] = {
20752 (char *) "self",(char *) "n", NULL
20755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DateSpan_SetYears",kwnames
,&obj0
,&arg2
)) goto fail
;
20756 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20760 wxDateSpan
&_result_ref
= (arg1
)->SetYears(arg2
);
20761 result
= (wxDateSpan
*) &_result_ref
;
20764 wxPyEndAllowThreads(__tstate
);
20765 if (PyErr_Occurred()) SWIG_fail
;
20767 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateSpan
, 0);
20774 static PyObject
*_wrap_DateSpan_SetMonths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20775 PyObject
*resultobj
;
20776 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
20778 wxDateSpan
*result
;
20779 PyObject
* obj0
= 0 ;
20780 char *kwnames
[] = {
20781 (char *) "self",(char *) "n", NULL
20784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DateSpan_SetMonths",kwnames
,&obj0
,&arg2
)) goto fail
;
20785 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20789 wxDateSpan
&_result_ref
= (arg1
)->SetMonths(arg2
);
20790 result
= (wxDateSpan
*) &_result_ref
;
20793 wxPyEndAllowThreads(__tstate
);
20794 if (PyErr_Occurred()) SWIG_fail
;
20796 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateSpan
, 0);
20803 static PyObject
*_wrap_DateSpan_SetWeeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20804 PyObject
*resultobj
;
20805 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
20807 wxDateSpan
*result
;
20808 PyObject
* obj0
= 0 ;
20809 char *kwnames
[] = {
20810 (char *) "self",(char *) "n", NULL
20813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DateSpan_SetWeeks",kwnames
,&obj0
,&arg2
)) goto fail
;
20814 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20818 wxDateSpan
&_result_ref
= (arg1
)->SetWeeks(arg2
);
20819 result
= (wxDateSpan
*) &_result_ref
;
20822 wxPyEndAllowThreads(__tstate
);
20823 if (PyErr_Occurred()) SWIG_fail
;
20825 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateSpan
, 0);
20832 static PyObject
*_wrap_DateSpan_SetDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20833 PyObject
*resultobj
;
20834 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
20836 wxDateSpan
*result
;
20837 PyObject
* obj0
= 0 ;
20838 char *kwnames
[] = {
20839 (char *) "self",(char *) "n", NULL
20842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DateSpan_SetDays",kwnames
,&obj0
,&arg2
)) goto fail
;
20843 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20847 wxDateSpan
&_result_ref
= (arg1
)->SetDays(arg2
);
20848 result
= (wxDateSpan
*) &_result_ref
;
20851 wxPyEndAllowThreads(__tstate
);
20852 if (PyErr_Occurred()) SWIG_fail
;
20854 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateSpan
, 0);
20861 static PyObject
*_wrap_DateSpan_GetYears(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20862 PyObject
*resultobj
;
20863 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
20865 PyObject
* obj0
= 0 ;
20866 char *kwnames
[] = {
20867 (char *) "self", NULL
20870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetYears",kwnames
,&obj0
)) goto fail
;
20871 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20874 result
= (int)((wxDateSpan
const *)arg1
)->GetYears();
20876 wxPyEndAllowThreads(__tstate
);
20877 if (PyErr_Occurred()) SWIG_fail
;
20879 resultobj
= PyInt_FromLong((long)result
);
20886 static PyObject
*_wrap_DateSpan_GetMonths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20887 PyObject
*resultobj
;
20888 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
20890 PyObject
* obj0
= 0 ;
20891 char *kwnames
[] = {
20892 (char *) "self", NULL
20895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetMonths",kwnames
,&obj0
)) goto fail
;
20896 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20899 result
= (int)((wxDateSpan
const *)arg1
)->GetMonths();
20901 wxPyEndAllowThreads(__tstate
);
20902 if (PyErr_Occurred()) SWIG_fail
;
20904 resultobj
= PyInt_FromLong((long)result
);
20911 static PyObject
*_wrap_DateSpan_GetWeeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20912 PyObject
*resultobj
;
20913 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
20915 PyObject
* obj0
= 0 ;
20916 char *kwnames
[] = {
20917 (char *) "self", NULL
20920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetWeeks",kwnames
,&obj0
)) goto fail
;
20921 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20924 result
= (int)((wxDateSpan
const *)arg1
)->GetWeeks();
20926 wxPyEndAllowThreads(__tstate
);
20927 if (PyErr_Occurred()) SWIG_fail
;
20929 resultobj
= PyInt_FromLong((long)result
);
20936 static PyObject
*_wrap_DateSpan_GetDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20937 PyObject
*resultobj
;
20938 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
20940 PyObject
* obj0
= 0 ;
20941 char *kwnames
[] = {
20942 (char *) "self", NULL
20945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetDays",kwnames
,&obj0
)) goto fail
;
20946 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20949 result
= (int)((wxDateSpan
const *)arg1
)->GetDays();
20951 wxPyEndAllowThreads(__tstate
);
20952 if (PyErr_Occurred()) SWIG_fail
;
20954 resultobj
= PyInt_FromLong((long)result
);
20961 static PyObject
*_wrap_DateSpan_GetTotalDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20962 PyObject
*resultobj
;
20963 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
20965 PyObject
* obj0
= 0 ;
20966 char *kwnames
[] = {
20967 (char *) "self", NULL
20970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetTotalDays",kwnames
,&obj0
)) goto fail
;
20971 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20974 result
= (int)((wxDateSpan
const *)arg1
)->GetTotalDays();
20976 wxPyEndAllowThreads(__tstate
);
20977 if (PyErr_Occurred()) SWIG_fail
;
20979 resultobj
= PyInt_FromLong((long)result
);
20986 static PyObject
*_wrap_DateSpan_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20987 PyObject
*resultobj
;
20988 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
20989 wxDateSpan
*arg2
= 0 ;
20990 wxDateSpan
*result
;
20991 PyObject
* obj0
= 0 ;
20992 PyObject
* obj1
= 0 ;
20993 char *kwnames
[] = {
20994 (char *) "self",(char *) "other", NULL
20997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Add",kwnames
,&obj0
,&obj1
)) goto fail
;
20998 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20999 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21000 if (arg2
== NULL
) {
21001 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21006 wxDateSpan
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
21007 result
= (wxDateSpan
*) &_result_ref
;
21010 wxPyEndAllowThreads(__tstate
);
21011 if (PyErr_Occurred()) SWIG_fail
;
21013 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateSpan
, 0);
21020 static PyObject
*_wrap_DateSpan_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21021 PyObject
*resultobj
;
21022 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
21023 wxDateSpan
*arg2
= 0 ;
21024 wxDateSpan
*result
;
21025 PyObject
* obj0
= 0 ;
21026 PyObject
* obj1
= 0 ;
21027 char *kwnames
[] = {
21028 (char *) "self",(char *) "other", NULL
21031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
21032 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21033 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21034 if (arg2
== NULL
) {
21035 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21040 wxDateSpan
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
21041 result
= (wxDateSpan
*) &_result_ref
;
21044 wxPyEndAllowThreads(__tstate
);
21045 if (PyErr_Occurred()) SWIG_fail
;
21047 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateSpan
, 0);
21054 static PyObject
*_wrap_DateSpan_Neg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21055 PyObject
*resultobj
;
21056 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
21057 wxDateSpan
*result
;
21058 PyObject
* obj0
= 0 ;
21059 char *kwnames
[] = {
21060 (char *) "self", NULL
21063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Neg",kwnames
,&obj0
)) goto fail
;
21064 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21068 wxDateSpan
&_result_ref
= (arg1
)->Neg();
21069 result
= (wxDateSpan
*) &_result_ref
;
21072 wxPyEndAllowThreads(__tstate
);
21073 if (PyErr_Occurred()) SWIG_fail
;
21075 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateSpan
, 0);
21082 static PyObject
*_wrap_DateSpan_Multiply(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21083 PyObject
*resultobj
;
21084 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
21086 wxDateSpan
*result
;
21087 PyObject
* obj0
= 0 ;
21088 char *kwnames
[] = {
21089 (char *) "self",(char *) "factor", NULL
21092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DateSpan_Multiply",kwnames
,&obj0
,&arg2
)) goto fail
;
21093 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21097 wxDateSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
21098 result
= (wxDateSpan
*) &_result_ref
;
21101 wxPyEndAllowThreads(__tstate
);
21102 if (PyErr_Occurred()) SWIG_fail
;
21104 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateSpan
, 0);
21111 static PyObject
*_wrap_DateSpan___iadd__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21112 PyObject
*resultobj
;
21113 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
21114 wxDateSpan
*arg2
= 0 ;
21115 wxDateSpan
*result
;
21116 PyObject
* obj0
= 0 ;
21117 PyObject
* obj1
= 0 ;
21118 char *kwnames
[] = {
21119 (char *) "self",(char *) "other", NULL
21122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
21123 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21124 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21125 if (arg2
== NULL
) {
21126 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21131 wxDateSpan
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
21132 result
= (wxDateSpan
*) &_result_ref
;
21135 wxPyEndAllowThreads(__tstate
);
21136 if (PyErr_Occurred()) SWIG_fail
;
21138 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateSpan
, 0);
21145 static PyObject
*_wrap_DateSpan___isub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21146 PyObject
*resultobj
;
21147 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
21148 wxDateSpan
*arg2
= 0 ;
21149 wxDateSpan
*result
;
21150 PyObject
* obj0
= 0 ;
21151 PyObject
* obj1
= 0 ;
21152 char *kwnames
[] = {
21153 (char *) "self",(char *) "other", NULL
21156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
21157 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21158 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21159 if (arg2
== NULL
) {
21160 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21165 wxDateSpan
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
21166 result
= (wxDateSpan
*) &_result_ref
;
21169 wxPyEndAllowThreads(__tstate
);
21170 if (PyErr_Occurred()) SWIG_fail
;
21172 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateSpan
, 0);
21179 static PyObject
*_wrap_DateSpan___neg__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21180 PyObject
*resultobj
;
21181 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
21182 wxDateSpan
*result
;
21183 PyObject
* obj0
= 0 ;
21184 char *kwnames
[] = {
21185 (char *) "self", NULL
21188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan___neg__",kwnames
,&obj0
)) goto fail
;
21189 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21193 wxDateSpan
&_result_ref
= (arg1
)->operator -();
21194 result
= (wxDateSpan
*) &_result_ref
;
21197 wxPyEndAllowThreads(__tstate
);
21198 if (PyErr_Occurred()) SWIG_fail
;
21200 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateSpan
, 0);
21207 static PyObject
*_wrap_DateSpan___imul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21208 PyObject
*resultobj
;
21209 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
21211 wxDateSpan
*result
;
21212 PyObject
* obj0
= 0 ;
21213 char *kwnames
[] = {
21214 (char *) "self",(char *) "factor", NULL
21217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DateSpan___imul__",kwnames
,&obj0
,&arg2
)) goto fail
;
21218 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21222 wxDateSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
21223 result
= (wxDateSpan
*) &_result_ref
;
21226 wxPyEndAllowThreads(__tstate
);
21227 if (PyErr_Occurred()) SWIG_fail
;
21229 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateSpan
, 0);
21236 static PyObject
*_wrap_DateSpan___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21237 PyObject
*resultobj
;
21238 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
21239 wxDateSpan
*arg2
= 0 ;
21241 PyObject
* obj0
= 0 ;
21242 PyObject
* obj1
= 0 ;
21243 char *kwnames
[] = {
21244 (char *) "self",(char *) "other", NULL
21247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
21248 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21249 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21250 if (arg2
== NULL
) {
21251 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21255 result
= wxDateSpan___add__(arg1
,(wxDateSpan
const &)*arg2
);
21257 wxPyEndAllowThreads(__tstate
);
21258 if (PyErr_Occurred()) SWIG_fail
;
21261 wxDateSpan
* resultptr
;
21262 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
21263 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateSpan
, 1);
21271 static PyObject
*_wrap_DateSpan___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21272 PyObject
*resultobj
;
21273 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
21274 wxDateSpan
*arg2
= 0 ;
21276 PyObject
* obj0
= 0 ;
21277 PyObject
* obj1
= 0 ;
21278 char *kwnames
[] = {
21279 (char *) "self",(char *) "other", NULL
21282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
21283 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21284 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21285 if (arg2
== NULL
) {
21286 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21290 result
= wxDateSpan___sub__(arg1
,(wxDateSpan
const &)*arg2
);
21292 wxPyEndAllowThreads(__tstate
);
21293 if (PyErr_Occurred()) SWIG_fail
;
21296 wxDateSpan
* resultptr
;
21297 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
21298 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateSpan
, 1);
21306 static PyObject
*_wrap_DateSpan___mul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21307 PyObject
*resultobj
;
21308 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
21311 PyObject
* obj0
= 0 ;
21312 char *kwnames
[] = {
21313 (char *) "self",(char *) "n", NULL
21316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DateSpan___mul__",kwnames
,&obj0
,&arg2
)) goto fail
;
21317 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21320 result
= wxDateSpan___mul__(arg1
,arg2
);
21322 wxPyEndAllowThreads(__tstate
);
21323 if (PyErr_Occurred()) SWIG_fail
;
21326 wxDateSpan
* resultptr
;
21327 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
21328 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateSpan
, 1);
21336 static PyObject
*_wrap_DateSpan___rmul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21337 PyObject
*resultobj
;
21338 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
21341 PyObject
* obj0
= 0 ;
21342 char *kwnames
[] = {
21343 (char *) "self",(char *) "n", NULL
21346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DateSpan___rmul__",kwnames
,&obj0
,&arg2
)) goto fail
;
21347 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21350 result
= wxDateSpan___rmul__(arg1
,arg2
);
21352 wxPyEndAllowThreads(__tstate
);
21353 if (PyErr_Occurred()) SWIG_fail
;
21356 wxDateSpan
* resultptr
;
21357 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
21358 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateSpan
, 1);
21366 static PyObject
*_wrap_DateSpan___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21367 PyObject
*resultobj
;
21368 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
21369 wxDateSpan
*arg2
= 0 ;
21371 PyObject
* obj0
= 0 ;
21372 PyObject
* obj1
= 0 ;
21373 char *kwnames
[] = {
21374 (char *) "self",(char *) "other", NULL
21377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
21378 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21379 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21380 if (arg2
== NULL
) {
21381 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21385 result
= (bool)wxDateSpan___eq__(arg1
,(wxDateSpan
const &)*arg2
);
21387 wxPyEndAllowThreads(__tstate
);
21388 if (PyErr_Occurred()) SWIG_fail
;
21390 resultobj
= PyInt_FromLong((long)result
);
21397 static PyObject
*_wrap_DateSpan___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21398 PyObject
*resultobj
;
21399 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
21400 wxDateSpan
*arg2
= 0 ;
21402 PyObject
* obj0
= 0 ;
21403 PyObject
* obj1
= 0 ;
21404 char *kwnames
[] = {
21405 (char *) "self",(char *) "other", NULL
21408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
21409 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21410 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21411 if (arg2
== NULL
) {
21412 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21416 result
= (bool)wxDateSpan___ne__(arg1
,(wxDateSpan
const &)*arg2
);
21418 wxPyEndAllowThreads(__tstate
);
21419 if (PyErr_Occurred()) SWIG_fail
;
21421 resultobj
= PyInt_FromLong((long)result
);
21428 static PyObject
* DateSpan_swigregister(PyObject
*self
, PyObject
*args
) {
21430 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21431 SWIG_TypeClientData(SWIGTYPE_p_wxDateSpan
, obj
);
21433 return Py_BuildValue((char *)"");
21435 static PyObject
*_wrap_GetLocalTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21436 PyObject
*resultobj
;
21438 char *kwnames
[] = {
21442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocalTime",kwnames
)) goto fail
;
21444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21445 result
= (long)wxGetLocalTime();
21447 wxPyEndAllowThreads(__tstate
);
21448 if (PyErr_Occurred()) SWIG_fail
;
21450 resultobj
= PyInt_FromLong((long)result
);
21457 static PyObject
*_wrap_GetUTCTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21458 PyObject
*resultobj
;
21460 char *kwnames
[] = {
21464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUTCTime",kwnames
)) goto fail
;
21466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21467 result
= (long)wxGetUTCTime();
21469 wxPyEndAllowThreads(__tstate
);
21470 if (PyErr_Occurred()) SWIG_fail
;
21472 resultobj
= PyInt_FromLong((long)result
);
21479 static PyObject
*_wrap_GetCurrentTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21480 PyObject
*resultobj
;
21482 char *kwnames
[] = {
21486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetCurrentTime",kwnames
)) goto fail
;
21488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21489 result
= (long)wxGetCurrentTime();
21491 wxPyEndAllowThreads(__tstate
);
21492 if (PyErr_Occurred()) SWIG_fail
;
21494 resultobj
= PyInt_FromLong((long)result
);
21501 static PyObject
*_wrap_GetLocalTimeMillis(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21502 PyObject
*resultobj
;
21504 char *kwnames
[] = {
21508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocalTimeMillis",kwnames
)) goto fail
;
21510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21511 result
= wxGetLocalTimeMillis();
21513 wxPyEndAllowThreads(__tstate
);
21514 if (PyErr_Occurred()) SWIG_fail
;
21517 PyObject
*hi
, *lo
, *shifter
, *shifted
;
21518 hi
= PyLong_FromLong( (&result
)->GetHi() );
21519 lo
= PyLong_FromLong( (&result
)->GetLo() );
21520 shifter
= PyLong_FromLong(32);
21521 shifted
= PyNumber_Lshift(hi
, shifter
);
21522 resultobj
= PyNumber_Or(shifted
, lo
);
21525 Py_DECREF(shifter
);
21526 Py_DECREF(shifted
);
21534 static PyObject
*_wrap_new_DataFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21535 PyObject
*resultobj
;
21537 wxDataFormat
*result
;
21538 char *kwnames
[] = {
21539 (char *) "type", NULL
21542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i:new_DataFormat",kwnames
,&arg1
)) goto fail
;
21544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21545 result
= (wxDataFormat
*)new wxDataFormat((wxDataFormatId
)arg1
);
21547 wxPyEndAllowThreads(__tstate
);
21548 if (PyErr_Occurred()) SWIG_fail
;
21550 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDataFormat
, 1);
21557 static PyObject
*_wrap_new_CustomDataFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21558 PyObject
*resultobj
;
21559 wxString
*arg1
= 0 ;
21560 wxDataFormat
*result
;
21561 bool temp1
= False
;
21562 PyObject
* obj0
= 0 ;
21563 char *kwnames
[] = {
21564 (char *) "format", NULL
21567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CustomDataFormat",kwnames
,&obj0
)) goto fail
;
21569 arg1
= wxString_in_helper(obj0
);
21570 if (arg1
== NULL
) SWIG_fail
;
21574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21575 result
= (wxDataFormat
*)new wxDataFormat((wxString
const &)*arg1
);
21577 wxPyEndAllowThreads(__tstate
);
21578 if (PyErr_Occurred()) SWIG_fail
;
21580 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDataFormat
, 1);
21595 static PyObject
*_wrap_delete_DataFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21596 PyObject
*resultobj
;
21597 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
21598 PyObject
* obj0
= 0 ;
21599 char *kwnames
[] = {
21600 (char *) "self", NULL
21603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DataFormat",kwnames
,&obj0
)) goto fail
;
21604 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21609 wxPyEndAllowThreads(__tstate
);
21610 if (PyErr_Occurred()) SWIG_fail
;
21612 Py_INCREF(Py_None
); resultobj
= Py_None
;
21619 static PyObject
*_wrap_DataFormat___eq____SWIG_0(PyObject
*self
, PyObject
*args
) {
21620 PyObject
*resultobj
;
21621 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
21624 PyObject
* obj0
= 0 ;
21626 if(!PyArg_ParseTuple(args
,(char *)"Oi:DataFormat___eq__",&obj0
,&arg2
)) goto fail
;
21627 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21630 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==((wxDataFormatId
)arg2
);
21632 wxPyEndAllowThreads(__tstate
);
21633 if (PyErr_Occurred()) SWIG_fail
;
21635 resultobj
= PyInt_FromLong((long)result
);
21642 static PyObject
*_wrap_DataFormat___ne____SWIG_0(PyObject
*self
, PyObject
*args
) {
21643 PyObject
*resultobj
;
21644 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
21647 PyObject
* obj0
= 0 ;
21649 if(!PyArg_ParseTuple(args
,(char *)"Oi:DataFormat___ne__",&obj0
,&arg2
)) goto fail
;
21650 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21653 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=((wxDataFormatId
)arg2
);
21655 wxPyEndAllowThreads(__tstate
);
21656 if (PyErr_Occurred()) SWIG_fail
;
21658 resultobj
= PyInt_FromLong((long)result
);
21665 static PyObject
*_wrap_DataFormat___eq____SWIG_1(PyObject
*self
, PyObject
*args
) {
21666 PyObject
*resultobj
;
21667 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
21668 wxDataFormat
*arg2
= 0 ;
21670 PyObject
* obj0
= 0 ;
21671 PyObject
* obj1
= 0 ;
21673 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___eq__",&obj0
,&obj1
)) goto fail
;
21674 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21675 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21676 if (arg2
== NULL
) {
21677 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21681 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==((wxDataFormat
const &)*arg2
);
21683 wxPyEndAllowThreads(__tstate
);
21684 if (PyErr_Occurred()) SWIG_fail
;
21686 resultobj
= PyInt_FromLong((long)result
);
21693 static PyObject
*_wrap_DataFormat___eq__(PyObject
*self
, PyObject
*args
) {
21698 argc
= PyObject_Length(args
);
21699 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
21700 argv
[ii
] = PyTuple_GetItem(args
,ii
);
21706 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
21716 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
21724 return _wrap_DataFormat___eq____SWIG_1(self
,args
);
21732 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
21741 _v
= (PyInt_Check(argv
[1]) || PyLong_Check(argv
[1])) ? 1 : 0;
21744 return _wrap_DataFormat___eq____SWIG_0(self
,args
);
21749 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DataFormat___eq__'");
21754 static PyObject
*_wrap_DataFormat___ne____SWIG_1(PyObject
*self
, PyObject
*args
) {
21755 PyObject
*resultobj
;
21756 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
21757 wxDataFormat
*arg2
= 0 ;
21759 PyObject
* obj0
= 0 ;
21760 PyObject
* obj1
= 0 ;
21762 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___ne__",&obj0
,&obj1
)) goto fail
;
21763 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21764 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21765 if (arg2
== NULL
) {
21766 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21770 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=((wxDataFormat
const &)*arg2
);
21772 wxPyEndAllowThreads(__tstate
);
21773 if (PyErr_Occurred()) SWIG_fail
;
21775 resultobj
= PyInt_FromLong((long)result
);
21782 static PyObject
*_wrap_DataFormat___ne__(PyObject
*self
, PyObject
*args
) {
21787 argc
= PyObject_Length(args
);
21788 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
21789 argv
[ii
] = PyTuple_GetItem(args
,ii
);
21795 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
21805 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
21813 return _wrap_DataFormat___ne____SWIG_1(self
,args
);
21821 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
21830 _v
= (PyInt_Check(argv
[1]) || PyLong_Check(argv
[1])) ? 1 : 0;
21833 return _wrap_DataFormat___ne____SWIG_0(self
,args
);
21838 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DataFormat___ne__'");
21843 static PyObject
*_wrap_DataFormat_SetType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21844 PyObject
*resultobj
;
21845 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
21847 PyObject
* obj0
= 0 ;
21848 char *kwnames
[] = {
21849 (char *) "self",(char *) "format", NULL
21852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DataFormat_SetType",kwnames
,&obj0
,&arg2
)) goto fail
;
21853 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21856 (arg1
)->SetType((wxDataFormatId
)arg2
);
21858 wxPyEndAllowThreads(__tstate
);
21859 if (PyErr_Occurred()) SWIG_fail
;
21861 Py_INCREF(Py_None
); resultobj
= Py_None
;
21868 static PyObject
*_wrap_DataFormat_GetType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21869 PyObject
*resultobj
;
21870 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
21872 PyObject
* obj0
= 0 ;
21873 char *kwnames
[] = {
21874 (char *) "self", NULL
21877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataFormat_GetType",kwnames
,&obj0
)) goto fail
;
21878 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21881 result
= (int)((wxDataFormat
const *)arg1
)->GetType();
21883 wxPyEndAllowThreads(__tstate
);
21884 if (PyErr_Occurred()) SWIG_fail
;
21886 resultobj
= PyInt_FromLong((long)result
);
21893 static PyObject
*_wrap_DataFormat_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21894 PyObject
*resultobj
;
21895 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
21897 PyObject
* obj0
= 0 ;
21898 char *kwnames
[] = {
21899 (char *) "self", NULL
21902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataFormat_GetId",kwnames
,&obj0
)) goto fail
;
21903 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21906 result
= ((wxDataFormat
const *)arg1
)->GetId();
21908 wxPyEndAllowThreads(__tstate
);
21909 if (PyErr_Occurred()) SWIG_fail
;
21913 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21915 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21924 static PyObject
*_wrap_DataFormat_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21925 PyObject
*resultobj
;
21926 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
21927 wxString
*arg2
= 0 ;
21928 bool temp2
= False
;
21929 PyObject
* obj0
= 0 ;
21930 PyObject
* obj1
= 0 ;
21931 char *kwnames
[] = {
21932 (char *) "self",(char *) "format", NULL
21935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
21936 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21938 arg2
= wxString_in_helper(obj1
);
21939 if (arg2
== NULL
) SWIG_fail
;
21943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21944 (arg1
)->SetId((wxString
const &)*arg2
);
21946 wxPyEndAllowThreads(__tstate
);
21947 if (PyErr_Occurred()) SWIG_fail
;
21949 Py_INCREF(Py_None
); resultobj
= Py_None
;
21964 static PyObject
* DataFormat_swigregister(PyObject
*self
, PyObject
*args
) {
21966 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21967 SWIG_TypeClientData(SWIGTYPE_p_wxDataFormat
, obj
);
21969 return Py_BuildValue((char *)"");
21971 static int _wrap_FormatInvalid_set(PyObject
*_val
) {
21972 PyErr_SetString(PyExc_TypeError
,"Variable FormatInvalid is read-only.");
21977 static PyObject
*_wrap_FormatInvalid_get() {
21980 pyobj
= SWIG_NewPointerObj((void *) &wxFormatInvalid
, SWIGTYPE_p_wxDataFormat
, 0);
21985 static PyObject
*_wrap_delete_DataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21986 PyObject
*resultobj
;
21987 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
21988 PyObject
* obj0
= 0 ;
21989 char *kwnames
[] = {
21990 (char *) "self", NULL
21993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DataObject",kwnames
,&obj0
)) goto fail
;
21994 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21999 wxPyEndAllowThreads(__tstate
);
22000 if (PyErr_Occurred()) SWIG_fail
;
22002 Py_INCREF(Py_None
); resultobj
= Py_None
;
22009 static PyObject
*_wrap_DataObject_GetPreferredFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22010 PyObject
*resultobj
;
22011 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
22012 int arg2
= (int) wxDataObject::Get
;
22013 SwigValueWrapper
< wxDataFormat
> result
;
22014 PyObject
* obj0
= 0 ;
22015 char *kwnames
[] = {
22016 (char *) "self",(char *) "dir", NULL
22019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:DataObject_GetPreferredFormat",kwnames
,&obj0
,&arg2
)) goto fail
;
22020 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22023 result
= ((wxDataObject
const *)arg1
)->GetPreferredFormat((wxDataObject::Direction
)arg2
);
22025 wxPyEndAllowThreads(__tstate
);
22026 if (PyErr_Occurred()) SWIG_fail
;
22029 wxDataFormat
* resultptr
;
22030 resultptr
= new wxDataFormat((wxDataFormat
&) result
);
22031 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDataFormat
, 1);
22039 static PyObject
*_wrap_DataObject_GetFormatCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22040 PyObject
*resultobj
;
22041 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
22042 int arg2
= (int) wxDataObject::Get
;
22044 PyObject
* obj0
= 0 ;
22045 char *kwnames
[] = {
22046 (char *) "self",(char *) "dir", NULL
22049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:DataObject_GetFormatCount",kwnames
,&obj0
,&arg2
)) goto fail
;
22050 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22053 result
= (size_t)((wxDataObject
const *)arg1
)->GetFormatCount((wxDataObject::Direction
)arg2
);
22055 wxPyEndAllowThreads(__tstate
);
22056 if (PyErr_Occurred()) SWIG_fail
;
22058 resultobj
= PyInt_FromLong((long)result
);
22065 static PyObject
*_wrap_DataObject_IsSupported(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22066 PyObject
*resultobj
;
22067 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
22068 wxDataFormat
*arg2
= 0 ;
22069 int arg3
= (int) wxDataObject::Get
;
22071 PyObject
* obj0
= 0 ;
22072 PyObject
* obj1
= 0 ;
22073 char *kwnames
[] = {
22074 (char *) "self",(char *) "format",(char *) "dir", NULL
22077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:DataObject_IsSupported",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
22078 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22079 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22080 if (arg2
== NULL
) {
22081 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22085 result
= (bool)((wxDataObject
const *)arg1
)->IsSupported((wxDataFormat
const &)*arg2
,(wxDataObject::Direction
)arg3
);
22087 wxPyEndAllowThreads(__tstate
);
22088 if (PyErr_Occurred()) SWIG_fail
;
22090 resultobj
= PyInt_FromLong((long)result
);
22097 static PyObject
*_wrap_DataObject_GetDataSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22098 PyObject
*resultobj
;
22099 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
22100 wxDataFormat
*arg2
= 0 ;
22102 PyObject
* obj0
= 0 ;
22103 PyObject
* obj1
= 0 ;
22104 char *kwnames
[] = {
22105 (char *) "self",(char *) "format", NULL
22108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObject_GetDataSize",kwnames
,&obj0
,&obj1
)) goto fail
;
22109 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22110 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22111 if (arg2
== NULL
) {
22112 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22116 result
= (size_t)((wxDataObject
const *)arg1
)->GetDataSize((wxDataFormat
const &)*arg2
);
22118 wxPyEndAllowThreads(__tstate
);
22119 if (PyErr_Occurred()) SWIG_fail
;
22121 resultobj
= PyInt_FromLong((long)result
);
22128 static PyObject
*_wrap_DataObject_GetAllFormats(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22129 PyObject
*resultobj
;
22130 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
22131 wxDataFormat
*arg2
= (wxDataFormat
*) 0 ;
22132 int arg3
= (int) wxDataObject::Get
;
22133 PyObject
* obj0
= 0 ;
22134 PyObject
* obj1
= 0 ;
22135 char *kwnames
[] = {
22136 (char *) "self",(char *) "formats",(char *) "dir", NULL
22139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:DataObject_GetAllFormats",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
22140 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22141 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22144 ((wxDataObject
const *)arg1
)->GetAllFormats(arg2
,(wxDataObject::Direction
)arg3
);
22146 wxPyEndAllowThreads(__tstate
);
22147 if (PyErr_Occurred()) SWIG_fail
;
22149 Py_INCREF(Py_None
); resultobj
= Py_None
;
22156 static PyObject
*_wrap_DataObject_GetDataHere(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22157 PyObject
*resultobj
;
22158 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
22159 wxDataFormat
*arg2
= 0 ;
22160 void *arg3
= (void *) 0 ;
22162 PyObject
* obj0
= 0 ;
22163 PyObject
* obj1
= 0 ;
22164 PyObject
* obj2
= 0 ;
22165 char *kwnames
[] = {
22166 (char *) "self",(char *) "format",(char *) "buf", NULL
22169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DataObject_GetDataHere",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22170 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22171 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22172 if (arg2
== NULL
) {
22173 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22175 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, 0, SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22178 result
= (bool)((wxDataObject
const *)arg1
)->GetDataHere((wxDataFormat
const &)*arg2
,arg3
);
22180 wxPyEndAllowThreads(__tstate
);
22181 if (PyErr_Occurred()) SWIG_fail
;
22183 resultobj
= PyInt_FromLong((long)result
);
22190 static PyObject
*_wrap_DataObject_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22191 PyObject
*resultobj
;
22192 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
22193 wxDataFormat
*arg2
= 0 ;
22195 void *arg4
= (void *) 0 ;
22197 PyObject
* obj0
= 0 ;
22198 PyObject
* obj1
= 0 ;
22199 PyObject
* obj2
= 0 ;
22200 PyObject
* obj3
= 0 ;
22201 char *kwnames
[] = {
22202 (char *) "self",(char *) "format",(char *) "len",(char *) "buf", NULL
22205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DataObject_SetData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22206 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22207 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22208 if (arg2
== NULL
) {
22209 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22211 arg3
= (size_t) PyInt_AsLong(obj2
);
22212 if (PyErr_Occurred()) SWIG_fail
;
22213 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, 0, SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22216 result
= (bool)(arg1
)->SetData((wxDataFormat
const &)*arg2
,arg3
,(void const *)arg4
);
22218 wxPyEndAllowThreads(__tstate
);
22219 if (PyErr_Occurred()) SWIG_fail
;
22221 resultobj
= PyInt_FromLong((long)result
);
22228 static PyObject
* DataObject_swigregister(PyObject
*self
, PyObject
*args
) {
22230 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22231 SWIG_TypeClientData(SWIGTYPE_p_wxDataObject
, obj
);
22233 return Py_BuildValue((char *)"");
22235 static PyObject
*_wrap_new_DataObjectSimple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22236 PyObject
*resultobj
;
22237 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
22238 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
22239 wxDataObjectSimple
*result
;
22240 PyObject
* obj0
= 0 ;
22241 char *kwnames
[] = {
22242 (char *) "format", NULL
22245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DataObjectSimple",kwnames
,&obj0
)) goto fail
;
22247 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22248 if (arg1
== NULL
) {
22249 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22254 result
= (wxDataObjectSimple
*)new wxDataObjectSimple((wxDataFormat
const &)*arg1
);
22256 wxPyEndAllowThreads(__tstate
);
22257 if (PyErr_Occurred()) SWIG_fail
;
22259 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDataObjectSimple
, 1);
22266 static PyObject
*_wrap_DataObjectSimple_GetFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22267 PyObject
*resultobj
;
22268 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
22269 wxDataFormat
*result
;
22270 PyObject
* obj0
= 0 ;
22271 char *kwnames
[] = {
22272 (char *) "self", NULL
22275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataObjectSimple_GetFormat",kwnames
,&obj0
)) goto fail
;
22276 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataObjectSimple
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22280 wxDataFormat
const &_result_ref
= (arg1
)->GetFormat();
22281 result
= (wxDataFormat
*) &_result_ref
;
22284 wxPyEndAllowThreads(__tstate
);
22285 if (PyErr_Occurred()) SWIG_fail
;
22287 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDataFormat
, 0);
22294 static PyObject
*_wrap_DataObjectSimple_SetFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22295 PyObject
*resultobj
;
22296 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
22297 wxDataFormat
*arg2
= 0 ;
22298 PyObject
* obj0
= 0 ;
22299 PyObject
* obj1
= 0 ;
22300 char *kwnames
[] = {
22301 (char *) "self",(char *) "format", NULL
22304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObjectSimple_SetFormat",kwnames
,&obj0
,&obj1
)) goto fail
;
22305 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataObjectSimple
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22306 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22307 if (arg2
== NULL
) {
22308 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22312 (arg1
)->SetFormat((wxDataFormat
const &)*arg2
);
22314 wxPyEndAllowThreads(__tstate
);
22315 if (PyErr_Occurred()) SWIG_fail
;
22317 Py_INCREF(Py_None
); resultobj
= Py_None
;
22324 static PyObject
* DataObjectSimple_swigregister(PyObject
*self
, PyObject
*args
) {
22326 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22327 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectSimple
, obj
);
22329 return Py_BuildValue((char *)"");
22331 static PyObject
*_wrap_new_PyDataObjectSimple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22332 PyObject
*resultobj
;
22333 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
22334 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
22335 wxPyDataObjectSimple
*result
;
22336 PyObject
* obj0
= 0 ;
22337 char *kwnames
[] = {
22338 (char *) "format", NULL
22341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyDataObjectSimple",kwnames
,&obj0
)) goto fail
;
22343 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22344 if (arg1
== NULL
) {
22345 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22350 result
= (wxPyDataObjectSimple
*)new wxPyDataObjectSimple((wxDataFormat
const &)*arg1
);
22352 wxPyEndAllowThreads(__tstate
);
22353 if (PyErr_Occurred()) SWIG_fail
;
22355 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyDataObjectSimple
, 1);
22362 static PyObject
*_wrap_PyDataObjectSimple__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22363 PyObject
*resultobj
;
22364 wxPyDataObjectSimple
*arg1
= (wxPyDataObjectSimple
*) 0 ;
22365 PyObject
*arg2
= (PyObject
*) 0 ;
22366 PyObject
*arg3
= (PyObject
*) 0 ;
22367 PyObject
* obj0
= 0 ;
22368 PyObject
* obj1
= 0 ;
22369 PyObject
* obj2
= 0 ;
22370 char *kwnames
[] = {
22371 (char *) "self",(char *) "self",(char *) "_class", NULL
22374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDataObjectSimple__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22375 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDataObjectSimple
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22380 (arg1
)->_setCallbackInfo(arg2
,arg3
);
22382 wxPyEndAllowThreads(__tstate
);
22383 if (PyErr_Occurred()) SWIG_fail
;
22385 Py_INCREF(Py_None
); resultobj
= Py_None
;
22392 static PyObject
* PyDataObjectSimple_swigregister(PyObject
*self
, PyObject
*args
) {
22394 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22395 SWIG_TypeClientData(SWIGTYPE_p_wxPyDataObjectSimple
, obj
);
22397 return Py_BuildValue((char *)"");
22399 static PyObject
*_wrap_new_DataObjectComposite(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22400 PyObject
*resultobj
;
22401 wxDataObjectComposite
*result
;
22402 char *kwnames
[] = {
22406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DataObjectComposite",kwnames
)) goto fail
;
22408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22409 result
= (wxDataObjectComposite
*)new wxDataObjectComposite();
22411 wxPyEndAllowThreads(__tstate
);
22412 if (PyErr_Occurred()) SWIG_fail
;
22414 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDataObjectComposite
, 1);
22421 static PyObject
*_wrap_DataObjectComposite_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22422 PyObject
*resultobj
;
22423 wxDataObjectComposite
*arg1
= (wxDataObjectComposite
*) 0 ;
22424 wxDataObjectSimple
*arg2
= (wxDataObjectSimple
*) 0 ;
22425 int arg3
= (int) False
;
22426 PyObject
* obj0
= 0 ;
22427 PyObject
* obj1
= 0 ;
22428 char *kwnames
[] = {
22429 (char *) "self",(char *) "dataObject",(char *) "preferred", NULL
22432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:DataObjectComposite_Add",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
22433 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataObjectComposite
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22434 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDataObjectSimple
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22437 (arg1
)->Add(arg2
,arg3
);
22439 wxPyEndAllowThreads(__tstate
);
22440 if (PyErr_Occurred()) SWIG_fail
;
22442 Py_INCREF(Py_None
); resultobj
= Py_None
;
22449 static PyObject
* DataObjectComposite_swigregister(PyObject
*self
, PyObject
*args
) {
22451 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22452 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectComposite
, obj
);
22454 return Py_BuildValue((char *)"");
22456 static PyObject
*_wrap_new_TextDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22457 PyObject
*resultobj
;
22458 wxString
const &arg1_defvalue
= wxPyEmptyString
;
22459 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
22460 wxTextDataObject
*result
;
22461 bool temp1
= False
;
22462 PyObject
* obj0
= 0 ;
22463 char *kwnames
[] = {
22464 (char *) "text", NULL
22467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TextDataObject",kwnames
,&obj0
)) goto fail
;
22470 arg1
= wxString_in_helper(obj0
);
22471 if (arg1
== NULL
) SWIG_fail
;
22476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22477 result
= (wxTextDataObject
*)new wxTextDataObject((wxString
const &)*arg1
);
22479 wxPyEndAllowThreads(__tstate
);
22480 if (PyErr_Occurred()) SWIG_fail
;
22482 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTextDataObject
, 1);
22497 static PyObject
*_wrap_TextDataObject_GetTextLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22498 PyObject
*resultobj
;
22499 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
22501 PyObject
* obj0
= 0 ;
22502 char *kwnames
[] = {
22503 (char *) "self", NULL
22506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDataObject_GetTextLength",kwnames
,&obj0
)) goto fail
;
22507 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22510 result
= (size_t)(arg1
)->GetTextLength();
22512 wxPyEndAllowThreads(__tstate
);
22513 if (PyErr_Occurred()) SWIG_fail
;
22515 resultobj
= PyInt_FromLong((long)result
);
22522 static PyObject
*_wrap_TextDataObject_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22523 PyObject
*resultobj
;
22524 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
22526 PyObject
* obj0
= 0 ;
22527 char *kwnames
[] = {
22528 (char *) "self", NULL
22531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDataObject_GetText",kwnames
,&obj0
)) goto fail
;
22532 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22535 result
= (arg1
)->GetText();
22537 wxPyEndAllowThreads(__tstate
);
22538 if (PyErr_Occurred()) SWIG_fail
;
22542 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22544 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22553 static PyObject
*_wrap_TextDataObject_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22554 PyObject
*resultobj
;
22555 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
22556 wxString
*arg2
= 0 ;
22557 bool temp2
= False
;
22558 PyObject
* obj0
= 0 ;
22559 PyObject
* obj1
= 0 ;
22560 char *kwnames
[] = {
22561 (char *) "self",(char *) "text", NULL
22564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextDataObject_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
22565 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22567 arg2
= wxString_in_helper(obj1
);
22568 if (arg2
== NULL
) SWIG_fail
;
22572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22573 (arg1
)->SetText((wxString
const &)*arg2
);
22575 wxPyEndAllowThreads(__tstate
);
22576 if (PyErr_Occurred()) SWIG_fail
;
22578 Py_INCREF(Py_None
); resultobj
= Py_None
;
22593 static PyObject
* TextDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
22595 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22596 SWIG_TypeClientData(SWIGTYPE_p_wxTextDataObject
, obj
);
22598 return Py_BuildValue((char *)"");
22600 static PyObject
*_wrap_new_PyTextDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22601 PyObject
*resultobj
;
22602 wxString
const &arg1_defvalue
= wxPyEmptyString
;
22603 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
22604 wxPyTextDataObject
*result
;
22605 bool temp1
= False
;
22606 PyObject
* obj0
= 0 ;
22607 char *kwnames
[] = {
22608 (char *) "text", NULL
22611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyTextDataObject",kwnames
,&obj0
)) goto fail
;
22614 arg1
= wxString_in_helper(obj0
);
22615 if (arg1
== NULL
) SWIG_fail
;
22620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22621 result
= (wxPyTextDataObject
*)new wxPyTextDataObject((wxString
const &)*arg1
);
22623 wxPyEndAllowThreads(__tstate
);
22624 if (PyErr_Occurred()) SWIG_fail
;
22626 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyTextDataObject
, 1);
22641 static PyObject
*_wrap_PyTextDataObject__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22642 PyObject
*resultobj
;
22643 wxPyTextDataObject
*arg1
= (wxPyTextDataObject
*) 0 ;
22644 PyObject
*arg2
= (PyObject
*) 0 ;
22645 PyObject
*arg3
= (PyObject
*) 0 ;
22646 PyObject
* obj0
= 0 ;
22647 PyObject
* obj1
= 0 ;
22648 PyObject
* obj2
= 0 ;
22649 char *kwnames
[] = {
22650 (char *) "self",(char *) "self",(char *) "_class", NULL
22653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTextDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22654 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22659 (arg1
)->_setCallbackInfo(arg2
,arg3
);
22661 wxPyEndAllowThreads(__tstate
);
22662 if (PyErr_Occurred()) SWIG_fail
;
22664 Py_INCREF(Py_None
); resultobj
= Py_None
;
22671 static PyObject
* PyTextDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
22673 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22674 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDataObject
, obj
);
22676 return Py_BuildValue((char *)"");
22678 static PyObject
*_wrap_new_BitmapDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22679 PyObject
*resultobj
;
22680 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
22681 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
22682 wxBitmapDataObject
*result
;
22683 PyObject
* obj0
= 0 ;
22684 char *kwnames
[] = {
22685 (char *) "bitmap", NULL
22688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BitmapDataObject",kwnames
,&obj0
)) goto fail
;
22690 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22691 if (arg1
== NULL
) {
22692 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22697 result
= (wxBitmapDataObject
*)new wxBitmapDataObject((wxBitmap
const &)*arg1
);
22699 wxPyEndAllowThreads(__tstate
);
22700 if (PyErr_Occurred()) SWIG_fail
;
22702 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBitmapDataObject
, 1);
22709 static PyObject
*_wrap_BitmapDataObject_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22710 PyObject
*resultobj
;
22711 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
22713 PyObject
* obj0
= 0 ;
22714 char *kwnames
[] = {
22715 (char *) "self", NULL
22718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapDataObject_GetBitmap",kwnames
,&obj0
)) goto fail
;
22719 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22722 result
= ((wxBitmapDataObject
const *)arg1
)->GetBitmap();
22724 wxPyEndAllowThreads(__tstate
);
22725 if (PyErr_Occurred()) SWIG_fail
;
22728 wxBitmap
* resultptr
;
22729 resultptr
= new wxBitmap((wxBitmap
&) result
);
22730 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBitmap
, 1);
22738 static PyObject
*_wrap_BitmapDataObject_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22739 PyObject
*resultobj
;
22740 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
22741 wxBitmap
*arg2
= 0 ;
22742 PyObject
* obj0
= 0 ;
22743 PyObject
* obj1
= 0 ;
22744 char *kwnames
[] = {
22745 (char *) "self",(char *) "bitmap", NULL
22748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapDataObject_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
22749 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22750 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22751 if (arg2
== NULL
) {
22752 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22756 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
22758 wxPyEndAllowThreads(__tstate
);
22759 if (PyErr_Occurred()) SWIG_fail
;
22761 Py_INCREF(Py_None
); resultobj
= Py_None
;
22768 static PyObject
* BitmapDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
22770 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22771 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapDataObject
, obj
);
22773 return Py_BuildValue((char *)"");
22775 static PyObject
*_wrap_new_PyBitmapDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22776 PyObject
*resultobj
;
22777 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
22778 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
22779 wxPyBitmapDataObject
*result
;
22780 PyObject
* obj0
= 0 ;
22781 char *kwnames
[] = {
22782 (char *) "bitmap", NULL
22785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyBitmapDataObject",kwnames
,&obj0
)) goto fail
;
22787 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22788 if (arg1
== NULL
) {
22789 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22794 result
= (wxPyBitmapDataObject
*)new wxPyBitmapDataObject((wxBitmap
const &)*arg1
);
22796 wxPyEndAllowThreads(__tstate
);
22797 if (PyErr_Occurred()) SWIG_fail
;
22799 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyBitmapDataObject
, 1);
22806 static PyObject
*_wrap_PyBitmapDataObject__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22807 PyObject
*resultobj
;
22808 wxPyBitmapDataObject
*arg1
= (wxPyBitmapDataObject
*) 0 ;
22809 PyObject
*arg2
= (PyObject
*) 0 ;
22810 PyObject
*arg3
= (PyObject
*) 0 ;
22811 PyObject
* obj0
= 0 ;
22812 PyObject
* obj1
= 0 ;
22813 PyObject
* obj2
= 0 ;
22814 char *kwnames
[] = {
22815 (char *) "self",(char *) "self",(char *) "_class", NULL
22818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyBitmapDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22819 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22824 (arg1
)->_setCallbackInfo(arg2
,arg3
);
22826 wxPyEndAllowThreads(__tstate
);
22827 if (PyErr_Occurred()) SWIG_fail
;
22829 Py_INCREF(Py_None
); resultobj
= Py_None
;
22836 static PyObject
* PyBitmapDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
22838 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22839 SWIG_TypeClientData(SWIGTYPE_p_wxPyBitmapDataObject
, obj
);
22841 return Py_BuildValue((char *)"");
22843 static PyObject
*_wrap_new_FileDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22844 PyObject
*resultobj
;
22845 wxFileDataObject
*result
;
22846 char *kwnames
[] = {
22850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileDataObject",kwnames
)) goto fail
;
22852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22853 result
= (wxFileDataObject
*)new wxFileDataObject();
22855 wxPyEndAllowThreads(__tstate
);
22856 if (PyErr_Occurred()) SWIG_fail
;
22858 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFileDataObject
, 1);
22865 static PyObject
*_wrap_FileDataObject_GetFilenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22866 PyObject
*resultobj
;
22867 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
22868 wxArrayString
*result
;
22869 PyObject
* obj0
= 0 ;
22870 char *kwnames
[] = {
22871 (char *) "self", NULL
22874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDataObject_GetFilenames",kwnames
,&obj0
)) goto fail
;
22875 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22879 wxArrayString
const &_result_ref
= (arg1
)->GetFilenames();
22880 result
= (wxArrayString
*) &_result_ref
;
22883 wxPyEndAllowThreads(__tstate
);
22884 if (PyErr_Occurred()) SWIG_fail
;
22887 resultobj
= wxArrayString2PyList_helper(*result
);
22895 static PyObject
* FileDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
22897 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22898 SWIG_TypeClientData(SWIGTYPE_p_wxFileDataObject
, obj
);
22900 return Py_BuildValue((char *)"");
22902 static PyObject
*_wrap_new_CustomDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22903 PyObject
*resultobj
;
22904 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
22905 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
22906 wxCustomDataObject
*result
;
22907 PyObject
* obj0
= 0 ;
22908 char *kwnames
[] = {
22909 (char *) "format", NULL
22912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_CustomDataObject",kwnames
,&obj0
)) goto fail
;
22914 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22915 if (arg1
== NULL
) {
22916 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22921 result
= (wxCustomDataObject
*)new wxCustomDataObject((wxDataFormat
const &)*arg1
);
22923 wxPyEndAllowThreads(__tstate
);
22924 if (PyErr_Occurred()) SWIG_fail
;
22926 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCustomDataObject
, 1);
22933 static PyObject
*_wrap_CustomDataObject_TakeData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22934 PyObject
*resultobj
;
22935 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
22936 PyObject
*arg2
= (PyObject
*) 0 ;
22937 PyObject
* obj0
= 0 ;
22938 PyObject
* obj1
= 0 ;
22939 char *kwnames
[] = {
22940 (char *) "self",(char *) "data", NULL
22943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CustomDataObject_TakeData",kwnames
,&obj0
,&obj1
)) goto fail
;
22944 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCustomDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22948 wxCustomDataObject_TakeData(arg1
,arg2
);
22950 wxPyEndAllowThreads(__tstate
);
22951 if (PyErr_Occurred()) SWIG_fail
;
22953 Py_INCREF(Py_None
); resultobj
= Py_None
;
22960 static PyObject
*_wrap_CustomDataObject_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22961 PyObject
*resultobj
;
22962 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
22963 PyObject
*arg2
= (PyObject
*) 0 ;
22965 PyObject
* obj0
= 0 ;
22966 PyObject
* obj1
= 0 ;
22967 char *kwnames
[] = {
22968 (char *) "self",(char *) "data", NULL
22971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CustomDataObject_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
22972 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCustomDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22976 result
= (bool)wxCustomDataObject_SetData(arg1
,arg2
);
22978 wxPyEndAllowThreads(__tstate
);
22979 if (PyErr_Occurred()) SWIG_fail
;
22981 resultobj
= PyInt_FromLong((long)result
);
22988 static PyObject
*_wrap_CustomDataObject_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22989 PyObject
*resultobj
;
22990 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
22992 PyObject
* obj0
= 0 ;
22993 char *kwnames
[] = {
22994 (char *) "self", NULL
22997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CustomDataObject_GetSize",kwnames
,&obj0
)) goto fail
;
22998 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCustomDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23001 result
= (size_t)(arg1
)->GetSize();
23003 wxPyEndAllowThreads(__tstate
);
23004 if (PyErr_Occurred()) SWIG_fail
;
23006 resultobj
= PyInt_FromLong((long)result
);
23013 static PyObject
*_wrap_CustomDataObject_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23014 PyObject
*resultobj
;
23015 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
23017 PyObject
* obj0
= 0 ;
23018 char *kwnames
[] = {
23019 (char *) "self", NULL
23022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CustomDataObject_GetData",kwnames
,&obj0
)) goto fail
;
23023 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCustomDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23026 result
= (PyObject
*)wxCustomDataObject_GetData(arg1
);
23028 wxPyEndAllowThreads(__tstate
);
23029 if (PyErr_Occurred()) SWIG_fail
;
23031 resultobj
= result
;
23038 static PyObject
* CustomDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
23040 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23041 SWIG_TypeClientData(SWIGTYPE_p_wxCustomDataObject
, obj
);
23043 return Py_BuildValue((char *)"");
23045 static PyObject
*_wrap_new_URLDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23046 PyObject
*resultobj
;
23047 wxURLDataObject
*result
;
23048 char *kwnames
[] = {
23052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_URLDataObject",kwnames
)) goto fail
;
23054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23055 result
= (wxURLDataObject
*)new wxURLDataObject();
23057 wxPyEndAllowThreads(__tstate
);
23058 if (PyErr_Occurred()) SWIG_fail
;
23060 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxURLDataObject
, 1);
23067 static PyObject
*_wrap_URLDataObject_GetURL(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23068 PyObject
*resultobj
;
23069 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
23071 PyObject
* obj0
= 0 ;
23072 char *kwnames
[] = {
23073 (char *) "self", NULL
23076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:URLDataObject_GetURL",kwnames
,&obj0
)) goto fail
;
23077 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxURLDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23080 result
= (arg1
)->GetURL();
23082 wxPyEndAllowThreads(__tstate
);
23083 if (PyErr_Occurred()) SWIG_fail
;
23087 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23089 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23098 static PyObject
*_wrap_URLDataObject_SetURL(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23099 PyObject
*resultobj
;
23100 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
23101 wxString
*arg2
= 0 ;
23102 bool temp2
= False
;
23103 PyObject
* obj0
= 0 ;
23104 PyObject
* obj1
= 0 ;
23105 char *kwnames
[] = {
23106 (char *) "self",(char *) "url", NULL
23109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:URLDataObject_SetURL",kwnames
,&obj0
,&obj1
)) goto fail
;
23110 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxURLDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23112 arg2
= wxString_in_helper(obj1
);
23113 if (arg2
== NULL
) SWIG_fail
;
23117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23118 (arg1
)->SetURL((wxString
const &)*arg2
);
23120 wxPyEndAllowThreads(__tstate
);
23121 if (PyErr_Occurred()) SWIG_fail
;
23123 Py_INCREF(Py_None
); resultobj
= Py_None
;
23138 static PyObject
* URLDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
23140 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23141 SWIG_TypeClientData(SWIGTYPE_p_wxURLDataObject
, obj
);
23143 return Py_BuildValue((char *)"");
23145 static PyObject
*_wrap_new_MetafileDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23146 PyObject
*resultobj
;
23147 wxMetafileDataObject
*result
;
23148 char *kwnames
[] = {
23152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MetafileDataObject",kwnames
)) goto fail
;
23154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23155 result
= (wxMetafileDataObject
*)new wxMetafileDataObject();
23157 wxPyEndAllowThreads(__tstate
);
23158 if (PyErr_Occurred()) SWIG_fail
;
23160 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMetafileDataObject
, 1);
23167 static PyObject
* MetafileDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
23169 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23170 SWIG_TypeClientData(SWIGTYPE_p_wxMetafileDataObject
, obj
);
23172 return Py_BuildValue((char *)"");
23174 static PyObject
*_wrap_IsDragResultOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23175 PyObject
*resultobj
;
23178 char *kwnames
[] = {
23179 (char *) "res", NULL
23182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i:IsDragResultOk",kwnames
,&arg1
)) goto fail
;
23184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23185 result
= (bool)wxIsDragResultOk((wxDragResult
)arg1
);
23187 wxPyEndAllowThreads(__tstate
);
23188 if (PyErr_Occurred()) SWIG_fail
;
23190 resultobj
= PyInt_FromLong((long)result
);
23197 static PyObject
*_wrap_new_DropSource(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23198 PyObject
*resultobj
;
23199 wxWindow
*arg1
= (wxWindow
*) NULL
;
23200 wxIcon
const &arg2_defvalue
= wxNullIcon
;
23201 wxIcon
*arg2
= (wxIcon
*) &arg2_defvalue
;
23202 wxIcon
const &arg3_defvalue
= wxNullIcon
;
23203 wxIcon
*arg3
= (wxIcon
*) &arg3_defvalue
;
23204 wxIcon
const &arg4_defvalue
= wxNullIcon
;
23205 wxIcon
*arg4
= (wxIcon
*) &arg4_defvalue
;
23206 wxPyDropSource
*result
;
23207 PyObject
* obj0
= 0 ;
23208 PyObject
* obj1
= 0 ;
23209 PyObject
* obj2
= 0 ;
23210 PyObject
* obj3
= 0 ;
23211 char *kwnames
[] = {
23212 (char *) "win",(char *) "copy",(char *) "move",(char *) "none", NULL
23215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_DropSource",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
23217 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23220 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23221 if (arg2
== NULL
) {
23222 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23226 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23227 if (arg3
== NULL
) {
23228 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23232 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23233 if (arg4
== NULL
) {
23234 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23239 result
= (wxPyDropSource
*)new wxPyDropSource(arg1
,(wxIcon
const &)*arg2
,(wxIcon
const &)*arg3
,(wxIcon
const &)*arg4
);
23241 wxPyEndAllowThreads(__tstate
);
23242 if (PyErr_Occurred()) SWIG_fail
;
23244 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyDropSource
, 1);
23251 static PyObject
*_wrap_DropSource__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23252 PyObject
*resultobj
;
23253 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
23254 PyObject
*arg2
= (PyObject
*) 0 ;
23255 PyObject
*arg3
= (PyObject
*) 0 ;
23257 PyObject
* obj0
= 0 ;
23258 PyObject
* obj1
= 0 ;
23259 PyObject
* obj2
= 0 ;
23260 char *kwnames
[] = {
23261 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
23264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOi:DropSource__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
)) goto fail
;
23265 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDropSource
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23270 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
23272 wxPyEndAllowThreads(__tstate
);
23273 if (PyErr_Occurred()) SWIG_fail
;
23275 Py_INCREF(Py_None
); resultobj
= Py_None
;
23282 static PyObject
*_wrap_delete_DropSource(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23283 PyObject
*resultobj
;
23284 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
23285 PyObject
* obj0
= 0 ;
23286 char *kwnames
[] = {
23287 (char *) "self", NULL
23290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DropSource",kwnames
,&obj0
)) goto fail
;
23291 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDropSource
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23296 wxPyEndAllowThreads(__tstate
);
23297 if (PyErr_Occurred()) SWIG_fail
;
23299 Py_INCREF(Py_None
); resultobj
= Py_None
;
23306 static PyObject
*_wrap_DropSource_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23307 PyObject
*resultobj
;
23308 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
23309 wxDataObject
*arg2
= 0 ;
23310 PyObject
* obj0
= 0 ;
23311 PyObject
* obj1
= 0 ;
23312 char *kwnames
[] = {
23313 (char *) "self",(char *) "data", NULL
23316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
23317 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDropSource
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23318 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23319 if (arg2
== NULL
) {
23320 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23324 (arg1
)->SetData(*arg2
);
23326 wxPyEndAllowThreads(__tstate
);
23327 if (PyErr_Occurred()) SWIG_fail
;
23329 Py_INCREF(Py_None
); resultobj
= Py_None
;
23336 static PyObject
*_wrap_DropSource_GetDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23337 PyObject
*resultobj
;
23338 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
23339 wxDataObject
*result
;
23340 PyObject
* obj0
= 0 ;
23341 char *kwnames
[] = {
23342 (char *) "self", NULL
23345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropSource_GetDataObject",kwnames
,&obj0
)) goto fail
;
23346 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDropSource
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23349 result
= (wxDataObject
*)(arg1
)->GetDataObject();
23351 wxPyEndAllowThreads(__tstate
);
23352 if (PyErr_Occurred()) SWIG_fail
;
23354 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDataObject
, 0);
23361 static PyObject
*_wrap_DropSource_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23362 PyObject
*resultobj
;
23363 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
23365 wxCursor
*arg3
= 0 ;
23366 PyObject
* obj0
= 0 ;
23367 PyObject
* obj2
= 0 ;
23368 char *kwnames
[] = {
23369 (char *) "self",(char *) "res",(char *) "cursor", NULL
23372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:DropSource_SetCursor",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
23373 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDropSource
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23374 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23375 if (arg3
== NULL
) {
23376 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23380 (arg1
)->SetCursor((wxDragResult
)arg2
,(wxCursor
const &)*arg3
);
23382 wxPyEndAllowThreads(__tstate
);
23383 if (PyErr_Occurred()) SWIG_fail
;
23385 Py_INCREF(Py_None
); resultobj
= Py_None
;
23392 static PyObject
*_wrap_DropSource_DoDragDrop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23393 PyObject
*resultobj
;
23394 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
23395 int arg2
= (int) wxDrag_CopyOnly
;
23397 PyObject
* obj0
= 0 ;
23398 char *kwnames
[] = {
23399 (char *) "self",(char *) "flags", NULL
23402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:DropSource_DoDragDrop",kwnames
,&obj0
,&arg2
)) goto fail
;
23403 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDropSource
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23406 result
= (int)(arg1
)->DoDragDrop(arg2
);
23408 wxPyEndAllowThreads(__tstate
);
23409 if (PyErr_Occurred()) SWIG_fail
;
23411 resultobj
= PyInt_FromLong((long)result
);
23418 static PyObject
*_wrap_DropSource_base_GiveFeedback(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23419 PyObject
*resultobj
;
23420 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
23423 PyObject
* obj0
= 0 ;
23424 char *kwnames
[] = {
23425 (char *) "self",(char *) "effect", NULL
23428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DropSource_base_GiveFeedback",kwnames
,&obj0
,&arg2
)) goto fail
;
23429 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDropSource
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23432 result
= (bool)(arg1
)->base_GiveFeedback((wxDragResult
)arg2
);
23434 wxPyEndAllowThreads(__tstate
);
23435 if (PyErr_Occurred()) SWIG_fail
;
23437 resultobj
= PyInt_FromLong((long)result
);
23444 static PyObject
* DropSource_swigregister(PyObject
*self
, PyObject
*args
) {
23446 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23447 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropSource
, obj
);
23449 return Py_BuildValue((char *)"");
23451 static PyObject
*_wrap_new_PyDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23452 PyObject
*resultobj
;
23453 wxDataObject
*arg1
= (wxDataObject
*) NULL
;
23454 wxPyDropTarget
*result
;
23455 PyObject
* obj0
= 0 ;
23456 char *kwnames
[] = {
23457 (char *) "dataObject", NULL
23460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyDropTarget",kwnames
,&obj0
)) goto fail
;
23462 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23466 result
= (wxPyDropTarget
*)new wxPyDropTarget(arg1
);
23468 wxPyEndAllowThreads(__tstate
);
23469 if (PyErr_Occurred()) SWIG_fail
;
23471 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyDropTarget
, 1);
23478 static PyObject
*_wrap_DropTarget__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23479 PyObject
*resultobj
;
23480 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
23481 PyObject
*arg2
= (PyObject
*) 0 ;
23482 PyObject
*arg3
= (PyObject
*) 0 ;
23483 PyObject
* obj0
= 0 ;
23484 PyObject
* obj1
= 0 ;
23485 PyObject
* obj2
= 0 ;
23486 char *kwnames
[] = {
23487 (char *) "self",(char *) "self",(char *) "_class", NULL
23490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23491 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23496 (arg1
)->_setCallbackInfo(arg2
,arg3
);
23498 wxPyEndAllowThreads(__tstate
);
23499 if (PyErr_Occurred()) SWIG_fail
;
23501 Py_INCREF(Py_None
); resultobj
= Py_None
;
23508 static PyObject
*_wrap_delete_DropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23509 PyObject
*resultobj
;
23510 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
23511 PyObject
* obj0
= 0 ;
23512 char *kwnames
[] = {
23513 (char *) "self", NULL
23516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DropTarget",kwnames
,&obj0
)) goto fail
;
23517 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23522 wxPyEndAllowThreads(__tstate
);
23523 if (PyErr_Occurred()) SWIG_fail
;
23525 Py_INCREF(Py_None
); resultobj
= Py_None
;
23532 static PyObject
*_wrap_DropTarget_GetDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23533 PyObject
*resultobj
;
23534 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
23535 wxDataObject
*result
;
23536 PyObject
* obj0
= 0 ;
23537 char *kwnames
[] = {
23538 (char *) "self", NULL
23541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_GetDataObject",kwnames
,&obj0
)) goto fail
;
23542 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23545 result
= (wxDataObject
*)(arg1
)->GetDataObject();
23547 wxPyEndAllowThreads(__tstate
);
23548 if (PyErr_Occurred()) SWIG_fail
;
23550 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDataObject
, 0);
23557 static PyObject
*_wrap_DropTarget_SetDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23558 PyObject
*resultobj
;
23559 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
23560 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
23561 PyObject
* obj0
= 0 ;
23562 PyObject
* obj1
= 0 ;
23563 char *kwnames
[] = {
23564 (char *) "self",(char *) "dataObject", NULL
23567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropTarget_SetDataObject",kwnames
,&obj0
,&obj1
)) goto fail
;
23568 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23569 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23572 (arg1
)->SetDataObject(arg2
);
23574 wxPyEndAllowThreads(__tstate
);
23575 if (PyErr_Occurred()) SWIG_fail
;
23577 Py_INCREF(Py_None
); resultobj
= Py_None
;
23584 static PyObject
*_wrap_DropTarget_base_OnEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23585 PyObject
*resultobj
;
23586 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
23591 PyObject
* obj0
= 0 ;
23592 char *kwnames
[] = {
23593 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
23596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiii:DropTarget_base_OnEnter",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
23597 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23600 result
= (int)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
23602 wxPyEndAllowThreads(__tstate
);
23603 if (PyErr_Occurred()) SWIG_fail
;
23605 resultobj
= PyInt_FromLong((long)result
);
23612 static PyObject
*_wrap_DropTarget_base_OnDragOver(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23613 PyObject
*resultobj
;
23614 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
23619 PyObject
* obj0
= 0 ;
23620 char *kwnames
[] = {
23621 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
23624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiii:DropTarget_base_OnDragOver",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
23625 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23628 result
= (int)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
23630 wxPyEndAllowThreads(__tstate
);
23631 if (PyErr_Occurred()) SWIG_fail
;
23633 resultobj
= PyInt_FromLong((long)result
);
23640 static PyObject
*_wrap_DropTarget_base_OnLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23641 PyObject
*resultobj
;
23642 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
23643 PyObject
* obj0
= 0 ;
23644 char *kwnames
[] = {
23645 (char *) "self", NULL
23648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
23649 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23652 (arg1
)->base_OnLeave();
23654 wxPyEndAllowThreads(__tstate
);
23655 if (PyErr_Occurred()) SWIG_fail
;
23657 Py_INCREF(Py_None
); resultobj
= Py_None
;
23664 static PyObject
*_wrap_DropTarget_base_OnDrop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23665 PyObject
*resultobj
;
23666 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
23670 PyObject
* obj0
= 0 ;
23671 char *kwnames
[] = {
23672 (char *) "self",(char *) "x",(char *) "y", NULL
23675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:DropTarget_base_OnDrop",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
23676 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23679 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
23681 wxPyEndAllowThreads(__tstate
);
23682 if (PyErr_Occurred()) SWIG_fail
;
23684 resultobj
= PyInt_FromLong((long)result
);
23691 static PyObject
*_wrap_DropTarget_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23692 PyObject
*resultobj
;
23693 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
23695 PyObject
* obj0
= 0 ;
23696 char *kwnames
[] = {
23697 (char *) "self", NULL
23700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_GetData",kwnames
,&obj0
)) goto fail
;
23701 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23704 result
= (bool)(arg1
)->GetData();
23706 wxPyEndAllowThreads(__tstate
);
23707 if (PyErr_Occurred()) SWIG_fail
;
23709 resultobj
= PyInt_FromLong((long)result
);
23716 static PyObject
* DropTarget_swigregister(PyObject
*self
, PyObject
*args
) {
23718 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23719 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropTarget
, obj
);
23721 return Py_BuildValue((char *)"");
23723 static PyObject
*_wrap_new_TextDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23724 PyObject
*resultobj
;
23725 wxPyTextDropTarget
*result
;
23726 char *kwnames
[] = {
23730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TextDropTarget",kwnames
)) goto fail
;
23732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23733 result
= (wxPyTextDropTarget
*)new wxPyTextDropTarget();
23735 wxPyEndAllowThreads(__tstate
);
23736 if (PyErr_Occurred()) SWIG_fail
;
23738 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyTextDropTarget
, 1);
23745 static PyObject
*_wrap_TextDropTarget__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23746 PyObject
*resultobj
;
23747 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
23748 PyObject
*arg2
= (PyObject
*) 0 ;
23749 PyObject
*arg3
= (PyObject
*) 0 ;
23750 PyObject
* obj0
= 0 ;
23751 PyObject
* obj1
= 0 ;
23752 PyObject
* obj2
= 0 ;
23753 char *kwnames
[] = {
23754 (char *) "self",(char *) "self",(char *) "_class", NULL
23757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23758 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23763 (arg1
)->_setCallbackInfo(arg2
,arg3
);
23765 wxPyEndAllowThreads(__tstate
);
23766 if (PyErr_Occurred()) SWIG_fail
;
23768 Py_INCREF(Py_None
); resultobj
= Py_None
;
23775 static PyObject
*_wrap_TextDropTarget_base_OnEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23776 PyObject
*resultobj
;
23777 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
23782 PyObject
* obj0
= 0 ;
23783 char *kwnames
[] = {
23784 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
23787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiii:TextDropTarget_base_OnEnter",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
23788 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23791 result
= (int)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
23793 wxPyEndAllowThreads(__tstate
);
23794 if (PyErr_Occurred()) SWIG_fail
;
23796 resultobj
= PyInt_FromLong((long)result
);
23803 static PyObject
*_wrap_TextDropTarget_base_OnDragOver(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23804 PyObject
*resultobj
;
23805 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
23810 PyObject
* obj0
= 0 ;
23811 char *kwnames
[] = {
23812 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
23815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiii:TextDropTarget_base_OnDragOver",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
23816 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23819 result
= (int)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
23821 wxPyEndAllowThreads(__tstate
);
23822 if (PyErr_Occurred()) SWIG_fail
;
23824 resultobj
= PyInt_FromLong((long)result
);
23831 static PyObject
*_wrap_TextDropTarget_base_OnLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23832 PyObject
*resultobj
;
23833 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
23834 PyObject
* obj0
= 0 ;
23835 char *kwnames
[] = {
23836 (char *) "self", NULL
23839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
23840 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23843 (arg1
)->base_OnLeave();
23845 wxPyEndAllowThreads(__tstate
);
23846 if (PyErr_Occurred()) SWIG_fail
;
23848 Py_INCREF(Py_None
); resultobj
= Py_None
;
23855 static PyObject
*_wrap_TextDropTarget_base_OnDrop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23856 PyObject
*resultobj
;
23857 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
23861 PyObject
* obj0
= 0 ;
23862 char *kwnames
[] = {
23863 (char *) "self",(char *) "x",(char *) "y", NULL
23866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:TextDropTarget_base_OnDrop",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
23867 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23870 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
23872 wxPyEndAllowThreads(__tstate
);
23873 if (PyErr_Occurred()) SWIG_fail
;
23875 resultobj
= PyInt_FromLong((long)result
);
23882 static PyObject
*_wrap_TextDropTarget_base_OnData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23883 PyObject
*resultobj
;
23884 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
23889 PyObject
* obj0
= 0 ;
23890 char *kwnames
[] = {
23891 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
23894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiii:TextDropTarget_base_OnData",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
23895 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23898 result
= (int)(arg1
)->base_OnData(arg2
,arg3
,(wxDragResult
)arg4
);
23900 wxPyEndAllowThreads(__tstate
);
23901 if (PyErr_Occurred()) SWIG_fail
;
23903 resultobj
= PyInt_FromLong((long)result
);
23910 static PyObject
* TextDropTarget_swigregister(PyObject
*self
, PyObject
*args
) {
23912 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23913 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDropTarget
, obj
);
23915 return Py_BuildValue((char *)"");
23917 static PyObject
*_wrap_new_FileDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23918 PyObject
*resultobj
;
23919 wxPyFileDropTarget
*result
;
23920 char *kwnames
[] = {
23924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileDropTarget",kwnames
)) goto fail
;
23926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23927 result
= (wxPyFileDropTarget
*)new wxPyFileDropTarget();
23929 wxPyEndAllowThreads(__tstate
);
23930 if (PyErr_Occurred()) SWIG_fail
;
23932 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyFileDropTarget
, 1);
23939 static PyObject
*_wrap_FileDropTarget__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23940 PyObject
*resultobj
;
23941 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
23942 PyObject
*arg2
= (PyObject
*) 0 ;
23943 PyObject
*arg3
= (PyObject
*) 0 ;
23944 PyObject
* obj0
= 0 ;
23945 PyObject
* obj1
= 0 ;
23946 PyObject
* obj2
= 0 ;
23947 char *kwnames
[] = {
23948 (char *) "self",(char *) "self",(char *) "_class", NULL
23951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23952 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23957 (arg1
)->_setCallbackInfo(arg2
,arg3
);
23959 wxPyEndAllowThreads(__tstate
);
23960 if (PyErr_Occurred()) SWIG_fail
;
23962 Py_INCREF(Py_None
); resultobj
= Py_None
;
23969 static PyObject
*_wrap_FileDropTarget_base_OnEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23970 PyObject
*resultobj
;
23971 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
23976 PyObject
* obj0
= 0 ;
23977 char *kwnames
[] = {
23978 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
23981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiii:FileDropTarget_base_OnEnter",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
23982 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23985 result
= (int)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
23987 wxPyEndAllowThreads(__tstate
);
23988 if (PyErr_Occurred()) SWIG_fail
;
23990 resultobj
= PyInt_FromLong((long)result
);
23997 static PyObject
*_wrap_FileDropTarget_base_OnDragOver(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23998 PyObject
*resultobj
;
23999 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
24004 PyObject
* obj0
= 0 ;
24005 char *kwnames
[] = {
24006 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
24009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiii:FileDropTarget_base_OnDragOver",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
24010 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24013 result
= (int)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
24015 wxPyEndAllowThreads(__tstate
);
24016 if (PyErr_Occurred()) SWIG_fail
;
24018 resultobj
= PyInt_FromLong((long)result
);
24025 static PyObject
*_wrap_FileDropTarget_base_OnLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24026 PyObject
*resultobj
;
24027 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
24028 PyObject
* obj0
= 0 ;
24029 char *kwnames
[] = {
24030 (char *) "self", NULL
24033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
24034 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24037 (arg1
)->base_OnLeave();
24039 wxPyEndAllowThreads(__tstate
);
24040 if (PyErr_Occurred()) SWIG_fail
;
24042 Py_INCREF(Py_None
); resultobj
= Py_None
;
24049 static PyObject
*_wrap_FileDropTarget_base_OnDrop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24050 PyObject
*resultobj
;
24051 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
24055 PyObject
* obj0
= 0 ;
24056 char *kwnames
[] = {
24057 (char *) "self",(char *) "x",(char *) "y", NULL
24060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:FileDropTarget_base_OnDrop",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
24061 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24064 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
24066 wxPyEndAllowThreads(__tstate
);
24067 if (PyErr_Occurred()) SWIG_fail
;
24069 resultobj
= PyInt_FromLong((long)result
);
24076 static PyObject
*_wrap_FileDropTarget_base_OnData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24077 PyObject
*resultobj
;
24078 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
24083 PyObject
* obj0
= 0 ;
24084 char *kwnames
[] = {
24085 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
24088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiii:FileDropTarget_base_OnData",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
24089 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24092 result
= (int)(arg1
)->base_OnData(arg2
,arg3
,(wxDragResult
)arg4
);
24094 wxPyEndAllowThreads(__tstate
);
24095 if (PyErr_Occurred()) SWIG_fail
;
24097 resultobj
= PyInt_FromLong((long)result
);
24104 static PyObject
* FileDropTarget_swigregister(PyObject
*self
, PyObject
*args
) {
24106 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24107 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileDropTarget
, obj
);
24109 return Py_BuildValue((char *)"");
24111 static PyObject
*_wrap_new_Clipboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24112 PyObject
*resultobj
;
24113 wxClipboard
*result
;
24114 char *kwnames
[] = {
24118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Clipboard",kwnames
)) goto fail
;
24120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24121 result
= (wxClipboard
*)new wxClipboard();
24123 wxPyEndAllowThreads(__tstate
);
24124 if (PyErr_Occurred()) SWIG_fail
;
24126 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxClipboard
, 1);
24133 static PyObject
*_wrap_delete_Clipboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24134 PyObject
*resultobj
;
24135 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
24136 PyObject
* obj0
= 0 ;
24137 char *kwnames
[] = {
24138 (char *) "self", NULL
24141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Clipboard",kwnames
,&obj0
)) goto fail
;
24142 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxClipboard
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24147 wxPyEndAllowThreads(__tstate
);
24148 if (PyErr_Occurred()) SWIG_fail
;
24150 Py_INCREF(Py_None
); resultobj
= Py_None
;
24157 static PyObject
*_wrap_Clipboard_Open(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24158 PyObject
*resultobj
;
24159 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
24161 PyObject
* obj0
= 0 ;
24162 char *kwnames
[] = {
24163 (char *) "self", NULL
24166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Open",kwnames
,&obj0
)) goto fail
;
24167 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxClipboard
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24170 result
= (bool)(arg1
)->Open();
24172 wxPyEndAllowThreads(__tstate
);
24173 if (PyErr_Occurred()) SWIG_fail
;
24175 resultobj
= PyInt_FromLong((long)result
);
24182 static PyObject
*_wrap_Clipboard_Close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24183 PyObject
*resultobj
;
24184 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
24185 PyObject
* obj0
= 0 ;
24186 char *kwnames
[] = {
24187 (char *) "self", NULL
24190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Close",kwnames
,&obj0
)) goto fail
;
24191 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxClipboard
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24196 wxPyEndAllowThreads(__tstate
);
24197 if (PyErr_Occurred()) SWIG_fail
;
24199 Py_INCREF(Py_None
); resultobj
= Py_None
;
24206 static PyObject
*_wrap_Clipboard_IsOpened(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24207 PyObject
*resultobj
;
24208 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
24210 PyObject
* obj0
= 0 ;
24211 char *kwnames
[] = {
24212 (char *) "self", NULL
24215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_IsOpened",kwnames
,&obj0
)) goto fail
;
24216 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxClipboard
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24219 result
= (bool)((wxClipboard
const *)arg1
)->IsOpened();
24221 wxPyEndAllowThreads(__tstate
);
24222 if (PyErr_Occurred()) SWIG_fail
;
24224 resultobj
= PyInt_FromLong((long)result
);
24231 static PyObject
*_wrap_Clipboard_AddData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24232 PyObject
*resultobj
;
24233 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
24234 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
24236 PyObject
* obj0
= 0 ;
24237 PyObject
* obj1
= 0 ;
24238 char *kwnames
[] = {
24239 (char *) "self",(char *) "data", NULL
24242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_AddData",kwnames
,&obj0
,&obj1
)) goto fail
;
24243 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxClipboard
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24244 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24247 result
= (bool)(arg1
)->AddData(arg2
);
24249 wxPyEndAllowThreads(__tstate
);
24250 if (PyErr_Occurred()) SWIG_fail
;
24252 resultobj
= PyInt_FromLong((long)result
);
24259 static PyObject
*_wrap_Clipboard_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24260 PyObject
*resultobj
;
24261 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
24262 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
24264 PyObject
* obj0
= 0 ;
24265 PyObject
* obj1
= 0 ;
24266 char *kwnames
[] = {
24267 (char *) "self",(char *) "data", NULL
24270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
24271 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxClipboard
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24272 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24275 result
= (bool)(arg1
)->SetData(arg2
);
24277 wxPyEndAllowThreads(__tstate
);
24278 if (PyErr_Occurred()) SWIG_fail
;
24280 resultobj
= PyInt_FromLong((long)result
);
24287 static PyObject
*_wrap_Clipboard_IsSupported(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24288 PyObject
*resultobj
;
24289 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
24290 wxDataFormat
*arg2
= 0 ;
24292 PyObject
* obj0
= 0 ;
24293 PyObject
* obj1
= 0 ;
24294 char *kwnames
[] = {
24295 (char *) "self",(char *) "format", NULL
24298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_IsSupported",kwnames
,&obj0
,&obj1
)) goto fail
;
24299 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxClipboard
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24300 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24301 if (arg2
== NULL
) {
24302 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24306 result
= (bool)(arg1
)->IsSupported((wxDataFormat
const &)*arg2
);
24308 wxPyEndAllowThreads(__tstate
);
24309 if (PyErr_Occurred()) SWIG_fail
;
24311 resultobj
= PyInt_FromLong((long)result
);
24318 static PyObject
*_wrap_Clipboard_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24319 PyObject
*resultobj
;
24320 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
24321 wxDataObject
*arg2
= 0 ;
24323 PyObject
* obj0
= 0 ;
24324 PyObject
* obj1
= 0 ;
24325 char *kwnames
[] = {
24326 (char *) "self",(char *) "data", NULL
24329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_GetData",kwnames
,&obj0
,&obj1
)) goto fail
;
24330 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxClipboard
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24331 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24332 if (arg2
== NULL
) {
24333 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24337 result
= (bool)(arg1
)->GetData(*arg2
);
24339 wxPyEndAllowThreads(__tstate
);
24340 if (PyErr_Occurred()) SWIG_fail
;
24342 resultobj
= PyInt_FromLong((long)result
);
24349 static PyObject
*_wrap_Clipboard_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24350 PyObject
*resultobj
;
24351 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
24352 PyObject
* obj0
= 0 ;
24353 char *kwnames
[] = {
24354 (char *) "self", NULL
24357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Clear",kwnames
,&obj0
)) goto fail
;
24358 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxClipboard
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24363 wxPyEndAllowThreads(__tstate
);
24364 if (PyErr_Occurred()) SWIG_fail
;
24366 Py_INCREF(Py_None
); resultobj
= Py_None
;
24373 static PyObject
*_wrap_Clipboard_Flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24374 PyObject
*resultobj
;
24375 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
24377 PyObject
* obj0
= 0 ;
24378 char *kwnames
[] = {
24379 (char *) "self", NULL
24382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Flush",kwnames
,&obj0
)) goto fail
;
24383 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxClipboard
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24386 result
= (bool)(arg1
)->Flush();
24388 wxPyEndAllowThreads(__tstate
);
24389 if (PyErr_Occurred()) SWIG_fail
;
24391 resultobj
= PyInt_FromLong((long)result
);
24398 static PyObject
*_wrap_Clipboard_UsePrimarySelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24399 PyObject
*resultobj
;
24400 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
24401 bool arg2
= (bool) False
;
24402 PyObject
* obj0
= 0 ;
24403 PyObject
* obj1
= 0 ;
24404 char *kwnames
[] = {
24405 (char *) "self",(char *) "primary", NULL
24408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Clipboard_UsePrimarySelection",kwnames
,&obj0
,&obj1
)) goto fail
;
24409 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxClipboard
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24411 arg2
= PyInt_AsLong(obj1
) ? true : false;
24412 if (PyErr_Occurred()) SWIG_fail
;
24415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24416 (arg1
)->UsePrimarySelection(arg2
);
24418 wxPyEndAllowThreads(__tstate
);
24419 if (PyErr_Occurred()) SWIG_fail
;
24421 Py_INCREF(Py_None
); resultobj
= Py_None
;
24428 static PyObject
* Clipboard_swigregister(PyObject
*self
, PyObject
*args
) {
24430 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24431 SWIG_TypeClientData(SWIGTYPE_p_wxClipboard
, obj
);
24433 return Py_BuildValue((char *)"");
24435 static int _wrap_TheClipboard_set(PyObject
*_val
) {
24436 PyErr_SetString(PyExc_TypeError
,"Variable TheClipboard is read-only.");
24441 static PyObject
*_wrap_TheClipboard_get() {
24444 pyobj
= SWIG_NewPointerObj((void *) wxTheClipboard
, SWIGTYPE_p_wxClipboard
, 0);
24449 static PyObject
*_wrap_new_ClipboardLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24450 PyObject
*resultobj
;
24451 wxClipboard
*arg1
= (wxClipboard
*) NULL
;
24452 wxClipboardLocker
*result
;
24453 PyObject
* obj0
= 0 ;
24454 char *kwnames
[] = {
24455 (char *) "clipboard", NULL
24458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ClipboardLocker",kwnames
,&obj0
)) goto fail
;
24460 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxClipboard
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24464 result
= (wxClipboardLocker
*)new wxClipboardLocker(arg1
);
24466 wxPyEndAllowThreads(__tstate
);
24467 if (PyErr_Occurred()) SWIG_fail
;
24469 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxClipboardLocker
, 1);
24476 static PyObject
*_wrap_delete_ClipboardLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24477 PyObject
*resultobj
;
24478 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
24479 PyObject
* obj0
= 0 ;
24480 char *kwnames
[] = {
24481 (char *) "self", NULL
24484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ClipboardLocker",kwnames
,&obj0
)) goto fail
;
24485 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxClipboardLocker
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24490 wxPyEndAllowThreads(__tstate
);
24491 if (PyErr_Occurred()) SWIG_fail
;
24493 Py_INCREF(Py_None
); resultobj
= Py_None
;
24500 static PyObject
*_wrap_ClipboardLocker___nonzero__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24501 PyObject
*resultobj
;
24502 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
24504 PyObject
* obj0
= 0 ;
24505 char *kwnames
[] = {
24506 (char *) "self", NULL
24509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ClipboardLocker___nonzero__",kwnames
,&obj0
)) goto fail
;
24510 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxClipboardLocker
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24513 result
= (bool)wxClipboardLocker___nonzero__(arg1
);
24515 wxPyEndAllowThreads(__tstate
);
24516 if (PyErr_Occurred()) SWIG_fail
;
24518 resultobj
= PyInt_FromLong((long)result
);
24525 static PyObject
* ClipboardLocker_swigregister(PyObject
*self
, PyObject
*args
) {
24527 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24528 SWIG_TypeClientData(SWIGTYPE_p_wxClipboardLocker
, obj
);
24530 return Py_BuildValue((char *)"");
24532 static PyMethodDef SwigMethods
[] = {
24533 { (char *)"SystemSettings_GetColour", (PyCFunction
) _wrap_SystemSettings_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
24534 { (char *)"SystemSettings_GetFont", (PyCFunction
) _wrap_SystemSettings_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
24535 { (char *)"SystemSettings_GetMetric", (PyCFunction
) _wrap_SystemSettings_GetMetric
, METH_VARARGS
| METH_KEYWORDS
},
24536 { (char *)"SystemSettings_HasFeature", (PyCFunction
) _wrap_SystemSettings_HasFeature
, METH_VARARGS
| METH_KEYWORDS
},
24537 { (char *)"SystemSettings_GetScreenType", (PyCFunction
) _wrap_SystemSettings_GetScreenType
, METH_VARARGS
| METH_KEYWORDS
},
24538 { (char *)"SystemSettings_SetScreenType", (PyCFunction
) _wrap_SystemSettings_SetScreenType
, METH_VARARGS
| METH_KEYWORDS
},
24539 { (char *)"SystemSettings_swigregister", SystemSettings_swigregister
, METH_VARARGS
},
24540 { (char *)"new_SystemOptions", (PyCFunction
) _wrap_new_SystemOptions
, METH_VARARGS
| METH_KEYWORDS
},
24541 { (char *)"SystemOptions_SetOption", (PyCFunction
) _wrap_SystemOptions_SetOption
, METH_VARARGS
| METH_KEYWORDS
},
24542 { (char *)"SystemOptions_SetOptionInt", (PyCFunction
) _wrap_SystemOptions_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
},
24543 { (char *)"SystemOptions_GetOption", (PyCFunction
) _wrap_SystemOptions_GetOption
, METH_VARARGS
| METH_KEYWORDS
},
24544 { (char *)"SystemOptions_GetOptionInt", (PyCFunction
) _wrap_SystemOptions_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
},
24545 { (char *)"SystemOptions_HasOption", (PyCFunction
) _wrap_SystemOptions_HasOption
, METH_VARARGS
| METH_KEYWORDS
},
24546 { (char *)"SystemOptions_swigregister", SystemOptions_swigregister
, METH_VARARGS
},
24547 { (char *)"NewId", (PyCFunction
) _wrap_NewId
, METH_VARARGS
| METH_KEYWORDS
},
24548 { (char *)"RegisterId", (PyCFunction
) _wrap_RegisterId
, METH_VARARGS
| METH_KEYWORDS
},
24549 { (char *)"GetCurrentId", (PyCFunction
) _wrap_GetCurrentId
, METH_VARARGS
| METH_KEYWORDS
},
24550 { (char *)"Bell", (PyCFunction
) _wrap_Bell
, METH_VARARGS
| METH_KEYWORDS
},
24551 { (char *)"EndBusyCursor", (PyCFunction
) _wrap_EndBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
24552 { (char *)"GetElapsedTime", (PyCFunction
) _wrap_GetElapsedTime
, METH_VARARGS
| METH_KEYWORDS
},
24553 { (char *)"GetMousePosition", (PyCFunction
) _wrap_GetMousePosition
, METH_VARARGS
| METH_KEYWORDS
},
24554 { (char *)"IsBusy", (PyCFunction
) _wrap_IsBusy
, METH_VARARGS
| METH_KEYWORDS
},
24555 { (char *)"Now", (PyCFunction
) _wrap_Now
, METH_VARARGS
| METH_KEYWORDS
},
24556 { (char *)"Shell", (PyCFunction
) _wrap_Shell
, METH_VARARGS
| METH_KEYWORDS
},
24557 { (char *)"StartTimer", (PyCFunction
) _wrap_StartTimer
, METH_VARARGS
| METH_KEYWORDS
},
24558 { (char *)"GetOsVersion", (PyCFunction
) _wrap_GetOsVersion
, METH_VARARGS
| METH_KEYWORDS
},
24559 { (char *)"GetOsDescription", (PyCFunction
) _wrap_GetOsDescription
, METH_VARARGS
| METH_KEYWORDS
},
24560 { (char *)"GetFreeMemory", (PyCFunction
) _wrap_GetFreeMemory
, METH_VARARGS
| METH_KEYWORDS
},
24561 { (char *)"Shutdown", (PyCFunction
) _wrap_Shutdown
, METH_VARARGS
| METH_KEYWORDS
},
24562 { (char *)"Sleep", (PyCFunction
) _wrap_Sleep
, METH_VARARGS
| METH_KEYWORDS
},
24563 { (char *)"Usleep", (PyCFunction
) _wrap_Usleep
, METH_VARARGS
| METH_KEYWORDS
},
24564 { (char *)"EnableTopLevelWindows", (PyCFunction
) _wrap_EnableTopLevelWindows
, METH_VARARGS
| METH_KEYWORDS
},
24565 { (char *)"StripMenuCodes", (PyCFunction
) _wrap_StripMenuCodes
, METH_VARARGS
| METH_KEYWORDS
},
24566 { (char *)"GetEmailAddress", (PyCFunction
) _wrap_GetEmailAddress
, METH_VARARGS
| METH_KEYWORDS
},
24567 { (char *)"GetHostName", (PyCFunction
) _wrap_GetHostName
, METH_VARARGS
| METH_KEYWORDS
},
24568 { (char *)"GetFullHostName", (PyCFunction
) _wrap_GetFullHostName
, METH_VARARGS
| METH_KEYWORDS
},
24569 { (char *)"GetUserId", (PyCFunction
) _wrap_GetUserId
, METH_VARARGS
| METH_KEYWORDS
},
24570 { (char *)"GetUserName", (PyCFunction
) _wrap_GetUserName
, METH_VARARGS
| METH_KEYWORDS
},
24571 { (char *)"GetHomeDir", (PyCFunction
) _wrap_GetHomeDir
, METH_VARARGS
| METH_KEYWORDS
},
24572 { (char *)"GetUserHome", (PyCFunction
) _wrap_GetUserHome
, METH_VARARGS
| METH_KEYWORDS
},
24573 { (char *)"GetProcessId", (PyCFunction
) _wrap_GetProcessId
, METH_VARARGS
| METH_KEYWORDS
},
24574 { (char *)"Trap", (PyCFunction
) _wrap_Trap
, METH_VARARGS
| METH_KEYWORDS
},
24575 { (char *)"FileSelector", (PyCFunction
) _wrap_FileSelector
, METH_VARARGS
| METH_KEYWORDS
},
24576 { (char *)"LoadFileSelector", (PyCFunction
) _wrap_LoadFileSelector
, METH_VARARGS
| METH_KEYWORDS
},
24577 { (char *)"SaveFileSelector", (PyCFunction
) _wrap_SaveFileSelector
, METH_VARARGS
| METH_KEYWORDS
},
24578 { (char *)"DirSelector", (PyCFunction
) _wrap_DirSelector
, METH_VARARGS
| METH_KEYWORDS
},
24579 { (char *)"GetTextFromUser", (PyCFunction
) _wrap_GetTextFromUser
, METH_VARARGS
| METH_KEYWORDS
},
24580 { (char *)"GetPasswordFromUser", (PyCFunction
) _wrap_GetPasswordFromUser
, METH_VARARGS
| METH_KEYWORDS
},
24581 { (char *)"GetSingleChoice", (PyCFunction
) _wrap_GetSingleChoice
, METH_VARARGS
| METH_KEYWORDS
},
24582 { (char *)"GetSingleChoiceIndex", (PyCFunction
) _wrap_GetSingleChoiceIndex
, METH_VARARGS
| METH_KEYWORDS
},
24583 { (char *)"MessageBox", (PyCFunction
) _wrap_MessageBox
, METH_VARARGS
| METH_KEYWORDS
},
24584 { (char *)"GetNumberFromUser", (PyCFunction
) _wrap_GetNumberFromUser
, METH_VARARGS
| METH_KEYWORDS
},
24585 { (char *)"ColourDisplay", (PyCFunction
) _wrap_ColourDisplay
, METH_VARARGS
| METH_KEYWORDS
},
24586 { (char *)"DisplayDepth", (PyCFunction
) _wrap_DisplayDepth
, METH_VARARGS
| METH_KEYWORDS
},
24587 { (char *)"GetDisplayDepth", (PyCFunction
) _wrap_GetDisplayDepth
, METH_VARARGS
| METH_KEYWORDS
},
24588 { (char *)"DisplaySize", (PyCFunction
) _wrap_DisplaySize
, METH_VARARGS
| METH_KEYWORDS
},
24589 { (char *)"GetDisplaySize", (PyCFunction
) _wrap_GetDisplaySize
, METH_VARARGS
| METH_KEYWORDS
},
24590 { (char *)"DisplaySizeMM", (PyCFunction
) _wrap_DisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
},
24591 { (char *)"GetDisplaySizeMM", (PyCFunction
) _wrap_GetDisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
},
24592 { (char *)"ClientDisplayRect", (PyCFunction
) _wrap_ClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
},
24593 { (char *)"GetClientDisplayRect", (PyCFunction
) _wrap_GetClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
},
24594 { (char *)"SetCursor", (PyCFunction
) _wrap_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
24595 { (char *)"BeginBusyCursor", (PyCFunction
) _wrap_BeginBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
24596 { (char *)"GetActiveWindow", (PyCFunction
) _wrap_GetActiveWindow
, METH_VARARGS
| METH_KEYWORDS
},
24597 { (char *)"GenericFindWindowAtPoint", (PyCFunction
) _wrap_GenericFindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
},
24598 { (char *)"FindWindowAtPoint", (PyCFunction
) _wrap_FindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
},
24599 { (char *)"GetTopLevelParent", (PyCFunction
) _wrap_GetTopLevelParent
, METH_VARARGS
| METH_KEYWORDS
},
24600 { (char *)"WakeUpMainThread", (PyCFunction
) _wrap_WakeUpMainThread
, METH_VARARGS
| METH_KEYWORDS
},
24601 { (char *)"MutexGuiEnter", (PyCFunction
) _wrap_MutexGuiEnter
, METH_VARARGS
| METH_KEYWORDS
},
24602 { (char *)"MutexGuiLeave", (PyCFunction
) _wrap_MutexGuiLeave
, METH_VARARGS
| METH_KEYWORDS
},
24603 { (char *)"new_MutexGuiLocker", (PyCFunction
) _wrap_new_MutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
},
24604 { (char *)"delete_MutexGuiLocker", (PyCFunction
) _wrap_delete_MutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
},
24605 { (char *)"MutexGuiLocker_swigregister", MutexGuiLocker_swigregister
, METH_VARARGS
},
24606 { (char *)"Thread_IsMain", (PyCFunction
) _wrap_Thread_IsMain
, METH_VARARGS
| METH_KEYWORDS
},
24607 { (char *)"new_ToolTip", (PyCFunction
) _wrap_new_ToolTip
, METH_VARARGS
| METH_KEYWORDS
},
24608 { (char *)"ToolTip_SetTip", (PyCFunction
) _wrap_ToolTip_SetTip
, METH_VARARGS
| METH_KEYWORDS
},
24609 { (char *)"ToolTip_GetTip", (PyCFunction
) _wrap_ToolTip_GetTip
, METH_VARARGS
| METH_KEYWORDS
},
24610 { (char *)"ToolTip_GetWindow", (PyCFunction
) _wrap_ToolTip_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
24611 { (char *)"ToolTip_Enable", (PyCFunction
) _wrap_ToolTip_Enable
, METH_VARARGS
| METH_KEYWORDS
},
24612 { (char *)"ToolTip_SetDelay", (PyCFunction
) _wrap_ToolTip_SetDelay
, METH_VARARGS
| METH_KEYWORDS
},
24613 { (char *)"ToolTip_swigregister", ToolTip_swigregister
, METH_VARARGS
},
24614 { (char *)"new_Caret", (PyCFunction
) _wrap_new_Caret
, METH_VARARGS
| METH_KEYWORDS
},
24615 { (char *)"delete_Caret", (PyCFunction
) _wrap_delete_Caret
, METH_VARARGS
| METH_KEYWORDS
},
24616 { (char *)"Caret_IsOk", (PyCFunction
) _wrap_Caret_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
24617 { (char *)"Caret_IsVisible", (PyCFunction
) _wrap_Caret_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
24618 { (char *)"Caret_GetPosition", (PyCFunction
) _wrap_Caret_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
24619 { (char *)"Caret_GetPositionTuple", (PyCFunction
) _wrap_Caret_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
24620 { (char *)"Caret_GetSize", (PyCFunction
) _wrap_Caret_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
24621 { (char *)"Caret_GetSizeTuple", (PyCFunction
) _wrap_Caret_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
24622 { (char *)"Caret_GetWindow", (PyCFunction
) _wrap_Caret_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
24623 { (char *)"Caret_MoveXY", (PyCFunction
) _wrap_Caret_MoveXY
, METH_VARARGS
| METH_KEYWORDS
},
24624 { (char *)"Caret_Move", (PyCFunction
) _wrap_Caret_Move
, METH_VARARGS
| METH_KEYWORDS
},
24625 { (char *)"Caret_SetSizeWH", (PyCFunction
) _wrap_Caret_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
24626 { (char *)"Caret_SetSize", (PyCFunction
) _wrap_Caret_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
24627 { (char *)"Caret_Show", (PyCFunction
) _wrap_Caret_Show
, METH_VARARGS
| METH_KEYWORDS
},
24628 { (char *)"Caret_Hide", (PyCFunction
) _wrap_Caret_Hide
, METH_VARARGS
| METH_KEYWORDS
},
24629 { (char *)"Caret_swigregister", Caret_swigregister
, METH_VARARGS
},
24630 { (char *)"Caret_GetBlinkTime", (PyCFunction
) _wrap_Caret_GetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
},
24631 { (char *)"Caret_SetBlinkTime", (PyCFunction
) _wrap_Caret_SetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
},
24632 { (char *)"new_BusyCursor", (PyCFunction
) _wrap_new_BusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
24633 { (char *)"delete_BusyCursor", (PyCFunction
) _wrap_delete_BusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
24634 { (char *)"BusyCursor_swigregister", BusyCursor_swigregister
, METH_VARARGS
},
24635 { (char *)"new_WindowDisabler", (PyCFunction
) _wrap_new_WindowDisabler
, METH_VARARGS
| METH_KEYWORDS
},
24636 { (char *)"delete_WindowDisabler", (PyCFunction
) _wrap_delete_WindowDisabler
, METH_VARARGS
| METH_KEYWORDS
},
24637 { (char *)"WindowDisabler_swigregister", WindowDisabler_swigregister
, METH_VARARGS
},
24638 { (char *)"new_BusyInfo", (PyCFunction
) _wrap_new_BusyInfo
, METH_VARARGS
| METH_KEYWORDS
},
24639 { (char *)"delete_BusyInfo", (PyCFunction
) _wrap_delete_BusyInfo
, METH_VARARGS
| METH_KEYWORDS
},
24640 { (char *)"BusyInfo_swigregister", BusyInfo_swigregister
, METH_VARARGS
},
24641 { (char *)"new_StopWatch", (PyCFunction
) _wrap_new_StopWatch
, METH_VARARGS
| METH_KEYWORDS
},
24642 { (char *)"StopWatch_Start", (PyCFunction
) _wrap_StopWatch_Start
, METH_VARARGS
| METH_KEYWORDS
},
24643 { (char *)"StopWatch_Pause", (PyCFunction
) _wrap_StopWatch_Pause
, METH_VARARGS
| METH_KEYWORDS
},
24644 { (char *)"StopWatch_Resume", (PyCFunction
) _wrap_StopWatch_Resume
, METH_VARARGS
| METH_KEYWORDS
},
24645 { (char *)"StopWatch_Time", (PyCFunction
) _wrap_StopWatch_Time
, METH_VARARGS
| METH_KEYWORDS
},
24646 { (char *)"StopWatch_swigregister", StopWatch_swigregister
, METH_VARARGS
},
24647 { (char *)"new_FileHistory", (PyCFunction
) _wrap_new_FileHistory
, METH_VARARGS
| METH_KEYWORDS
},
24648 { (char *)"delete_FileHistory", (PyCFunction
) _wrap_delete_FileHistory
, METH_VARARGS
| METH_KEYWORDS
},
24649 { (char *)"FileHistory_AddFileToHistory", (PyCFunction
) _wrap_FileHistory_AddFileToHistory
, METH_VARARGS
| METH_KEYWORDS
},
24650 { (char *)"FileHistory_RemoveFileFromHistory", (PyCFunction
) _wrap_FileHistory_RemoveFileFromHistory
, METH_VARARGS
| METH_KEYWORDS
},
24651 { (char *)"FileHistory_GetMaxFiles", (PyCFunction
) _wrap_FileHistory_GetMaxFiles
, METH_VARARGS
| METH_KEYWORDS
},
24652 { (char *)"FileHistory_UseMenu", (PyCFunction
) _wrap_FileHistory_UseMenu
, METH_VARARGS
| METH_KEYWORDS
},
24653 { (char *)"FileHistory_RemoveMenu", (PyCFunction
) _wrap_FileHistory_RemoveMenu
, METH_VARARGS
| METH_KEYWORDS
},
24654 { (char *)"FileHistory_Load", (PyCFunction
) _wrap_FileHistory_Load
, METH_VARARGS
| METH_KEYWORDS
},
24655 { (char *)"FileHistory_Save", (PyCFunction
) _wrap_FileHistory_Save
, METH_VARARGS
| METH_KEYWORDS
},
24656 { (char *)"FileHistory_AddFilesToMenu", (PyCFunction
) _wrap_FileHistory_AddFilesToMenu
, METH_VARARGS
| METH_KEYWORDS
},
24657 { (char *)"FileHistory_AddFilesToThisMenu", (PyCFunction
) _wrap_FileHistory_AddFilesToThisMenu
, METH_VARARGS
| METH_KEYWORDS
},
24658 { (char *)"FileHistory_GetHistoryFile", (PyCFunction
) _wrap_FileHistory_GetHistoryFile
, METH_VARARGS
| METH_KEYWORDS
},
24659 { (char *)"FileHistory_GetCount", (PyCFunction
) _wrap_FileHistory_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
24660 { (char *)"FileHistory_swigregister", FileHistory_swigregister
, METH_VARARGS
},
24661 { (char *)"new_SingleInstanceChecker", (PyCFunction
) _wrap_new_SingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
},
24662 { (char *)"new_PreSingleInstanceChecker", (PyCFunction
) _wrap_new_PreSingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
},
24663 { (char *)"delete_SingleInstanceChecker", (PyCFunction
) _wrap_delete_SingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
},
24664 { (char *)"SingleInstanceChecker_Create", (PyCFunction
) _wrap_SingleInstanceChecker_Create
, METH_VARARGS
| METH_KEYWORDS
},
24665 { (char *)"SingleInstanceChecker_IsAnotherRunning", (PyCFunction
) _wrap_SingleInstanceChecker_IsAnotherRunning
, METH_VARARGS
| METH_KEYWORDS
},
24666 { (char *)"SingleInstanceChecker_swigregister", SingleInstanceChecker_swigregister
, METH_VARARGS
},
24667 { (char *)"DrawWindowOnDC", (PyCFunction
) _wrap_DrawWindowOnDC
, METH_VARARGS
| METH_KEYWORDS
},
24668 { (char *)"delete_TipProvider", (PyCFunction
) _wrap_delete_TipProvider
, METH_VARARGS
| METH_KEYWORDS
},
24669 { (char *)"TipProvider_GetTip", (PyCFunction
) _wrap_TipProvider_GetTip
, METH_VARARGS
| METH_KEYWORDS
},
24670 { (char *)"TipProvider_GetCurrentTip", (PyCFunction
) _wrap_TipProvider_GetCurrentTip
, METH_VARARGS
| METH_KEYWORDS
},
24671 { (char *)"TipProvider_PreprocessTip", (PyCFunction
) _wrap_TipProvider_PreprocessTip
, METH_VARARGS
| METH_KEYWORDS
},
24672 { (char *)"TipProvider_swigregister", TipProvider_swigregister
, METH_VARARGS
},
24673 { (char *)"new_PyTipProvider", (PyCFunction
) _wrap_new_PyTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
24674 { (char *)"PyTipProvider__setCallbackInfo", (PyCFunction
) _wrap_PyTipProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
24675 { (char *)"PyTipProvider_swigregister", PyTipProvider_swigregister
, METH_VARARGS
},
24676 { (char *)"ShowTip", (PyCFunction
) _wrap_ShowTip
, METH_VARARGS
| METH_KEYWORDS
},
24677 { (char *)"CreateFileTipProvider", (PyCFunction
) _wrap_CreateFileTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
24678 { (char *)"new_Timer", (PyCFunction
) _wrap_new_Timer
, METH_VARARGS
| METH_KEYWORDS
},
24679 { (char *)"delete_Timer", (PyCFunction
) _wrap_delete_Timer
, METH_VARARGS
| METH_KEYWORDS
},
24680 { (char *)"Timer__setCallbackInfo", (PyCFunction
) _wrap_Timer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
24681 { (char *)"Timer_SetOwner", (PyCFunction
) _wrap_Timer_SetOwner
, METH_VARARGS
| METH_KEYWORDS
},
24682 { (char *)"Timer_Start", (PyCFunction
) _wrap_Timer_Start
, METH_VARARGS
| METH_KEYWORDS
},
24683 { (char *)"Timer_Stop", (PyCFunction
) _wrap_Timer_Stop
, METH_VARARGS
| METH_KEYWORDS
},
24684 { (char *)"Timer_IsRunning", (PyCFunction
) _wrap_Timer_IsRunning
, METH_VARARGS
| METH_KEYWORDS
},
24685 { (char *)"Timer_GetInterval", (PyCFunction
) _wrap_Timer_GetInterval
, METH_VARARGS
| METH_KEYWORDS
},
24686 { (char *)"Timer_IsOneShot", (PyCFunction
) _wrap_Timer_IsOneShot
, METH_VARARGS
| METH_KEYWORDS
},
24687 { (char *)"Timer_GetId", (PyCFunction
) _wrap_Timer_GetId
, METH_VARARGS
| METH_KEYWORDS
},
24688 { (char *)"Timer_swigregister", Timer_swigregister
, METH_VARARGS
},
24689 { (char *)"new_TimerEvent", (PyCFunction
) _wrap_new_TimerEvent
, METH_VARARGS
| METH_KEYWORDS
},
24690 { (char *)"TimerEvent_GetInterval", (PyCFunction
) _wrap_TimerEvent_GetInterval
, METH_VARARGS
| METH_KEYWORDS
},
24691 { (char *)"TimerEvent_swigregister", TimerEvent_swigregister
, METH_VARARGS
},
24692 { (char *)"new_TimerRunner", _wrap_new_TimerRunner
, METH_VARARGS
},
24693 { (char *)"delete_TimerRunner", (PyCFunction
) _wrap_delete_TimerRunner
, METH_VARARGS
| METH_KEYWORDS
},
24694 { (char *)"TimerRunner_Start", (PyCFunction
) _wrap_TimerRunner_Start
, METH_VARARGS
| METH_KEYWORDS
},
24695 { (char *)"TimerRunner_swigregister", TimerRunner_swigregister
, METH_VARARGS
},
24696 { (char *)"new_Log", (PyCFunction
) _wrap_new_Log
, METH_VARARGS
| METH_KEYWORDS
},
24697 { (char *)"Log_IsEnabled", (PyCFunction
) _wrap_Log_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
24698 { (char *)"Log_EnableLogging", (PyCFunction
) _wrap_Log_EnableLogging
, METH_VARARGS
| METH_KEYWORDS
},
24699 { (char *)"Log_OnLog", (PyCFunction
) _wrap_Log_OnLog
, METH_VARARGS
| METH_KEYWORDS
},
24700 { (char *)"Log_Flush", (PyCFunction
) _wrap_Log_Flush
, METH_VARARGS
| METH_KEYWORDS
},
24701 { (char *)"Log_FlushActive", (PyCFunction
) _wrap_Log_FlushActive
, METH_VARARGS
| METH_KEYWORDS
},
24702 { (char *)"Log_GetActiveTarget", (PyCFunction
) _wrap_Log_GetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
},
24703 { (char *)"Log_SetActiveTarget", (PyCFunction
) _wrap_Log_SetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
},
24704 { (char *)"Log_Suspend", (PyCFunction
) _wrap_Log_Suspend
, METH_VARARGS
| METH_KEYWORDS
},
24705 { (char *)"Log_Resume", (PyCFunction
) _wrap_Log_Resume
, METH_VARARGS
| METH_KEYWORDS
},
24706 { (char *)"Log_SetVerbose", (PyCFunction
) _wrap_Log_SetVerbose
, METH_VARARGS
| METH_KEYWORDS
},
24707 { (char *)"Log_SetLogLevel", (PyCFunction
) _wrap_Log_SetLogLevel
, METH_VARARGS
| METH_KEYWORDS
},
24708 { (char *)"Log_DontCreateOnDemand", (PyCFunction
) _wrap_Log_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
},
24709 { (char *)"Log_SetTraceMask", (PyCFunction
) _wrap_Log_SetTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
24710 { (char *)"Log_AddTraceMask", (PyCFunction
) _wrap_Log_AddTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
24711 { (char *)"Log_RemoveTraceMask", (PyCFunction
) _wrap_Log_RemoveTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
24712 { (char *)"Log_ClearTraceMasks", (PyCFunction
) _wrap_Log_ClearTraceMasks
, METH_VARARGS
| METH_KEYWORDS
},
24713 { (char *)"Log_GetTraceMasks", (PyCFunction
) _wrap_Log_GetTraceMasks
, METH_VARARGS
| METH_KEYWORDS
},
24714 { (char *)"Log_SetTimestamp", (PyCFunction
) _wrap_Log_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
24715 { (char *)"Log_GetVerbose", (PyCFunction
) _wrap_Log_GetVerbose
, METH_VARARGS
| METH_KEYWORDS
},
24716 { (char *)"Log_GetTraceMask", (PyCFunction
) _wrap_Log_GetTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
24717 { (char *)"Log_IsAllowedTraceMask", (PyCFunction
) _wrap_Log_IsAllowedTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
24718 { (char *)"Log_GetLogLevel", (PyCFunction
) _wrap_Log_GetLogLevel
, METH_VARARGS
| METH_KEYWORDS
},
24719 { (char *)"Log_GetTimestamp", (PyCFunction
) _wrap_Log_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
24720 { (char *)"Log_TimeStamp", (PyCFunction
) _wrap_Log_TimeStamp
, METH_VARARGS
| METH_KEYWORDS
},
24721 { (char *)"Log_Destroy", (PyCFunction
) _wrap_Log_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
24722 { (char *)"Log_swigregister", Log_swigregister
, METH_VARARGS
},
24723 { (char *)"new_LogStderr", (PyCFunction
) _wrap_new_LogStderr
, METH_VARARGS
| METH_KEYWORDS
},
24724 { (char *)"LogStderr_swigregister", LogStderr_swigregister
, METH_VARARGS
},
24725 { (char *)"new_LogTextCtrl", (PyCFunction
) _wrap_new_LogTextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
24726 { (char *)"LogTextCtrl_swigregister", LogTextCtrl_swigregister
, METH_VARARGS
},
24727 { (char *)"new_LogGui", (PyCFunction
) _wrap_new_LogGui
, METH_VARARGS
| METH_KEYWORDS
},
24728 { (char *)"LogGui_swigregister", LogGui_swigregister
, METH_VARARGS
},
24729 { (char *)"new_LogWindow", (PyCFunction
) _wrap_new_LogWindow
, METH_VARARGS
| METH_KEYWORDS
},
24730 { (char *)"LogWindow_Show", (PyCFunction
) _wrap_LogWindow_Show
, METH_VARARGS
| METH_KEYWORDS
},
24731 { (char *)"LogWindow_GetFrame", (PyCFunction
) _wrap_LogWindow_GetFrame
, METH_VARARGS
| METH_KEYWORDS
},
24732 { (char *)"LogWindow_GetOldLog", (PyCFunction
) _wrap_LogWindow_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
},
24733 { (char *)"LogWindow_IsPassingMessages", (PyCFunction
) _wrap_LogWindow_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
},
24734 { (char *)"LogWindow_PassMessages", (PyCFunction
) _wrap_LogWindow_PassMessages
, METH_VARARGS
| METH_KEYWORDS
},
24735 { (char *)"LogWindow_swigregister", LogWindow_swigregister
, METH_VARARGS
},
24736 { (char *)"new_LogChain", (PyCFunction
) _wrap_new_LogChain
, METH_VARARGS
| METH_KEYWORDS
},
24737 { (char *)"LogChain_SetLog", (PyCFunction
) _wrap_LogChain_SetLog
, METH_VARARGS
| METH_KEYWORDS
},
24738 { (char *)"LogChain_PassMessages", (PyCFunction
) _wrap_LogChain_PassMessages
, METH_VARARGS
| METH_KEYWORDS
},
24739 { (char *)"LogChain_IsPassingMessages", (PyCFunction
) _wrap_LogChain_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
},
24740 { (char *)"LogChain_GetOldLog", (PyCFunction
) _wrap_LogChain_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
},
24741 { (char *)"LogChain_swigregister", LogChain_swigregister
, METH_VARARGS
},
24742 { (char *)"SysErrorCode", (PyCFunction
) _wrap_SysErrorCode
, METH_VARARGS
| METH_KEYWORDS
},
24743 { (char *)"SysErrorMsg", (PyCFunction
) _wrap_SysErrorMsg
, METH_VARARGS
| METH_KEYWORDS
},
24744 { (char *)"LogFatalError", (PyCFunction
) _wrap_LogFatalError
, METH_VARARGS
| METH_KEYWORDS
},
24745 { (char *)"LogError", (PyCFunction
) _wrap_LogError
, METH_VARARGS
| METH_KEYWORDS
},
24746 { (char *)"LogWarning", (PyCFunction
) _wrap_LogWarning
, METH_VARARGS
| METH_KEYWORDS
},
24747 { (char *)"LogMessage", (PyCFunction
) _wrap_LogMessage
, METH_VARARGS
| METH_KEYWORDS
},
24748 { (char *)"LogInfo", (PyCFunction
) _wrap_LogInfo
, METH_VARARGS
| METH_KEYWORDS
},
24749 { (char *)"LogDebug", (PyCFunction
) _wrap_LogDebug
, METH_VARARGS
| METH_KEYWORDS
},
24750 { (char *)"LogVerbose", (PyCFunction
) _wrap_LogVerbose
, METH_VARARGS
| METH_KEYWORDS
},
24751 { (char *)"LogStatus", (PyCFunction
) _wrap_LogStatus
, METH_VARARGS
| METH_KEYWORDS
},
24752 { (char *)"LogStatusFrame", (PyCFunction
) _wrap_LogStatusFrame
, METH_VARARGS
| METH_KEYWORDS
},
24753 { (char *)"LogSysError", (PyCFunction
) _wrap_LogSysError
, METH_VARARGS
| METH_KEYWORDS
},
24754 { (char *)"LogTrace", _wrap_LogTrace
, METH_VARARGS
},
24755 { (char *)"LogGeneric", (PyCFunction
) _wrap_LogGeneric
, METH_VARARGS
| METH_KEYWORDS
},
24756 { (char *)"SafeShowMessage", (PyCFunction
) _wrap_SafeShowMessage
, METH_VARARGS
| METH_KEYWORDS
},
24757 { (char *)"new_LogNull", (PyCFunction
) _wrap_new_LogNull
, METH_VARARGS
| METH_KEYWORDS
},
24758 { (char *)"delete_LogNull", (PyCFunction
) _wrap_delete_LogNull
, METH_VARARGS
| METH_KEYWORDS
},
24759 { (char *)"LogNull_swigregister", LogNull_swigregister
, METH_VARARGS
},
24760 { (char *)"new_PyLog", (PyCFunction
) _wrap_new_PyLog
, METH_VARARGS
| METH_KEYWORDS
},
24761 { (char *)"PyLog__setCallbackInfo", (PyCFunction
) _wrap_PyLog__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
24762 { (char *)"PyLog_swigregister", PyLog_swigregister
, METH_VARARGS
},
24763 { (char *)"Process_Kill", (PyCFunction
) _wrap_Process_Kill
, METH_VARARGS
| METH_KEYWORDS
},
24764 { (char *)"Process_Exists", (PyCFunction
) _wrap_Process_Exists
, METH_VARARGS
| METH_KEYWORDS
},
24765 { (char *)"Process_Open", (PyCFunction
) _wrap_Process_Open
, METH_VARARGS
| METH_KEYWORDS
},
24766 { (char *)"new_Process", (PyCFunction
) _wrap_new_Process
, METH_VARARGS
| METH_KEYWORDS
},
24767 { (char *)"Process__setCallbackInfo", (PyCFunction
) _wrap_Process__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
24768 { (char *)"Process_base_OnTerminate", (PyCFunction
) _wrap_Process_base_OnTerminate
, METH_VARARGS
| METH_KEYWORDS
},
24769 { (char *)"Process_Redirect", (PyCFunction
) _wrap_Process_Redirect
, METH_VARARGS
| METH_KEYWORDS
},
24770 { (char *)"Process_IsRedirected", (PyCFunction
) _wrap_Process_IsRedirected
, METH_VARARGS
| METH_KEYWORDS
},
24771 { (char *)"Process_Detach", (PyCFunction
) _wrap_Process_Detach
, METH_VARARGS
| METH_KEYWORDS
},
24772 { (char *)"Process_GetInputStream", (PyCFunction
) _wrap_Process_GetInputStream
, METH_VARARGS
| METH_KEYWORDS
},
24773 { (char *)"Process_GetErrorStream", (PyCFunction
) _wrap_Process_GetErrorStream
, METH_VARARGS
| METH_KEYWORDS
},
24774 { (char *)"Process_GetOutputStream", (PyCFunction
) _wrap_Process_GetOutputStream
, METH_VARARGS
| METH_KEYWORDS
},
24775 { (char *)"Process_CloseOutput", (PyCFunction
) _wrap_Process_CloseOutput
, METH_VARARGS
| METH_KEYWORDS
},
24776 { (char *)"Process_IsInputOpened", (PyCFunction
) _wrap_Process_IsInputOpened
, METH_VARARGS
| METH_KEYWORDS
},
24777 { (char *)"Process_IsInputAvailable", (PyCFunction
) _wrap_Process_IsInputAvailable
, METH_VARARGS
| METH_KEYWORDS
},
24778 { (char *)"Process_IsErrorAvailable", (PyCFunction
) _wrap_Process_IsErrorAvailable
, METH_VARARGS
| METH_KEYWORDS
},
24779 { (char *)"Process_swigregister", Process_swigregister
, METH_VARARGS
},
24780 { (char *)"new_ProcessEvent", (PyCFunction
) _wrap_new_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
},
24781 { (char *)"ProcessEvent_GetPid", (PyCFunction
) _wrap_ProcessEvent_GetPid
, METH_VARARGS
| METH_KEYWORDS
},
24782 { (char *)"ProcessEvent_GetExitCode", (PyCFunction
) _wrap_ProcessEvent_GetExitCode
, METH_VARARGS
| METH_KEYWORDS
},
24783 { (char *)"ProcessEvent_m_pid_set", (PyCFunction
) _wrap_ProcessEvent_m_pid_set
, METH_VARARGS
| METH_KEYWORDS
},
24784 { (char *)"ProcessEvent_m_pid_get", (PyCFunction
) _wrap_ProcessEvent_m_pid_get
, METH_VARARGS
| METH_KEYWORDS
},
24785 { (char *)"ProcessEvent_m_exitcode_set", (PyCFunction
) _wrap_ProcessEvent_m_exitcode_set
, METH_VARARGS
| METH_KEYWORDS
},
24786 { (char *)"ProcessEvent_m_exitcode_get", (PyCFunction
) _wrap_ProcessEvent_m_exitcode_get
, METH_VARARGS
| METH_KEYWORDS
},
24787 { (char *)"ProcessEvent_swigregister", ProcessEvent_swigregister
, METH_VARARGS
},
24788 { (char *)"Execute", (PyCFunction
) _wrap_Execute
, METH_VARARGS
| METH_KEYWORDS
},
24789 { (char *)"new_Joystick", (PyCFunction
) _wrap_new_Joystick
, METH_VARARGS
| METH_KEYWORDS
},
24790 { (char *)"delete_Joystick", (PyCFunction
) _wrap_delete_Joystick
, METH_VARARGS
| METH_KEYWORDS
},
24791 { (char *)"Joystick_GetPosition", (PyCFunction
) _wrap_Joystick_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
24792 { (char *)"Joystick_GetZPosition", (PyCFunction
) _wrap_Joystick_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
},
24793 { (char *)"Joystick_GetButtonState", (PyCFunction
) _wrap_Joystick_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
},
24794 { (char *)"Joystick_GetPOVPosition", (PyCFunction
) _wrap_Joystick_GetPOVPosition
, METH_VARARGS
| METH_KEYWORDS
},
24795 { (char *)"Joystick_GetPOVCTSPosition", (PyCFunction
) _wrap_Joystick_GetPOVCTSPosition
, METH_VARARGS
| METH_KEYWORDS
},
24796 { (char *)"Joystick_GetRudderPosition", (PyCFunction
) _wrap_Joystick_GetRudderPosition
, METH_VARARGS
| METH_KEYWORDS
},
24797 { (char *)"Joystick_GetUPosition", (PyCFunction
) _wrap_Joystick_GetUPosition
, METH_VARARGS
| METH_KEYWORDS
},
24798 { (char *)"Joystick_GetVPosition", (PyCFunction
) _wrap_Joystick_GetVPosition
, METH_VARARGS
| METH_KEYWORDS
},
24799 { (char *)"Joystick_GetMovementThreshold", (PyCFunction
) _wrap_Joystick_GetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
},
24800 { (char *)"Joystick_SetMovementThreshold", (PyCFunction
) _wrap_Joystick_SetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
},
24801 { (char *)"Joystick_IsOk", (PyCFunction
) _wrap_Joystick_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
24802 { (char *)"Joystick_GetNumberJoysticks", (PyCFunction
) _wrap_Joystick_GetNumberJoysticks
, METH_VARARGS
| METH_KEYWORDS
},
24803 { (char *)"Joystick_GetManufacturerId", (PyCFunction
) _wrap_Joystick_GetManufacturerId
, METH_VARARGS
| METH_KEYWORDS
},
24804 { (char *)"Joystick_GetProductId", (PyCFunction
) _wrap_Joystick_GetProductId
, METH_VARARGS
| METH_KEYWORDS
},
24805 { (char *)"Joystick_GetProductName", (PyCFunction
) _wrap_Joystick_GetProductName
, METH_VARARGS
| METH_KEYWORDS
},
24806 { (char *)"Joystick_GetXMin", (PyCFunction
) _wrap_Joystick_GetXMin
, METH_VARARGS
| METH_KEYWORDS
},
24807 { (char *)"Joystick_GetYMin", (PyCFunction
) _wrap_Joystick_GetYMin
, METH_VARARGS
| METH_KEYWORDS
},
24808 { (char *)"Joystick_GetZMin", (PyCFunction
) _wrap_Joystick_GetZMin
, METH_VARARGS
| METH_KEYWORDS
},
24809 { (char *)"Joystick_GetXMax", (PyCFunction
) _wrap_Joystick_GetXMax
, METH_VARARGS
| METH_KEYWORDS
},
24810 { (char *)"Joystick_GetYMax", (PyCFunction
) _wrap_Joystick_GetYMax
, METH_VARARGS
| METH_KEYWORDS
},
24811 { (char *)"Joystick_GetZMax", (PyCFunction
) _wrap_Joystick_GetZMax
, METH_VARARGS
| METH_KEYWORDS
},
24812 { (char *)"Joystick_GetNumberButtons", (PyCFunction
) _wrap_Joystick_GetNumberButtons
, METH_VARARGS
| METH_KEYWORDS
},
24813 { (char *)"Joystick_GetNumberAxes", (PyCFunction
) _wrap_Joystick_GetNumberAxes
, METH_VARARGS
| METH_KEYWORDS
},
24814 { (char *)"Joystick_GetMaxButtons", (PyCFunction
) _wrap_Joystick_GetMaxButtons
, METH_VARARGS
| METH_KEYWORDS
},
24815 { (char *)"Joystick_GetMaxAxes", (PyCFunction
) _wrap_Joystick_GetMaxAxes
, METH_VARARGS
| METH_KEYWORDS
},
24816 { (char *)"Joystick_GetPollingMin", (PyCFunction
) _wrap_Joystick_GetPollingMin
, METH_VARARGS
| METH_KEYWORDS
},
24817 { (char *)"Joystick_GetPollingMax", (PyCFunction
) _wrap_Joystick_GetPollingMax
, METH_VARARGS
| METH_KEYWORDS
},
24818 { (char *)"Joystick_GetRudderMin", (PyCFunction
) _wrap_Joystick_GetRudderMin
, METH_VARARGS
| METH_KEYWORDS
},
24819 { (char *)"Joystick_GetRudderMax", (PyCFunction
) _wrap_Joystick_GetRudderMax
, METH_VARARGS
| METH_KEYWORDS
},
24820 { (char *)"Joystick_GetUMin", (PyCFunction
) _wrap_Joystick_GetUMin
, METH_VARARGS
| METH_KEYWORDS
},
24821 { (char *)"Joystick_GetUMax", (PyCFunction
) _wrap_Joystick_GetUMax
, METH_VARARGS
| METH_KEYWORDS
},
24822 { (char *)"Joystick_GetVMin", (PyCFunction
) _wrap_Joystick_GetVMin
, METH_VARARGS
| METH_KEYWORDS
},
24823 { (char *)"Joystick_GetVMax", (PyCFunction
) _wrap_Joystick_GetVMax
, METH_VARARGS
| METH_KEYWORDS
},
24824 { (char *)"Joystick_HasRudder", (PyCFunction
) _wrap_Joystick_HasRudder
, METH_VARARGS
| METH_KEYWORDS
},
24825 { (char *)"Joystick_HasZ", (PyCFunction
) _wrap_Joystick_HasZ
, METH_VARARGS
| METH_KEYWORDS
},
24826 { (char *)"Joystick_HasU", (PyCFunction
) _wrap_Joystick_HasU
, METH_VARARGS
| METH_KEYWORDS
},
24827 { (char *)"Joystick_HasV", (PyCFunction
) _wrap_Joystick_HasV
, METH_VARARGS
| METH_KEYWORDS
},
24828 { (char *)"Joystick_HasPOV", (PyCFunction
) _wrap_Joystick_HasPOV
, METH_VARARGS
| METH_KEYWORDS
},
24829 { (char *)"Joystick_HasPOV4Dir", (PyCFunction
) _wrap_Joystick_HasPOV4Dir
, METH_VARARGS
| METH_KEYWORDS
},
24830 { (char *)"Joystick_HasPOVCTS", (PyCFunction
) _wrap_Joystick_HasPOVCTS
, METH_VARARGS
| METH_KEYWORDS
},
24831 { (char *)"Joystick_SetCapture", (PyCFunction
) _wrap_Joystick_SetCapture
, METH_VARARGS
| METH_KEYWORDS
},
24832 { (char *)"Joystick_ReleaseCapture", (PyCFunction
) _wrap_Joystick_ReleaseCapture
, METH_VARARGS
| METH_KEYWORDS
},
24833 { (char *)"Joystick_swigregister", Joystick_swigregister
, METH_VARARGS
},
24834 { (char *)"JoystickEvent_m_pos_set", (PyCFunction
) _wrap_JoystickEvent_m_pos_set
, METH_VARARGS
| METH_KEYWORDS
},
24835 { (char *)"JoystickEvent_m_pos_get", (PyCFunction
) _wrap_JoystickEvent_m_pos_get
, METH_VARARGS
| METH_KEYWORDS
},
24836 { (char *)"JoystickEvent_m_zPosition_set", (PyCFunction
) _wrap_JoystickEvent_m_zPosition_set
, METH_VARARGS
| METH_KEYWORDS
},
24837 { (char *)"JoystickEvent_m_zPosition_get", (PyCFunction
) _wrap_JoystickEvent_m_zPosition_get
, METH_VARARGS
| METH_KEYWORDS
},
24838 { (char *)"JoystickEvent_m_buttonChange_set", (PyCFunction
) _wrap_JoystickEvent_m_buttonChange_set
, METH_VARARGS
| METH_KEYWORDS
},
24839 { (char *)"JoystickEvent_m_buttonChange_get", (PyCFunction
) _wrap_JoystickEvent_m_buttonChange_get
, METH_VARARGS
| METH_KEYWORDS
},
24840 { (char *)"JoystickEvent_m_buttonState_set", (PyCFunction
) _wrap_JoystickEvent_m_buttonState_set
, METH_VARARGS
| METH_KEYWORDS
},
24841 { (char *)"JoystickEvent_m_buttonState_get", (PyCFunction
) _wrap_JoystickEvent_m_buttonState_get
, METH_VARARGS
| METH_KEYWORDS
},
24842 { (char *)"JoystickEvent_m_joyStick_set", (PyCFunction
) _wrap_JoystickEvent_m_joyStick_set
, METH_VARARGS
| METH_KEYWORDS
},
24843 { (char *)"JoystickEvent_m_joyStick_get", (PyCFunction
) _wrap_JoystickEvent_m_joyStick_get
, METH_VARARGS
| METH_KEYWORDS
},
24844 { (char *)"new_JoystickEvent", (PyCFunction
) _wrap_new_JoystickEvent
, METH_VARARGS
| METH_KEYWORDS
},
24845 { (char *)"JoystickEvent_GetPosition", (PyCFunction
) _wrap_JoystickEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
24846 { (char *)"JoystickEvent_GetZPosition", (PyCFunction
) _wrap_JoystickEvent_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
},
24847 { (char *)"JoystickEvent_GetButtonState", (PyCFunction
) _wrap_JoystickEvent_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
},
24848 { (char *)"JoystickEvent_GetButtonChange", (PyCFunction
) _wrap_JoystickEvent_GetButtonChange
, METH_VARARGS
| METH_KEYWORDS
},
24849 { (char *)"JoystickEvent_GetJoystick", (PyCFunction
) _wrap_JoystickEvent_GetJoystick
, METH_VARARGS
| METH_KEYWORDS
},
24850 { (char *)"JoystickEvent_SetJoystick", (PyCFunction
) _wrap_JoystickEvent_SetJoystick
, METH_VARARGS
| METH_KEYWORDS
},
24851 { (char *)"JoystickEvent_SetButtonState", (PyCFunction
) _wrap_JoystickEvent_SetButtonState
, METH_VARARGS
| METH_KEYWORDS
},
24852 { (char *)"JoystickEvent_SetButtonChange", (PyCFunction
) _wrap_JoystickEvent_SetButtonChange
, METH_VARARGS
| METH_KEYWORDS
},
24853 { (char *)"JoystickEvent_SetPosition", (PyCFunction
) _wrap_JoystickEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
24854 { (char *)"JoystickEvent_SetZPosition", (PyCFunction
) _wrap_JoystickEvent_SetZPosition
, METH_VARARGS
| METH_KEYWORDS
},
24855 { (char *)"JoystickEvent_IsButton", (PyCFunction
) _wrap_JoystickEvent_IsButton
, METH_VARARGS
| METH_KEYWORDS
},
24856 { (char *)"JoystickEvent_IsMove", (PyCFunction
) _wrap_JoystickEvent_IsMove
, METH_VARARGS
| METH_KEYWORDS
},
24857 { (char *)"JoystickEvent_IsZMove", (PyCFunction
) _wrap_JoystickEvent_IsZMove
, METH_VARARGS
| METH_KEYWORDS
},
24858 { (char *)"JoystickEvent_ButtonDown", (PyCFunction
) _wrap_JoystickEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
},
24859 { (char *)"JoystickEvent_ButtonUp", (PyCFunction
) _wrap_JoystickEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
},
24860 { (char *)"JoystickEvent_ButtonIsDown", (PyCFunction
) _wrap_JoystickEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
},
24861 { (char *)"JoystickEvent_swigregister", JoystickEvent_swigregister
, METH_VARARGS
},
24862 { (char *)"new_Wave", (PyCFunction
) _wrap_new_Wave
, METH_VARARGS
| METH_KEYWORDS
},
24863 { (char *)"new_WaveData", (PyCFunction
) _wrap_new_WaveData
, METH_VARARGS
| METH_KEYWORDS
},
24864 { (char *)"delete_Wave", (PyCFunction
) _wrap_delete_Wave
, METH_VARARGS
| METH_KEYWORDS
},
24865 { (char *)"Wave_IsOk", (PyCFunction
) _wrap_Wave_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
24866 { (char *)"Wave_Play", (PyCFunction
) _wrap_Wave_Play
, METH_VARARGS
| METH_KEYWORDS
},
24867 { (char *)"Wave_swigregister", Wave_swigregister
, METH_VARARGS
},
24868 { (char *)"new_FileTypeInfo", (PyCFunction
) _wrap_new_FileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
},
24869 { (char *)"new_FileTypeInfoSequence", (PyCFunction
) _wrap_new_FileTypeInfoSequence
, METH_VARARGS
| METH_KEYWORDS
},
24870 { (char *)"new_NullFileTypeInfo", (PyCFunction
) _wrap_new_NullFileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
},
24871 { (char *)"FileTypeInfo_IsValid", (PyCFunction
) _wrap_FileTypeInfo_IsValid
, METH_VARARGS
| METH_KEYWORDS
},
24872 { (char *)"FileTypeInfo_SetIcon", (PyCFunction
) _wrap_FileTypeInfo_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
24873 { (char *)"FileTypeInfo_SetShortDesc", (PyCFunction
) _wrap_FileTypeInfo_SetShortDesc
, METH_VARARGS
| METH_KEYWORDS
},
24874 { (char *)"FileTypeInfo_GetMimeType", (PyCFunction
) _wrap_FileTypeInfo_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
24875 { (char *)"FileTypeInfo_GetOpenCommand", (PyCFunction
) _wrap_FileTypeInfo_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
},
24876 { (char *)"FileTypeInfo_GetPrintCommand", (PyCFunction
) _wrap_FileTypeInfo_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
},
24877 { (char *)"FileTypeInfo_GetShortDesc", (PyCFunction
) _wrap_FileTypeInfo_GetShortDesc
, METH_VARARGS
| METH_KEYWORDS
},
24878 { (char *)"FileTypeInfo_GetDescription", (PyCFunction
) _wrap_FileTypeInfo_GetDescription
, METH_VARARGS
| METH_KEYWORDS
},
24879 { (char *)"FileTypeInfo_GetExtensions", (PyCFunction
) _wrap_FileTypeInfo_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
},
24880 { (char *)"FileTypeInfo_GetExtensionsCount", (PyCFunction
) _wrap_FileTypeInfo_GetExtensionsCount
, METH_VARARGS
| METH_KEYWORDS
},
24881 { (char *)"FileTypeInfo_GetIconFile", (PyCFunction
) _wrap_FileTypeInfo_GetIconFile
, METH_VARARGS
| METH_KEYWORDS
},
24882 { (char *)"FileTypeInfo_GetIconIndex", (PyCFunction
) _wrap_FileTypeInfo_GetIconIndex
, METH_VARARGS
| METH_KEYWORDS
},
24883 { (char *)"FileTypeInfo_swigregister", FileTypeInfo_swigregister
, METH_VARARGS
},
24884 { (char *)"new_FileType", (PyCFunction
) _wrap_new_FileType
, METH_VARARGS
| METH_KEYWORDS
},
24885 { (char *)"delete_FileType", (PyCFunction
) _wrap_delete_FileType
, METH_VARARGS
| METH_KEYWORDS
},
24886 { (char *)"FileType_GetMimeType", (PyCFunction
) _wrap_FileType_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
24887 { (char *)"FileType_GetMimeTypes", (PyCFunction
) _wrap_FileType_GetMimeTypes
, METH_VARARGS
| METH_KEYWORDS
},
24888 { (char *)"FileType_GetExtensions", (PyCFunction
) _wrap_FileType_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
},
24889 { (char *)"FileType_GetIcon", (PyCFunction
) _wrap_FileType_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
24890 { (char *)"FileType_GetIconInfo", (PyCFunction
) _wrap_FileType_GetIconInfo
, METH_VARARGS
| METH_KEYWORDS
},
24891 { (char *)"FileType_GetDescription", (PyCFunction
) _wrap_FileType_GetDescription
, METH_VARARGS
| METH_KEYWORDS
},
24892 { (char *)"FileType_GetOpenCommand", (PyCFunction
) _wrap_FileType_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
},
24893 { (char *)"FileType_GetPrintCommand", (PyCFunction
) _wrap_FileType_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
},
24894 { (char *)"FileType_GetAllCommands", (PyCFunction
) _wrap_FileType_GetAllCommands
, METH_VARARGS
| METH_KEYWORDS
},
24895 { (char *)"FileType_SetCommand", (PyCFunction
) _wrap_FileType_SetCommand
, METH_VARARGS
| METH_KEYWORDS
},
24896 { (char *)"FileType_SetDefaultIcon", (PyCFunction
) _wrap_FileType_SetDefaultIcon
, METH_VARARGS
| METH_KEYWORDS
},
24897 { (char *)"FileType_Unassociate", (PyCFunction
) _wrap_FileType_Unassociate
, METH_VARARGS
| METH_KEYWORDS
},
24898 { (char *)"FileType_ExpandCommand", (PyCFunction
) _wrap_FileType_ExpandCommand
, METH_VARARGS
| METH_KEYWORDS
},
24899 { (char *)"FileType_swigregister", FileType_swigregister
, METH_VARARGS
},
24900 { (char *)"MimeTypesManager_IsOfType", (PyCFunction
) _wrap_MimeTypesManager_IsOfType
, METH_VARARGS
| METH_KEYWORDS
},
24901 { (char *)"new_MimeTypesManager", (PyCFunction
) _wrap_new_MimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
},
24902 { (char *)"MimeTypesManager_Initialize", (PyCFunction
) _wrap_MimeTypesManager_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
24903 { (char *)"MimeTypesManager_ClearData", (PyCFunction
) _wrap_MimeTypesManager_ClearData
, METH_VARARGS
| METH_KEYWORDS
},
24904 { (char *)"MimeTypesManager_GetFileTypeFromExtension", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromExtension
, METH_VARARGS
| METH_KEYWORDS
},
24905 { (char *)"MimeTypesManager_GetFileTypeFromMimeType", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromMimeType
, METH_VARARGS
| METH_KEYWORDS
},
24906 { (char *)"MimeTypesManager_ReadMailcap", (PyCFunction
) _wrap_MimeTypesManager_ReadMailcap
, METH_VARARGS
| METH_KEYWORDS
},
24907 { (char *)"MimeTypesManager_ReadMimeTypes", (PyCFunction
) _wrap_MimeTypesManager_ReadMimeTypes
, METH_VARARGS
| METH_KEYWORDS
},
24908 { (char *)"MimeTypesManager_EnumAllFileTypes", (PyCFunction
) _wrap_MimeTypesManager_EnumAllFileTypes
, METH_VARARGS
| METH_KEYWORDS
},
24909 { (char *)"MimeTypesManager_AddFallback", (PyCFunction
) _wrap_MimeTypesManager_AddFallback
, METH_VARARGS
| METH_KEYWORDS
},
24910 { (char *)"MimeTypesManager_Associate", (PyCFunction
) _wrap_MimeTypesManager_Associate
, METH_VARARGS
| METH_KEYWORDS
},
24911 { (char *)"MimeTypesManager_Unassociate", (PyCFunction
) _wrap_MimeTypesManager_Unassociate
, METH_VARARGS
| METH_KEYWORDS
},
24912 { (char *)"delete_MimeTypesManager", (PyCFunction
) _wrap_delete_MimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
},
24913 { (char *)"MimeTypesManager_swigregister", MimeTypesManager_swigregister
, METH_VARARGS
},
24914 { (char *)"new_ArtProvider", (PyCFunction
) _wrap_new_ArtProvider
, METH_VARARGS
| METH_KEYWORDS
},
24915 { (char *)"ArtProvider__setCallbackInfo", (PyCFunction
) _wrap_ArtProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
24916 { (char *)"ArtProvider_PushProvider", (PyCFunction
) _wrap_ArtProvider_PushProvider
, METH_VARARGS
| METH_KEYWORDS
},
24917 { (char *)"ArtProvider_PopProvider", (PyCFunction
) _wrap_ArtProvider_PopProvider
, METH_VARARGS
| METH_KEYWORDS
},
24918 { (char *)"ArtProvider_RemoveProvider", (PyCFunction
) _wrap_ArtProvider_RemoveProvider
, METH_VARARGS
| METH_KEYWORDS
},
24919 { (char *)"ArtProvider_GetBitmap", (PyCFunction
) _wrap_ArtProvider_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
24920 { (char *)"ArtProvider_GetIcon", (PyCFunction
) _wrap_ArtProvider_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
24921 { (char *)"ArtProvider_Destroy", (PyCFunction
) _wrap_ArtProvider_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
24922 { (char *)"ArtProvider_swigregister", ArtProvider_swigregister
, METH_VARARGS
},
24923 { (char *)"delete_ConfigBase", (PyCFunction
) _wrap_delete_ConfigBase
, METH_VARARGS
| METH_KEYWORDS
},
24924 { (char *)"ConfigBase_Set", (PyCFunction
) _wrap_ConfigBase_Set
, METH_VARARGS
| METH_KEYWORDS
},
24925 { (char *)"ConfigBase_Get", (PyCFunction
) _wrap_ConfigBase_Get
, METH_VARARGS
| METH_KEYWORDS
},
24926 { (char *)"ConfigBase_Create", (PyCFunction
) _wrap_ConfigBase_Create
, METH_VARARGS
| METH_KEYWORDS
},
24927 { (char *)"ConfigBase_DontCreateOnDemand", (PyCFunction
) _wrap_ConfigBase_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
},
24928 { (char *)"ConfigBase_SetPath", (PyCFunction
) _wrap_ConfigBase_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
24929 { (char *)"ConfigBase_GetPath", (PyCFunction
) _wrap_ConfigBase_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
24930 { (char *)"ConfigBase_GetFirstGroup", (PyCFunction
) _wrap_ConfigBase_GetFirstGroup
, METH_VARARGS
| METH_KEYWORDS
},
24931 { (char *)"ConfigBase_GetNextGroup", (PyCFunction
) _wrap_ConfigBase_GetNextGroup
, METH_VARARGS
| METH_KEYWORDS
},
24932 { (char *)"ConfigBase_GetFirstEntry", (PyCFunction
) _wrap_ConfigBase_GetFirstEntry
, METH_VARARGS
| METH_KEYWORDS
},
24933 { (char *)"ConfigBase_GetNextEntry", (PyCFunction
) _wrap_ConfigBase_GetNextEntry
, METH_VARARGS
| METH_KEYWORDS
},
24934 { (char *)"ConfigBase_GetNumberOfEntries", (PyCFunction
) _wrap_ConfigBase_GetNumberOfEntries
, METH_VARARGS
| METH_KEYWORDS
},
24935 { (char *)"ConfigBase_GetNumberOfGroups", (PyCFunction
) _wrap_ConfigBase_GetNumberOfGroups
, METH_VARARGS
| METH_KEYWORDS
},
24936 { (char *)"ConfigBase_HasGroup", (PyCFunction
) _wrap_ConfigBase_HasGroup
, METH_VARARGS
| METH_KEYWORDS
},
24937 { (char *)"ConfigBase_HasEntry", (PyCFunction
) _wrap_ConfigBase_HasEntry
, METH_VARARGS
| METH_KEYWORDS
},
24938 { (char *)"ConfigBase_Exists", (PyCFunction
) _wrap_ConfigBase_Exists
, METH_VARARGS
| METH_KEYWORDS
},
24939 { (char *)"ConfigBase_GetEntryType", (PyCFunction
) _wrap_ConfigBase_GetEntryType
, METH_VARARGS
| METH_KEYWORDS
},
24940 { (char *)"ConfigBase_Read", (PyCFunction
) _wrap_ConfigBase_Read
, METH_VARARGS
| METH_KEYWORDS
},
24941 { (char *)"ConfigBase_ReadInt", (PyCFunction
) _wrap_ConfigBase_ReadInt
, METH_VARARGS
| METH_KEYWORDS
},
24942 { (char *)"ConfigBase_ReadFloat", (PyCFunction
) _wrap_ConfigBase_ReadFloat
, METH_VARARGS
| METH_KEYWORDS
},
24943 { (char *)"ConfigBase_ReadBool", (PyCFunction
) _wrap_ConfigBase_ReadBool
, METH_VARARGS
| METH_KEYWORDS
},
24944 { (char *)"ConfigBase_Write", (PyCFunction
) _wrap_ConfigBase_Write
, METH_VARARGS
| METH_KEYWORDS
},
24945 { (char *)"ConfigBase_WriteInt", (PyCFunction
) _wrap_ConfigBase_WriteInt
, METH_VARARGS
| METH_KEYWORDS
},
24946 { (char *)"ConfigBase_WriteFloat", (PyCFunction
) _wrap_ConfigBase_WriteFloat
, METH_VARARGS
| METH_KEYWORDS
},
24947 { (char *)"ConfigBase_WriteBool", (PyCFunction
) _wrap_ConfigBase_WriteBool
, METH_VARARGS
| METH_KEYWORDS
},
24948 { (char *)"ConfigBase_Flush", (PyCFunction
) _wrap_ConfigBase_Flush
, METH_VARARGS
| METH_KEYWORDS
},
24949 { (char *)"ConfigBase_RenameEntry", (PyCFunction
) _wrap_ConfigBase_RenameEntry
, METH_VARARGS
| METH_KEYWORDS
},
24950 { (char *)"ConfigBase_RenameGroup", (PyCFunction
) _wrap_ConfigBase_RenameGroup
, METH_VARARGS
| METH_KEYWORDS
},
24951 { (char *)"ConfigBase_DeleteEntry", (PyCFunction
) _wrap_ConfigBase_DeleteEntry
, METH_VARARGS
| METH_KEYWORDS
},
24952 { (char *)"ConfigBase_DeleteGroup", (PyCFunction
) _wrap_ConfigBase_DeleteGroup
, METH_VARARGS
| METH_KEYWORDS
},
24953 { (char *)"ConfigBase_DeleteAll", (PyCFunction
) _wrap_ConfigBase_DeleteAll
, METH_VARARGS
| METH_KEYWORDS
},
24954 { (char *)"ConfigBase_IsExpandingEnvVars", (PyCFunction
) _wrap_ConfigBase_IsExpandingEnvVars
, METH_VARARGS
| METH_KEYWORDS
},
24955 { (char *)"ConfigBase_SetExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_SetExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
},
24956 { (char *)"ConfigBase_SetRecordDefaults", (PyCFunction
) _wrap_ConfigBase_SetRecordDefaults
, METH_VARARGS
| METH_KEYWORDS
},
24957 { (char *)"ConfigBase_IsRecordingDefaults", (PyCFunction
) _wrap_ConfigBase_IsRecordingDefaults
, METH_VARARGS
| METH_KEYWORDS
},
24958 { (char *)"ConfigBase_ExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
},
24959 { (char *)"ConfigBase_GetAppName", (PyCFunction
) _wrap_ConfigBase_GetAppName
, METH_VARARGS
| METH_KEYWORDS
},
24960 { (char *)"ConfigBase_GetVendorName", (PyCFunction
) _wrap_ConfigBase_GetVendorName
, METH_VARARGS
| METH_KEYWORDS
},
24961 { (char *)"ConfigBase_SetAppName", (PyCFunction
) _wrap_ConfigBase_SetAppName
, METH_VARARGS
| METH_KEYWORDS
},
24962 { (char *)"ConfigBase_SetVendorName", (PyCFunction
) _wrap_ConfigBase_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
},
24963 { (char *)"ConfigBase_SetStyle", (PyCFunction
) _wrap_ConfigBase_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
24964 { (char *)"ConfigBase_GetStyle", (PyCFunction
) _wrap_ConfigBase_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
24965 { (char *)"ConfigBase_swigregister", ConfigBase_swigregister
, METH_VARARGS
},
24966 { (char *)"new_ConfigPathChanger", (PyCFunction
) _wrap_new_ConfigPathChanger
, METH_VARARGS
| METH_KEYWORDS
},
24967 { (char *)"delete_ConfigPathChanger", (PyCFunction
) _wrap_delete_ConfigPathChanger
, METH_VARARGS
| METH_KEYWORDS
},
24968 { (char *)"ConfigPathChanger_Name", (PyCFunction
) _wrap_ConfigPathChanger_Name
, METH_VARARGS
| METH_KEYWORDS
},
24969 { (char *)"ConfigPathChanger_swigregister", ConfigPathChanger_swigregister
, METH_VARARGS
},
24970 { (char *)"new_Config", (PyCFunction
) _wrap_new_Config
, METH_VARARGS
| METH_KEYWORDS
},
24971 { (char *)"delete_Config", (PyCFunction
) _wrap_delete_Config
, METH_VARARGS
| METH_KEYWORDS
},
24972 { (char *)"Config_swigregister", Config_swigregister
, METH_VARARGS
},
24973 { (char *)"new_FileConfig", (PyCFunction
) _wrap_new_FileConfig
, METH_VARARGS
| METH_KEYWORDS
},
24974 { (char *)"delete_FileConfig", (PyCFunction
) _wrap_delete_FileConfig
, METH_VARARGS
| METH_KEYWORDS
},
24975 { (char *)"FileConfig_swigregister", FileConfig_swigregister
, METH_VARARGS
},
24976 { (char *)"ExpandEnvVars", (PyCFunction
) _wrap_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
},
24977 { (char *)"DateTime_SetCountry", (PyCFunction
) _wrap_DateTime_SetCountry
, METH_VARARGS
| METH_KEYWORDS
},
24978 { (char *)"DateTime_GetCountry", (PyCFunction
) _wrap_DateTime_GetCountry
, METH_VARARGS
| METH_KEYWORDS
},
24979 { (char *)"DateTime_IsWestEuropeanCountry", (PyCFunction
) _wrap_DateTime_IsWestEuropeanCountry
, METH_VARARGS
| METH_KEYWORDS
},
24980 { (char *)"DateTime_GetCurrentYear", (PyCFunction
) _wrap_DateTime_GetCurrentYear
, METH_VARARGS
| METH_KEYWORDS
},
24981 { (char *)"DateTime_ConvertYearToBC", (PyCFunction
) _wrap_DateTime_ConvertYearToBC
, METH_VARARGS
| METH_KEYWORDS
},
24982 { (char *)"DateTime_GetCurrentMonth", (PyCFunction
) _wrap_DateTime_GetCurrentMonth
, METH_VARARGS
| METH_KEYWORDS
},
24983 { (char *)"DateTime_IsLeapYear", (PyCFunction
) _wrap_DateTime_IsLeapYear
, METH_VARARGS
| METH_KEYWORDS
},
24984 { (char *)"DateTime_GetCentury", (PyCFunction
) _wrap_DateTime_GetCentury
, METH_VARARGS
| METH_KEYWORDS
},
24985 { (char *)"DateTime_GetNumberOfDaysinYear", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysinYear
, METH_VARARGS
| METH_KEYWORDS
},
24986 { (char *)"DateTime_GetNumberOfDaysInMonth", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysInMonth
, METH_VARARGS
| METH_KEYWORDS
},
24987 { (char *)"DateTime_GetMonthName", (PyCFunction
) _wrap_DateTime_GetMonthName
, METH_VARARGS
| METH_KEYWORDS
},
24988 { (char *)"DateTime_GetWeekDayName", (PyCFunction
) _wrap_DateTime_GetWeekDayName
, METH_VARARGS
| METH_KEYWORDS
},
24989 { (char *)"DateTime_GetAmPmStrings", (PyCFunction
) _wrap_DateTime_GetAmPmStrings
, METH_VARARGS
| METH_KEYWORDS
},
24990 { (char *)"DateTime_IsDSTApplicable", (PyCFunction
) _wrap_DateTime_IsDSTApplicable
, METH_VARARGS
| METH_KEYWORDS
},
24991 { (char *)"DateTime_GetBeginDST", (PyCFunction
) _wrap_DateTime_GetBeginDST
, METH_VARARGS
| METH_KEYWORDS
},
24992 { (char *)"DateTime_GetEndDST", (PyCFunction
) _wrap_DateTime_GetEndDST
, METH_VARARGS
| METH_KEYWORDS
},
24993 { (char *)"DateTime_Now", (PyCFunction
) _wrap_DateTime_Now
, METH_VARARGS
| METH_KEYWORDS
},
24994 { (char *)"DateTime_UNow", (PyCFunction
) _wrap_DateTime_UNow
, METH_VARARGS
| METH_KEYWORDS
},
24995 { (char *)"DateTime_Today", (PyCFunction
) _wrap_DateTime_Today
, METH_VARARGS
| METH_KEYWORDS
},
24996 { (char *)"new_DateTime", (PyCFunction
) _wrap_new_DateTime
, METH_VARARGS
| METH_KEYWORDS
},
24997 { (char *)"new_DateTimeFromTimeT", (PyCFunction
) _wrap_new_DateTimeFromTimeT
, METH_VARARGS
| METH_KEYWORDS
},
24998 { (char *)"new_DateTimeFromJDN", (PyCFunction
) _wrap_new_DateTimeFromJDN
, METH_VARARGS
| METH_KEYWORDS
},
24999 { (char *)"new_DateTimeFromHMS", (PyCFunction
) _wrap_new_DateTimeFromHMS
, METH_VARARGS
| METH_KEYWORDS
},
25000 { (char *)"new_DateTimeFromDMY", (PyCFunction
) _wrap_new_DateTimeFromDMY
, METH_VARARGS
| METH_KEYWORDS
},
25001 { (char *)"delete_DateTime", (PyCFunction
) _wrap_delete_DateTime
, METH_VARARGS
| METH_KEYWORDS
},
25002 { (char *)"DateTime_SetToCurrent", (PyCFunction
) _wrap_DateTime_SetToCurrent
, METH_VARARGS
| METH_KEYWORDS
},
25003 { (char *)"DateTime_SetTimeT", (PyCFunction
) _wrap_DateTime_SetTimeT
, METH_VARARGS
| METH_KEYWORDS
},
25004 { (char *)"DateTime_SetJDN", (PyCFunction
) _wrap_DateTime_SetJDN
, METH_VARARGS
| METH_KEYWORDS
},
25005 { (char *)"DateTime_SetHMS", (PyCFunction
) _wrap_DateTime_SetHMS
, METH_VARARGS
| METH_KEYWORDS
},
25006 { (char *)"DateTime_Set", (PyCFunction
) _wrap_DateTime_Set
, METH_VARARGS
| METH_KEYWORDS
},
25007 { (char *)"DateTime_ResetTime", (PyCFunction
) _wrap_DateTime_ResetTime
, METH_VARARGS
| METH_KEYWORDS
},
25008 { (char *)"DateTime_SetYear", (PyCFunction
) _wrap_DateTime_SetYear
, METH_VARARGS
| METH_KEYWORDS
},
25009 { (char *)"DateTime_SetMonth", (PyCFunction
) _wrap_DateTime_SetMonth
, METH_VARARGS
| METH_KEYWORDS
},
25010 { (char *)"DateTime_SetDay", (PyCFunction
) _wrap_DateTime_SetDay
, METH_VARARGS
| METH_KEYWORDS
},
25011 { (char *)"DateTime_SetHour", (PyCFunction
) _wrap_DateTime_SetHour
, METH_VARARGS
| METH_KEYWORDS
},
25012 { (char *)"DateTime_SetMinute", (PyCFunction
) _wrap_DateTime_SetMinute
, METH_VARARGS
| METH_KEYWORDS
},
25013 { (char *)"DateTime_SetSecond", (PyCFunction
) _wrap_DateTime_SetSecond
, METH_VARARGS
| METH_KEYWORDS
},
25014 { (char *)"DateTime_SetMillisecond", (PyCFunction
) _wrap_DateTime_SetMillisecond
, METH_VARARGS
| METH_KEYWORDS
},
25015 { (char *)"DateTime_SetToWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_SetToWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
},
25016 { (char *)"DateTime_GetWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_GetWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
},
25017 { (char *)"DateTime_SetToNextWeekDay", (PyCFunction
) _wrap_DateTime_SetToNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
25018 { (char *)"DateTime_GetNextWeekDay", (PyCFunction
) _wrap_DateTime_GetNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
25019 { (char *)"DateTime_SetToPrevWeekDay", (PyCFunction
) _wrap_DateTime_SetToPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
25020 { (char *)"DateTime_GetPrevWeekDay", (PyCFunction
) _wrap_DateTime_GetPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
25021 { (char *)"DateTime_SetToWeekDay", (PyCFunction
) _wrap_DateTime_SetToWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
25022 { (char *)"DateTime_SetToLastWeekDay", (PyCFunction
) _wrap_DateTime_SetToLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
25023 { (char *)"DateTime_GetLastWeekDay", (PyCFunction
) _wrap_DateTime_GetLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
25024 { (char *)"DateTime_SetToTheWeek", (PyCFunction
) _wrap_DateTime_SetToTheWeek
, METH_VARARGS
| METH_KEYWORDS
},
25025 { (char *)"DateTime_GetWeek", (PyCFunction
) _wrap_DateTime_GetWeek
, METH_VARARGS
| METH_KEYWORDS
},
25026 { (char *)"DateTime_SetToLastMonthDay", (PyCFunction
) _wrap_DateTime_SetToLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
},
25027 { (char *)"DateTime_GetLastMonthDay", (PyCFunction
) _wrap_DateTime_GetLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
},
25028 { (char *)"DateTime_SetToYearDay", (PyCFunction
) _wrap_DateTime_SetToYearDay
, METH_VARARGS
| METH_KEYWORDS
},
25029 { (char *)"DateTime_GetYearDay", (PyCFunction
) _wrap_DateTime_GetYearDay
, METH_VARARGS
| METH_KEYWORDS
},
25030 { (char *)"DateTime_GetJulianDayNumber", (PyCFunction
) _wrap_DateTime_GetJulianDayNumber
, METH_VARARGS
| METH_KEYWORDS
},
25031 { (char *)"DateTime_GetJDN", (PyCFunction
) _wrap_DateTime_GetJDN
, METH_VARARGS
| METH_KEYWORDS
},
25032 { (char *)"DateTime_GetModifiedJulianDayNumber", (PyCFunction
) _wrap_DateTime_GetModifiedJulianDayNumber
, METH_VARARGS
| METH_KEYWORDS
},
25033 { (char *)"DateTime_GetMJD", (PyCFunction
) _wrap_DateTime_GetMJD
, METH_VARARGS
| METH_KEYWORDS
},
25034 { (char *)"DateTime_GetRataDie", (PyCFunction
) _wrap_DateTime_GetRataDie
, METH_VARARGS
| METH_KEYWORDS
},
25035 { (char *)"DateTime_ToTimezone", (PyCFunction
) _wrap_DateTime_ToTimezone
, METH_VARARGS
| METH_KEYWORDS
},
25036 { (char *)"DateTime_MakeTimezone", (PyCFunction
) _wrap_DateTime_MakeTimezone
, METH_VARARGS
| METH_KEYWORDS
},
25037 { (char *)"DateTime_ToGMT", (PyCFunction
) _wrap_DateTime_ToGMT
, METH_VARARGS
| METH_KEYWORDS
},
25038 { (char *)"DateTime_MakeGMT", (PyCFunction
) _wrap_DateTime_MakeGMT
, METH_VARARGS
| METH_KEYWORDS
},
25039 { (char *)"DateTime_IsDST", (PyCFunction
) _wrap_DateTime_IsDST
, METH_VARARGS
| METH_KEYWORDS
},
25040 { (char *)"DateTime_IsValid", (PyCFunction
) _wrap_DateTime_IsValid
, METH_VARARGS
| METH_KEYWORDS
},
25041 { (char *)"DateTime_GetTicks", (PyCFunction
) _wrap_DateTime_GetTicks
, METH_VARARGS
| METH_KEYWORDS
},
25042 { (char *)"DateTime_GetYear", (PyCFunction
) _wrap_DateTime_GetYear
, METH_VARARGS
| METH_KEYWORDS
},
25043 { (char *)"DateTime_GetMonth", (PyCFunction
) _wrap_DateTime_GetMonth
, METH_VARARGS
| METH_KEYWORDS
},
25044 { (char *)"DateTime_GetDay", (PyCFunction
) _wrap_DateTime_GetDay
, METH_VARARGS
| METH_KEYWORDS
},
25045 { (char *)"DateTime_GetWeekDay", (PyCFunction
) _wrap_DateTime_GetWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
25046 { (char *)"DateTime_GetHour", (PyCFunction
) _wrap_DateTime_GetHour
, METH_VARARGS
| METH_KEYWORDS
},
25047 { (char *)"DateTime_GetMinute", (PyCFunction
) _wrap_DateTime_GetMinute
, METH_VARARGS
| METH_KEYWORDS
},
25048 { (char *)"DateTime_GetSecond", (PyCFunction
) _wrap_DateTime_GetSecond
, METH_VARARGS
| METH_KEYWORDS
},
25049 { (char *)"DateTime_GetMillisecond", (PyCFunction
) _wrap_DateTime_GetMillisecond
, METH_VARARGS
| METH_KEYWORDS
},
25050 { (char *)"DateTime_GetDayOfYear", (PyCFunction
) _wrap_DateTime_GetDayOfYear
, METH_VARARGS
| METH_KEYWORDS
},
25051 { (char *)"DateTime_GetWeekOfYear", (PyCFunction
) _wrap_DateTime_GetWeekOfYear
, METH_VARARGS
| METH_KEYWORDS
},
25052 { (char *)"DateTime_GetWeekOfMonth", (PyCFunction
) _wrap_DateTime_GetWeekOfMonth
, METH_VARARGS
| METH_KEYWORDS
},
25053 { (char *)"DateTime_IsWorkDay", (PyCFunction
) _wrap_DateTime_IsWorkDay
, METH_VARARGS
| METH_KEYWORDS
},
25054 { (char *)"DateTime_IsEqualTo", (PyCFunction
) _wrap_DateTime_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
},
25055 { (char *)"DateTime_IsEarlierThan", (PyCFunction
) _wrap_DateTime_IsEarlierThan
, METH_VARARGS
| METH_KEYWORDS
},
25056 { (char *)"DateTime_IsLaterThan", (PyCFunction
) _wrap_DateTime_IsLaterThan
, METH_VARARGS
| METH_KEYWORDS
},
25057 { (char *)"DateTime_IsStrictlyBetween", (PyCFunction
) _wrap_DateTime_IsStrictlyBetween
, METH_VARARGS
| METH_KEYWORDS
},
25058 { (char *)"DateTime_IsBetween", (PyCFunction
) _wrap_DateTime_IsBetween
, METH_VARARGS
| METH_KEYWORDS
},
25059 { (char *)"DateTime_IsSameDate", (PyCFunction
) _wrap_DateTime_IsSameDate
, METH_VARARGS
| METH_KEYWORDS
},
25060 { (char *)"DateTime_IsSameTime", (PyCFunction
) _wrap_DateTime_IsSameTime
, METH_VARARGS
| METH_KEYWORDS
},
25061 { (char *)"DateTime_IsEqualUpTo", (PyCFunction
) _wrap_DateTime_IsEqualUpTo
, METH_VARARGS
| METH_KEYWORDS
},
25062 { (char *)"DateTime_AddTS", (PyCFunction
) _wrap_DateTime_AddTS
, METH_VARARGS
| METH_KEYWORDS
},
25063 { (char *)"DateTime_AddDS", (PyCFunction
) _wrap_DateTime_AddDS
, METH_VARARGS
| METH_KEYWORDS
},
25064 { (char *)"DateTime_SubtractTS", (PyCFunction
) _wrap_DateTime_SubtractTS
, METH_VARARGS
| METH_KEYWORDS
},
25065 { (char *)"DateTime_SubtractDS", (PyCFunction
) _wrap_DateTime_SubtractDS
, METH_VARARGS
| METH_KEYWORDS
},
25066 { (char *)"DateTime_Subtract", (PyCFunction
) _wrap_DateTime_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
25067 { (char *)"DateTime___iadd__", _wrap_DateTime___iadd__
, METH_VARARGS
},
25068 { (char *)"DateTime___isub__", _wrap_DateTime___isub__
, METH_VARARGS
},
25069 { (char *)"DateTime___add__", _wrap_DateTime___add__
, METH_VARARGS
},
25070 { (char *)"DateTime___sub__", _wrap_DateTime___sub__
, METH_VARARGS
},
25071 { (char *)"DateTime___lt__", _wrap_DateTime___lt__
, METH_VARARGS
},
25072 { (char *)"DateTime___le__", _wrap_DateTime___le__
, METH_VARARGS
},
25073 { (char *)"DateTime___gt__", _wrap_DateTime___gt__
, METH_VARARGS
},
25074 { (char *)"DateTime___ge__", _wrap_DateTime___ge__
, METH_VARARGS
},
25075 { (char *)"DateTime___eq__", _wrap_DateTime___eq__
, METH_VARARGS
},
25076 { (char *)"DateTime___ne__", _wrap_DateTime___ne__
, METH_VARARGS
},
25077 { (char *)"DateTime_ParseRfc822Date", (PyCFunction
) _wrap_DateTime_ParseRfc822Date
, METH_VARARGS
| METH_KEYWORDS
},
25078 { (char *)"DateTime_ParseFormat", (PyCFunction
) _wrap_DateTime_ParseFormat
, METH_VARARGS
| METH_KEYWORDS
},
25079 { (char *)"DateTime_ParseDateTime", (PyCFunction
) _wrap_DateTime_ParseDateTime
, METH_VARARGS
| METH_KEYWORDS
},
25080 { (char *)"DateTime_ParseDate", (PyCFunction
) _wrap_DateTime_ParseDate
, METH_VARARGS
| METH_KEYWORDS
},
25081 { (char *)"DateTime_ParseTime", (PyCFunction
) _wrap_DateTime_ParseTime
, METH_VARARGS
| METH_KEYWORDS
},
25082 { (char *)"DateTime_Format", (PyCFunction
) _wrap_DateTime_Format
, METH_VARARGS
| METH_KEYWORDS
},
25083 { (char *)"DateTime_FormatDate", (PyCFunction
) _wrap_DateTime_FormatDate
, METH_VARARGS
| METH_KEYWORDS
},
25084 { (char *)"DateTime_FormatTime", (PyCFunction
) _wrap_DateTime_FormatTime
, METH_VARARGS
| METH_KEYWORDS
},
25085 { (char *)"DateTime_FormatISODate", (PyCFunction
) _wrap_DateTime_FormatISODate
, METH_VARARGS
| METH_KEYWORDS
},
25086 { (char *)"DateTime_FormatISOTime", (PyCFunction
) _wrap_DateTime_FormatISOTime
, METH_VARARGS
| METH_KEYWORDS
},
25087 { (char *)"DateTime_swigregister", DateTime_swigregister
, METH_VARARGS
},
25088 { (char *)"TimeSpan_Seconds", (PyCFunction
) _wrap_TimeSpan_Seconds
, METH_VARARGS
| METH_KEYWORDS
},
25089 { (char *)"TimeSpan_Second", (PyCFunction
) _wrap_TimeSpan_Second
, METH_VARARGS
| METH_KEYWORDS
},
25090 { (char *)"TimeSpan_Minutes", (PyCFunction
) _wrap_TimeSpan_Minutes
, METH_VARARGS
| METH_KEYWORDS
},
25091 { (char *)"TimeSpan_Minute", (PyCFunction
) _wrap_TimeSpan_Minute
, METH_VARARGS
| METH_KEYWORDS
},
25092 { (char *)"TimeSpan_Hours", (PyCFunction
) _wrap_TimeSpan_Hours
, METH_VARARGS
| METH_KEYWORDS
},
25093 { (char *)"TimeSpan_Hour", (PyCFunction
) _wrap_TimeSpan_Hour
, METH_VARARGS
| METH_KEYWORDS
},
25094 { (char *)"TimeSpan_Days", (PyCFunction
) _wrap_TimeSpan_Days
, METH_VARARGS
| METH_KEYWORDS
},
25095 { (char *)"TimeSpan_Day", (PyCFunction
) _wrap_TimeSpan_Day
, METH_VARARGS
| METH_KEYWORDS
},
25096 { (char *)"TimeSpan_Weeks", (PyCFunction
) _wrap_TimeSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
},
25097 { (char *)"TimeSpan_Week", (PyCFunction
) _wrap_TimeSpan_Week
, METH_VARARGS
| METH_KEYWORDS
},
25098 { (char *)"new_TimeSpan", (PyCFunction
) _wrap_new_TimeSpan
, METH_VARARGS
| METH_KEYWORDS
},
25099 { (char *)"delete_TimeSpan", (PyCFunction
) _wrap_delete_TimeSpan
, METH_VARARGS
| METH_KEYWORDS
},
25100 { (char *)"TimeSpan_Add", (PyCFunction
) _wrap_TimeSpan_Add
, METH_VARARGS
| METH_KEYWORDS
},
25101 { (char *)"TimeSpan_Subtract", (PyCFunction
) _wrap_TimeSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
25102 { (char *)"TimeSpan_Multiply", (PyCFunction
) _wrap_TimeSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
},
25103 { (char *)"TimeSpan_Neg", (PyCFunction
) _wrap_TimeSpan_Neg
, METH_VARARGS
| METH_KEYWORDS
},
25104 { (char *)"TimeSpan_Abs", (PyCFunction
) _wrap_TimeSpan_Abs
, METH_VARARGS
| METH_KEYWORDS
},
25105 { (char *)"TimeSpan___iadd__", (PyCFunction
) _wrap_TimeSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
25106 { (char *)"TimeSpan___isub__", (PyCFunction
) _wrap_TimeSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
},
25107 { (char *)"TimeSpan___imul__", (PyCFunction
) _wrap_TimeSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
},
25108 { (char *)"TimeSpan___neg__", (PyCFunction
) _wrap_TimeSpan___neg__
, METH_VARARGS
| METH_KEYWORDS
},
25109 { (char *)"TimeSpan___add__", (PyCFunction
) _wrap_TimeSpan___add__
, METH_VARARGS
| METH_KEYWORDS
},
25110 { (char *)"TimeSpan___sub__", (PyCFunction
) _wrap_TimeSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
},
25111 { (char *)"TimeSpan___mul__", (PyCFunction
) _wrap_TimeSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
},
25112 { (char *)"TimeSpan___rmul__", (PyCFunction
) _wrap_TimeSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
},
25113 { (char *)"TimeSpan___lt__", (PyCFunction
) _wrap_TimeSpan___lt__
, METH_VARARGS
| METH_KEYWORDS
},
25114 { (char *)"TimeSpan___le__", (PyCFunction
) _wrap_TimeSpan___le__
, METH_VARARGS
| METH_KEYWORDS
},
25115 { (char *)"TimeSpan___gt__", (PyCFunction
) _wrap_TimeSpan___gt__
, METH_VARARGS
| METH_KEYWORDS
},
25116 { (char *)"TimeSpan___ge__", (PyCFunction
) _wrap_TimeSpan___ge__
, METH_VARARGS
| METH_KEYWORDS
},
25117 { (char *)"TimeSpan___eq__", (PyCFunction
) _wrap_TimeSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
},
25118 { (char *)"TimeSpan___ne__", (PyCFunction
) _wrap_TimeSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
},
25119 { (char *)"TimeSpan_IsNull", (PyCFunction
) _wrap_TimeSpan_IsNull
, METH_VARARGS
| METH_KEYWORDS
},
25120 { (char *)"TimeSpan_IsPositive", (PyCFunction
) _wrap_TimeSpan_IsPositive
, METH_VARARGS
| METH_KEYWORDS
},
25121 { (char *)"TimeSpan_IsNegative", (PyCFunction
) _wrap_TimeSpan_IsNegative
, METH_VARARGS
| METH_KEYWORDS
},
25122 { (char *)"TimeSpan_IsEqualTo", (PyCFunction
) _wrap_TimeSpan_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
},
25123 { (char *)"TimeSpan_IsLongerThan", (PyCFunction
) _wrap_TimeSpan_IsLongerThan
, METH_VARARGS
| METH_KEYWORDS
},
25124 { (char *)"TimeSpan_IsShorterThan", (PyCFunction
) _wrap_TimeSpan_IsShorterThan
, METH_VARARGS
| METH_KEYWORDS
},
25125 { (char *)"TimeSpan_GetWeeks", (PyCFunction
) _wrap_TimeSpan_GetWeeks
, METH_VARARGS
| METH_KEYWORDS
},
25126 { (char *)"TimeSpan_GetDays", (PyCFunction
) _wrap_TimeSpan_GetDays
, METH_VARARGS
| METH_KEYWORDS
},
25127 { (char *)"TimeSpan_GetHours", (PyCFunction
) _wrap_TimeSpan_GetHours
, METH_VARARGS
| METH_KEYWORDS
},
25128 { (char *)"TimeSpan_GetMinutes", (PyCFunction
) _wrap_TimeSpan_GetMinutes
, METH_VARARGS
| METH_KEYWORDS
},
25129 { (char *)"TimeSpan_GetSeconds", (PyCFunction
) _wrap_TimeSpan_GetSeconds
, METH_VARARGS
| METH_KEYWORDS
},
25130 { (char *)"TimeSpan_GetMilliseconds", (PyCFunction
) _wrap_TimeSpan_GetMilliseconds
, METH_VARARGS
| METH_KEYWORDS
},
25131 { (char *)"TimeSpan_Format", (PyCFunction
) _wrap_TimeSpan_Format
, METH_VARARGS
| METH_KEYWORDS
},
25132 { (char *)"TimeSpan_swigregister", TimeSpan_swigregister
, METH_VARARGS
},
25133 { (char *)"new_DateSpan", (PyCFunction
) _wrap_new_DateSpan
, METH_VARARGS
| METH_KEYWORDS
},
25134 { (char *)"delete_DateSpan", (PyCFunction
) _wrap_delete_DateSpan
, METH_VARARGS
| METH_KEYWORDS
},
25135 { (char *)"DateSpan_Days", (PyCFunction
) _wrap_DateSpan_Days
, METH_VARARGS
| METH_KEYWORDS
},
25136 { (char *)"DateSpan_Day", (PyCFunction
) _wrap_DateSpan_Day
, METH_VARARGS
| METH_KEYWORDS
},
25137 { (char *)"DateSpan_Weeks", (PyCFunction
) _wrap_DateSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
},
25138 { (char *)"DateSpan_Week", (PyCFunction
) _wrap_DateSpan_Week
, METH_VARARGS
| METH_KEYWORDS
},
25139 { (char *)"DateSpan_Months", (PyCFunction
) _wrap_DateSpan_Months
, METH_VARARGS
| METH_KEYWORDS
},
25140 { (char *)"DateSpan_Month", (PyCFunction
) _wrap_DateSpan_Month
, METH_VARARGS
| METH_KEYWORDS
},
25141 { (char *)"DateSpan_Years", (PyCFunction
) _wrap_DateSpan_Years
, METH_VARARGS
| METH_KEYWORDS
},
25142 { (char *)"DateSpan_Year", (PyCFunction
) _wrap_DateSpan_Year
, METH_VARARGS
| METH_KEYWORDS
},
25143 { (char *)"DateSpan_SetYears", (PyCFunction
) _wrap_DateSpan_SetYears
, METH_VARARGS
| METH_KEYWORDS
},
25144 { (char *)"DateSpan_SetMonths", (PyCFunction
) _wrap_DateSpan_SetMonths
, METH_VARARGS
| METH_KEYWORDS
},
25145 { (char *)"DateSpan_SetWeeks", (PyCFunction
) _wrap_DateSpan_SetWeeks
, METH_VARARGS
| METH_KEYWORDS
},
25146 { (char *)"DateSpan_SetDays", (PyCFunction
) _wrap_DateSpan_SetDays
, METH_VARARGS
| METH_KEYWORDS
},
25147 { (char *)"DateSpan_GetYears", (PyCFunction
) _wrap_DateSpan_GetYears
, METH_VARARGS
| METH_KEYWORDS
},
25148 { (char *)"DateSpan_GetMonths", (PyCFunction
) _wrap_DateSpan_GetMonths
, METH_VARARGS
| METH_KEYWORDS
},
25149 { (char *)"DateSpan_GetWeeks", (PyCFunction
) _wrap_DateSpan_GetWeeks
, METH_VARARGS
| METH_KEYWORDS
},
25150 { (char *)"DateSpan_GetDays", (PyCFunction
) _wrap_DateSpan_GetDays
, METH_VARARGS
| METH_KEYWORDS
},
25151 { (char *)"DateSpan_GetTotalDays", (PyCFunction
) _wrap_DateSpan_GetTotalDays
, METH_VARARGS
| METH_KEYWORDS
},
25152 { (char *)"DateSpan_Add", (PyCFunction
) _wrap_DateSpan_Add
, METH_VARARGS
| METH_KEYWORDS
},
25153 { (char *)"DateSpan_Subtract", (PyCFunction
) _wrap_DateSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
25154 { (char *)"DateSpan_Neg", (PyCFunction
) _wrap_DateSpan_Neg
, METH_VARARGS
| METH_KEYWORDS
},
25155 { (char *)"DateSpan_Multiply", (PyCFunction
) _wrap_DateSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
},
25156 { (char *)"DateSpan___iadd__", (PyCFunction
) _wrap_DateSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
25157 { (char *)"DateSpan___isub__", (PyCFunction
) _wrap_DateSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
},
25158 { (char *)"DateSpan___neg__", (PyCFunction
) _wrap_DateSpan___neg__
, METH_VARARGS
| METH_KEYWORDS
},
25159 { (char *)"DateSpan___imul__", (PyCFunction
) _wrap_DateSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
},
25160 { (char *)"DateSpan___add__", (PyCFunction
) _wrap_DateSpan___add__
, METH_VARARGS
| METH_KEYWORDS
},
25161 { (char *)"DateSpan___sub__", (PyCFunction
) _wrap_DateSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
},
25162 { (char *)"DateSpan___mul__", (PyCFunction
) _wrap_DateSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
},
25163 { (char *)"DateSpan___rmul__", (PyCFunction
) _wrap_DateSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
},
25164 { (char *)"DateSpan___eq__", (PyCFunction
) _wrap_DateSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
},
25165 { (char *)"DateSpan___ne__", (PyCFunction
) _wrap_DateSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
},
25166 { (char *)"DateSpan_swigregister", DateSpan_swigregister
, METH_VARARGS
},
25167 { (char *)"GetLocalTime", (PyCFunction
) _wrap_GetLocalTime
, METH_VARARGS
| METH_KEYWORDS
},
25168 { (char *)"GetUTCTime", (PyCFunction
) _wrap_GetUTCTime
, METH_VARARGS
| METH_KEYWORDS
},
25169 { (char *)"GetCurrentTime", (PyCFunction
) _wrap_GetCurrentTime
, METH_VARARGS
| METH_KEYWORDS
},
25170 { (char *)"GetLocalTimeMillis", (PyCFunction
) _wrap_GetLocalTimeMillis
, METH_VARARGS
| METH_KEYWORDS
},
25171 { (char *)"new_DataFormat", (PyCFunction
) _wrap_new_DataFormat
, METH_VARARGS
| METH_KEYWORDS
},
25172 { (char *)"new_CustomDataFormat", (PyCFunction
) _wrap_new_CustomDataFormat
, METH_VARARGS
| METH_KEYWORDS
},
25173 { (char *)"delete_DataFormat", (PyCFunction
) _wrap_delete_DataFormat
, METH_VARARGS
| METH_KEYWORDS
},
25174 { (char *)"DataFormat___eq__", _wrap_DataFormat___eq__
, METH_VARARGS
},
25175 { (char *)"DataFormat___ne__", _wrap_DataFormat___ne__
, METH_VARARGS
},
25176 { (char *)"DataFormat_SetType", (PyCFunction
) _wrap_DataFormat_SetType
, METH_VARARGS
| METH_KEYWORDS
},
25177 { (char *)"DataFormat_GetType", (PyCFunction
) _wrap_DataFormat_GetType
, METH_VARARGS
| METH_KEYWORDS
},
25178 { (char *)"DataFormat_GetId", (PyCFunction
) _wrap_DataFormat_GetId
, METH_VARARGS
| METH_KEYWORDS
},
25179 { (char *)"DataFormat_SetId", (PyCFunction
) _wrap_DataFormat_SetId
, METH_VARARGS
| METH_KEYWORDS
},
25180 { (char *)"DataFormat_swigregister", DataFormat_swigregister
, METH_VARARGS
},
25181 { (char *)"delete_DataObject", (PyCFunction
) _wrap_delete_DataObject
, METH_VARARGS
| METH_KEYWORDS
},
25182 { (char *)"DataObject_GetPreferredFormat", (PyCFunction
) _wrap_DataObject_GetPreferredFormat
, METH_VARARGS
| METH_KEYWORDS
},
25183 { (char *)"DataObject_GetFormatCount", (PyCFunction
) _wrap_DataObject_GetFormatCount
, METH_VARARGS
| METH_KEYWORDS
},
25184 { (char *)"DataObject_IsSupported", (PyCFunction
) _wrap_DataObject_IsSupported
, METH_VARARGS
| METH_KEYWORDS
},
25185 { (char *)"DataObject_GetDataSize", (PyCFunction
) _wrap_DataObject_GetDataSize
, METH_VARARGS
| METH_KEYWORDS
},
25186 { (char *)"DataObject_GetAllFormats", (PyCFunction
) _wrap_DataObject_GetAllFormats
, METH_VARARGS
| METH_KEYWORDS
},
25187 { (char *)"DataObject_GetDataHere", (PyCFunction
) _wrap_DataObject_GetDataHere
, METH_VARARGS
| METH_KEYWORDS
},
25188 { (char *)"DataObject_SetData", (PyCFunction
) _wrap_DataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
},
25189 { (char *)"DataObject_swigregister", DataObject_swigregister
, METH_VARARGS
},
25190 { (char *)"new_DataObjectSimple", (PyCFunction
) _wrap_new_DataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
},
25191 { (char *)"DataObjectSimple_GetFormat", (PyCFunction
) _wrap_DataObjectSimple_GetFormat
, METH_VARARGS
| METH_KEYWORDS
},
25192 { (char *)"DataObjectSimple_SetFormat", (PyCFunction
) _wrap_DataObjectSimple_SetFormat
, METH_VARARGS
| METH_KEYWORDS
},
25193 { (char *)"DataObjectSimple_swigregister", DataObjectSimple_swigregister
, METH_VARARGS
},
25194 { (char *)"new_PyDataObjectSimple", (PyCFunction
) _wrap_new_PyDataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
},
25195 { (char *)"PyDataObjectSimple__setCallbackInfo", (PyCFunction
) _wrap_PyDataObjectSimple__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
25196 { (char *)"PyDataObjectSimple_swigregister", PyDataObjectSimple_swigregister
, METH_VARARGS
},
25197 { (char *)"new_DataObjectComposite", (PyCFunction
) _wrap_new_DataObjectComposite
, METH_VARARGS
| METH_KEYWORDS
},
25198 { (char *)"DataObjectComposite_Add", (PyCFunction
) _wrap_DataObjectComposite_Add
, METH_VARARGS
| METH_KEYWORDS
},
25199 { (char *)"DataObjectComposite_swigregister", DataObjectComposite_swigregister
, METH_VARARGS
},
25200 { (char *)"new_TextDataObject", (PyCFunction
) _wrap_new_TextDataObject
, METH_VARARGS
| METH_KEYWORDS
},
25201 { (char *)"TextDataObject_GetTextLength", (PyCFunction
) _wrap_TextDataObject_GetTextLength
, METH_VARARGS
| METH_KEYWORDS
},
25202 { (char *)"TextDataObject_GetText", (PyCFunction
) _wrap_TextDataObject_GetText
, METH_VARARGS
| METH_KEYWORDS
},
25203 { (char *)"TextDataObject_SetText", (PyCFunction
) _wrap_TextDataObject_SetText
, METH_VARARGS
| METH_KEYWORDS
},
25204 { (char *)"TextDataObject_swigregister", TextDataObject_swigregister
, METH_VARARGS
},
25205 { (char *)"new_PyTextDataObject", (PyCFunction
) _wrap_new_PyTextDataObject
, METH_VARARGS
| METH_KEYWORDS
},
25206 { (char *)"PyTextDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyTextDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
25207 { (char *)"PyTextDataObject_swigregister", PyTextDataObject_swigregister
, METH_VARARGS
},
25208 { (char *)"new_BitmapDataObject", (PyCFunction
) _wrap_new_BitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
},
25209 { (char *)"BitmapDataObject_GetBitmap", (PyCFunction
) _wrap_BitmapDataObject_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
25210 { (char *)"BitmapDataObject_SetBitmap", (PyCFunction
) _wrap_BitmapDataObject_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
25211 { (char *)"BitmapDataObject_swigregister", BitmapDataObject_swigregister
, METH_VARARGS
},
25212 { (char *)"new_PyBitmapDataObject", (PyCFunction
) _wrap_new_PyBitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
},
25213 { (char *)"PyBitmapDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyBitmapDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
25214 { (char *)"PyBitmapDataObject_swigregister", PyBitmapDataObject_swigregister
, METH_VARARGS
},
25215 { (char *)"new_FileDataObject", (PyCFunction
) _wrap_new_FileDataObject
, METH_VARARGS
| METH_KEYWORDS
},
25216 { (char *)"FileDataObject_GetFilenames", (PyCFunction
) _wrap_FileDataObject_GetFilenames
, METH_VARARGS
| METH_KEYWORDS
},
25217 { (char *)"FileDataObject_swigregister", FileDataObject_swigregister
, METH_VARARGS
},
25218 { (char *)"new_CustomDataObject", (PyCFunction
) _wrap_new_CustomDataObject
, METH_VARARGS
| METH_KEYWORDS
},
25219 { (char *)"CustomDataObject_TakeData", (PyCFunction
) _wrap_CustomDataObject_TakeData
, METH_VARARGS
| METH_KEYWORDS
},
25220 { (char *)"CustomDataObject_SetData", (PyCFunction
) _wrap_CustomDataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
},
25221 { (char *)"CustomDataObject_GetSize", (PyCFunction
) _wrap_CustomDataObject_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
25222 { (char *)"CustomDataObject_GetData", (PyCFunction
) _wrap_CustomDataObject_GetData
, METH_VARARGS
| METH_KEYWORDS
},
25223 { (char *)"CustomDataObject_swigregister", CustomDataObject_swigregister
, METH_VARARGS
},
25224 { (char *)"new_URLDataObject", (PyCFunction
) _wrap_new_URLDataObject
, METH_VARARGS
| METH_KEYWORDS
},
25225 { (char *)"URLDataObject_GetURL", (PyCFunction
) _wrap_URLDataObject_GetURL
, METH_VARARGS
| METH_KEYWORDS
},
25226 { (char *)"URLDataObject_SetURL", (PyCFunction
) _wrap_URLDataObject_SetURL
, METH_VARARGS
| METH_KEYWORDS
},
25227 { (char *)"URLDataObject_swigregister", URLDataObject_swigregister
, METH_VARARGS
},
25228 { (char *)"new_MetafileDataObject", (PyCFunction
) _wrap_new_MetafileDataObject
, METH_VARARGS
| METH_KEYWORDS
},
25229 { (char *)"MetafileDataObject_swigregister", MetafileDataObject_swigregister
, METH_VARARGS
},
25230 { (char *)"IsDragResultOk", (PyCFunction
) _wrap_IsDragResultOk
, METH_VARARGS
| METH_KEYWORDS
},
25231 { (char *)"new_DropSource", (PyCFunction
) _wrap_new_DropSource
, METH_VARARGS
| METH_KEYWORDS
},
25232 { (char *)"DropSource__setCallbackInfo", (PyCFunction
) _wrap_DropSource__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
25233 { (char *)"delete_DropSource", (PyCFunction
) _wrap_delete_DropSource
, METH_VARARGS
| METH_KEYWORDS
},
25234 { (char *)"DropSource_SetData", (PyCFunction
) _wrap_DropSource_SetData
, METH_VARARGS
| METH_KEYWORDS
},
25235 { (char *)"DropSource_GetDataObject", (PyCFunction
) _wrap_DropSource_GetDataObject
, METH_VARARGS
| METH_KEYWORDS
},
25236 { (char *)"DropSource_SetCursor", (PyCFunction
) _wrap_DropSource_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
25237 { (char *)"DropSource_DoDragDrop", (PyCFunction
) _wrap_DropSource_DoDragDrop
, METH_VARARGS
| METH_KEYWORDS
},
25238 { (char *)"DropSource_base_GiveFeedback", (PyCFunction
) _wrap_DropSource_base_GiveFeedback
, METH_VARARGS
| METH_KEYWORDS
},
25239 { (char *)"DropSource_swigregister", DropSource_swigregister
, METH_VARARGS
},
25240 { (char *)"new_PyDropTarget", (PyCFunction
) _wrap_new_PyDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
25241 { (char *)"DropTarget__setCallbackInfo", (PyCFunction
) _wrap_DropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
25242 { (char *)"delete_DropTarget", (PyCFunction
) _wrap_delete_DropTarget
, METH_VARARGS
| METH_KEYWORDS
},
25243 { (char *)"DropTarget_GetDataObject", (PyCFunction
) _wrap_DropTarget_GetDataObject
, METH_VARARGS
| METH_KEYWORDS
},
25244 { (char *)"DropTarget_SetDataObject", (PyCFunction
) _wrap_DropTarget_SetDataObject
, METH_VARARGS
| METH_KEYWORDS
},
25245 { (char *)"DropTarget_base_OnEnter", (PyCFunction
) _wrap_DropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
},
25246 { (char *)"DropTarget_base_OnDragOver", (PyCFunction
) _wrap_DropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
},
25247 { (char *)"DropTarget_base_OnLeave", (PyCFunction
) _wrap_DropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
},
25248 { (char *)"DropTarget_base_OnDrop", (PyCFunction
) _wrap_DropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
},
25249 { (char *)"DropTarget_GetData", (PyCFunction
) _wrap_DropTarget_GetData
, METH_VARARGS
| METH_KEYWORDS
},
25250 { (char *)"DropTarget_swigregister", DropTarget_swigregister
, METH_VARARGS
},
25251 { (char *)"new_TextDropTarget", (PyCFunction
) _wrap_new_TextDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
25252 { (char *)"TextDropTarget__setCallbackInfo", (PyCFunction
) _wrap_TextDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
25253 { (char *)"TextDropTarget_base_OnEnter", (PyCFunction
) _wrap_TextDropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
},
25254 { (char *)"TextDropTarget_base_OnDragOver", (PyCFunction
) _wrap_TextDropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
},
25255 { (char *)"TextDropTarget_base_OnLeave", (PyCFunction
) _wrap_TextDropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
},
25256 { (char *)"TextDropTarget_base_OnDrop", (PyCFunction
) _wrap_TextDropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
},
25257 { (char *)"TextDropTarget_base_OnData", (PyCFunction
) _wrap_TextDropTarget_base_OnData
, METH_VARARGS
| METH_KEYWORDS
},
25258 { (char *)"TextDropTarget_swigregister", TextDropTarget_swigregister
, METH_VARARGS
},
25259 { (char *)"new_FileDropTarget", (PyCFunction
) _wrap_new_FileDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
25260 { (char *)"FileDropTarget__setCallbackInfo", (PyCFunction
) _wrap_FileDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
25261 { (char *)"FileDropTarget_base_OnEnter", (PyCFunction
) _wrap_FileDropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
},
25262 { (char *)"FileDropTarget_base_OnDragOver", (PyCFunction
) _wrap_FileDropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
},
25263 { (char *)"FileDropTarget_base_OnLeave", (PyCFunction
) _wrap_FileDropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
},
25264 { (char *)"FileDropTarget_base_OnDrop", (PyCFunction
) _wrap_FileDropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
},
25265 { (char *)"FileDropTarget_base_OnData", (PyCFunction
) _wrap_FileDropTarget_base_OnData
, METH_VARARGS
| METH_KEYWORDS
},
25266 { (char *)"FileDropTarget_swigregister", FileDropTarget_swigregister
, METH_VARARGS
},
25267 { (char *)"new_Clipboard", (PyCFunction
) _wrap_new_Clipboard
, METH_VARARGS
| METH_KEYWORDS
},
25268 { (char *)"delete_Clipboard", (PyCFunction
) _wrap_delete_Clipboard
, METH_VARARGS
| METH_KEYWORDS
},
25269 { (char *)"Clipboard_Open", (PyCFunction
) _wrap_Clipboard_Open
, METH_VARARGS
| METH_KEYWORDS
},
25270 { (char *)"Clipboard_Close", (PyCFunction
) _wrap_Clipboard_Close
, METH_VARARGS
| METH_KEYWORDS
},
25271 { (char *)"Clipboard_IsOpened", (PyCFunction
) _wrap_Clipboard_IsOpened
, METH_VARARGS
| METH_KEYWORDS
},
25272 { (char *)"Clipboard_AddData", (PyCFunction
) _wrap_Clipboard_AddData
, METH_VARARGS
| METH_KEYWORDS
},
25273 { (char *)"Clipboard_SetData", (PyCFunction
) _wrap_Clipboard_SetData
, METH_VARARGS
| METH_KEYWORDS
},
25274 { (char *)"Clipboard_IsSupported", (PyCFunction
) _wrap_Clipboard_IsSupported
, METH_VARARGS
| METH_KEYWORDS
},
25275 { (char *)"Clipboard_GetData", (PyCFunction
) _wrap_Clipboard_GetData
, METH_VARARGS
| METH_KEYWORDS
},
25276 { (char *)"Clipboard_Clear", (PyCFunction
) _wrap_Clipboard_Clear
, METH_VARARGS
| METH_KEYWORDS
},
25277 { (char *)"Clipboard_Flush", (PyCFunction
) _wrap_Clipboard_Flush
, METH_VARARGS
| METH_KEYWORDS
},
25278 { (char *)"Clipboard_UsePrimarySelection", (PyCFunction
) _wrap_Clipboard_UsePrimarySelection
, METH_VARARGS
| METH_KEYWORDS
},
25279 { (char *)"Clipboard_swigregister", Clipboard_swigregister
, METH_VARARGS
},
25280 { (char *)"new_ClipboardLocker", (PyCFunction
) _wrap_new_ClipboardLocker
, METH_VARARGS
| METH_KEYWORDS
},
25281 { (char *)"delete_ClipboardLocker", (PyCFunction
) _wrap_delete_ClipboardLocker
, METH_VARARGS
| METH_KEYWORDS
},
25282 { (char *)"ClipboardLocker___nonzero__", (PyCFunction
) _wrap_ClipboardLocker___nonzero__
, METH_VARARGS
| METH_KEYWORDS
},
25283 { (char *)"ClipboardLocker_swigregister", ClipboardLocker_swigregister
, METH_VARARGS
},
25288 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
25290 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
25291 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
25293 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
25294 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
25296 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
25297 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
25299 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
25300 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
25302 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
25303 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
25305 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
25306 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
25308 static void *_p_wxTimerEventTo_p_wxEvent(void *x
) {
25309 return (void *)((wxEvent
*) ((wxTimerEvent
*) x
));
25311 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
25312 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
25314 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
25315 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
25317 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
25318 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
25320 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
25321 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
25323 static void *_p_wxJoystickEventTo_p_wxEvent(void *x
) {
25324 return (void *)((wxEvent
*) ((wxJoystickEvent
*) x
));
25326 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
25327 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
25329 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
25330 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
25332 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
25333 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
25335 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
25336 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
25338 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
25339 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
25341 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
25342 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
25344 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
25345 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
25347 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
25348 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
25350 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
25351 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
25353 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
25354 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
25356 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
25357 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
25359 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
25360 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
25362 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
25363 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
25365 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
25366 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
25368 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
25369 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
25371 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
25372 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
25374 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
25375 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
25377 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
25378 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
25380 static void *_p_wxProcessEventTo_p_wxEvent(void *x
) {
25381 return (void *)((wxEvent
*) ((wxProcessEvent
*) x
));
25383 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
25384 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
25386 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
25387 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
25389 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
25390 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
25392 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
25393 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
25395 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
25396 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
25398 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
25399 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
25401 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
25402 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
25404 static void *_p_wxFileConfigTo_p_wxConfigBase(void *x
) {
25405 return (void *)((wxConfigBase
*) ((wxFileConfig
*) x
));
25407 static void *_p_wxConfigTo_p_wxConfigBase(void *x
) {
25408 return (void *)((wxConfigBase
*) ((wxConfig
*) x
));
25410 static void *_p_wxPyBitmapDataObjectTo_p_wxBitmapDataObject(void *x
) {
25411 return (void *)((wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
25413 static void *_p_wxPyTextDataObjectTo_p_wxTextDataObject(void *x
) {
25414 return (void *)((wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
25416 static void *_p_wxDataObjectSimpleTo_p_wxDataObject(void *x
) {
25417 return (void *)((wxDataObject
*) ((wxDataObjectSimple
*) x
));
25419 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObject(void *x
) {
25420 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
25422 static void *_p_wxDataObjectCompositeTo_p_wxDataObject(void *x
) {
25423 return (void *)((wxDataObject
*) ((wxDataObjectComposite
*) x
));
25425 static void *_p_wxTextDataObjectTo_p_wxDataObject(void *x
) {
25426 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
25428 static void *_p_wxPyTextDataObjectTo_p_wxDataObject(void *x
) {
25429 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
25431 static void *_p_wxBitmapDataObjectTo_p_wxDataObject(void *x
) {
25432 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
25434 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObject(void *x
) {
25435 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
25437 static void *_p_wxFileDataObjectTo_p_wxDataObject(void *x
) {
25438 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
25440 static void *_p_wxCustomDataObjectTo_p_wxDataObject(void *x
) {
25441 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
25443 static void *_p_wxURLDataObjectTo_p_wxDataObject(void *x
) {
25444 return (void *)((wxDataObject
*) (wxDataObjectComposite
*) ((wxURLDataObject
*) x
));
25446 static void *_p_wxMetafileDataObjectTo_p_wxDataObject(void *x
) {
25447 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
25449 static void *_p_wxURLDataObjectTo_p_wxDataObjectComposite(void *x
) {
25450 return (void *)((wxDataObjectComposite
*) ((wxURLDataObject
*) x
));
25452 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObjectSimple(void *x
) {
25453 return (void *)((wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
25455 static void *_p_wxTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
25456 return (void *)((wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
25458 static void *_p_wxPyTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
25459 return (void *)((wxDataObjectSimple
*) (wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
25461 static void *_p_wxBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
25462 return (void *)((wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
25464 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
25465 return (void *)((wxDataObjectSimple
*) (wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
25467 static void *_p_wxFileDataObjectTo_p_wxDataObjectSimple(void *x
) {
25468 return (void *)((wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
25470 static void *_p_wxCustomDataObjectTo_p_wxDataObjectSimple(void *x
) {
25471 return (void *)((wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
25473 static void *_p_wxMetafileDataObjectTo_p_wxDataObjectSimple(void *x
) {
25474 return (void *)((wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
25476 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
25477 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
25479 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
25480 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
25482 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
25483 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
25485 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
25486 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
25488 static void *_p_wxPyTimerTo_p_wxEvtHandler(void *x
) {
25489 return (void *)((wxEvtHandler
*) ((wxPyTimer
*) x
));
25491 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
25492 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
25494 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
25495 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
25497 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
25498 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
25500 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
25501 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
25503 static void *_p_wxPyProcessTo_p_wxEvtHandler(void *x
) {
25504 return (void *)((wxEvtHandler
*) ((wxPyProcess
*) x
));
25506 static void *_p_wxPyTipProviderTo_p_wxTipProvider(void *x
) {
25507 return (void *)((wxTipProvider
*) ((wxPyTipProvider
*) x
));
25509 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
25510 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
25512 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
25513 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
25515 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
25516 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
25518 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
25519 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
25521 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
25522 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
25524 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
25525 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
25527 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
25528 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
25530 static void *_p_wxSizerTo_p_wxObject(void *x
) {
25531 return (void *)((wxObject
*) ((wxSizer
*) x
));
25533 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
25534 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
25536 static void *_p_wxFileHistoryTo_p_wxObject(void *x
) {
25537 return (void *)((wxObject
*) ((wxFileHistory
*) x
));
25539 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
25540 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
25542 static void *_p_wxEventTo_p_wxObject(void *x
) {
25543 return (void *)((wxObject
*) ((wxEvent
*) x
));
25545 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
25546 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
25548 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
25549 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
25551 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
25552 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
25554 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
25555 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
25557 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
25558 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
25560 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
25561 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
25563 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
25564 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
25566 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
25567 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
25569 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
25570 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
25572 static void *_p_wxControlTo_p_wxObject(void *x
) {
25573 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
25575 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
25576 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
25578 static void *_p_wxTimerEventTo_p_wxObject(void *x
) {
25579 return (void *)((wxObject
*) (wxEvent
*) ((wxTimerEvent
*) x
));
25581 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
25582 return (void *)((wxObject
*) ((wxFSFile
*) x
));
25584 static void *_p_wxClipboardTo_p_wxObject(void *x
) {
25585 return (void *)((wxObject
*) ((wxClipboard
*) x
));
25587 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
25588 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
25590 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
25591 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
25593 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
25594 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
25596 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
25597 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
25599 static void *_p_wxToolTipTo_p_wxObject(void *x
) {
25600 return (void *)((wxObject
*) ((wxToolTip
*) x
));
25602 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
25603 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
25605 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
25606 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
25608 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
25609 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
25611 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
25612 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
25614 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
25615 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
25617 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
25618 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
25620 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
25621 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
25623 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
25624 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
25626 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
25627 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
25629 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
25630 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
25632 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
25633 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
25635 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
25636 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
25638 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
25639 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
25641 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
25642 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
25644 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
25645 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
25647 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
25648 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
25650 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
25651 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
25653 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
25654 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
25656 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
25657 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
25659 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
25660 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
25662 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
25663 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
25665 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
25666 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
25668 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
25669 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
25671 static void *_p_wxImageTo_p_wxObject(void *x
) {
25672 return (void *)((wxObject
*) ((wxImage
*) x
));
25674 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
25675 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
25677 static void *_p_wxSystemOptionsTo_p_wxObject(void *x
) {
25678 return (void *)((wxObject
*) ((wxSystemOptions
*) x
));
25680 static void *_p_wxJoystickEventTo_p_wxObject(void *x
) {
25681 return (void *)((wxObject
*) (wxEvent
*) ((wxJoystickEvent
*) x
));
25683 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
25684 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
25686 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
25687 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
25689 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
25690 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
25692 static void *_p_wxWindowTo_p_wxObject(void *x
) {
25693 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
25695 static void *_p_wxMenuTo_p_wxObject(void *x
) {
25696 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
25698 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
25699 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
25701 static void *_p_wxPyProcessTo_p_wxObject(void *x
) {
25702 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyProcess
*) x
));
25704 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
25705 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
25707 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
25708 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
25710 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
25711 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
25713 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
25714 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
25716 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
25717 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
25719 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
25720 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
25722 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
25723 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
25725 static void *_p_wxBusyInfoTo_p_wxObject(void *x
) {
25726 return (void *)((wxObject
*) ((wxBusyInfo
*) x
));
25728 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
25729 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
25731 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
25732 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
25734 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
25735 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
25737 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
25738 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
25740 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
25741 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
25743 static void *_p_wxProcessEventTo_p_wxObject(void *x
) {
25744 return (void *)((wxObject
*) (wxEvent
*) ((wxProcessEvent
*) x
));
25746 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
25747 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
25749 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
25750 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
25752 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
25753 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
25755 static void *_p_wxPyTimerTo_p_wxObject(void *x
) {
25756 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTimer
*) x
));
25758 static void *_p_wxLogStderrTo_p_wxLog(void *x
) {
25759 return (void *)((wxLog
*) ((wxLogStderr
*) x
));
25761 static void *_p_wxLogTextCtrlTo_p_wxLog(void *x
) {
25762 return (void *)((wxLog
*) ((wxLogTextCtrl
*) x
));
25764 static void *_p_wxLogWindowTo_p_wxLog(void *x
) {
25765 return (void *)((wxLog
*) ((wxLogWindow
*) x
));
25767 static void *_p_wxLogChainTo_p_wxLog(void *x
) {
25768 return (void *)((wxLog
*) ((wxLogChain
*) x
));
25770 static void *_p_wxLogGuiTo_p_wxLog(void *x
) {
25771 return (void *)((wxLog
*) ((wxLogGui
*) x
));
25773 static void *_p_wxPyLogTo_p_wxLog(void *x
) {
25774 return (void *)((wxLog
*) ((wxPyLog
*) x
));
25776 static void *_p_wxControlTo_p_wxWindow(void *x
) {
25777 return (void *)((wxWindow
*) ((wxControl
*) x
));
25779 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
25780 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
25782 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
25783 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
25785 static void *_p_wxPyTextDropTargetTo_p_wxPyDropTarget(void *x
) {
25786 return (void *)((wxPyDropTarget
*) ((wxPyTextDropTarget
*) x
));
25788 static void *_p_wxPyFileDropTargetTo_p_wxPyDropTarget(void *x
) {
25789 return (void *)((wxPyDropTarget
*) ((wxPyFileDropTarget
*) x
));
25791 static swig_type_info _swigt__p_wxLogChain
[] = {{"_p_wxLogChain", 0, "wxLogChain *", 0},{"_p_wxLogChain"},{0}};
25792 static swig_type_info _swigt__p_wxMutexGuiLocker
[] = {{"_p_wxMutexGuiLocker", 0, "wxMutexGuiLocker *", 0},{"_p_wxMutexGuiLocker"},{0}};
25793 static swig_type_info _swigt__p_wxFileHistory
[] = {{"_p_wxFileHistory", 0, "wxFileHistory *", 0},{"_p_wxFileHistory"},{0}};
25794 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}};
25795 static swig_type_info _swigt__p_wxDateTime__TimeZone
[] = {{"_p_wxDateTime__TimeZone", 0, "wxDateTime::TimeZone *", 0},{"_p_wxDateTime__TimeZone"},{0}};
25796 static swig_type_info _swigt__p_wxMenu
[] = {{"_p_wxMenu", 0, "wxMenu *", 0},{"_p_wxMenu"},{0}};
25797 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}};
25798 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}};
25799 static swig_type_info _swigt__p_wxWave
[] = {{"_p_wxWave", 0, "wxWave *", 0},{"_p_wxWave"},{0}};
25800 static swig_type_info _swigt__p_wxFileType
[] = {{"_p_wxFileType", 0, "wxFileType *", 0},{"_p_wxFileType"},{0}};
25801 static swig_type_info _swigt__p_wxLogGui
[] = {{"_p_wxLogGui", 0, "wxLogGui *", 0},{"_p_wxLogGui"},{0}};
25802 static swig_type_info _swigt__p_wxFont
[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}};
25803 static swig_type_info _swigt__p_wxDataFormat
[] = {{"_p_wxDataFormat", 0, "wxDataFormat *", 0},{"_p_wxDataFormat"},{0}};
25804 static swig_type_info _swigt__p_wxTimerEvent
[] = {{"_p_wxTimerEvent", 0, "wxTimerEvent *", 0},{"_p_wxTimerEvent"},{0}};
25805 static swig_type_info _swigt__p_wxCaret
[] = {{"_p_wxCaret", 0, "wxCaret *", 0},{"_p_wxCaret"},{0}};
25806 static swig_type_info _swigt__p_int
[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
25807 static swig_type_info _swigt__p_wxSize
[] = {{"_p_wxSize", 0, "wxSize *", 0},{"_p_wxSize"},{0}};
25808 static swig_type_info _swigt__p_wxClipboard
[] = {{"_p_wxClipboard", 0, "wxClipboard *", 0},{"_p_wxClipboard"},{0}};
25809 static swig_type_info _swigt__p_wxStopWatch
[] = {{"_p_wxStopWatch", 0, "wxStopWatch *", 0},{"_p_wxStopWatch"},{0}};
25810 static swig_type_info _swigt__p_wxDC
[] = {{"_p_wxDC", 0, "wxDC *", 0},{"_p_wxDC"},{0}};
25811 static swig_type_info _swigt__p_wxClipboardLocker
[] = {{"_p_wxClipboardLocker", 0, "wxClipboardLocker *", 0},{"_p_wxClipboardLocker"},{0}};
25812 static swig_type_info _swigt__p_wxIcon
[] = {{"_p_wxIcon", 0, "wxIcon *", 0},{"_p_wxIcon"},{0}};
25813 static swig_type_info _swigt__p_wxLogStderr
[] = {{"_p_wxLogStderr", 0, "wxLogStderr *", 0},{"_p_wxLogStderr"},{0}};
25814 static swig_type_info _swigt__p_wxLogTextCtrl
[] = {{"_p_wxLogTextCtrl", 0, "wxLogTextCtrl *", 0},{"_p_wxLogTextCtrl"},{0}};
25815 static swig_type_info _swigt__p_wxTextCtrl
[] = {{"_p_wxTextCtrl", 0, "wxTextCtrl *", 0},{"_p_wxTextCtrl"},{0}};
25816 static swig_type_info _swigt__p_wxBusyCursor
[] = {{"_p_wxBusyCursor", 0, "wxBusyCursor *", 0},{"_p_wxBusyCursor"},{0}};
25817 static swig_type_info _swigt__p_wxFileDataObject
[] = {{"_p_wxFileDataObject", 0, "wxFileDataObject *", 0},{"_p_wxFileDataObject"},{0}};
25818 static swig_type_info _swigt__p_wxPyBitmapDataObject
[] = {{"_p_wxPyBitmapDataObject", 0, "wxPyBitmapDataObject *", 0},{"_p_wxPyBitmapDataObject"},{0}};
25819 static swig_type_info _swigt__p_wxPyTextDataObject
[] = {{"_p_wxPyTextDataObject", 0, "wxPyTextDataObject *", 0},{"_p_wxPyTextDataObject"},{0}};
25820 static swig_type_info _swigt__p_wxBitmapDataObject
[] = {{"_p_wxBitmapDataObject", 0, "wxBitmapDataObject *", 0},{"_p_wxBitmapDataObject"},{"_p_wxPyBitmapDataObject", _p_wxPyBitmapDataObjectTo_p_wxBitmapDataObject
},{0}};
25821 static swig_type_info _swigt__p_wxTextDataObject
[] = {{"_p_wxTextDataObject", 0, "wxTextDataObject *", 0},{"_p_wxTextDataObject"},{"_p_wxPyTextDataObject", _p_wxPyTextDataObjectTo_p_wxTextDataObject
},{0}};
25822 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}};
25823 static swig_type_info _swigt__p_wxCustomDataObject
[] = {{"_p_wxCustomDataObject", 0, "wxCustomDataObject *", 0},{"_p_wxCustomDataObject"},{0}};
25824 static swig_type_info _swigt__p_wxURLDataObject
[] = {{"_p_wxURLDataObject", 0, "wxURLDataObject *", 0},{"_p_wxURLDataObject"},{0}};
25825 static swig_type_info _swigt__p_wxMetafileDataObject
[] = {{"_p_wxMetafileDataObject", 0, "wxMetafileDataObject *", 0},{"_p_wxMetafileDataObject"},{0}};
25826 static swig_type_info _swigt__p_wxTimerRunner
[] = {{"_p_wxTimerRunner", 0, "wxTimerRunner *", 0},{"_p_wxTimerRunner"},{0}};
25827 static swig_type_info _swigt__p_wxLogWindow
[] = {{"_p_wxLogWindow", 0, "wxLogWindow *", 0},{"_p_wxLogWindow"},{0}};
25828 static swig_type_info _swigt__p_wxTimeSpan
[] = {{"_p_wxTimeSpan", 0, "wxTimeSpan *", 0},{"_p_wxTimeSpan"},{0}};
25829 static swig_type_info _swigt__p_wxArrayString
[] = {{"_p_wxArrayString", 0, "wxArrayString *", 0},{"_p_wxArrayString"},{0}};
25830 static swig_type_info _swigt__p_wxWindowDisabler
[] = {{"_p_wxWindowDisabler", 0, "wxWindowDisabler *", 0},{"_p_wxWindowDisabler"},{0}};
25831 static swig_type_info _swigt__p_wxToolTip
[] = {{"_p_wxToolTip", 0, "wxToolTip *", 0},{"_p_wxToolTip"},{0}};
25832 static swig_type_info _swigt__p_wxDataObjectComposite
[] = {{"_p_wxDataObjectComposite", 0, "wxDataObjectComposite *", 0},{"_p_wxDataObjectComposite"},{"_p_wxURLDataObject", _p_wxURLDataObjectTo_p_wxDataObjectComposite
},{0}};
25833 static swig_type_info _swigt__p_wxFileConfig
[] = {{"_p_wxFileConfig", 0, "wxFileConfig *", 0},{"_p_wxFileConfig"},{0}};
25834 static swig_type_info _swigt__p_wxSystemSettings
[] = {{"_p_wxSystemSettings", 0, "wxSystemSettings *", 0},{"_p_wxSystemSettings"},{0}};
25835 static swig_type_info _swigt__p_wxPyDataObjectSimple
[] = {{"_p_wxPyDataObjectSimple", 0, "wxPyDataObjectSimple *", 0},{"_p_wxPyDataObjectSimple"},{0}};
25836 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}};
25837 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}};
25838 static swig_type_info _swigt__p_wxRect
[] = {{"_p_wxRect", 0, "wxRect *", 0},{"_p_wxRect"},{0}};
25839 static swig_type_info _swigt__p_wxSingleInstanceChecker
[] = {{"_p_wxSingleInstanceChecker", 0, "wxSingleInstanceChecker *", 0},{"_p_wxSingleInstanceChecker"},{0}};
25840 static swig_type_info _swigt__p_wxFileTypeInfo
[] = {{"_p_wxFileTypeInfo", 0, "wxFileTypeInfo *", 0},{"_p_wxFileTypeInfo"},{0}};
25841 static swig_type_info _swigt__p_wxFrame
[] = {{"_p_wxFrame", 0, "wxFrame *", 0},{"_p_wxFrame"},{0}};
25842 static swig_type_info _swigt__p_wxTimer
[] = {{"_p_wxTimer", 0, "wxTimer *", 0},{"_p_wxTimer"},{0}};
25843 static swig_type_info _swigt__p_wxMimeTypesManager
[] = {{"_p_wxMimeTypesManager", 0, "wxMimeTypesManager *", 0},{"_p_wxMimeTypesManager"},{0}};
25844 static swig_type_info _swigt__p_wxPyArtProvider
[] = {{"_p_wxPyArtProvider", 0, "wxPyArtProvider *", 0},{"_p_wxPyArtProvider"},{0}};
25845 static swig_type_info _swigt__p_wxPyTipProvider
[] = {{"_p_wxPyTipProvider", 0, "wxPyTipProvider *", 0},{"_p_wxPyTipProvider"},{0}};
25846 static swig_type_info _swigt__p_wxTipProvider
[] = {{"_p_wxTipProvider", 0, "wxTipProvider *", 0},{"_p_wxTipProvider"},{"_p_wxPyTipProvider", _p_wxPyTipProviderTo_p_wxTipProvider
},{0}};
25847 static swig_type_info _swigt__p_wxJoystick
[] = {{"_p_wxJoystick", 0, "wxJoystick *", 0},{"_p_wxJoystick"},{0}};
25848 static swig_type_info _swigt__p_wxSystemOptions
[] = {{"_p_wxSystemOptions", 0, "wxSystemOptions *", 0},{"_p_wxSystemOptions"},{0}};
25849 static swig_type_info _swigt__p_wxPoint
[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}};
25850 static swig_type_info _swigt__p_wxJoystickEvent
[] = {{"_p_wxJoystickEvent", 0, "wxJoystickEvent *", 0},{"_p_wxJoystickEvent"},{0}};
25851 static swig_type_info _swigt__p_wxCursor
[] = {{"_p_wxCursor", 0, "wxCursor *", 0},{"_p_wxCursor"},{0}};
25852 static swig_type_info _swigt__p_wxObject
[] = {{"_p_wxObject", 0, "wxObject *", 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject
},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject
},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject
},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject
},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject
},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject
},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject
},{"_p_wxSizer", _p_wxSizerTo_p_wxObject
},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject
},{"_p_wxFileHistory", _p_wxFileHistoryTo_p_wxObject
},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject
},{"_p_wxMenu", _p_wxMenuTo_p_wxObject
},{"_p_wxEvent", _p_wxEventTo_p_wxObject
},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject
},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject
},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject
},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject
},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject
},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject
},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject
},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject
},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject
},{"_p_wxControl", _p_wxControlTo_p_wxObject
},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject
},{"_p_wxTimerEvent", _p_wxTimerEventTo_p_wxObject
},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject
},{"_p_wxClipboard", _p_wxClipboardTo_p_wxObject
},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject
},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject
},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject
},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject
},{"_p_wxToolTip", _p_wxToolTipTo_p_wxObject
},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject
},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject
},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject
},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject
},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject
},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject
},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject
},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject
},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject
},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject
},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject
},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject
},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject
},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject
},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject
},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject
},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject
},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject
},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject
},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject
},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject
},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject
},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject
},{"_p_wxImage", _p_wxImageTo_p_wxObject
},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject
},{"_p_wxSystemOptions", _p_wxSystemOptionsTo_p_wxObject
},{"_p_wxJoystickEvent", _p_wxJoystickEventTo_p_wxObject
},{"_p_wxObject"},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject
},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject
},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject
},{"_p_wxWindow", _p_wxWindowTo_p_wxObject
},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject
},{"_p_wxPyProcess", _p_wxPyProcessTo_p_wxObject
},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject
},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject
},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject
},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject
},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject
},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject
},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject
},{"_p_wxBusyInfo", _p_wxBusyInfoTo_p_wxObject
},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject
},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject
},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject
},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject
},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject
},{"_p_wxProcessEvent", _p_wxProcessEventTo_p_wxObject
},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject
},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject
},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject
},{"_p_wxPyTimer", _p_wxPyTimerTo_p_wxObject
},{0}};
25853 static swig_type_info _swigt__p_wxOutputStream
[] = {{"_p_wxOutputStream", 0, "wxOutputStream *", 0},{"_p_wxOutputStream"},{0}};
25854 static swig_type_info _swigt__p_wxDateTime
[] = {{"_p_wxDateTime", 0, "wxDateTime *", 0},{"_p_wxDateTime"},{0}};
25855 static swig_type_info _swigt__p_wxPyDropSource
[] = {{"_p_wxPyDropSource", 0, "wxPyDropSource *", 0},{"_p_wxPyDropSource"},{0}};
25856 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}};
25857 static swig_type_info _swigt__p_wxString
[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}};
25858 static swig_type_info _swigt__p_wxPyProcess
[] = {{"_p_wxPyProcess", 0, "wxPyProcess *", 0},{"_p_wxPyProcess"},{0}};
25859 static swig_type_info _swigt__p_wxBitmap
[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0},{"_p_wxBitmap"},{0}};
25860 static swig_type_info _swigt__p_wxConfig
[] = {{"_p_wxConfig", 0, "wxConfig *", 0},{"_p_wxConfig"},{0}};
25861 static swig_type_info _swigt__p_wxChar
[] = {{"_p_wxChar", 0, "wxChar *", 0},{"_p_wxChar"},{0}};
25862 static swig_type_info _swigt__p_wxBusyInfo
[] = {{"_p_wxBusyInfo", 0, "wxBusyInfo *", 0},{"_p_wxBusyInfo"},{0}};
25863 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}};
25864 static swig_type_info _swigt__p_wxPyTextDropTarget
[] = {{"_p_wxPyTextDropTarget", 0, "wxPyTextDropTarget *", 0},{"_p_wxPyTextDropTarget"},{0}};
25865 static swig_type_info _swigt__p_wxPyFileDropTarget
[] = {{"_p_wxPyFileDropTarget", 0, "wxPyFileDropTarget *", 0},{"_p_wxPyFileDropTarget"},{0}};
25866 static swig_type_info _swigt__p_wxProcessEvent
[] = {{"_p_wxProcessEvent", 0, "wxProcessEvent *", 0},{"_p_wxProcessEvent"},{0}};
25867 static swig_type_info _swigt__p_wxPyLog
[] = {{"_p_wxPyLog", 0, "wxPyLog *", 0},{"_p_wxPyLog"},{0}};
25868 static swig_type_info _swigt__p_wxLogNull
[] = {{"_p_wxLogNull", 0, "wxLogNull *", 0},{"_p_wxLogNull"},{0}};
25869 static swig_type_info _swigt__p_wxColour
[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}};
25870 static swig_type_info _swigt__p_wxConfigPathChanger
[] = {{"_p_wxConfigPathChanger", 0, "wxConfigPathChanger *", 0},{"_p_wxConfigPathChanger"},{0}};
25871 static swig_type_info _swigt__p_wxPyTimer
[] = {{"_p_wxPyTimer", 0, "wxPyTimer *", 0},{"_p_wxPyTimer"},{0}};
25872 static swig_type_info _swigt__p_wxDateSpan
[] = {{"_p_wxDateSpan", 0, "wxDateSpan *", 0},{"_p_wxDateSpan"},{0}};
25874 static swig_type_info
*swig_types_initial
[] = {
25875 _swigt__p_wxLogChain
,
25876 _swigt__p_wxMutexGuiLocker
,
25877 _swigt__p_wxFileHistory
,
25879 _swigt__p_wxDateTime__TimeZone
,
25882 _swigt__p_wxConfigBase
,
25884 _swigt__p_wxFileType
,
25885 _swigt__p_wxLogGui
,
25887 _swigt__p_wxDataFormat
,
25888 _swigt__p_wxTimerEvent
,
25892 _swigt__p_wxClipboard
,
25893 _swigt__p_wxStopWatch
,
25895 _swigt__p_wxClipboardLocker
,
25897 _swigt__p_wxLogStderr
,
25898 _swigt__p_wxLogTextCtrl
,
25899 _swigt__p_wxTextCtrl
,
25900 _swigt__p_wxBusyCursor
,
25901 _swigt__p_wxFileDataObject
,
25902 _swigt__p_wxPyBitmapDataObject
,
25903 _swigt__p_wxPyTextDataObject
,
25904 _swigt__p_wxBitmapDataObject
,
25905 _swigt__p_wxTextDataObject
,
25906 _swigt__p_wxDataObject
,
25907 _swigt__p_wxCustomDataObject
,
25908 _swigt__p_wxURLDataObject
,
25909 _swigt__p_wxMetafileDataObject
,
25910 _swigt__p_wxTimerRunner
,
25911 _swigt__p_wxLogWindow
,
25912 _swigt__p_wxTimeSpan
,
25913 _swigt__p_wxArrayString
,
25914 _swigt__p_wxWindowDisabler
,
25915 _swigt__p_wxToolTip
,
25916 _swigt__p_wxDataObjectComposite
,
25917 _swigt__p_wxFileConfig
,
25918 _swigt__p_wxSystemSettings
,
25919 _swigt__p_wxPyDataObjectSimple
,
25920 _swigt__p_wxDataObjectSimple
,
25921 _swigt__p_wxEvtHandler
,
25923 _swigt__p_wxSingleInstanceChecker
,
25924 _swigt__p_wxFileTypeInfo
,
25927 _swigt__p_wxMimeTypesManager
,
25928 _swigt__p_wxPyArtProvider
,
25929 _swigt__p_wxPyTipProvider
,
25930 _swigt__p_wxTipProvider
,
25931 _swigt__p_wxJoystick
,
25932 _swigt__p_wxSystemOptions
,
25934 _swigt__p_wxJoystickEvent
,
25935 _swigt__p_wxCursor
,
25936 _swigt__p_wxObject
,
25937 _swigt__p_wxOutputStream
,
25938 _swigt__p_wxDateTime
,
25939 _swigt__p_wxPyDropSource
,
25940 _swigt__p_wxWindow
,
25941 _swigt__p_wxString
,
25942 _swigt__p_wxPyProcess
,
25943 _swigt__p_wxBitmap
,
25944 _swigt__p_wxConfig
,
25946 _swigt__p_wxBusyInfo
,
25947 _swigt__p_wxPyDropTarget
,
25948 _swigt__p_wxPyTextDropTarget
,
25949 _swigt__p_wxPyFileDropTarget
,
25950 _swigt__p_wxProcessEvent
,
25952 _swigt__p_wxLogNull
,
25953 _swigt__p_wxColour
,
25954 _swigt__p_wxConfigPathChanger
,
25955 _swigt__p_wxPyTimer
,
25956 _swigt__p_wxDateSpan
,
25961 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
25963 static swig_const_info swig_const_table
[] = {
25964 { SWIG_PY_INT
, (char *)"SYS_OEM_FIXED_FONT", (long) wxSYS_OEM_FIXED_FONT
, 0, 0, 0},
25965 { SWIG_PY_INT
, (char *)"SYS_ANSI_FIXED_FONT", (long) wxSYS_ANSI_FIXED_FONT
, 0, 0, 0},
25966 { SWIG_PY_INT
, (char *)"SYS_ANSI_VAR_FONT", (long) wxSYS_ANSI_VAR_FONT
, 0, 0, 0},
25967 { SWIG_PY_INT
, (char *)"SYS_SYSTEM_FONT", (long) wxSYS_SYSTEM_FONT
, 0, 0, 0},
25968 { SWIG_PY_INT
, (char *)"SYS_DEVICE_DEFAULT_FONT", (long) wxSYS_DEVICE_DEFAULT_FONT
, 0, 0, 0},
25969 { SWIG_PY_INT
, (char *)"SYS_DEFAULT_PALETTE", (long) wxSYS_DEFAULT_PALETTE
, 0, 0, 0},
25970 { SWIG_PY_INT
, (char *)"SYS_SYSTEM_FIXED_FONT", (long) wxSYS_SYSTEM_FIXED_FONT
, 0, 0, 0},
25971 { SWIG_PY_INT
, (char *)"SYS_DEFAULT_GUI_FONT", (long) wxSYS_DEFAULT_GUI_FONT
, 0, 0, 0},
25972 { SWIG_PY_INT
, (char *)"SYS_ICONTITLE_FONT", (long) wxSYS_ICONTITLE_FONT
, 0, 0, 0},
25973 { SWIG_PY_INT
, (char *)"SYS_COLOUR_SCROLLBAR", (long) wxSYS_COLOUR_SCROLLBAR
, 0, 0, 0},
25974 { SWIG_PY_INT
, (char *)"SYS_COLOUR_BACKGROUND", (long) wxSYS_COLOUR_BACKGROUND
, 0, 0, 0},
25975 { SWIG_PY_INT
, (char *)"SYS_COLOUR_DESKTOP", (long) wxSYS_COLOUR_DESKTOP
, 0, 0, 0},
25976 { SWIG_PY_INT
, (char *)"SYS_COLOUR_ACTIVECAPTION", (long) wxSYS_COLOUR_ACTIVECAPTION
, 0, 0, 0},
25977 { SWIG_PY_INT
, (char *)"SYS_COLOUR_INACTIVECAPTION", (long) wxSYS_COLOUR_INACTIVECAPTION
, 0, 0, 0},
25978 { SWIG_PY_INT
, (char *)"SYS_COLOUR_MENU", (long) wxSYS_COLOUR_MENU
, 0, 0, 0},
25979 { SWIG_PY_INT
, (char *)"SYS_COLOUR_WINDOW", (long) wxSYS_COLOUR_WINDOW
, 0, 0, 0},
25980 { SWIG_PY_INT
, (char *)"SYS_COLOUR_WINDOWFRAME", (long) wxSYS_COLOUR_WINDOWFRAME
, 0, 0, 0},
25981 { SWIG_PY_INT
, (char *)"SYS_COLOUR_MENUTEXT", (long) wxSYS_COLOUR_MENUTEXT
, 0, 0, 0},
25982 { SWIG_PY_INT
, (char *)"SYS_COLOUR_WINDOWTEXT", (long) wxSYS_COLOUR_WINDOWTEXT
, 0, 0, 0},
25983 { SWIG_PY_INT
, (char *)"SYS_COLOUR_CAPTIONTEXT", (long) wxSYS_COLOUR_CAPTIONTEXT
, 0, 0, 0},
25984 { SWIG_PY_INT
, (char *)"SYS_COLOUR_ACTIVEBORDER", (long) wxSYS_COLOUR_ACTIVEBORDER
, 0, 0, 0},
25985 { SWIG_PY_INT
, (char *)"SYS_COLOUR_INACTIVEBORDER", (long) wxSYS_COLOUR_INACTIVEBORDER
, 0, 0, 0},
25986 { SWIG_PY_INT
, (char *)"SYS_COLOUR_APPWORKSPACE", (long) wxSYS_COLOUR_APPWORKSPACE
, 0, 0, 0},
25987 { SWIG_PY_INT
, (char *)"SYS_COLOUR_HIGHLIGHT", (long) wxSYS_COLOUR_HIGHLIGHT
, 0, 0, 0},
25988 { SWIG_PY_INT
, (char *)"SYS_COLOUR_HIGHLIGHTTEXT", (long) wxSYS_COLOUR_HIGHLIGHTTEXT
, 0, 0, 0},
25989 { SWIG_PY_INT
, (char *)"SYS_COLOUR_BTNFACE", (long) wxSYS_COLOUR_BTNFACE
, 0, 0, 0},
25990 { SWIG_PY_INT
, (char *)"SYS_COLOUR_3DFACE", (long) wxSYS_COLOUR_3DFACE
, 0, 0, 0},
25991 { SWIG_PY_INT
, (char *)"SYS_COLOUR_BTNSHADOW", (long) wxSYS_COLOUR_BTNSHADOW
, 0, 0, 0},
25992 { SWIG_PY_INT
, (char *)"SYS_COLOUR_3DSHADOW", (long) wxSYS_COLOUR_3DSHADOW
, 0, 0, 0},
25993 { SWIG_PY_INT
, (char *)"SYS_COLOUR_GRAYTEXT", (long) wxSYS_COLOUR_GRAYTEXT
, 0, 0, 0},
25994 { SWIG_PY_INT
, (char *)"SYS_COLOUR_BTNTEXT", (long) wxSYS_COLOUR_BTNTEXT
, 0, 0, 0},
25995 { SWIG_PY_INT
, (char *)"SYS_COLOUR_INACTIVECAPTIONTEXT", (long) wxSYS_COLOUR_INACTIVECAPTIONTEXT
, 0, 0, 0},
25996 { SWIG_PY_INT
, (char *)"SYS_COLOUR_BTNHIGHLIGHT", (long) wxSYS_COLOUR_BTNHIGHLIGHT
, 0, 0, 0},
25997 { SWIG_PY_INT
, (char *)"SYS_COLOUR_BTNHILIGHT", (long) wxSYS_COLOUR_BTNHILIGHT
, 0, 0, 0},
25998 { SWIG_PY_INT
, (char *)"SYS_COLOUR_3DHIGHLIGHT", (long) wxSYS_COLOUR_3DHIGHLIGHT
, 0, 0, 0},
25999 { SWIG_PY_INT
, (char *)"SYS_COLOUR_3DHILIGHT", (long) wxSYS_COLOUR_3DHILIGHT
, 0, 0, 0},
26000 { SWIG_PY_INT
, (char *)"SYS_COLOUR_3DDKSHADOW", (long) wxSYS_COLOUR_3DDKSHADOW
, 0, 0, 0},
26001 { SWIG_PY_INT
, (char *)"SYS_COLOUR_3DLIGHT", (long) wxSYS_COLOUR_3DLIGHT
, 0, 0, 0},
26002 { SWIG_PY_INT
, (char *)"SYS_COLOUR_INFOTEXT", (long) wxSYS_COLOUR_INFOTEXT
, 0, 0, 0},
26003 { SWIG_PY_INT
, (char *)"SYS_COLOUR_INFOBK", (long) wxSYS_COLOUR_INFOBK
, 0, 0, 0},
26004 { SWIG_PY_INT
, (char *)"SYS_COLOUR_LISTBOX", (long) wxSYS_COLOUR_LISTBOX
, 0, 0, 0},
26005 { SWIG_PY_INT
, (char *)"SYS_COLOUR_HOTLIGHT", (long) wxSYS_COLOUR_HOTLIGHT
, 0, 0, 0},
26006 { SWIG_PY_INT
, (char *)"SYS_COLOUR_GRADIENTACTIVECAPTION", (long) wxSYS_COLOUR_GRADIENTACTIVECAPTION
, 0, 0, 0},
26007 { SWIG_PY_INT
, (char *)"SYS_COLOUR_GRADIENTINACTIVECAPTION", (long) wxSYS_COLOUR_GRADIENTINACTIVECAPTION
, 0, 0, 0},
26008 { SWIG_PY_INT
, (char *)"SYS_COLOUR_MENUHILIGHT", (long) wxSYS_COLOUR_MENUHILIGHT
, 0, 0, 0},
26009 { SWIG_PY_INT
, (char *)"SYS_COLOUR_MENUBAR", (long) wxSYS_COLOUR_MENUBAR
, 0, 0, 0},
26010 { SWIG_PY_INT
, (char *)"SYS_COLOUR_MAX", (long) wxSYS_COLOUR_MAX
, 0, 0, 0},
26011 { SWIG_PY_INT
, (char *)"SYS_MOUSE_BUTTONS", (long) wxSYS_MOUSE_BUTTONS
, 0, 0, 0},
26012 { SWIG_PY_INT
, (char *)"SYS_BORDER_X", (long) wxSYS_BORDER_X
, 0, 0, 0},
26013 { SWIG_PY_INT
, (char *)"SYS_BORDER_Y", (long) wxSYS_BORDER_Y
, 0, 0, 0},
26014 { SWIG_PY_INT
, (char *)"SYS_CURSOR_X", (long) wxSYS_CURSOR_X
, 0, 0, 0},
26015 { SWIG_PY_INT
, (char *)"SYS_CURSOR_Y", (long) wxSYS_CURSOR_Y
, 0, 0, 0},
26016 { SWIG_PY_INT
, (char *)"SYS_DCLICK_X", (long) wxSYS_DCLICK_X
, 0, 0, 0},
26017 { SWIG_PY_INT
, (char *)"SYS_DCLICK_Y", (long) wxSYS_DCLICK_Y
, 0, 0, 0},
26018 { SWIG_PY_INT
, (char *)"SYS_DRAG_X", (long) wxSYS_DRAG_X
, 0, 0, 0},
26019 { SWIG_PY_INT
, (char *)"SYS_DRAG_Y", (long) wxSYS_DRAG_Y
, 0, 0, 0},
26020 { SWIG_PY_INT
, (char *)"SYS_EDGE_X", (long) wxSYS_EDGE_X
, 0, 0, 0},
26021 { SWIG_PY_INT
, (char *)"SYS_EDGE_Y", (long) wxSYS_EDGE_Y
, 0, 0, 0},
26022 { SWIG_PY_INT
, (char *)"SYS_HSCROLL_ARROW_X", (long) wxSYS_HSCROLL_ARROW_X
, 0, 0, 0},
26023 { SWIG_PY_INT
, (char *)"SYS_HSCROLL_ARROW_Y", (long) wxSYS_HSCROLL_ARROW_Y
, 0, 0, 0},
26024 { SWIG_PY_INT
, (char *)"SYS_HTHUMB_X", (long) wxSYS_HTHUMB_X
, 0, 0, 0},
26025 { SWIG_PY_INT
, (char *)"SYS_ICON_X", (long) wxSYS_ICON_X
, 0, 0, 0},
26026 { SWIG_PY_INT
, (char *)"SYS_ICON_Y", (long) wxSYS_ICON_Y
, 0, 0, 0},
26027 { SWIG_PY_INT
, (char *)"SYS_ICONSPACING_X", (long) wxSYS_ICONSPACING_X
, 0, 0, 0},
26028 { SWIG_PY_INT
, (char *)"SYS_ICONSPACING_Y", (long) wxSYS_ICONSPACING_Y
, 0, 0, 0},
26029 { SWIG_PY_INT
, (char *)"SYS_WINDOWMIN_X", (long) wxSYS_WINDOWMIN_X
, 0, 0, 0},
26030 { SWIG_PY_INT
, (char *)"SYS_WINDOWMIN_Y", (long) wxSYS_WINDOWMIN_Y
, 0, 0, 0},
26031 { SWIG_PY_INT
, (char *)"SYS_SCREEN_X", (long) wxSYS_SCREEN_X
, 0, 0, 0},
26032 { SWIG_PY_INT
, (char *)"SYS_SCREEN_Y", (long) wxSYS_SCREEN_Y
, 0, 0, 0},
26033 { SWIG_PY_INT
, (char *)"SYS_FRAMESIZE_X", (long) wxSYS_FRAMESIZE_X
, 0, 0, 0},
26034 { SWIG_PY_INT
, (char *)"SYS_FRAMESIZE_Y", (long) wxSYS_FRAMESIZE_Y
, 0, 0, 0},
26035 { SWIG_PY_INT
, (char *)"SYS_SMALLICON_X", (long) wxSYS_SMALLICON_X
, 0, 0, 0},
26036 { SWIG_PY_INT
, (char *)"SYS_SMALLICON_Y", (long) wxSYS_SMALLICON_Y
, 0, 0, 0},
26037 { SWIG_PY_INT
, (char *)"SYS_HSCROLL_Y", (long) wxSYS_HSCROLL_Y
, 0, 0, 0},
26038 { SWIG_PY_INT
, (char *)"SYS_VSCROLL_X", (long) wxSYS_VSCROLL_X
, 0, 0, 0},
26039 { SWIG_PY_INT
, (char *)"SYS_VSCROLL_ARROW_X", (long) wxSYS_VSCROLL_ARROW_X
, 0, 0, 0},
26040 { SWIG_PY_INT
, (char *)"SYS_VSCROLL_ARROW_Y", (long) wxSYS_VSCROLL_ARROW_Y
, 0, 0, 0},
26041 { SWIG_PY_INT
, (char *)"SYS_VTHUMB_Y", (long) wxSYS_VTHUMB_Y
, 0, 0, 0},
26042 { SWIG_PY_INT
, (char *)"SYS_CAPTION_Y", (long) wxSYS_CAPTION_Y
, 0, 0, 0},
26043 { SWIG_PY_INT
, (char *)"SYS_MENU_Y", (long) wxSYS_MENU_Y
, 0, 0, 0},
26044 { SWIG_PY_INT
, (char *)"SYS_NETWORK_PRESENT", (long) wxSYS_NETWORK_PRESENT
, 0, 0, 0},
26045 { SWIG_PY_INT
, (char *)"SYS_PENWINDOWS_PRESENT", (long) wxSYS_PENWINDOWS_PRESENT
, 0, 0, 0},
26046 { SWIG_PY_INT
, (char *)"SYS_SHOW_SOUNDS", (long) wxSYS_SHOW_SOUNDS
, 0, 0, 0},
26047 { SWIG_PY_INT
, (char *)"SYS_SWAP_BUTTONS", (long) wxSYS_SWAP_BUTTONS
, 0, 0, 0},
26048 { SWIG_PY_INT
, (char *)"SYS_CAN_DRAW_FRAME_DECORATIONS", (long) wxSYS_CAN_DRAW_FRAME_DECORATIONS
, 0, 0, 0},
26049 { SWIG_PY_INT
, (char *)"SYS_CAN_ICONIZE_FRAME", (long) wxSYS_CAN_ICONIZE_FRAME
, 0, 0, 0},
26050 { SWIG_PY_INT
, (char *)"SYS_SCREEN_NONE", (long) wxSYS_SCREEN_NONE
, 0, 0, 0},
26051 { SWIG_PY_INT
, (char *)"SYS_SCREEN_TINY", (long) wxSYS_SCREEN_TINY
, 0, 0, 0},
26052 { SWIG_PY_INT
, (char *)"SYS_SCREEN_PDA", (long) wxSYS_SCREEN_PDA
, 0, 0, 0},
26053 { SWIG_PY_INT
, (char *)"SYS_SCREEN_SMALL", (long) wxSYS_SCREEN_SMALL
, 0, 0, 0},
26054 { SWIG_PY_INT
, (char *)"SYS_SCREEN_DESKTOP", (long) wxSYS_SCREEN_DESKTOP
, 0, 0, 0},
26055 { SWIG_PY_INT
, (char *)"SHUTDOWN_POWEROFF", (long) wxSHUTDOWN_POWEROFF
, 0, 0, 0},
26056 { SWIG_PY_INT
, (char *)"SHUTDOWN_REBOOT", (long) wxSHUTDOWN_REBOOT
, 0, 0, 0},
26057 { SWIG_PY_INT
, (char *)"TIMER_CONTINUOUS", (long) wxTIMER_CONTINUOUS
, 0, 0, 0},
26058 { SWIG_PY_INT
, (char *)"TIMER_ONE_SHOT", (long) wxTIMER_ONE_SHOT
, 0, 0, 0},
26059 { SWIG_PY_INT
, (char *)"wxEVT_TIMER", (long) wxEVT_TIMER
, 0, 0, 0},
26060 { SWIG_PY_INT
, (char *)"LOG_FatalError", (long) wxLOG_FatalError
, 0, 0, 0},
26061 { SWIG_PY_INT
, (char *)"LOG_Error", (long) wxLOG_Error
, 0, 0, 0},
26062 { SWIG_PY_INT
, (char *)"LOG_Warning", (long) wxLOG_Warning
, 0, 0, 0},
26063 { SWIG_PY_INT
, (char *)"LOG_Message", (long) wxLOG_Message
, 0, 0, 0},
26064 { SWIG_PY_INT
, (char *)"LOG_Status", (long) wxLOG_Status
, 0, 0, 0},
26065 { SWIG_PY_INT
, (char *)"LOG_Info", (long) wxLOG_Info
, 0, 0, 0},
26066 { SWIG_PY_INT
, (char *)"LOG_Debug", (long) wxLOG_Debug
, 0, 0, 0},
26067 { SWIG_PY_INT
, (char *)"LOG_Trace", (long) wxLOG_Trace
, 0, 0, 0},
26068 { SWIG_PY_INT
, (char *)"LOG_Progress", (long) wxLOG_Progress
, 0, 0, 0},
26069 { SWIG_PY_INT
, (char *)"LOG_User", (long) wxLOG_User
, 0, 0, 0},
26070 { SWIG_PY_INT
, (char *)"LOG_Max", (long) wxLOG_Max
, 0, 0, 0},
26071 { SWIG_PY_STRING
, (char*)"TRACE_MemAlloc", 0, 0, (void *)"memalloc", 0},
26072 { SWIG_PY_STRING
, (char*)"TRACE_Messages", 0, 0, (void *)"messages", 0},
26073 { SWIG_PY_STRING
, (char*)"TRACE_ResAlloc", 0, 0, (void *)"resalloc", 0},
26074 { SWIG_PY_STRING
, (char*)"TRACE_RefCount", 0, 0, (void *)"refcount", 0},
26075 { SWIG_PY_STRING
, (char*)"TRACE_OleCalls", 0, 0, (void *)"ole", 0},
26076 { SWIG_PY_INT
, (char *)"TraceMemAlloc", (long) 0x0001, 0, 0, 0},
26077 { SWIG_PY_INT
, (char *)"TraceMessages", (long) 0x0002, 0, 0, 0},
26078 { SWIG_PY_INT
, (char *)"TraceResAlloc", (long) 0x0004, 0, 0, 0},
26079 { SWIG_PY_INT
, (char *)"TraceRefCount", (long) 0x0008, 0, 0, 0},
26080 { SWIG_PY_INT
, (char *)"TraceOleCalls", (long) 0x0100, 0, 0, 0},
26081 { SWIG_PY_INT
, (char *)"PROCESS_DEFAULT", (long) wxPROCESS_DEFAULT
, 0, 0, 0},
26082 { SWIG_PY_INT
, (char *)"PROCESS_REDIRECT", (long) wxPROCESS_REDIRECT
, 0, 0, 0},
26083 { SWIG_PY_INT
, (char *)"KILL_OK", (long) wxKILL_OK
, 0, 0, 0},
26084 { SWIG_PY_INT
, (char *)"KILL_BAD_SIGNAL", (long) wxKILL_BAD_SIGNAL
, 0, 0, 0},
26085 { SWIG_PY_INT
, (char *)"KILL_ACCESS_DENIED", (long) wxKILL_ACCESS_DENIED
, 0, 0, 0},
26086 { SWIG_PY_INT
, (char *)"KILL_NO_PROCESS", (long) wxKILL_NO_PROCESS
, 0, 0, 0},
26087 { SWIG_PY_INT
, (char *)"KILL_ERROR", (long) wxKILL_ERROR
, 0, 0, 0},
26088 { SWIG_PY_INT
, (char *)"SIGNONE", (long) wxSIGNONE
, 0, 0, 0},
26089 { SWIG_PY_INT
, (char *)"SIGHUP", (long) wxSIGHUP
, 0, 0, 0},
26090 { SWIG_PY_INT
, (char *)"SIGINT", (long) wxSIGINT
, 0, 0, 0},
26091 { SWIG_PY_INT
, (char *)"SIGQUIT", (long) wxSIGQUIT
, 0, 0, 0},
26092 { SWIG_PY_INT
, (char *)"SIGILL", (long) wxSIGILL
, 0, 0, 0},
26093 { SWIG_PY_INT
, (char *)"SIGTRAP", (long) wxSIGTRAP
, 0, 0, 0},
26094 { SWIG_PY_INT
, (char *)"SIGABRT", (long) wxSIGABRT
, 0, 0, 0},
26095 { SWIG_PY_INT
, (char *)"SIGIOT", (long) wxSIGIOT
, 0, 0, 0},
26096 { SWIG_PY_INT
, (char *)"SIGEMT", (long) wxSIGEMT
, 0, 0, 0},
26097 { SWIG_PY_INT
, (char *)"SIGFPE", (long) wxSIGFPE
, 0, 0, 0},
26098 { SWIG_PY_INT
, (char *)"SIGKILL", (long) wxSIGKILL
, 0, 0, 0},
26099 { SWIG_PY_INT
, (char *)"SIGBUS", (long) wxSIGBUS
, 0, 0, 0},
26100 { SWIG_PY_INT
, (char *)"SIGSEGV", (long) wxSIGSEGV
, 0, 0, 0},
26101 { SWIG_PY_INT
, (char *)"SIGSYS", (long) wxSIGSYS
, 0, 0, 0},
26102 { SWIG_PY_INT
, (char *)"SIGPIPE", (long) wxSIGPIPE
, 0, 0, 0},
26103 { SWIG_PY_INT
, (char *)"SIGALRM", (long) wxSIGALRM
, 0, 0, 0},
26104 { SWIG_PY_INT
, (char *)"SIGTERM", (long) wxSIGTERM
, 0, 0, 0},
26105 { SWIG_PY_INT
, (char *)"wxEVT_END_PROCESS", (long) wxEVT_END_PROCESS
, 0, 0, 0},
26106 { SWIG_PY_INT
, (char *)"EXEC_ASYNC", (long) wxEXEC_ASYNC
, 0, 0, 0},
26107 { SWIG_PY_INT
, (char *)"EXEC_SYNC", (long) wxEXEC_SYNC
, 0, 0, 0},
26108 { SWIG_PY_INT
, (char *)"EXEC_NOHIDE", (long) wxEXEC_NOHIDE
, 0, 0, 0},
26109 { SWIG_PY_INT
, (char *)"EXEC_MAKE_GROUP_LEADER", (long) wxEXEC_MAKE_GROUP_LEADER
, 0, 0, 0},
26110 { SWIG_PY_INT
, (char *)"JOYSTICK1", (long) wxJOYSTICK1
, 0, 0, 0},
26111 { SWIG_PY_INT
, (char *)"JOYSTICK2", (long) wxJOYSTICK2
, 0, 0, 0},
26112 { SWIG_PY_INT
, (char *)"JOY_BUTTON_ANY", (long) wxJOY_BUTTON_ANY
, 0, 0, 0},
26113 { SWIG_PY_INT
, (char *)"JOY_BUTTON1", (long) wxJOY_BUTTON1
, 0, 0, 0},
26114 { SWIG_PY_INT
, (char *)"JOY_BUTTON2", (long) wxJOY_BUTTON2
, 0, 0, 0},
26115 { SWIG_PY_INT
, (char *)"JOY_BUTTON3", (long) wxJOY_BUTTON3
, 0, 0, 0},
26116 { SWIG_PY_INT
, (char *)"JOY_BUTTON4", (long) wxJOY_BUTTON4
, 0, 0, 0},
26117 { SWIG_PY_INT
, (char *)"wxEVT_JOY_BUTTON_DOWN", (long) wxEVT_JOY_BUTTON_DOWN
, 0, 0, 0},
26118 { SWIG_PY_INT
, (char *)"wxEVT_JOY_BUTTON_UP", (long) wxEVT_JOY_BUTTON_UP
, 0, 0, 0},
26119 { SWIG_PY_INT
, (char *)"wxEVT_JOY_MOVE", (long) wxEVT_JOY_MOVE
, 0, 0, 0},
26120 { SWIG_PY_INT
, (char *)"wxEVT_JOY_ZMOVE", (long) wxEVT_JOY_ZMOVE
, 0, 0, 0},
26121 { SWIG_PY_INT
, (char *)"MAILCAP_STANDARD", (long) wxMAILCAP_STANDARD
, 0, 0, 0},
26122 { SWIG_PY_INT
, (char *)"MAILCAP_NETSCAPE", (long) wxMAILCAP_NETSCAPE
, 0, 0, 0},
26123 { SWIG_PY_INT
, (char *)"MAILCAP_KDE", (long) wxMAILCAP_KDE
, 0, 0, 0},
26124 { SWIG_PY_INT
, (char *)"MAILCAP_GNOME", (long) wxMAILCAP_GNOME
, 0, 0, 0},
26125 { SWIG_PY_INT
, (char *)"MAILCAP_ALL", (long) wxMAILCAP_ALL
, 0, 0, 0},
26126 { SWIG_PY_INT
, (char *)"CONFIG_USE_LOCAL_FILE", (long) wxCONFIG_USE_LOCAL_FILE
, 0, 0, 0},
26127 { SWIG_PY_INT
, (char *)"CONFIG_USE_GLOBAL_FILE", (long) wxCONFIG_USE_GLOBAL_FILE
, 0, 0, 0},
26128 { SWIG_PY_INT
, (char *)"CONFIG_USE_RELATIVE_PATH", (long) wxCONFIG_USE_RELATIVE_PATH
, 0, 0, 0},
26129 { SWIG_PY_INT
, (char *)"CONFIG_USE_NO_ESCAPE_CHARACTERS", (long) wxCONFIG_USE_NO_ESCAPE_CHARACTERS
, 0, 0, 0},
26130 { SWIG_PY_INT
, (char *)"ConfigBase_Type_Unknown", (long) wxConfigBase::Type_Unknown
, 0, 0, 0},
26131 { SWIG_PY_INT
, (char *)"ConfigBase_Type_String", (long) wxConfigBase::Type_String
, 0, 0, 0},
26132 { SWIG_PY_INT
, (char *)"ConfigBase_Type_Boolean", (long) wxConfigBase::Type_Boolean
, 0, 0, 0},
26133 { SWIG_PY_INT
, (char *)"ConfigBase_Type_Integer", (long) wxConfigBase::Type_Integer
, 0, 0, 0},
26134 { SWIG_PY_INT
, (char *)"ConfigBase_Type_Float", (long) wxConfigBase::Type_Float
, 0, 0, 0},
26135 { SWIG_PY_INT
, (char *)"DateTime_Local", (long) wxDateTime::Local
, 0, 0, 0},
26136 { SWIG_PY_INT
, (char *)"DateTime_GMT_12", (long) wxDateTime::GMT_12
, 0, 0, 0},
26137 { SWIG_PY_INT
, (char *)"DateTime_GMT_11", (long) wxDateTime::GMT_11
, 0, 0, 0},
26138 { SWIG_PY_INT
, (char *)"DateTime_GMT_10", (long) wxDateTime::GMT_10
, 0, 0, 0},
26139 { SWIG_PY_INT
, (char *)"DateTime_GMT_9", (long) wxDateTime::GMT_9
, 0, 0, 0},
26140 { SWIG_PY_INT
, (char *)"DateTime_GMT_8", (long) wxDateTime::GMT_8
, 0, 0, 0},
26141 { SWIG_PY_INT
, (char *)"DateTime_GMT_7", (long) wxDateTime::GMT_7
, 0, 0, 0},
26142 { SWIG_PY_INT
, (char *)"DateTime_GMT_6", (long) wxDateTime::GMT_6
, 0, 0, 0},
26143 { SWIG_PY_INT
, (char *)"DateTime_GMT_5", (long) wxDateTime::GMT_5
, 0, 0, 0},
26144 { SWIG_PY_INT
, (char *)"DateTime_GMT_4", (long) wxDateTime::GMT_4
, 0, 0, 0},
26145 { SWIG_PY_INT
, (char *)"DateTime_GMT_3", (long) wxDateTime::GMT_3
, 0, 0, 0},
26146 { SWIG_PY_INT
, (char *)"DateTime_GMT_2", (long) wxDateTime::GMT_2
, 0, 0, 0},
26147 { SWIG_PY_INT
, (char *)"DateTime_GMT_1", (long) wxDateTime::GMT_1
, 0, 0, 0},
26148 { SWIG_PY_INT
, (char *)"DateTime_GMT0", (long) wxDateTime::GMT0
, 0, 0, 0},
26149 { SWIG_PY_INT
, (char *)"DateTime_GMT1", (long) wxDateTime::GMT1
, 0, 0, 0},
26150 { SWIG_PY_INT
, (char *)"DateTime_GMT2", (long) wxDateTime::GMT2
, 0, 0, 0},
26151 { SWIG_PY_INT
, (char *)"DateTime_GMT3", (long) wxDateTime::GMT3
, 0, 0, 0},
26152 { SWIG_PY_INT
, (char *)"DateTime_GMT4", (long) wxDateTime::GMT4
, 0, 0, 0},
26153 { SWIG_PY_INT
, (char *)"DateTime_GMT5", (long) wxDateTime::GMT5
, 0, 0, 0},
26154 { SWIG_PY_INT
, (char *)"DateTime_GMT6", (long) wxDateTime::GMT6
, 0, 0, 0},
26155 { SWIG_PY_INT
, (char *)"DateTime_GMT7", (long) wxDateTime::GMT7
, 0, 0, 0},
26156 { SWIG_PY_INT
, (char *)"DateTime_GMT8", (long) wxDateTime::GMT8
, 0, 0, 0},
26157 { SWIG_PY_INT
, (char *)"DateTime_GMT9", (long) wxDateTime::GMT9
, 0, 0, 0},
26158 { SWIG_PY_INT
, (char *)"DateTime_GMT10", (long) wxDateTime::GMT10
, 0, 0, 0},
26159 { SWIG_PY_INT
, (char *)"DateTime_GMT11", (long) wxDateTime::GMT11
, 0, 0, 0},
26160 { SWIG_PY_INT
, (char *)"DateTime_GMT12", (long) wxDateTime::GMT12
, 0, 0, 0},
26161 { SWIG_PY_INT
, (char *)"DateTime_WET", (long) wxDateTime::WET
, 0, 0, 0},
26162 { SWIG_PY_INT
, (char *)"DateTime_WEST", (long) wxDateTime::WEST
, 0, 0, 0},
26163 { SWIG_PY_INT
, (char *)"DateTime_CET", (long) wxDateTime::CET
, 0, 0, 0},
26164 { SWIG_PY_INT
, (char *)"DateTime_CEST", (long) wxDateTime::CEST
, 0, 0, 0},
26165 { SWIG_PY_INT
, (char *)"DateTime_EET", (long) wxDateTime::EET
, 0, 0, 0},
26166 { SWIG_PY_INT
, (char *)"DateTime_EEST", (long) wxDateTime::EEST
, 0, 0, 0},
26167 { SWIG_PY_INT
, (char *)"DateTime_MSK", (long) wxDateTime::MSK
, 0, 0, 0},
26168 { SWIG_PY_INT
, (char *)"DateTime_MSD", (long) wxDateTime::MSD
, 0, 0, 0},
26169 { SWIG_PY_INT
, (char *)"DateTime_AST", (long) wxDateTime::AST
, 0, 0, 0},
26170 { SWIG_PY_INT
, (char *)"DateTime_ADT", (long) wxDateTime::ADT
, 0, 0, 0},
26171 { SWIG_PY_INT
, (char *)"DateTime_EST", (long) wxDateTime::EST
, 0, 0, 0},
26172 { SWIG_PY_INT
, (char *)"DateTime_EDT", (long) wxDateTime::EDT
, 0, 0, 0},
26173 { SWIG_PY_INT
, (char *)"DateTime_CST", (long) wxDateTime::CST
, 0, 0, 0},
26174 { SWIG_PY_INT
, (char *)"DateTime_CDT", (long) wxDateTime::CDT
, 0, 0, 0},
26175 { SWIG_PY_INT
, (char *)"DateTime_MST", (long) wxDateTime::MST
, 0, 0, 0},
26176 { SWIG_PY_INT
, (char *)"DateTime_MDT", (long) wxDateTime::MDT
, 0, 0, 0},
26177 { SWIG_PY_INT
, (char *)"DateTime_PST", (long) wxDateTime::PST
, 0, 0, 0},
26178 { SWIG_PY_INT
, (char *)"DateTime_PDT", (long) wxDateTime::PDT
, 0, 0, 0},
26179 { SWIG_PY_INT
, (char *)"DateTime_HST", (long) wxDateTime::HST
, 0, 0, 0},
26180 { SWIG_PY_INT
, (char *)"DateTime_AKST", (long) wxDateTime::AKST
, 0, 0, 0},
26181 { SWIG_PY_INT
, (char *)"DateTime_AKDT", (long) wxDateTime::AKDT
, 0, 0, 0},
26182 { SWIG_PY_INT
, (char *)"DateTime_A_WST", (long) wxDateTime::A_WST
, 0, 0, 0},
26183 { SWIG_PY_INT
, (char *)"DateTime_A_CST", (long) wxDateTime::A_CST
, 0, 0, 0},
26184 { SWIG_PY_INT
, (char *)"DateTime_A_EST", (long) wxDateTime::A_EST
, 0, 0, 0},
26185 { SWIG_PY_INT
, (char *)"DateTime_A_ESST", (long) wxDateTime::A_ESST
, 0, 0, 0},
26186 { SWIG_PY_INT
, (char *)"DateTime_UTC", (long) wxDateTime::UTC
, 0, 0, 0},
26187 { SWIG_PY_INT
, (char *)"DateTime_Gregorian", (long) wxDateTime::Gregorian
, 0, 0, 0},
26188 { SWIG_PY_INT
, (char *)"DateTime_Julian", (long) wxDateTime::Julian
, 0, 0, 0},
26189 { SWIG_PY_INT
, (char *)"DateTime_Gr_Unknown", (long) wxDateTime::Gr_Unknown
, 0, 0, 0},
26190 { SWIG_PY_INT
, (char *)"DateTime_Gr_Standard", (long) wxDateTime::Gr_Standard
, 0, 0, 0},
26191 { SWIG_PY_INT
, (char *)"DateTime_Gr_Alaska", (long) wxDateTime::Gr_Alaska
, 0, 0, 0},
26192 { SWIG_PY_INT
, (char *)"DateTime_Gr_Albania", (long) wxDateTime::Gr_Albania
, 0, 0, 0},
26193 { SWIG_PY_INT
, (char *)"DateTime_Gr_Austria", (long) wxDateTime::Gr_Austria
, 0, 0, 0},
26194 { SWIG_PY_INT
, (char *)"DateTime_Gr_Austria_Brixen", (long) wxDateTime::Gr_Austria_Brixen
, 0, 0, 0},
26195 { SWIG_PY_INT
, (char *)"DateTime_Gr_Austria_Salzburg", (long) wxDateTime::Gr_Austria_Salzburg
, 0, 0, 0},
26196 { SWIG_PY_INT
, (char *)"DateTime_Gr_Austria_Tyrol", (long) wxDateTime::Gr_Austria_Tyrol
, 0, 0, 0},
26197 { SWIG_PY_INT
, (char *)"DateTime_Gr_Austria_Carinthia", (long) wxDateTime::Gr_Austria_Carinthia
, 0, 0, 0},
26198 { SWIG_PY_INT
, (char *)"DateTime_Gr_Austria_Styria", (long) wxDateTime::Gr_Austria_Styria
, 0, 0, 0},
26199 { SWIG_PY_INT
, (char *)"DateTime_Gr_Belgium", (long) wxDateTime::Gr_Belgium
, 0, 0, 0},
26200 { SWIG_PY_INT
, (char *)"DateTime_Gr_Bulgaria", (long) wxDateTime::Gr_Bulgaria
, 0, 0, 0},
26201 { SWIG_PY_INT
, (char *)"DateTime_Gr_Bulgaria_1", (long) wxDateTime::Gr_Bulgaria_1
, 0, 0, 0},
26202 { SWIG_PY_INT
, (char *)"DateTime_Gr_Bulgaria_2", (long) wxDateTime::Gr_Bulgaria_2
, 0, 0, 0},
26203 { SWIG_PY_INT
, (char *)"DateTime_Gr_Bulgaria_3", (long) wxDateTime::Gr_Bulgaria_3
, 0, 0, 0},
26204 { SWIG_PY_INT
, (char *)"DateTime_Gr_Canada", (long) wxDateTime::Gr_Canada
, 0, 0, 0},
26205 { SWIG_PY_INT
, (char *)"DateTime_Gr_China", (long) wxDateTime::Gr_China
, 0, 0, 0},
26206 { SWIG_PY_INT
, (char *)"DateTime_Gr_China_1", (long) wxDateTime::Gr_China_1
, 0, 0, 0},
26207 { SWIG_PY_INT
, (char *)"DateTime_Gr_China_2", (long) wxDateTime::Gr_China_2
, 0, 0, 0},
26208 { SWIG_PY_INT
, (char *)"DateTime_Gr_Czechoslovakia", (long) wxDateTime::Gr_Czechoslovakia
, 0, 0, 0},
26209 { SWIG_PY_INT
, (char *)"DateTime_Gr_Denmark", (long) wxDateTime::Gr_Denmark
, 0, 0, 0},
26210 { SWIG_PY_INT
, (char *)"DateTime_Gr_Egypt", (long) wxDateTime::Gr_Egypt
, 0, 0, 0},
26211 { SWIG_PY_INT
, (char *)"DateTime_Gr_Estonia", (long) wxDateTime::Gr_Estonia
, 0, 0, 0},
26212 { SWIG_PY_INT
, (char *)"DateTime_Gr_Finland", (long) wxDateTime::Gr_Finland
, 0, 0, 0},
26213 { SWIG_PY_INT
, (char *)"DateTime_Gr_France", (long) wxDateTime::Gr_France
, 0, 0, 0},
26214 { SWIG_PY_INT
, (char *)"DateTime_Gr_France_Alsace", (long) wxDateTime::Gr_France_Alsace
, 0, 0, 0},
26215 { SWIG_PY_INT
, (char *)"DateTime_Gr_France_Lorraine", (long) wxDateTime::Gr_France_Lorraine
, 0, 0, 0},
26216 { SWIG_PY_INT
, (char *)"DateTime_Gr_France_Strasbourg", (long) wxDateTime::Gr_France_Strasbourg
, 0, 0, 0},
26217 { SWIG_PY_INT
, (char *)"DateTime_Gr_Germany", (long) wxDateTime::Gr_Germany
, 0, 0, 0},
26218 { SWIG_PY_INT
, (char *)"DateTime_Gr_Germany_Catholic", (long) wxDateTime::Gr_Germany_Catholic
, 0, 0, 0},
26219 { SWIG_PY_INT
, (char *)"DateTime_Gr_Germany_Prussia", (long) wxDateTime::Gr_Germany_Prussia
, 0, 0, 0},
26220 { SWIG_PY_INT
, (char *)"DateTime_Gr_Germany_Protestant", (long) wxDateTime::Gr_Germany_Protestant
, 0, 0, 0},
26221 { SWIG_PY_INT
, (char *)"DateTime_Gr_GreatBritain", (long) wxDateTime::Gr_GreatBritain
, 0, 0, 0},
26222 { SWIG_PY_INT
, (char *)"DateTime_Gr_Greece", (long) wxDateTime::Gr_Greece
, 0, 0, 0},
26223 { SWIG_PY_INT
, (char *)"DateTime_Gr_Hungary", (long) wxDateTime::Gr_Hungary
, 0, 0, 0},
26224 { SWIG_PY_INT
, (char *)"DateTime_Gr_Ireland", (long) wxDateTime::Gr_Ireland
, 0, 0, 0},
26225 { SWIG_PY_INT
, (char *)"DateTime_Gr_Italy", (long) wxDateTime::Gr_Italy
, 0, 0, 0},
26226 { SWIG_PY_INT
, (char *)"DateTime_Gr_Japan", (long) wxDateTime::Gr_Japan
, 0, 0, 0},
26227 { SWIG_PY_INT
, (char *)"DateTime_Gr_Japan_1", (long) wxDateTime::Gr_Japan_1
, 0, 0, 0},
26228 { SWIG_PY_INT
, (char *)"DateTime_Gr_Japan_2", (long) wxDateTime::Gr_Japan_2
, 0, 0, 0},
26229 { SWIG_PY_INT
, (char *)"DateTime_Gr_Japan_3", (long) wxDateTime::Gr_Japan_3
, 0, 0, 0},
26230 { SWIG_PY_INT
, (char *)"DateTime_Gr_Latvia", (long) wxDateTime::Gr_Latvia
, 0, 0, 0},
26231 { SWIG_PY_INT
, (char *)"DateTime_Gr_Lithuania", (long) wxDateTime::Gr_Lithuania
, 0, 0, 0},
26232 { SWIG_PY_INT
, (char *)"DateTime_Gr_Luxemburg", (long) wxDateTime::Gr_Luxemburg
, 0, 0, 0},
26233 { SWIG_PY_INT
, (char *)"DateTime_Gr_Netherlands", (long) wxDateTime::Gr_Netherlands
, 0, 0, 0},
26234 { SWIG_PY_INT
, (char *)"DateTime_Gr_Netherlands_Groningen", (long) wxDateTime::Gr_Netherlands_Groningen
, 0, 0, 0},
26235 { SWIG_PY_INT
, (char *)"DateTime_Gr_Netherlands_Gelderland", (long) wxDateTime::Gr_Netherlands_Gelderland
, 0, 0, 0},
26236 { SWIG_PY_INT
, (char *)"DateTime_Gr_Netherlands_Utrecht", (long) wxDateTime::Gr_Netherlands_Utrecht
, 0, 0, 0},
26237 { SWIG_PY_INT
, (char *)"DateTime_Gr_Netherlands_Friesland", (long) wxDateTime::Gr_Netherlands_Friesland
, 0, 0, 0},
26238 { SWIG_PY_INT
, (char *)"DateTime_Gr_Norway", (long) wxDateTime::Gr_Norway
, 0, 0, 0},
26239 { SWIG_PY_INT
, (char *)"DateTime_Gr_Poland", (long) wxDateTime::Gr_Poland
, 0, 0, 0},
26240 { SWIG_PY_INT
, (char *)"DateTime_Gr_Portugal", (long) wxDateTime::Gr_Portugal
, 0, 0, 0},
26241 { SWIG_PY_INT
, (char *)"DateTime_Gr_Romania", (long) wxDateTime::Gr_Romania
, 0, 0, 0},
26242 { SWIG_PY_INT
, (char *)"DateTime_Gr_Russia", (long) wxDateTime::Gr_Russia
, 0, 0, 0},
26243 { SWIG_PY_INT
, (char *)"DateTime_Gr_Scotland", (long) wxDateTime::Gr_Scotland
, 0, 0, 0},
26244 { SWIG_PY_INT
, (char *)"DateTime_Gr_Spain", (long) wxDateTime::Gr_Spain
, 0, 0, 0},
26245 { SWIG_PY_INT
, (char *)"DateTime_Gr_Sweden", (long) wxDateTime::Gr_Sweden
, 0, 0, 0},
26246 { SWIG_PY_INT
, (char *)"DateTime_Gr_Switzerland", (long) wxDateTime::Gr_Switzerland
, 0, 0, 0},
26247 { SWIG_PY_INT
, (char *)"DateTime_Gr_Switzerland_Catholic", (long) wxDateTime::Gr_Switzerland_Catholic
, 0, 0, 0},
26248 { SWIG_PY_INT
, (char *)"DateTime_Gr_Switzerland_Protestant", (long) wxDateTime::Gr_Switzerland_Protestant
, 0, 0, 0},
26249 { SWIG_PY_INT
, (char *)"DateTime_Gr_Turkey", (long) wxDateTime::Gr_Turkey
, 0, 0, 0},
26250 { SWIG_PY_INT
, (char *)"DateTime_Gr_USA", (long) wxDateTime::Gr_USA
, 0, 0, 0},
26251 { SWIG_PY_INT
, (char *)"DateTime_Gr_Wales", (long) wxDateTime::Gr_Wales
, 0, 0, 0},
26252 { SWIG_PY_INT
, (char *)"DateTime_Gr_Yugoslavia", (long) wxDateTime::Gr_Yugoslavia
, 0, 0, 0},
26253 { SWIG_PY_INT
, (char *)"DateTime_Country_Unknown", (long) wxDateTime::Country_Unknown
, 0, 0, 0},
26254 { SWIG_PY_INT
, (char *)"DateTime_Country_Default", (long) wxDateTime::Country_Default
, 0, 0, 0},
26255 { SWIG_PY_INT
, (char *)"DateTime_Country_WesternEurope_Start", (long) wxDateTime::Country_WesternEurope_Start
, 0, 0, 0},
26256 { SWIG_PY_INT
, (char *)"DateTime_Country_EEC", (long) wxDateTime::Country_EEC
, 0, 0, 0},
26257 { SWIG_PY_INT
, (char *)"DateTime_France", (long) wxDateTime::France
, 0, 0, 0},
26258 { SWIG_PY_INT
, (char *)"DateTime_Germany", (long) wxDateTime::Germany
, 0, 0, 0},
26259 { SWIG_PY_INT
, (char *)"DateTime_UK", (long) wxDateTime::UK
, 0, 0, 0},
26260 { SWIG_PY_INT
, (char *)"DateTime_Country_WesternEurope_End", (long) wxDateTime::Country_WesternEurope_End
, 0, 0, 0},
26261 { SWIG_PY_INT
, (char *)"DateTime_Russia", (long) wxDateTime::Russia
, 0, 0, 0},
26262 { SWIG_PY_INT
, (char *)"DateTime_USA", (long) wxDateTime::USA
, 0, 0, 0},
26263 { SWIG_PY_INT
, (char *)"DateTime_Jan", (long) wxDateTime::Jan
, 0, 0, 0},
26264 { SWIG_PY_INT
, (char *)"DateTime_Feb", (long) wxDateTime::Feb
, 0, 0, 0},
26265 { SWIG_PY_INT
, (char *)"DateTime_Mar", (long) wxDateTime::Mar
, 0, 0, 0},
26266 { SWIG_PY_INT
, (char *)"DateTime_Apr", (long) wxDateTime::Apr
, 0, 0, 0},
26267 { SWIG_PY_INT
, (char *)"DateTime_May", (long) wxDateTime::May
, 0, 0, 0},
26268 { SWIG_PY_INT
, (char *)"DateTime_Jun", (long) wxDateTime::Jun
, 0, 0, 0},
26269 { SWIG_PY_INT
, (char *)"DateTime_Jul", (long) wxDateTime::Jul
, 0, 0, 0},
26270 { SWIG_PY_INT
, (char *)"DateTime_Aug", (long) wxDateTime::Aug
, 0, 0, 0},
26271 { SWIG_PY_INT
, (char *)"DateTime_Sep", (long) wxDateTime::Sep
, 0, 0, 0},
26272 { SWIG_PY_INT
, (char *)"DateTime_Oct", (long) wxDateTime::Oct
, 0, 0, 0},
26273 { SWIG_PY_INT
, (char *)"DateTime_Nov", (long) wxDateTime::Nov
, 0, 0, 0},
26274 { SWIG_PY_INT
, (char *)"DateTime_Dec", (long) wxDateTime::Dec
, 0, 0, 0},
26275 { SWIG_PY_INT
, (char *)"DateTime_Inv_Month", (long) wxDateTime::Inv_Month
, 0, 0, 0},
26276 { SWIG_PY_INT
, (char *)"DateTime_Sun", (long) wxDateTime::Sun
, 0, 0, 0},
26277 { SWIG_PY_INT
, (char *)"DateTime_Mon", (long) wxDateTime::Mon
, 0, 0, 0},
26278 { SWIG_PY_INT
, (char *)"DateTime_Tue", (long) wxDateTime::Tue
, 0, 0, 0},
26279 { SWIG_PY_INT
, (char *)"DateTime_Wed", (long) wxDateTime::Wed
, 0, 0, 0},
26280 { SWIG_PY_INT
, (char *)"DateTime_Thu", (long) wxDateTime::Thu
, 0, 0, 0},
26281 { SWIG_PY_INT
, (char *)"DateTime_Fri", (long) wxDateTime::Fri
, 0, 0, 0},
26282 { SWIG_PY_INT
, (char *)"DateTime_Sat", (long) wxDateTime::Sat
, 0, 0, 0},
26283 { SWIG_PY_INT
, (char *)"DateTime_Inv_WeekDay", (long) wxDateTime::Inv_WeekDay
, 0, 0, 0},
26284 { SWIG_PY_INT
, (char *)"DateTime_Inv_Year", (long) wxDateTime::Inv_Year
, 0, 0, 0},
26285 { SWIG_PY_INT
, (char *)"DateTime_Name_Full", (long) wxDateTime::Name_Full
, 0, 0, 0},
26286 { SWIG_PY_INT
, (char *)"DateTime_Name_Abbr", (long) wxDateTime::Name_Abbr
, 0, 0, 0},
26287 { SWIG_PY_INT
, (char *)"DateTime_Default_First", (long) wxDateTime::Default_First
, 0, 0, 0},
26288 { SWIG_PY_INT
, (char *)"DateTime_Monday_First", (long) wxDateTime::Monday_First
, 0, 0, 0},
26289 { SWIG_PY_INT
, (char *)"DateTime_Sunday_First", (long) wxDateTime::Sunday_First
, 0, 0, 0},
26290 { SWIG_PY_INT
, (char *)"DF_INVALID", (long) wxDF_INVALID
, 0, 0, 0},
26291 { SWIG_PY_INT
, (char *)"DF_TEXT", (long) wxDF_TEXT
, 0, 0, 0},
26292 { SWIG_PY_INT
, (char *)"DF_BITMAP", (long) wxDF_BITMAP
, 0, 0, 0},
26293 { SWIG_PY_INT
, (char *)"DF_METAFILE", (long) wxDF_METAFILE
, 0, 0, 0},
26294 { SWIG_PY_INT
, (char *)"DF_SYLK", (long) wxDF_SYLK
, 0, 0, 0},
26295 { SWIG_PY_INT
, (char *)"DF_DIF", (long) wxDF_DIF
, 0, 0, 0},
26296 { SWIG_PY_INT
, (char *)"DF_TIFF", (long) wxDF_TIFF
, 0, 0, 0},
26297 { SWIG_PY_INT
, (char *)"DF_OEMTEXT", (long) wxDF_OEMTEXT
, 0, 0, 0},
26298 { SWIG_PY_INT
, (char *)"DF_DIB", (long) wxDF_DIB
, 0, 0, 0},
26299 { SWIG_PY_INT
, (char *)"DF_PALETTE", (long) wxDF_PALETTE
, 0, 0, 0},
26300 { SWIG_PY_INT
, (char *)"DF_PENDATA", (long) wxDF_PENDATA
, 0, 0, 0},
26301 { SWIG_PY_INT
, (char *)"DF_RIFF", (long) wxDF_RIFF
, 0, 0, 0},
26302 { SWIG_PY_INT
, (char *)"DF_WAVE", (long) wxDF_WAVE
, 0, 0, 0},
26303 { SWIG_PY_INT
, (char *)"DF_UNICODETEXT", (long) wxDF_UNICODETEXT
, 0, 0, 0},
26304 { SWIG_PY_INT
, (char *)"DF_ENHMETAFILE", (long) wxDF_ENHMETAFILE
, 0, 0, 0},
26305 { SWIG_PY_INT
, (char *)"DF_FILENAME", (long) wxDF_FILENAME
, 0, 0, 0},
26306 { SWIG_PY_INT
, (char *)"DF_LOCALE", (long) wxDF_LOCALE
, 0, 0, 0},
26307 { SWIG_PY_INT
, (char *)"DF_PRIVATE", (long) wxDF_PRIVATE
, 0, 0, 0},
26308 { SWIG_PY_INT
, (char *)"DF_HTML", (long) wxDF_HTML
, 0, 0, 0},
26309 { SWIG_PY_INT
, (char *)"DF_MAX", (long) wxDF_MAX
, 0, 0, 0},
26310 { SWIG_PY_INT
, (char *)"DataObject_Get", (long) wxDataObject::Get
, 0, 0, 0},
26311 { SWIG_PY_INT
, (char *)"DataObject_Set", (long) wxDataObject::Set
, 0, 0, 0},
26312 { SWIG_PY_INT
, (char *)"DataObject_Both", (long) wxDataObject::Both
, 0, 0, 0},
26313 { SWIG_PY_INT
, (char *)"Drag_CopyOnly", (long) wxDrag_CopyOnly
, 0, 0, 0},
26314 { SWIG_PY_INT
, (char *)"Drag_AllowMove", (long) wxDrag_AllowMove
, 0, 0, 0},
26315 { SWIG_PY_INT
, (char *)"Drag_DefaultMove", (long) wxDrag_DefaultMove
, 0, 0, 0},
26316 { SWIG_PY_INT
, (char *)"DragError", (long) wxDragError
, 0, 0, 0},
26317 { SWIG_PY_INT
, (char *)"DragNone", (long) wxDragNone
, 0, 0, 0},
26318 { SWIG_PY_INT
, (char *)"DragCopy", (long) wxDragCopy
, 0, 0, 0},
26319 { SWIG_PY_INT
, (char *)"DragMove", (long) wxDragMove
, 0, 0, 0},
26320 { SWIG_PY_INT
, (char *)"DragLink", (long) wxDragLink
, 0, 0, 0},
26321 { SWIG_PY_INT
, (char *)"DragCancel", (long) wxDragCancel
, 0, 0, 0},
26331 SWIGEXPORT(void) SWIG_init(void) {
26332 static PyObject
*SWIG_globals
= 0;
26333 static int typeinit
= 0;
26336 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
26337 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
26338 d
= PyModule_GetDict(m
);
26341 for (i
= 0; swig_types_initial
[i
]; i
++) {
26342 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
26346 SWIG_InstallConstants(d
,swig_const_table
);
26348 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
26349 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get
, _wrap_FileSelectorPromptStr_set
);
26350 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get
, _wrap_FileSelectorDefaultWildcardStr_set
);
26351 SWIG_addvarlink(SWIG_globals
,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get
, _wrap_DirSelectorPromptStr_set
);
26352 PyDict_SetItemString(d
, "wxEVT_TIMER", PyInt_FromLong(wxEVT_TIMER
));
26353 PyDict_SetItemString(d
, "wxEVT_END_PROCESS", PyInt_FromLong(wxEVT_END_PROCESS
));
26355 wxPyPtrTypeMap_Add("wxProcess", "wxPyProcess");
26357 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_DOWN", PyInt_FromLong(wxEVT_JOY_BUTTON_DOWN
));
26358 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_UP", PyInt_FromLong(wxEVT_JOY_BUTTON_UP
));
26359 PyDict_SetItemString(d
, "wxEVT_JOY_MOVE", PyInt_FromLong(wxEVT_JOY_MOVE
));
26360 PyDict_SetItemString(d
, "wxEVT_JOY_ZMOVE", PyInt_FromLong(wxEVT_JOY_ZMOVE
));
26361 SWIG_addvarlink(SWIG_globals
,(char*)"TheMimeTypesManager",_wrap_TheMimeTypesManager_get
, _wrap_TheMimeTypesManager_set
);
26362 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TOOLBAR",_wrap_ART_TOOLBAR_get
, _wrap_ART_TOOLBAR_set
);
26363 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MENU",_wrap_ART_MENU_get
, _wrap_ART_MENU_set
);
26364 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FRAME_ICON",_wrap_ART_FRAME_ICON_get
, _wrap_ART_FRAME_ICON_set
);
26365 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CMN_DIALOG",_wrap_ART_CMN_DIALOG_get
, _wrap_ART_CMN_DIALOG_set
);
26366 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_BROWSER",_wrap_ART_HELP_BROWSER_get
, _wrap_ART_HELP_BROWSER_set
);
26367 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MESSAGE_BOX",_wrap_ART_MESSAGE_BOX_get
, _wrap_ART_MESSAGE_BOX_set
);
26368 SWIG_addvarlink(SWIG_globals
,(char*)"ART_OTHER",_wrap_ART_OTHER_get
, _wrap_ART_OTHER_set
);
26369 SWIG_addvarlink(SWIG_globals
,(char*)"ART_ADD_BOOKMARK",_wrap_ART_ADD_BOOKMARK_get
, _wrap_ART_ADD_BOOKMARK_set
);
26370 SWIG_addvarlink(SWIG_globals
,(char*)"ART_DEL_BOOKMARK",_wrap_ART_DEL_BOOKMARK_get
, _wrap_ART_DEL_BOOKMARK_set
);
26371 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_SIDE_PANEL",_wrap_ART_HELP_SIDE_PANEL_get
, _wrap_ART_HELP_SIDE_PANEL_set
);
26372 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_SETTINGS",_wrap_ART_HELP_SETTINGS_get
, _wrap_ART_HELP_SETTINGS_set
);
26373 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_BOOK",_wrap_ART_HELP_BOOK_get
, _wrap_ART_HELP_BOOK_set
);
26374 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_FOLDER",_wrap_ART_HELP_FOLDER_get
, _wrap_ART_HELP_FOLDER_set
);
26375 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_PAGE",_wrap_ART_HELP_PAGE_get
, _wrap_ART_HELP_PAGE_set
);
26376 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_BACK",_wrap_ART_GO_BACK_get
, _wrap_ART_GO_BACK_set
);
26377 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_FORWARD",_wrap_ART_GO_FORWARD_get
, _wrap_ART_GO_FORWARD_set
);
26378 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_UP",_wrap_ART_GO_UP_get
, _wrap_ART_GO_UP_set
);
26379 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_DOWN",_wrap_ART_GO_DOWN_get
, _wrap_ART_GO_DOWN_set
);
26380 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_TO_PARENT",_wrap_ART_GO_TO_PARENT_get
, _wrap_ART_GO_TO_PARENT_set
);
26381 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_HOME",_wrap_ART_GO_HOME_get
, _wrap_ART_GO_HOME_set
);
26382 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FILE_OPEN",_wrap_ART_FILE_OPEN_get
, _wrap_ART_FILE_OPEN_set
);
26383 SWIG_addvarlink(SWIG_globals
,(char*)"ART_PRINT",_wrap_ART_PRINT_get
, _wrap_ART_PRINT_set
);
26384 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP",_wrap_ART_HELP_get
, _wrap_ART_HELP_set
);
26385 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TIP",_wrap_ART_TIP_get
, _wrap_ART_TIP_set
);
26386 SWIG_addvarlink(SWIG_globals
,(char*)"ART_REPORT_VIEW",_wrap_ART_REPORT_VIEW_get
, _wrap_ART_REPORT_VIEW_set
);
26387 SWIG_addvarlink(SWIG_globals
,(char*)"ART_LIST_VIEW",_wrap_ART_LIST_VIEW_get
, _wrap_ART_LIST_VIEW_set
);
26388 SWIG_addvarlink(SWIG_globals
,(char*)"ART_NEW_DIR",_wrap_ART_NEW_DIR_get
, _wrap_ART_NEW_DIR_set
);
26389 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FOLDER",_wrap_ART_FOLDER_get
, _wrap_ART_FOLDER_set
);
26390 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_DIR_UP",_wrap_ART_GO_DIR_UP_get
, _wrap_ART_GO_DIR_UP_set
);
26391 SWIG_addvarlink(SWIG_globals
,(char*)"ART_EXECUTABLE_FILE",_wrap_ART_EXECUTABLE_FILE_get
, _wrap_ART_EXECUTABLE_FILE_set
);
26392 SWIG_addvarlink(SWIG_globals
,(char*)"ART_NORMAL_FILE",_wrap_ART_NORMAL_FILE_get
, _wrap_ART_NORMAL_FILE_set
);
26393 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TICK_MARK",_wrap_ART_TICK_MARK_get
, _wrap_ART_TICK_MARK_set
);
26394 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CROSS_MARK",_wrap_ART_CROSS_MARK_get
, _wrap_ART_CROSS_MARK_set
);
26395 SWIG_addvarlink(SWIG_globals
,(char*)"ART_ERROR",_wrap_ART_ERROR_get
, _wrap_ART_ERROR_set
);
26396 SWIG_addvarlink(SWIG_globals
,(char*)"ART_QUESTION",_wrap_ART_QUESTION_get
, _wrap_ART_QUESTION_set
);
26397 SWIG_addvarlink(SWIG_globals
,(char*)"ART_WARNING",_wrap_ART_WARNING_get
, _wrap_ART_WARNING_set
);
26398 SWIG_addvarlink(SWIG_globals
,(char*)"ART_INFORMATION",_wrap_ART_INFORMATION_get
, _wrap_ART_INFORMATION_set
);
26399 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MISSING_IMAGE",_wrap_ART_MISSING_IMAGE_get
, _wrap_ART_MISSING_IMAGE_set
);
26401 wxPyPtrTypeMap_Add("wxArtProvider", "wxPyArtProvider");
26403 SWIG_addvarlink(SWIG_globals
,(char*)"DateFormatStr",_wrap_DateFormatStr_get
, _wrap_DateFormatStr_set
);
26404 SWIG_addvarlink(SWIG_globals
,(char*)"TimeSpanFormatStr",_wrap_TimeSpanFormatStr_get
, _wrap_TimeSpanFormatStr_set
);
26405 SWIG_addvarlink(SWIG_globals
,(char*)"FormatInvalid",_wrap_FormatInvalid_get
, _wrap_FormatInvalid_set
);
26407 wxPyPtrTypeMap_Add("wxDropSource", "wxPyDropSource");
26408 wxPyPtrTypeMap_Add("wxDropTarget", "wxPyDropTarget");
26409 wxPyPtrTypeMap_Add("wxTextDropTarget", "wxPyTextDropTarget");
26410 wxPyPtrTypeMap_Add("wxFileDropTarget", "wxPyFileDropTarget");
26412 SWIG_addvarlink(SWIG_globals
,(char*)"TheClipboard",_wrap_TheClipboard_get
, _wrap_TheClipboard_set
);