2 * FILE : src/gtk/misc2.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
26 /* Definitions for Windows/Unix exporting */
27 #if defined(__WIN32__)
28 # if defined(_MSC_VER)
29 # define SWIGEXPORT(a) __declspec(dllexport) a
31 # if defined(__BORLANDC__)
32 # define SWIGEXPORT(a) a _export
34 # define SWIGEXPORT(a) a
38 # define SWIGEXPORT(a) a
44 extern void SWIG_MakePtr(char *, void *, char *);
45 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
46 extern char *SWIG_GetPtr(char *, void **, char *);
47 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
48 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
49 extern PyObject
*SWIG_newvarlink(void);
53 #define SWIG_init initmisc2c
55 #define SWIG_name "misc2c"
58 #include "pyistream.h"
59 #include <wx/resource.h>
60 #include <wx/tooltip.h>
62 #include <wx/tipdlg.h>
63 #include <wx/process.h>
65 #if wxUSE_JOYSTICK || defined(__WXMSW__)
66 #include <wx/joystick.h>
69 #if wxUSE_WAVE || defined(__WXMSW__)
73 #include <wx/mimetype.h>
74 #include <wx/snglinst.h>
75 #include <wx/effects.h>
76 //#include <wx/spawnbrowser.h>
79 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
85 } else if (target
== Py_None
) {
89 if (!PyTuple_Check(target
)) {
91 target
= PyTuple_New(1);
92 PyTuple_SetItem(target
, 0, o2
);
95 PyTuple_SetItem(o3
, 0, o
);
98 target
= PySequence_Concat(o2
, o3
);
105 // Put some wx default wxChar* values into wxStrings.
106 DECLARE_DEF_STRING(FileSelectorPromptStr
);
107 DECLARE_DEF_STRING(FileSelectorDefaultWildcardStr
);
108 DECLARE_DEF_STRING(DirSelectorPromptStr
);
109 static const wxString
wxPyEmptyString(wxT(""));
111 int wxCaret_GetBlinkTime() {
112 return wxCaret::GetBlinkTime();
115 void wxCaret_SetBlinkTime(int milliseconds
) {
116 wxCaret::SetBlinkTime(milliseconds
);
119 bool wxThread_IsMain() {
120 #ifdef WXP_WITH_THREAD
121 return wxThread::IsMain();
127 class wxPyTipProvider
: public wxTipProvider
{
129 wxPyTipProvider(size_t currentTip
)
130 : wxTipProvider(currentTip
) {}
132 DEC_PYCALLBACK_STRING__pure(GetTip
);
133 DEC_PYCALLBACK_STRING_STRING(PreprocessTip
);
137 IMP_PYCALLBACK_STRING__pure( wxPyTipProvider
, wxTipProvider
, GetTip
);
138 IMP_PYCALLBACK_STRING_STRING(wxPyTipProvider
, wxTipProvider
, PreprocessTip
);
140 #include <wx/generic/dragimgg.h>
142 // A wxLog class that can be derived from in wxPython
143 class wxPyLog
: public wxLog
{
145 wxPyLog() : wxLog() {}
147 virtual void DoLog(wxLogLevel level
, const wxChar
*szString
, time_t t
) {
149 wxPyBeginBlockThreads();
150 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLog"))) {
151 PyObject
* s
= wx2PyString(szString
);
152 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iOi)", level
, s
, t
));
155 wxPyEndBlockThreads();
157 wxLog::DoLog(level
, szString
, t
);
160 virtual void DoLogString(const wxChar
*szString
, time_t t
) {
162 wxPyBeginBlockThreads();
163 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLogString"))) {
164 PyObject
* s
= wx2PyString(szString
);
165 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(Oi)", s
, t
));
168 wxPyEndBlockThreads();
170 wxLog::DoLogString(szString
, t
);
175 // C++ version of wxProcess derived class
177 class wxPyProcess
: public wxProcess
{
179 wxPyProcess(wxEvtHandler
*parent
= NULL
, int id
= -1)
180 : wxProcess(parent
, id
)
183 DEC_PYCALLBACK_VOID_INTINT(OnTerminate
);
188 IMP_PYCALLBACK_VOID_INTINT( wxPyProcess
, wxProcess
, OnTerminate
);
191 #if !wxUSE_JOYSTICK && !defined(__WXMSW__)
192 // A C++ stub class for wxJoystick for platforms that don't have it.
193 class wxJoystick
: public wxObject
{
195 wxJoystick(int joystick
= wxJOYSTICK1
) {
196 wxPyBeginBlockThreads();
197 PyErr_SetString(PyExc_NotImplementedError
, "wxJoystick is not available on this platform.");
198 wxPyEndBlockThreads();
200 wxPoint
GetPosition() { return wxPoint(-1,-1); }
201 int GetZPosition() { return -1; }
202 int GetButtonState() { return -1; }
203 int GetPOVPosition() { return -1; }
204 int GetPOVCTSPosition() { return -1; }
205 int GetRudderPosition() { return -1; }
206 int GetUPosition() { return -1; }
207 int GetVPosition() { return -1; }
208 int GetMovementThreshold() { return -1; }
209 void SetMovementThreshold(int threshold
) {}
211 bool IsOk(void) { return FALSE
; }
212 int GetNumberJoysticks() { return -1; }
213 int GetManufacturerId() { return -1; }
214 int GetProductId() { return -1; }
215 wxString
GetProductName() { return ""; }
216 int GetXMin() { return -1; }
217 int GetYMin() { return -1; }
218 int GetZMin() { return -1; }
219 int GetXMax() { return -1; }
220 int GetYMax() { return -1; }
221 int GetZMax() { return -1; }
222 int GetNumberButtons() { return -1; }
223 int GetNumberAxes() { return -1; }
224 int GetMaxButtons() { return -1; }
225 int GetMaxAxes() { return -1; }
226 int GetPollingMin() { return -1; }
227 int GetPollingMax() { return -1; }
228 int GetRudderMin() { return -1; }
229 int GetRudderMax() { return -1; }
230 int GetUMin() { return -1; }
231 int GetUMax() { return -1; }
232 int GetVMin() { return -1; }
233 int GetVMax() { return -1; }
235 bool HasRudder() { return FALSE
; }
236 bool HasZ() { return FALSE
; }
237 bool HasU() { return FALSE
; }
238 bool HasV() { return FALSE
; }
239 bool HasPOV() { return FALSE
; }
240 bool HasPOV4Dir() { return FALSE
; }
241 bool HasPOVCTS() { return FALSE
; }
243 bool SetCapture(wxWindow
* win
, int pollingFreq
= 0) { return FALSE
; }
244 bool ReleaseCapture() { return FALSE
; }
249 // A C++ stub class for wxWave for platforms that don't have it.
250 class wxWave
: public wxObject
253 wxWave(const wxString
& fileName
, bool isResource
= FALSE
) {
254 wxPyBeginBlockThreads();
255 PyErr_SetString(PyExc_NotImplementedError
, "wxWave is not available on this platform.");
256 wxPyEndBlockThreads();
258 wxWave(int size
, const wxByte
* data
) {
259 wxPyBeginBlockThreads();
260 PyErr_SetString(PyExc_NotImplementedError
, "wxWave is not available on this platform.");
261 wxPyEndBlockThreads();
266 bool IsOk() const { return FALSE
; }
267 bool Play(bool async
= TRUE
, bool looped
= FALSE
) const { return FALSE
; }
271 // Implementations of some alternate "constructors"
272 wxWave
* wxWaveData(const wxString
& data
) {
273 return new wxWave(data
.Len(), (wxByte
*)data
.c_str());
277 extern wxMimeTypesManager
* wxTheMimeTypesManager
;
281 #include <wx/artprov.h>
283 DECLARE_DEF_STRING(ART_OTHER
);
285 // Python aware wxArtProvider
286 class wxPyArtProvider
: public wxArtProvider
{
289 virtual wxBitmap
CreateBitmap(const wxArtID
& id
,
290 const wxArtClient
& client
,
291 const wxSize
& size
) {
292 wxBitmap rval
= wxNullBitmap
;
293 wxPyBeginBlockThreads();
294 if ((wxPyCBH_findCallback(m_myInst
, "CreateBitmap"))) {
295 PyObject
* so
= wxPyConstructObject((void*)&size
, wxT("wxSize"), 0);
299 s1
= wx2PyString(id
);
300 s2
= wx2PyString(client
);
301 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OOO)", s1
, s2
, so
));
306 if (!SWIG_GetPtrObj(ro
, (void**)&ptr
, "_wxBitmap_p"))
311 wxPyEndBlockThreads();
318 #include <wx/docview.h>
322 static PyObject
*_wrap_wxFileSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
323 PyObject
* _resultobj
;
325 wxString
* _arg0
= (wxString
*) &wxPyFileSelectorPromptStr
;
326 wxString
* _arg1
= (wxString
*) &wxPyEmptyString
;
327 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
328 wxString
* _arg3
= (wxString
*) &wxPyEmptyString
;
329 wxString
* _arg4
= (wxString
*) &wxPyFileSelectorDefaultWildcardStr
;
330 int _arg5
= (int ) 0;
331 wxWindow
* _arg6
= (wxWindow
*) NULL
;
332 int _arg7
= (int ) -1;
333 int _arg8
= (int ) -1;
334 PyObject
* _obj0
= 0;
335 PyObject
* _obj1
= 0;
336 PyObject
* _obj2
= 0;
337 PyObject
* _obj3
= 0;
338 PyObject
* _obj4
= 0;
339 PyObject
* _argo6
= 0;
340 char *_kwnames
[] = { "message","default_path","default_filename","default_extension","wildcard","flags","parent","x","y", NULL
};
343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|OOOOOiOii:wxFileSelector",_kwnames
,&_obj0
,&_obj1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_arg7
,&_arg8
))
347 _arg0
= wxString_in_helper(_obj0
);
353 _arg1
= wxString_in_helper(_obj1
);
359 _arg2
= wxString_in_helper(_obj2
);
365 _arg3
= wxString_in_helper(_obj3
);
371 _arg4
= wxString_in_helper(_obj4
);
376 if (_argo6
== Py_None
) { _arg6
= NULL
; }
377 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxWindow_p")) {
378 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxFileSelector. Expected _wxWindow_p.");
383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
384 _result
= new wxString (wxFileSelector(*_arg0
,*_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
,_arg7
,_arg8
));
386 wxPyEndAllowThreads(__tstate
);
387 if (PyErr_Occurred()) return NULL
;
390 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
392 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
421 static PyObject
*_wrap_wxLoadFileSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
422 PyObject
* _resultobj
;
426 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
427 wxWindow
* _arg3
= (wxWindow
*) NULL
;
428 PyObject
* _obj0
= 0;
429 PyObject
* _obj1
= 0;
430 PyObject
* _obj2
= 0;
431 PyObject
* _argo3
= 0;
432 char *_kwnames
[] = { "what","extension","default_name","parent", NULL
};
435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|OO:wxLoadFileSelector",_kwnames
,&_obj0
,&_obj1
,&_obj2
,&_argo3
))
438 _arg0
= wxString_in_helper(_obj0
);
443 _arg1
= wxString_in_helper(_obj1
);
449 _arg2
= wxString_in_helper(_obj2
);
454 if (_argo3
== Py_None
) { _arg3
= NULL
; }
455 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxWindow_p")) {
456 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxLoadFileSelector. Expected _wxWindow_p.");
461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
462 _result
= new wxString (wxLoadFileSelector(*_arg0
,*_arg1
,*_arg2
,_arg3
));
464 wxPyEndAllowThreads(__tstate
);
465 if (PyErr_Occurred()) return NULL
;
468 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
470 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
491 static PyObject
*_wrap_wxSaveFileSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
492 PyObject
* _resultobj
;
496 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
497 wxWindow
* _arg3
= (wxWindow
*) NULL
;
498 PyObject
* _obj0
= 0;
499 PyObject
* _obj1
= 0;
500 PyObject
* _obj2
= 0;
501 PyObject
* _argo3
= 0;
502 char *_kwnames
[] = { "what","extension","default_name","parent", NULL
};
505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|OO:wxSaveFileSelector",_kwnames
,&_obj0
,&_obj1
,&_obj2
,&_argo3
))
508 _arg0
= wxString_in_helper(_obj0
);
513 _arg1
= wxString_in_helper(_obj1
);
519 _arg2
= wxString_in_helper(_obj2
);
524 if (_argo3
== Py_None
) { _arg3
= NULL
; }
525 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxWindow_p")) {
526 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxSaveFileSelector. Expected _wxWindow_p.");
531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
532 _result
= new wxString (wxSaveFileSelector(*_arg0
,*_arg1
,*_arg2
,_arg3
));
534 wxPyEndAllowThreads(__tstate
);
535 if (PyErr_Occurred()) return NULL
;
538 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
540 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
561 static PyObject
*_wrap_wxDirSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
562 PyObject
* _resultobj
;
564 wxString
* _arg0
= (wxString
*) &wxPyDirSelectorPromptStr
;
565 wxString
* _arg1
= (wxString
*) &wxPyEmptyString
;
566 long _arg2
= (long ) wxDD_DEFAULT_STYLE
;
567 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
568 wxWindow
* _arg4
= (wxWindow
*) NULL
;
569 PyObject
* _obj0
= 0;
570 PyObject
* _obj1
= 0;
572 PyObject
* _obj3
= 0;
573 PyObject
* _argo4
= 0;
574 char *_kwnames
[] = { "message","defaultPath","style","pos","parent", NULL
};
577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|OOlOO:wxDirSelector",_kwnames
,&_obj0
,&_obj1
,&_arg2
,&_obj3
,&_argo4
))
581 _arg0
= wxString_in_helper(_obj0
);
587 _arg1
= wxString_in_helper(_obj1
);
594 if (! wxPoint_helper(_obj3
, &_arg3
))
598 if (_argo4
== Py_None
) { _arg4
= NULL
; }
599 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_wxWindow_p")) {
600 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxDirSelector. Expected _wxWindow_p.");
605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
606 _result
= new wxString (wxDirSelector(*_arg0
,*_arg1
,_arg2
,*_arg3
,_arg4
));
608 wxPyEndAllowThreads(__tstate
);
609 if (PyErr_Occurred()) return NULL
;
612 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
614 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
631 static PyObject
*_wrap_wxGetTextFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
632 PyObject
* _resultobj
;
635 wxString
* _arg1
= (wxString
*) &wxPyEmptyString
;
636 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
637 wxWindow
* _arg3
= (wxWindow
*) NULL
;
638 int _arg4
= (int ) -1;
639 int _arg5
= (int ) -1;
640 bool _arg6
= (bool ) TRUE
;
641 PyObject
* _obj0
= 0;
642 PyObject
* _obj1
= 0;
643 PyObject
* _obj2
= 0;
644 PyObject
* _argo3
= 0;
645 int tempbool6
= (int) TRUE
;
646 char *_kwnames
[] = { "message","caption","default_value","parent","x","y","centre", NULL
};
649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|OOOiii:wxGetTextFromUser",_kwnames
,&_obj0
,&_obj1
,&_obj2
,&_argo3
,&_arg4
,&_arg5
,&tempbool6
))
652 _arg0
= wxString_in_helper(_obj0
);
658 _arg1
= wxString_in_helper(_obj1
);
664 _arg2
= wxString_in_helper(_obj2
);
669 if (_argo3
== Py_None
) { _arg3
= NULL
; }
670 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxWindow_p")) {
671 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGetTextFromUser. Expected _wxWindow_p.");
675 _arg6
= (bool ) tempbool6
;
677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
678 _result
= new wxString (wxGetTextFromUser(*_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
,_arg6
));
680 wxPyEndAllowThreads(__tstate
);
681 if (PyErr_Occurred()) return NULL
;
684 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
686 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
707 static PyObject
*_wrap_wxGetPasswordFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
708 PyObject
* _resultobj
;
711 wxString
* _arg1
= (wxString
*) &wxPyEmptyString
;
712 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
713 wxWindow
* _arg3
= (wxWindow
*) NULL
;
714 PyObject
* _obj0
= 0;
715 PyObject
* _obj1
= 0;
716 PyObject
* _obj2
= 0;
717 PyObject
* _argo3
= 0;
718 char *_kwnames
[] = { "message","caption","default_value","parent", NULL
};
721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|OOO:wxGetPasswordFromUser",_kwnames
,&_obj0
,&_obj1
,&_obj2
,&_argo3
))
724 _arg0
= wxString_in_helper(_obj0
);
730 _arg1
= wxString_in_helper(_obj1
);
736 _arg2
= wxString_in_helper(_obj2
);
741 if (_argo3
== Py_None
) { _arg3
= NULL
; }
742 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxWindow_p")) {
743 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGetPasswordFromUser. Expected _wxWindow_p.");
748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
749 _result
= new wxString (wxGetPasswordFromUser(*_arg0
,*_arg1
,*_arg2
,_arg3
));
751 wxPyEndAllowThreads(__tstate
);
752 if (PyErr_Occurred()) return NULL
;
755 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
757 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
778 static PyObject
*_wrap_wxGetSingleChoice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
779 PyObject
* _resultobj
;
785 wxWindow
* _arg4
= (wxWindow
*) NULL
;
786 int _arg5
= (int ) -1;
787 int _arg6
= (int ) -1;
788 bool _arg7
= (bool ) TRUE
;
789 int _arg8
= (int ) 150;
790 int _arg9
= (int ) 200;
791 PyObject
* _obj0
= 0;
792 PyObject
* _obj1
= 0;
793 PyObject
* _obj3
= 0;
794 PyObject
* _argo4
= 0;
795 int tempbool7
= (int) TRUE
;
796 char *_kwnames
[] = { "message","caption","choices","parent","x","y","centre","width","height", NULL
};
799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|Oiiiii:wxGetSingleChoice",_kwnames
,&_obj0
,&_obj1
,&_obj3
,&_argo4
,&_arg5
,&_arg6
,&tempbool7
,&_arg8
,&_arg9
))
802 _arg0
= wxString_in_helper(_obj0
);
807 _arg1
= wxString_in_helper(_obj1
);
813 _arg3
= wxString_LIST_helper(_obj3
);
819 if (_argo4
== Py_None
) { _arg4
= NULL
; }
820 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_wxWindow_p")) {
821 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxGetSingleChoice. Expected _wxWindow_p.");
825 _arg7
= (bool ) tempbool7
;
828 _arg2
= PyList_Size(_obj3
);
835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
836 _result
= new wxString (wxGetSingleChoice(*_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,_arg9
));
838 wxPyEndAllowThreads(__tstate
);
839 if (PyErr_Occurred()) return NULL
;
842 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
844 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
864 static PyObject
*_wrap_wxGetSingleChoiceIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
865 PyObject
* _resultobj
;
871 wxWindow
* _arg4
= (wxWindow
*) NULL
;
872 int _arg5
= (int ) -1;
873 int _arg6
= (int ) -1;
874 bool _arg7
= (bool ) TRUE
;
875 int _arg8
= (int ) 150;
876 int _arg9
= (int ) 200;
877 PyObject
* _obj0
= 0;
878 PyObject
* _obj1
= 0;
879 PyObject
* _obj3
= 0;
880 PyObject
* _argo4
= 0;
881 int tempbool7
= (int) TRUE
;
882 char *_kwnames
[] = { "message","caption","choices","parent","x","y","centre","width","height", NULL
};
885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|Oiiiii:wxGetSingleChoiceIndex",_kwnames
,&_obj0
,&_obj1
,&_obj3
,&_argo4
,&_arg5
,&_arg6
,&tempbool7
,&_arg8
,&_arg9
))
888 _arg0
= wxString_in_helper(_obj0
);
893 _arg1
= wxString_in_helper(_obj1
);
899 _arg3
= wxString_LIST_helper(_obj3
);
905 if (_argo4
== Py_None
) { _arg4
= NULL
; }
906 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_wxWindow_p")) {
907 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxGetSingleChoiceIndex. Expected _wxWindow_p.");
911 _arg7
= (bool ) tempbool7
;
914 _arg2
= PyList_Size(_obj3
);
921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
922 _result
= (int )wxGetSingleChoiceIndex(*_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,_arg9
);
924 wxPyEndAllowThreads(__tstate
);
925 if (PyErr_Occurred()) return NULL
;
926 } _resultobj
= Py_BuildValue("i",_result
);
941 static PyObject
*_wrap_wxMessageBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
942 PyObject
* _resultobj
;
945 wxString
* _arg1
= (wxString
*) &wxPyEmptyString
;
946 int _arg2
= (int ) wxOK
|wxCENTRE
;
947 wxWindow
* _arg3
= (wxWindow
*) NULL
;
948 int _arg4
= (int ) -1;
949 int _arg5
= (int ) -1;
950 PyObject
* _obj0
= 0;
951 PyObject
* _obj1
= 0;
952 PyObject
* _argo3
= 0;
953 char *_kwnames
[] = { "message","caption","style","parent","x","y", NULL
};
956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|OiOii:wxMessageBox",_kwnames
,&_obj0
,&_obj1
,&_arg2
,&_argo3
,&_arg4
,&_arg5
))
959 _arg0
= wxString_in_helper(_obj0
);
965 _arg1
= wxString_in_helper(_obj1
);
970 if (_argo3
== Py_None
) { _arg3
= NULL
; }
971 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxWindow_p")) {
972 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxMessageBox. Expected _wxWindow_p.");
977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
978 _result
= (int )wxMessageBox(*_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
980 wxPyEndAllowThreads(__tstate
);
981 if (PyErr_Occurred()) return NULL
;
982 } _resultobj
= Py_BuildValue("i",_result
);
994 static PyObject
*_wrap_wxGetNumberFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
995 PyObject
* _resultobj
;
1001 long _arg4
= (long ) 0;
1002 long _arg5
= (long ) 100;
1003 wxWindow
* _arg6
= (wxWindow
*) NULL
;
1004 wxPoint
* _arg7
= (wxPoint
*) &wxDefaultPosition
;
1005 PyObject
* _obj0
= 0;
1006 PyObject
* _obj1
= 0;
1007 PyObject
* _obj2
= 0;
1008 PyObject
* _argo6
= 0;
1010 PyObject
* _obj7
= 0;
1011 char *_kwnames
[] = { "message","prompt","caption","value","min","max","parent","pos", NULL
};
1014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOl|llOO:wxGetNumberFromUser",_kwnames
,&_obj0
,&_obj1
,&_obj2
,&_arg3
,&_arg4
,&_arg5
,&_argo6
,&_obj7
))
1017 _arg0
= wxString_in_helper(_obj0
);
1022 _arg1
= wxString_in_helper(_obj1
);
1027 _arg2
= wxString_in_helper(_obj2
);
1032 if (_argo6
== Py_None
) { _arg6
= NULL
; }
1033 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxWindow_p")) {
1034 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxGetNumberFromUser. Expected _wxWindow_p.");
1041 if (! wxPoint_helper(_obj7
, &_arg7
))
1045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1046 _result
= (long )wxGetNumberFromUser(*_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,*_arg7
);
1048 wxPyEndAllowThreads(__tstate
);
1049 if (PyErr_Occurred()) return NULL
;
1050 } _resultobj
= Py_BuildValue("l",_result
);
1066 static PyObject
*_wrap_wxColourDisplay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1067 PyObject
* _resultobj
;
1069 char *_kwnames
[] = { NULL
};
1072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxColourDisplay",_kwnames
))
1075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1076 _result
= (bool )wxColourDisplay();
1078 wxPyEndAllowThreads(__tstate
);
1079 if (PyErr_Occurred()) return NULL
;
1080 } _resultobj
= Py_BuildValue("i",_result
);
1084 static PyObject
*_wrap_wxDisplayDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1085 PyObject
* _resultobj
;
1087 char *_kwnames
[] = { NULL
};
1090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxDisplayDepth",_kwnames
))
1093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1094 _result
= (int )wxDisplayDepth();
1096 wxPyEndAllowThreads(__tstate
);
1097 if (PyErr_Occurred()) return NULL
;
1098 } _resultobj
= Py_BuildValue("i",_result
);
1102 static PyObject
*_wrap_wxGetDisplayDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1103 PyObject
* _resultobj
;
1105 char *_kwnames
[] = { NULL
};
1108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetDisplayDepth",_kwnames
))
1111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1112 _result
= (int )wxGetDisplayDepth();
1114 wxPyEndAllowThreads(__tstate
);
1115 if (PyErr_Occurred()) return NULL
;
1116 } _resultobj
= Py_BuildValue("i",_result
);
1120 static PyObject
*_wrap_wxDisplaySize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1121 PyObject
* _resultobj
;
1126 char *_kwnames
[] = { NULL
};
1135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxDisplaySize",_kwnames
))
1138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1139 wxDisplaySize(_arg0
,_arg1
);
1141 wxPyEndAllowThreads(__tstate
);
1142 if (PyErr_Occurred()) return NULL
;
1143 } Py_INCREF(Py_None
);
1144 _resultobj
= Py_None
;
1147 o
= PyInt_FromLong((long) (*_arg0
));
1148 _resultobj
= t_output_helper(_resultobj
, o
);
1152 o
= PyInt_FromLong((long) (*_arg1
));
1153 _resultobj
= t_output_helper(_resultobj
, o
);
1158 static PyObject
*_wrap_wxGetDisplaySize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1159 PyObject
* _resultobj
;
1161 char *_kwnames
[] = { NULL
};
1165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetDisplaySize",_kwnames
))
1168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1169 _result
= new wxSize (wxGetDisplaySize());
1171 wxPyEndAllowThreads(__tstate
);
1172 if (PyErr_Occurred()) return NULL
;
1173 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
1174 _resultobj
= Py_BuildValue("s",_ptemp
);
1178 static PyObject
*_wrap_wxDisplaySizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1179 PyObject
* _resultobj
;
1184 char *_kwnames
[] = { NULL
};
1193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxDisplaySizeMM",_kwnames
))
1196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1197 wxDisplaySizeMM(_arg0
,_arg1
);
1199 wxPyEndAllowThreads(__tstate
);
1200 if (PyErr_Occurred()) return NULL
;
1201 } Py_INCREF(Py_None
);
1202 _resultobj
= Py_None
;
1205 o
= PyInt_FromLong((long) (*_arg0
));
1206 _resultobj
= t_output_helper(_resultobj
, o
);
1210 o
= PyInt_FromLong((long) (*_arg1
));
1211 _resultobj
= t_output_helper(_resultobj
, o
);
1216 static PyObject
*_wrap_wxGetDisplaySizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1217 PyObject
* _resultobj
;
1219 char *_kwnames
[] = { NULL
};
1223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetDisplaySizeMM",_kwnames
))
1226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1227 _result
= new wxSize (wxGetDisplaySizeMM());
1229 wxPyEndAllowThreads(__tstate
);
1230 if (PyErr_Occurred()) return NULL
;
1231 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
1232 _resultobj
= Py_BuildValue("s",_ptemp
);
1236 static PyObject
*_wrap_wxClientDisplayRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1237 PyObject
* _resultobj
;
1246 char *_kwnames
[] = { NULL
};
1261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxClientDisplayRect",_kwnames
))
1264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1265 wxClientDisplayRect(_arg0
,_arg1
,_arg2
,_arg3
);
1267 wxPyEndAllowThreads(__tstate
);
1268 if (PyErr_Occurred()) return NULL
;
1269 } Py_INCREF(Py_None
);
1270 _resultobj
= Py_None
;
1273 o
= PyInt_FromLong((long) (*_arg0
));
1274 _resultobj
= t_output_helper(_resultobj
, o
);
1278 o
= PyInt_FromLong((long) (*_arg1
));
1279 _resultobj
= t_output_helper(_resultobj
, o
);
1283 o
= PyInt_FromLong((long) (*_arg2
));
1284 _resultobj
= t_output_helper(_resultobj
, o
);
1288 o
= PyInt_FromLong((long) (*_arg3
));
1289 _resultobj
= t_output_helper(_resultobj
, o
);
1294 static PyObject
*_wrap_wxGetClientDisplayRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1295 PyObject
* _resultobj
;
1297 char *_kwnames
[] = { NULL
};
1301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetClientDisplayRect",_kwnames
))
1304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1305 _result
= new wxRect (wxGetClientDisplayRect());
1307 wxPyEndAllowThreads(__tstate
);
1308 if (PyErr_Occurred()) return NULL
;
1309 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
1310 _resultobj
= Py_BuildValue("s",_ptemp
);
1314 static PyObject
*_wrap_wxSetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1315 PyObject
* _resultobj
;
1317 PyObject
* _argo0
= 0;
1318 char *_kwnames
[] = { "cursor", NULL
};
1321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSetCursor",_kwnames
,&_argo0
))
1324 if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
1325 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSetCursor. Expected _wxCursor_p.");
1330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1331 wxSetCursor(*_arg0
);
1333 wxPyEndAllowThreads(__tstate
);
1334 if (PyErr_Occurred()) return NULL
;
1335 } Py_INCREF(Py_None
);
1336 _resultobj
= Py_None
;
1340 static PyObject
*_wrap_wxBeginBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1341 PyObject
* _resultobj
;
1342 wxCursor
* _arg0
= (wxCursor
*) wxHOURGLASS_CURSOR
;
1343 PyObject
* _argo0
= 0;
1344 char *_kwnames
[] = { "cursor", NULL
};
1347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:wxBeginBusyCursor",_kwnames
,&_argo0
))
1350 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1351 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
1352 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBeginBusyCursor. Expected _wxCursor_p.");
1357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1358 wxBeginBusyCursor(_arg0
);
1360 wxPyEndAllowThreads(__tstate
);
1361 if (PyErr_Occurred()) return NULL
;
1362 } Py_INCREF(Py_None
);
1363 _resultobj
= Py_None
;
1367 static PyObject
*_wrap_wxGetActiveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1368 PyObject
* _resultobj
;
1370 char *_kwnames
[] = { NULL
};
1373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetActiveWindow",_kwnames
))
1376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1377 _result
= (wxWindow
*)wxGetActiveWindow();
1379 wxPyEndAllowThreads(__tstate
);
1380 if (PyErr_Occurred()) return NULL
;
1381 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1385 static PyObject
*_wrap_wxGenericFindWindowAtPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1386 PyObject
* _resultobj
;
1390 PyObject
* _obj0
= 0;
1391 char *_kwnames
[] = { "pt", NULL
};
1394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGenericFindWindowAtPoint",_kwnames
,&_obj0
))
1398 if (! wxPoint_helper(_obj0
, &_arg0
))
1402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1403 _result
= (wxWindow
*)wxGenericFindWindowAtPoint(*_arg0
);
1405 wxPyEndAllowThreads(__tstate
);
1406 if (PyErr_Occurred()) return NULL
;
1407 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1411 static PyObject
*_wrap_wxFindWindowAtPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1412 PyObject
* _resultobj
;
1416 PyObject
* _obj0
= 0;
1417 char *_kwnames
[] = { "pt", NULL
};
1420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFindWindowAtPoint",_kwnames
,&_obj0
))
1424 if (! wxPoint_helper(_obj0
, &_arg0
))
1428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1429 _result
= (wxWindow
*)wxFindWindowAtPoint(*_arg0
);
1431 wxPyEndAllowThreads(__tstate
);
1432 if (PyErr_Occurred()) return NULL
;
1433 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1437 static PyObject
*_wrap_wxGetTopLevelParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1438 PyObject
* _resultobj
;
1441 PyObject
* _argo0
= 0;
1442 char *_kwnames
[] = { "win", NULL
};
1445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGetTopLevelParent",_kwnames
,&_argo0
))
1448 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1449 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1450 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGetTopLevelParent. Expected _wxWindow_p.");
1455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1456 _result
= (wxWindow
*)wxGetTopLevelParent(_arg0
);
1458 wxPyEndAllowThreads(__tstate
);
1459 if (PyErr_Occurred()) return NULL
;
1460 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1464 static PyObject
*_wrap_wxCaret_GetBlinkTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1465 PyObject
* _resultobj
;
1467 char *_kwnames
[] = { NULL
};
1470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxCaret_GetBlinkTime",_kwnames
))
1473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1474 _result
= (int )wxCaret_GetBlinkTime();
1476 wxPyEndAllowThreads(__tstate
);
1477 if (PyErr_Occurred()) return NULL
;
1478 } _resultobj
= Py_BuildValue("i",_result
);
1482 static PyObject
*_wrap_wxCaret_SetBlinkTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1483 PyObject
* _resultobj
;
1485 char *_kwnames
[] = { "milliseconds", NULL
};
1488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxCaret_SetBlinkTime",_kwnames
,&_arg0
))
1491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1492 wxCaret_SetBlinkTime(_arg0
);
1494 wxPyEndAllowThreads(__tstate
);
1495 if (PyErr_Occurred()) return NULL
;
1496 } Py_INCREF(Py_None
);
1497 _resultobj
= Py_None
;
1501 static PyObject
*_wrap_wxSafeYield(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1502 PyObject
* _resultobj
;
1504 wxWindow
* _arg0
= (wxWindow
*) NULL
;
1505 bool _arg1
= (bool ) FALSE
;
1506 PyObject
* _argo0
= 0;
1507 int tempbool1
= (int) FALSE
;
1508 char *_kwnames
[] = { "win","onlyIfNeeded", NULL
};
1511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|Oi:wxSafeYield",_kwnames
,&_argo0
,&tempbool1
))
1514 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1515 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1516 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSafeYield. Expected _wxWindow_p.");
1520 _arg1
= (bool ) tempbool1
;
1522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1523 _result
= (bool )wxSafeYield(_arg0
,_arg1
);
1525 wxPyEndAllowThreads(__tstate
);
1526 if (PyErr_Occurred()) return NULL
;
1527 } _resultobj
= Py_BuildValue("i",_result
);
1531 static PyObject
*_wrap_wxPostEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1532 PyObject
* _resultobj
;
1533 wxEvtHandler
* _arg0
;
1535 PyObject
* _argo0
= 0;
1536 PyObject
* _argo1
= 0;
1537 char *_kwnames
[] = { "dest","event", NULL
};
1540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPostEvent",_kwnames
,&_argo0
,&_argo1
))
1543 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1544 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
1545 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPostEvent. Expected _wxEvtHandler_p.");
1550 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvent_p")) {
1551 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPostEvent. Expected _wxEvent_p.");
1556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1557 wxPostEvent(_arg0
,*_arg1
);
1559 wxPyEndAllowThreads(__tstate
);
1560 if (PyErr_Occurred()) return NULL
;
1561 } Py_INCREF(Py_None
);
1562 _resultobj
= Py_None
;
1566 static PyObject
*_wrap_wxWakeUpIdle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1567 PyObject
* _resultobj
;
1568 char *_kwnames
[] = { NULL
};
1571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxWakeUpIdle",_kwnames
))
1574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1577 wxPyEndAllowThreads(__tstate
);
1578 if (PyErr_Occurred()) return NULL
;
1579 } Py_INCREF(Py_None
);
1580 _resultobj
= Py_None
;
1584 static PyObject
*_wrap_wxMutexGuiEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1585 PyObject
* _resultobj
;
1586 char *_kwnames
[] = { NULL
};
1589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxMutexGuiEnter",_kwnames
))
1592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1595 wxPyEndAllowThreads(__tstate
);
1596 if (PyErr_Occurred()) return NULL
;
1597 } Py_INCREF(Py_None
);
1598 _resultobj
= Py_None
;
1602 static PyObject
*_wrap_wxMutexGuiLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1603 PyObject
* _resultobj
;
1604 char *_kwnames
[] = { NULL
};
1607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxMutexGuiLeave",_kwnames
))
1610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1613 wxPyEndAllowThreads(__tstate
);
1614 if (PyErr_Occurred()) return NULL
;
1615 } Py_INCREF(Py_None
);
1616 _resultobj
= Py_None
;
1620 static PyObject
*_wrap_wxThread_IsMain(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1621 PyObject
* _resultobj
;
1623 char *_kwnames
[] = { NULL
};
1626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxThread_IsMain",_kwnames
))
1629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1630 _result
= (bool )wxThread_IsMain();
1632 wxPyEndAllowThreads(__tstate
);
1633 if (PyErr_Occurred()) return NULL
;
1634 } _resultobj
= Py_BuildValue("i",_result
);
1638 static PyObject
*_wrap_wxShowTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1639 PyObject
* _resultobj
;
1642 wxTipProvider
* _arg1
;
1643 bool _arg2
= (bool ) TRUE
;
1644 PyObject
* _argo0
= 0;
1645 PyObject
* _argo1
= 0;
1646 int tempbool2
= (int) TRUE
;
1647 char *_kwnames
[] = { "parent","tipProvider","showAtStartup", NULL
};
1650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxShowTip",_kwnames
,&_argo0
,&_argo1
,&tempbool2
))
1653 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1654 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1655 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShowTip. Expected _wxWindow_p.");
1660 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1661 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTipProvider_p")) {
1662 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxShowTip. Expected _wxTipProvider_p.");
1666 _arg2
= (bool ) tempbool2
;
1668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1669 _result
= (bool )wxShowTip(_arg0
,_arg1
,_arg2
);
1671 wxPyEndAllowThreads(__tstate
);
1672 if (PyErr_Occurred()) return NULL
;
1673 } _resultobj
= Py_BuildValue("i",_result
);
1677 static PyObject
*_wrap_wxCreateFileTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1678 PyObject
* _resultobj
;
1679 wxTipProvider
* _result
;
1682 PyObject
* _obj0
= 0;
1683 char *_kwnames
[] = { "filename","currentTip", NULL
};
1687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxCreateFileTipProvider",_kwnames
,&_obj0
,&_arg1
))
1690 _arg0
= wxString_in_helper(_obj0
);
1695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1696 _result
= (wxTipProvider
*)wxCreateFileTipProvider(*_arg0
,_arg1
);
1698 wxPyEndAllowThreads(__tstate
);
1699 if (PyErr_Occurred()) return NULL
;
1701 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTipProvider_p");
1702 _resultobj
= Py_BuildValue("s",_ptemp
);
1705 _resultobj
= Py_None
;
1714 static PyObject
*_wrap_wxSysErrorCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1715 PyObject
* _resultobj
;
1716 unsigned long _result
;
1717 char *_kwnames
[] = { NULL
};
1720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxSysErrorCode",_kwnames
))
1723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1724 _result
= (unsigned long )wxSysErrorCode();
1726 wxPyEndAllowThreads(__tstate
);
1727 if (PyErr_Occurred()) return NULL
;
1728 } _resultobj
= Py_BuildValue("l",_result
);
1732 static PyObject
*_wrap_wxSysErrorMsg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1733 PyObject
* _resultobj
;
1735 unsigned long _arg0
= (unsigned long ) 0;
1736 char *_kwnames
[] = { "nErrCode", NULL
};
1739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|l:wxSysErrorMsg",_kwnames
,&_arg0
))
1742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1743 _result
= new wxString (wxSysErrorMsg(_arg0
));
1745 wxPyEndAllowThreads(__tstate
);
1746 if (PyErr_Occurred()) return NULL
;
1749 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
1751 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1760 static PyObject
*_wrap_wxLogFatalError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1761 PyObject
* _resultobj
;
1763 PyObject
* _obj0
= 0;
1764 char *_kwnames
[] = { "msg", NULL
};
1767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogFatalError",_kwnames
,&_obj0
))
1770 _arg0
= wxString_in_helper(_obj0
);
1775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1776 wxLogFatalError(*_arg0
);
1778 wxPyEndAllowThreads(__tstate
);
1779 if (PyErr_Occurred()) return NULL
;
1780 } Py_INCREF(Py_None
);
1781 _resultobj
= Py_None
;
1789 static PyObject
*_wrap_wxLogError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1790 PyObject
* _resultobj
;
1792 PyObject
* _obj0
= 0;
1793 char *_kwnames
[] = { "msg", NULL
};
1796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogError",_kwnames
,&_obj0
))
1799 _arg0
= wxString_in_helper(_obj0
);
1804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1807 wxPyEndAllowThreads(__tstate
);
1808 if (PyErr_Occurred()) return NULL
;
1809 } Py_INCREF(Py_None
);
1810 _resultobj
= Py_None
;
1818 static PyObject
*_wrap_wxLogWarning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1819 PyObject
* _resultobj
;
1821 PyObject
* _obj0
= 0;
1822 char *_kwnames
[] = { "msg", NULL
};
1825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogWarning",_kwnames
,&_obj0
))
1828 _arg0
= wxString_in_helper(_obj0
);
1833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1834 wxLogWarning(*_arg0
);
1836 wxPyEndAllowThreads(__tstate
);
1837 if (PyErr_Occurred()) return NULL
;
1838 } Py_INCREF(Py_None
);
1839 _resultobj
= Py_None
;
1847 static PyObject
*_wrap_wxLogMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1848 PyObject
* _resultobj
;
1850 PyObject
* _obj0
= 0;
1851 char *_kwnames
[] = { "msg", NULL
};
1854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogMessage",_kwnames
,&_obj0
))
1857 _arg0
= wxString_in_helper(_obj0
);
1862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1863 wxLogMessage(*_arg0
);
1865 wxPyEndAllowThreads(__tstate
);
1866 if (PyErr_Occurred()) return NULL
;
1867 } Py_INCREF(Py_None
);
1868 _resultobj
= Py_None
;
1876 static PyObject
*_wrap_wxLogInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1877 PyObject
* _resultobj
;
1879 PyObject
* _obj0
= 0;
1880 char *_kwnames
[] = { "msg", NULL
};
1883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogInfo",_kwnames
,&_obj0
))
1886 _arg0
= wxString_in_helper(_obj0
);
1891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1894 wxPyEndAllowThreads(__tstate
);
1895 if (PyErr_Occurred()) return NULL
;
1896 } Py_INCREF(Py_None
);
1897 _resultobj
= Py_None
;
1905 static PyObject
*_wrap_wxLogDebug(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1906 PyObject
* _resultobj
;
1908 PyObject
* _obj0
= 0;
1909 char *_kwnames
[] = { "msg", NULL
};
1912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogDebug",_kwnames
,&_obj0
))
1915 _arg0
= wxString_in_helper(_obj0
);
1920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1923 wxPyEndAllowThreads(__tstate
);
1924 if (PyErr_Occurred()) return NULL
;
1925 } Py_INCREF(Py_None
);
1926 _resultobj
= Py_None
;
1934 static PyObject
*_wrap_wxLogVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1935 PyObject
* _resultobj
;
1937 PyObject
* _obj0
= 0;
1938 char *_kwnames
[] = { "msg", NULL
};
1941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogVerbose",_kwnames
,&_obj0
))
1944 _arg0
= wxString_in_helper(_obj0
);
1949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1950 wxLogVerbose(*_arg0
);
1952 wxPyEndAllowThreads(__tstate
);
1953 if (PyErr_Occurred()) return NULL
;
1954 } Py_INCREF(Py_None
);
1955 _resultobj
= Py_None
;
1963 static PyObject
*_wrap_wxLogStatus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1964 PyObject
* _resultobj
;
1966 PyObject
* _obj0
= 0;
1967 char *_kwnames
[] = { "msg", NULL
};
1970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogStatus",_kwnames
,&_obj0
))
1973 _arg0
= wxString_in_helper(_obj0
);
1978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1979 wxLogStatus(*_arg0
);
1981 wxPyEndAllowThreads(__tstate
);
1982 if (PyErr_Occurred()) return NULL
;
1983 } Py_INCREF(Py_None
);
1984 _resultobj
= Py_None
;
1992 static PyObject
*_wrap_wxLogStatusFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1993 PyObject
* _resultobj
;
1996 PyObject
* _argo0
= 0;
1997 PyObject
* _obj1
= 0;
1998 char *_kwnames
[] = { "pFrame","msg", NULL
};
2001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxLogStatusFrame",_kwnames
,&_argo0
,&_obj1
))
2004 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2005 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
2006 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogStatusFrame. Expected _wxFrame_p.");
2011 _arg1
= wxString_in_helper(_obj1
);
2016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2017 wxLogStatus(_arg0
,*_arg1
);
2019 wxPyEndAllowThreads(__tstate
);
2020 if (PyErr_Occurred()) return NULL
;
2021 } Py_INCREF(Py_None
);
2022 _resultobj
= Py_None
;
2030 static PyObject
*_wrap_wxLogSysError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2031 PyObject
* _resultobj
;
2033 PyObject
* _obj0
= 0;
2034 char *_kwnames
[] = { "msg", NULL
};
2037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogSysError",_kwnames
,&_obj0
))
2040 _arg0
= wxString_in_helper(_obj0
);
2045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2046 wxLogSysError(*_arg0
);
2048 wxPyEndAllowThreads(__tstate
);
2049 if (PyErr_Occurred()) return NULL
;
2050 } Py_INCREF(Py_None
);
2051 _resultobj
= Py_None
;
2059 static PyObject
*_wrap_wxLogTrace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2060 PyObject
* _resultobj
;
2062 PyObject
* _obj0
= 0;
2063 char *_kwnames
[] = { "msg", NULL
};
2066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogTrace",_kwnames
,&_obj0
))
2069 _arg0
= wxString_in_helper(_obj0
);
2074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2077 wxPyEndAllowThreads(__tstate
);
2078 if (PyErr_Occurred()) return NULL
;
2079 } Py_INCREF(Py_None
);
2080 _resultobj
= Py_None
;
2088 static PyObject
*_wrap_wxLogTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2089 PyObject
* _resultobj
;
2092 PyObject
* _obj0
= 0;
2093 PyObject
* _obj1
= 0;
2094 char *_kwnames
[] = { "mask","msg", NULL
};
2097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxLogTraceMask",_kwnames
,&_obj0
,&_obj1
))
2100 _arg0
= wxString_in_helper(_obj0
);
2105 _arg1
= wxString_in_helper(_obj1
);
2110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2111 wxLogTrace(*_arg0
,*_arg1
);
2113 wxPyEndAllowThreads(__tstate
);
2114 if (PyErr_Occurred()) return NULL
;
2115 } Py_INCREF(Py_None
);
2116 _resultobj
= Py_None
;
2128 static PyObject
*_wrap_wxLogGeneric(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2129 PyObject
* _resultobj
;
2130 unsigned long _arg0
;
2132 PyObject
* _obj1
= 0;
2133 char *_kwnames
[] = { "level","msg", NULL
};
2136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"lO:wxLogGeneric",_kwnames
,&_arg0
,&_obj1
))
2139 _arg1
= wxString_in_helper(_obj1
);
2144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2145 wxLogGeneric(_arg0
,*_arg1
);
2147 wxPyEndAllowThreads(__tstate
);
2148 if (PyErr_Occurred()) return NULL
;
2149 } Py_INCREF(Py_None
);
2150 _resultobj
= Py_None
;
2158 static PyObject
*_wrap_wxSafeShowMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2159 PyObject
* _resultobj
;
2162 PyObject
* _obj0
= 0;
2163 PyObject
* _obj1
= 0;
2164 char *_kwnames
[] = { "title","text", NULL
};
2167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxSafeShowMessage",_kwnames
,&_obj0
,&_obj1
))
2170 _arg0
= wxString_in_helper(_obj0
);
2175 _arg1
= wxString_in_helper(_obj1
);
2180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2181 wxSafeShowMessage(*_arg0
,*_arg1
);
2183 wxPyEndAllowThreads(__tstate
);
2184 if (PyErr_Occurred()) return NULL
;
2185 } Py_INCREF(Py_None
);
2186 _resultobj
= Py_None
;
2198 static PyObject
*_wrap_wxExecute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2199 PyObject
* _resultobj
;
2202 int _arg1
= (int ) (wxEXEC_ASYNC
);
2203 wxPyProcess
* _arg2
= (wxPyProcess
*) NULL
;
2204 PyObject
* _obj0
= 0;
2205 PyObject
* _argo2
= 0;
2206 char *_kwnames
[] = { "command","flags","process", NULL
};
2209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iO:wxExecute",_kwnames
,&_obj0
,&_arg1
,&_argo2
))
2212 _arg0
= wxString_in_helper(_obj0
);
2217 if (_argo2
== Py_None
) { _arg2
= NULL
; }
2218 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPyProcess_p")) {
2219 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxExecute. Expected _wxPyProcess_p.");
2224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2225 _result
= (long )wxExecute(*_arg0
,_arg1
,_arg2
);
2227 wxPyEndAllowThreads(__tstate
);
2228 if (PyErr_Occurred()) return NULL
;
2229 } _resultobj
= Py_BuildValue("l",_result
);
2237 static PyObject
*_wrap_wxWaveData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2238 PyObject
* _resultobj
;
2241 PyObject
* _obj0
= 0;
2242 char *_kwnames
[] = { "data", NULL
};
2246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWaveData",_kwnames
,&_obj0
))
2249 _arg0
= wxString_in_helper(_obj0
);
2254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2255 _result
= (wxWave
*)wxWaveData(*_arg0
);
2257 wxPyEndAllowThreads(__tstate
);
2258 if (PyErr_Occurred()) return NULL
;
2260 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWave_p");
2261 _resultobj
= Py_BuildValue("s",_ptemp
);
2264 _resultobj
= Py_None
;
2273 static int _wrap_wxTheMimeTypesManager_set(PyObject
*val
) {
2275 PyErr_SetString(PyExc_TypeError
,"Variable wxTheMimeTypesManager is read-only.");
2279 static PyObject
*_wrap_wxTheMimeTypesManager_get() {
2283 SWIG_MakePtr(ptemp
, (char *) wxTheMimeTypesManager
,"_wxMimeTypesManager_p");
2284 pyobj
= PyString_FromString(ptemp
);
2288 static PyObject
*_wrap_wxSystemSettings_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2289 PyObject
* _resultobj
;
2291 wxSystemColour _arg0
;
2292 char *_kwnames
[] = { "index", NULL
};
2296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSystemSettings_GetColour",_kwnames
,&_arg0
))
2299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2300 _result
= new wxColour (wxSystemSettings::GetColour(_arg0
));
2302 wxPyEndAllowThreads(__tstate
);
2303 if (PyErr_Occurred()) return NULL
;
2304 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
2305 _resultobj
= Py_BuildValue("s",_ptemp
);
2309 static PyObject
*_wrap_wxSystemSettings_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2310 PyObject
* _resultobj
;
2313 char *_kwnames
[] = { "index", NULL
};
2317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSystemSettings_GetFont",_kwnames
,&_arg0
))
2320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2321 _result
= new wxFont (wxSystemSettings::GetFont(_arg0
));
2323 wxPyEndAllowThreads(__tstate
);
2324 if (PyErr_Occurred()) return NULL
;
2325 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
2326 _resultobj
= Py_BuildValue("s",_ptemp
);
2330 static PyObject
*_wrap_wxSystemSettings_GetMetric(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2331 PyObject
* _resultobj
;
2333 wxSystemMetric _arg0
;
2334 char *_kwnames
[] = { "index", NULL
};
2337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSystemSettings_GetMetric",_kwnames
,&_arg0
))
2340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2341 _result
= (int )wxSystemSettings::GetMetric(_arg0
);
2343 wxPyEndAllowThreads(__tstate
);
2344 if (PyErr_Occurred()) return NULL
;
2345 } _resultobj
= Py_BuildValue("i",_result
);
2349 static PyObject
*_wrap_wxSystemSettings_HasFeature(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2350 PyObject
* _resultobj
;
2352 wxSystemFeature _arg0
;
2353 char *_kwnames
[] = { "index", NULL
};
2356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSystemSettings_HasFeature",_kwnames
,&_arg0
))
2359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2360 _result
= (bool )wxSystemSettings::HasFeature(_arg0
);
2362 wxPyEndAllowThreads(__tstate
);
2363 if (PyErr_Occurred()) return NULL
;
2364 } _resultobj
= Py_BuildValue("i",_result
);
2368 static PyObject
*_wrap_wxSystemSettings_GetScreenType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2369 PyObject
* _resultobj
;
2370 wxSystemScreenType _result
;
2371 char *_kwnames
[] = { NULL
};
2374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxSystemSettings_GetScreenType",_kwnames
))
2377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2378 _result
= (wxSystemScreenType
)wxSystemSettings::GetScreenType();
2380 wxPyEndAllowThreads(__tstate
);
2381 if (PyErr_Occurred()) return NULL
;
2382 } _resultobj
= Py_BuildValue("i",_result
);
2386 static PyObject
*_wrap_wxSystemSettings_SetScreenType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2387 PyObject
* _resultobj
;
2388 wxSystemScreenType _arg0
;
2389 char *_kwnames
[] = { "screen", NULL
};
2392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSystemSettings_SetScreenType",_kwnames
,&_arg0
))
2395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2396 wxSystemSettings::SetScreenType(_arg0
);
2398 wxPyEndAllowThreads(__tstate
);
2399 if (PyErr_Occurred()) return NULL
;
2400 } Py_INCREF(Py_None
);
2401 _resultobj
= Py_None
;
2405 static void *SwigwxToolTipTowxObject(void *ptr
) {
2408 src
= (wxToolTip
*) ptr
;
2409 dest
= (wxObject
*) src
;
2410 return (void *) dest
;
2413 #define new_wxToolTip(_swigarg0) (new wxToolTip(_swigarg0))
2414 static PyObject
*_wrap_new_wxToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2415 PyObject
* _resultobj
;
2416 wxToolTip
* _result
;
2418 PyObject
* _obj0
= 0;
2419 char *_kwnames
[] = { "tip", NULL
};
2423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxToolTip",_kwnames
,&_obj0
))
2426 _arg0
= wxString_in_helper(_obj0
);
2431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2432 _result
= (wxToolTip
*)new_wxToolTip(*_arg0
);
2434 wxPyEndAllowThreads(__tstate
);
2435 if (PyErr_Occurred()) return NULL
;
2437 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToolTip_p");
2438 _resultobj
= Py_BuildValue("s",_ptemp
);
2441 _resultobj
= Py_None
;
2450 #define wxToolTip_SetTip(_swigobj,_swigarg0) (_swigobj->SetTip(_swigarg0))
2451 static PyObject
*_wrap_wxToolTip_SetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2452 PyObject
* _resultobj
;
2455 PyObject
* _argo0
= 0;
2456 PyObject
* _obj1
= 0;
2457 char *_kwnames
[] = { "self","tip", NULL
};
2460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxToolTip_SetTip",_kwnames
,&_argo0
,&_obj1
))
2463 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2464 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolTip_p")) {
2465 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolTip_SetTip. Expected _wxToolTip_p.");
2470 _arg1
= wxString_in_helper(_obj1
);
2475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2476 wxToolTip_SetTip(_arg0
,*_arg1
);
2478 wxPyEndAllowThreads(__tstate
);
2479 if (PyErr_Occurred()) return NULL
;
2480 } Py_INCREF(Py_None
);
2481 _resultobj
= Py_None
;
2489 #define wxToolTip_GetTip(_swigobj) (_swigobj->GetTip())
2490 static PyObject
*_wrap_wxToolTip_GetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2491 PyObject
* _resultobj
;
2494 PyObject
* _argo0
= 0;
2495 char *_kwnames
[] = { "self", NULL
};
2498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolTip_GetTip",_kwnames
,&_argo0
))
2501 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2502 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolTip_p")) {
2503 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolTip_GetTip. Expected _wxToolTip_p.");
2508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2509 _result
= new wxString (wxToolTip_GetTip(_arg0
));
2511 wxPyEndAllowThreads(__tstate
);
2512 if (PyErr_Occurred()) return NULL
;
2515 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
2517 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2526 #define wxToolTip_GetWindow(_swigobj) (_swigobj->GetWindow())
2527 static PyObject
*_wrap_wxToolTip_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2528 PyObject
* _resultobj
;
2531 PyObject
* _argo0
= 0;
2532 char *_kwnames
[] = { "self", NULL
};
2535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolTip_GetWindow",_kwnames
,&_argo0
))
2538 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2539 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolTip_p")) {
2540 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolTip_GetWindow. Expected _wxToolTip_p.");
2545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2546 _result
= (wxWindow
*)wxToolTip_GetWindow(_arg0
);
2548 wxPyEndAllowThreads(__tstate
);
2549 if (PyErr_Occurred()) return NULL
;
2550 }{ _resultobj
= wxPyMake_wxObject(_result
); }
2554 static PyObject
*_wrap_wxToolTip_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2555 PyObject
* _resultobj
;
2558 char *_kwnames
[] = { "flag", NULL
};
2561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxToolTip_Enable",_kwnames
,&tempbool0
))
2563 _arg0
= (bool ) tempbool0
;
2565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2566 wxToolTip::Enable(_arg0
);
2568 wxPyEndAllowThreads(__tstate
);
2569 if (PyErr_Occurred()) return NULL
;
2570 } Py_INCREF(Py_None
);
2571 _resultobj
= Py_None
;
2575 static PyObject
*_wrap_wxToolTip_SetDelay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2576 PyObject
* _resultobj
;
2578 char *_kwnames
[] = { "milliseconds", NULL
};
2581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:wxToolTip_SetDelay",_kwnames
,&_arg0
))
2584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2585 wxToolTip::SetDelay(_arg0
);
2587 wxPyEndAllowThreads(__tstate
);
2588 if (PyErr_Occurred()) return NULL
;
2589 } Py_INCREF(Py_None
);
2590 _resultobj
= Py_None
;
2594 #define new_wxCaret(_swigarg0,_swigarg1) (new wxCaret(_swigarg0,_swigarg1))
2595 static PyObject
*_wrap_new_wxCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2596 PyObject
* _resultobj
;
2600 PyObject
* _argo0
= 0;
2602 PyObject
* _obj1
= 0;
2603 char *_kwnames
[] = { "window","size", NULL
};
2607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:new_wxCaret",_kwnames
,&_argo0
,&_obj1
))
2610 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2611 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2612 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxCaret. Expected _wxWindow_p.");
2618 if (! wxSize_helper(_obj1
, &_arg1
))
2622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2623 _result
= (wxCaret
*)new_wxCaret(_arg0
,*_arg1
);
2625 wxPyEndAllowThreads(__tstate
);
2626 if (PyErr_Occurred()) return NULL
;
2628 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCaret_p");
2629 _resultobj
= Py_BuildValue("s",_ptemp
);
2632 _resultobj
= Py_None
;
2637 #define delete_wxCaret(_swigobj) (delete _swigobj)
2638 static PyObject
*_wrap_delete_wxCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2639 PyObject
* _resultobj
;
2641 PyObject
* _argo0
= 0;
2642 char *_kwnames
[] = { "self", NULL
};
2645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxCaret",_kwnames
,&_argo0
))
2648 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2649 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2650 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxCaret. Expected _wxCaret_p.");
2655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2656 delete_wxCaret(_arg0
);
2658 wxPyEndAllowThreads(__tstate
);
2659 if (PyErr_Occurred()) return NULL
;
2660 } Py_INCREF(Py_None
);
2661 _resultobj
= Py_None
;
2665 #define wxCaret_IsOk(_swigobj) (_swigobj->IsOk())
2666 static PyObject
*_wrap_wxCaret_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2667 PyObject
* _resultobj
;
2670 PyObject
* _argo0
= 0;
2671 char *_kwnames
[] = { "self", NULL
};
2674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_IsOk",_kwnames
,&_argo0
))
2677 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2678 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2679 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_IsOk. Expected _wxCaret_p.");
2684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2685 _result
= (bool )wxCaret_IsOk(_arg0
);
2687 wxPyEndAllowThreads(__tstate
);
2688 if (PyErr_Occurred()) return NULL
;
2689 } _resultobj
= Py_BuildValue("i",_result
);
2693 #define wxCaret_IsVisible(_swigobj) (_swigobj->IsVisible())
2694 static PyObject
*_wrap_wxCaret_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2695 PyObject
* _resultobj
;
2698 PyObject
* _argo0
= 0;
2699 char *_kwnames
[] = { "self", NULL
};
2702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_IsVisible",_kwnames
,&_argo0
))
2705 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2706 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2707 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_IsVisible. Expected _wxCaret_p.");
2712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2713 _result
= (bool )wxCaret_IsVisible(_arg0
);
2715 wxPyEndAllowThreads(__tstate
);
2716 if (PyErr_Occurred()) return NULL
;
2717 } _resultobj
= Py_BuildValue("i",_result
);
2721 #define wxCaret_GetPositionTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPosition(_swigarg0,_swigarg1))
2722 static PyObject
*_wrap_wxCaret_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2723 PyObject
* _resultobj
;
2729 PyObject
* _argo0
= 0;
2730 char *_kwnames
[] = { "self", NULL
};
2739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetPositionTuple",_kwnames
,&_argo0
))
2742 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2743 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2744 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetPositionTuple. Expected _wxCaret_p.");
2749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2750 wxCaret_GetPositionTuple(_arg0
,_arg1
,_arg2
);
2752 wxPyEndAllowThreads(__tstate
);
2753 if (PyErr_Occurred()) return NULL
;
2754 } Py_INCREF(Py_None
);
2755 _resultobj
= Py_None
;
2758 o
= PyInt_FromLong((long) (*_arg1
));
2759 _resultobj
= t_output_helper(_resultobj
, o
);
2763 o
= PyInt_FromLong((long) (*_arg2
));
2764 _resultobj
= t_output_helper(_resultobj
, o
);
2769 #define wxCaret_GetPosition(_swigobj) (_swigobj->GetPosition())
2770 static PyObject
*_wrap_wxCaret_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2771 PyObject
* _resultobj
;
2774 PyObject
* _argo0
= 0;
2775 char *_kwnames
[] = { "self", NULL
};
2779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetPosition",_kwnames
,&_argo0
))
2782 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2783 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2784 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetPosition. Expected _wxCaret_p.");
2789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2790 _result
= new wxPoint (wxCaret_GetPosition(_arg0
));
2792 wxPyEndAllowThreads(__tstate
);
2793 if (PyErr_Occurred()) return NULL
;
2794 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2795 _resultobj
= Py_BuildValue("s",_ptemp
);
2799 #define wxCaret_GetSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSize(_swigarg0,_swigarg1))
2800 static PyObject
*_wrap_wxCaret_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2801 PyObject
* _resultobj
;
2807 PyObject
* _argo0
= 0;
2808 char *_kwnames
[] = { "self", NULL
};
2817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetSizeTuple",_kwnames
,&_argo0
))
2820 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2821 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2822 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetSizeTuple. Expected _wxCaret_p.");
2827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2828 wxCaret_GetSizeTuple(_arg0
,_arg1
,_arg2
);
2830 wxPyEndAllowThreads(__tstate
);
2831 if (PyErr_Occurred()) return NULL
;
2832 } Py_INCREF(Py_None
);
2833 _resultobj
= Py_None
;
2836 o
= PyInt_FromLong((long) (*_arg1
));
2837 _resultobj
= t_output_helper(_resultobj
, o
);
2841 o
= PyInt_FromLong((long) (*_arg2
));
2842 _resultobj
= t_output_helper(_resultobj
, o
);
2847 #define wxCaret_GetSize(_swigobj) (_swigobj->GetSize())
2848 static PyObject
*_wrap_wxCaret_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2849 PyObject
* _resultobj
;
2852 PyObject
* _argo0
= 0;
2853 char *_kwnames
[] = { "self", NULL
};
2857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetSize",_kwnames
,&_argo0
))
2860 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2861 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2862 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetSize. Expected _wxCaret_p.");
2867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2868 _result
= new wxSize (wxCaret_GetSize(_arg0
));
2870 wxPyEndAllowThreads(__tstate
);
2871 if (PyErr_Occurred()) return NULL
;
2872 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
2873 _resultobj
= Py_BuildValue("s",_ptemp
);
2877 #define wxCaret_GetWindow(_swigobj) (_swigobj->GetWindow())
2878 static PyObject
*_wrap_wxCaret_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2879 PyObject
* _resultobj
;
2882 PyObject
* _argo0
= 0;
2883 char *_kwnames
[] = { "self", NULL
};
2886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetWindow",_kwnames
,&_argo0
))
2889 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2890 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2891 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetWindow. Expected _wxCaret_p.");
2896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2897 _result
= (wxWindow
*)wxCaret_GetWindow(_arg0
);
2899 wxPyEndAllowThreads(__tstate
);
2900 if (PyErr_Occurred()) return NULL
;
2901 }{ _resultobj
= wxPyMake_wxObject(_result
); }
2905 #define wxCaret_MoveXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->Move(_swigarg0,_swigarg1))
2906 static PyObject
*_wrap_wxCaret_MoveXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2907 PyObject
* _resultobj
;
2911 PyObject
* _argo0
= 0;
2912 char *_kwnames
[] = { "self","x","y", NULL
};
2915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxCaret_MoveXY",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2918 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2919 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2920 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_MoveXY. Expected _wxCaret_p.");
2925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2926 wxCaret_MoveXY(_arg0
,_arg1
,_arg2
);
2928 wxPyEndAllowThreads(__tstate
);
2929 if (PyErr_Occurred()) return NULL
;
2930 } Py_INCREF(Py_None
);
2931 _resultobj
= Py_None
;
2935 #define wxCaret_Move(_swigobj,_swigarg0) (_swigobj->Move(_swigarg0))
2936 static PyObject
*_wrap_wxCaret_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2937 PyObject
* _resultobj
;
2940 PyObject
* _argo0
= 0;
2942 PyObject
* _obj1
= 0;
2943 char *_kwnames
[] = { "self","pt", NULL
};
2946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxCaret_Move",_kwnames
,&_argo0
,&_obj1
))
2949 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2950 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2951 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_Move. Expected _wxCaret_p.");
2957 if (! wxPoint_helper(_obj1
, &_arg1
))
2961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2962 wxCaret_Move(_arg0
,*_arg1
);
2964 wxPyEndAllowThreads(__tstate
);
2965 if (PyErr_Occurred()) return NULL
;
2966 } Py_INCREF(Py_None
);
2967 _resultobj
= Py_None
;
2971 #define wxCaret_SetSizeWH(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSize(_swigarg0,_swigarg1))
2972 static PyObject
*_wrap_wxCaret_SetSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2973 PyObject
* _resultobj
;
2977 PyObject
* _argo0
= 0;
2978 char *_kwnames
[] = { "self","width","height", NULL
};
2981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxCaret_SetSizeWH",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2984 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2985 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2986 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_SetSizeWH. Expected _wxCaret_p.");
2991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2992 wxCaret_SetSizeWH(_arg0
,_arg1
,_arg2
);
2994 wxPyEndAllowThreads(__tstate
);
2995 if (PyErr_Occurred()) return NULL
;
2996 } Py_INCREF(Py_None
);
2997 _resultobj
= Py_None
;
3001 #define wxCaret_SetSize(_swigobj,_swigarg0) (_swigobj->SetSize(_swigarg0))
3002 static PyObject
*_wrap_wxCaret_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3003 PyObject
* _resultobj
;
3006 PyObject
* _argo0
= 0;
3008 PyObject
* _obj1
= 0;
3009 char *_kwnames
[] = { "self","size", NULL
};
3012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxCaret_SetSize",_kwnames
,&_argo0
,&_obj1
))
3015 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3016 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
3017 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_SetSize. Expected _wxCaret_p.");
3023 if (! wxSize_helper(_obj1
, &_arg1
))
3027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3028 wxCaret_SetSize(_arg0
,*_arg1
);
3030 wxPyEndAllowThreads(__tstate
);
3031 if (PyErr_Occurred()) return NULL
;
3032 } Py_INCREF(Py_None
);
3033 _resultobj
= Py_None
;
3037 #define wxCaret_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
3038 static PyObject
*_wrap_wxCaret_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3039 PyObject
* _resultobj
;
3041 int _arg1
= (int ) TRUE
;
3042 PyObject
* _argo0
= 0;
3043 char *_kwnames
[] = { "self","show", NULL
};
3046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxCaret_Show",_kwnames
,&_argo0
,&_arg1
))
3049 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3050 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
3051 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_Show. Expected _wxCaret_p.");
3056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3057 wxCaret_Show(_arg0
,_arg1
);
3059 wxPyEndAllowThreads(__tstate
);
3060 if (PyErr_Occurred()) return NULL
;
3061 } Py_INCREF(Py_None
);
3062 _resultobj
= Py_None
;
3066 #define wxCaret_Hide(_swigobj) (_swigobj->Hide())
3067 static PyObject
*_wrap_wxCaret_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3068 PyObject
* _resultobj
;
3070 PyObject
* _argo0
= 0;
3071 char *_kwnames
[] = { "self", NULL
};
3074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_Hide",_kwnames
,&_argo0
))
3077 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3078 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
3079 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_Hide. Expected _wxCaret_p.");
3084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3085 wxCaret_Hide(_arg0
);
3087 wxPyEndAllowThreads(__tstate
);
3088 if (PyErr_Occurred()) return NULL
;
3089 } Py_INCREF(Py_None
);
3090 _resultobj
= Py_None
;
3094 #define new_wxBusyCursor(_swigarg0) (new wxBusyCursor(_swigarg0))
3095 static PyObject
*_wrap_new_wxBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3096 PyObject
* _resultobj
;
3097 wxBusyCursor
* _result
;
3098 wxCursor
* _arg0
= (wxCursor
*) wxHOURGLASS_CURSOR
;
3099 PyObject
* _argo0
= 0;
3100 char *_kwnames
[] = { "cursor", NULL
};
3104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxBusyCursor",_kwnames
,&_argo0
))
3107 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3108 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
3109 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxBusyCursor. Expected _wxCursor_p.");
3114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3115 _result
= (wxBusyCursor
*)new_wxBusyCursor(_arg0
);
3117 wxPyEndAllowThreads(__tstate
);
3118 if (PyErr_Occurred()) return NULL
;
3120 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBusyCursor_p");
3121 _resultobj
= Py_BuildValue("s",_ptemp
);
3124 _resultobj
= Py_None
;
3129 #define delete_wxBusyCursor(_swigobj) (delete _swigobj)
3130 static PyObject
*_wrap_delete_wxBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3131 PyObject
* _resultobj
;
3132 wxBusyCursor
* _arg0
;
3133 PyObject
* _argo0
= 0;
3134 char *_kwnames
[] = { "self", NULL
};
3137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxBusyCursor",_kwnames
,&_argo0
))
3140 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3141 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBusyCursor_p")) {
3142 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxBusyCursor. Expected _wxBusyCursor_p.");
3147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3148 delete_wxBusyCursor(_arg0
);
3150 wxPyEndAllowThreads(__tstate
);
3151 if (PyErr_Occurred()) return NULL
;
3152 } Py_INCREF(Py_None
);
3153 _resultobj
= Py_None
;
3157 #define new_wxWindowDisabler(_swigarg0) (new wxWindowDisabler(_swigarg0))
3158 static PyObject
*_wrap_new_wxWindowDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3159 PyObject
* _resultobj
;
3160 wxWindowDisabler
* _result
;
3161 wxWindow
* _arg0
= (wxWindow
*) NULL
;
3162 PyObject
* _argo0
= 0;
3163 char *_kwnames
[] = { "winToSkip", NULL
};
3167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxWindowDisabler",_kwnames
,&_argo0
))
3170 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3171 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3172 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxWindowDisabler. Expected _wxWindow_p.");
3177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3178 _result
= (wxWindowDisabler
*)new_wxWindowDisabler(_arg0
);
3180 wxPyEndAllowThreads(__tstate
);
3181 if (PyErr_Occurred()) return NULL
;
3183 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindowDisabler_p");
3184 _resultobj
= Py_BuildValue("s",_ptemp
);
3187 _resultobj
= Py_None
;
3192 #define delete_wxWindowDisabler(_swigobj) (delete _swigobj)
3193 static PyObject
*_wrap_delete_wxWindowDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3194 PyObject
* _resultobj
;
3195 wxWindowDisabler
* _arg0
;
3196 PyObject
* _argo0
= 0;
3197 char *_kwnames
[] = { "self", NULL
};
3200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxWindowDisabler",_kwnames
,&_argo0
))
3203 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3204 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindowDisabler_p")) {
3205 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxWindowDisabler. Expected _wxWindowDisabler_p.");
3210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3211 delete_wxWindowDisabler(_arg0
);
3213 wxPyEndAllowThreads(__tstate
);
3214 if (PyErr_Occurred()) return NULL
;
3215 } Py_INCREF(Py_None
);
3216 _resultobj
= Py_None
;
3220 #define new_wxMutexGuiLocker() (new wxMutexGuiLocker())
3221 static PyObject
*_wrap_new_wxMutexGuiLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3222 PyObject
* _resultobj
;
3223 wxMutexGuiLocker
* _result
;
3224 char *_kwnames
[] = { NULL
};
3228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxMutexGuiLocker",_kwnames
))
3231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3232 _result
= (wxMutexGuiLocker
*)new_wxMutexGuiLocker();
3234 wxPyEndAllowThreads(__tstate
);
3235 if (PyErr_Occurred()) return NULL
;
3237 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMutexGuiLocker_p");
3238 _resultobj
= Py_BuildValue("s",_ptemp
);
3241 _resultobj
= Py_None
;
3246 #define delete_wxMutexGuiLocker(_swigobj) (delete _swigobj)
3247 static PyObject
*_wrap_delete_wxMutexGuiLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3248 PyObject
* _resultobj
;
3249 wxMutexGuiLocker
* _arg0
;
3250 PyObject
* _argo0
= 0;
3251 char *_kwnames
[] = { "self", NULL
};
3254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxMutexGuiLocker",_kwnames
,&_argo0
))
3257 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3258 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMutexGuiLocker_p")) {
3259 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxMutexGuiLocker. Expected _wxMutexGuiLocker_p.");
3264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3265 delete_wxMutexGuiLocker(_arg0
);
3267 wxPyEndAllowThreads(__tstate
);
3268 if (PyErr_Occurred()) return NULL
;
3269 } Py_INCREF(Py_None
);
3270 _resultobj
= Py_None
;
3274 #define delete_wxTipProvider(_swigobj) (delete _swigobj)
3275 static PyObject
*_wrap_delete_wxTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3276 PyObject
* _resultobj
;
3277 wxTipProvider
* _arg0
;
3278 PyObject
* _argo0
= 0;
3279 char *_kwnames
[] = { "self", NULL
};
3282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxTipProvider",_kwnames
,&_argo0
))
3285 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3286 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTipProvider_p")) {
3287 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxTipProvider. Expected _wxTipProvider_p.");
3292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3293 delete_wxTipProvider(_arg0
);
3295 wxPyEndAllowThreads(__tstate
);
3296 if (PyErr_Occurred()) return NULL
;
3297 } Py_INCREF(Py_None
);
3298 _resultobj
= Py_None
;
3302 #define wxTipProvider_GetTip(_swigobj) (_swigobj->GetTip())
3303 static PyObject
*_wrap_wxTipProvider_GetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3304 PyObject
* _resultobj
;
3306 wxTipProvider
* _arg0
;
3307 PyObject
* _argo0
= 0;
3308 char *_kwnames
[] = { "self", NULL
};
3311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTipProvider_GetTip",_kwnames
,&_argo0
))
3314 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3315 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTipProvider_p")) {
3316 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTipProvider_GetTip. Expected _wxTipProvider_p.");
3321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3322 _result
= new wxString (wxTipProvider_GetTip(_arg0
));
3324 wxPyEndAllowThreads(__tstate
);
3325 if (PyErr_Occurred()) return NULL
;
3328 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
3330 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3339 #define wxTipProvider_GetCurrentTip(_swigobj) (_swigobj->GetCurrentTip())
3340 static PyObject
*_wrap_wxTipProvider_GetCurrentTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3341 PyObject
* _resultobj
;
3343 wxTipProvider
* _arg0
;
3344 PyObject
* _argo0
= 0;
3345 char *_kwnames
[] = { "self", NULL
};
3348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTipProvider_GetCurrentTip",_kwnames
,&_argo0
))
3351 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3352 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTipProvider_p")) {
3353 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTipProvider_GetCurrentTip. Expected _wxTipProvider_p.");
3358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3359 _result
= (size_t )wxTipProvider_GetCurrentTip(_arg0
);
3361 wxPyEndAllowThreads(__tstate
);
3362 if (PyErr_Occurred()) return NULL
;
3363 } _resultobj
= Py_BuildValue("i",_result
);
3367 #define wxTipProvider_PreprocessTip(_swigobj,_swigarg0) (_swigobj->PreprocessTip(_swigarg0))
3368 static PyObject
*_wrap_wxTipProvider_PreprocessTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3369 PyObject
* _resultobj
;
3371 wxTipProvider
* _arg0
;
3373 PyObject
* _argo0
= 0;
3374 PyObject
* _obj1
= 0;
3375 char *_kwnames
[] = { "self","tip", NULL
};
3378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTipProvider_PreprocessTip",_kwnames
,&_argo0
,&_obj1
))
3381 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3382 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTipProvider_p")) {
3383 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTipProvider_PreprocessTip. Expected _wxTipProvider_p.");
3388 _arg1
= wxString_in_helper(_obj1
);
3393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3394 _result
= new wxString (wxTipProvider_PreprocessTip(_arg0
,*_arg1
));
3396 wxPyEndAllowThreads(__tstate
);
3397 if (PyErr_Occurred()) return NULL
;
3400 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
3402 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3415 static void *SwigwxPyTipProviderTowxTipProvider(void *ptr
) {
3416 wxPyTipProvider
*src
;
3417 wxTipProvider
*dest
;
3418 src
= (wxPyTipProvider
*) ptr
;
3419 dest
= (wxTipProvider
*) src
;
3420 return (void *) dest
;
3423 #define new_wxPyTipProvider(_swigarg0) (new wxPyTipProvider(_swigarg0))
3424 static PyObject
*_wrap_new_wxPyTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3425 PyObject
* _resultobj
;
3426 wxPyTipProvider
* _result
;
3428 char *_kwnames
[] = { "currentTip", NULL
};
3432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:new_wxPyTipProvider",_kwnames
,&_arg0
))
3435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3436 _result
= (wxPyTipProvider
*)new_wxPyTipProvider(_arg0
);
3438 wxPyEndAllowThreads(__tstate
);
3439 if (PyErr_Occurred()) return NULL
;
3441 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTipProvider_p");
3442 _resultobj
= Py_BuildValue("s",_ptemp
);
3445 _resultobj
= Py_None
;
3450 #define wxPyTipProvider__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
3451 static PyObject
*_wrap_wxPyTipProvider__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3452 PyObject
* _resultobj
;
3453 wxPyTipProvider
* _arg0
;
3456 PyObject
* _argo0
= 0;
3457 PyObject
* _obj1
= 0;
3458 PyObject
* _obj2
= 0;
3459 char *_kwnames
[] = { "self","self","_class", NULL
};
3462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyTipProvider__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
3465 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3466 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTipProvider_p")) {
3467 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTipProvider__setCallbackInfo. Expected _wxPyTipProvider_p.");
3478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3479 wxPyTipProvider__setCallbackInfo(_arg0
,_arg1
,_arg2
);
3481 wxPyEndAllowThreads(__tstate
);
3482 if (PyErr_Occurred()) return NULL
;
3483 } Py_INCREF(Py_None
);
3484 _resultobj
= Py_None
;
3488 static void *SwigwxGenericDragImageTowxObject(void *ptr
) {
3489 wxGenericDragImage
*src
;
3491 src
= (wxGenericDragImage
*) ptr
;
3492 dest
= (wxObject
*) src
;
3493 return (void *) dest
;
3496 #define new_wxDragImage(_swigarg0,_swigarg1) (new wxGenericDragImage(_swigarg0,_swigarg1))
3497 static PyObject
*_wrap_new_wxDragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3498 PyObject
* _resultobj
;
3499 wxGenericDragImage
* _result
;
3501 wxCursor
* _arg1
= (wxCursor
*) &wxNullCursor
;
3502 PyObject
* _argo0
= 0;
3503 PyObject
* _argo1
= 0;
3504 char *_kwnames
[] = { "image","cursor", NULL
};
3508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:new_wxDragImage",_kwnames
,&_argo0
,&_argo1
))
3511 if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
3512 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDragImage. Expected _wxBitmap_p.");
3517 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCursor_p")) {
3518 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxDragImage. Expected _wxCursor_p.");
3523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3524 _result
= (wxGenericDragImage
*)new_wxDragImage(*_arg0
,*_arg1
);
3526 wxPyEndAllowThreads(__tstate
);
3527 if (PyErr_Occurred()) return NULL
;
3529 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
3530 _resultobj
= Py_BuildValue("s",_ptemp
);
3533 _resultobj
= Py_None
;
3538 #define new_wxDragIcon(_swigarg0,_swigarg1) (new wxGenericDragImage(_swigarg0,_swigarg1))
3539 static PyObject
*_wrap_new_wxDragIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3540 PyObject
* _resultobj
;
3541 wxGenericDragImage
* _result
;
3543 wxCursor
* _arg1
= (wxCursor
*) &wxNullCursor
;
3544 PyObject
* _argo0
= 0;
3545 PyObject
* _argo1
= 0;
3546 char *_kwnames
[] = { "image","cursor", NULL
};
3550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:new_wxDragIcon",_kwnames
,&_argo0
,&_argo1
))
3553 if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
3554 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDragIcon. Expected _wxIcon_p.");
3559 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCursor_p")) {
3560 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxDragIcon. Expected _wxCursor_p.");
3565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3566 _result
= (wxGenericDragImage
*)new_wxDragIcon(*_arg0
,*_arg1
);
3568 wxPyEndAllowThreads(__tstate
);
3569 if (PyErr_Occurred()) return NULL
;
3571 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
3572 _resultobj
= Py_BuildValue("s",_ptemp
);
3575 _resultobj
= Py_None
;
3580 #define new_wxDragString(_swigarg0,_swigarg1) (new wxGenericDragImage(_swigarg0,_swigarg1))
3581 static PyObject
*_wrap_new_wxDragString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3582 PyObject
* _resultobj
;
3583 wxGenericDragImage
* _result
;
3585 wxCursor
* _arg1
= (wxCursor
*) &wxNullCursor
;
3586 PyObject
* _obj0
= 0;
3587 PyObject
* _argo1
= 0;
3588 char *_kwnames
[] = { "str","cursor", NULL
};
3592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:new_wxDragString",_kwnames
,&_obj0
,&_argo1
))
3595 _arg0
= wxString_in_helper(_obj0
);
3600 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCursor_p")) {
3601 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxDragString. Expected _wxCursor_p.");
3606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3607 _result
= (wxGenericDragImage
*)new_wxDragString(*_arg0
,*_arg1
);
3609 wxPyEndAllowThreads(__tstate
);
3610 if (PyErr_Occurred()) return NULL
;
3612 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
3613 _resultobj
= Py_BuildValue("s",_ptemp
);
3616 _resultobj
= Py_None
;
3625 #define new_wxDragTreeItem(_swigarg0,_swigarg1) (new wxGenericDragImage(_swigarg0,_swigarg1))
3626 static PyObject
*_wrap_new_wxDragTreeItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3627 PyObject
* _resultobj
;
3628 wxGenericDragImage
* _result
;
3630 wxTreeItemId
* _arg1
;
3631 PyObject
* _argo0
= 0;
3632 PyObject
* _argo1
= 0;
3633 char *_kwnames
[] = { "treeCtrl","id", NULL
};
3637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:new_wxDragTreeItem",_kwnames
,&_argo0
,&_argo1
))
3640 if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3641 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDragTreeItem. Expected _wxTreeCtrl_p.");
3646 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3647 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxDragTreeItem. Expected _wxTreeItemId_p.");
3652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3653 _result
= (wxGenericDragImage
*)new_wxDragTreeItem(*_arg0
,*_arg1
);
3655 wxPyEndAllowThreads(__tstate
);
3656 if (PyErr_Occurred()) return NULL
;
3658 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
3659 _resultobj
= Py_BuildValue("s",_ptemp
);
3662 _resultobj
= Py_None
;
3667 #define new_wxDragListItem(_swigarg0,_swigarg1) (new wxGenericDragImage(_swigarg0,_swigarg1))
3668 static PyObject
*_wrap_new_wxDragListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3669 PyObject
* _resultobj
;
3670 wxGenericDragImage
* _result
;
3673 PyObject
* _argo0
= 0;
3674 char *_kwnames
[] = { "listCtrl","id", NULL
};
3678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:new_wxDragListItem",_kwnames
,&_argo0
,&_arg1
))
3681 if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3682 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDragListItem. Expected _wxListCtrl_p.");
3687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3688 _result
= (wxGenericDragImage
*)new_wxDragListItem(*_arg0
,_arg1
);
3690 wxPyEndAllowThreads(__tstate
);
3691 if (PyErr_Occurred()) return NULL
;
3693 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
3694 _resultobj
= Py_BuildValue("s",_ptemp
);
3697 _resultobj
= Py_None
;
3702 #define delete_wxGenericDragImage(_swigobj) (delete _swigobj)
3703 static PyObject
*_wrap_delete_wxDragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3704 PyObject
* _resultobj
;
3705 wxGenericDragImage
* _arg0
;
3706 PyObject
* _argo0
= 0;
3707 char *_kwnames
[] = { "self", NULL
};
3710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxDragImage",_kwnames
,&_argo0
))
3713 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3714 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3715 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxDragImage. Expected _wxGenericDragImage_p.");
3720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3721 delete_wxGenericDragImage(_arg0
);
3723 wxPyEndAllowThreads(__tstate
);
3724 if (PyErr_Occurred()) return NULL
;
3725 } Py_INCREF(Py_None
);
3726 _resultobj
= Py_None
;
3730 #define wxDragImage_SetBackingBitmap(_swigobj,_swigarg0) (_swigobj->SetBackingBitmap(_swigarg0))
3731 static PyObject
*_wrap_wxDragImage_SetBackingBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3732 PyObject
* _resultobj
;
3733 wxGenericDragImage
* _arg0
;
3735 PyObject
* _argo0
= 0;
3736 PyObject
* _argo1
= 0;
3737 char *_kwnames
[] = { "self","bitmap", NULL
};
3740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDragImage_SetBackingBitmap",_kwnames
,&_argo0
,&_argo1
))
3743 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3744 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3745 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_SetBackingBitmap. Expected _wxGenericDragImage_p.");
3750 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3751 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
3752 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDragImage_SetBackingBitmap. Expected _wxBitmap_p.");
3757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3758 wxDragImage_SetBackingBitmap(_arg0
,_arg1
);
3760 wxPyEndAllowThreads(__tstate
);
3761 if (PyErr_Occurred()) return NULL
;
3762 } Py_INCREF(Py_None
);
3763 _resultobj
= Py_None
;
3767 #define wxDragImage_BeginDrag(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->BeginDrag(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3768 static PyObject
*_wrap_wxDragImage_BeginDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3769 PyObject
* _resultobj
;
3771 wxGenericDragImage
* _arg0
;
3774 bool _arg3
= (bool ) FALSE
;
3775 wxRect
* _arg4
= (wxRect
*) NULL
;
3776 PyObject
* _argo0
= 0;
3778 PyObject
* _obj1
= 0;
3779 PyObject
* _argo2
= 0;
3780 int tempbool3
= (int) FALSE
;
3782 PyObject
* _obj4
= 0;
3783 char *_kwnames
[] = { "self","hotspot","window","fullScreen","rect", NULL
};
3786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|iO:wxDragImage_BeginDrag",_kwnames
,&_argo0
,&_obj1
,&_argo2
,&tempbool3
,&_obj4
))
3789 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3790 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3791 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_BeginDrag. Expected _wxGenericDragImage_p.");
3797 if (! wxPoint_helper(_obj1
, &_arg1
))
3801 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3802 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
3803 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxDragImage_BeginDrag. Expected _wxWindow_p.");
3807 _arg3
= (bool ) tempbool3
;
3811 if (! wxRect_helper(_obj4
, &_arg4
))
3815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3816 _result
= (bool )wxDragImage_BeginDrag(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
);
3818 wxPyEndAllowThreads(__tstate
);
3819 if (PyErr_Occurred()) return NULL
;
3820 } _resultobj
= Py_BuildValue("i",_result
);
3824 #define wxDragImage_BeginDragBounded(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->BeginDrag(_swigarg0,_swigarg1,_swigarg2))
3825 static PyObject
*_wrap_wxDragImage_BeginDragBounded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3826 PyObject
* _resultobj
;
3828 wxGenericDragImage
* _arg0
;
3832 PyObject
* _argo0
= 0;
3834 PyObject
* _obj1
= 0;
3835 PyObject
* _argo2
= 0;
3836 PyObject
* _argo3
= 0;
3837 char *_kwnames
[] = { "self","hotspot","window","boundingWindow", NULL
};
3840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO:wxDragImage_BeginDragBounded",_kwnames
,&_argo0
,&_obj1
,&_argo2
,&_argo3
))
3843 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3844 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3845 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_BeginDragBounded. Expected _wxGenericDragImage_p.");
3851 if (! wxPoint_helper(_obj1
, &_arg1
))
3855 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3856 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
3857 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxDragImage_BeginDragBounded. Expected _wxWindow_p.");
3862 if (_argo3
== Py_None
) { _arg3
= NULL
; }
3863 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxWindow_p")) {
3864 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxDragImage_BeginDragBounded. Expected _wxWindow_p.");
3869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3870 _result
= (bool )wxDragImage_BeginDragBounded(_arg0
,*_arg1
,_arg2
,_arg3
);
3872 wxPyEndAllowThreads(__tstate
);
3873 if (PyErr_Occurred()) return NULL
;
3874 } _resultobj
= Py_BuildValue("i",_result
);
3878 #define wxDragImage_EndDrag(_swigobj) (_swigobj->EndDrag())
3879 static PyObject
*_wrap_wxDragImage_EndDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3880 PyObject
* _resultobj
;
3882 wxGenericDragImage
* _arg0
;
3883 PyObject
* _argo0
= 0;
3884 char *_kwnames
[] = { "self", NULL
};
3887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDragImage_EndDrag",_kwnames
,&_argo0
))
3890 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3891 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3892 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_EndDrag. Expected _wxGenericDragImage_p.");
3897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3898 _result
= (bool )wxDragImage_EndDrag(_arg0
);
3900 wxPyEndAllowThreads(__tstate
);
3901 if (PyErr_Occurred()) return NULL
;
3902 } _resultobj
= Py_BuildValue("i",_result
);
3906 #define wxDragImage_Move(_swigobj,_swigarg0) (_swigobj->Move(_swigarg0))
3907 static PyObject
*_wrap_wxDragImage_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3908 PyObject
* _resultobj
;
3910 wxGenericDragImage
* _arg0
;
3912 PyObject
* _argo0
= 0;
3914 PyObject
* _obj1
= 0;
3915 char *_kwnames
[] = { "self","pt", NULL
};
3918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDragImage_Move",_kwnames
,&_argo0
,&_obj1
))
3921 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3922 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3923 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_Move. Expected _wxGenericDragImage_p.");
3929 if (! wxPoint_helper(_obj1
, &_arg1
))
3933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3934 _result
= (bool )wxDragImage_Move(_arg0
,*_arg1
);
3936 wxPyEndAllowThreads(__tstate
);
3937 if (PyErr_Occurred()) return NULL
;
3938 } _resultobj
= Py_BuildValue("i",_result
);
3942 #define wxDragImage_Show(_swigobj) (_swigobj->Show())
3943 static PyObject
*_wrap_wxDragImage_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3944 PyObject
* _resultobj
;
3946 wxGenericDragImage
* _arg0
;
3947 PyObject
* _argo0
= 0;
3948 char *_kwnames
[] = { "self", NULL
};
3951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDragImage_Show",_kwnames
,&_argo0
))
3954 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3955 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3956 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_Show. Expected _wxGenericDragImage_p.");
3961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3962 _result
= (bool )wxDragImage_Show(_arg0
);
3964 wxPyEndAllowThreads(__tstate
);
3965 if (PyErr_Occurred()) return NULL
;
3966 } _resultobj
= Py_BuildValue("i",_result
);
3970 #define wxDragImage_Hide(_swigobj) (_swigobj->Hide())
3971 static PyObject
*_wrap_wxDragImage_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3972 PyObject
* _resultobj
;
3974 wxGenericDragImage
* _arg0
;
3975 PyObject
* _argo0
= 0;
3976 char *_kwnames
[] = { "self", NULL
};
3979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDragImage_Hide",_kwnames
,&_argo0
))
3982 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3983 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3984 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_Hide. Expected _wxGenericDragImage_p.");
3989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3990 _result
= (bool )wxDragImage_Hide(_arg0
);
3992 wxPyEndAllowThreads(__tstate
);
3993 if (PyErr_Occurred()) return NULL
;
3994 } _resultobj
= Py_BuildValue("i",_result
);
3998 #define wxDragImage_GetImageRect(_swigobj,_swigarg0) (_swigobj->GetImageRect(_swigarg0))
3999 static PyObject
*_wrap_wxDragImage_GetImageRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4000 PyObject
* _resultobj
;
4002 wxGenericDragImage
* _arg0
;
4004 PyObject
* _argo0
= 0;
4006 PyObject
* _obj1
= 0;
4007 char *_kwnames
[] = { "self","pos", NULL
};
4011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDragImage_GetImageRect",_kwnames
,&_argo0
,&_obj1
))
4014 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4015 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
4016 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_GetImageRect. Expected _wxGenericDragImage_p.");
4022 if (! wxPoint_helper(_obj1
, &_arg1
))
4026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4027 _result
= new wxRect (wxDragImage_GetImageRect(_arg0
,*_arg1
));
4029 wxPyEndAllowThreads(__tstate
);
4030 if (PyErr_Occurred()) return NULL
;
4031 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
4032 _resultobj
= Py_BuildValue("s",_ptemp
);
4036 #define wxDragImage_RedrawImage(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->RedrawImage(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4037 static PyObject
*_wrap_wxDragImage_RedrawImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4038 PyObject
* _resultobj
;
4040 wxGenericDragImage
* _arg0
;
4045 PyObject
* _argo0
= 0;
4047 PyObject
* _obj1
= 0;
4049 PyObject
* _obj2
= 0;
4052 char *_kwnames
[] = { "self","oldPos","newPos","eraseOld","drawNew", NULL
};
4055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOii:wxDragImage_RedrawImage",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&tempbool3
,&tempbool4
))
4058 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4059 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
4060 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_RedrawImage. Expected _wxGenericDragImage_p.");
4066 if (! wxPoint_helper(_obj1
, &_arg1
))
4071 if (! wxPoint_helper(_obj2
, &_arg2
))
4074 _arg3
= (bool ) tempbool3
;
4075 _arg4
= (bool ) tempbool4
;
4077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4078 _result
= (bool )wxDragImage_RedrawImage(_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
);
4080 wxPyEndAllowThreads(__tstate
);
4081 if (PyErr_Occurred()) return NULL
;
4082 } _resultobj
= Py_BuildValue("i",_result
);
4086 static void *SwigwxPyTimerTowxObject(void *ptr
) {
4089 src
= (wxPyTimer
*) ptr
;
4090 dest
= (wxObject
*) src
;
4091 return (void *) dest
;
4094 #define new_wxPyTimer(_swigarg0) (new wxPyTimer(_swigarg0))
4095 static PyObject
*_wrap_new_wxPyTimer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4096 PyObject
* _resultobj
;
4097 wxPyTimer
* _result
;
4099 PyObject
* _obj0
= 0;
4100 char *_kwnames
[] = { "notify", NULL
};
4104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxPyTimer",_kwnames
,&_obj0
))
4110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4111 _result
= (wxPyTimer
*)new_wxPyTimer(_arg0
);
4113 wxPyEndAllowThreads(__tstate
);
4114 if (PyErr_Occurred()) return NULL
;
4116 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTimer_p");
4117 _resultobj
= Py_BuildValue("s",_ptemp
);
4120 _resultobj
= Py_None
;
4125 #define delete_wxPyTimer(_swigobj) (delete _swigobj)
4126 static PyObject
*_wrap_delete_wxPyTimer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4127 PyObject
* _resultobj
;
4129 PyObject
* _argo0
= 0;
4130 char *_kwnames
[] = { "self", NULL
};
4133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPyTimer",_kwnames
,&_argo0
))
4136 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4137 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4138 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPyTimer. Expected _wxPyTimer_p.");
4143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4144 delete_wxPyTimer(_arg0
);
4146 wxPyEndAllowThreads(__tstate
);
4147 if (PyErr_Occurred()) return NULL
;
4148 } Py_INCREF(Py_None
);
4149 _resultobj
= Py_None
;
4153 #define wxPyTimer_GetInterval(_swigobj) (_swigobj->GetInterval())
4154 static PyObject
*_wrap_wxPyTimer_GetInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4155 PyObject
* _resultobj
;
4158 PyObject
* _argo0
= 0;
4159 char *_kwnames
[] = { "self", NULL
};
4162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_GetInterval",_kwnames
,&_argo0
))
4165 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4166 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4167 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_GetInterval. Expected _wxPyTimer_p.");
4172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4173 _result
= (int )wxPyTimer_GetInterval(_arg0
);
4175 wxPyEndAllowThreads(__tstate
);
4176 if (PyErr_Occurred()) return NULL
;
4177 } _resultobj
= Py_BuildValue("i",_result
);
4181 #define wxPyTimer_IsOneShot(_swigobj) (_swigobj->IsOneShot())
4182 static PyObject
*_wrap_wxPyTimer_IsOneShot(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4183 PyObject
* _resultobj
;
4186 PyObject
* _argo0
= 0;
4187 char *_kwnames
[] = { "self", NULL
};
4190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_IsOneShot",_kwnames
,&_argo0
))
4193 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4194 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4195 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_IsOneShot. Expected _wxPyTimer_p.");
4200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4201 _result
= (bool )wxPyTimer_IsOneShot(_arg0
);
4203 wxPyEndAllowThreads(__tstate
);
4204 if (PyErr_Occurred()) return NULL
;
4205 } _resultobj
= Py_BuildValue("i",_result
);
4209 #define wxPyTimer_IsRunning(_swigobj) (_swigobj->IsRunning())
4210 static PyObject
*_wrap_wxPyTimer_IsRunning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4211 PyObject
* _resultobj
;
4214 PyObject
* _argo0
= 0;
4215 char *_kwnames
[] = { "self", NULL
};
4218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_IsRunning",_kwnames
,&_argo0
))
4221 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4222 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4223 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_IsRunning. Expected _wxPyTimer_p.");
4228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4229 _result
= (bool )wxPyTimer_IsRunning(_arg0
);
4231 wxPyEndAllowThreads(__tstate
);
4232 if (PyErr_Occurred()) return NULL
;
4233 } _resultobj
= Py_BuildValue("i",_result
);
4237 #define wxPyTimer_SetOwner(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetOwner(_swigarg0,_swigarg1))
4238 static PyObject
*_wrap_wxPyTimer_SetOwner(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4239 PyObject
* _resultobj
;
4241 wxEvtHandler
* _arg1
;
4242 int _arg2
= (int ) -1;
4243 PyObject
* _argo0
= 0;
4244 PyObject
* _argo1
= 0;
4245 char *_kwnames
[] = { "self","owner","id", NULL
};
4248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxPyTimer_SetOwner",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
4251 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4252 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4253 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_SetOwner. Expected _wxPyTimer_p.");
4258 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4259 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
4260 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyTimer_SetOwner. Expected _wxEvtHandler_p.");
4265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4266 wxPyTimer_SetOwner(_arg0
,_arg1
,_arg2
);
4268 wxPyEndAllowThreads(__tstate
);
4269 if (PyErr_Occurred()) return NULL
;
4270 } Py_INCREF(Py_None
);
4271 _resultobj
= Py_None
;
4275 #define wxPyTimer_Start(_swigobj,_swigarg0,_swigarg1) (_swigobj->Start(_swigarg0,_swigarg1))
4276 static PyObject
*_wrap_wxPyTimer_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4277 PyObject
* _resultobj
;
4280 int _arg1
= (int ) -1;
4281 int _arg2
= (int ) FALSE
;
4282 PyObject
* _argo0
= 0;
4283 char *_kwnames
[] = { "self","milliseconds","oneShot", NULL
};
4286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxPyTimer_Start",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4289 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4290 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4291 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_Start. Expected _wxPyTimer_p.");
4296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4297 _result
= (bool )wxPyTimer_Start(_arg0
,_arg1
,_arg2
);
4299 wxPyEndAllowThreads(__tstate
);
4300 if (PyErr_Occurred()) return NULL
;
4301 } _resultobj
= Py_BuildValue("i",_result
);
4305 #define wxPyTimer_Stop(_swigobj) (_swigobj->Stop())
4306 static PyObject
*_wrap_wxPyTimer_Stop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4307 PyObject
* _resultobj
;
4309 PyObject
* _argo0
= 0;
4310 char *_kwnames
[] = { "self", NULL
};
4313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_Stop",_kwnames
,&_argo0
))
4316 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4317 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4318 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_Stop. Expected _wxPyTimer_p.");
4323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4324 wxPyTimer_Stop(_arg0
);
4326 wxPyEndAllowThreads(__tstate
);
4327 if (PyErr_Occurred()) return NULL
;
4328 } Py_INCREF(Py_None
);
4329 _resultobj
= Py_None
;
4333 #define new_wxStopWatch() (new wxStopWatch())
4334 static PyObject
*_wrap_new_wxStopWatch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4335 PyObject
* _resultobj
;
4336 wxStopWatch
* _result
;
4337 char *_kwnames
[] = { NULL
};
4341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxStopWatch",_kwnames
))
4344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4345 _result
= (wxStopWatch
*)new_wxStopWatch();
4347 wxPyEndAllowThreads(__tstate
);
4348 if (PyErr_Occurred()) return NULL
;
4350 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStopWatch_p");
4351 _resultobj
= Py_BuildValue("s",_ptemp
);
4354 _resultobj
= Py_None
;
4359 #define delete_wxStopWatch(_swigobj) (delete _swigobj)
4360 static PyObject
*_wrap_delete_wxStopWatch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4361 PyObject
* _resultobj
;
4362 wxStopWatch
* _arg0
;
4363 PyObject
* _argo0
= 0;
4364 char *_kwnames
[] = { "self", NULL
};
4367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxStopWatch",_kwnames
,&_argo0
))
4370 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4371 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStopWatch_p")) {
4372 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxStopWatch. Expected _wxStopWatch_p.");
4377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4378 delete_wxStopWatch(_arg0
);
4380 wxPyEndAllowThreads(__tstate
);
4381 if (PyErr_Occurred()) return NULL
;
4382 } Py_INCREF(Py_None
);
4383 _resultobj
= Py_None
;
4387 #define wxStopWatch_Start(_swigobj,_swigarg0) (_swigobj->Start(_swigarg0))
4388 static PyObject
*_wrap_wxStopWatch_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4389 PyObject
* _resultobj
;
4390 wxStopWatch
* _arg0
;
4391 long _arg1
= (long ) 0;
4392 PyObject
* _argo0
= 0;
4393 char *_kwnames
[] = { "self","t", NULL
};
4396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|l:wxStopWatch_Start",_kwnames
,&_argo0
,&_arg1
))
4399 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4400 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStopWatch_p")) {
4401 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStopWatch_Start. Expected _wxStopWatch_p.");
4406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4407 wxStopWatch_Start(_arg0
,_arg1
);
4409 wxPyEndAllowThreads(__tstate
);
4410 if (PyErr_Occurred()) return NULL
;
4411 } Py_INCREF(Py_None
);
4412 _resultobj
= Py_None
;
4416 #define wxStopWatch_Pause(_swigobj) (_swigobj->Pause())
4417 static PyObject
*_wrap_wxStopWatch_Pause(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4418 PyObject
* _resultobj
;
4419 wxStopWatch
* _arg0
;
4420 PyObject
* _argo0
= 0;
4421 char *_kwnames
[] = { "self", NULL
};
4424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStopWatch_Pause",_kwnames
,&_argo0
))
4427 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4428 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStopWatch_p")) {
4429 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStopWatch_Pause. Expected _wxStopWatch_p.");
4434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4435 wxStopWatch_Pause(_arg0
);
4437 wxPyEndAllowThreads(__tstate
);
4438 if (PyErr_Occurred()) return NULL
;
4439 } Py_INCREF(Py_None
);
4440 _resultobj
= Py_None
;
4444 #define wxStopWatch_Resume(_swigobj) (_swigobj->Resume())
4445 static PyObject
*_wrap_wxStopWatch_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4446 PyObject
* _resultobj
;
4447 wxStopWatch
* _arg0
;
4448 PyObject
* _argo0
= 0;
4449 char *_kwnames
[] = { "self", NULL
};
4452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStopWatch_Resume",_kwnames
,&_argo0
))
4455 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4456 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStopWatch_p")) {
4457 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStopWatch_Resume. Expected _wxStopWatch_p.");
4462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4463 wxStopWatch_Resume(_arg0
);
4465 wxPyEndAllowThreads(__tstate
);
4466 if (PyErr_Occurred()) return NULL
;
4467 } Py_INCREF(Py_None
);
4468 _resultobj
= Py_None
;
4472 #define wxStopWatch_Time(_swigobj) (_swigobj->Time())
4473 static PyObject
*_wrap_wxStopWatch_Time(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4474 PyObject
* _resultobj
;
4476 wxStopWatch
* _arg0
;
4477 PyObject
* _argo0
= 0;
4478 char *_kwnames
[] = { "self", NULL
};
4481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStopWatch_Time",_kwnames
,&_argo0
))
4484 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4485 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStopWatch_p")) {
4486 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStopWatch_Time. Expected _wxStopWatch_p.");
4491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4492 _result
= (long )wxStopWatch_Time(_arg0
);
4494 wxPyEndAllowThreads(__tstate
);
4495 if (PyErr_Occurred()) return NULL
;
4496 } _resultobj
= Py_BuildValue("l",_result
);
4500 #define new_wxLog() (new wxLog())
4501 static PyObject
*_wrap_new_wxLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4502 PyObject
* _resultobj
;
4504 char *_kwnames
[] = { NULL
};
4508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLog",_kwnames
))
4511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4512 _result
= (wxLog
*)new_wxLog();
4514 wxPyEndAllowThreads(__tstate
);
4515 if (PyErr_Occurred()) return NULL
;
4517 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
4518 _resultobj
= Py_BuildValue("s",_ptemp
);
4521 _resultobj
= Py_None
;
4526 static PyObject
*_wrap_wxLog_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4527 PyObject
* _resultobj
;
4529 char *_kwnames
[] = { NULL
};
4532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_IsEnabled",_kwnames
))
4535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4536 _result
= (bool )wxLog::IsEnabled();
4538 wxPyEndAllowThreads(__tstate
);
4539 if (PyErr_Occurred()) return NULL
;
4540 } _resultobj
= Py_BuildValue("i",_result
);
4544 static PyObject
*_wrap_wxLog_EnableLogging(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4545 PyObject
* _resultobj
;
4547 bool _arg0
= (bool ) TRUE
;
4548 int tempbool0
= (int) TRUE
;
4549 char *_kwnames
[] = { "doIt", NULL
};
4552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:wxLog_EnableLogging",_kwnames
,&tempbool0
))
4554 _arg0
= (bool ) tempbool0
;
4556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4557 _result
= (bool )wxLog::EnableLogging(_arg0
);
4559 wxPyEndAllowThreads(__tstate
);
4560 if (PyErr_Occurred()) return NULL
;
4561 } _resultobj
= Py_BuildValue("i",_result
);
4565 static PyObject
*_wrap_wxLog_OnLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4566 PyObject
* _resultobj
;
4567 unsigned long _arg0
;
4569 int _arg2
= (int ) 0;
4570 PyObject
* _obj1
= 0;
4571 char *_kwnames
[] = { "level","szString","t", NULL
};
4574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"lO|i:wxLog_OnLog",_kwnames
,&_arg0
,&_obj1
,&_arg2
))
4577 _arg1
= wxString_in_helper(_obj1
);
4582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4583 wxLog::OnLog(_arg0
,*_arg1
,_arg2
);
4585 wxPyEndAllowThreads(__tstate
);
4586 if (PyErr_Occurred()) return NULL
;
4587 } Py_INCREF(Py_None
);
4588 _resultobj
= Py_None
;
4596 #define wxLog_Flush(_swigobj) (_swigobj->Flush())
4597 static PyObject
*_wrap_wxLog_Flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4598 PyObject
* _resultobj
;
4600 PyObject
* _argo0
= 0;
4601 char *_kwnames
[] = { "self", NULL
};
4604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_Flush",_kwnames
,&_argo0
))
4607 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4608 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
4609 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_Flush. Expected _wxLog_p.");
4614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4617 wxPyEndAllowThreads(__tstate
);
4618 if (PyErr_Occurred()) return NULL
;
4619 } Py_INCREF(Py_None
);
4620 _resultobj
= Py_None
;
4624 static PyObject
*_wrap_wxLog_FlushActive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4625 PyObject
* _resultobj
;
4626 char *_kwnames
[] = { NULL
};
4629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_FlushActive",_kwnames
))
4632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4633 wxLog::FlushActive();
4635 wxPyEndAllowThreads(__tstate
);
4636 if (PyErr_Occurred()) return NULL
;
4637 } Py_INCREF(Py_None
);
4638 _resultobj
= Py_None
;
4642 static PyObject
*_wrap_wxLog_GetActiveTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4643 PyObject
* _resultobj
;
4645 char *_kwnames
[] = { NULL
};
4649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_GetActiveTarget",_kwnames
))
4652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4653 _result
= (wxLog
*)wxLog::GetActiveTarget();
4655 wxPyEndAllowThreads(__tstate
);
4656 if (PyErr_Occurred()) return NULL
;
4658 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
4659 _resultobj
= Py_BuildValue("s",_ptemp
);
4662 _resultobj
= Py_None
;
4667 static PyObject
*_wrap_wxLog_SetActiveTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4668 PyObject
* _resultobj
;
4671 PyObject
* _argo0
= 0;
4672 char *_kwnames
[] = { "pLogger", NULL
};
4676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_SetActiveTarget",_kwnames
,&_argo0
))
4679 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4680 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
4681 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_SetActiveTarget. Expected _wxLog_p.");
4686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4687 _result
= (wxLog
*)wxLog::SetActiveTarget(_arg0
);
4689 wxPyEndAllowThreads(__tstate
);
4690 if (PyErr_Occurred()) return NULL
;
4692 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
4693 _resultobj
= Py_BuildValue("s",_ptemp
);
4696 _resultobj
= Py_None
;
4701 static PyObject
*_wrap_wxLog_Suspend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4702 PyObject
* _resultobj
;
4703 char *_kwnames
[] = { NULL
};
4706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_Suspend",_kwnames
))
4709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4712 wxPyEndAllowThreads(__tstate
);
4713 if (PyErr_Occurred()) return NULL
;
4714 } Py_INCREF(Py_None
);
4715 _resultobj
= Py_None
;
4719 static PyObject
*_wrap_wxLog_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4720 PyObject
* _resultobj
;
4721 char *_kwnames
[] = { NULL
};
4724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_Resume",_kwnames
))
4727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4730 wxPyEndAllowThreads(__tstate
);
4731 if (PyErr_Occurred()) return NULL
;
4732 } Py_INCREF(Py_None
);
4733 _resultobj
= Py_None
;
4737 static PyObject
*_wrap_wxLog_SetVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4738 PyObject
* _resultobj
;
4739 bool _arg0
= (bool ) TRUE
;
4740 int tempbool0
= (int) TRUE
;
4741 char *_kwnames
[] = { "bVerbose", NULL
};
4744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:wxLog_SetVerbose",_kwnames
,&tempbool0
))
4746 _arg0
= (bool ) tempbool0
;
4748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4749 wxLog::SetVerbose(_arg0
);
4751 wxPyEndAllowThreads(__tstate
);
4752 if (PyErr_Occurred()) return NULL
;
4753 } Py_INCREF(Py_None
);
4754 _resultobj
= Py_None
;
4758 static PyObject
*_wrap_wxLog_DontCreateOnDemand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4759 PyObject
* _resultobj
;
4760 char *_kwnames
[] = { NULL
};
4763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_DontCreateOnDemand",_kwnames
))
4766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4767 wxLog::DontCreateOnDemand();
4769 wxPyEndAllowThreads(__tstate
);
4770 if (PyErr_Occurred()) return NULL
;
4771 } Py_INCREF(Py_None
);
4772 _resultobj
= Py_None
;
4776 static PyObject
*_wrap_wxLog_SetTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4777 PyObject
* _resultobj
;
4779 char *_kwnames
[] = { "ulMask", NULL
};
4782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:wxLog_SetTraceMask",_kwnames
,&_arg0
))
4785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4786 wxLog::SetTraceMask(_arg0
);
4788 wxPyEndAllowThreads(__tstate
);
4789 if (PyErr_Occurred()) return NULL
;
4790 } Py_INCREF(Py_None
);
4791 _resultobj
= Py_None
;
4795 static PyObject
*_wrap_wxLog_AddTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4796 PyObject
* _resultobj
;
4798 PyObject
* _obj0
= 0;
4799 char *_kwnames
[] = { "str", NULL
};
4802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_AddTraceMask",_kwnames
,&_obj0
))
4805 _arg0
= wxString_in_helper(_obj0
);
4810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4811 wxLog::AddTraceMask(*_arg0
);
4813 wxPyEndAllowThreads(__tstate
);
4814 if (PyErr_Occurred()) return NULL
;
4815 } Py_INCREF(Py_None
);
4816 _resultobj
= Py_None
;
4824 static PyObject
*_wrap_wxLog_RemoveTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4825 PyObject
* _resultobj
;
4827 PyObject
* _obj0
= 0;
4828 char *_kwnames
[] = { "str", NULL
};
4831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_RemoveTraceMask",_kwnames
,&_obj0
))
4834 _arg0
= wxString_in_helper(_obj0
);
4839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4840 wxLog::RemoveTraceMask(*_arg0
);
4842 wxPyEndAllowThreads(__tstate
);
4843 if (PyErr_Occurred()) return NULL
;
4844 } Py_INCREF(Py_None
);
4845 _resultobj
= Py_None
;
4853 static PyObject
*_wrap_wxLog_ClearTraceMasks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4854 PyObject
* _resultobj
;
4855 char *_kwnames
[] = { NULL
};
4858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_ClearTraceMasks",_kwnames
))
4861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4862 wxLog::ClearTraceMasks();
4864 wxPyEndAllowThreads(__tstate
);
4865 if (PyErr_Occurred()) return NULL
;
4866 } Py_INCREF(Py_None
);
4867 _resultobj
= Py_None
;
4871 static PyObject
*_wrap_wxLog_GetTraceMasks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4872 PyObject
* _resultobj
;
4873 wxArrayString
* _result
;
4874 char *_kwnames
[] = { NULL
};
4878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_GetTraceMasks",_kwnames
))
4881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4882 const wxArrayString
& _result_ref
= wxLog::GetTraceMasks();
4883 _result
= (wxArrayString
*) &_result_ref
;
4885 wxPyEndAllowThreads(__tstate
);
4886 if (PyErr_Occurred()) return NULL
;
4888 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxArrayString_p");
4889 _resultobj
= Py_BuildValue("s",_ptemp
);
4892 _resultobj
= Py_None
;
4897 static PyObject
*_wrap_wxLog_SetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4898 PyObject
* _resultobj
;
4900 PyObject
* _obj0
= 0;
4901 char *_kwnames
[] = { "ts", NULL
};
4904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_SetTimestamp",_kwnames
,&_obj0
))
4907 _arg0
= wxString_in_helper(_obj0
);
4912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4913 wxLog::SetTimestamp(*_arg0
);
4915 wxPyEndAllowThreads(__tstate
);
4916 if (PyErr_Occurred()) return NULL
;
4917 } Py_INCREF(Py_None
);
4918 _resultobj
= Py_None
;
4926 static PyObject
*_wrap_wxLog_GetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4927 PyObject
* _resultobj
;
4929 char *_kwnames
[] = { NULL
};
4932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_GetTimestamp",_kwnames
))
4935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4936 const wxString
& _result_ref
= wxLog::GetTimestamp();
4937 _result
= (wxString
*) &_result_ref
;
4939 wxPyEndAllowThreads(__tstate
);
4940 if (PyErr_Occurred()) return NULL
;
4943 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
4945 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
4951 #define wxLog_GetVerbose(_swigobj) (_swigobj->GetVerbose())
4952 static PyObject
*_wrap_wxLog_GetVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4953 PyObject
* _resultobj
;
4956 PyObject
* _argo0
= 0;
4957 char *_kwnames
[] = { "self", NULL
};
4960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_GetVerbose",_kwnames
,&_argo0
))
4963 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4964 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
4965 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_GetVerbose. Expected _wxLog_p.");
4970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4971 _result
= (bool )wxLog_GetVerbose(_arg0
);
4973 wxPyEndAllowThreads(__tstate
);
4974 if (PyErr_Occurred()) return NULL
;
4975 } _resultobj
= Py_BuildValue("i",_result
);
4979 static PyObject
*_wrap_wxLog_GetTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4980 PyObject
* _resultobj
;
4981 unsigned long _result
;
4982 char *_kwnames
[] = { NULL
};
4985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_GetTraceMask",_kwnames
))
4988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4989 _result
= (unsigned long )wxLog::GetTraceMask();
4991 wxPyEndAllowThreads(__tstate
);
4992 if (PyErr_Occurred()) return NULL
;
4993 } _resultobj
= Py_BuildValue("l",_result
);
4997 static PyObject
*_wrap_wxLog_IsAllowedTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4998 PyObject
* _resultobj
;
5001 PyObject
* _obj0
= 0;
5002 char *_kwnames
[] = { "mask", NULL
};
5005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_IsAllowedTraceMask",_kwnames
,&_obj0
))
5008 _arg0
= wxString_in_helper(_obj0
);
5013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5014 _result
= (bool )wxLog::IsAllowedTraceMask(*_arg0
);
5016 wxPyEndAllowThreads(__tstate
);
5017 if (PyErr_Occurred()) return NULL
;
5018 } _resultobj
= Py_BuildValue("i",_result
);
5026 static PyObject
*_wrap_wxLog_SetLogLevel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5027 PyObject
* _resultobj
;
5028 unsigned long _arg0
;
5029 char *_kwnames
[] = { "logLevel", NULL
};
5032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:wxLog_SetLogLevel",_kwnames
,&_arg0
))
5035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5036 wxLog::SetLogLevel(_arg0
);
5038 wxPyEndAllowThreads(__tstate
);
5039 if (PyErr_Occurred()) return NULL
;
5040 } Py_INCREF(Py_None
);
5041 _resultobj
= Py_None
;
5045 static PyObject
*_wrap_wxLog_GetLogLevel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5046 PyObject
* _resultobj
;
5047 unsigned long _result
;
5048 char *_kwnames
[] = { NULL
};
5051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_GetLogLevel",_kwnames
))
5054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5055 _result
= (unsigned long )wxLog::GetLogLevel();
5057 wxPyEndAllowThreads(__tstate
);
5058 if (PyErr_Occurred()) return NULL
;
5059 } _resultobj
= Py_BuildValue("l",_result
);
5063 static wxString
wxLog_TimeStamp(wxLog
*self
) {
5065 wxLog::TimeStamp(&msg
);
5068 static PyObject
*_wrap_wxLog_TimeStamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5069 PyObject
* _resultobj
;
5072 PyObject
* _argo0
= 0;
5073 char *_kwnames
[] = { "self", NULL
};
5076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_TimeStamp",_kwnames
,&_argo0
))
5079 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5080 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
5081 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_TimeStamp. Expected _wxLog_p.");
5086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5087 _result
= new wxString (wxLog_TimeStamp(_arg0
));
5089 wxPyEndAllowThreads(__tstate
);
5090 if (PyErr_Occurred()) return NULL
;
5093 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
5095 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5104 static void *SwigwxLogStderrTowxLog(void *ptr
) {
5107 src
= (wxLogStderr
*) ptr
;
5108 dest
= (wxLog
*) src
;
5109 return (void *) dest
;
5112 #define new_wxLogStderr() (new wxLogStderr())
5113 static PyObject
*_wrap_new_wxLogStderr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5114 PyObject
* _resultobj
;
5115 wxLogStderr
* _result
;
5116 char *_kwnames
[] = { NULL
};
5120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLogStderr",_kwnames
))
5123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5124 _result
= (wxLogStderr
*)new_wxLogStderr();
5126 wxPyEndAllowThreads(__tstate
);
5127 if (PyErr_Occurred()) return NULL
;
5129 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogStderr_p");
5130 _resultobj
= Py_BuildValue("s",_ptemp
);
5133 _resultobj
= Py_None
;
5138 static void *SwigwxLogTextCtrlTowxLog(void *ptr
) {
5141 src
= (wxLogTextCtrl
*) ptr
;
5142 dest
= (wxLog
*) src
;
5143 return (void *) dest
;
5146 #define new_wxLogTextCtrl(_swigarg0) (new wxLogTextCtrl(_swigarg0))
5147 static PyObject
*_wrap_new_wxLogTextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5148 PyObject
* _resultobj
;
5149 wxLogTextCtrl
* _result
;
5151 PyObject
* _argo0
= 0;
5152 char *_kwnames
[] = { "pTextCtrl", NULL
};
5156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxLogTextCtrl",_kwnames
,&_argo0
))
5159 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5160 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
5161 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxLogTextCtrl. Expected _wxTextCtrl_p.");
5166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5167 _result
= (wxLogTextCtrl
*)new_wxLogTextCtrl(_arg0
);
5169 wxPyEndAllowThreads(__tstate
);
5170 if (PyErr_Occurred()) return NULL
;
5172 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogTextCtrl_p");
5173 _resultobj
= Py_BuildValue("s",_ptemp
);
5176 _resultobj
= Py_None
;
5181 static void *SwigwxLogGuiTowxLog(void *ptr
) {
5184 src
= (wxLogGui
*) ptr
;
5185 dest
= (wxLog
*) src
;
5186 return (void *) dest
;
5189 #define new_wxLogGui() (new wxLogGui())
5190 static PyObject
*_wrap_new_wxLogGui(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5191 PyObject
* _resultobj
;
5193 char *_kwnames
[] = { NULL
};
5197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLogGui",_kwnames
))
5200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5201 _result
= (wxLogGui
*)new_wxLogGui();
5203 wxPyEndAllowThreads(__tstate
);
5204 if (PyErr_Occurred()) return NULL
;
5206 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogGui_p");
5207 _resultobj
= Py_BuildValue("s",_ptemp
);
5210 _resultobj
= Py_None
;
5215 static void *SwigwxLogWindowTowxLog(void *ptr
) {
5218 src
= (wxLogWindow
*) ptr
;
5219 dest
= (wxLog
*) src
;
5220 return (void *) dest
;
5223 #define new_wxLogWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxLogWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5224 static PyObject
*_wrap_new_wxLogWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5225 PyObject
* _resultobj
;
5226 wxLogWindow
* _result
;
5229 bool _arg2
= (bool ) TRUE
;
5230 bool _arg3
= (bool ) TRUE
;
5231 PyObject
* _argo0
= 0;
5232 PyObject
* _obj1
= 0;
5233 int tempbool2
= (int) TRUE
;
5234 int tempbool3
= (int) TRUE
;
5235 char *_kwnames
[] = { "pParent","szTitle","bShow","bPassToOld", NULL
};
5239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|ii:new_wxLogWindow",_kwnames
,&_argo0
,&_obj1
,&tempbool2
,&tempbool3
))
5242 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5243 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
5244 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxLogWindow. Expected _wxFrame_p.");
5249 _arg1
= wxString_in_helper(_obj1
);
5253 _arg2
= (bool ) tempbool2
;
5254 _arg3
= (bool ) tempbool3
;
5256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5257 _result
= (wxLogWindow
*)new_wxLogWindow(_arg0
,*_arg1
,_arg2
,_arg3
);
5259 wxPyEndAllowThreads(__tstate
);
5260 if (PyErr_Occurred()) return NULL
;
5262 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogWindow_p");
5263 _resultobj
= Py_BuildValue("s",_ptemp
);
5266 _resultobj
= Py_None
;
5275 #define wxLogWindow_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
5276 static PyObject
*_wrap_wxLogWindow_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5277 PyObject
* _resultobj
;
5278 wxLogWindow
* _arg0
;
5279 bool _arg1
= (bool ) TRUE
;
5280 PyObject
* _argo0
= 0;
5281 int tempbool1
= (int) TRUE
;
5282 char *_kwnames
[] = { "self","bShow", NULL
};
5285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxLogWindow_Show",_kwnames
,&_argo0
,&tempbool1
))
5288 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5289 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
5290 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_Show. Expected _wxLogWindow_p.");
5294 _arg1
= (bool ) tempbool1
;
5296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5297 wxLogWindow_Show(_arg0
,_arg1
);
5299 wxPyEndAllowThreads(__tstate
);
5300 if (PyErr_Occurred()) return NULL
;
5301 } Py_INCREF(Py_None
);
5302 _resultobj
= Py_None
;
5306 #define wxLogWindow_GetFrame(_swigobj) (_swigobj->GetFrame())
5307 static PyObject
*_wrap_wxLogWindow_GetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5308 PyObject
* _resultobj
;
5310 wxLogWindow
* _arg0
;
5311 PyObject
* _argo0
= 0;
5312 char *_kwnames
[] = { "self", NULL
};
5315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogWindow_GetFrame",_kwnames
,&_argo0
))
5318 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5319 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
5320 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_GetFrame. Expected _wxLogWindow_p.");
5325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5326 _result
= (wxFrame
*)wxLogWindow_GetFrame(_arg0
);
5328 wxPyEndAllowThreads(__tstate
);
5329 if (PyErr_Occurred()) return NULL
;
5330 }{ _resultobj
= wxPyMake_wxObject(_result
); }
5334 #define wxLogWindow_GetOldLog(_swigobj) (_swigobj->GetOldLog())
5335 static PyObject
*_wrap_wxLogWindow_GetOldLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5336 PyObject
* _resultobj
;
5338 wxLogWindow
* _arg0
;
5339 PyObject
* _argo0
= 0;
5340 char *_kwnames
[] = { "self", NULL
};
5344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogWindow_GetOldLog",_kwnames
,&_argo0
))
5347 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5348 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
5349 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_GetOldLog. Expected _wxLogWindow_p.");
5354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5355 _result
= (wxLog
*)wxLogWindow_GetOldLog(_arg0
);
5357 wxPyEndAllowThreads(__tstate
);
5358 if (PyErr_Occurred()) return NULL
;
5360 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
5361 _resultobj
= Py_BuildValue("s",_ptemp
);
5364 _resultobj
= Py_None
;
5369 #define wxLogWindow_IsPassingMessages(_swigobj) (_swigobj->IsPassingMessages())
5370 static PyObject
*_wrap_wxLogWindow_IsPassingMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5371 PyObject
* _resultobj
;
5373 wxLogWindow
* _arg0
;
5374 PyObject
* _argo0
= 0;
5375 char *_kwnames
[] = { "self", NULL
};
5378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogWindow_IsPassingMessages",_kwnames
,&_argo0
))
5381 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5382 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
5383 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_IsPassingMessages. Expected _wxLogWindow_p.");
5388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5389 _result
= (bool )wxLogWindow_IsPassingMessages(_arg0
);
5391 wxPyEndAllowThreads(__tstate
);
5392 if (PyErr_Occurred()) return NULL
;
5393 } _resultobj
= Py_BuildValue("i",_result
);
5397 #define wxLogWindow_PassMessages(_swigobj,_swigarg0) (_swigobj->PassMessages(_swigarg0))
5398 static PyObject
*_wrap_wxLogWindow_PassMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5399 PyObject
* _resultobj
;
5400 wxLogWindow
* _arg0
;
5402 PyObject
* _argo0
= 0;
5404 char *_kwnames
[] = { "self","bDoPass", NULL
};
5407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxLogWindow_PassMessages",_kwnames
,&_argo0
,&tempbool1
))
5410 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5411 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
5412 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_PassMessages. Expected _wxLogWindow_p.");
5416 _arg1
= (bool ) tempbool1
;
5418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5419 wxLogWindow_PassMessages(_arg0
,_arg1
);
5421 wxPyEndAllowThreads(__tstate
);
5422 if (PyErr_Occurred()) return NULL
;
5423 } Py_INCREF(Py_None
);
5424 _resultobj
= Py_None
;
5428 static void *SwigwxLogChainTowxLog(void *ptr
) {
5431 src
= (wxLogChain
*) ptr
;
5432 dest
= (wxLog
*) src
;
5433 return (void *) dest
;
5436 #define new_wxLogChain(_swigarg0) (new wxLogChain(_swigarg0))
5437 static PyObject
*_wrap_new_wxLogChain(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5438 PyObject
* _resultobj
;
5439 wxLogChain
* _result
;
5441 PyObject
* _argo0
= 0;
5442 char *_kwnames
[] = { "logger", NULL
};
5446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxLogChain",_kwnames
,&_argo0
))
5449 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5450 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
5451 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxLogChain. Expected _wxLog_p.");
5456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5457 _result
= (wxLogChain
*)new_wxLogChain(_arg0
);
5459 wxPyEndAllowThreads(__tstate
);
5460 if (PyErr_Occurred()) return NULL
;
5462 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogChain_p");
5463 _resultobj
= Py_BuildValue("s",_ptemp
);
5466 _resultobj
= Py_None
;
5471 #define wxLogChain_SetLog(_swigobj,_swigarg0) (_swigobj->SetLog(_swigarg0))
5472 static PyObject
*_wrap_wxLogChain_SetLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5473 PyObject
* _resultobj
;
5476 PyObject
* _argo0
= 0;
5477 PyObject
* _argo1
= 0;
5478 char *_kwnames
[] = { "self","logger", NULL
};
5481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxLogChain_SetLog",_kwnames
,&_argo0
,&_argo1
))
5484 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5485 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogChain_p")) {
5486 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogChain_SetLog. Expected _wxLogChain_p.");
5491 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5492 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxLog_p")) {
5493 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxLogChain_SetLog. Expected _wxLog_p.");
5498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5499 wxLogChain_SetLog(_arg0
,_arg1
);
5501 wxPyEndAllowThreads(__tstate
);
5502 if (PyErr_Occurred()) return NULL
;
5503 } Py_INCREF(Py_None
);
5504 _resultobj
= Py_None
;
5508 #define wxLogChain_PassMessages(_swigobj,_swigarg0) (_swigobj->PassMessages(_swigarg0))
5509 static PyObject
*_wrap_wxLogChain_PassMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5510 PyObject
* _resultobj
;
5513 PyObject
* _argo0
= 0;
5515 char *_kwnames
[] = { "self","bDoPass", NULL
};
5518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxLogChain_PassMessages",_kwnames
,&_argo0
,&tempbool1
))
5521 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5522 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogChain_p")) {
5523 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogChain_PassMessages. Expected _wxLogChain_p.");
5527 _arg1
= (bool ) tempbool1
;
5529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5530 wxLogChain_PassMessages(_arg0
,_arg1
);
5532 wxPyEndAllowThreads(__tstate
);
5533 if (PyErr_Occurred()) return NULL
;
5534 } Py_INCREF(Py_None
);
5535 _resultobj
= Py_None
;
5539 #define wxLogChain_IsPassingMessages(_swigobj) (_swigobj->IsPassingMessages())
5540 static PyObject
*_wrap_wxLogChain_IsPassingMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5541 PyObject
* _resultobj
;
5544 PyObject
* _argo0
= 0;
5545 char *_kwnames
[] = { "self", NULL
};
5548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogChain_IsPassingMessages",_kwnames
,&_argo0
))
5551 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5552 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogChain_p")) {
5553 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogChain_IsPassingMessages. Expected _wxLogChain_p.");
5558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5559 _result
= (bool )wxLogChain_IsPassingMessages(_arg0
);
5561 wxPyEndAllowThreads(__tstate
);
5562 if (PyErr_Occurred()) return NULL
;
5563 } _resultobj
= Py_BuildValue("i",_result
);
5567 #define wxLogChain_GetOldLog(_swigobj) (_swigobj->GetOldLog())
5568 static PyObject
*_wrap_wxLogChain_GetOldLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5569 PyObject
* _resultobj
;
5572 PyObject
* _argo0
= 0;
5573 char *_kwnames
[] = { "self", NULL
};
5577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogChain_GetOldLog",_kwnames
,&_argo0
))
5580 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5581 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogChain_p")) {
5582 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogChain_GetOldLog. Expected _wxLogChain_p.");
5587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5588 _result
= (wxLog
*)wxLogChain_GetOldLog(_arg0
);
5590 wxPyEndAllowThreads(__tstate
);
5591 if (PyErr_Occurred()) return NULL
;
5593 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
5594 _resultobj
= Py_BuildValue("s",_ptemp
);
5597 _resultobj
= Py_None
;
5602 #define new_wxLogNull() (new wxLogNull())
5603 static PyObject
*_wrap_new_wxLogNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5604 PyObject
* _resultobj
;
5605 wxLogNull
* _result
;
5606 char *_kwnames
[] = { NULL
};
5610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLogNull",_kwnames
))
5613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5614 _result
= (wxLogNull
*)new_wxLogNull();
5616 wxPyEndAllowThreads(__tstate
);
5617 if (PyErr_Occurred()) return NULL
;
5619 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogNull_p");
5620 _resultobj
= Py_BuildValue("s",_ptemp
);
5623 _resultobj
= Py_None
;
5628 #define delete_wxLogNull(_swigobj) (delete _swigobj)
5629 static PyObject
*_wrap_delete_wxLogNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5630 PyObject
* _resultobj
;
5632 PyObject
* _argo0
= 0;
5633 char *_kwnames
[] = { "self", NULL
};
5636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxLogNull",_kwnames
,&_argo0
))
5639 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5640 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogNull_p")) {
5641 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxLogNull. Expected _wxLogNull_p.");
5646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5647 delete_wxLogNull(_arg0
);
5649 wxPyEndAllowThreads(__tstate
);
5650 if (PyErr_Occurred()) return NULL
;
5651 } Py_INCREF(Py_None
);
5652 _resultobj
= Py_None
;
5656 static void *SwigwxPyLogTowxLog(void *ptr
) {
5659 src
= (wxPyLog
*) ptr
;
5660 dest
= (wxLog
*) src
;
5661 return (void *) dest
;
5664 #define new_wxPyLog() (new wxPyLog())
5665 static PyObject
*_wrap_new_wxPyLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5666 PyObject
* _resultobj
;
5668 char *_kwnames
[] = { NULL
};
5672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPyLog",_kwnames
))
5675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5676 _result
= (wxPyLog
*)new_wxPyLog();
5678 wxPyEndAllowThreads(__tstate
);
5679 if (PyErr_Occurred()) return NULL
;
5681 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyLog_p");
5682 _resultobj
= Py_BuildValue("s",_ptemp
);
5685 _resultobj
= Py_None
;
5690 #define wxPyLog__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
5691 static PyObject
*_wrap_wxPyLog__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5692 PyObject
* _resultobj
;
5696 PyObject
* _argo0
= 0;
5697 PyObject
* _obj1
= 0;
5698 PyObject
* _obj2
= 0;
5699 char *_kwnames
[] = { "self","self","_class", NULL
};
5702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyLog__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
5705 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5706 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLog_p")) {
5707 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLog__setCallbackInfo. Expected _wxPyLog_p.");
5718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5719 wxPyLog__setCallbackInfo(_arg0
,_arg1
,_arg2
);
5721 wxPyEndAllowThreads(__tstate
);
5722 if (PyErr_Occurred()) return NULL
;
5723 } Py_INCREF(Py_None
);
5724 _resultobj
= Py_None
;
5728 static void wxPyLog_Destroy(wxPyLog
*self
) { delete self
; }
5729 static PyObject
*_wrap_wxPyLog_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5730 PyObject
* _resultobj
;
5732 PyObject
* _argo0
= 0;
5733 char *_kwnames
[] = { "self", NULL
};
5736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyLog_Destroy",_kwnames
,&_argo0
))
5739 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5740 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLog_p")) {
5741 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLog_Destroy. Expected _wxPyLog_p.");
5746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5747 wxPyLog_Destroy(_arg0
);
5749 wxPyEndAllowThreads(__tstate
);
5750 if (PyErr_Occurred()) return NULL
;
5751 } Py_INCREF(Py_None
);
5752 _resultobj
= Py_None
;
5756 static void *SwigwxProcessEventTowxEvent(void *ptr
) {
5757 wxProcessEvent
*src
;
5759 src
= (wxProcessEvent
*) ptr
;
5760 dest
= (wxEvent
*) src
;
5761 return (void *) dest
;
5764 static void *SwigwxProcessEventTowxObject(void *ptr
) {
5765 wxProcessEvent
*src
;
5767 src
= (wxProcessEvent
*) ptr
;
5768 dest
= (wxObject
*) src
;
5769 return (void *) dest
;
5772 #define new_wxProcessEvent(_swigarg0,_swigarg1,_swigarg2) (new wxProcessEvent(_swigarg0,_swigarg1,_swigarg2))
5773 static PyObject
*_wrap_new_wxProcessEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5774 PyObject
* _resultobj
;
5775 wxProcessEvent
* _result
;
5776 int _arg0
= (int ) 0;
5777 int _arg1
= (int ) 0;
5778 int _arg2
= (int ) 0;
5779 char *_kwnames
[] = { "id","pid","exitcode", NULL
};
5783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iii:new_wxProcessEvent",_kwnames
,&_arg0
,&_arg1
,&_arg2
))
5786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5787 _result
= (wxProcessEvent
*)new_wxProcessEvent(_arg0
,_arg1
,_arg2
);
5789 wxPyEndAllowThreads(__tstate
);
5790 if (PyErr_Occurred()) return NULL
;
5792 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxProcessEvent_p");
5793 _resultobj
= Py_BuildValue("s",_ptemp
);
5796 _resultobj
= Py_None
;
5801 #define wxProcessEvent_GetPid(_swigobj) (_swigobj->GetPid())
5802 static PyObject
*_wrap_wxProcessEvent_GetPid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5803 PyObject
* _resultobj
;
5805 wxProcessEvent
* _arg0
;
5806 PyObject
* _argo0
= 0;
5807 char *_kwnames
[] = { "self", NULL
};
5810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcessEvent_GetPid",_kwnames
,&_argo0
))
5813 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5814 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
5815 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_GetPid. Expected _wxProcessEvent_p.");
5820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5821 _result
= (int )wxProcessEvent_GetPid(_arg0
);
5823 wxPyEndAllowThreads(__tstate
);
5824 if (PyErr_Occurred()) return NULL
;
5825 } _resultobj
= Py_BuildValue("i",_result
);
5829 #define wxProcessEvent_GetExitCode(_swigobj) (_swigobj->GetExitCode())
5830 static PyObject
*_wrap_wxProcessEvent_GetExitCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5831 PyObject
* _resultobj
;
5833 wxProcessEvent
* _arg0
;
5834 PyObject
* _argo0
= 0;
5835 char *_kwnames
[] = { "self", NULL
};
5838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcessEvent_GetExitCode",_kwnames
,&_argo0
))
5841 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5842 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
5843 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_GetExitCode. Expected _wxProcessEvent_p.");
5848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5849 _result
= (int )wxProcessEvent_GetExitCode(_arg0
);
5851 wxPyEndAllowThreads(__tstate
);
5852 if (PyErr_Occurred()) return NULL
;
5853 } _resultobj
= Py_BuildValue("i",_result
);
5857 #define wxProcessEvent_m_pid_set(_swigobj,_swigval) (_swigobj->m_pid = _swigval,_swigval)
5858 static PyObject
*_wrap_wxProcessEvent_m_pid_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5859 PyObject
* _resultobj
;
5861 wxProcessEvent
* _arg0
;
5863 PyObject
* _argo0
= 0;
5864 char *_kwnames
[] = { "self","m_pid", NULL
};
5867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxProcessEvent_m_pid_set",_kwnames
,&_argo0
,&_arg1
))
5870 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5871 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
5872 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_m_pid_set. Expected _wxProcessEvent_p.");
5877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5878 _result
= (int )wxProcessEvent_m_pid_set(_arg0
,_arg1
);
5880 wxPyEndAllowThreads(__tstate
);
5881 if (PyErr_Occurred()) return NULL
;
5882 } _resultobj
= Py_BuildValue("i",_result
);
5886 #define wxProcessEvent_m_pid_get(_swigobj) ((int ) _swigobj->m_pid)
5887 static PyObject
*_wrap_wxProcessEvent_m_pid_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5888 PyObject
* _resultobj
;
5890 wxProcessEvent
* _arg0
;
5891 PyObject
* _argo0
= 0;
5892 char *_kwnames
[] = { "self", NULL
};
5895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcessEvent_m_pid_get",_kwnames
,&_argo0
))
5898 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5899 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
5900 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_m_pid_get. Expected _wxProcessEvent_p.");
5905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5906 _result
= (int )wxProcessEvent_m_pid_get(_arg0
);
5908 wxPyEndAllowThreads(__tstate
);
5909 if (PyErr_Occurred()) return NULL
;
5910 } _resultobj
= Py_BuildValue("i",_result
);
5914 #define wxProcessEvent_m_exitcode_set(_swigobj,_swigval) (_swigobj->m_exitcode = _swigval,_swigval)
5915 static PyObject
*_wrap_wxProcessEvent_m_exitcode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5916 PyObject
* _resultobj
;
5918 wxProcessEvent
* _arg0
;
5920 PyObject
* _argo0
= 0;
5921 char *_kwnames
[] = { "self","m_exitcode", NULL
};
5924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxProcessEvent_m_exitcode_set",_kwnames
,&_argo0
,&_arg1
))
5927 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5928 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
5929 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_m_exitcode_set. Expected _wxProcessEvent_p.");
5934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5935 _result
= (int )wxProcessEvent_m_exitcode_set(_arg0
,_arg1
);
5937 wxPyEndAllowThreads(__tstate
);
5938 if (PyErr_Occurred()) return NULL
;
5939 } _resultobj
= Py_BuildValue("i",_result
);
5943 #define wxProcessEvent_m_exitcode_get(_swigobj) ((int ) _swigobj->m_exitcode)
5944 static PyObject
*_wrap_wxProcessEvent_m_exitcode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5945 PyObject
* _resultobj
;
5947 wxProcessEvent
* _arg0
;
5948 PyObject
* _argo0
= 0;
5949 char *_kwnames
[] = { "self", NULL
};
5952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcessEvent_m_exitcode_get",_kwnames
,&_argo0
))
5955 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5956 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
5957 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_m_exitcode_get. Expected _wxProcessEvent_p.");
5962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5963 _result
= (int )wxProcessEvent_m_exitcode_get(_arg0
);
5965 wxPyEndAllowThreads(__tstate
);
5966 if (PyErr_Occurred()) return NULL
;
5967 } _resultobj
= Py_BuildValue("i",_result
);
5971 static void *SwigwxPyProcessTowxEvtHandler(void *ptr
) {
5974 src
= (wxPyProcess
*) ptr
;
5975 dest
= (wxEvtHandler
*) src
;
5976 return (void *) dest
;
5979 static void *SwigwxPyProcessTowxObject(void *ptr
) {
5982 src
= (wxPyProcess
*) ptr
;
5983 dest
= (wxObject
*) src
;
5984 return (void *) dest
;
5987 static PyObject
*_wrap_wxProcess_Kill(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5988 PyObject
* _resultobj
;
5989 wxKillError _result
;
5991 wxSignal _arg1
= (wxSignal
) (wxSIGTERM
);
5992 char *_kwnames
[] = { "pid","sig", NULL
};
5995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i|i:wxProcess_Kill",_kwnames
,&_arg0
,&_arg1
))
5998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5999 _result
= (wxKillError
)wxPyProcess::Kill(_arg0
,_arg1
);
6001 wxPyEndAllowThreads(__tstate
);
6002 if (PyErr_Occurred()) return NULL
;
6003 } _resultobj
= Py_BuildValue("i",_result
);
6007 static PyObject
*_wrap_wxProcess_Exists(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6008 PyObject
* _resultobj
;
6011 char *_kwnames
[] = { "pid", NULL
};
6014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxProcess_Exists",_kwnames
,&_arg0
))
6017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6018 _result
= (bool )wxPyProcess::Exists(_arg0
);
6020 wxPyEndAllowThreads(__tstate
);
6021 if (PyErr_Occurred()) return NULL
;
6022 } _resultobj
= Py_BuildValue("i",_result
);
6026 static PyObject
*_wrap_wxProcess_Open(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6027 PyObject
* _resultobj
;
6028 wxPyProcess
* _result
;
6030 int _arg1
= (int ) wxEXEC_ASYNC
;
6031 PyObject
* _obj0
= 0;
6032 char *_kwnames
[] = { "cmd","flags", NULL
};
6036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxProcess_Open",_kwnames
,&_obj0
,&_arg1
))
6039 _arg0
= wxString_in_helper(_obj0
);
6044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6045 _result
= (wxPyProcess
*)wxPyProcess::Open(*_arg0
,_arg1
);
6047 wxPyEndAllowThreads(__tstate
);
6048 if (PyErr_Occurred()) return NULL
;
6050 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyProcess_p");
6051 _resultobj
= Py_BuildValue("s",_ptemp
);
6054 _resultobj
= Py_None
;
6063 #define new_wxProcess(_swigarg0,_swigarg1) (new wxPyProcess(_swigarg0,_swigarg1))
6064 static PyObject
*_wrap_new_wxProcess(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6065 PyObject
* _resultobj
;
6066 wxPyProcess
* _result
;
6067 wxEvtHandler
* _arg0
= (wxEvtHandler
*) NULL
;
6068 int _arg1
= (int ) -1;
6069 PyObject
* _argo0
= 0;
6070 char *_kwnames
[] = { "parent","id", NULL
};
6074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|Oi:new_wxProcess",_kwnames
,&_argo0
,&_arg1
))
6077 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6078 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
6079 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxProcess. Expected _wxEvtHandler_p.");
6084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6085 _result
= (wxPyProcess
*)new_wxProcess(_arg0
,_arg1
);
6087 wxPyEndAllowThreads(__tstate
);
6088 if (PyErr_Occurred()) return NULL
;
6090 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyProcess_p");
6091 _resultobj
= Py_BuildValue("s",_ptemp
);
6094 _resultobj
= Py_None
;
6099 static void wxPyProcess_Destroy(wxPyProcess
*self
) { delete self
; }
6100 static PyObject
*_wrap_wxProcess_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6101 PyObject
* _resultobj
;
6102 wxPyProcess
* _arg0
;
6103 PyObject
* _argo0
= 0;
6104 char *_kwnames
[] = { "self", NULL
};
6107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_Destroy",_kwnames
,&_argo0
))
6110 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6111 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6112 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_Destroy. Expected _wxPyProcess_p.");
6117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6118 wxPyProcess_Destroy(_arg0
);
6120 wxPyEndAllowThreads(__tstate
);
6121 if (PyErr_Occurred()) return NULL
;
6122 } Py_INCREF(Py_None
);
6123 _resultobj
= Py_None
;
6127 #define wxProcess__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
6128 static PyObject
*_wrap_wxProcess__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6129 PyObject
* _resultobj
;
6130 wxPyProcess
* _arg0
;
6133 PyObject
* _argo0
= 0;
6134 PyObject
* _obj1
= 0;
6135 PyObject
* _obj2
= 0;
6136 char *_kwnames
[] = { "self","self","_class", NULL
};
6139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxProcess__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
6142 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6143 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6144 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess__setCallbackInfo. Expected _wxPyProcess_p.");
6155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6156 wxProcess__setCallbackInfo(_arg0
,_arg1
,_arg2
);
6158 wxPyEndAllowThreads(__tstate
);
6159 if (PyErr_Occurred()) return NULL
;
6160 } Py_INCREF(Py_None
);
6161 _resultobj
= Py_None
;
6165 #define wxProcess_base_OnTerminate(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnTerminate(_swigarg0,_swigarg1))
6166 static PyObject
*_wrap_wxProcess_base_OnTerminate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6167 PyObject
* _resultobj
;
6168 wxPyProcess
* _arg0
;
6171 PyObject
* _argo0
= 0;
6172 char *_kwnames
[] = { "self","pid","status", NULL
};
6175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxProcess_base_OnTerminate",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6178 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6179 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6180 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_base_OnTerminate. Expected _wxPyProcess_p.");
6185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6186 wxProcess_base_OnTerminate(_arg0
,_arg1
,_arg2
);
6188 wxPyEndAllowThreads(__tstate
);
6189 if (PyErr_Occurred()) return NULL
;
6190 } Py_INCREF(Py_None
);
6191 _resultobj
= Py_None
;
6195 #define wxProcess_Redirect(_swigobj) (_swigobj->Redirect())
6196 static PyObject
*_wrap_wxProcess_Redirect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6197 PyObject
* _resultobj
;
6198 wxPyProcess
* _arg0
;
6199 PyObject
* _argo0
= 0;
6200 char *_kwnames
[] = { "self", NULL
};
6203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_Redirect",_kwnames
,&_argo0
))
6206 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6207 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6208 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_Redirect. Expected _wxPyProcess_p.");
6213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6214 wxProcess_Redirect(_arg0
);
6216 wxPyEndAllowThreads(__tstate
);
6217 if (PyErr_Occurred()) return NULL
;
6218 } Py_INCREF(Py_None
);
6219 _resultobj
= Py_None
;
6223 #define wxProcess_IsRedirected(_swigobj) (_swigobj->IsRedirected())
6224 static PyObject
*_wrap_wxProcess_IsRedirected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6225 PyObject
* _resultobj
;
6227 wxPyProcess
* _arg0
;
6228 PyObject
* _argo0
= 0;
6229 char *_kwnames
[] = { "self", NULL
};
6232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_IsRedirected",_kwnames
,&_argo0
))
6235 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6236 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6237 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_IsRedirected. Expected _wxPyProcess_p.");
6242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6243 _result
= (bool )wxProcess_IsRedirected(_arg0
);
6245 wxPyEndAllowThreads(__tstate
);
6246 if (PyErr_Occurred()) return NULL
;
6247 } _resultobj
= Py_BuildValue("i",_result
);
6251 #define wxProcess_Detach(_swigobj) (_swigobj->Detach())
6252 static PyObject
*_wrap_wxProcess_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6253 PyObject
* _resultobj
;
6254 wxPyProcess
* _arg0
;
6255 PyObject
* _argo0
= 0;
6256 char *_kwnames
[] = { "self", NULL
};
6259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_Detach",_kwnames
,&_argo0
))
6262 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6263 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6264 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_Detach. Expected _wxPyProcess_p.");
6269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6270 wxProcess_Detach(_arg0
);
6272 wxPyEndAllowThreads(__tstate
);
6273 if (PyErr_Occurred()) return NULL
;
6274 } Py_INCREF(Py_None
);
6275 _resultobj
= Py_None
;
6279 #define wxProcess_GetInputStream(_swigobj) (_swigobj->GetInputStream())
6280 static PyObject
*_wrap_wxProcess_GetInputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6281 PyObject
* _resultobj
;
6282 wxInputStream
* _result
;
6283 wxPyProcess
* _arg0
;
6284 PyObject
* _argo0
= 0;
6285 char *_kwnames
[] = { "self", NULL
};
6288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_GetInputStream",_kwnames
,&_argo0
))
6291 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6292 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6293 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_GetInputStream. Expected _wxPyProcess_p.");
6298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6299 _result
= (wxInputStream
*)wxProcess_GetInputStream(_arg0
);
6301 wxPyEndAllowThreads(__tstate
);
6302 if (PyErr_Occurred()) return NULL
;
6304 wxPyInputStream
* _ptr
= NULL
;
6307 _ptr
= new wxPyInputStream(_result
);
6309 _resultobj
= wxPyConstructObject(_ptr
, wxT("wxInputStream"), TRUE
);
6314 #define wxProcess_GetErrorStream(_swigobj) (_swigobj->GetErrorStream())
6315 static PyObject
*_wrap_wxProcess_GetErrorStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6316 PyObject
* _resultobj
;
6317 wxInputStream
* _result
;
6318 wxPyProcess
* _arg0
;
6319 PyObject
* _argo0
= 0;
6320 char *_kwnames
[] = { "self", NULL
};
6323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_GetErrorStream",_kwnames
,&_argo0
))
6326 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6327 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6328 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_GetErrorStream. Expected _wxPyProcess_p.");
6333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6334 _result
= (wxInputStream
*)wxProcess_GetErrorStream(_arg0
);
6336 wxPyEndAllowThreads(__tstate
);
6337 if (PyErr_Occurred()) return NULL
;
6339 wxPyInputStream
* _ptr
= NULL
;
6342 _ptr
= new wxPyInputStream(_result
);
6344 _resultobj
= wxPyConstructObject(_ptr
, wxT("wxInputStream"), TRUE
);
6349 #define wxProcess_GetOutputStream(_swigobj) (_swigobj->GetOutputStream())
6350 static PyObject
*_wrap_wxProcess_GetOutputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6351 PyObject
* _resultobj
;
6352 wxOutputStream
* _result
;
6353 wxPyProcess
* _arg0
;
6354 PyObject
* _argo0
= 0;
6355 char *_kwnames
[] = { "self", NULL
};
6359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_GetOutputStream",_kwnames
,&_argo0
))
6362 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6363 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6364 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_GetOutputStream. Expected _wxPyProcess_p.");
6369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6370 _result
= (wxOutputStream
*)wxProcess_GetOutputStream(_arg0
);
6372 wxPyEndAllowThreads(__tstate
);
6373 if (PyErr_Occurred()) return NULL
;
6375 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxOutputStream_p");
6376 _resultobj
= Py_BuildValue("s",_ptemp
);
6379 _resultobj
= Py_None
;
6384 #define wxProcess_CloseOutput(_swigobj) (_swigobj->CloseOutput())
6385 static PyObject
*_wrap_wxProcess_CloseOutput(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6386 PyObject
* _resultobj
;
6387 wxPyProcess
* _arg0
;
6388 PyObject
* _argo0
= 0;
6389 char *_kwnames
[] = { "self", NULL
};
6392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_CloseOutput",_kwnames
,&_argo0
))
6395 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6396 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6397 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_CloseOutput. Expected _wxPyProcess_p.");
6402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6403 wxProcess_CloseOutput(_arg0
);
6405 wxPyEndAllowThreads(__tstate
);
6406 if (PyErr_Occurred()) return NULL
;
6407 } Py_INCREF(Py_None
);
6408 _resultobj
= Py_None
;
6412 #define wxProcess_IsInputOpened(_swigobj) (_swigobj->IsInputOpened())
6413 static PyObject
*_wrap_wxProcess_IsInputOpened(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6414 PyObject
* _resultobj
;
6416 wxPyProcess
* _arg0
;
6417 PyObject
* _argo0
= 0;
6418 char *_kwnames
[] = { "self", NULL
};
6421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_IsInputOpened",_kwnames
,&_argo0
))
6424 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6425 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6426 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_IsInputOpened. Expected _wxPyProcess_p.");
6431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6432 _result
= (bool )wxProcess_IsInputOpened(_arg0
);
6434 wxPyEndAllowThreads(__tstate
);
6435 if (PyErr_Occurred()) return NULL
;
6436 } _resultobj
= Py_BuildValue("i",_result
);
6440 #define wxProcess_IsInputAvailable(_swigobj) (_swigobj->IsInputAvailable())
6441 static PyObject
*_wrap_wxProcess_IsInputAvailable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6442 PyObject
* _resultobj
;
6444 wxPyProcess
* _arg0
;
6445 PyObject
* _argo0
= 0;
6446 char *_kwnames
[] = { "self", NULL
};
6449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_IsInputAvailable",_kwnames
,&_argo0
))
6452 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6453 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6454 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_IsInputAvailable. Expected _wxPyProcess_p.");
6459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6460 _result
= (bool )wxProcess_IsInputAvailable(_arg0
);
6462 wxPyEndAllowThreads(__tstate
);
6463 if (PyErr_Occurred()) return NULL
;
6464 } _resultobj
= Py_BuildValue("i",_result
);
6468 #define wxProcess_IsErrorAvailable(_swigobj) (_swigobj->IsErrorAvailable())
6469 static PyObject
*_wrap_wxProcess_IsErrorAvailable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6470 PyObject
* _resultobj
;
6472 wxPyProcess
* _arg0
;
6473 PyObject
* _argo0
= 0;
6474 char *_kwnames
[] = { "self", NULL
};
6477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_IsErrorAvailable",_kwnames
,&_argo0
))
6480 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6481 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6482 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_IsErrorAvailable. Expected _wxPyProcess_p.");
6487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6488 _result
= (bool )wxProcess_IsErrorAvailable(_arg0
);
6490 wxPyEndAllowThreads(__tstate
);
6491 if (PyErr_Occurred()) return NULL
;
6492 } _resultobj
= Py_BuildValue("i",_result
);
6496 static void *SwigwxJoystickTowxObject(void *ptr
) {
6499 src
= (wxJoystick
*) ptr
;
6500 dest
= (wxObject
*) src
;
6501 return (void *) dest
;
6504 #define new_wxJoystick(_swigarg0) (new wxJoystick(_swigarg0))
6505 static PyObject
*_wrap_new_wxJoystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6506 PyObject
* _resultobj
;
6507 wxJoystick
* _result
;
6508 int _arg0
= (int ) (wxJOYSTICK1
);
6509 char *_kwnames
[] = { "joystick", NULL
};
6513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxJoystick",_kwnames
,&_arg0
))
6516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6517 _result
= (wxJoystick
*)new_wxJoystick(_arg0
);
6519 wxPyEndAllowThreads(__tstate
);
6520 if (PyErr_Occurred()) return NULL
;
6522 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxJoystick_p");
6523 _resultobj
= Py_BuildValue("s",_ptemp
);
6526 _resultobj
= Py_None
;
6531 #define delete_wxJoystick(_swigobj) (delete _swigobj)
6532 static PyObject
*_wrap_delete_wxJoystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6533 PyObject
* _resultobj
;
6535 PyObject
* _argo0
= 0;
6536 char *_kwnames
[] = { "self", NULL
};
6539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxJoystick",_kwnames
,&_argo0
))
6542 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6543 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6544 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxJoystick. Expected _wxJoystick_p.");
6549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6550 delete_wxJoystick(_arg0
);
6552 wxPyEndAllowThreads(__tstate
);
6553 if (PyErr_Occurred()) return NULL
;
6554 } Py_INCREF(Py_None
);
6555 _resultobj
= Py_None
;
6559 #define wxJoystick_GetPosition(_swigobj) (_swigobj->GetPosition())
6560 static PyObject
*_wrap_wxJoystick_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6561 PyObject
* _resultobj
;
6564 PyObject
* _argo0
= 0;
6565 char *_kwnames
[] = { "self", NULL
};
6569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPosition",_kwnames
,&_argo0
))
6572 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6573 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6574 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPosition. Expected _wxJoystick_p.");
6579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6580 _result
= new wxPoint (wxJoystick_GetPosition(_arg0
));
6582 wxPyEndAllowThreads(__tstate
);
6583 if (PyErr_Occurred()) return NULL
;
6584 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
6585 _resultobj
= Py_BuildValue("s",_ptemp
);
6589 #define wxJoystick_GetZPosition(_swigobj) (_swigobj->GetZPosition())
6590 static PyObject
*_wrap_wxJoystick_GetZPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6591 PyObject
* _resultobj
;
6594 PyObject
* _argo0
= 0;
6595 char *_kwnames
[] = { "self", NULL
};
6598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetZPosition",_kwnames
,&_argo0
))
6601 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6602 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6603 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetZPosition. Expected _wxJoystick_p.");
6608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6609 _result
= (int )wxJoystick_GetZPosition(_arg0
);
6611 wxPyEndAllowThreads(__tstate
);
6612 if (PyErr_Occurred()) return NULL
;
6613 } _resultobj
= Py_BuildValue("i",_result
);
6617 #define wxJoystick_GetButtonState(_swigobj) (_swigobj->GetButtonState())
6618 static PyObject
*_wrap_wxJoystick_GetButtonState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6619 PyObject
* _resultobj
;
6622 PyObject
* _argo0
= 0;
6623 char *_kwnames
[] = { "self", NULL
};
6626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetButtonState",_kwnames
,&_argo0
))
6629 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6630 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6631 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetButtonState. Expected _wxJoystick_p.");
6636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6637 _result
= (int )wxJoystick_GetButtonState(_arg0
);
6639 wxPyEndAllowThreads(__tstate
);
6640 if (PyErr_Occurred()) return NULL
;
6641 } _resultobj
= Py_BuildValue("i",_result
);
6645 #define wxJoystick_GetPOVPosition(_swigobj) (_swigobj->GetPOVPosition())
6646 static PyObject
*_wrap_wxJoystick_GetPOVPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6647 PyObject
* _resultobj
;
6650 PyObject
* _argo0
= 0;
6651 char *_kwnames
[] = { "self", NULL
};
6654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPOVPosition",_kwnames
,&_argo0
))
6657 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6658 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6659 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPOVPosition. Expected _wxJoystick_p.");
6664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6665 _result
= (int )wxJoystick_GetPOVPosition(_arg0
);
6667 wxPyEndAllowThreads(__tstate
);
6668 if (PyErr_Occurred()) return NULL
;
6669 } _resultobj
= Py_BuildValue("i",_result
);
6673 #define wxJoystick_GetPOVCTSPosition(_swigobj) (_swigobj->GetPOVCTSPosition())
6674 static PyObject
*_wrap_wxJoystick_GetPOVCTSPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6675 PyObject
* _resultobj
;
6678 PyObject
* _argo0
= 0;
6679 char *_kwnames
[] = { "self", NULL
};
6682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPOVCTSPosition",_kwnames
,&_argo0
))
6685 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6686 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6687 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPOVCTSPosition. Expected _wxJoystick_p.");
6692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6693 _result
= (int )wxJoystick_GetPOVCTSPosition(_arg0
);
6695 wxPyEndAllowThreads(__tstate
);
6696 if (PyErr_Occurred()) return NULL
;
6697 } _resultobj
= Py_BuildValue("i",_result
);
6701 #define wxJoystick_GetRudderPosition(_swigobj) (_swigobj->GetRudderPosition())
6702 static PyObject
*_wrap_wxJoystick_GetRudderPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6703 PyObject
* _resultobj
;
6706 PyObject
* _argo0
= 0;
6707 char *_kwnames
[] = { "self", NULL
};
6710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetRudderPosition",_kwnames
,&_argo0
))
6713 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6714 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6715 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetRudderPosition. Expected _wxJoystick_p.");
6720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6721 _result
= (int )wxJoystick_GetRudderPosition(_arg0
);
6723 wxPyEndAllowThreads(__tstate
);
6724 if (PyErr_Occurred()) return NULL
;
6725 } _resultobj
= Py_BuildValue("i",_result
);
6729 #define wxJoystick_GetUPosition(_swigobj) (_swigobj->GetUPosition())
6730 static PyObject
*_wrap_wxJoystick_GetUPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6731 PyObject
* _resultobj
;
6734 PyObject
* _argo0
= 0;
6735 char *_kwnames
[] = { "self", NULL
};
6738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetUPosition",_kwnames
,&_argo0
))
6741 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6742 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6743 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetUPosition. Expected _wxJoystick_p.");
6748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6749 _result
= (int )wxJoystick_GetUPosition(_arg0
);
6751 wxPyEndAllowThreads(__tstate
);
6752 if (PyErr_Occurred()) return NULL
;
6753 } _resultobj
= Py_BuildValue("i",_result
);
6757 #define wxJoystick_GetVPosition(_swigobj) (_swigobj->GetVPosition())
6758 static PyObject
*_wrap_wxJoystick_GetVPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6759 PyObject
* _resultobj
;
6762 PyObject
* _argo0
= 0;
6763 char *_kwnames
[] = { "self", NULL
};
6766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetVPosition",_kwnames
,&_argo0
))
6769 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6770 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6771 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetVPosition. Expected _wxJoystick_p.");
6776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6777 _result
= (int )wxJoystick_GetVPosition(_arg0
);
6779 wxPyEndAllowThreads(__tstate
);
6780 if (PyErr_Occurred()) return NULL
;
6781 } _resultobj
= Py_BuildValue("i",_result
);
6785 #define wxJoystick_GetMovementThreshold(_swigobj) (_swigobj->GetMovementThreshold())
6786 static PyObject
*_wrap_wxJoystick_GetMovementThreshold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6787 PyObject
* _resultobj
;
6790 PyObject
* _argo0
= 0;
6791 char *_kwnames
[] = { "self", NULL
};
6794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetMovementThreshold",_kwnames
,&_argo0
))
6797 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6798 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6799 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetMovementThreshold. Expected _wxJoystick_p.");
6804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6805 _result
= (int )wxJoystick_GetMovementThreshold(_arg0
);
6807 wxPyEndAllowThreads(__tstate
);
6808 if (PyErr_Occurred()) return NULL
;
6809 } _resultobj
= Py_BuildValue("i",_result
);
6813 #define wxJoystick_SetMovementThreshold(_swigobj,_swigarg0) (_swigobj->SetMovementThreshold(_swigarg0))
6814 static PyObject
*_wrap_wxJoystick_SetMovementThreshold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6815 PyObject
* _resultobj
;
6818 PyObject
* _argo0
= 0;
6819 char *_kwnames
[] = { "self","threshold", NULL
};
6822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxJoystick_SetMovementThreshold",_kwnames
,&_argo0
,&_arg1
))
6825 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6826 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6827 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_SetMovementThreshold. Expected _wxJoystick_p.");
6832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6833 wxJoystick_SetMovementThreshold(_arg0
,_arg1
);
6835 wxPyEndAllowThreads(__tstate
);
6836 if (PyErr_Occurred()) return NULL
;
6837 } Py_INCREF(Py_None
);
6838 _resultobj
= Py_None
;
6842 #define wxJoystick_IsOk(_swigobj) (_swigobj->IsOk())
6843 static PyObject
*_wrap_wxJoystick_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6844 PyObject
* _resultobj
;
6847 PyObject
* _argo0
= 0;
6848 char *_kwnames
[] = { "self", NULL
};
6851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_IsOk",_kwnames
,&_argo0
))
6854 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6855 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6856 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_IsOk. Expected _wxJoystick_p.");
6861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6862 _result
= (bool )wxJoystick_IsOk(_arg0
);
6864 wxPyEndAllowThreads(__tstate
);
6865 if (PyErr_Occurred()) return NULL
;
6866 } _resultobj
= Py_BuildValue("i",_result
);
6870 #define wxJoystick_GetNumberJoysticks(_swigobj) (_swigobj->GetNumberJoysticks())
6871 static PyObject
*_wrap_wxJoystick_GetNumberJoysticks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6872 PyObject
* _resultobj
;
6875 PyObject
* _argo0
= 0;
6876 char *_kwnames
[] = { "self", NULL
};
6879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetNumberJoysticks",_kwnames
,&_argo0
))
6882 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6883 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6884 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetNumberJoysticks. Expected _wxJoystick_p.");
6889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6890 _result
= (int )wxJoystick_GetNumberJoysticks(_arg0
);
6892 wxPyEndAllowThreads(__tstate
);
6893 if (PyErr_Occurred()) return NULL
;
6894 } _resultobj
= Py_BuildValue("i",_result
);
6898 #define wxJoystick_GetManufacturerId(_swigobj) (_swigobj->GetManufacturerId())
6899 static PyObject
*_wrap_wxJoystick_GetManufacturerId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6900 PyObject
* _resultobj
;
6903 PyObject
* _argo0
= 0;
6904 char *_kwnames
[] = { "self", NULL
};
6907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetManufacturerId",_kwnames
,&_argo0
))
6910 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6911 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6912 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetManufacturerId. Expected _wxJoystick_p.");
6917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6918 _result
= (int )wxJoystick_GetManufacturerId(_arg0
);
6920 wxPyEndAllowThreads(__tstate
);
6921 if (PyErr_Occurred()) return NULL
;
6922 } _resultobj
= Py_BuildValue("i",_result
);
6926 #define wxJoystick_GetProductId(_swigobj) (_swigobj->GetProductId())
6927 static PyObject
*_wrap_wxJoystick_GetProductId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6928 PyObject
* _resultobj
;
6931 PyObject
* _argo0
= 0;
6932 char *_kwnames
[] = { "self", NULL
};
6935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetProductId",_kwnames
,&_argo0
))
6938 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6939 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6940 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetProductId. Expected _wxJoystick_p.");
6945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6946 _result
= (int )wxJoystick_GetProductId(_arg0
);
6948 wxPyEndAllowThreads(__tstate
);
6949 if (PyErr_Occurred()) return NULL
;
6950 } _resultobj
= Py_BuildValue("i",_result
);
6954 #define wxJoystick_GetProductName(_swigobj) (_swigobj->GetProductName())
6955 static PyObject
*_wrap_wxJoystick_GetProductName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6956 PyObject
* _resultobj
;
6959 PyObject
* _argo0
= 0;
6960 char *_kwnames
[] = { "self", NULL
};
6963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetProductName",_kwnames
,&_argo0
))
6966 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6967 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6968 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetProductName. Expected _wxJoystick_p.");
6973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6974 _result
= new wxString (wxJoystick_GetProductName(_arg0
));
6976 wxPyEndAllowThreads(__tstate
);
6977 if (PyErr_Occurred()) return NULL
;
6980 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
6982 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
6991 #define wxJoystick_GetXMin(_swigobj) (_swigobj->GetXMin())
6992 static PyObject
*_wrap_wxJoystick_GetXMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6993 PyObject
* _resultobj
;
6996 PyObject
* _argo0
= 0;
6997 char *_kwnames
[] = { "self", NULL
};
7000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetXMin",_kwnames
,&_argo0
))
7003 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7004 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7005 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetXMin. Expected _wxJoystick_p.");
7010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7011 _result
= (int )wxJoystick_GetXMin(_arg0
);
7013 wxPyEndAllowThreads(__tstate
);
7014 if (PyErr_Occurred()) return NULL
;
7015 } _resultobj
= Py_BuildValue("i",_result
);
7019 #define wxJoystick_GetYMin(_swigobj) (_swigobj->GetYMin())
7020 static PyObject
*_wrap_wxJoystick_GetYMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7021 PyObject
* _resultobj
;
7024 PyObject
* _argo0
= 0;
7025 char *_kwnames
[] = { "self", NULL
};
7028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetYMin",_kwnames
,&_argo0
))
7031 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7032 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7033 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetYMin. Expected _wxJoystick_p.");
7038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7039 _result
= (int )wxJoystick_GetYMin(_arg0
);
7041 wxPyEndAllowThreads(__tstate
);
7042 if (PyErr_Occurred()) return NULL
;
7043 } _resultobj
= Py_BuildValue("i",_result
);
7047 #define wxJoystick_GetZMin(_swigobj) (_swigobj->GetZMin())
7048 static PyObject
*_wrap_wxJoystick_GetZMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7049 PyObject
* _resultobj
;
7052 PyObject
* _argo0
= 0;
7053 char *_kwnames
[] = { "self", NULL
};
7056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetZMin",_kwnames
,&_argo0
))
7059 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7060 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7061 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetZMin. Expected _wxJoystick_p.");
7066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7067 _result
= (int )wxJoystick_GetZMin(_arg0
);
7069 wxPyEndAllowThreads(__tstate
);
7070 if (PyErr_Occurred()) return NULL
;
7071 } _resultobj
= Py_BuildValue("i",_result
);
7075 #define wxJoystick_GetXMax(_swigobj) (_swigobj->GetXMax())
7076 static PyObject
*_wrap_wxJoystick_GetXMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7077 PyObject
* _resultobj
;
7080 PyObject
* _argo0
= 0;
7081 char *_kwnames
[] = { "self", NULL
};
7084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetXMax",_kwnames
,&_argo0
))
7087 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7088 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7089 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetXMax. Expected _wxJoystick_p.");
7094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7095 _result
= (int )wxJoystick_GetXMax(_arg0
);
7097 wxPyEndAllowThreads(__tstate
);
7098 if (PyErr_Occurred()) return NULL
;
7099 } _resultobj
= Py_BuildValue("i",_result
);
7103 #define wxJoystick_GetYMax(_swigobj) (_swigobj->GetYMax())
7104 static PyObject
*_wrap_wxJoystick_GetYMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7105 PyObject
* _resultobj
;
7108 PyObject
* _argo0
= 0;
7109 char *_kwnames
[] = { "self", NULL
};
7112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetYMax",_kwnames
,&_argo0
))
7115 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7116 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7117 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetYMax. Expected _wxJoystick_p.");
7122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7123 _result
= (int )wxJoystick_GetYMax(_arg0
);
7125 wxPyEndAllowThreads(__tstate
);
7126 if (PyErr_Occurred()) return NULL
;
7127 } _resultobj
= Py_BuildValue("i",_result
);
7131 #define wxJoystick_GetZMax(_swigobj) (_swigobj->GetZMax())
7132 static PyObject
*_wrap_wxJoystick_GetZMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7133 PyObject
* _resultobj
;
7136 PyObject
* _argo0
= 0;
7137 char *_kwnames
[] = { "self", NULL
};
7140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetZMax",_kwnames
,&_argo0
))
7143 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7144 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7145 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetZMax. Expected _wxJoystick_p.");
7150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7151 _result
= (int )wxJoystick_GetZMax(_arg0
);
7153 wxPyEndAllowThreads(__tstate
);
7154 if (PyErr_Occurred()) return NULL
;
7155 } _resultobj
= Py_BuildValue("i",_result
);
7159 #define wxJoystick_GetNumberButtons(_swigobj) (_swigobj->GetNumberButtons())
7160 static PyObject
*_wrap_wxJoystick_GetNumberButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7161 PyObject
* _resultobj
;
7164 PyObject
* _argo0
= 0;
7165 char *_kwnames
[] = { "self", NULL
};
7168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetNumberButtons",_kwnames
,&_argo0
))
7171 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7172 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7173 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetNumberButtons. Expected _wxJoystick_p.");
7178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7179 _result
= (int )wxJoystick_GetNumberButtons(_arg0
);
7181 wxPyEndAllowThreads(__tstate
);
7182 if (PyErr_Occurred()) return NULL
;
7183 } _resultobj
= Py_BuildValue("i",_result
);
7187 #define wxJoystick_GetNumberAxes(_swigobj) (_swigobj->GetNumberAxes())
7188 static PyObject
*_wrap_wxJoystick_GetNumberAxes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7189 PyObject
* _resultobj
;
7192 PyObject
* _argo0
= 0;
7193 char *_kwnames
[] = { "self", NULL
};
7196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetNumberAxes",_kwnames
,&_argo0
))
7199 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7200 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7201 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetNumberAxes. Expected _wxJoystick_p.");
7206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7207 _result
= (int )wxJoystick_GetNumberAxes(_arg0
);
7209 wxPyEndAllowThreads(__tstate
);
7210 if (PyErr_Occurred()) return NULL
;
7211 } _resultobj
= Py_BuildValue("i",_result
);
7215 #define wxJoystick_GetMaxButtons(_swigobj) (_swigobj->GetMaxButtons())
7216 static PyObject
*_wrap_wxJoystick_GetMaxButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7217 PyObject
* _resultobj
;
7220 PyObject
* _argo0
= 0;
7221 char *_kwnames
[] = { "self", NULL
};
7224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetMaxButtons",_kwnames
,&_argo0
))
7227 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7228 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7229 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetMaxButtons. Expected _wxJoystick_p.");
7234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7235 _result
= (int )wxJoystick_GetMaxButtons(_arg0
);
7237 wxPyEndAllowThreads(__tstate
);
7238 if (PyErr_Occurred()) return NULL
;
7239 } _resultobj
= Py_BuildValue("i",_result
);
7243 #define wxJoystick_GetMaxAxes(_swigobj) (_swigobj->GetMaxAxes())
7244 static PyObject
*_wrap_wxJoystick_GetMaxAxes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7245 PyObject
* _resultobj
;
7248 PyObject
* _argo0
= 0;
7249 char *_kwnames
[] = { "self", NULL
};
7252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetMaxAxes",_kwnames
,&_argo0
))
7255 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7256 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7257 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetMaxAxes. Expected _wxJoystick_p.");
7262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7263 _result
= (int )wxJoystick_GetMaxAxes(_arg0
);
7265 wxPyEndAllowThreads(__tstate
);
7266 if (PyErr_Occurred()) return NULL
;
7267 } _resultobj
= Py_BuildValue("i",_result
);
7271 #define wxJoystick_GetPollingMin(_swigobj) (_swigobj->GetPollingMin())
7272 static PyObject
*_wrap_wxJoystick_GetPollingMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7273 PyObject
* _resultobj
;
7276 PyObject
* _argo0
= 0;
7277 char *_kwnames
[] = { "self", NULL
};
7280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPollingMin",_kwnames
,&_argo0
))
7283 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7284 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7285 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPollingMin. Expected _wxJoystick_p.");
7290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7291 _result
= (int )wxJoystick_GetPollingMin(_arg0
);
7293 wxPyEndAllowThreads(__tstate
);
7294 if (PyErr_Occurred()) return NULL
;
7295 } _resultobj
= Py_BuildValue("i",_result
);
7299 #define wxJoystick_GetPollingMax(_swigobj) (_swigobj->GetPollingMax())
7300 static PyObject
*_wrap_wxJoystick_GetPollingMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7301 PyObject
* _resultobj
;
7304 PyObject
* _argo0
= 0;
7305 char *_kwnames
[] = { "self", NULL
};
7308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPollingMax",_kwnames
,&_argo0
))
7311 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7312 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7313 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPollingMax. Expected _wxJoystick_p.");
7318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7319 _result
= (int )wxJoystick_GetPollingMax(_arg0
);
7321 wxPyEndAllowThreads(__tstate
);
7322 if (PyErr_Occurred()) return NULL
;
7323 } _resultobj
= Py_BuildValue("i",_result
);
7327 #define wxJoystick_GetRudderMin(_swigobj) (_swigobj->GetRudderMin())
7328 static PyObject
*_wrap_wxJoystick_GetRudderMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7329 PyObject
* _resultobj
;
7332 PyObject
* _argo0
= 0;
7333 char *_kwnames
[] = { "self", NULL
};
7336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetRudderMin",_kwnames
,&_argo0
))
7339 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7340 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7341 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetRudderMin. Expected _wxJoystick_p.");
7346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7347 _result
= (int )wxJoystick_GetRudderMin(_arg0
);
7349 wxPyEndAllowThreads(__tstate
);
7350 if (PyErr_Occurred()) return NULL
;
7351 } _resultobj
= Py_BuildValue("i",_result
);
7355 #define wxJoystick_GetRudderMax(_swigobj) (_swigobj->GetRudderMax())
7356 static PyObject
*_wrap_wxJoystick_GetRudderMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7357 PyObject
* _resultobj
;
7360 PyObject
* _argo0
= 0;
7361 char *_kwnames
[] = { "self", NULL
};
7364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetRudderMax",_kwnames
,&_argo0
))
7367 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7368 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7369 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetRudderMax. Expected _wxJoystick_p.");
7374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7375 _result
= (int )wxJoystick_GetRudderMax(_arg0
);
7377 wxPyEndAllowThreads(__tstate
);
7378 if (PyErr_Occurred()) return NULL
;
7379 } _resultobj
= Py_BuildValue("i",_result
);
7383 #define wxJoystick_GetUMin(_swigobj) (_swigobj->GetUMin())
7384 static PyObject
*_wrap_wxJoystick_GetUMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7385 PyObject
* _resultobj
;
7388 PyObject
* _argo0
= 0;
7389 char *_kwnames
[] = { "self", NULL
};
7392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetUMin",_kwnames
,&_argo0
))
7395 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7396 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7397 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetUMin. Expected _wxJoystick_p.");
7402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7403 _result
= (int )wxJoystick_GetUMin(_arg0
);
7405 wxPyEndAllowThreads(__tstate
);
7406 if (PyErr_Occurred()) return NULL
;
7407 } _resultobj
= Py_BuildValue("i",_result
);
7411 #define wxJoystick_GetUMax(_swigobj) (_swigobj->GetUMax())
7412 static PyObject
*_wrap_wxJoystick_GetUMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7413 PyObject
* _resultobj
;
7416 PyObject
* _argo0
= 0;
7417 char *_kwnames
[] = { "self", NULL
};
7420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetUMax",_kwnames
,&_argo0
))
7423 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7424 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7425 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetUMax. Expected _wxJoystick_p.");
7430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7431 _result
= (int )wxJoystick_GetUMax(_arg0
);
7433 wxPyEndAllowThreads(__tstate
);
7434 if (PyErr_Occurred()) return NULL
;
7435 } _resultobj
= Py_BuildValue("i",_result
);
7439 #define wxJoystick_GetVMin(_swigobj) (_swigobj->GetVMin())
7440 static PyObject
*_wrap_wxJoystick_GetVMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7441 PyObject
* _resultobj
;
7444 PyObject
* _argo0
= 0;
7445 char *_kwnames
[] = { "self", NULL
};
7448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetVMin",_kwnames
,&_argo0
))
7451 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7452 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7453 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetVMin. Expected _wxJoystick_p.");
7458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7459 _result
= (int )wxJoystick_GetVMin(_arg0
);
7461 wxPyEndAllowThreads(__tstate
);
7462 if (PyErr_Occurred()) return NULL
;
7463 } _resultobj
= Py_BuildValue("i",_result
);
7467 #define wxJoystick_GetVMax(_swigobj) (_swigobj->GetVMax())
7468 static PyObject
*_wrap_wxJoystick_GetVMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7469 PyObject
* _resultobj
;
7472 PyObject
* _argo0
= 0;
7473 char *_kwnames
[] = { "self", NULL
};
7476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetVMax",_kwnames
,&_argo0
))
7479 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7480 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7481 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetVMax. Expected _wxJoystick_p.");
7486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7487 _result
= (int )wxJoystick_GetVMax(_arg0
);
7489 wxPyEndAllowThreads(__tstate
);
7490 if (PyErr_Occurred()) return NULL
;
7491 } _resultobj
= Py_BuildValue("i",_result
);
7495 #define wxJoystick_HasRudder(_swigobj) (_swigobj->HasRudder())
7496 static PyObject
*_wrap_wxJoystick_HasRudder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7497 PyObject
* _resultobj
;
7500 PyObject
* _argo0
= 0;
7501 char *_kwnames
[] = { "self", NULL
};
7504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasRudder",_kwnames
,&_argo0
))
7507 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7508 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7509 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasRudder. Expected _wxJoystick_p.");
7514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7515 _result
= (bool )wxJoystick_HasRudder(_arg0
);
7517 wxPyEndAllowThreads(__tstate
);
7518 if (PyErr_Occurred()) return NULL
;
7519 } _resultobj
= Py_BuildValue("i",_result
);
7523 #define wxJoystick_HasZ(_swigobj) (_swigobj->HasZ())
7524 static PyObject
*_wrap_wxJoystick_HasZ(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7525 PyObject
* _resultobj
;
7528 PyObject
* _argo0
= 0;
7529 char *_kwnames
[] = { "self", NULL
};
7532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasZ",_kwnames
,&_argo0
))
7535 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7536 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7537 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasZ. Expected _wxJoystick_p.");
7542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7543 _result
= (bool )wxJoystick_HasZ(_arg0
);
7545 wxPyEndAllowThreads(__tstate
);
7546 if (PyErr_Occurred()) return NULL
;
7547 } _resultobj
= Py_BuildValue("i",_result
);
7551 #define wxJoystick_HasU(_swigobj) (_swigobj->HasU())
7552 static PyObject
*_wrap_wxJoystick_HasU(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7553 PyObject
* _resultobj
;
7556 PyObject
* _argo0
= 0;
7557 char *_kwnames
[] = { "self", NULL
};
7560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasU",_kwnames
,&_argo0
))
7563 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7564 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7565 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasU. Expected _wxJoystick_p.");
7570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7571 _result
= (bool )wxJoystick_HasU(_arg0
);
7573 wxPyEndAllowThreads(__tstate
);
7574 if (PyErr_Occurred()) return NULL
;
7575 } _resultobj
= Py_BuildValue("i",_result
);
7579 #define wxJoystick_HasV(_swigobj) (_swigobj->HasV())
7580 static PyObject
*_wrap_wxJoystick_HasV(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7581 PyObject
* _resultobj
;
7584 PyObject
* _argo0
= 0;
7585 char *_kwnames
[] = { "self", NULL
};
7588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasV",_kwnames
,&_argo0
))
7591 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7592 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7593 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasV. Expected _wxJoystick_p.");
7598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7599 _result
= (bool )wxJoystick_HasV(_arg0
);
7601 wxPyEndAllowThreads(__tstate
);
7602 if (PyErr_Occurred()) return NULL
;
7603 } _resultobj
= Py_BuildValue("i",_result
);
7607 #define wxJoystick_HasPOV(_swigobj) (_swigobj->HasPOV())
7608 static PyObject
*_wrap_wxJoystick_HasPOV(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7609 PyObject
* _resultobj
;
7612 PyObject
* _argo0
= 0;
7613 char *_kwnames
[] = { "self", NULL
};
7616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasPOV",_kwnames
,&_argo0
))
7619 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7620 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7621 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasPOV. Expected _wxJoystick_p.");
7626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7627 _result
= (bool )wxJoystick_HasPOV(_arg0
);
7629 wxPyEndAllowThreads(__tstate
);
7630 if (PyErr_Occurred()) return NULL
;
7631 } _resultobj
= Py_BuildValue("i",_result
);
7635 #define wxJoystick_HasPOV4Dir(_swigobj) (_swigobj->HasPOV4Dir())
7636 static PyObject
*_wrap_wxJoystick_HasPOV4Dir(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7637 PyObject
* _resultobj
;
7640 PyObject
* _argo0
= 0;
7641 char *_kwnames
[] = { "self", NULL
};
7644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasPOV4Dir",_kwnames
,&_argo0
))
7647 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7648 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7649 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasPOV4Dir. Expected _wxJoystick_p.");
7654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7655 _result
= (bool )wxJoystick_HasPOV4Dir(_arg0
);
7657 wxPyEndAllowThreads(__tstate
);
7658 if (PyErr_Occurred()) return NULL
;
7659 } _resultobj
= Py_BuildValue("i",_result
);
7663 #define wxJoystick_HasPOVCTS(_swigobj) (_swigobj->HasPOVCTS())
7664 static PyObject
*_wrap_wxJoystick_HasPOVCTS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7665 PyObject
* _resultobj
;
7668 PyObject
* _argo0
= 0;
7669 char *_kwnames
[] = { "self", NULL
};
7672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasPOVCTS",_kwnames
,&_argo0
))
7675 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7676 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7677 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasPOVCTS. Expected _wxJoystick_p.");
7682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7683 _result
= (bool )wxJoystick_HasPOVCTS(_arg0
);
7685 wxPyEndAllowThreads(__tstate
);
7686 if (PyErr_Occurred()) return NULL
;
7687 } _resultobj
= Py_BuildValue("i",_result
);
7691 #define wxJoystick_SetCapture(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetCapture(_swigarg0,_swigarg1))
7692 static PyObject
*_wrap_wxJoystick_SetCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7693 PyObject
* _resultobj
;
7697 int _arg2
= (int ) 0;
7698 PyObject
* _argo0
= 0;
7699 PyObject
* _argo1
= 0;
7700 char *_kwnames
[] = { "self","win","pollingFreq", NULL
};
7703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxJoystick_SetCapture",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
7706 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7707 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7708 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_SetCapture. Expected _wxJoystick_p.");
7713 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7714 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
7715 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxJoystick_SetCapture. Expected _wxWindow_p.");
7720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7721 _result
= (bool )wxJoystick_SetCapture(_arg0
,_arg1
,_arg2
);
7723 wxPyEndAllowThreads(__tstate
);
7724 if (PyErr_Occurred()) return NULL
;
7725 } _resultobj
= Py_BuildValue("i",_result
);
7729 #define wxJoystick_ReleaseCapture(_swigobj) (_swigobj->ReleaseCapture())
7730 static PyObject
*_wrap_wxJoystick_ReleaseCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7731 PyObject
* _resultobj
;
7734 PyObject
* _argo0
= 0;
7735 char *_kwnames
[] = { "self", NULL
};
7738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_ReleaseCapture",_kwnames
,&_argo0
))
7741 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7742 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7743 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_ReleaseCapture. Expected _wxJoystick_p.");
7748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7749 _result
= (bool )wxJoystick_ReleaseCapture(_arg0
);
7751 wxPyEndAllowThreads(__tstate
);
7752 if (PyErr_Occurred()) return NULL
;
7753 } _resultobj
= Py_BuildValue("i",_result
);
7757 static void *SwigwxWaveTowxObject(void *ptr
) {
7760 src
= (wxWave
*) ptr
;
7761 dest
= (wxObject
*) src
;
7762 return (void *) dest
;
7765 #define new_wxWave(_swigarg0,_swigarg1) (new wxWave(_swigarg0,_swigarg1))
7766 static PyObject
*_wrap_new_wxWave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7767 PyObject
* _resultobj
;
7770 bool _arg1
= (bool ) FALSE
;
7771 PyObject
* _obj0
= 0;
7772 int tempbool1
= (int) FALSE
;
7773 char *_kwnames
[] = { "fileName","isResource", NULL
};
7777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:new_wxWave",_kwnames
,&_obj0
,&tempbool1
))
7780 _arg0
= wxString_in_helper(_obj0
);
7784 _arg1
= (bool ) tempbool1
;
7786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7787 _result
= (wxWave
*)new_wxWave(*_arg0
,_arg1
);
7789 wxPyEndAllowThreads(__tstate
);
7790 if (PyErr_Occurred()) return NULL
;
7792 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWave_p");
7793 _resultobj
= Py_BuildValue("s",_ptemp
);
7796 _resultobj
= Py_None
;
7805 #define delete_wxWave(_swigobj) (delete _swigobj)
7806 static PyObject
*_wrap_delete_wxWave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7807 PyObject
* _resultobj
;
7809 PyObject
* _argo0
= 0;
7810 char *_kwnames
[] = { "self", NULL
};
7813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxWave",_kwnames
,&_argo0
))
7816 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7817 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWave_p")) {
7818 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxWave. Expected _wxWave_p.");
7823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7824 delete_wxWave(_arg0
);
7826 wxPyEndAllowThreads(__tstate
);
7827 if (PyErr_Occurred()) return NULL
;
7828 } Py_INCREF(Py_None
);
7829 _resultobj
= Py_None
;
7833 #define wxWave_IsOk(_swigobj) (_swigobj->IsOk())
7834 static PyObject
*_wrap_wxWave_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7835 PyObject
* _resultobj
;
7838 PyObject
* _argo0
= 0;
7839 char *_kwnames
[] = { "self", NULL
};
7842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWave_IsOk",_kwnames
,&_argo0
))
7845 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7846 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWave_p")) {
7847 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWave_IsOk. Expected _wxWave_p.");
7852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7853 _result
= (bool )wxWave_IsOk(_arg0
);
7855 wxPyEndAllowThreads(__tstate
);
7856 if (PyErr_Occurred()) return NULL
;
7857 } _resultobj
= Py_BuildValue("i",_result
);
7861 #define wxWave_Play(_swigobj,_swigarg0,_swigarg1) (_swigobj->Play(_swigarg0,_swigarg1))
7862 static PyObject
*_wrap_wxWave_Play(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7863 PyObject
* _resultobj
;
7866 bool _arg1
= (bool ) TRUE
;
7867 bool _arg2
= (bool ) FALSE
;
7868 PyObject
* _argo0
= 0;
7869 int tempbool1
= (int) TRUE
;
7870 int tempbool2
= (int) FALSE
;
7871 char *_kwnames
[] = { "self","async","looped", NULL
};
7874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxWave_Play",_kwnames
,&_argo0
,&tempbool1
,&tempbool2
))
7877 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7878 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWave_p")) {
7879 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWave_Play. Expected _wxWave_p.");
7883 _arg1
= (bool ) tempbool1
;
7884 _arg2
= (bool ) tempbool2
;
7886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7887 _result
= (bool )wxWave_Play(_arg0
,_arg1
,_arg2
);
7889 wxPyEndAllowThreads(__tstate
);
7890 if (PyErr_Occurred()) return NULL
;
7891 } _resultobj
= Py_BuildValue("i",_result
);
7895 #define new_wxFileTypeInfo(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxFileTypeInfo(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7896 static PyObject
*_wrap_new_wxFileTypeInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7897 PyObject
* _resultobj
;
7898 wxFileTypeInfo
* _result
;
7903 PyObject
* _obj0
= 0;
7904 PyObject
* _obj1
= 0;
7905 PyObject
* _obj2
= 0;
7906 PyObject
* _obj3
= 0;
7907 char *_kwnames
[] = { "mimeType","openCmd","printCmd","desc", NULL
};
7911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO:new_wxFileTypeInfo",_kwnames
,&_obj0
,&_obj1
,&_obj2
,&_obj3
))
7914 _arg0
= wxString_in_helper(_obj0
);
7919 _arg1
= wxString_in_helper(_obj1
);
7924 _arg2
= wxString_in_helper(_obj2
);
7929 _arg3
= wxString_in_helper(_obj3
);
7934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7935 _result
= (wxFileTypeInfo
*)new_wxFileTypeInfo(*_arg0
,*_arg1
,*_arg2
,*_arg3
);
7937 wxPyEndAllowThreads(__tstate
);
7938 if (PyErr_Occurred()) return NULL
;
7940 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileTypeInfo_p");
7941 _resultobj
= Py_BuildValue("s",_ptemp
);
7944 _resultobj
= Py_None
;
7965 #define new_wxFileTypeInfoSequence(_swigarg0) (new wxFileTypeInfo(_swigarg0))
7966 static PyObject
*_wrap_new_wxFileTypeInfoSequence(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7967 PyObject
* _resultobj
;
7968 wxFileTypeInfo
* _result
;
7969 wxArrayString
* _arg0
;
7970 PyObject
* _obj0
= 0;
7971 char *_kwnames
[] = { "sArray", NULL
};
7975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxFileTypeInfoSequence",_kwnames
,&_obj0
))
7978 if (! PySequence_Check(_obj0
)) {
7979 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
7982 _arg0
= new wxArrayString
;
7983 int i
, len
=PySequence_Length(_obj0
);
7984 for (i
=0; i
<len
; i
++) {
7985 PyObject
* item
= PySequence_GetItem(_obj0
, i
);
7987 PyObject
* str
= PyObject_Unicode(item
);
7989 PyObject
* str
= PyObject_Str(item
);
7991 _arg0
->Add(Py2wxString(str
));
7997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7998 _result
= (wxFileTypeInfo
*)new_wxFileTypeInfoSequence(*_arg0
);
8000 wxPyEndAllowThreads(__tstate
);
8001 if (PyErr_Occurred()) return NULL
;
8003 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileTypeInfo_p");
8004 _resultobj
= Py_BuildValue("s",_ptemp
);
8007 _resultobj
= Py_None
;
8016 #define new_wxNullFileTypeInfo() (new wxFileTypeInfo())
8017 static PyObject
*_wrap_new_wxNullFileTypeInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8018 PyObject
* _resultobj
;
8019 wxFileTypeInfo
* _result
;
8020 char *_kwnames
[] = { NULL
};
8024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxNullFileTypeInfo",_kwnames
))
8027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8028 _result
= (wxFileTypeInfo
*)new_wxNullFileTypeInfo();
8030 wxPyEndAllowThreads(__tstate
);
8031 if (PyErr_Occurred()) return NULL
;
8033 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileTypeInfo_p");
8034 _resultobj
= Py_BuildValue("s",_ptemp
);
8037 _resultobj
= Py_None
;
8042 #define wxFileTypeInfo_IsValid(_swigobj) (_swigobj->IsValid())
8043 static PyObject
*_wrap_wxFileTypeInfo_IsValid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8044 PyObject
* _resultobj
;
8046 wxFileTypeInfo
* _arg0
;
8047 PyObject
* _argo0
= 0;
8048 char *_kwnames
[] = { "self", NULL
};
8051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_IsValid",_kwnames
,&_argo0
))
8054 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8055 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8056 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_IsValid. Expected _wxFileTypeInfo_p.");
8061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8062 _result
= (bool )wxFileTypeInfo_IsValid(_arg0
);
8064 wxPyEndAllowThreads(__tstate
);
8065 if (PyErr_Occurred()) return NULL
;
8066 } _resultobj
= Py_BuildValue("i",_result
);
8070 #define wxFileTypeInfo_SetIcon(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetIcon(_swigarg0,_swigarg1))
8071 static PyObject
*_wrap_wxFileTypeInfo_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8072 PyObject
* _resultobj
;
8073 wxFileTypeInfo
* _arg0
;
8075 int _arg2
= (int ) 0;
8076 PyObject
* _argo0
= 0;
8077 PyObject
* _obj1
= 0;
8078 char *_kwnames
[] = { "self","iconFile","iconIndex", NULL
};
8081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxFileTypeInfo_SetIcon",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
8084 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8085 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8086 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_SetIcon. Expected _wxFileTypeInfo_p.");
8091 _arg1
= wxString_in_helper(_obj1
);
8096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8097 wxFileTypeInfo_SetIcon(_arg0
,*_arg1
,_arg2
);
8099 wxPyEndAllowThreads(__tstate
);
8100 if (PyErr_Occurred()) return NULL
;
8101 } Py_INCREF(Py_None
);
8102 _resultobj
= Py_None
;
8110 #define wxFileTypeInfo_SetShortDesc(_swigobj,_swigarg0) (_swigobj->SetShortDesc(_swigarg0))
8111 static PyObject
*_wrap_wxFileTypeInfo_SetShortDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8112 PyObject
* _resultobj
;
8113 wxFileTypeInfo
* _arg0
;
8115 PyObject
* _argo0
= 0;
8116 PyObject
* _obj1
= 0;
8117 char *_kwnames
[] = { "self","shortDesc", NULL
};
8120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileTypeInfo_SetShortDesc",_kwnames
,&_argo0
,&_obj1
))
8123 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8124 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8125 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_SetShortDesc. Expected _wxFileTypeInfo_p.");
8130 _arg1
= wxString_in_helper(_obj1
);
8135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8136 wxFileTypeInfo_SetShortDesc(_arg0
,*_arg1
);
8138 wxPyEndAllowThreads(__tstate
);
8139 if (PyErr_Occurred()) return NULL
;
8140 } Py_INCREF(Py_None
);
8141 _resultobj
= Py_None
;
8149 #define wxFileTypeInfo_GetMimeType(_swigobj) (_swigobj->GetMimeType())
8150 static PyObject
*_wrap_wxFileTypeInfo_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8151 PyObject
* _resultobj
;
8153 wxFileTypeInfo
* _arg0
;
8154 PyObject
* _argo0
= 0;
8155 char *_kwnames
[] = { "self", NULL
};
8158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetMimeType",_kwnames
,&_argo0
))
8161 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8162 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8163 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetMimeType. Expected _wxFileTypeInfo_p.");
8168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8169 const wxString
& _result_ref
= wxFileTypeInfo_GetMimeType(_arg0
);
8170 _result
= (wxString
*) &_result_ref
;
8172 wxPyEndAllowThreads(__tstate
);
8173 if (PyErr_Occurred()) return NULL
;
8176 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
8178 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8184 #define wxFileTypeInfo_GetOpenCommand(_swigobj) (_swigobj->GetOpenCommand())
8185 static PyObject
*_wrap_wxFileTypeInfo_GetOpenCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8186 PyObject
* _resultobj
;
8188 wxFileTypeInfo
* _arg0
;
8189 PyObject
* _argo0
= 0;
8190 char *_kwnames
[] = { "self", NULL
};
8193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetOpenCommand",_kwnames
,&_argo0
))
8196 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8197 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8198 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetOpenCommand. Expected _wxFileTypeInfo_p.");
8203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8204 const wxString
& _result_ref
= wxFileTypeInfo_GetOpenCommand(_arg0
);
8205 _result
= (wxString
*) &_result_ref
;
8207 wxPyEndAllowThreads(__tstate
);
8208 if (PyErr_Occurred()) return NULL
;
8211 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
8213 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8219 #define wxFileTypeInfo_GetPrintCommand(_swigobj) (_swigobj->GetPrintCommand())
8220 static PyObject
*_wrap_wxFileTypeInfo_GetPrintCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8221 PyObject
* _resultobj
;
8223 wxFileTypeInfo
* _arg0
;
8224 PyObject
* _argo0
= 0;
8225 char *_kwnames
[] = { "self", NULL
};
8228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetPrintCommand",_kwnames
,&_argo0
))
8231 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8232 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8233 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetPrintCommand. Expected _wxFileTypeInfo_p.");
8238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8239 const wxString
& _result_ref
= wxFileTypeInfo_GetPrintCommand(_arg0
);
8240 _result
= (wxString
*) &_result_ref
;
8242 wxPyEndAllowThreads(__tstate
);
8243 if (PyErr_Occurred()) return NULL
;
8246 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
8248 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8254 #define wxFileTypeInfo_GetShortDesc(_swigobj) (_swigobj->GetShortDesc())
8255 static PyObject
*_wrap_wxFileTypeInfo_GetShortDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8256 PyObject
* _resultobj
;
8258 wxFileTypeInfo
* _arg0
;
8259 PyObject
* _argo0
= 0;
8260 char *_kwnames
[] = { "self", NULL
};
8263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetShortDesc",_kwnames
,&_argo0
))
8266 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8267 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8268 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetShortDesc. Expected _wxFileTypeInfo_p.");
8273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8274 const wxString
& _result_ref
= wxFileTypeInfo_GetShortDesc(_arg0
);
8275 _result
= (wxString
*) &_result_ref
;
8277 wxPyEndAllowThreads(__tstate
);
8278 if (PyErr_Occurred()) return NULL
;
8281 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
8283 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8289 #define wxFileTypeInfo_GetDescription(_swigobj) (_swigobj->GetDescription())
8290 static PyObject
*_wrap_wxFileTypeInfo_GetDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8291 PyObject
* _resultobj
;
8293 wxFileTypeInfo
* _arg0
;
8294 PyObject
* _argo0
= 0;
8295 char *_kwnames
[] = { "self", NULL
};
8298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetDescription",_kwnames
,&_argo0
))
8301 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8302 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8303 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetDescription. Expected _wxFileTypeInfo_p.");
8308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8309 const wxString
& _result_ref
= wxFileTypeInfo_GetDescription(_arg0
);
8310 _result
= (wxString
*) &_result_ref
;
8312 wxPyEndAllowThreads(__tstate
);
8313 if (PyErr_Occurred()) return NULL
;
8316 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
8318 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8324 static PyObject
* wxFileTypeInfo_GetExtensions(wxFileTypeInfo
*self
) {
8325 wxArrayString
& arr
= (wxArrayString
&)self
->GetExtensions();
8326 return wxArrayString2PyList_helper(arr
);
8328 static PyObject
*_wrap_wxFileTypeInfo_GetExtensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8329 PyObject
* _resultobj
;
8331 wxFileTypeInfo
* _arg0
;
8332 PyObject
* _argo0
= 0;
8333 char *_kwnames
[] = { "self", NULL
};
8336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetExtensions",_kwnames
,&_argo0
))
8339 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8340 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8341 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetExtensions. Expected _wxFileTypeInfo_p.");
8346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8347 _result
= (PyObject
*)wxFileTypeInfo_GetExtensions(_arg0
);
8349 wxPyEndAllowThreads(__tstate
);
8350 if (PyErr_Occurred()) return NULL
;
8352 _resultobj
= _result
;
8357 #define wxFileTypeInfo_GetExtensionsCount(_swigobj) (_swigobj->GetExtensionsCount())
8358 static PyObject
*_wrap_wxFileTypeInfo_GetExtensionsCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8359 PyObject
* _resultobj
;
8361 wxFileTypeInfo
* _arg0
;
8362 PyObject
* _argo0
= 0;
8363 char *_kwnames
[] = { "self", NULL
};
8366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetExtensionsCount",_kwnames
,&_argo0
))
8369 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8370 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8371 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetExtensionsCount. Expected _wxFileTypeInfo_p.");
8376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8377 _result
= (int )wxFileTypeInfo_GetExtensionsCount(_arg0
);
8379 wxPyEndAllowThreads(__tstate
);
8380 if (PyErr_Occurred()) return NULL
;
8381 } _resultobj
= Py_BuildValue("i",_result
);
8385 #define wxFileTypeInfo_GetIconFile(_swigobj) (_swigobj->GetIconFile())
8386 static PyObject
*_wrap_wxFileTypeInfo_GetIconFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8387 PyObject
* _resultobj
;
8389 wxFileTypeInfo
* _arg0
;
8390 PyObject
* _argo0
= 0;
8391 char *_kwnames
[] = { "self", NULL
};
8394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetIconFile",_kwnames
,&_argo0
))
8397 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8398 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8399 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetIconFile. Expected _wxFileTypeInfo_p.");
8404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8405 const wxString
& _result_ref
= wxFileTypeInfo_GetIconFile(_arg0
);
8406 _result
= (wxString
*) &_result_ref
;
8408 wxPyEndAllowThreads(__tstate
);
8409 if (PyErr_Occurred()) return NULL
;
8412 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
8414 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8420 #define wxFileTypeInfo_GetIconIndex(_swigobj) (_swigobj->GetIconIndex())
8421 static PyObject
*_wrap_wxFileTypeInfo_GetIconIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8422 PyObject
* _resultobj
;
8424 wxFileTypeInfo
* _arg0
;
8425 PyObject
* _argo0
= 0;
8426 char *_kwnames
[] = { "self", NULL
};
8429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetIconIndex",_kwnames
,&_argo0
))
8432 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8433 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8434 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetIconIndex. Expected _wxFileTypeInfo_p.");
8439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8440 _result
= (int )wxFileTypeInfo_GetIconIndex(_arg0
);
8442 wxPyEndAllowThreads(__tstate
);
8443 if (PyErr_Occurred()) return NULL
;
8444 } _resultobj
= Py_BuildValue("i",_result
);
8448 #define new_wxFileType(_swigarg0) (new wxFileType(_swigarg0))
8449 static PyObject
*_wrap_new_wxFileType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8450 PyObject
* _resultobj
;
8451 wxFileType
* _result
;
8452 wxFileTypeInfo
* _arg0
;
8453 PyObject
* _argo0
= 0;
8454 char *_kwnames
[] = { "ftInfo", NULL
};
8458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxFileType",_kwnames
,&_argo0
))
8461 if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8462 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxFileType. Expected _wxFileTypeInfo_p.");
8467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8468 _result
= (wxFileType
*)new_wxFileType(*_arg0
);
8470 wxPyEndAllowThreads(__tstate
);
8471 if (PyErr_Occurred()) return NULL
;
8473 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileType_p");
8474 _resultobj
= Py_BuildValue("s",_ptemp
);
8477 _resultobj
= Py_None
;
8482 static PyObject
* wxFileType_GetMimeType(wxFileType
*self
) {
8484 if (self
->GetMimeType(&str
)) {
8486 return PyUnicode_FromWideChar(str
.c_str(), str
.Len());
8488 return PyString_FromStringAndSize(str
.c_str(), str
.Len());
8494 static PyObject
*_wrap_wxFileType_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8495 PyObject
* _resultobj
;
8498 PyObject
* _argo0
= 0;
8499 char *_kwnames
[] = { "self", NULL
};
8502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_GetMimeType",_kwnames
,&_argo0
))
8505 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8506 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8507 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetMimeType. Expected _wxFileType_p.");
8512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8513 _result
= (PyObject
*)wxFileType_GetMimeType(_arg0
);
8515 wxPyEndAllowThreads(__tstate
);
8516 if (PyErr_Occurred()) return NULL
;
8518 _resultobj
= _result
;
8523 static PyObject
* wxFileType_GetMimeTypes(wxFileType
*self
) {
8525 if (self
->GetMimeTypes(arr
))
8526 return wxArrayString2PyList_helper(arr
);
8530 static PyObject
*_wrap_wxFileType_GetMimeTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8531 PyObject
* _resultobj
;
8534 PyObject
* _argo0
= 0;
8535 char *_kwnames
[] = { "self", NULL
};
8538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_GetMimeTypes",_kwnames
,&_argo0
))
8541 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8542 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8543 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetMimeTypes. Expected _wxFileType_p.");
8548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8549 _result
= (PyObject
*)wxFileType_GetMimeTypes(_arg0
);
8551 wxPyEndAllowThreads(__tstate
);
8552 if (PyErr_Occurred()) return NULL
;
8554 _resultobj
= _result
;
8559 static PyObject
* wxFileType_GetExtensions(wxFileType
*self
) {
8561 if (self
->GetExtensions(arr
))
8562 return wxArrayString2PyList_helper(arr
);
8566 static PyObject
*_wrap_wxFileType_GetExtensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8567 PyObject
* _resultobj
;
8570 PyObject
* _argo0
= 0;
8571 char *_kwnames
[] = { "self", NULL
};
8574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_GetExtensions",_kwnames
,&_argo0
))
8577 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8578 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8579 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetExtensions. Expected _wxFileType_p.");
8584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8585 _result
= (PyObject
*)wxFileType_GetExtensions(_arg0
);
8587 wxPyEndAllowThreads(__tstate
);
8588 if (PyErr_Occurred()) return NULL
;
8590 _resultobj
= _result
;
8595 static wxIcon
* wxFileType_GetIcon(wxFileType
*self
) {
8597 if (self
->GetIcon(&icon
))
8598 return new wxIcon(icon
);
8602 static PyObject
*_wrap_wxFileType_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8603 PyObject
* _resultobj
;
8606 PyObject
* _argo0
= 0;
8607 char *_kwnames
[] = { "self", NULL
};
8611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_GetIcon",_kwnames
,&_argo0
))
8614 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8615 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8616 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetIcon. Expected _wxFileType_p.");
8621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8622 _result
= (wxIcon
*)wxFileType_GetIcon(_arg0
);
8624 wxPyEndAllowThreads(__tstate
);
8625 if (PyErr_Occurred()) return NULL
;
8627 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIcon_p");
8628 _resultobj
= Py_BuildValue("s",_ptemp
);
8631 _resultobj
= Py_None
;
8636 static PyObject
* wxFileType_GetIconInfo(wxFileType
*self
) {
8640 if (self
->GetIcon(&icon
, &iconFile
, &iconIndex
)) {
8641 wxPyBeginBlockThreads();
8642 PyObject
* tuple
= PyTuple_New(3);
8643 PyTuple_SetItem(tuple
, 0, wxPyConstructObject(new wxIcon(icon
),
8644 wxT("wxIcon"), TRUE
));
8646 PyTuple_SetItem(tuple
, 1, PyUnicode_FromWideChar(iconFile
.c_str(), iconFile
.Len()));
8648 PyTuple_SetItem(tuple
, 1, PyString_FromStringAndSize(iconFile
.c_str(), iconFile
.Len()));
8650 PyTuple_SetItem(tuple
, 2, PyInt_FromLong(iconIndex
));
8651 wxPyEndBlockThreads();
8657 static PyObject
*_wrap_wxFileType_GetIconInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8658 PyObject
* _resultobj
;
8661 PyObject
* _argo0
= 0;
8662 char *_kwnames
[] = { "self", NULL
};
8665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_GetIconInfo",_kwnames
,&_argo0
))
8668 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8669 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8670 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetIconInfo. Expected _wxFileType_p.");
8675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8676 _result
= (PyObject
*)wxFileType_GetIconInfo(_arg0
);
8678 wxPyEndAllowThreads(__tstate
);
8679 if (PyErr_Occurred()) return NULL
;
8681 _resultobj
= _result
;
8686 static PyObject
* wxFileType_GetDescription(wxFileType
*self
) {
8688 if (self
->GetDescription(&str
)) {
8690 return PyUnicode_FromWideChar(str
.c_str(), str
.Len());
8692 return PyString_FromStringAndSize(str
.c_str(), str
.Len());
8697 static PyObject
*_wrap_wxFileType_GetDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8698 PyObject
* _resultobj
;
8701 PyObject
* _argo0
= 0;
8702 char *_kwnames
[] = { "self", NULL
};
8705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_GetDescription",_kwnames
,&_argo0
))
8708 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8709 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8710 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetDescription. Expected _wxFileType_p.");
8715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8716 _result
= (PyObject
*)wxFileType_GetDescription(_arg0
);
8718 wxPyEndAllowThreads(__tstate
);
8719 if (PyErr_Occurred()) return NULL
;
8721 _resultobj
= _result
;
8726 static PyObject
* wxFileType_GetOpenCommand(wxFileType
*self
,const wxString
& filename
,const wxString
& mimetype
) {
8728 if (self
->GetOpenCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
))) {
8730 return PyUnicode_FromWideChar(str
.c_str(), str
.Len());
8732 return PyString_FromStringAndSize(str
.c_str(), str
.Len());
8737 static PyObject
*_wrap_wxFileType_GetOpenCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8738 PyObject
* _resultobj
;
8742 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
8743 PyObject
* _argo0
= 0;
8744 PyObject
* _obj1
= 0;
8745 PyObject
* _obj2
= 0;
8746 char *_kwnames
[] = { "self","filename","mimetype", NULL
};
8749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxFileType_GetOpenCommand",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
8752 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8753 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8754 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetOpenCommand. Expected _wxFileType_p.");
8759 _arg1
= wxString_in_helper(_obj1
);
8765 _arg2
= wxString_in_helper(_obj2
);
8770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8771 _result
= (PyObject
*)wxFileType_GetOpenCommand(_arg0
,*_arg1
,*_arg2
);
8773 wxPyEndAllowThreads(__tstate
);
8774 if (PyErr_Occurred()) return NULL
;
8776 _resultobj
= _result
;
8789 static PyObject
* wxFileType_GetPrintCommand(wxFileType
*self
,const wxString
& filename
,const wxString
& mimetype
) {
8791 if (self
->GetPrintCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
))) {
8793 return PyUnicode_FromWideChar(str
.c_str(), str
.Len());
8795 return PyString_FromStringAndSize(str
.c_str(), str
.Len());
8800 static PyObject
*_wrap_wxFileType_GetPrintCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8801 PyObject
* _resultobj
;
8805 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
8806 PyObject
* _argo0
= 0;
8807 PyObject
* _obj1
= 0;
8808 PyObject
* _obj2
= 0;
8809 char *_kwnames
[] = { "self","filename","mimetype", NULL
};
8812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxFileType_GetPrintCommand",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
8815 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8816 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8817 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetPrintCommand. Expected _wxFileType_p.");
8822 _arg1
= wxString_in_helper(_obj1
);
8828 _arg2
= wxString_in_helper(_obj2
);
8833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8834 _result
= (PyObject
*)wxFileType_GetPrintCommand(_arg0
,*_arg1
,*_arg2
);
8836 wxPyEndAllowThreads(__tstate
);
8837 if (PyErr_Occurred()) return NULL
;
8839 _resultobj
= _result
;
8852 static PyObject
* wxFileType_GetAllCommands(wxFileType
*self
,const wxString
& filename
,const wxString
& mimetype
) {
8853 wxArrayString verbs
;
8854 wxArrayString commands
;
8855 if (self
->GetAllCommands(&verbs
, &commands
,
8856 wxFileType::MessageParameters(filename
, mimetype
))) {
8857 wxPyBeginBlockThreads();
8858 PyObject
* tuple
= PyTuple_New(2);
8859 PyTuple_SetItem(tuple
, 0, wxArrayString2PyList_helper(verbs
));
8860 PyTuple_SetItem(tuple
, 1, wxArrayString2PyList_helper(commands
));
8861 wxPyEndBlockThreads();
8867 static PyObject
*_wrap_wxFileType_GetAllCommands(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8868 PyObject
* _resultobj
;
8872 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
8873 PyObject
* _argo0
= 0;
8874 PyObject
* _obj1
= 0;
8875 PyObject
* _obj2
= 0;
8876 char *_kwnames
[] = { "self","filename","mimetype", NULL
};
8879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxFileType_GetAllCommands",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
8882 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8883 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8884 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetAllCommands. Expected _wxFileType_p.");
8889 _arg1
= wxString_in_helper(_obj1
);
8895 _arg2
= wxString_in_helper(_obj2
);
8900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8901 _result
= (PyObject
*)wxFileType_GetAllCommands(_arg0
,*_arg1
,*_arg2
);
8903 wxPyEndAllowThreads(__tstate
);
8904 if (PyErr_Occurred()) return NULL
;
8906 _resultobj
= _result
;
8919 #define wxFileType_SetCommand(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCommand(_swigarg0,_swigarg1,_swigarg2))
8920 static PyObject
*_wrap_wxFileType_SetCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8921 PyObject
* _resultobj
;
8926 bool _arg3
= (bool ) TRUE
;
8927 PyObject
* _argo0
= 0;
8928 PyObject
* _obj1
= 0;
8929 PyObject
* _obj2
= 0;
8930 int tempbool3
= (int) TRUE
;
8931 char *_kwnames
[] = { "self","cmd","verb","overwriteprompt", NULL
};
8934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|i:wxFileType_SetCommand",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&tempbool3
))
8937 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8938 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8939 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_SetCommand. Expected _wxFileType_p.");
8944 _arg1
= wxString_in_helper(_obj1
);
8949 _arg2
= wxString_in_helper(_obj2
);
8953 _arg3
= (bool ) tempbool3
;
8955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8956 _result
= (bool )wxFileType_SetCommand(_arg0
,*_arg1
,*_arg2
,_arg3
);
8958 wxPyEndAllowThreads(__tstate
);
8959 if (PyErr_Occurred()) return NULL
;
8960 } _resultobj
= Py_BuildValue("i",_result
);
8972 #define wxFileType_SetDefaultIcon(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDefaultIcon(_swigarg0,_swigarg1))
8973 static PyObject
*_wrap_wxFileType_SetDefaultIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8974 PyObject
* _resultobj
;
8977 wxString
* _arg1
= (wxString
*) &wxPyEmptyString
;
8978 int _arg2
= (int ) 0;
8979 PyObject
* _argo0
= 0;
8980 PyObject
* _obj1
= 0;
8981 char *_kwnames
[] = { "self","cmd","index", NULL
};
8984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|Oi:wxFileType_SetDefaultIcon",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
8987 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8988 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8989 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_SetDefaultIcon. Expected _wxFileType_p.");
8995 _arg1
= wxString_in_helper(_obj1
);
9000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9001 _result
= (bool )wxFileType_SetDefaultIcon(_arg0
,*_arg1
,_arg2
);
9003 wxPyEndAllowThreads(__tstate
);
9004 if (PyErr_Occurred()) return NULL
;
9005 } _resultobj
= Py_BuildValue("i",_result
);
9013 #define wxFileType_Unassociate(_swigobj) (_swigobj->Unassociate())
9014 static PyObject
*_wrap_wxFileType_Unassociate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9015 PyObject
* _resultobj
;
9018 PyObject
* _argo0
= 0;
9019 char *_kwnames
[] = { "self", NULL
};
9022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_Unassociate",_kwnames
,&_argo0
))
9025 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9026 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
9027 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_Unassociate. Expected _wxFileType_p.");
9032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9033 _result
= (bool )wxFileType_Unassociate(_arg0
);
9035 wxPyEndAllowThreads(__tstate
);
9036 if (PyErr_Occurred()) return NULL
;
9037 } _resultobj
= Py_BuildValue("i",_result
);
9041 static PyObject
*_wrap_wxFileType_ExpandCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9042 PyObject
* _resultobj
;
9045 wxFileType::MessageParameters
* _arg1
;
9046 PyObject
* _obj0
= 0;
9047 PyObject
* _argo1
= 0;
9048 char *_kwnames
[] = { "command","params", NULL
};
9051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileType_ExpandCommand",_kwnames
,&_obj0
,&_argo1
))
9054 _arg0
= wxString_in_helper(_obj0
);
9059 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFileType::MessageParameters_p")) {
9060 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFileType_ExpandCommand. Expected _wxFileType::MessageParameters_p.");
9065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9066 _result
= new wxString (wxFileType::ExpandCommand(*_arg0
,*_arg1
));
9068 wxPyEndAllowThreads(__tstate
);
9069 if (PyErr_Occurred()) return NULL
;
9072 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
9074 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9087 #define delete_wxFileType(_swigobj) (delete _swigobj)
9088 static PyObject
*_wrap_delete_wxFileType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9089 PyObject
* _resultobj
;
9091 PyObject
* _argo0
= 0;
9092 char *_kwnames
[] = { "self", NULL
};
9095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxFileType",_kwnames
,&_argo0
))
9098 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9099 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
9100 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxFileType. Expected _wxFileType_p.");
9105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9106 delete_wxFileType(_arg0
);
9108 wxPyEndAllowThreads(__tstate
);
9109 if (PyErr_Occurred()) return NULL
;
9110 } Py_INCREF(Py_None
);
9111 _resultobj
= Py_None
;
9115 static PyObject
*_wrap_wxMimeTypesManager_IsOfType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9116 PyObject
* _resultobj
;
9120 PyObject
* _obj0
= 0;
9121 PyObject
* _obj1
= 0;
9122 char *_kwnames
[] = { "mimeType","wildcard", NULL
};
9125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_IsOfType",_kwnames
,&_obj0
,&_obj1
))
9128 _arg0
= wxString_in_helper(_obj0
);
9133 _arg1
= wxString_in_helper(_obj1
);
9138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9139 _result
= (bool )wxMimeTypesManager::IsOfType(*_arg0
,*_arg1
);
9141 wxPyEndAllowThreads(__tstate
);
9142 if (PyErr_Occurred()) return NULL
;
9143 } _resultobj
= Py_BuildValue("i",_result
);
9155 #define new_wxMimeTypesManager() (new wxMimeTypesManager())
9156 static PyObject
*_wrap_new_wxMimeTypesManager(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9157 PyObject
* _resultobj
;
9158 wxMimeTypesManager
* _result
;
9159 char *_kwnames
[] = { NULL
};
9163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxMimeTypesManager",_kwnames
))
9166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9167 _result
= (wxMimeTypesManager
*)new_wxMimeTypesManager();
9169 wxPyEndAllowThreads(__tstate
);
9170 if (PyErr_Occurred()) return NULL
;
9172 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMimeTypesManager_p");
9173 _resultobj
= Py_BuildValue("s",_ptemp
);
9176 _resultobj
= Py_None
;
9181 #define wxMimeTypesManager_Initialize(_swigobj,_swigarg0,_swigarg1) (_swigobj->Initialize(_swigarg0,_swigarg1))
9182 static PyObject
*_wrap_wxMimeTypesManager_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9183 PyObject
* _resultobj
;
9184 wxMimeTypesManager
* _arg0
;
9185 int _arg1
= (int ) (wxMAILCAP_ALL
);
9186 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
9187 PyObject
* _argo0
= 0;
9188 PyObject
* _obj2
= 0;
9189 char *_kwnames
[] = { "self","mailcapStyle","extraDir", NULL
};
9192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iO:wxMimeTypesManager_Initialize",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
9195 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9196 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9197 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_Initialize. Expected _wxMimeTypesManager_p.");
9203 _arg2
= wxString_in_helper(_obj2
);
9208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9209 wxMimeTypesManager_Initialize(_arg0
,_arg1
,*_arg2
);
9211 wxPyEndAllowThreads(__tstate
);
9212 if (PyErr_Occurred()) return NULL
;
9213 } Py_INCREF(Py_None
);
9214 _resultobj
= Py_None
;
9222 #define wxMimeTypesManager_ClearData(_swigobj) (_swigobj->ClearData())
9223 static PyObject
*_wrap_wxMimeTypesManager_ClearData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9224 PyObject
* _resultobj
;
9225 wxMimeTypesManager
* _arg0
;
9226 PyObject
* _argo0
= 0;
9227 char *_kwnames
[] = { "self", NULL
};
9230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMimeTypesManager_ClearData",_kwnames
,&_argo0
))
9233 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9234 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9235 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_ClearData. Expected _wxMimeTypesManager_p.");
9240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9241 wxMimeTypesManager_ClearData(_arg0
);
9243 wxPyEndAllowThreads(__tstate
);
9244 if (PyErr_Occurred()) return NULL
;
9245 } Py_INCREF(Py_None
);
9246 _resultobj
= Py_None
;
9250 #define wxMimeTypesManager_GetFileTypeFromExtension(_swigobj,_swigarg0) (_swigobj->GetFileTypeFromExtension(_swigarg0))
9251 static PyObject
*_wrap_wxMimeTypesManager_GetFileTypeFromExtension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9252 PyObject
* _resultobj
;
9253 wxFileType
* _result
;
9254 wxMimeTypesManager
* _arg0
;
9256 PyObject
* _argo0
= 0;
9257 PyObject
* _obj1
= 0;
9258 char *_kwnames
[] = { "self","ext", NULL
};
9262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_GetFileTypeFromExtension",_kwnames
,&_argo0
,&_obj1
))
9265 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9266 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9267 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_GetFileTypeFromExtension. Expected _wxMimeTypesManager_p.");
9272 _arg1
= wxString_in_helper(_obj1
);
9277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9278 _result
= (wxFileType
*)wxMimeTypesManager_GetFileTypeFromExtension(_arg0
,*_arg1
);
9280 wxPyEndAllowThreads(__tstate
);
9281 if (PyErr_Occurred()) return NULL
;
9283 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileType_p");
9284 _resultobj
= Py_BuildValue("s",_ptemp
);
9287 _resultobj
= Py_None
;
9296 #define wxMimeTypesManager_GetFileTypeFromMimeType(_swigobj,_swigarg0) (_swigobj->GetFileTypeFromMimeType(_swigarg0))
9297 static PyObject
*_wrap_wxMimeTypesManager_GetFileTypeFromMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9298 PyObject
* _resultobj
;
9299 wxFileType
* _result
;
9300 wxMimeTypesManager
* _arg0
;
9302 PyObject
* _argo0
= 0;
9303 PyObject
* _obj1
= 0;
9304 char *_kwnames
[] = { "self","mimeType", NULL
};
9308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_GetFileTypeFromMimeType",_kwnames
,&_argo0
,&_obj1
))
9311 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9312 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9313 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_GetFileTypeFromMimeType. Expected _wxMimeTypesManager_p.");
9318 _arg1
= wxString_in_helper(_obj1
);
9323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9324 _result
= (wxFileType
*)wxMimeTypesManager_GetFileTypeFromMimeType(_arg0
,*_arg1
);
9326 wxPyEndAllowThreads(__tstate
);
9327 if (PyErr_Occurred()) return NULL
;
9329 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileType_p");
9330 _resultobj
= Py_BuildValue("s",_ptemp
);
9333 _resultobj
= Py_None
;
9342 #define wxMimeTypesManager_ReadMailcap(_swigobj,_swigarg0,_swigarg1) (_swigobj->ReadMailcap(_swigarg0,_swigarg1))
9343 static PyObject
*_wrap_wxMimeTypesManager_ReadMailcap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9344 PyObject
* _resultobj
;
9346 wxMimeTypesManager
* _arg0
;
9348 bool _arg2
= (bool ) FALSE
;
9349 PyObject
* _argo0
= 0;
9350 PyObject
* _obj1
= 0;
9351 int tempbool2
= (int) FALSE
;
9352 char *_kwnames
[] = { "self","filename","fallback", NULL
};
9355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxMimeTypesManager_ReadMailcap",_kwnames
,&_argo0
,&_obj1
,&tempbool2
))
9358 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9359 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9360 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_ReadMailcap. Expected _wxMimeTypesManager_p.");
9365 _arg1
= wxString_in_helper(_obj1
);
9369 _arg2
= (bool ) tempbool2
;
9371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9372 _result
= (bool )wxMimeTypesManager_ReadMailcap(_arg0
,*_arg1
,_arg2
);
9374 wxPyEndAllowThreads(__tstate
);
9375 if (PyErr_Occurred()) return NULL
;
9376 } _resultobj
= Py_BuildValue("i",_result
);
9384 #define wxMimeTypesManager_ReadMimeTypes(_swigobj,_swigarg0) (_swigobj->ReadMimeTypes(_swigarg0))
9385 static PyObject
*_wrap_wxMimeTypesManager_ReadMimeTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9386 PyObject
* _resultobj
;
9388 wxMimeTypesManager
* _arg0
;
9390 PyObject
* _argo0
= 0;
9391 PyObject
* _obj1
= 0;
9392 char *_kwnames
[] = { "self","filename", NULL
};
9395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_ReadMimeTypes",_kwnames
,&_argo0
,&_obj1
))
9398 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9399 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9400 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_ReadMimeTypes. Expected _wxMimeTypesManager_p.");
9405 _arg1
= wxString_in_helper(_obj1
);
9410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9411 _result
= (bool )wxMimeTypesManager_ReadMimeTypes(_arg0
,*_arg1
);
9413 wxPyEndAllowThreads(__tstate
);
9414 if (PyErr_Occurred()) return NULL
;
9415 } _resultobj
= Py_BuildValue("i",_result
);
9423 static PyObject
* wxMimeTypesManager_EnumAllFileTypes(wxMimeTypesManager
*self
) {
9425 self
->EnumAllFileTypes(arr
);
9426 return wxArrayString2PyList_helper(arr
);
9428 static PyObject
*_wrap_wxMimeTypesManager_EnumAllFileTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9429 PyObject
* _resultobj
;
9431 wxMimeTypesManager
* _arg0
;
9432 PyObject
* _argo0
= 0;
9433 char *_kwnames
[] = { "self", NULL
};
9436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMimeTypesManager_EnumAllFileTypes",_kwnames
,&_argo0
))
9439 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9440 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9441 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_EnumAllFileTypes. Expected _wxMimeTypesManager_p.");
9446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9447 _result
= (PyObject
*)wxMimeTypesManager_EnumAllFileTypes(_arg0
);
9449 wxPyEndAllowThreads(__tstate
);
9450 if (PyErr_Occurred()) return NULL
;
9452 _resultobj
= _result
;
9457 #define wxMimeTypesManager_AddFallback(_swigobj,_swigarg0) (_swigobj->AddFallback(_swigarg0))
9458 static PyObject
*_wrap_wxMimeTypesManager_AddFallback(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9459 PyObject
* _resultobj
;
9460 wxMimeTypesManager
* _arg0
;
9461 wxFileTypeInfo
* _arg1
;
9462 PyObject
* _argo0
= 0;
9463 PyObject
* _argo1
= 0;
9464 char *_kwnames
[] = { "self","ft", NULL
};
9467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_AddFallback",_kwnames
,&_argo0
,&_argo1
))
9470 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9471 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9472 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_AddFallback. Expected _wxMimeTypesManager_p.");
9477 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFileTypeInfo_p")) {
9478 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMimeTypesManager_AddFallback. Expected _wxFileTypeInfo_p.");
9483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9484 wxMimeTypesManager_AddFallback(_arg0
,*_arg1
);
9486 wxPyEndAllowThreads(__tstate
);
9487 if (PyErr_Occurred()) return NULL
;
9488 } Py_INCREF(Py_None
);
9489 _resultobj
= Py_None
;
9493 #define wxMimeTypesManager_Associate(_swigobj,_swigarg0) (_swigobj->Associate(_swigarg0))
9494 static PyObject
*_wrap_wxMimeTypesManager_Associate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9495 PyObject
* _resultobj
;
9496 wxFileType
* _result
;
9497 wxMimeTypesManager
* _arg0
;
9498 wxFileTypeInfo
* _arg1
;
9499 PyObject
* _argo0
= 0;
9500 PyObject
* _argo1
= 0;
9501 char *_kwnames
[] = { "self","ftInfo", NULL
};
9505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_Associate",_kwnames
,&_argo0
,&_argo1
))
9508 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9509 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9510 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_Associate. Expected _wxMimeTypesManager_p.");
9515 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFileTypeInfo_p")) {
9516 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMimeTypesManager_Associate. Expected _wxFileTypeInfo_p.");
9521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9522 _result
= (wxFileType
*)wxMimeTypesManager_Associate(_arg0
,*_arg1
);
9524 wxPyEndAllowThreads(__tstate
);
9525 if (PyErr_Occurred()) return NULL
;
9527 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileType_p");
9528 _resultobj
= Py_BuildValue("s",_ptemp
);
9531 _resultobj
= Py_None
;
9536 #define wxMimeTypesManager_Unassociate(_swigobj,_swigarg0) (_swigobj->Unassociate(_swigarg0))
9537 static PyObject
*_wrap_wxMimeTypesManager_Unassociate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9538 PyObject
* _resultobj
;
9540 wxMimeTypesManager
* _arg0
;
9542 PyObject
* _argo0
= 0;
9543 PyObject
* _argo1
= 0;
9544 char *_kwnames
[] = { "self","ft", NULL
};
9547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_Unassociate",_kwnames
,&_argo0
,&_argo1
))
9550 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9551 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9552 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_Unassociate. Expected _wxMimeTypesManager_p.");
9557 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9558 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFileType_p")) {
9559 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMimeTypesManager_Unassociate. Expected _wxFileType_p.");
9564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9565 _result
= (bool )wxMimeTypesManager_Unassociate(_arg0
,_arg1
);
9567 wxPyEndAllowThreads(__tstate
);
9568 if (PyErr_Occurred()) return NULL
;
9569 } _resultobj
= Py_BuildValue("i",_result
);
9573 #define delete_wxMimeTypesManager(_swigobj) (delete _swigobj)
9574 static PyObject
*_wrap_delete_wxMimeTypesManager(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9575 PyObject
* _resultobj
;
9576 wxMimeTypesManager
* _arg0
;
9577 PyObject
* _argo0
= 0;
9578 char *_kwnames
[] = { "self", NULL
};
9581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxMimeTypesManager",_kwnames
,&_argo0
))
9584 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9585 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9586 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxMimeTypesManager. Expected _wxMimeTypesManager_p.");
9591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9592 delete_wxMimeTypesManager(_arg0
);
9594 wxPyEndAllowThreads(__tstate
);
9595 if (PyErr_Occurred()) return NULL
;
9596 } Py_INCREF(Py_None
);
9597 _resultobj
= Py_None
;
9601 static void *SwigwxPyArtProviderTowxObject(void *ptr
) {
9602 wxPyArtProvider
*src
;
9604 src
= (wxPyArtProvider
*) ptr
;
9605 dest
= (wxObject
*) src
;
9606 return (void *) dest
;
9609 #define new_wxArtProvider() (new wxPyArtProvider())
9610 static PyObject
*_wrap_new_wxArtProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9611 PyObject
* _resultobj
;
9612 wxPyArtProvider
* _result
;
9613 char *_kwnames
[] = { NULL
};
9617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxArtProvider",_kwnames
))
9620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9621 _result
= (wxPyArtProvider
*)new_wxArtProvider();
9623 wxPyEndAllowThreads(__tstate
);
9624 if (PyErr_Occurred()) return NULL
;
9626 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyArtProvider_p");
9627 _resultobj
= Py_BuildValue("s",_ptemp
);
9630 _resultobj
= Py_None
;
9635 #define wxArtProvider__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
9636 static PyObject
*_wrap_wxArtProvider__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9637 PyObject
* _resultobj
;
9638 wxPyArtProvider
* _arg0
;
9641 PyObject
* _argo0
= 0;
9642 PyObject
* _obj1
= 0;
9643 PyObject
* _obj2
= 0;
9644 char *_kwnames
[] = { "self","self","_class", NULL
};
9647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxArtProvider__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
9650 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9651 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyArtProvider_p")) {
9652 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxArtProvider__setCallbackInfo. Expected _wxPyArtProvider_p.");
9663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9664 wxArtProvider__setCallbackInfo(_arg0
,_arg1
,_arg2
);
9666 wxPyEndAllowThreads(__tstate
);
9667 if (PyErr_Occurred()) return NULL
;
9668 } Py_INCREF(Py_None
);
9669 _resultobj
= Py_None
;
9673 static PyObject
*_wrap_wxArtProvider_PushProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9674 PyObject
* _resultobj
;
9675 wxPyArtProvider
* _arg0
;
9676 PyObject
* _argo0
= 0;
9677 char *_kwnames
[] = { "provider", NULL
};
9680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxArtProvider_PushProvider",_kwnames
,&_argo0
))
9683 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9684 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyArtProvider_p")) {
9685 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxArtProvider_PushProvider. Expected _wxPyArtProvider_p.");
9690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9691 wxPyArtProvider::PushProvider(_arg0
);
9693 wxPyEndAllowThreads(__tstate
);
9694 if (PyErr_Occurred()) return NULL
;
9695 } Py_INCREF(Py_None
);
9696 _resultobj
= Py_None
;
9700 static PyObject
*_wrap_wxArtProvider_PopProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9701 PyObject
* _resultobj
;
9703 char *_kwnames
[] = { NULL
};
9706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxArtProvider_PopProvider",_kwnames
))
9709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9710 _result
= (bool )wxPyArtProvider::PopProvider();
9712 wxPyEndAllowThreads(__tstate
);
9713 if (PyErr_Occurred()) return NULL
;
9714 } _resultobj
= Py_BuildValue("i",_result
);
9718 static PyObject
*_wrap_wxArtProvider_RemoveProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9719 PyObject
* _resultobj
;
9721 wxPyArtProvider
* _arg0
;
9722 PyObject
* _argo0
= 0;
9723 char *_kwnames
[] = { "provider", NULL
};
9726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxArtProvider_RemoveProvider",_kwnames
,&_argo0
))
9729 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9730 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyArtProvider_p")) {
9731 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxArtProvider_RemoveProvider. Expected _wxPyArtProvider_p.");
9736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9737 _result
= (bool )wxPyArtProvider::RemoveProvider(_arg0
);
9739 wxPyEndAllowThreads(__tstate
);
9740 if (PyErr_Occurred()) return NULL
;
9741 } _resultobj
= Py_BuildValue("i",_result
);
9745 static PyObject
*_wrap_wxArtProvider_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9746 PyObject
* _resultobj
;
9749 wxString
* _arg1
= (wxString
*) &wxPyART_OTHER
;
9750 wxSize
* _arg2
= (wxSize
*) &wxDefaultSize
;
9751 PyObject
* _obj0
= 0;
9752 PyObject
* _obj1
= 0;
9754 PyObject
* _obj2
= 0;
9755 char *_kwnames
[] = { "id","client","size", NULL
};
9759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|OO:wxArtProvider_GetBitmap",_kwnames
,&_obj0
,&_obj1
,&_obj2
))
9762 _arg0
= wxString_in_helper(_obj0
);
9768 _arg1
= wxString_in_helper(_obj1
);
9775 if (! wxSize_helper(_obj2
, &_arg2
))
9779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9780 _result
= new wxBitmap (wxPyArtProvider::GetBitmap(*_arg0
,*_arg1
,*_arg2
));
9782 wxPyEndAllowThreads(__tstate
);
9783 if (PyErr_Occurred()) return NULL
;
9784 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBitmap_p");
9785 _resultobj
= Py_BuildValue("s",_ptemp
);
9797 static PyObject
*_wrap_wxArtProvider_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9798 PyObject
* _resultobj
;
9801 wxString
* _arg1
= (wxString
*) &wxPyART_OTHER
;
9802 wxSize
* _arg2
= (wxSize
*) &wxDefaultSize
;
9803 PyObject
* _obj0
= 0;
9804 PyObject
* _obj1
= 0;
9806 PyObject
* _obj2
= 0;
9807 char *_kwnames
[] = { "id","client","size", NULL
};
9811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|OO:wxArtProvider_GetIcon",_kwnames
,&_obj0
,&_obj1
,&_obj2
))
9814 _arg0
= wxString_in_helper(_obj0
);
9820 _arg1
= wxString_in_helper(_obj1
);
9827 if (! wxSize_helper(_obj2
, &_arg2
))
9831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9832 _result
= new wxIcon (wxPyArtProvider::GetIcon(*_arg0
,*_arg1
,*_arg2
));
9834 wxPyEndAllowThreads(__tstate
);
9835 if (PyErr_Occurred()) return NULL
;
9836 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxIcon_p");
9837 _resultobj
= Py_BuildValue("s",_ptemp
);
9849 static void *SwigwxFileHistoryTowxObject(void *ptr
) {
9852 src
= (wxFileHistory
*) ptr
;
9853 dest
= (wxObject
*) src
;
9854 return (void *) dest
;
9857 #define new_wxFileHistory(_swigarg0) (new wxFileHistory(_swigarg0))
9858 static PyObject
*_wrap_new_wxFileHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9859 PyObject
* _resultobj
;
9860 wxFileHistory
* _result
;
9861 int _arg0
= (int ) 9;
9862 char *_kwnames
[] = { "maxFiles", NULL
};
9866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxFileHistory",_kwnames
,&_arg0
))
9869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9870 _result
= (wxFileHistory
*)new_wxFileHistory(_arg0
);
9872 wxPyEndAllowThreads(__tstate
);
9873 if (PyErr_Occurred()) return NULL
;
9875 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileHistory_p");
9876 _resultobj
= Py_BuildValue("s",_ptemp
);
9879 _resultobj
= Py_None
;
9884 #define delete_wxFileHistory(_swigobj) (delete _swigobj)
9885 static PyObject
*_wrap_delete_wxFileHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9886 PyObject
* _resultobj
;
9887 wxFileHistory
* _arg0
;
9888 PyObject
* _argo0
= 0;
9889 char *_kwnames
[] = { "self", NULL
};
9892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxFileHistory",_kwnames
,&_argo0
))
9895 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9896 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9897 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxFileHistory. Expected _wxFileHistory_p.");
9902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9903 delete_wxFileHistory(_arg0
);
9905 wxPyEndAllowThreads(__tstate
);
9906 if (PyErr_Occurred()) return NULL
;
9907 } Py_INCREF(Py_None
);
9908 _resultobj
= Py_None
;
9912 #define wxFileHistory_AddFileToHistory(_swigobj,_swigarg0) (_swigobj->AddFileToHistory(_swigarg0))
9913 static PyObject
*_wrap_wxFileHistory_AddFileToHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9914 PyObject
* _resultobj
;
9915 wxFileHistory
* _arg0
;
9917 PyObject
* _argo0
= 0;
9918 PyObject
* _obj1
= 0;
9919 char *_kwnames
[] = { "self","file", NULL
};
9922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileHistory_AddFileToHistory",_kwnames
,&_argo0
,&_obj1
))
9925 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9926 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9927 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_AddFileToHistory. Expected _wxFileHistory_p.");
9932 _arg1
= wxString_in_helper(_obj1
);
9937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9938 wxFileHistory_AddFileToHistory(_arg0
,*_arg1
);
9940 wxPyEndAllowThreads(__tstate
);
9941 if (PyErr_Occurred()) return NULL
;
9942 } Py_INCREF(Py_None
);
9943 _resultobj
= Py_None
;
9951 #define wxFileHistory_RemoveFileFromHistory(_swigobj,_swigarg0) (_swigobj->RemoveFileFromHistory(_swigarg0))
9952 static PyObject
*_wrap_wxFileHistory_RemoveFileFromHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9953 PyObject
* _resultobj
;
9954 wxFileHistory
* _arg0
;
9956 PyObject
* _argo0
= 0;
9957 char *_kwnames
[] = { "self","i", NULL
};
9960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFileHistory_RemoveFileFromHistory",_kwnames
,&_argo0
,&_arg1
))
9963 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9964 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9965 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_RemoveFileFromHistory. Expected _wxFileHistory_p.");
9970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9971 wxFileHistory_RemoveFileFromHistory(_arg0
,_arg1
);
9973 wxPyEndAllowThreads(__tstate
);
9974 if (PyErr_Occurred()) return NULL
;
9975 } Py_INCREF(Py_None
);
9976 _resultobj
= Py_None
;
9980 #define wxFileHistory_GetMaxFiles(_swigobj) (_swigobj->GetMaxFiles())
9981 static PyObject
*_wrap_wxFileHistory_GetMaxFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9982 PyObject
* _resultobj
;
9984 wxFileHistory
* _arg0
;
9985 PyObject
* _argo0
= 0;
9986 char *_kwnames
[] = { "self", NULL
};
9989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileHistory_GetMaxFiles",_kwnames
,&_argo0
))
9992 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9993 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9994 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_GetMaxFiles. Expected _wxFileHistory_p.");
9999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10000 _result
= (int )wxFileHistory_GetMaxFiles(_arg0
);
10002 wxPyEndAllowThreads(__tstate
);
10003 if (PyErr_Occurred()) return NULL
;
10004 } _resultobj
= Py_BuildValue("i",_result
);
10008 #define wxFileHistory_UseMenu(_swigobj,_swigarg0) (_swigobj->UseMenu(_swigarg0))
10009 static PyObject
*_wrap_wxFileHistory_UseMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10010 PyObject
* _resultobj
;
10011 wxFileHistory
* _arg0
;
10013 PyObject
* _argo0
= 0;
10014 PyObject
* _argo1
= 0;
10015 char *_kwnames
[] = { "self","menu", NULL
};
10018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileHistory_UseMenu",_kwnames
,&_argo0
,&_argo1
))
10021 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10022 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
10023 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_UseMenu. Expected _wxFileHistory_p.");
10028 if (_argo1
== Py_None
) { _arg1
= NULL
; }
10029 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
10030 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFileHistory_UseMenu. Expected _wxMenu_p.");
10035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10036 wxFileHistory_UseMenu(_arg0
,_arg1
);
10038 wxPyEndAllowThreads(__tstate
);
10039 if (PyErr_Occurred()) return NULL
;
10040 } Py_INCREF(Py_None
);
10041 _resultobj
= Py_None
;
10045 #define wxFileHistory_RemoveMenu(_swigobj,_swigarg0) (_swigobj->RemoveMenu(_swigarg0))
10046 static PyObject
*_wrap_wxFileHistory_RemoveMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10047 PyObject
* _resultobj
;
10048 wxFileHistory
* _arg0
;
10050 PyObject
* _argo0
= 0;
10051 PyObject
* _argo1
= 0;
10052 char *_kwnames
[] = { "self","menu", NULL
};
10055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileHistory_RemoveMenu",_kwnames
,&_argo0
,&_argo1
))
10058 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10059 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
10060 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_RemoveMenu. Expected _wxFileHistory_p.");
10065 if (_argo1
== Py_None
) { _arg1
= NULL
; }
10066 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
10067 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFileHistory_RemoveMenu. Expected _wxMenu_p.");
10072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10073 wxFileHistory_RemoveMenu(_arg0
,_arg1
);
10075 wxPyEndAllowThreads(__tstate
);
10076 if (PyErr_Occurred()) return NULL
;
10077 } Py_INCREF(Py_None
);
10078 _resultobj
= Py_None
;
10082 #define wxFileHistory_Load(_swigobj,_swigarg0) (_swigobj->Load(_swigarg0))
10083 static PyObject
*_wrap_wxFileHistory_Load(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10084 PyObject
* _resultobj
;
10085 wxFileHistory
* _arg0
;
10086 wxConfigBase
* _arg1
;
10087 PyObject
* _argo0
= 0;
10088 PyObject
* _argo1
= 0;
10089 char *_kwnames
[] = { "self","config", NULL
};
10092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileHistory_Load",_kwnames
,&_argo0
,&_argo1
))
10095 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10096 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
10097 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_Load. Expected _wxFileHistory_p.");
10102 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxConfigBase_p")) {
10103 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFileHistory_Load. Expected _wxConfigBase_p.");
10108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10109 wxFileHistory_Load(_arg0
,*_arg1
);
10111 wxPyEndAllowThreads(__tstate
);
10112 if (PyErr_Occurred()) return NULL
;
10113 } Py_INCREF(Py_None
);
10114 _resultobj
= Py_None
;
10118 #define wxFileHistory_Save(_swigobj,_swigarg0) (_swigobj->Save(_swigarg0))
10119 static PyObject
*_wrap_wxFileHistory_Save(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10120 PyObject
* _resultobj
;
10121 wxFileHistory
* _arg0
;
10122 wxConfigBase
* _arg1
;
10123 PyObject
* _argo0
= 0;
10124 PyObject
* _argo1
= 0;
10125 char *_kwnames
[] = { "self","config", NULL
};
10128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileHistory_Save",_kwnames
,&_argo0
,&_argo1
))
10131 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10132 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
10133 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_Save. Expected _wxFileHistory_p.");
10138 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxConfigBase_p")) {
10139 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFileHistory_Save. Expected _wxConfigBase_p.");
10144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10145 wxFileHistory_Save(_arg0
,*_arg1
);
10147 wxPyEndAllowThreads(__tstate
);
10148 if (PyErr_Occurred()) return NULL
;
10149 } Py_INCREF(Py_None
);
10150 _resultobj
= Py_None
;
10154 #define wxFileHistory_AddFilesToMenu(_swigobj) (_swigobj->AddFilesToMenu())
10155 static PyObject
*_wrap_wxFileHistory_AddFilesToMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10156 PyObject
* _resultobj
;
10157 wxFileHistory
* _arg0
;
10158 PyObject
* _argo0
= 0;
10159 char *_kwnames
[] = { "self", NULL
};
10162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileHistory_AddFilesToMenu",_kwnames
,&_argo0
))
10165 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10166 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
10167 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_AddFilesToMenu. Expected _wxFileHistory_p.");
10172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10173 wxFileHistory_AddFilesToMenu(_arg0
);
10175 wxPyEndAllowThreads(__tstate
);
10176 if (PyErr_Occurred()) return NULL
;
10177 } Py_INCREF(Py_None
);
10178 _resultobj
= Py_None
;
10182 #define wxFileHistory_AddFilesToThisMenu(_swigobj,_swigarg0) (_swigobj->AddFilesToMenu(_swigarg0))
10183 static PyObject
*_wrap_wxFileHistory_AddFilesToThisMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10184 PyObject
* _resultobj
;
10185 wxFileHistory
* _arg0
;
10187 PyObject
* _argo0
= 0;
10188 PyObject
* _argo1
= 0;
10189 char *_kwnames
[] = { "self","menu", NULL
};
10192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileHistory_AddFilesToThisMenu",_kwnames
,&_argo0
,&_argo1
))
10195 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10196 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
10197 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_AddFilesToThisMenu. Expected _wxFileHistory_p.");
10202 if (_argo1
== Py_None
) { _arg1
= NULL
; }
10203 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
10204 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFileHistory_AddFilesToThisMenu. Expected _wxMenu_p.");
10209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10210 wxFileHistory_AddFilesToThisMenu(_arg0
,_arg1
);
10212 wxPyEndAllowThreads(__tstate
);
10213 if (PyErr_Occurred()) return NULL
;
10214 } Py_INCREF(Py_None
);
10215 _resultobj
= Py_None
;
10219 #define wxFileHistory_GetHistoryFile(_swigobj,_swigarg0) (_swigobj->GetHistoryFile(_swigarg0))
10220 static PyObject
*_wrap_wxFileHistory_GetHistoryFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10221 PyObject
* _resultobj
;
10222 wxString
* _result
;
10223 wxFileHistory
* _arg0
;
10225 PyObject
* _argo0
= 0;
10226 char *_kwnames
[] = { "self","i", NULL
};
10229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFileHistory_GetHistoryFile",_kwnames
,&_argo0
,&_arg1
))
10232 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10233 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
10234 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_GetHistoryFile. Expected _wxFileHistory_p.");
10239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10240 _result
= new wxString (wxFileHistory_GetHistoryFile(_arg0
,_arg1
));
10242 wxPyEndAllowThreads(__tstate
);
10243 if (PyErr_Occurred()) return NULL
;
10246 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
10248 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
10257 #define wxFileHistory_GetCount(_swigobj) (_swigobj->GetCount())
10258 static PyObject
*_wrap_wxFileHistory_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10259 PyObject
* _resultobj
;
10261 wxFileHistory
* _arg0
;
10262 PyObject
* _argo0
= 0;
10263 char *_kwnames
[] = { "self", NULL
};
10266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileHistory_GetCount",_kwnames
,&_argo0
))
10269 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10270 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
10271 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_GetCount. Expected _wxFileHistory_p.");
10276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10277 _result
= (int )wxFileHistory_GetCount(_arg0
);
10279 wxPyEndAllowThreads(__tstate
);
10280 if (PyErr_Occurred()) return NULL
;
10281 } _resultobj
= Py_BuildValue("i",_result
);
10285 #define wxFileHistory_GetNoHistoryFiles(_swigobj) (_swigobj->GetNoHistoryFiles())
10286 static PyObject
*_wrap_wxFileHistory_GetNoHistoryFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10287 PyObject
* _resultobj
;
10289 wxFileHistory
* _arg0
;
10290 PyObject
* _argo0
= 0;
10291 char *_kwnames
[] = { "self", NULL
};
10294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileHistory_GetNoHistoryFiles",_kwnames
,&_argo0
))
10297 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10298 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
10299 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_GetNoHistoryFiles. Expected _wxFileHistory_p.");
10304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10305 _result
= (int )wxFileHistory_GetNoHistoryFiles(_arg0
);
10307 wxPyEndAllowThreads(__tstate
);
10308 if (PyErr_Occurred()) return NULL
;
10309 } _resultobj
= Py_BuildValue("i",_result
);
10313 static void *SwigwxEffectsTowxObject(void *ptr
) {
10316 src
= (wxEffects
*) ptr
;
10317 dest
= (wxObject
*) src
;
10318 return (void *) dest
;
10321 #define new_wxEffects() (new wxEffects())
10322 static PyObject
*_wrap_new_wxEffects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10323 PyObject
* _resultobj
;
10324 wxEffects
* _result
;
10325 char *_kwnames
[] = { NULL
};
10329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxEffects",_kwnames
))
10332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10333 _result
= (wxEffects
*)new_wxEffects();
10335 wxPyEndAllowThreads(__tstate
);
10336 if (PyErr_Occurred()) return NULL
;
10338 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxEffects_p");
10339 _resultobj
= Py_BuildValue("s",_ptemp
);
10341 Py_INCREF(Py_None
);
10342 _resultobj
= Py_None
;
10347 #define wxEffects_GetHighlightColour(_swigobj) (_swigobj->GetHighlightColour())
10348 static PyObject
*_wrap_wxEffects_GetHighlightColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10349 PyObject
* _resultobj
;
10350 wxColour
* _result
;
10352 PyObject
* _argo0
= 0;
10353 char *_kwnames
[] = { "self", NULL
};
10357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEffects_GetHighlightColour",_kwnames
,&_argo0
))
10360 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10361 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEffects_p")) {
10362 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEffects_GetHighlightColour. Expected _wxEffects_p.");
10367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10368 _result
= new wxColour (wxEffects_GetHighlightColour(_arg0
));
10370 wxPyEndAllowThreads(__tstate
);
10371 if (PyErr_Occurred()) return NULL
;
10372 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
10373 _resultobj
= Py_BuildValue("s",_ptemp
);
10377 #define wxEffects_GetLightShadow(_swigobj) (_swigobj->GetLightShadow())
10378 static PyObject
*_wrap_wxEffects_GetLightShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10379 PyObject
* _resultobj
;
10380 wxColour
* _result
;
10382 PyObject
* _argo0
= 0;
10383 char *_kwnames
[] = { "self", NULL
};
10387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEffects_GetLightShadow",_kwnames
,&_argo0
))
10390 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10391 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEffects_p")) {
10392 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEffects_GetLightShadow. Expected _wxEffects_p.");
10397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10398 _result
= new wxColour (wxEffects_GetLightShadow(_arg0
));
10400 wxPyEndAllowThreads(__tstate
);
10401 if (PyErr_Occurred()) return NULL
;
10402 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
10403 _resultobj
= Py_BuildValue("s",_ptemp
);
10407 #define wxEffects_GetFaceColour(_swigobj) (_swigobj->GetFaceColour())
10408 static PyObject
*_wrap_wxEffects_GetFaceColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10409 PyObject
* _resultobj
;
10410 wxColour
* _result
;
10412 PyObject
* _argo0
= 0;
10413 char *_kwnames
[] = { "self", NULL
};
10417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEffects_GetFaceColour",_kwnames
,&_argo0
))
10420 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10421 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEffects_p")) {
10422 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEffects_GetFaceColour. Expected _wxEffects_p.");
10427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10428 _result
= new wxColour (wxEffects_GetFaceColour(_arg0
));
10430 wxPyEndAllowThreads(__tstate
);
10431 if (PyErr_Occurred()) return NULL
;
10432 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
10433 _resultobj
= Py_BuildValue("s",_ptemp
);
10437 #define wxEffects_GetMediumShadow(_swigobj) (_swigobj->GetMediumShadow())
10438 static PyObject
*_wrap_wxEffects_GetMediumShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10439 PyObject
* _resultobj
;
10440 wxColour
* _result
;
10442 PyObject
* _argo0
= 0;
10443 char *_kwnames
[] = { "self", NULL
};
10447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEffects_GetMediumShadow",_kwnames
,&_argo0
))
10450 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10451 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEffects_p")) {
10452 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEffects_GetMediumShadow. Expected _wxEffects_p.");
10457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10458 _result
= new wxColour (wxEffects_GetMediumShadow(_arg0
));
10460 wxPyEndAllowThreads(__tstate
);
10461 if (PyErr_Occurred()) return NULL
;
10462 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
10463 _resultobj
= Py_BuildValue("s",_ptemp
);
10467 #define wxEffects_GetDarkShadow(_swigobj) (_swigobj->GetDarkShadow())
10468 static PyObject
*_wrap_wxEffects_GetDarkShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10469 PyObject
* _resultobj
;
10470 wxColour
* _result
;
10472 PyObject
* _argo0
= 0;
10473 char *_kwnames
[] = { "self", NULL
};
10477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEffects_GetDarkShadow",_kwnames
,&_argo0
))
10480 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10481 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEffects_p")) {
10482 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEffects_GetDarkShadow. Expected _wxEffects_p.");
10487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10488 _result
= new wxColour (wxEffects_GetDarkShadow(_arg0
));
10490 wxPyEndAllowThreads(__tstate
);
10491 if (PyErr_Occurred()) return NULL
;
10492 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
10493 _resultobj
= Py_BuildValue("s",_ptemp
);
10497 #define wxEffects_SetHighlightColour(_swigobj,_swigarg0) (_swigobj->SetHighlightColour(_swigarg0))
10498 static PyObject
*_wrap_wxEffects_SetHighlightColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10499 PyObject
* _resultobj
;
10502 PyObject
* _argo0
= 0;
10504 PyObject
* _obj1
= 0;
10505 char *_kwnames
[] = { "self","c", NULL
};
10508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxEffects_SetHighlightColour",_kwnames
,&_argo0
,&_obj1
))
10511 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10512 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEffects_p")) {
10513 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEffects_SetHighlightColour. Expected _wxEffects_p.");
10519 if (! wxColour_helper(_obj1
, &_arg1
))
10523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10524 wxEffects_SetHighlightColour(_arg0
,*_arg1
);
10526 wxPyEndAllowThreads(__tstate
);
10527 if (PyErr_Occurred()) return NULL
;
10528 } Py_INCREF(Py_None
);
10529 _resultobj
= Py_None
;
10533 #define wxEffects_SetLightShadow(_swigobj,_swigarg0) (_swigobj->SetLightShadow(_swigarg0))
10534 static PyObject
*_wrap_wxEffects_SetLightShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10535 PyObject
* _resultobj
;
10538 PyObject
* _argo0
= 0;
10540 PyObject
* _obj1
= 0;
10541 char *_kwnames
[] = { "self","c", NULL
};
10544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxEffects_SetLightShadow",_kwnames
,&_argo0
,&_obj1
))
10547 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10548 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEffects_p")) {
10549 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEffects_SetLightShadow. Expected _wxEffects_p.");
10555 if (! wxColour_helper(_obj1
, &_arg1
))
10559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10560 wxEffects_SetLightShadow(_arg0
,*_arg1
);
10562 wxPyEndAllowThreads(__tstate
);
10563 if (PyErr_Occurred()) return NULL
;
10564 } Py_INCREF(Py_None
);
10565 _resultobj
= Py_None
;
10569 #define wxEffects_SetFaceColour(_swigobj,_swigarg0) (_swigobj->SetFaceColour(_swigarg0))
10570 static PyObject
*_wrap_wxEffects_SetFaceColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10571 PyObject
* _resultobj
;
10574 PyObject
* _argo0
= 0;
10576 PyObject
* _obj1
= 0;
10577 char *_kwnames
[] = { "self","c", NULL
};
10580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxEffects_SetFaceColour",_kwnames
,&_argo0
,&_obj1
))
10583 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10584 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEffects_p")) {
10585 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEffects_SetFaceColour. Expected _wxEffects_p.");
10591 if (! wxColour_helper(_obj1
, &_arg1
))
10595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10596 wxEffects_SetFaceColour(_arg0
,*_arg1
);
10598 wxPyEndAllowThreads(__tstate
);
10599 if (PyErr_Occurred()) return NULL
;
10600 } Py_INCREF(Py_None
);
10601 _resultobj
= Py_None
;
10605 #define wxEffects_SetMediumShadow(_swigobj,_swigarg0) (_swigobj->SetMediumShadow(_swigarg0))
10606 static PyObject
*_wrap_wxEffects_SetMediumShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10607 PyObject
* _resultobj
;
10610 PyObject
* _argo0
= 0;
10612 PyObject
* _obj1
= 0;
10613 char *_kwnames
[] = { "self","c", NULL
};
10616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxEffects_SetMediumShadow",_kwnames
,&_argo0
,&_obj1
))
10619 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10620 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEffects_p")) {
10621 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEffects_SetMediumShadow. Expected _wxEffects_p.");
10627 if (! wxColour_helper(_obj1
, &_arg1
))
10631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10632 wxEffects_SetMediumShadow(_arg0
,*_arg1
);
10634 wxPyEndAllowThreads(__tstate
);
10635 if (PyErr_Occurred()) return NULL
;
10636 } Py_INCREF(Py_None
);
10637 _resultobj
= Py_None
;
10641 #define wxEffects_SetDarkShadow(_swigobj,_swigarg0) (_swigobj->SetDarkShadow(_swigarg0))
10642 static PyObject
*_wrap_wxEffects_SetDarkShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10643 PyObject
* _resultobj
;
10646 PyObject
* _argo0
= 0;
10648 PyObject
* _obj1
= 0;
10649 char *_kwnames
[] = { "self","c", NULL
};
10652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxEffects_SetDarkShadow",_kwnames
,&_argo0
,&_obj1
))
10655 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10656 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEffects_p")) {
10657 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEffects_SetDarkShadow. Expected _wxEffects_p.");
10663 if (! wxColour_helper(_obj1
, &_arg1
))
10667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10668 wxEffects_SetDarkShadow(_arg0
,*_arg1
);
10670 wxPyEndAllowThreads(__tstate
);
10671 if (PyErr_Occurred()) return NULL
;
10672 } Py_INCREF(Py_None
);
10673 _resultobj
= Py_None
;
10677 #define wxEffects_Set(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->Set(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
10678 static PyObject
*_wrap_wxEffects_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10679 PyObject
* _resultobj
;
10686 PyObject
* _argo0
= 0;
10688 PyObject
* _obj1
= 0;
10690 PyObject
* _obj2
= 0;
10692 PyObject
* _obj3
= 0;
10694 PyObject
* _obj4
= 0;
10696 PyObject
* _obj5
= 0;
10697 char *_kwnames
[] = { "self","highlightColour","lightShadow","faceColour","mediumShadow","darkShadow", NULL
};
10700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOOOO:wxEffects_Set",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&_obj3
,&_obj4
,&_obj5
))
10703 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10704 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEffects_p")) {
10705 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEffects_Set. Expected _wxEffects_p.");
10711 if (! wxColour_helper(_obj1
, &_arg1
))
10716 if (! wxColour_helper(_obj2
, &_arg2
))
10721 if (! wxColour_helper(_obj3
, &_arg3
))
10726 if (! wxColour_helper(_obj4
, &_arg4
))
10731 if (! wxColour_helper(_obj5
, &_arg5
))
10735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10736 wxEffects_Set(_arg0
,*_arg1
,*_arg2
,*_arg3
,*_arg4
,*_arg5
);
10738 wxPyEndAllowThreads(__tstate
);
10739 if (PyErr_Occurred()) return NULL
;
10740 } Py_INCREF(Py_None
);
10741 _resultobj
= Py_None
;
10745 #define wxEffects_DrawSunkenEdge(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawSunkenEdge(_swigarg0,_swigarg1,_swigarg2))
10746 static PyObject
*_wrap_wxEffects_DrawSunkenEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10747 PyObject
* _resultobj
;
10751 int _arg3
= (int ) 1;
10752 PyObject
* _argo0
= 0;
10753 PyObject
* _argo1
= 0;
10755 PyObject
* _obj2
= 0;
10756 char *_kwnames
[] = { "self","dc","rect","borderSize", NULL
};
10759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|i:wxEffects_DrawSunkenEdge",_kwnames
,&_argo0
,&_argo1
,&_obj2
,&_arg3
))
10762 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10763 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEffects_p")) {
10764 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEffects_DrawSunkenEdge. Expected _wxEffects_p.");
10769 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
10770 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxEffects_DrawSunkenEdge. Expected _wxDC_p.");
10776 if (! wxRect_helper(_obj2
, &_arg2
))
10780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10781 wxEffects_DrawSunkenEdge(_arg0
,*_arg1
,*_arg2
,_arg3
);
10783 wxPyEndAllowThreads(__tstate
);
10784 if (PyErr_Occurred()) return NULL
;
10785 } Py_INCREF(Py_None
);
10786 _resultobj
= Py_None
;
10790 #define wxEffects_TileBitmap(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->TileBitmap(_swigarg0,_swigarg1,_swigarg2))
10791 static PyObject
*_wrap_wxEffects_TileBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10792 PyObject
* _resultobj
;
10798 PyObject
* _argo0
= 0;
10800 PyObject
* _obj1
= 0;
10801 PyObject
* _argo2
= 0;
10802 PyObject
* _argo3
= 0;
10803 char *_kwnames
[] = { "self","rect","dc","bitmap", NULL
};
10806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO:wxEffects_TileBitmap",_kwnames
,&_argo0
,&_obj1
,&_argo2
,&_argo3
))
10809 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10810 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEffects_p")) {
10811 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEffects_TileBitmap. Expected _wxEffects_p.");
10817 if (! wxRect_helper(_obj1
, &_arg1
))
10821 if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxDC_p")) {
10822 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxEffects_TileBitmap. Expected _wxDC_p.");
10827 if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxBitmap_p")) {
10828 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxEffects_TileBitmap. Expected _wxBitmap_p.");
10833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10834 _result
= (bool )wxEffects_TileBitmap(_arg0
,*_arg1
,*_arg2
,*_arg3
);
10836 wxPyEndAllowThreads(__tstate
);
10837 if (PyErr_Occurred()) return NULL
;
10838 } _resultobj
= Py_BuildValue("i",_result
);
10842 #define new_wxSingleInstanceChecker(_swigarg0,_swigarg1) (new wxSingleInstanceChecker(_swigarg0,_swigarg1))
10843 static PyObject
*_wrap_new_wxSingleInstanceChecker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10844 PyObject
* _resultobj
;
10845 wxSingleInstanceChecker
* _result
;
10847 wxString
* _arg1
= (wxString
*) &wxPyEmptyString
;
10848 PyObject
* _obj0
= 0;
10849 PyObject
* _obj1
= 0;
10850 char *_kwnames
[] = { "name","path", NULL
};
10854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:new_wxSingleInstanceChecker",_kwnames
,&_obj0
,&_obj1
))
10857 _arg0
= wxString_in_helper(_obj0
);
10863 _arg1
= wxString_in_helper(_obj1
);
10868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10869 _result
= (wxSingleInstanceChecker
*)new_wxSingleInstanceChecker(*_arg0
,*_arg1
);
10871 wxPyEndAllowThreads(__tstate
);
10872 if (PyErr_Occurred()) return NULL
;
10874 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSingleInstanceChecker_p");
10875 _resultobj
= Py_BuildValue("s",_ptemp
);
10877 Py_INCREF(Py_None
);
10878 _resultobj
= Py_None
;
10891 #define new_wxPreSingleInstanceChecker() (new wxSingleInstanceChecker())
10892 static PyObject
*_wrap_new_wxPreSingleInstanceChecker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10893 PyObject
* _resultobj
;
10894 wxSingleInstanceChecker
* _result
;
10895 char *_kwnames
[] = { NULL
};
10899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreSingleInstanceChecker",_kwnames
))
10902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10903 _result
= (wxSingleInstanceChecker
*)new_wxPreSingleInstanceChecker();
10905 wxPyEndAllowThreads(__tstate
);
10906 if (PyErr_Occurred()) return NULL
;
10908 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSingleInstanceChecker_p");
10909 _resultobj
= Py_BuildValue("s",_ptemp
);
10911 Py_INCREF(Py_None
);
10912 _resultobj
= Py_None
;
10917 #define delete_wxSingleInstanceChecker(_swigobj) (delete _swigobj)
10918 static PyObject
*_wrap_delete_wxSingleInstanceChecker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10919 PyObject
* _resultobj
;
10920 wxSingleInstanceChecker
* _arg0
;
10921 PyObject
* _argo0
= 0;
10922 char *_kwnames
[] = { "self", NULL
};
10925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxSingleInstanceChecker",_kwnames
,&_argo0
))
10928 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10929 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSingleInstanceChecker_p")) {
10930 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxSingleInstanceChecker. Expected _wxSingleInstanceChecker_p.");
10935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10936 delete_wxSingleInstanceChecker(_arg0
);
10938 wxPyEndAllowThreads(__tstate
);
10939 if (PyErr_Occurred()) return NULL
;
10940 } Py_INCREF(Py_None
);
10941 _resultobj
= Py_None
;
10945 #define wxSingleInstanceChecker_Create(_swigobj,_swigarg0,_swigarg1) (_swigobj->Create(_swigarg0,_swigarg1))
10946 static PyObject
*_wrap_wxSingleInstanceChecker_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10947 PyObject
* _resultobj
;
10949 wxSingleInstanceChecker
* _arg0
;
10951 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
10952 PyObject
* _argo0
= 0;
10953 PyObject
* _obj1
= 0;
10954 PyObject
* _obj2
= 0;
10955 char *_kwnames
[] = { "self","name","path", NULL
};
10958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxSingleInstanceChecker_Create",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
10961 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10962 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSingleInstanceChecker_p")) {
10963 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSingleInstanceChecker_Create. Expected _wxSingleInstanceChecker_p.");
10968 _arg1
= wxString_in_helper(_obj1
);
10974 _arg2
= wxString_in_helper(_obj2
);
10979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10980 _result
= (bool )wxSingleInstanceChecker_Create(_arg0
,*_arg1
,*_arg2
);
10982 wxPyEndAllowThreads(__tstate
);
10983 if (PyErr_Occurred()) return NULL
;
10984 } _resultobj
= Py_BuildValue("i",_result
);
10996 #define wxSingleInstanceChecker_IsAnotherRunning(_swigobj) (_swigobj->IsAnotherRunning())
10997 static PyObject
*_wrap_wxSingleInstanceChecker_IsAnotherRunning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10998 PyObject
* _resultobj
;
11000 wxSingleInstanceChecker
* _arg0
;
11001 PyObject
* _argo0
= 0;
11002 char *_kwnames
[] = { "self", NULL
};
11005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSingleInstanceChecker_IsAnotherRunning",_kwnames
,&_argo0
))
11008 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11009 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSingleInstanceChecker_p")) {
11010 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSingleInstanceChecker_IsAnotherRunning. Expected _wxSingleInstanceChecker_p.");
11015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11016 _result
= (bool )wxSingleInstanceChecker_IsAnotherRunning(_arg0
);
11018 wxPyEndAllowThreads(__tstate
);
11019 if (PyErr_Occurred()) return NULL
;
11020 } _resultobj
= Py_BuildValue("i",_result
);
11024 static PyMethodDef misc2cMethods
[] = {
11025 { "wxSingleInstanceChecker_IsAnotherRunning", (PyCFunction
) _wrap_wxSingleInstanceChecker_IsAnotherRunning
, METH_VARARGS
| METH_KEYWORDS
},
11026 { "wxSingleInstanceChecker_Create", (PyCFunction
) _wrap_wxSingleInstanceChecker_Create
, METH_VARARGS
| METH_KEYWORDS
},
11027 { "delete_wxSingleInstanceChecker", (PyCFunction
) _wrap_delete_wxSingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
},
11028 { "new_wxPreSingleInstanceChecker", (PyCFunction
) _wrap_new_wxPreSingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
},
11029 { "new_wxSingleInstanceChecker", (PyCFunction
) _wrap_new_wxSingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
},
11030 { "wxEffects_TileBitmap", (PyCFunction
) _wrap_wxEffects_TileBitmap
, METH_VARARGS
| METH_KEYWORDS
},
11031 { "wxEffects_DrawSunkenEdge", (PyCFunction
) _wrap_wxEffects_DrawSunkenEdge
, METH_VARARGS
| METH_KEYWORDS
},
11032 { "wxEffects_Set", (PyCFunction
) _wrap_wxEffects_Set
, METH_VARARGS
| METH_KEYWORDS
},
11033 { "wxEffects_SetDarkShadow", (PyCFunction
) _wrap_wxEffects_SetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
},
11034 { "wxEffects_SetMediumShadow", (PyCFunction
) _wrap_wxEffects_SetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
},
11035 { "wxEffects_SetFaceColour", (PyCFunction
) _wrap_wxEffects_SetFaceColour
, METH_VARARGS
| METH_KEYWORDS
},
11036 { "wxEffects_SetLightShadow", (PyCFunction
) _wrap_wxEffects_SetLightShadow
, METH_VARARGS
| METH_KEYWORDS
},
11037 { "wxEffects_SetHighlightColour", (PyCFunction
) _wrap_wxEffects_SetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
},
11038 { "wxEffects_GetDarkShadow", (PyCFunction
) _wrap_wxEffects_GetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
},
11039 { "wxEffects_GetMediumShadow", (PyCFunction
) _wrap_wxEffects_GetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
},
11040 { "wxEffects_GetFaceColour", (PyCFunction
) _wrap_wxEffects_GetFaceColour
, METH_VARARGS
| METH_KEYWORDS
},
11041 { "wxEffects_GetLightShadow", (PyCFunction
) _wrap_wxEffects_GetLightShadow
, METH_VARARGS
| METH_KEYWORDS
},
11042 { "wxEffects_GetHighlightColour", (PyCFunction
) _wrap_wxEffects_GetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
},
11043 { "new_wxEffects", (PyCFunction
) _wrap_new_wxEffects
, METH_VARARGS
| METH_KEYWORDS
},
11044 { "wxFileHistory_GetNoHistoryFiles", (PyCFunction
) _wrap_wxFileHistory_GetNoHistoryFiles
, METH_VARARGS
| METH_KEYWORDS
},
11045 { "wxFileHistory_GetCount", (PyCFunction
) _wrap_wxFileHistory_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
11046 { "wxFileHistory_GetHistoryFile", (PyCFunction
) _wrap_wxFileHistory_GetHistoryFile
, METH_VARARGS
| METH_KEYWORDS
},
11047 { "wxFileHistory_AddFilesToThisMenu", (PyCFunction
) _wrap_wxFileHistory_AddFilesToThisMenu
, METH_VARARGS
| METH_KEYWORDS
},
11048 { "wxFileHistory_AddFilesToMenu", (PyCFunction
) _wrap_wxFileHistory_AddFilesToMenu
, METH_VARARGS
| METH_KEYWORDS
},
11049 { "wxFileHistory_Save", (PyCFunction
) _wrap_wxFileHistory_Save
, METH_VARARGS
| METH_KEYWORDS
},
11050 { "wxFileHistory_Load", (PyCFunction
) _wrap_wxFileHistory_Load
, METH_VARARGS
| METH_KEYWORDS
},
11051 { "wxFileHistory_RemoveMenu", (PyCFunction
) _wrap_wxFileHistory_RemoveMenu
, METH_VARARGS
| METH_KEYWORDS
},
11052 { "wxFileHistory_UseMenu", (PyCFunction
) _wrap_wxFileHistory_UseMenu
, METH_VARARGS
| METH_KEYWORDS
},
11053 { "wxFileHistory_GetMaxFiles", (PyCFunction
) _wrap_wxFileHistory_GetMaxFiles
, METH_VARARGS
| METH_KEYWORDS
},
11054 { "wxFileHistory_RemoveFileFromHistory", (PyCFunction
) _wrap_wxFileHistory_RemoveFileFromHistory
, METH_VARARGS
| METH_KEYWORDS
},
11055 { "wxFileHistory_AddFileToHistory", (PyCFunction
) _wrap_wxFileHistory_AddFileToHistory
, METH_VARARGS
| METH_KEYWORDS
},
11056 { "delete_wxFileHistory", (PyCFunction
) _wrap_delete_wxFileHistory
, METH_VARARGS
| METH_KEYWORDS
},
11057 { "new_wxFileHistory", (PyCFunction
) _wrap_new_wxFileHistory
, METH_VARARGS
| METH_KEYWORDS
},
11058 { "wxArtProvider_GetIcon", (PyCFunction
) _wrap_wxArtProvider_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
11059 { "wxArtProvider_GetBitmap", (PyCFunction
) _wrap_wxArtProvider_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
11060 { "wxArtProvider_RemoveProvider", (PyCFunction
) _wrap_wxArtProvider_RemoveProvider
, METH_VARARGS
| METH_KEYWORDS
},
11061 { "wxArtProvider_PopProvider", (PyCFunction
) _wrap_wxArtProvider_PopProvider
, METH_VARARGS
| METH_KEYWORDS
},
11062 { "wxArtProvider_PushProvider", (PyCFunction
) _wrap_wxArtProvider_PushProvider
, METH_VARARGS
| METH_KEYWORDS
},
11063 { "wxArtProvider__setCallbackInfo", (PyCFunction
) _wrap_wxArtProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
11064 { "new_wxArtProvider", (PyCFunction
) _wrap_new_wxArtProvider
, METH_VARARGS
| METH_KEYWORDS
},
11065 { "delete_wxMimeTypesManager", (PyCFunction
) _wrap_delete_wxMimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
},
11066 { "wxMimeTypesManager_Unassociate", (PyCFunction
) _wrap_wxMimeTypesManager_Unassociate
, METH_VARARGS
| METH_KEYWORDS
},
11067 { "wxMimeTypesManager_Associate", (PyCFunction
) _wrap_wxMimeTypesManager_Associate
, METH_VARARGS
| METH_KEYWORDS
},
11068 { "wxMimeTypesManager_AddFallback", (PyCFunction
) _wrap_wxMimeTypesManager_AddFallback
, METH_VARARGS
| METH_KEYWORDS
},
11069 { "wxMimeTypesManager_EnumAllFileTypes", (PyCFunction
) _wrap_wxMimeTypesManager_EnumAllFileTypes
, METH_VARARGS
| METH_KEYWORDS
},
11070 { "wxMimeTypesManager_ReadMimeTypes", (PyCFunction
) _wrap_wxMimeTypesManager_ReadMimeTypes
, METH_VARARGS
| METH_KEYWORDS
},
11071 { "wxMimeTypesManager_ReadMailcap", (PyCFunction
) _wrap_wxMimeTypesManager_ReadMailcap
, METH_VARARGS
| METH_KEYWORDS
},
11072 { "wxMimeTypesManager_GetFileTypeFromMimeType", (PyCFunction
) _wrap_wxMimeTypesManager_GetFileTypeFromMimeType
, METH_VARARGS
| METH_KEYWORDS
},
11073 { "wxMimeTypesManager_GetFileTypeFromExtension", (PyCFunction
) _wrap_wxMimeTypesManager_GetFileTypeFromExtension
, METH_VARARGS
| METH_KEYWORDS
},
11074 { "wxMimeTypesManager_ClearData", (PyCFunction
) _wrap_wxMimeTypesManager_ClearData
, METH_VARARGS
| METH_KEYWORDS
},
11075 { "wxMimeTypesManager_Initialize", (PyCFunction
) _wrap_wxMimeTypesManager_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
11076 { "new_wxMimeTypesManager", (PyCFunction
) _wrap_new_wxMimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
},
11077 { "wxMimeTypesManager_IsOfType", (PyCFunction
) _wrap_wxMimeTypesManager_IsOfType
, METH_VARARGS
| METH_KEYWORDS
},
11078 { "delete_wxFileType", (PyCFunction
) _wrap_delete_wxFileType
, METH_VARARGS
| METH_KEYWORDS
},
11079 { "wxFileType_ExpandCommand", (PyCFunction
) _wrap_wxFileType_ExpandCommand
, METH_VARARGS
| METH_KEYWORDS
},
11080 { "wxFileType_Unassociate", (PyCFunction
) _wrap_wxFileType_Unassociate
, METH_VARARGS
| METH_KEYWORDS
},
11081 { "wxFileType_SetDefaultIcon", (PyCFunction
) _wrap_wxFileType_SetDefaultIcon
, METH_VARARGS
| METH_KEYWORDS
},
11082 { "wxFileType_SetCommand", (PyCFunction
) _wrap_wxFileType_SetCommand
, METH_VARARGS
| METH_KEYWORDS
},
11083 { "wxFileType_GetAllCommands", (PyCFunction
) _wrap_wxFileType_GetAllCommands
, METH_VARARGS
| METH_KEYWORDS
},
11084 { "wxFileType_GetPrintCommand", (PyCFunction
) _wrap_wxFileType_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
},
11085 { "wxFileType_GetOpenCommand", (PyCFunction
) _wrap_wxFileType_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
},
11086 { "wxFileType_GetDescription", (PyCFunction
) _wrap_wxFileType_GetDescription
, METH_VARARGS
| METH_KEYWORDS
},
11087 { "wxFileType_GetIconInfo", (PyCFunction
) _wrap_wxFileType_GetIconInfo
, METH_VARARGS
| METH_KEYWORDS
},
11088 { "wxFileType_GetIcon", (PyCFunction
) _wrap_wxFileType_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
11089 { "wxFileType_GetExtensions", (PyCFunction
) _wrap_wxFileType_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
},
11090 { "wxFileType_GetMimeTypes", (PyCFunction
) _wrap_wxFileType_GetMimeTypes
, METH_VARARGS
| METH_KEYWORDS
},
11091 { "wxFileType_GetMimeType", (PyCFunction
) _wrap_wxFileType_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
11092 { "new_wxFileType", (PyCFunction
) _wrap_new_wxFileType
, METH_VARARGS
| METH_KEYWORDS
},
11093 { "wxFileTypeInfo_GetIconIndex", (PyCFunction
) _wrap_wxFileTypeInfo_GetIconIndex
, METH_VARARGS
| METH_KEYWORDS
},
11094 { "wxFileTypeInfo_GetIconFile", (PyCFunction
) _wrap_wxFileTypeInfo_GetIconFile
, METH_VARARGS
| METH_KEYWORDS
},
11095 { "wxFileTypeInfo_GetExtensionsCount", (PyCFunction
) _wrap_wxFileTypeInfo_GetExtensionsCount
, METH_VARARGS
| METH_KEYWORDS
},
11096 { "wxFileTypeInfo_GetExtensions", (PyCFunction
) _wrap_wxFileTypeInfo_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
},
11097 { "wxFileTypeInfo_GetDescription", (PyCFunction
) _wrap_wxFileTypeInfo_GetDescription
, METH_VARARGS
| METH_KEYWORDS
},
11098 { "wxFileTypeInfo_GetShortDesc", (PyCFunction
) _wrap_wxFileTypeInfo_GetShortDesc
, METH_VARARGS
| METH_KEYWORDS
},
11099 { "wxFileTypeInfo_GetPrintCommand", (PyCFunction
) _wrap_wxFileTypeInfo_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
},
11100 { "wxFileTypeInfo_GetOpenCommand", (PyCFunction
) _wrap_wxFileTypeInfo_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
},
11101 { "wxFileTypeInfo_GetMimeType", (PyCFunction
) _wrap_wxFileTypeInfo_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
11102 { "wxFileTypeInfo_SetShortDesc", (PyCFunction
) _wrap_wxFileTypeInfo_SetShortDesc
, METH_VARARGS
| METH_KEYWORDS
},
11103 { "wxFileTypeInfo_SetIcon", (PyCFunction
) _wrap_wxFileTypeInfo_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
11104 { "wxFileTypeInfo_IsValid", (PyCFunction
) _wrap_wxFileTypeInfo_IsValid
, METH_VARARGS
| METH_KEYWORDS
},
11105 { "new_wxNullFileTypeInfo", (PyCFunction
) _wrap_new_wxNullFileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
},
11106 { "new_wxFileTypeInfoSequence", (PyCFunction
) _wrap_new_wxFileTypeInfoSequence
, METH_VARARGS
| METH_KEYWORDS
},
11107 { "new_wxFileTypeInfo", (PyCFunction
) _wrap_new_wxFileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
},
11108 { "wxWave_Play", (PyCFunction
) _wrap_wxWave_Play
, METH_VARARGS
| METH_KEYWORDS
},
11109 { "wxWave_IsOk", (PyCFunction
) _wrap_wxWave_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
11110 { "delete_wxWave", (PyCFunction
) _wrap_delete_wxWave
, METH_VARARGS
| METH_KEYWORDS
},
11111 { "new_wxWave", (PyCFunction
) _wrap_new_wxWave
, METH_VARARGS
| METH_KEYWORDS
},
11112 { "wxJoystick_ReleaseCapture", (PyCFunction
) _wrap_wxJoystick_ReleaseCapture
, METH_VARARGS
| METH_KEYWORDS
},
11113 { "wxJoystick_SetCapture", (PyCFunction
) _wrap_wxJoystick_SetCapture
, METH_VARARGS
| METH_KEYWORDS
},
11114 { "wxJoystick_HasPOVCTS", (PyCFunction
) _wrap_wxJoystick_HasPOVCTS
, METH_VARARGS
| METH_KEYWORDS
},
11115 { "wxJoystick_HasPOV4Dir", (PyCFunction
) _wrap_wxJoystick_HasPOV4Dir
, METH_VARARGS
| METH_KEYWORDS
},
11116 { "wxJoystick_HasPOV", (PyCFunction
) _wrap_wxJoystick_HasPOV
, METH_VARARGS
| METH_KEYWORDS
},
11117 { "wxJoystick_HasV", (PyCFunction
) _wrap_wxJoystick_HasV
, METH_VARARGS
| METH_KEYWORDS
},
11118 { "wxJoystick_HasU", (PyCFunction
) _wrap_wxJoystick_HasU
, METH_VARARGS
| METH_KEYWORDS
},
11119 { "wxJoystick_HasZ", (PyCFunction
) _wrap_wxJoystick_HasZ
, METH_VARARGS
| METH_KEYWORDS
},
11120 { "wxJoystick_HasRudder", (PyCFunction
) _wrap_wxJoystick_HasRudder
, METH_VARARGS
| METH_KEYWORDS
},
11121 { "wxJoystick_GetVMax", (PyCFunction
) _wrap_wxJoystick_GetVMax
, METH_VARARGS
| METH_KEYWORDS
},
11122 { "wxJoystick_GetVMin", (PyCFunction
) _wrap_wxJoystick_GetVMin
, METH_VARARGS
| METH_KEYWORDS
},
11123 { "wxJoystick_GetUMax", (PyCFunction
) _wrap_wxJoystick_GetUMax
, METH_VARARGS
| METH_KEYWORDS
},
11124 { "wxJoystick_GetUMin", (PyCFunction
) _wrap_wxJoystick_GetUMin
, METH_VARARGS
| METH_KEYWORDS
},
11125 { "wxJoystick_GetRudderMax", (PyCFunction
) _wrap_wxJoystick_GetRudderMax
, METH_VARARGS
| METH_KEYWORDS
},
11126 { "wxJoystick_GetRudderMin", (PyCFunction
) _wrap_wxJoystick_GetRudderMin
, METH_VARARGS
| METH_KEYWORDS
},
11127 { "wxJoystick_GetPollingMax", (PyCFunction
) _wrap_wxJoystick_GetPollingMax
, METH_VARARGS
| METH_KEYWORDS
},
11128 { "wxJoystick_GetPollingMin", (PyCFunction
) _wrap_wxJoystick_GetPollingMin
, METH_VARARGS
| METH_KEYWORDS
},
11129 { "wxJoystick_GetMaxAxes", (PyCFunction
) _wrap_wxJoystick_GetMaxAxes
, METH_VARARGS
| METH_KEYWORDS
},
11130 { "wxJoystick_GetMaxButtons", (PyCFunction
) _wrap_wxJoystick_GetMaxButtons
, METH_VARARGS
| METH_KEYWORDS
},
11131 { "wxJoystick_GetNumberAxes", (PyCFunction
) _wrap_wxJoystick_GetNumberAxes
, METH_VARARGS
| METH_KEYWORDS
},
11132 { "wxJoystick_GetNumberButtons", (PyCFunction
) _wrap_wxJoystick_GetNumberButtons
, METH_VARARGS
| METH_KEYWORDS
},
11133 { "wxJoystick_GetZMax", (PyCFunction
) _wrap_wxJoystick_GetZMax
, METH_VARARGS
| METH_KEYWORDS
},
11134 { "wxJoystick_GetYMax", (PyCFunction
) _wrap_wxJoystick_GetYMax
, METH_VARARGS
| METH_KEYWORDS
},
11135 { "wxJoystick_GetXMax", (PyCFunction
) _wrap_wxJoystick_GetXMax
, METH_VARARGS
| METH_KEYWORDS
},
11136 { "wxJoystick_GetZMin", (PyCFunction
) _wrap_wxJoystick_GetZMin
, METH_VARARGS
| METH_KEYWORDS
},
11137 { "wxJoystick_GetYMin", (PyCFunction
) _wrap_wxJoystick_GetYMin
, METH_VARARGS
| METH_KEYWORDS
},
11138 { "wxJoystick_GetXMin", (PyCFunction
) _wrap_wxJoystick_GetXMin
, METH_VARARGS
| METH_KEYWORDS
},
11139 { "wxJoystick_GetProductName", (PyCFunction
) _wrap_wxJoystick_GetProductName
, METH_VARARGS
| METH_KEYWORDS
},
11140 { "wxJoystick_GetProductId", (PyCFunction
) _wrap_wxJoystick_GetProductId
, METH_VARARGS
| METH_KEYWORDS
},
11141 { "wxJoystick_GetManufacturerId", (PyCFunction
) _wrap_wxJoystick_GetManufacturerId
, METH_VARARGS
| METH_KEYWORDS
},
11142 { "wxJoystick_GetNumberJoysticks", (PyCFunction
) _wrap_wxJoystick_GetNumberJoysticks
, METH_VARARGS
| METH_KEYWORDS
},
11143 { "wxJoystick_IsOk", (PyCFunction
) _wrap_wxJoystick_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
11144 { "wxJoystick_SetMovementThreshold", (PyCFunction
) _wrap_wxJoystick_SetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
},
11145 { "wxJoystick_GetMovementThreshold", (PyCFunction
) _wrap_wxJoystick_GetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
},
11146 { "wxJoystick_GetVPosition", (PyCFunction
) _wrap_wxJoystick_GetVPosition
, METH_VARARGS
| METH_KEYWORDS
},
11147 { "wxJoystick_GetUPosition", (PyCFunction
) _wrap_wxJoystick_GetUPosition
, METH_VARARGS
| METH_KEYWORDS
},
11148 { "wxJoystick_GetRudderPosition", (PyCFunction
) _wrap_wxJoystick_GetRudderPosition
, METH_VARARGS
| METH_KEYWORDS
},
11149 { "wxJoystick_GetPOVCTSPosition", (PyCFunction
) _wrap_wxJoystick_GetPOVCTSPosition
, METH_VARARGS
| METH_KEYWORDS
},
11150 { "wxJoystick_GetPOVPosition", (PyCFunction
) _wrap_wxJoystick_GetPOVPosition
, METH_VARARGS
| METH_KEYWORDS
},
11151 { "wxJoystick_GetButtonState", (PyCFunction
) _wrap_wxJoystick_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
},
11152 { "wxJoystick_GetZPosition", (PyCFunction
) _wrap_wxJoystick_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
},
11153 { "wxJoystick_GetPosition", (PyCFunction
) _wrap_wxJoystick_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
11154 { "delete_wxJoystick", (PyCFunction
) _wrap_delete_wxJoystick
, METH_VARARGS
| METH_KEYWORDS
},
11155 { "new_wxJoystick", (PyCFunction
) _wrap_new_wxJoystick
, METH_VARARGS
| METH_KEYWORDS
},
11156 { "wxProcess_IsErrorAvailable", (PyCFunction
) _wrap_wxProcess_IsErrorAvailable
, METH_VARARGS
| METH_KEYWORDS
},
11157 { "wxProcess_IsInputAvailable", (PyCFunction
) _wrap_wxProcess_IsInputAvailable
, METH_VARARGS
| METH_KEYWORDS
},
11158 { "wxProcess_IsInputOpened", (PyCFunction
) _wrap_wxProcess_IsInputOpened
, METH_VARARGS
| METH_KEYWORDS
},
11159 { "wxProcess_CloseOutput", (PyCFunction
) _wrap_wxProcess_CloseOutput
, METH_VARARGS
| METH_KEYWORDS
},
11160 { "wxProcess_GetOutputStream", (PyCFunction
) _wrap_wxProcess_GetOutputStream
, METH_VARARGS
| METH_KEYWORDS
},
11161 { "wxProcess_GetErrorStream", (PyCFunction
) _wrap_wxProcess_GetErrorStream
, METH_VARARGS
| METH_KEYWORDS
},
11162 { "wxProcess_GetInputStream", (PyCFunction
) _wrap_wxProcess_GetInputStream
, METH_VARARGS
| METH_KEYWORDS
},
11163 { "wxProcess_Detach", (PyCFunction
) _wrap_wxProcess_Detach
, METH_VARARGS
| METH_KEYWORDS
},
11164 { "wxProcess_IsRedirected", (PyCFunction
) _wrap_wxProcess_IsRedirected
, METH_VARARGS
| METH_KEYWORDS
},
11165 { "wxProcess_Redirect", (PyCFunction
) _wrap_wxProcess_Redirect
, METH_VARARGS
| METH_KEYWORDS
},
11166 { "wxProcess_base_OnTerminate", (PyCFunction
) _wrap_wxProcess_base_OnTerminate
, METH_VARARGS
| METH_KEYWORDS
},
11167 { "wxProcess__setCallbackInfo", (PyCFunction
) _wrap_wxProcess__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
11168 { "wxProcess_Destroy", (PyCFunction
) _wrap_wxProcess_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
11169 { "new_wxProcess", (PyCFunction
) _wrap_new_wxProcess
, METH_VARARGS
| METH_KEYWORDS
},
11170 { "wxProcess_Open", (PyCFunction
) _wrap_wxProcess_Open
, METH_VARARGS
| METH_KEYWORDS
},
11171 { "wxProcess_Exists", (PyCFunction
) _wrap_wxProcess_Exists
, METH_VARARGS
| METH_KEYWORDS
},
11172 { "wxProcess_Kill", (PyCFunction
) _wrap_wxProcess_Kill
, METH_VARARGS
| METH_KEYWORDS
},
11173 { "wxProcessEvent_m_exitcode_get", (PyCFunction
) _wrap_wxProcessEvent_m_exitcode_get
, METH_VARARGS
| METH_KEYWORDS
},
11174 { "wxProcessEvent_m_exitcode_set", (PyCFunction
) _wrap_wxProcessEvent_m_exitcode_set
, METH_VARARGS
| METH_KEYWORDS
},
11175 { "wxProcessEvent_m_pid_get", (PyCFunction
) _wrap_wxProcessEvent_m_pid_get
, METH_VARARGS
| METH_KEYWORDS
},
11176 { "wxProcessEvent_m_pid_set", (PyCFunction
) _wrap_wxProcessEvent_m_pid_set
, METH_VARARGS
| METH_KEYWORDS
},
11177 { "wxProcessEvent_GetExitCode", (PyCFunction
) _wrap_wxProcessEvent_GetExitCode
, METH_VARARGS
| METH_KEYWORDS
},
11178 { "wxProcessEvent_GetPid", (PyCFunction
) _wrap_wxProcessEvent_GetPid
, METH_VARARGS
| METH_KEYWORDS
},
11179 { "new_wxProcessEvent", (PyCFunction
) _wrap_new_wxProcessEvent
, METH_VARARGS
| METH_KEYWORDS
},
11180 { "wxPyLog_Destroy", (PyCFunction
) _wrap_wxPyLog_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
11181 { "wxPyLog__setCallbackInfo", (PyCFunction
) _wrap_wxPyLog__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
11182 { "new_wxPyLog", (PyCFunction
) _wrap_new_wxPyLog
, METH_VARARGS
| METH_KEYWORDS
},
11183 { "delete_wxLogNull", (PyCFunction
) _wrap_delete_wxLogNull
, METH_VARARGS
| METH_KEYWORDS
},
11184 { "new_wxLogNull", (PyCFunction
) _wrap_new_wxLogNull
, METH_VARARGS
| METH_KEYWORDS
},
11185 { "wxLogChain_GetOldLog", (PyCFunction
) _wrap_wxLogChain_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
},
11186 { "wxLogChain_IsPassingMessages", (PyCFunction
) _wrap_wxLogChain_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
},
11187 { "wxLogChain_PassMessages", (PyCFunction
) _wrap_wxLogChain_PassMessages
, METH_VARARGS
| METH_KEYWORDS
},
11188 { "wxLogChain_SetLog", (PyCFunction
) _wrap_wxLogChain_SetLog
, METH_VARARGS
| METH_KEYWORDS
},
11189 { "new_wxLogChain", (PyCFunction
) _wrap_new_wxLogChain
, METH_VARARGS
| METH_KEYWORDS
},
11190 { "wxLogWindow_PassMessages", (PyCFunction
) _wrap_wxLogWindow_PassMessages
, METH_VARARGS
| METH_KEYWORDS
},
11191 { "wxLogWindow_IsPassingMessages", (PyCFunction
) _wrap_wxLogWindow_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
},
11192 { "wxLogWindow_GetOldLog", (PyCFunction
) _wrap_wxLogWindow_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
},
11193 { "wxLogWindow_GetFrame", (PyCFunction
) _wrap_wxLogWindow_GetFrame
, METH_VARARGS
| METH_KEYWORDS
},
11194 { "wxLogWindow_Show", (PyCFunction
) _wrap_wxLogWindow_Show
, METH_VARARGS
| METH_KEYWORDS
},
11195 { "new_wxLogWindow", (PyCFunction
) _wrap_new_wxLogWindow
, METH_VARARGS
| METH_KEYWORDS
},
11196 { "new_wxLogGui", (PyCFunction
) _wrap_new_wxLogGui
, METH_VARARGS
| METH_KEYWORDS
},
11197 { "new_wxLogTextCtrl", (PyCFunction
) _wrap_new_wxLogTextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
11198 { "new_wxLogStderr", (PyCFunction
) _wrap_new_wxLogStderr
, METH_VARARGS
| METH_KEYWORDS
},
11199 { "wxLog_TimeStamp", (PyCFunction
) _wrap_wxLog_TimeStamp
, METH_VARARGS
| METH_KEYWORDS
},
11200 { "wxLog_GetLogLevel", (PyCFunction
) _wrap_wxLog_GetLogLevel
, METH_VARARGS
| METH_KEYWORDS
},
11201 { "wxLog_SetLogLevel", (PyCFunction
) _wrap_wxLog_SetLogLevel
, METH_VARARGS
| METH_KEYWORDS
},
11202 { "wxLog_IsAllowedTraceMask", (PyCFunction
) _wrap_wxLog_IsAllowedTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
11203 { "wxLog_GetTraceMask", (PyCFunction
) _wrap_wxLog_GetTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
11204 { "wxLog_GetVerbose", (PyCFunction
) _wrap_wxLog_GetVerbose
, METH_VARARGS
| METH_KEYWORDS
},
11205 { "wxLog_GetTimestamp", (PyCFunction
) _wrap_wxLog_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
11206 { "wxLog_SetTimestamp", (PyCFunction
) _wrap_wxLog_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
11207 { "wxLog_GetTraceMasks", (PyCFunction
) _wrap_wxLog_GetTraceMasks
, METH_VARARGS
| METH_KEYWORDS
},
11208 { "wxLog_ClearTraceMasks", (PyCFunction
) _wrap_wxLog_ClearTraceMasks
, METH_VARARGS
| METH_KEYWORDS
},
11209 { "wxLog_RemoveTraceMask", (PyCFunction
) _wrap_wxLog_RemoveTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
11210 { "wxLog_AddTraceMask", (PyCFunction
) _wrap_wxLog_AddTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
11211 { "wxLog_SetTraceMask", (PyCFunction
) _wrap_wxLog_SetTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
11212 { "wxLog_DontCreateOnDemand", (PyCFunction
) _wrap_wxLog_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
},
11213 { "wxLog_SetVerbose", (PyCFunction
) _wrap_wxLog_SetVerbose
, METH_VARARGS
| METH_KEYWORDS
},
11214 { "wxLog_Resume", (PyCFunction
) _wrap_wxLog_Resume
, METH_VARARGS
| METH_KEYWORDS
},
11215 { "wxLog_Suspend", (PyCFunction
) _wrap_wxLog_Suspend
, METH_VARARGS
| METH_KEYWORDS
},
11216 { "wxLog_SetActiveTarget", (PyCFunction
) _wrap_wxLog_SetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
},
11217 { "wxLog_GetActiveTarget", (PyCFunction
) _wrap_wxLog_GetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
},
11218 { "wxLog_FlushActive", (PyCFunction
) _wrap_wxLog_FlushActive
, METH_VARARGS
| METH_KEYWORDS
},
11219 { "wxLog_Flush", (PyCFunction
) _wrap_wxLog_Flush
, METH_VARARGS
| METH_KEYWORDS
},
11220 { "wxLog_OnLog", (PyCFunction
) _wrap_wxLog_OnLog
, METH_VARARGS
| METH_KEYWORDS
},
11221 { "wxLog_EnableLogging", (PyCFunction
) _wrap_wxLog_EnableLogging
, METH_VARARGS
| METH_KEYWORDS
},
11222 { "wxLog_IsEnabled", (PyCFunction
) _wrap_wxLog_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
11223 { "new_wxLog", (PyCFunction
) _wrap_new_wxLog
, METH_VARARGS
| METH_KEYWORDS
},
11224 { "wxStopWatch_Time", (PyCFunction
) _wrap_wxStopWatch_Time
, METH_VARARGS
| METH_KEYWORDS
},
11225 { "wxStopWatch_Resume", (PyCFunction
) _wrap_wxStopWatch_Resume
, METH_VARARGS
| METH_KEYWORDS
},
11226 { "wxStopWatch_Pause", (PyCFunction
) _wrap_wxStopWatch_Pause
, METH_VARARGS
| METH_KEYWORDS
},
11227 { "wxStopWatch_Start", (PyCFunction
) _wrap_wxStopWatch_Start
, METH_VARARGS
| METH_KEYWORDS
},
11228 { "delete_wxStopWatch", (PyCFunction
) _wrap_delete_wxStopWatch
, METH_VARARGS
| METH_KEYWORDS
},
11229 { "new_wxStopWatch", (PyCFunction
) _wrap_new_wxStopWatch
, METH_VARARGS
| METH_KEYWORDS
},
11230 { "wxPyTimer_Stop", (PyCFunction
) _wrap_wxPyTimer_Stop
, METH_VARARGS
| METH_KEYWORDS
},
11231 { "wxPyTimer_Start", (PyCFunction
) _wrap_wxPyTimer_Start
, METH_VARARGS
| METH_KEYWORDS
},
11232 { "wxPyTimer_SetOwner", (PyCFunction
) _wrap_wxPyTimer_SetOwner
, METH_VARARGS
| METH_KEYWORDS
},
11233 { "wxPyTimer_IsRunning", (PyCFunction
) _wrap_wxPyTimer_IsRunning
, METH_VARARGS
| METH_KEYWORDS
},
11234 { "wxPyTimer_IsOneShot", (PyCFunction
) _wrap_wxPyTimer_IsOneShot
, METH_VARARGS
| METH_KEYWORDS
},
11235 { "wxPyTimer_GetInterval", (PyCFunction
) _wrap_wxPyTimer_GetInterval
, METH_VARARGS
| METH_KEYWORDS
},
11236 { "delete_wxPyTimer", (PyCFunction
) _wrap_delete_wxPyTimer
, METH_VARARGS
| METH_KEYWORDS
},
11237 { "new_wxPyTimer", (PyCFunction
) _wrap_new_wxPyTimer
, METH_VARARGS
| METH_KEYWORDS
},
11238 { "wxDragImage_RedrawImage", (PyCFunction
) _wrap_wxDragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
},
11239 { "wxDragImage_GetImageRect", (PyCFunction
) _wrap_wxDragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
},
11240 { "wxDragImage_Hide", (PyCFunction
) _wrap_wxDragImage_Hide
, METH_VARARGS
| METH_KEYWORDS
},
11241 { "wxDragImage_Show", (PyCFunction
) _wrap_wxDragImage_Show
, METH_VARARGS
| METH_KEYWORDS
},
11242 { "wxDragImage_Move", (PyCFunction
) _wrap_wxDragImage_Move
, METH_VARARGS
| METH_KEYWORDS
},
11243 { "wxDragImage_EndDrag", (PyCFunction
) _wrap_wxDragImage_EndDrag
, METH_VARARGS
| METH_KEYWORDS
},
11244 { "wxDragImage_BeginDragBounded", (PyCFunction
) _wrap_wxDragImage_BeginDragBounded
, METH_VARARGS
| METH_KEYWORDS
},
11245 { "wxDragImage_BeginDrag", (PyCFunction
) _wrap_wxDragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
},
11246 { "wxDragImage_SetBackingBitmap", (PyCFunction
) _wrap_wxDragImage_SetBackingBitmap
, METH_VARARGS
| METH_KEYWORDS
},
11247 { "delete_wxDragImage", (PyCFunction
) _wrap_delete_wxDragImage
, METH_VARARGS
| METH_KEYWORDS
},
11248 { "new_wxDragListItem", (PyCFunction
) _wrap_new_wxDragListItem
, METH_VARARGS
| METH_KEYWORDS
},
11249 { "new_wxDragTreeItem", (PyCFunction
) _wrap_new_wxDragTreeItem
, METH_VARARGS
| METH_KEYWORDS
},
11250 { "new_wxDragString", (PyCFunction
) _wrap_new_wxDragString
, METH_VARARGS
| METH_KEYWORDS
},
11251 { "new_wxDragIcon", (PyCFunction
) _wrap_new_wxDragIcon
, METH_VARARGS
| METH_KEYWORDS
},
11252 { "new_wxDragImage", (PyCFunction
) _wrap_new_wxDragImage
, METH_VARARGS
| METH_KEYWORDS
},
11253 { "wxPyTipProvider__setCallbackInfo", (PyCFunction
) _wrap_wxPyTipProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
11254 { "new_wxPyTipProvider", (PyCFunction
) _wrap_new_wxPyTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
11255 { "wxTipProvider_PreprocessTip", (PyCFunction
) _wrap_wxTipProvider_PreprocessTip
, METH_VARARGS
| METH_KEYWORDS
},
11256 { "wxTipProvider_GetCurrentTip", (PyCFunction
) _wrap_wxTipProvider_GetCurrentTip
, METH_VARARGS
| METH_KEYWORDS
},
11257 { "wxTipProvider_GetTip", (PyCFunction
) _wrap_wxTipProvider_GetTip
, METH_VARARGS
| METH_KEYWORDS
},
11258 { "delete_wxTipProvider", (PyCFunction
) _wrap_delete_wxTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
11259 { "delete_wxMutexGuiLocker", (PyCFunction
) _wrap_delete_wxMutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
},
11260 { "new_wxMutexGuiLocker", (PyCFunction
) _wrap_new_wxMutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
},
11261 { "delete_wxWindowDisabler", (PyCFunction
) _wrap_delete_wxWindowDisabler
, METH_VARARGS
| METH_KEYWORDS
},
11262 { "new_wxWindowDisabler", (PyCFunction
) _wrap_new_wxWindowDisabler
, METH_VARARGS
| METH_KEYWORDS
},
11263 { "delete_wxBusyCursor", (PyCFunction
) _wrap_delete_wxBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
11264 { "new_wxBusyCursor", (PyCFunction
) _wrap_new_wxBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
11265 { "wxCaret_Hide", (PyCFunction
) _wrap_wxCaret_Hide
, METH_VARARGS
| METH_KEYWORDS
},
11266 { "wxCaret_Show", (PyCFunction
) _wrap_wxCaret_Show
, METH_VARARGS
| METH_KEYWORDS
},
11267 { "wxCaret_SetSize", (PyCFunction
) _wrap_wxCaret_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
11268 { "wxCaret_SetSizeWH", (PyCFunction
) _wrap_wxCaret_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
11269 { "wxCaret_Move", (PyCFunction
) _wrap_wxCaret_Move
, METH_VARARGS
| METH_KEYWORDS
},
11270 { "wxCaret_MoveXY", (PyCFunction
) _wrap_wxCaret_MoveXY
, METH_VARARGS
| METH_KEYWORDS
},
11271 { "wxCaret_GetWindow", (PyCFunction
) _wrap_wxCaret_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
11272 { "wxCaret_GetSize", (PyCFunction
) _wrap_wxCaret_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
11273 { "wxCaret_GetSizeTuple", (PyCFunction
) _wrap_wxCaret_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
11274 { "wxCaret_GetPosition", (PyCFunction
) _wrap_wxCaret_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
11275 { "wxCaret_GetPositionTuple", (PyCFunction
) _wrap_wxCaret_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
11276 { "wxCaret_IsVisible", (PyCFunction
) _wrap_wxCaret_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
11277 { "wxCaret_IsOk", (PyCFunction
) _wrap_wxCaret_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
11278 { "delete_wxCaret", (PyCFunction
) _wrap_delete_wxCaret
, METH_VARARGS
| METH_KEYWORDS
},
11279 { "new_wxCaret", (PyCFunction
) _wrap_new_wxCaret
, METH_VARARGS
| METH_KEYWORDS
},
11280 { "wxToolTip_SetDelay", (PyCFunction
) _wrap_wxToolTip_SetDelay
, METH_VARARGS
| METH_KEYWORDS
},
11281 { "wxToolTip_Enable", (PyCFunction
) _wrap_wxToolTip_Enable
, METH_VARARGS
| METH_KEYWORDS
},
11282 { "wxToolTip_GetWindow", (PyCFunction
) _wrap_wxToolTip_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
11283 { "wxToolTip_GetTip", (PyCFunction
) _wrap_wxToolTip_GetTip
, METH_VARARGS
| METH_KEYWORDS
},
11284 { "wxToolTip_SetTip", (PyCFunction
) _wrap_wxToolTip_SetTip
, METH_VARARGS
| METH_KEYWORDS
},
11285 { "new_wxToolTip", (PyCFunction
) _wrap_new_wxToolTip
, METH_VARARGS
| METH_KEYWORDS
},
11286 { "wxSystemSettings_SetScreenType", (PyCFunction
) _wrap_wxSystemSettings_SetScreenType
, METH_VARARGS
| METH_KEYWORDS
},
11287 { "wxSystemSettings_GetScreenType", (PyCFunction
) _wrap_wxSystemSettings_GetScreenType
, METH_VARARGS
| METH_KEYWORDS
},
11288 { "wxSystemSettings_HasFeature", (PyCFunction
) _wrap_wxSystemSettings_HasFeature
, METH_VARARGS
| METH_KEYWORDS
},
11289 { "wxSystemSettings_GetMetric", (PyCFunction
) _wrap_wxSystemSettings_GetMetric
, METH_VARARGS
| METH_KEYWORDS
},
11290 { "wxSystemSettings_GetFont", (PyCFunction
) _wrap_wxSystemSettings_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
11291 { "wxSystemSettings_GetColour", (PyCFunction
) _wrap_wxSystemSettings_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
11292 { "wxWaveData", (PyCFunction
) _wrap_wxWaveData
, METH_VARARGS
| METH_KEYWORDS
},
11293 { "wxExecute", (PyCFunction
) _wrap_wxExecute
, METH_VARARGS
| METH_KEYWORDS
},
11294 { "wxSafeShowMessage", (PyCFunction
) _wrap_wxSafeShowMessage
, METH_VARARGS
| METH_KEYWORDS
},
11295 { "wxLogGeneric", (PyCFunction
) _wrap_wxLogGeneric
, METH_VARARGS
| METH_KEYWORDS
},
11296 { "wxLogTraceMask", (PyCFunction
) _wrap_wxLogTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
11297 { "wxLogTrace", (PyCFunction
) _wrap_wxLogTrace
, METH_VARARGS
| METH_KEYWORDS
},
11298 { "wxLogSysError", (PyCFunction
) _wrap_wxLogSysError
, METH_VARARGS
| METH_KEYWORDS
},
11299 { "wxLogStatusFrame", (PyCFunction
) _wrap_wxLogStatusFrame
, METH_VARARGS
| METH_KEYWORDS
},
11300 { "wxLogStatus", (PyCFunction
) _wrap_wxLogStatus
, METH_VARARGS
| METH_KEYWORDS
},
11301 { "wxLogVerbose", (PyCFunction
) _wrap_wxLogVerbose
, METH_VARARGS
| METH_KEYWORDS
},
11302 { "wxLogDebug", (PyCFunction
) _wrap_wxLogDebug
, METH_VARARGS
| METH_KEYWORDS
},
11303 { "wxLogInfo", (PyCFunction
) _wrap_wxLogInfo
, METH_VARARGS
| METH_KEYWORDS
},
11304 { "wxLogMessage", (PyCFunction
) _wrap_wxLogMessage
, METH_VARARGS
| METH_KEYWORDS
},
11305 { "wxLogWarning", (PyCFunction
) _wrap_wxLogWarning
, METH_VARARGS
| METH_KEYWORDS
},
11306 { "wxLogError", (PyCFunction
) _wrap_wxLogError
, METH_VARARGS
| METH_KEYWORDS
},
11307 { "wxLogFatalError", (PyCFunction
) _wrap_wxLogFatalError
, METH_VARARGS
| METH_KEYWORDS
},
11308 { "wxSysErrorMsg", (PyCFunction
) _wrap_wxSysErrorMsg
, METH_VARARGS
| METH_KEYWORDS
},
11309 { "wxSysErrorCode", (PyCFunction
) _wrap_wxSysErrorCode
, METH_VARARGS
| METH_KEYWORDS
},
11310 { "wxCreateFileTipProvider", (PyCFunction
) _wrap_wxCreateFileTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
11311 { "wxShowTip", (PyCFunction
) _wrap_wxShowTip
, METH_VARARGS
| METH_KEYWORDS
},
11312 { "wxThread_IsMain", (PyCFunction
) _wrap_wxThread_IsMain
, METH_VARARGS
| METH_KEYWORDS
},
11313 { "wxMutexGuiLeave", (PyCFunction
) _wrap_wxMutexGuiLeave
, METH_VARARGS
| METH_KEYWORDS
},
11314 { "wxMutexGuiEnter", (PyCFunction
) _wrap_wxMutexGuiEnter
, METH_VARARGS
| METH_KEYWORDS
},
11315 { "wxWakeUpIdle", (PyCFunction
) _wrap_wxWakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
},
11316 { "wxPostEvent", (PyCFunction
) _wrap_wxPostEvent
, METH_VARARGS
| METH_KEYWORDS
},
11317 { "wxSafeYield", (PyCFunction
) _wrap_wxSafeYield
, METH_VARARGS
| METH_KEYWORDS
},
11318 { "wxCaret_SetBlinkTime", (PyCFunction
) _wrap_wxCaret_SetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
},
11319 { "wxCaret_GetBlinkTime", (PyCFunction
) _wrap_wxCaret_GetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
},
11320 { "wxGetTopLevelParent", (PyCFunction
) _wrap_wxGetTopLevelParent
, METH_VARARGS
| METH_KEYWORDS
},
11321 { "wxFindWindowAtPoint", (PyCFunction
) _wrap_wxFindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
},
11322 { "wxGenericFindWindowAtPoint", (PyCFunction
) _wrap_wxGenericFindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
},
11323 { "wxGetActiveWindow", (PyCFunction
) _wrap_wxGetActiveWindow
, METH_VARARGS
| METH_KEYWORDS
},
11324 { "wxBeginBusyCursor", (PyCFunction
) _wrap_wxBeginBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
11325 { "wxSetCursor", (PyCFunction
) _wrap_wxSetCursor
, METH_VARARGS
| METH_KEYWORDS
},
11326 { "wxGetClientDisplayRect", (PyCFunction
) _wrap_wxGetClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
},
11327 { "wxClientDisplayRect", (PyCFunction
) _wrap_wxClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
},
11328 { "wxGetDisplaySizeMM", (PyCFunction
) _wrap_wxGetDisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
},
11329 { "wxDisplaySizeMM", (PyCFunction
) _wrap_wxDisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
},
11330 { "wxGetDisplaySize", (PyCFunction
) _wrap_wxGetDisplaySize
, METH_VARARGS
| METH_KEYWORDS
},
11331 { "wxDisplaySize", (PyCFunction
) _wrap_wxDisplaySize
, METH_VARARGS
| METH_KEYWORDS
},
11332 { "wxGetDisplayDepth", (PyCFunction
) _wrap_wxGetDisplayDepth
, METH_VARARGS
| METH_KEYWORDS
},
11333 { "wxDisplayDepth", (PyCFunction
) _wrap_wxDisplayDepth
, METH_VARARGS
| METH_KEYWORDS
},
11334 { "wxColourDisplay", (PyCFunction
) _wrap_wxColourDisplay
, METH_VARARGS
| METH_KEYWORDS
},
11335 { "wxGetNumberFromUser", (PyCFunction
) _wrap_wxGetNumberFromUser
, METH_VARARGS
| METH_KEYWORDS
},
11336 { "wxMessageBox", (PyCFunction
) _wrap_wxMessageBox
, METH_VARARGS
| METH_KEYWORDS
},
11337 { "wxGetSingleChoiceIndex", (PyCFunction
) _wrap_wxGetSingleChoiceIndex
, METH_VARARGS
| METH_KEYWORDS
},
11338 { "wxGetSingleChoice", (PyCFunction
) _wrap_wxGetSingleChoice
, METH_VARARGS
| METH_KEYWORDS
},
11339 { "wxGetPasswordFromUser", (PyCFunction
) _wrap_wxGetPasswordFromUser
, METH_VARARGS
| METH_KEYWORDS
},
11340 { "wxGetTextFromUser", (PyCFunction
) _wrap_wxGetTextFromUser
, METH_VARARGS
| METH_KEYWORDS
},
11341 { "wxDirSelector", (PyCFunction
) _wrap_wxDirSelector
, METH_VARARGS
| METH_KEYWORDS
},
11342 { "wxSaveFileSelector", (PyCFunction
) _wrap_wxSaveFileSelector
, METH_VARARGS
| METH_KEYWORDS
},
11343 { "wxLoadFileSelector", (PyCFunction
) _wrap_wxLoadFileSelector
, METH_VARARGS
| METH_KEYWORDS
},
11344 { "wxFileSelector", (PyCFunction
) _wrap_wxFileSelector
, METH_VARARGS
| METH_KEYWORDS
},
11351 * This table is used by the pointer type-checker
11353 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
11354 { "_wxEvent","_wxProcessEvent",SwigwxProcessEventTowxEvent
},
11355 { "_signed_long","_long",0},
11356 { "_wxPrintQuality","_wxCoord",0},
11357 { "_wxPrintQuality","_int",0},
11358 { "_wxPrintQuality","_signed_int",0},
11359 { "_wxPrintQuality","_unsigned_int",0},
11360 { "_wxPrintQuality","_wxWindowID",0},
11361 { "_wxPrintQuality","_uint",0},
11362 { "_wxPrintQuality","_EBool",0},
11363 { "_wxPrintQuality","_size_t",0},
11364 { "_wxPrintQuality","_time_t",0},
11365 { "_wxLog","_wxPyLog",SwigwxPyLogTowxLog
},
11366 { "_wxLog","_wxLogChain",SwigwxLogChainTowxLog
},
11367 { "_wxLog","_wxLogWindow",SwigwxLogWindowTowxLog
},
11368 { "_wxLog","_wxLogGui",SwigwxLogGuiTowxLog
},
11369 { "_wxLog","_wxLogTextCtrl",SwigwxLogTextCtrlTowxLog
},
11370 { "_wxLog","_wxLogStderr",SwigwxLogStderrTowxLog
},
11371 { "_byte","_unsigned_char",0},
11372 { "_long","_unsigned_long",0},
11373 { "_long","_signed_long",0},
11374 { "_size_t","_wxCoord",0},
11375 { "_size_t","_wxPrintQuality",0},
11376 { "_size_t","_time_t",0},
11377 { "_size_t","_unsigned_int",0},
11378 { "_size_t","_int",0},
11379 { "_size_t","_wxWindowID",0},
11380 { "_size_t","_uint",0},
11381 { "_uint","_wxCoord",0},
11382 { "_uint","_wxPrintQuality",0},
11383 { "_uint","_time_t",0},
11384 { "_uint","_size_t",0},
11385 { "_uint","_unsigned_int",0},
11386 { "_uint","_int",0},
11387 { "_uint","_wxWindowID",0},
11388 { "_wxChar","_char",0},
11389 { "_char","_wxChar",0},
11390 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
11391 { "_EBool","_wxCoord",0},
11392 { "_EBool","_wxPrintQuality",0},
11393 { "_EBool","_signed_int",0},
11394 { "_EBool","_int",0},
11395 { "_EBool","_wxWindowID",0},
11396 { "_unsigned_long","_long",0},
11397 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
11398 { "_signed_int","_wxCoord",0},
11399 { "_signed_int","_wxPrintQuality",0},
11400 { "_signed_int","_EBool",0},
11401 { "_signed_int","_wxWindowID",0},
11402 { "_signed_int","_int",0},
11403 { "_WXTYPE","_wxDateTime_t",0},
11404 { "_WXTYPE","_short",0},
11405 { "_WXTYPE","_signed_short",0},
11406 { "_WXTYPE","_unsigned_short",0},
11407 { "_wxTipProvider","_wxPyTipProvider",SwigwxPyTipProviderTowxTipProvider
},
11408 { "_unsigned_short","_wxDateTime_t",0},
11409 { "_unsigned_short","_WXTYPE",0},
11410 { "_unsigned_short","_short",0},
11411 { "_wxObject","_wxEffects",SwigwxEffectsTowxObject
},
11412 { "_wxObject","_wxFileHistory",SwigwxFileHistoryTowxObject
},
11413 { "_wxObject","_wxPyArtProvider",SwigwxPyArtProviderTowxObject
},
11414 { "_wxObject","_wxWave",SwigwxWaveTowxObject
},
11415 { "_wxObject","_wxJoystick",SwigwxJoystickTowxObject
},
11416 { "_wxObject","_wxPyProcess",SwigwxPyProcessTowxObject
},
11417 { "_wxObject","_wxProcessEvent",SwigwxProcessEventTowxObject
},
11418 { "_wxObject","_wxPyTimer",SwigwxPyTimerTowxObject
},
11419 { "_wxObject","_wxGenericDragImage",SwigwxGenericDragImageTowxObject
},
11420 { "_wxObject","_wxToolTip",SwigwxToolTipTowxObject
},
11421 { "_signed_short","_WXTYPE",0},
11422 { "_signed_short","_short",0},
11423 { "_unsigned_char","_byte",0},
11424 { "_unsigned_int","_wxCoord",0},
11425 { "_unsigned_int","_wxPrintQuality",0},
11426 { "_unsigned_int","_time_t",0},
11427 { "_unsigned_int","_size_t",0},
11428 { "_unsigned_int","_uint",0},
11429 { "_unsigned_int","_wxWindowID",0},
11430 { "_unsigned_int","_int",0},
11431 { "_short","_wxDateTime_t",0},
11432 { "_short","_WXTYPE",0},
11433 { "_short","_unsigned_short",0},
11434 { "_short","_signed_short",0},
11435 { "_wxWindowID","_wxCoord",0},
11436 { "_wxWindowID","_wxPrintQuality",0},
11437 { "_wxWindowID","_time_t",0},
11438 { "_wxWindowID","_size_t",0},
11439 { "_wxWindowID","_EBool",0},
11440 { "_wxWindowID","_uint",0},
11441 { "_wxWindowID","_int",0},
11442 { "_wxWindowID","_signed_int",0},
11443 { "_wxWindowID","_unsigned_int",0},
11444 { "_int","_wxCoord",0},
11445 { "_int","_wxPrintQuality",0},
11446 { "_int","_time_t",0},
11447 { "_int","_size_t",0},
11448 { "_int","_EBool",0},
11449 { "_int","_uint",0},
11450 { "_int","_wxWindowID",0},
11451 { "_int","_unsigned_int",0},
11452 { "_int","_signed_int",0},
11453 { "_wxDateTime_t","_unsigned_short",0},
11454 { "_wxDateTime_t","_short",0},
11455 { "_wxDateTime_t","_WXTYPE",0},
11456 { "_time_t","_wxCoord",0},
11457 { "_time_t","_wxPrintQuality",0},
11458 { "_time_t","_unsigned_int",0},
11459 { "_time_t","_int",0},
11460 { "_time_t","_wxWindowID",0},
11461 { "_time_t","_uint",0},
11462 { "_time_t","_size_t",0},
11463 { "_wxCoord","_int",0},
11464 { "_wxCoord","_signed_int",0},
11465 { "_wxCoord","_unsigned_int",0},
11466 { "_wxCoord","_wxWindowID",0},
11467 { "_wxCoord","_uint",0},
11468 { "_wxCoord","_EBool",0},
11469 { "_wxCoord","_size_t",0},
11470 { "_wxCoord","_time_t",0},
11471 { "_wxCoord","_wxPrintQuality",0},
11472 { "_wxEvtHandler","_wxPyProcess",SwigwxPyProcessTowxEvtHandler
},
11475 static PyObject
*SWIG_globals
;
11479 SWIGEXPORT(void) initmisc2c() {
11481 SWIG_globals
= SWIG_newvarlink();
11482 m
= Py_InitModule("misc2c", misc2cMethods
);
11483 d
= PyModule_GetDict(m
);
11484 PyDict_SetItemString(d
,"wxSYS_OEM_FIXED_FONT", PyInt_FromLong((long) wxSYS_OEM_FIXED_FONT
));
11485 PyDict_SetItemString(d
,"wxSYS_ANSI_FIXED_FONT", PyInt_FromLong((long) wxSYS_ANSI_FIXED_FONT
));
11486 PyDict_SetItemString(d
,"wxSYS_ANSI_VAR_FONT", PyInt_FromLong((long) wxSYS_ANSI_VAR_FONT
));
11487 PyDict_SetItemString(d
,"wxSYS_SYSTEM_FONT", PyInt_FromLong((long) wxSYS_SYSTEM_FONT
));
11488 PyDict_SetItemString(d
,"wxSYS_DEVICE_DEFAULT_FONT", PyInt_FromLong((long) wxSYS_DEVICE_DEFAULT_FONT
));
11489 PyDict_SetItemString(d
,"wxSYS_DEFAULT_PALETTE", PyInt_FromLong((long) wxSYS_DEFAULT_PALETTE
));
11490 PyDict_SetItemString(d
,"wxSYS_SYSTEM_FIXED_FONT", PyInt_FromLong((long) wxSYS_SYSTEM_FIXED_FONT
));
11491 PyDict_SetItemString(d
,"wxSYS_DEFAULT_GUI_FONT", PyInt_FromLong((long) wxSYS_DEFAULT_GUI_FONT
));
11492 PyDict_SetItemString(d
,"wxSYS_COLOUR_SCROLLBAR", PyInt_FromLong((long) wxSYS_COLOUR_SCROLLBAR
));
11493 PyDict_SetItemString(d
,"wxSYS_COLOUR_BACKGROUND", PyInt_FromLong((long) wxSYS_COLOUR_BACKGROUND
));
11494 PyDict_SetItemString(d
,"wxSYS_COLOUR_DESKTOP", PyInt_FromLong((long) wxSYS_COLOUR_DESKTOP
));
11495 PyDict_SetItemString(d
,"wxSYS_COLOUR_ACTIVECAPTION", PyInt_FromLong((long) wxSYS_COLOUR_ACTIVECAPTION
));
11496 PyDict_SetItemString(d
,"wxSYS_COLOUR_INACTIVECAPTION", PyInt_FromLong((long) wxSYS_COLOUR_INACTIVECAPTION
));
11497 PyDict_SetItemString(d
,"wxSYS_COLOUR_MENU", PyInt_FromLong((long) wxSYS_COLOUR_MENU
));
11498 PyDict_SetItemString(d
,"wxSYS_COLOUR_WINDOW", PyInt_FromLong((long) wxSYS_COLOUR_WINDOW
));
11499 PyDict_SetItemString(d
,"wxSYS_COLOUR_WINDOWFRAME", PyInt_FromLong((long) wxSYS_COLOUR_WINDOWFRAME
));
11500 PyDict_SetItemString(d
,"wxSYS_COLOUR_MENUTEXT", PyInt_FromLong((long) wxSYS_COLOUR_MENUTEXT
));
11501 PyDict_SetItemString(d
,"wxSYS_COLOUR_WINDOWTEXT", PyInt_FromLong((long) wxSYS_COLOUR_WINDOWTEXT
));
11502 PyDict_SetItemString(d
,"wxSYS_COLOUR_CAPTIONTEXT", PyInt_FromLong((long) wxSYS_COLOUR_CAPTIONTEXT
));
11503 PyDict_SetItemString(d
,"wxSYS_COLOUR_ACTIVEBORDER", PyInt_FromLong((long) wxSYS_COLOUR_ACTIVEBORDER
));
11504 PyDict_SetItemString(d
,"wxSYS_COLOUR_INACTIVEBORDER", PyInt_FromLong((long) wxSYS_COLOUR_INACTIVEBORDER
));
11505 PyDict_SetItemString(d
,"wxSYS_COLOUR_APPWORKSPACE", PyInt_FromLong((long) wxSYS_COLOUR_APPWORKSPACE
));
11506 PyDict_SetItemString(d
,"wxSYS_COLOUR_HIGHLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_HIGHLIGHT
));
11507 PyDict_SetItemString(d
,"wxSYS_COLOUR_HIGHLIGHTTEXT", PyInt_FromLong((long) wxSYS_COLOUR_HIGHLIGHTTEXT
));
11508 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNFACE", PyInt_FromLong((long) wxSYS_COLOUR_BTNFACE
));
11509 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DFACE", PyInt_FromLong((long) wxSYS_COLOUR_3DFACE
));
11510 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNSHADOW", PyInt_FromLong((long) wxSYS_COLOUR_BTNSHADOW
));
11511 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DSHADOW", PyInt_FromLong((long) wxSYS_COLOUR_3DSHADOW
));
11512 PyDict_SetItemString(d
,"wxSYS_COLOUR_GRAYTEXT", PyInt_FromLong((long) wxSYS_COLOUR_GRAYTEXT
));
11513 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNTEXT", PyInt_FromLong((long) wxSYS_COLOUR_BTNTEXT
));
11514 PyDict_SetItemString(d
,"wxSYS_COLOUR_INACTIVECAPTIONTEXT", PyInt_FromLong((long) wxSYS_COLOUR_INACTIVECAPTIONTEXT
));
11515 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNHIGHLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_BTNHIGHLIGHT
));
11516 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNHILIGHT", PyInt_FromLong((long) wxSYS_COLOUR_BTNHILIGHT
));
11517 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DHIGHLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_3DHIGHLIGHT
));
11518 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DHILIGHT", PyInt_FromLong((long) wxSYS_COLOUR_3DHILIGHT
));
11519 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DDKSHADOW", PyInt_FromLong((long) wxSYS_COLOUR_3DDKSHADOW
));
11520 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_3DLIGHT
));
11521 PyDict_SetItemString(d
,"wxSYS_COLOUR_INFOTEXT", PyInt_FromLong((long) wxSYS_COLOUR_INFOTEXT
));
11522 PyDict_SetItemString(d
,"wxSYS_COLOUR_INFOBK", PyInt_FromLong((long) wxSYS_COLOUR_INFOBK
));
11523 PyDict_SetItemString(d
,"wxSYS_COLOUR_LISTBOX", PyInt_FromLong((long) wxSYS_COLOUR_LISTBOX
));
11524 PyDict_SetItemString(d
,"wxSYS_COLOUR_HOTLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_HOTLIGHT
));
11525 PyDict_SetItemString(d
,"wxSYS_COLOUR_GRADIENTACTIVECAPTION", PyInt_FromLong((long) wxSYS_COLOUR_GRADIENTACTIVECAPTION
));
11526 PyDict_SetItemString(d
,"wxSYS_COLOUR_GRADIENTINACTIVECAPTION", PyInt_FromLong((long) wxSYS_COLOUR_GRADIENTINACTIVECAPTION
));
11527 PyDict_SetItemString(d
,"wxSYS_COLOUR_MENUHILIGHT", PyInt_FromLong((long) wxSYS_COLOUR_MENUHILIGHT
));
11528 PyDict_SetItemString(d
,"wxSYS_COLOUR_MENUBAR", PyInt_FromLong((long) wxSYS_COLOUR_MENUBAR
));
11529 PyDict_SetItemString(d
,"wxSYS_COLOUR_MAX", PyInt_FromLong((long) wxSYS_COLOUR_MAX
));
11530 PyDict_SetItemString(d
,"wxSYS_MOUSE_BUTTONS", PyInt_FromLong((long) wxSYS_MOUSE_BUTTONS
));
11531 PyDict_SetItemString(d
,"wxSYS_BORDER_X", PyInt_FromLong((long) wxSYS_BORDER_X
));
11532 PyDict_SetItemString(d
,"wxSYS_BORDER_Y", PyInt_FromLong((long) wxSYS_BORDER_Y
));
11533 PyDict_SetItemString(d
,"wxSYS_CURSOR_X", PyInt_FromLong((long) wxSYS_CURSOR_X
));
11534 PyDict_SetItemString(d
,"wxSYS_CURSOR_Y", PyInt_FromLong((long) wxSYS_CURSOR_Y
));
11535 PyDict_SetItemString(d
,"wxSYS_DCLICK_X", PyInt_FromLong((long) wxSYS_DCLICK_X
));
11536 PyDict_SetItemString(d
,"wxSYS_DCLICK_Y", PyInt_FromLong((long) wxSYS_DCLICK_Y
));
11537 PyDict_SetItemString(d
,"wxSYS_DRAG_X", PyInt_FromLong((long) wxSYS_DRAG_X
));
11538 PyDict_SetItemString(d
,"wxSYS_DRAG_Y", PyInt_FromLong((long) wxSYS_DRAG_Y
));
11539 PyDict_SetItemString(d
,"wxSYS_EDGE_X", PyInt_FromLong((long) wxSYS_EDGE_X
));
11540 PyDict_SetItemString(d
,"wxSYS_EDGE_Y", PyInt_FromLong((long) wxSYS_EDGE_Y
));
11541 PyDict_SetItemString(d
,"wxSYS_HSCROLL_ARROW_X", PyInt_FromLong((long) wxSYS_HSCROLL_ARROW_X
));
11542 PyDict_SetItemString(d
,"wxSYS_HSCROLL_ARROW_Y", PyInt_FromLong((long) wxSYS_HSCROLL_ARROW_Y
));
11543 PyDict_SetItemString(d
,"wxSYS_HTHUMB_X", PyInt_FromLong((long) wxSYS_HTHUMB_X
));
11544 PyDict_SetItemString(d
,"wxSYS_ICON_X", PyInt_FromLong((long) wxSYS_ICON_X
));
11545 PyDict_SetItemString(d
,"wxSYS_ICON_Y", PyInt_FromLong((long) wxSYS_ICON_Y
));
11546 PyDict_SetItemString(d
,"wxSYS_ICONSPACING_X", PyInt_FromLong((long) wxSYS_ICONSPACING_X
));
11547 PyDict_SetItemString(d
,"wxSYS_ICONSPACING_Y", PyInt_FromLong((long) wxSYS_ICONSPACING_Y
));
11548 PyDict_SetItemString(d
,"wxSYS_WINDOWMIN_X", PyInt_FromLong((long) wxSYS_WINDOWMIN_X
));
11549 PyDict_SetItemString(d
,"wxSYS_WINDOWMIN_Y", PyInt_FromLong((long) wxSYS_WINDOWMIN_Y
));
11550 PyDict_SetItemString(d
,"wxSYS_SCREEN_X", PyInt_FromLong((long) wxSYS_SCREEN_X
));
11551 PyDict_SetItemString(d
,"wxSYS_SCREEN_Y", PyInt_FromLong((long) wxSYS_SCREEN_Y
));
11552 PyDict_SetItemString(d
,"wxSYS_FRAMESIZE_X", PyInt_FromLong((long) wxSYS_FRAMESIZE_X
));
11553 PyDict_SetItemString(d
,"wxSYS_FRAMESIZE_Y", PyInt_FromLong((long) wxSYS_FRAMESIZE_Y
));
11554 PyDict_SetItemString(d
,"wxSYS_SMALLICON_X", PyInt_FromLong((long) wxSYS_SMALLICON_X
));
11555 PyDict_SetItemString(d
,"wxSYS_SMALLICON_Y", PyInt_FromLong((long) wxSYS_SMALLICON_Y
));
11556 PyDict_SetItemString(d
,"wxSYS_HSCROLL_Y", PyInt_FromLong((long) wxSYS_HSCROLL_Y
));
11557 PyDict_SetItemString(d
,"wxSYS_VSCROLL_X", PyInt_FromLong((long) wxSYS_VSCROLL_X
));
11558 PyDict_SetItemString(d
,"wxSYS_VSCROLL_ARROW_X", PyInt_FromLong((long) wxSYS_VSCROLL_ARROW_X
));
11559 PyDict_SetItemString(d
,"wxSYS_VSCROLL_ARROW_Y", PyInt_FromLong((long) wxSYS_VSCROLL_ARROW_Y
));
11560 PyDict_SetItemString(d
,"wxSYS_VTHUMB_Y", PyInt_FromLong((long) wxSYS_VTHUMB_Y
));
11561 PyDict_SetItemString(d
,"wxSYS_CAPTION_Y", PyInt_FromLong((long) wxSYS_CAPTION_Y
));
11562 PyDict_SetItemString(d
,"wxSYS_MENU_Y", PyInt_FromLong((long) wxSYS_MENU_Y
));
11563 PyDict_SetItemString(d
,"wxSYS_NETWORK_PRESENT", PyInt_FromLong((long) wxSYS_NETWORK_PRESENT
));
11564 PyDict_SetItemString(d
,"wxSYS_PENWINDOWS_PRESENT", PyInt_FromLong((long) wxSYS_PENWINDOWS_PRESENT
));
11565 PyDict_SetItemString(d
,"wxSYS_SHOW_SOUNDS", PyInt_FromLong((long) wxSYS_SHOW_SOUNDS
));
11566 PyDict_SetItemString(d
,"wxSYS_SWAP_BUTTONS", PyInt_FromLong((long) wxSYS_SWAP_BUTTONS
));
11567 PyDict_SetItemString(d
,"wxSYS_CAN_DRAW_FRAME_DECORATIONS", PyInt_FromLong((long) wxSYS_CAN_DRAW_FRAME_DECORATIONS
));
11568 PyDict_SetItemString(d
,"wxSYS_CAN_ICONIZE_FRAME", PyInt_FromLong((long) wxSYS_CAN_ICONIZE_FRAME
));
11569 PyDict_SetItemString(d
,"wxSYS_SCREEN_NONE", PyInt_FromLong((long) wxSYS_SCREEN_NONE
));
11570 PyDict_SetItemString(d
,"wxSYS_SCREEN_TINY", PyInt_FromLong((long) wxSYS_SCREEN_TINY
));
11571 PyDict_SetItemString(d
,"wxSYS_SCREEN_PDA", PyInt_FromLong((long) wxSYS_SCREEN_PDA
));
11572 PyDict_SetItemString(d
,"wxSYS_SCREEN_SMALL", PyInt_FromLong((long) wxSYS_SCREEN_SMALL
));
11573 PyDict_SetItemString(d
,"wxSYS_SCREEN_DESKTOP", PyInt_FromLong((long) wxSYS_SCREEN_DESKTOP
));
11574 PyDict_SetItemString(d
,"wxLOG_FatalError", PyInt_FromLong((long) wxLOG_FatalError
));
11575 PyDict_SetItemString(d
,"wxLOG_Error", PyInt_FromLong((long) wxLOG_Error
));
11576 PyDict_SetItemString(d
,"wxLOG_Warning", PyInt_FromLong((long) wxLOG_Warning
));
11577 PyDict_SetItemString(d
,"wxLOG_Message", PyInt_FromLong((long) wxLOG_Message
));
11578 PyDict_SetItemString(d
,"wxLOG_Info", PyInt_FromLong((long) wxLOG_Info
));
11579 PyDict_SetItemString(d
,"wxLOG_Status", PyInt_FromLong((long) wxLOG_Status
));
11580 PyDict_SetItemString(d
,"wxLOG_Debug", PyInt_FromLong((long) wxLOG_Debug
));
11581 PyDict_SetItemString(d
,"wxLOG_Trace", PyInt_FromLong((long) wxLOG_Trace
));
11582 PyDict_SetItemString(d
,"wxLOG_Progress", PyInt_FromLong((long) wxLOG_Progress
));
11583 PyDict_SetItemString(d
,"wxLOG_User", PyInt_FromLong((long) wxLOG_User
));
11584 PyDict_SetItemString(d
,"wxTRACE_MemAlloc", PyString_FromString("memalloc"));
11585 PyDict_SetItemString(d
,"wxTRACE_Messages", PyString_FromString("messages"));
11586 PyDict_SetItemString(d
,"wxTRACE_ResAlloc", PyString_FromString("resalloc"));
11587 PyDict_SetItemString(d
,"wxTRACE_RefCount", PyString_FromString("refcount"));
11588 PyDict_SetItemString(d
,"wxTraceMemAlloc", PyInt_FromLong((long) wxTraceMemAlloc
));
11589 PyDict_SetItemString(d
,"wxTraceMessages", PyInt_FromLong((long) wxTraceMessages
));
11590 PyDict_SetItemString(d
,"wxTraceResAlloc", PyInt_FromLong((long) wxTraceResAlloc
));
11591 PyDict_SetItemString(d
,"wxTraceRefCount", PyInt_FromLong((long) wxTraceRefCount
));
11592 PyDict_SetItemString(d
,"wxKILL_OK", PyInt_FromLong((long) wxKILL_OK
));
11593 PyDict_SetItemString(d
,"wxKILL_BAD_SIGNAL", PyInt_FromLong((long) wxKILL_BAD_SIGNAL
));
11594 PyDict_SetItemString(d
,"wxKILL_ACCESS_DENIED", PyInt_FromLong((long) wxKILL_ACCESS_DENIED
));
11595 PyDict_SetItemString(d
,"wxKILL_NO_PROCESS", PyInt_FromLong((long) wxKILL_NO_PROCESS
));
11596 PyDict_SetItemString(d
,"wxKILL_ERROR", PyInt_FromLong((long) wxKILL_ERROR
));
11597 PyDict_SetItemString(d
,"wxSIGNONE", PyInt_FromLong((long) wxSIGNONE
));
11598 PyDict_SetItemString(d
,"wxSIGHUP", PyInt_FromLong((long) wxSIGHUP
));
11599 PyDict_SetItemString(d
,"wxSIGINT", PyInt_FromLong((long) wxSIGINT
));
11600 PyDict_SetItemString(d
,"wxSIGQUIT", PyInt_FromLong((long) wxSIGQUIT
));
11601 PyDict_SetItemString(d
,"wxSIGILL", PyInt_FromLong((long) wxSIGILL
));
11602 PyDict_SetItemString(d
,"wxSIGTRAP", PyInt_FromLong((long) wxSIGTRAP
));
11603 PyDict_SetItemString(d
,"wxSIGABRT", PyInt_FromLong((long) wxSIGABRT
));
11604 PyDict_SetItemString(d
,"wxSIGIOT", PyInt_FromLong((long) wxSIGIOT
));
11605 PyDict_SetItemString(d
,"wxSIGEMT", PyInt_FromLong((long) wxSIGEMT
));
11606 PyDict_SetItemString(d
,"wxSIGFPE", PyInt_FromLong((long) wxSIGFPE
));
11607 PyDict_SetItemString(d
,"wxSIGKILL", PyInt_FromLong((long) wxSIGKILL
));
11608 PyDict_SetItemString(d
,"wxSIGBUS", PyInt_FromLong((long) wxSIGBUS
));
11609 PyDict_SetItemString(d
,"wxSIGSEGV", PyInt_FromLong((long) wxSIGSEGV
));
11610 PyDict_SetItemString(d
,"wxSIGSYS", PyInt_FromLong((long) wxSIGSYS
));
11611 PyDict_SetItemString(d
,"wxSIGPIPE", PyInt_FromLong((long) wxSIGPIPE
));
11612 PyDict_SetItemString(d
,"wxSIGALRM", PyInt_FromLong((long) wxSIGALRM
));
11613 PyDict_SetItemString(d
,"wxSIGTERM", PyInt_FromLong((long) wxSIGTERM
));
11614 PyDict_SetItemString(d
,"wxEVT_END_PROCESS", PyInt_FromLong((long) wxEVT_END_PROCESS
));
11615 PyDict_SetItemString(d
,"wxEXEC_ASYNC", PyInt_FromLong((long) wxEXEC_ASYNC
));
11616 PyDict_SetItemString(d
,"wxEXEC_SYNC", PyInt_FromLong((long) wxEXEC_SYNC
));
11617 PyDict_SetItemString(d
,"wxEXEC_NOHIDE", PyInt_FromLong((long) wxEXEC_NOHIDE
));
11618 PyDict_SetItemString(d
,"wxEXEC_MAKE_GROUP_LEADER", PyInt_FromLong((long) wxEXEC_MAKE_GROUP_LEADER
));
11619 PyDict_SetItemString(d
,"wxJOYSTICK1", PyInt_FromLong((long) wxJOYSTICK1
));
11620 PyDict_SetItemString(d
,"wxJOYSTICK2", PyInt_FromLong((long) wxJOYSTICK2
));
11621 PyDict_SetItemString(d
,"wxJOY_BUTTON_ANY", PyInt_FromLong((long) wxJOY_BUTTON_ANY
));
11622 PyDict_SetItemString(d
,"wxJOY_BUTTON1", PyInt_FromLong((long) wxJOY_BUTTON1
));
11623 PyDict_SetItemString(d
,"wxJOY_BUTTON2", PyInt_FromLong((long) wxJOY_BUTTON2
));
11624 PyDict_SetItemString(d
,"wxJOY_BUTTON3", PyInt_FromLong((long) wxJOY_BUTTON3
));
11625 PyDict_SetItemString(d
,"wxJOY_BUTTON4", PyInt_FromLong((long) wxJOY_BUTTON4
));
11626 PyDict_SetItemString(d
,"wxMAILCAP_STANDARD", PyInt_FromLong((long) wxMAILCAP_STANDARD
));
11627 PyDict_SetItemString(d
,"wxMAILCAP_NETSCAPE", PyInt_FromLong((long) wxMAILCAP_NETSCAPE
));
11628 PyDict_SetItemString(d
,"wxMAILCAP_KDE", PyInt_FromLong((long) wxMAILCAP_KDE
));
11629 PyDict_SetItemString(d
,"wxMAILCAP_GNOME", PyInt_FromLong((long) wxMAILCAP_GNOME
));
11630 PyDict_SetItemString(d
,"wxMAILCAP_ALL", PyInt_FromLong((long) wxMAILCAP_ALL
));
11631 PyDict_SetItemString(d
,"cvar", SWIG_globals
);
11632 SWIG_addvarlink(SWIG_globals
,"wxTheMimeTypesManager",_wrap_wxTheMimeTypesManager_get
, _wrap_wxTheMimeTypesManager_set
);
11634 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
11635 wxPyPtrTypeMap_Add("wxProcess", "wxPyProcess");
11636 wxPyPtrTypeMap_Add("wxArtProvider", "wxPyArtProvider");
11640 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
11641 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);