2 * FILE : src/msw/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_wxCheckForInterrupt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1438 PyObject
* _resultobj
;
1441 PyObject
* _argo0
= 0;
1442 char *_kwnames
[] = { "wnd", NULL
};
1445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCheckForInterrupt",_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 wxCheckForInterrupt. Expected _wxWindow_p.");
1455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1456 _result
= (bool )wxCheckForInterrupt(_arg0
);
1458 wxPyEndAllowThreads(__tstate
);
1459 if (PyErr_Occurred()) return NULL
;
1460 } _resultobj
= Py_BuildValue("i",_result
);
1464 static PyObject
*_wrap_wxFlushEvents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1465 PyObject
* _resultobj
;
1466 char *_kwnames
[] = { NULL
};
1469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxFlushEvents",_kwnames
))
1472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1475 wxPyEndAllowThreads(__tstate
);
1476 if (PyErr_Occurred()) return NULL
;
1477 } Py_INCREF(Py_None
);
1478 _resultobj
= Py_None
;
1482 static PyObject
*_wrap_wxGetTopLevelParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1483 PyObject
* _resultobj
;
1486 PyObject
* _argo0
= 0;
1487 char *_kwnames
[] = { "win", NULL
};
1490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGetTopLevelParent",_kwnames
,&_argo0
))
1493 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1494 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1495 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGetTopLevelParent. Expected _wxWindow_p.");
1500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1501 _result
= (wxWindow
*)wxGetTopLevelParent(_arg0
);
1503 wxPyEndAllowThreads(__tstate
);
1504 if (PyErr_Occurred()) return NULL
;
1505 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1509 static PyObject
*_wrap_wxCaret_GetBlinkTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1510 PyObject
* _resultobj
;
1512 char *_kwnames
[] = { NULL
};
1515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxCaret_GetBlinkTime",_kwnames
))
1518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1519 _result
= (int )wxCaret_GetBlinkTime();
1521 wxPyEndAllowThreads(__tstate
);
1522 if (PyErr_Occurred()) return NULL
;
1523 } _resultobj
= Py_BuildValue("i",_result
);
1527 static PyObject
*_wrap_wxCaret_SetBlinkTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1528 PyObject
* _resultobj
;
1530 char *_kwnames
[] = { "milliseconds", NULL
};
1533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxCaret_SetBlinkTime",_kwnames
,&_arg0
))
1536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1537 wxCaret_SetBlinkTime(_arg0
);
1539 wxPyEndAllowThreads(__tstate
);
1540 if (PyErr_Occurred()) return NULL
;
1541 } Py_INCREF(Py_None
);
1542 _resultobj
= Py_None
;
1546 static PyObject
*_wrap_wxSafeYield(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1547 PyObject
* _resultobj
;
1549 wxWindow
* _arg0
= (wxWindow
*) NULL
;
1550 bool _arg1
= (bool ) FALSE
;
1551 PyObject
* _argo0
= 0;
1552 int tempbool1
= (int) FALSE
;
1553 char *_kwnames
[] = { "win","onlyIfNeeded", NULL
};
1556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|Oi:wxSafeYield",_kwnames
,&_argo0
,&tempbool1
))
1559 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1560 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1561 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSafeYield. Expected _wxWindow_p.");
1565 _arg1
= (bool ) tempbool1
;
1567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1568 _result
= (bool )wxSafeYield(_arg0
,_arg1
);
1570 wxPyEndAllowThreads(__tstate
);
1571 if (PyErr_Occurred()) return NULL
;
1572 } _resultobj
= Py_BuildValue("i",_result
);
1576 static PyObject
*_wrap_wxPostEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1577 PyObject
* _resultobj
;
1578 wxEvtHandler
* _arg0
;
1580 PyObject
* _argo0
= 0;
1581 PyObject
* _argo1
= 0;
1582 char *_kwnames
[] = { "dest","event", NULL
};
1585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPostEvent",_kwnames
,&_argo0
,&_argo1
))
1588 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1589 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
1590 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPostEvent. Expected _wxEvtHandler_p.");
1595 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvent_p")) {
1596 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPostEvent. Expected _wxEvent_p.");
1601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1602 wxPostEvent(_arg0
,*_arg1
);
1604 wxPyEndAllowThreads(__tstate
);
1605 if (PyErr_Occurred()) return NULL
;
1606 } Py_INCREF(Py_None
);
1607 _resultobj
= Py_None
;
1611 static PyObject
*_wrap_wxWakeUpIdle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1612 PyObject
* _resultobj
;
1613 char *_kwnames
[] = { NULL
};
1616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxWakeUpIdle",_kwnames
))
1619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1622 wxPyEndAllowThreads(__tstate
);
1623 if (PyErr_Occurred()) return NULL
;
1624 } Py_INCREF(Py_None
);
1625 _resultobj
= Py_None
;
1629 static PyObject
*_wrap_wxWakeUpMainThread(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1630 PyObject
* _resultobj
;
1631 char *_kwnames
[] = { NULL
};
1634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxWakeUpMainThread",_kwnames
))
1637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1638 wxWakeUpMainThread();
1640 wxPyEndAllowThreads(__tstate
);
1641 if (PyErr_Occurred()) return NULL
;
1642 } Py_INCREF(Py_None
);
1643 _resultobj
= Py_None
;
1647 static PyObject
*_wrap_wxMutexGuiEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1648 PyObject
* _resultobj
;
1649 char *_kwnames
[] = { NULL
};
1652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxMutexGuiEnter",_kwnames
))
1655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1658 wxPyEndAllowThreads(__tstate
);
1659 if (PyErr_Occurred()) return NULL
;
1660 } Py_INCREF(Py_None
);
1661 _resultobj
= Py_None
;
1665 static PyObject
*_wrap_wxMutexGuiLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1666 PyObject
* _resultobj
;
1667 char *_kwnames
[] = { NULL
};
1670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxMutexGuiLeave",_kwnames
))
1673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1676 wxPyEndAllowThreads(__tstate
);
1677 if (PyErr_Occurred()) return NULL
;
1678 } Py_INCREF(Py_None
);
1679 _resultobj
= Py_None
;
1683 static PyObject
*_wrap_wxThread_IsMain(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1684 PyObject
* _resultobj
;
1686 char *_kwnames
[] = { NULL
};
1689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxThread_IsMain",_kwnames
))
1692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1693 _result
= (bool )wxThread_IsMain();
1695 wxPyEndAllowThreads(__tstate
);
1696 if (PyErr_Occurred()) return NULL
;
1697 } _resultobj
= Py_BuildValue("i",_result
);
1701 static PyObject
*_wrap_wxShowTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1702 PyObject
* _resultobj
;
1705 wxTipProvider
* _arg1
;
1706 bool _arg2
= (bool ) TRUE
;
1707 PyObject
* _argo0
= 0;
1708 PyObject
* _argo1
= 0;
1709 int tempbool2
= (int) TRUE
;
1710 char *_kwnames
[] = { "parent","tipProvider","showAtStartup", NULL
};
1713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxShowTip",_kwnames
,&_argo0
,&_argo1
,&tempbool2
))
1716 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1717 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1718 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShowTip. Expected _wxWindow_p.");
1723 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1724 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTipProvider_p")) {
1725 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxShowTip. Expected _wxTipProvider_p.");
1729 _arg2
= (bool ) tempbool2
;
1731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1732 _result
= (bool )wxShowTip(_arg0
,_arg1
,_arg2
);
1734 wxPyEndAllowThreads(__tstate
);
1735 if (PyErr_Occurred()) return NULL
;
1736 } _resultobj
= Py_BuildValue("i",_result
);
1740 static PyObject
*_wrap_wxCreateFileTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1741 PyObject
* _resultobj
;
1742 wxTipProvider
* _result
;
1745 PyObject
* _obj0
= 0;
1746 char *_kwnames
[] = { "filename","currentTip", NULL
};
1750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxCreateFileTipProvider",_kwnames
,&_obj0
,&_arg1
))
1753 _arg0
= wxString_in_helper(_obj0
);
1758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1759 _result
= (wxTipProvider
*)wxCreateFileTipProvider(*_arg0
,_arg1
);
1761 wxPyEndAllowThreads(__tstate
);
1762 if (PyErr_Occurred()) return NULL
;
1764 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTipProvider_p");
1765 _resultobj
= Py_BuildValue("s",_ptemp
);
1768 _resultobj
= Py_None
;
1777 static PyObject
*_wrap_wxSysErrorCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1778 PyObject
* _resultobj
;
1779 unsigned long _result
;
1780 char *_kwnames
[] = { NULL
};
1783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxSysErrorCode",_kwnames
))
1786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1787 _result
= (unsigned long )wxSysErrorCode();
1789 wxPyEndAllowThreads(__tstate
);
1790 if (PyErr_Occurred()) return NULL
;
1791 } _resultobj
= Py_BuildValue("l",_result
);
1795 static PyObject
*_wrap_wxSysErrorMsg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1796 PyObject
* _resultobj
;
1798 unsigned long _arg0
= (unsigned long ) 0;
1799 char *_kwnames
[] = { "nErrCode", NULL
};
1802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|l:wxSysErrorMsg",_kwnames
,&_arg0
))
1805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1806 _result
= new wxString (wxSysErrorMsg(_arg0
));
1808 wxPyEndAllowThreads(__tstate
);
1809 if (PyErr_Occurred()) return NULL
;
1812 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
1814 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1823 static PyObject
*_wrap_wxLogFatalError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1824 PyObject
* _resultobj
;
1826 PyObject
* _obj0
= 0;
1827 char *_kwnames
[] = { "msg", NULL
};
1830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogFatalError",_kwnames
,&_obj0
))
1833 _arg0
= wxString_in_helper(_obj0
);
1838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1839 wxLogFatalError(*_arg0
);
1841 wxPyEndAllowThreads(__tstate
);
1842 if (PyErr_Occurred()) return NULL
;
1843 } Py_INCREF(Py_None
);
1844 _resultobj
= Py_None
;
1852 static PyObject
*_wrap_wxLogError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1853 PyObject
* _resultobj
;
1855 PyObject
* _obj0
= 0;
1856 char *_kwnames
[] = { "msg", NULL
};
1859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogError",_kwnames
,&_obj0
))
1862 _arg0
= wxString_in_helper(_obj0
);
1867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1870 wxPyEndAllowThreads(__tstate
);
1871 if (PyErr_Occurred()) return NULL
;
1872 } Py_INCREF(Py_None
);
1873 _resultobj
= Py_None
;
1881 static PyObject
*_wrap_wxLogWarning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1882 PyObject
* _resultobj
;
1884 PyObject
* _obj0
= 0;
1885 char *_kwnames
[] = { "msg", NULL
};
1888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogWarning",_kwnames
,&_obj0
))
1891 _arg0
= wxString_in_helper(_obj0
);
1896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1897 wxLogWarning(*_arg0
);
1899 wxPyEndAllowThreads(__tstate
);
1900 if (PyErr_Occurred()) return NULL
;
1901 } Py_INCREF(Py_None
);
1902 _resultobj
= Py_None
;
1910 static PyObject
*_wrap_wxLogMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1911 PyObject
* _resultobj
;
1913 PyObject
* _obj0
= 0;
1914 char *_kwnames
[] = { "msg", NULL
};
1917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogMessage",_kwnames
,&_obj0
))
1920 _arg0
= wxString_in_helper(_obj0
);
1925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1926 wxLogMessage(*_arg0
);
1928 wxPyEndAllowThreads(__tstate
);
1929 if (PyErr_Occurred()) return NULL
;
1930 } Py_INCREF(Py_None
);
1931 _resultobj
= Py_None
;
1939 static PyObject
*_wrap_wxLogInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1940 PyObject
* _resultobj
;
1942 PyObject
* _obj0
= 0;
1943 char *_kwnames
[] = { "msg", NULL
};
1946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogInfo",_kwnames
,&_obj0
))
1949 _arg0
= wxString_in_helper(_obj0
);
1954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1957 wxPyEndAllowThreads(__tstate
);
1958 if (PyErr_Occurred()) return NULL
;
1959 } Py_INCREF(Py_None
);
1960 _resultobj
= Py_None
;
1968 static PyObject
*_wrap_wxLogDebug(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1969 PyObject
* _resultobj
;
1971 PyObject
* _obj0
= 0;
1972 char *_kwnames
[] = { "msg", NULL
};
1975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogDebug",_kwnames
,&_obj0
))
1978 _arg0
= wxString_in_helper(_obj0
);
1983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1986 wxPyEndAllowThreads(__tstate
);
1987 if (PyErr_Occurred()) return NULL
;
1988 } Py_INCREF(Py_None
);
1989 _resultobj
= Py_None
;
1997 static PyObject
*_wrap_wxLogVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1998 PyObject
* _resultobj
;
2000 PyObject
* _obj0
= 0;
2001 char *_kwnames
[] = { "msg", NULL
};
2004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogVerbose",_kwnames
,&_obj0
))
2007 _arg0
= wxString_in_helper(_obj0
);
2012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2013 wxLogVerbose(*_arg0
);
2015 wxPyEndAllowThreads(__tstate
);
2016 if (PyErr_Occurred()) return NULL
;
2017 } Py_INCREF(Py_None
);
2018 _resultobj
= Py_None
;
2026 static PyObject
*_wrap_wxLogStatus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2027 PyObject
* _resultobj
;
2029 PyObject
* _obj0
= 0;
2030 char *_kwnames
[] = { "msg", NULL
};
2033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogStatus",_kwnames
,&_obj0
))
2036 _arg0
= wxString_in_helper(_obj0
);
2041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2042 wxLogStatus(*_arg0
);
2044 wxPyEndAllowThreads(__tstate
);
2045 if (PyErr_Occurred()) return NULL
;
2046 } Py_INCREF(Py_None
);
2047 _resultobj
= Py_None
;
2055 static PyObject
*_wrap_wxLogStatusFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2056 PyObject
* _resultobj
;
2059 PyObject
* _argo0
= 0;
2060 PyObject
* _obj1
= 0;
2061 char *_kwnames
[] = { "pFrame","msg", NULL
};
2064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxLogStatusFrame",_kwnames
,&_argo0
,&_obj1
))
2067 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2068 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
2069 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogStatusFrame. Expected _wxFrame_p.");
2074 _arg1
= wxString_in_helper(_obj1
);
2079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2080 wxLogStatus(_arg0
,*_arg1
);
2082 wxPyEndAllowThreads(__tstate
);
2083 if (PyErr_Occurred()) return NULL
;
2084 } Py_INCREF(Py_None
);
2085 _resultobj
= Py_None
;
2093 static PyObject
*_wrap_wxLogSysError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2094 PyObject
* _resultobj
;
2096 PyObject
* _obj0
= 0;
2097 char *_kwnames
[] = { "msg", NULL
};
2100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogSysError",_kwnames
,&_obj0
))
2103 _arg0
= wxString_in_helper(_obj0
);
2108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2109 wxLogSysError(*_arg0
);
2111 wxPyEndAllowThreads(__tstate
);
2112 if (PyErr_Occurred()) return NULL
;
2113 } Py_INCREF(Py_None
);
2114 _resultobj
= Py_None
;
2122 static PyObject
*_wrap_wxLogTrace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2123 PyObject
* _resultobj
;
2125 PyObject
* _obj0
= 0;
2126 char *_kwnames
[] = { "msg", NULL
};
2129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogTrace",_kwnames
,&_obj0
))
2132 _arg0
= wxString_in_helper(_obj0
);
2137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2140 wxPyEndAllowThreads(__tstate
);
2141 if (PyErr_Occurred()) return NULL
;
2142 } Py_INCREF(Py_None
);
2143 _resultobj
= Py_None
;
2151 static PyObject
*_wrap_wxLogTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2152 PyObject
* _resultobj
;
2155 PyObject
* _obj0
= 0;
2156 PyObject
* _obj1
= 0;
2157 char *_kwnames
[] = { "mask","msg", NULL
};
2160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxLogTraceMask",_kwnames
,&_obj0
,&_obj1
))
2163 _arg0
= wxString_in_helper(_obj0
);
2168 _arg1
= wxString_in_helper(_obj1
);
2173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2174 wxLogTrace(*_arg0
,*_arg1
);
2176 wxPyEndAllowThreads(__tstate
);
2177 if (PyErr_Occurred()) return NULL
;
2178 } Py_INCREF(Py_None
);
2179 _resultobj
= Py_None
;
2191 static PyObject
*_wrap_wxLogGeneric(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2192 PyObject
* _resultobj
;
2193 unsigned long _arg0
;
2195 PyObject
* _obj1
= 0;
2196 char *_kwnames
[] = { "level","msg", NULL
};
2199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"lO:wxLogGeneric",_kwnames
,&_arg0
,&_obj1
))
2202 _arg1
= wxString_in_helper(_obj1
);
2207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2208 wxLogGeneric(_arg0
,*_arg1
);
2210 wxPyEndAllowThreads(__tstate
);
2211 if (PyErr_Occurred()) return NULL
;
2212 } Py_INCREF(Py_None
);
2213 _resultobj
= Py_None
;
2221 static PyObject
*_wrap_wxSafeShowMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2222 PyObject
* _resultobj
;
2225 PyObject
* _obj0
= 0;
2226 PyObject
* _obj1
= 0;
2227 char *_kwnames
[] = { "title","text", NULL
};
2230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxSafeShowMessage",_kwnames
,&_obj0
,&_obj1
))
2233 _arg0
= wxString_in_helper(_obj0
);
2238 _arg1
= wxString_in_helper(_obj1
);
2243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2244 wxSafeShowMessage(*_arg0
,*_arg1
);
2246 wxPyEndAllowThreads(__tstate
);
2247 if (PyErr_Occurred()) return NULL
;
2248 } Py_INCREF(Py_None
);
2249 _resultobj
= Py_None
;
2261 static PyObject
*_wrap_wxExecute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2262 PyObject
* _resultobj
;
2265 int _arg1
= (int ) (wxEXEC_ASYNC
);
2266 wxPyProcess
* _arg2
= (wxPyProcess
*) NULL
;
2267 PyObject
* _obj0
= 0;
2268 PyObject
* _argo2
= 0;
2269 char *_kwnames
[] = { "command","flags","process", NULL
};
2272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iO:wxExecute",_kwnames
,&_obj0
,&_arg1
,&_argo2
))
2275 _arg0
= wxString_in_helper(_obj0
);
2280 if (_argo2
== Py_None
) { _arg2
= NULL
; }
2281 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPyProcess_p")) {
2282 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxExecute. Expected _wxPyProcess_p.");
2287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2288 _result
= (long )wxExecute(*_arg0
,_arg1
,_arg2
);
2290 wxPyEndAllowThreads(__tstate
);
2291 if (PyErr_Occurred()) return NULL
;
2292 } _resultobj
= Py_BuildValue("l",_result
);
2300 static PyObject
*_wrap_wxWaveData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2301 PyObject
* _resultobj
;
2304 PyObject
* _obj0
= 0;
2305 char *_kwnames
[] = { "data", NULL
};
2309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWaveData",_kwnames
,&_obj0
))
2312 _arg0
= wxString_in_helper(_obj0
);
2317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2318 _result
= (wxWave
*)wxWaveData(*_arg0
);
2320 wxPyEndAllowThreads(__tstate
);
2321 if (PyErr_Occurred()) return NULL
;
2323 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWave_p");
2324 _resultobj
= Py_BuildValue("s",_ptemp
);
2327 _resultobj
= Py_None
;
2336 static int _wrap_wxTheMimeTypesManager_set(PyObject
*val
) {
2338 PyErr_SetString(PyExc_TypeError
,"Variable wxTheMimeTypesManager is read-only.");
2342 static PyObject
*_wrap_wxTheMimeTypesManager_get() {
2346 SWIG_MakePtr(ptemp
, (char *) wxTheMimeTypesManager
,"_wxMimeTypesManager_p");
2347 pyobj
= PyString_FromString(ptemp
);
2351 static PyObject
*_wrap_wxSystemSettings_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2352 PyObject
* _resultobj
;
2354 wxSystemColour _arg0
;
2355 char *_kwnames
[] = { "index", NULL
};
2359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSystemSettings_GetColour",_kwnames
,&_arg0
))
2362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2363 _result
= new wxColour (wxSystemSettings::GetColour(_arg0
));
2365 wxPyEndAllowThreads(__tstate
);
2366 if (PyErr_Occurred()) return NULL
;
2367 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
2368 _resultobj
= Py_BuildValue("s",_ptemp
);
2372 static PyObject
*_wrap_wxSystemSettings_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2373 PyObject
* _resultobj
;
2376 char *_kwnames
[] = { "index", NULL
};
2380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSystemSettings_GetFont",_kwnames
,&_arg0
))
2383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2384 _result
= new wxFont (wxSystemSettings::GetFont(_arg0
));
2386 wxPyEndAllowThreads(__tstate
);
2387 if (PyErr_Occurred()) return NULL
;
2388 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
2389 _resultobj
= Py_BuildValue("s",_ptemp
);
2393 static PyObject
*_wrap_wxSystemSettings_GetMetric(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2394 PyObject
* _resultobj
;
2396 wxSystemMetric _arg0
;
2397 char *_kwnames
[] = { "index", NULL
};
2400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSystemSettings_GetMetric",_kwnames
,&_arg0
))
2403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2404 _result
= (int )wxSystemSettings::GetMetric(_arg0
);
2406 wxPyEndAllowThreads(__tstate
);
2407 if (PyErr_Occurred()) return NULL
;
2408 } _resultobj
= Py_BuildValue("i",_result
);
2412 static PyObject
*_wrap_wxSystemSettings_HasFeature(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2413 PyObject
* _resultobj
;
2415 wxSystemFeature _arg0
;
2416 char *_kwnames
[] = { "index", NULL
};
2419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSystemSettings_HasFeature",_kwnames
,&_arg0
))
2422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2423 _result
= (bool )wxSystemSettings::HasFeature(_arg0
);
2425 wxPyEndAllowThreads(__tstate
);
2426 if (PyErr_Occurred()) return NULL
;
2427 } _resultobj
= Py_BuildValue("i",_result
);
2431 static PyObject
*_wrap_wxSystemSettings_GetScreenType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2432 PyObject
* _resultobj
;
2433 wxSystemScreenType _result
;
2434 char *_kwnames
[] = { NULL
};
2437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxSystemSettings_GetScreenType",_kwnames
))
2440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2441 _result
= (wxSystemScreenType
)wxSystemSettings::GetScreenType();
2443 wxPyEndAllowThreads(__tstate
);
2444 if (PyErr_Occurred()) return NULL
;
2445 } _resultobj
= Py_BuildValue("i",_result
);
2449 static PyObject
*_wrap_wxSystemSettings_SetScreenType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2450 PyObject
* _resultobj
;
2451 wxSystemScreenType _arg0
;
2452 char *_kwnames
[] = { "screen", NULL
};
2455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSystemSettings_SetScreenType",_kwnames
,&_arg0
))
2458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2459 wxSystemSettings::SetScreenType(_arg0
);
2461 wxPyEndAllowThreads(__tstate
);
2462 if (PyErr_Occurred()) return NULL
;
2463 } Py_INCREF(Py_None
);
2464 _resultobj
= Py_None
;
2468 static void *SwigwxToolTipTowxObject(void *ptr
) {
2471 src
= (wxToolTip
*) ptr
;
2472 dest
= (wxObject
*) src
;
2473 return (void *) dest
;
2476 #define new_wxToolTip(_swigarg0) (new wxToolTip(_swigarg0))
2477 static PyObject
*_wrap_new_wxToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2478 PyObject
* _resultobj
;
2479 wxToolTip
* _result
;
2481 PyObject
* _obj0
= 0;
2482 char *_kwnames
[] = { "tip", NULL
};
2486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxToolTip",_kwnames
,&_obj0
))
2489 _arg0
= wxString_in_helper(_obj0
);
2494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2495 _result
= (wxToolTip
*)new_wxToolTip(*_arg0
);
2497 wxPyEndAllowThreads(__tstate
);
2498 if (PyErr_Occurred()) return NULL
;
2500 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToolTip_p");
2501 _resultobj
= Py_BuildValue("s",_ptemp
);
2504 _resultobj
= Py_None
;
2513 #define wxToolTip_SetTip(_swigobj,_swigarg0) (_swigobj->SetTip(_swigarg0))
2514 static PyObject
*_wrap_wxToolTip_SetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2515 PyObject
* _resultobj
;
2518 PyObject
* _argo0
= 0;
2519 PyObject
* _obj1
= 0;
2520 char *_kwnames
[] = { "self","tip", NULL
};
2523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxToolTip_SetTip",_kwnames
,&_argo0
,&_obj1
))
2526 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2527 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolTip_p")) {
2528 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolTip_SetTip. Expected _wxToolTip_p.");
2533 _arg1
= wxString_in_helper(_obj1
);
2538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2539 wxToolTip_SetTip(_arg0
,*_arg1
);
2541 wxPyEndAllowThreads(__tstate
);
2542 if (PyErr_Occurred()) return NULL
;
2543 } Py_INCREF(Py_None
);
2544 _resultobj
= Py_None
;
2552 #define wxToolTip_GetTip(_swigobj) (_swigobj->GetTip())
2553 static PyObject
*_wrap_wxToolTip_GetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2554 PyObject
* _resultobj
;
2557 PyObject
* _argo0
= 0;
2558 char *_kwnames
[] = { "self", NULL
};
2561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolTip_GetTip",_kwnames
,&_argo0
))
2564 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2565 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolTip_p")) {
2566 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolTip_GetTip. Expected _wxToolTip_p.");
2571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2572 _result
= new wxString (wxToolTip_GetTip(_arg0
));
2574 wxPyEndAllowThreads(__tstate
);
2575 if (PyErr_Occurred()) return NULL
;
2578 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
2580 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2589 #define wxToolTip_GetWindow(_swigobj) (_swigobj->GetWindow())
2590 static PyObject
*_wrap_wxToolTip_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2591 PyObject
* _resultobj
;
2594 PyObject
* _argo0
= 0;
2595 char *_kwnames
[] = { "self", NULL
};
2598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolTip_GetWindow",_kwnames
,&_argo0
))
2601 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2602 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolTip_p")) {
2603 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolTip_GetWindow. Expected _wxToolTip_p.");
2608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2609 _result
= (wxWindow
*)wxToolTip_GetWindow(_arg0
);
2611 wxPyEndAllowThreads(__tstate
);
2612 if (PyErr_Occurred()) return NULL
;
2613 }{ _resultobj
= wxPyMake_wxObject(_result
); }
2617 static PyObject
*_wrap_wxToolTip_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2618 PyObject
* _resultobj
;
2621 char *_kwnames
[] = { "flag", NULL
};
2624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxToolTip_Enable",_kwnames
,&tempbool0
))
2626 _arg0
= (bool ) tempbool0
;
2628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2629 wxToolTip::Enable(_arg0
);
2631 wxPyEndAllowThreads(__tstate
);
2632 if (PyErr_Occurred()) return NULL
;
2633 } Py_INCREF(Py_None
);
2634 _resultobj
= Py_None
;
2638 static PyObject
*_wrap_wxToolTip_SetDelay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2639 PyObject
* _resultobj
;
2641 char *_kwnames
[] = { "milliseconds", NULL
};
2644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:wxToolTip_SetDelay",_kwnames
,&_arg0
))
2647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2648 wxToolTip::SetDelay(_arg0
);
2650 wxPyEndAllowThreads(__tstate
);
2651 if (PyErr_Occurred()) return NULL
;
2652 } Py_INCREF(Py_None
);
2653 _resultobj
= Py_None
;
2657 #define new_wxCaret(_swigarg0,_swigarg1) (new wxCaret(_swigarg0,_swigarg1))
2658 static PyObject
*_wrap_new_wxCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2659 PyObject
* _resultobj
;
2663 PyObject
* _argo0
= 0;
2665 PyObject
* _obj1
= 0;
2666 char *_kwnames
[] = { "window","size", NULL
};
2670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:new_wxCaret",_kwnames
,&_argo0
,&_obj1
))
2673 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2674 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2675 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxCaret. Expected _wxWindow_p.");
2681 if (! wxSize_helper(_obj1
, &_arg1
))
2685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2686 _result
= (wxCaret
*)new_wxCaret(_arg0
,*_arg1
);
2688 wxPyEndAllowThreads(__tstate
);
2689 if (PyErr_Occurred()) return NULL
;
2691 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCaret_p");
2692 _resultobj
= Py_BuildValue("s",_ptemp
);
2695 _resultobj
= Py_None
;
2700 #define delete_wxCaret(_swigobj) (delete _swigobj)
2701 static PyObject
*_wrap_delete_wxCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2702 PyObject
* _resultobj
;
2704 PyObject
* _argo0
= 0;
2705 char *_kwnames
[] = { "self", NULL
};
2708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxCaret",_kwnames
,&_argo0
))
2711 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2712 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2713 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxCaret. Expected _wxCaret_p.");
2718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2719 delete_wxCaret(_arg0
);
2721 wxPyEndAllowThreads(__tstate
);
2722 if (PyErr_Occurred()) return NULL
;
2723 } Py_INCREF(Py_None
);
2724 _resultobj
= Py_None
;
2728 #define wxCaret_IsOk(_swigobj) (_swigobj->IsOk())
2729 static PyObject
*_wrap_wxCaret_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2730 PyObject
* _resultobj
;
2733 PyObject
* _argo0
= 0;
2734 char *_kwnames
[] = { "self", NULL
};
2737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_IsOk",_kwnames
,&_argo0
))
2740 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2741 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2742 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_IsOk. Expected _wxCaret_p.");
2747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2748 _result
= (bool )wxCaret_IsOk(_arg0
);
2750 wxPyEndAllowThreads(__tstate
);
2751 if (PyErr_Occurred()) return NULL
;
2752 } _resultobj
= Py_BuildValue("i",_result
);
2756 #define wxCaret_IsVisible(_swigobj) (_swigobj->IsVisible())
2757 static PyObject
*_wrap_wxCaret_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2758 PyObject
* _resultobj
;
2761 PyObject
* _argo0
= 0;
2762 char *_kwnames
[] = { "self", NULL
};
2765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_IsVisible",_kwnames
,&_argo0
))
2768 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2769 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2770 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_IsVisible. Expected _wxCaret_p.");
2775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2776 _result
= (bool )wxCaret_IsVisible(_arg0
);
2778 wxPyEndAllowThreads(__tstate
);
2779 if (PyErr_Occurred()) return NULL
;
2780 } _resultobj
= Py_BuildValue("i",_result
);
2784 #define wxCaret_GetPositionTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPosition(_swigarg0,_swigarg1))
2785 static PyObject
*_wrap_wxCaret_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2786 PyObject
* _resultobj
;
2792 PyObject
* _argo0
= 0;
2793 char *_kwnames
[] = { "self", NULL
};
2802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetPositionTuple",_kwnames
,&_argo0
))
2805 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2806 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2807 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetPositionTuple. Expected _wxCaret_p.");
2812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2813 wxCaret_GetPositionTuple(_arg0
,_arg1
,_arg2
);
2815 wxPyEndAllowThreads(__tstate
);
2816 if (PyErr_Occurred()) return NULL
;
2817 } Py_INCREF(Py_None
);
2818 _resultobj
= Py_None
;
2821 o
= PyInt_FromLong((long) (*_arg1
));
2822 _resultobj
= t_output_helper(_resultobj
, o
);
2826 o
= PyInt_FromLong((long) (*_arg2
));
2827 _resultobj
= t_output_helper(_resultobj
, o
);
2832 #define wxCaret_GetPosition(_swigobj) (_swigobj->GetPosition())
2833 static PyObject
*_wrap_wxCaret_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2834 PyObject
* _resultobj
;
2837 PyObject
* _argo0
= 0;
2838 char *_kwnames
[] = { "self", NULL
};
2842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetPosition",_kwnames
,&_argo0
))
2845 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2846 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2847 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetPosition. Expected _wxCaret_p.");
2852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2853 _result
= new wxPoint (wxCaret_GetPosition(_arg0
));
2855 wxPyEndAllowThreads(__tstate
);
2856 if (PyErr_Occurred()) return NULL
;
2857 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2858 _resultobj
= Py_BuildValue("s",_ptemp
);
2862 #define wxCaret_GetSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSize(_swigarg0,_swigarg1))
2863 static PyObject
*_wrap_wxCaret_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2864 PyObject
* _resultobj
;
2870 PyObject
* _argo0
= 0;
2871 char *_kwnames
[] = { "self", NULL
};
2880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetSizeTuple",_kwnames
,&_argo0
))
2883 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2884 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2885 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetSizeTuple. Expected _wxCaret_p.");
2890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2891 wxCaret_GetSizeTuple(_arg0
,_arg1
,_arg2
);
2893 wxPyEndAllowThreads(__tstate
);
2894 if (PyErr_Occurred()) return NULL
;
2895 } Py_INCREF(Py_None
);
2896 _resultobj
= Py_None
;
2899 o
= PyInt_FromLong((long) (*_arg1
));
2900 _resultobj
= t_output_helper(_resultobj
, o
);
2904 o
= PyInt_FromLong((long) (*_arg2
));
2905 _resultobj
= t_output_helper(_resultobj
, o
);
2910 #define wxCaret_GetSize(_swigobj) (_swigobj->GetSize())
2911 static PyObject
*_wrap_wxCaret_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2912 PyObject
* _resultobj
;
2915 PyObject
* _argo0
= 0;
2916 char *_kwnames
[] = { "self", NULL
};
2920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetSize",_kwnames
,&_argo0
))
2923 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2924 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2925 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetSize. Expected _wxCaret_p.");
2930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2931 _result
= new wxSize (wxCaret_GetSize(_arg0
));
2933 wxPyEndAllowThreads(__tstate
);
2934 if (PyErr_Occurred()) return NULL
;
2935 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
2936 _resultobj
= Py_BuildValue("s",_ptemp
);
2940 #define wxCaret_GetWindow(_swigobj) (_swigobj->GetWindow())
2941 static PyObject
*_wrap_wxCaret_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2942 PyObject
* _resultobj
;
2945 PyObject
* _argo0
= 0;
2946 char *_kwnames
[] = { "self", NULL
};
2949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetWindow",_kwnames
,&_argo0
))
2952 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2953 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2954 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetWindow. Expected _wxCaret_p.");
2959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2960 _result
= (wxWindow
*)wxCaret_GetWindow(_arg0
);
2962 wxPyEndAllowThreads(__tstate
);
2963 if (PyErr_Occurred()) return NULL
;
2964 }{ _resultobj
= wxPyMake_wxObject(_result
); }
2968 #define wxCaret_MoveXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->Move(_swigarg0,_swigarg1))
2969 static PyObject
*_wrap_wxCaret_MoveXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2970 PyObject
* _resultobj
;
2974 PyObject
* _argo0
= 0;
2975 char *_kwnames
[] = { "self","x","y", NULL
};
2978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxCaret_MoveXY",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2981 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2982 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2983 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_MoveXY. Expected _wxCaret_p.");
2988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2989 wxCaret_MoveXY(_arg0
,_arg1
,_arg2
);
2991 wxPyEndAllowThreads(__tstate
);
2992 if (PyErr_Occurred()) return NULL
;
2993 } Py_INCREF(Py_None
);
2994 _resultobj
= Py_None
;
2998 #define wxCaret_Move(_swigobj,_swigarg0) (_swigobj->Move(_swigarg0))
2999 static PyObject
*_wrap_wxCaret_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3000 PyObject
* _resultobj
;
3003 PyObject
* _argo0
= 0;
3005 PyObject
* _obj1
= 0;
3006 char *_kwnames
[] = { "self","pt", NULL
};
3009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxCaret_Move",_kwnames
,&_argo0
,&_obj1
))
3012 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3013 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
3014 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_Move. Expected _wxCaret_p.");
3020 if (! wxPoint_helper(_obj1
, &_arg1
))
3024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3025 wxCaret_Move(_arg0
,*_arg1
);
3027 wxPyEndAllowThreads(__tstate
);
3028 if (PyErr_Occurred()) return NULL
;
3029 } Py_INCREF(Py_None
);
3030 _resultobj
= Py_None
;
3034 #define wxCaret_SetSizeWH(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSize(_swigarg0,_swigarg1))
3035 static PyObject
*_wrap_wxCaret_SetSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3036 PyObject
* _resultobj
;
3040 PyObject
* _argo0
= 0;
3041 char *_kwnames
[] = { "self","width","height", NULL
};
3044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxCaret_SetSizeWH",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3047 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3048 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
3049 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_SetSizeWH. Expected _wxCaret_p.");
3054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3055 wxCaret_SetSizeWH(_arg0
,_arg1
,_arg2
);
3057 wxPyEndAllowThreads(__tstate
);
3058 if (PyErr_Occurred()) return NULL
;
3059 } Py_INCREF(Py_None
);
3060 _resultobj
= Py_None
;
3064 #define wxCaret_SetSize(_swigobj,_swigarg0) (_swigobj->SetSize(_swigarg0))
3065 static PyObject
*_wrap_wxCaret_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3066 PyObject
* _resultobj
;
3069 PyObject
* _argo0
= 0;
3071 PyObject
* _obj1
= 0;
3072 char *_kwnames
[] = { "self","size", NULL
};
3075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxCaret_SetSize",_kwnames
,&_argo0
,&_obj1
))
3078 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3079 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
3080 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_SetSize. Expected _wxCaret_p.");
3086 if (! wxSize_helper(_obj1
, &_arg1
))
3090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3091 wxCaret_SetSize(_arg0
,*_arg1
);
3093 wxPyEndAllowThreads(__tstate
);
3094 if (PyErr_Occurred()) return NULL
;
3095 } Py_INCREF(Py_None
);
3096 _resultobj
= Py_None
;
3100 #define wxCaret_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
3101 static PyObject
*_wrap_wxCaret_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3102 PyObject
* _resultobj
;
3104 int _arg1
= (int ) TRUE
;
3105 PyObject
* _argo0
= 0;
3106 char *_kwnames
[] = { "self","show", NULL
};
3109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxCaret_Show",_kwnames
,&_argo0
,&_arg1
))
3112 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3113 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
3114 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_Show. Expected _wxCaret_p.");
3119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3120 wxCaret_Show(_arg0
,_arg1
);
3122 wxPyEndAllowThreads(__tstate
);
3123 if (PyErr_Occurred()) return NULL
;
3124 } Py_INCREF(Py_None
);
3125 _resultobj
= Py_None
;
3129 #define wxCaret_Hide(_swigobj) (_swigobj->Hide())
3130 static PyObject
*_wrap_wxCaret_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3131 PyObject
* _resultobj
;
3133 PyObject
* _argo0
= 0;
3134 char *_kwnames
[] = { "self", NULL
};
3137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_Hide",_kwnames
,&_argo0
))
3140 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3141 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
3142 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_Hide. Expected _wxCaret_p.");
3147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3148 wxCaret_Hide(_arg0
);
3150 wxPyEndAllowThreads(__tstate
);
3151 if (PyErr_Occurred()) return NULL
;
3152 } Py_INCREF(Py_None
);
3153 _resultobj
= Py_None
;
3157 #define new_wxBusyCursor(_swigarg0) (new wxBusyCursor(_swigarg0))
3158 static PyObject
*_wrap_new_wxBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3159 PyObject
* _resultobj
;
3160 wxBusyCursor
* _result
;
3161 wxCursor
* _arg0
= (wxCursor
*) wxHOURGLASS_CURSOR
;
3162 PyObject
* _argo0
= 0;
3163 char *_kwnames
[] = { "cursor", NULL
};
3167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxBusyCursor",_kwnames
,&_argo0
))
3170 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3171 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
3172 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxBusyCursor. Expected _wxCursor_p.");
3177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3178 _result
= (wxBusyCursor
*)new_wxBusyCursor(_arg0
);
3180 wxPyEndAllowThreads(__tstate
);
3181 if (PyErr_Occurred()) return NULL
;
3183 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBusyCursor_p");
3184 _resultobj
= Py_BuildValue("s",_ptemp
);
3187 _resultobj
= Py_None
;
3192 #define delete_wxBusyCursor(_swigobj) (delete _swigobj)
3193 static PyObject
*_wrap_delete_wxBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3194 PyObject
* _resultobj
;
3195 wxBusyCursor
* _arg0
;
3196 PyObject
* _argo0
= 0;
3197 char *_kwnames
[] = { "self", NULL
};
3200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxBusyCursor",_kwnames
,&_argo0
))
3203 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3204 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBusyCursor_p")) {
3205 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxBusyCursor. Expected _wxBusyCursor_p.");
3210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3211 delete_wxBusyCursor(_arg0
);
3213 wxPyEndAllowThreads(__tstate
);
3214 if (PyErr_Occurred()) return NULL
;
3215 } Py_INCREF(Py_None
);
3216 _resultobj
= Py_None
;
3220 #define new_wxWindowDisabler(_swigarg0) (new wxWindowDisabler(_swigarg0))
3221 static PyObject
*_wrap_new_wxWindowDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3222 PyObject
* _resultobj
;
3223 wxWindowDisabler
* _result
;
3224 wxWindow
* _arg0
= (wxWindow
*) NULL
;
3225 PyObject
* _argo0
= 0;
3226 char *_kwnames
[] = { "winToSkip", NULL
};
3230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxWindowDisabler",_kwnames
,&_argo0
))
3233 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3234 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3235 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxWindowDisabler. Expected _wxWindow_p.");
3240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3241 _result
= (wxWindowDisabler
*)new_wxWindowDisabler(_arg0
);
3243 wxPyEndAllowThreads(__tstate
);
3244 if (PyErr_Occurred()) return NULL
;
3246 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindowDisabler_p");
3247 _resultobj
= Py_BuildValue("s",_ptemp
);
3250 _resultobj
= Py_None
;
3255 #define delete_wxWindowDisabler(_swigobj) (delete _swigobj)
3256 static PyObject
*_wrap_delete_wxWindowDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3257 PyObject
* _resultobj
;
3258 wxWindowDisabler
* _arg0
;
3259 PyObject
* _argo0
= 0;
3260 char *_kwnames
[] = { "self", NULL
};
3263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxWindowDisabler",_kwnames
,&_argo0
))
3266 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3267 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindowDisabler_p")) {
3268 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxWindowDisabler. Expected _wxWindowDisabler_p.");
3273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3274 delete_wxWindowDisabler(_arg0
);
3276 wxPyEndAllowThreads(__tstate
);
3277 if (PyErr_Occurred()) return NULL
;
3278 } Py_INCREF(Py_None
);
3279 _resultobj
= Py_None
;
3283 #define new_wxMutexGuiLocker() (new wxMutexGuiLocker())
3284 static PyObject
*_wrap_new_wxMutexGuiLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3285 PyObject
* _resultobj
;
3286 wxMutexGuiLocker
* _result
;
3287 char *_kwnames
[] = { NULL
};
3291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxMutexGuiLocker",_kwnames
))
3294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3295 _result
= (wxMutexGuiLocker
*)new_wxMutexGuiLocker();
3297 wxPyEndAllowThreads(__tstate
);
3298 if (PyErr_Occurred()) return NULL
;
3300 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMutexGuiLocker_p");
3301 _resultobj
= Py_BuildValue("s",_ptemp
);
3304 _resultobj
= Py_None
;
3309 #define delete_wxMutexGuiLocker(_swigobj) (delete _swigobj)
3310 static PyObject
*_wrap_delete_wxMutexGuiLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3311 PyObject
* _resultobj
;
3312 wxMutexGuiLocker
* _arg0
;
3313 PyObject
* _argo0
= 0;
3314 char *_kwnames
[] = { "self", NULL
};
3317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxMutexGuiLocker",_kwnames
,&_argo0
))
3320 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3321 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMutexGuiLocker_p")) {
3322 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxMutexGuiLocker. Expected _wxMutexGuiLocker_p.");
3327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3328 delete_wxMutexGuiLocker(_arg0
);
3330 wxPyEndAllowThreads(__tstate
);
3331 if (PyErr_Occurred()) return NULL
;
3332 } Py_INCREF(Py_None
);
3333 _resultobj
= Py_None
;
3337 #define delete_wxTipProvider(_swigobj) (delete _swigobj)
3338 static PyObject
*_wrap_delete_wxTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3339 PyObject
* _resultobj
;
3340 wxTipProvider
* _arg0
;
3341 PyObject
* _argo0
= 0;
3342 char *_kwnames
[] = { "self", NULL
};
3345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxTipProvider",_kwnames
,&_argo0
))
3348 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3349 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTipProvider_p")) {
3350 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxTipProvider. Expected _wxTipProvider_p.");
3355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3356 delete_wxTipProvider(_arg0
);
3358 wxPyEndAllowThreads(__tstate
);
3359 if (PyErr_Occurred()) return NULL
;
3360 } Py_INCREF(Py_None
);
3361 _resultobj
= Py_None
;
3365 #define wxTipProvider_GetTip(_swigobj) (_swigobj->GetTip())
3366 static PyObject
*_wrap_wxTipProvider_GetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3367 PyObject
* _resultobj
;
3369 wxTipProvider
* _arg0
;
3370 PyObject
* _argo0
= 0;
3371 char *_kwnames
[] = { "self", NULL
};
3374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTipProvider_GetTip",_kwnames
,&_argo0
))
3377 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3378 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTipProvider_p")) {
3379 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTipProvider_GetTip. Expected _wxTipProvider_p.");
3384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3385 _result
= new wxString (wxTipProvider_GetTip(_arg0
));
3387 wxPyEndAllowThreads(__tstate
);
3388 if (PyErr_Occurred()) return NULL
;
3391 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
3393 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3402 #define wxTipProvider_GetCurrentTip(_swigobj) (_swigobj->GetCurrentTip())
3403 static PyObject
*_wrap_wxTipProvider_GetCurrentTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3404 PyObject
* _resultobj
;
3406 wxTipProvider
* _arg0
;
3407 PyObject
* _argo0
= 0;
3408 char *_kwnames
[] = { "self", NULL
};
3411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTipProvider_GetCurrentTip",_kwnames
,&_argo0
))
3414 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3415 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTipProvider_p")) {
3416 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTipProvider_GetCurrentTip. Expected _wxTipProvider_p.");
3421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3422 _result
= (size_t )wxTipProvider_GetCurrentTip(_arg0
);
3424 wxPyEndAllowThreads(__tstate
);
3425 if (PyErr_Occurred()) return NULL
;
3426 } _resultobj
= Py_BuildValue("i",_result
);
3430 #define wxTipProvider_PreprocessTip(_swigobj,_swigarg0) (_swigobj->PreprocessTip(_swigarg0))
3431 static PyObject
*_wrap_wxTipProvider_PreprocessTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3432 PyObject
* _resultobj
;
3434 wxTipProvider
* _arg0
;
3436 PyObject
* _argo0
= 0;
3437 PyObject
* _obj1
= 0;
3438 char *_kwnames
[] = { "self","tip", NULL
};
3441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTipProvider_PreprocessTip",_kwnames
,&_argo0
,&_obj1
))
3444 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3445 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTipProvider_p")) {
3446 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTipProvider_PreprocessTip. Expected _wxTipProvider_p.");
3451 _arg1
= wxString_in_helper(_obj1
);
3456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3457 _result
= new wxString (wxTipProvider_PreprocessTip(_arg0
,*_arg1
));
3459 wxPyEndAllowThreads(__tstate
);
3460 if (PyErr_Occurred()) return NULL
;
3463 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
3465 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3478 static void *SwigwxPyTipProviderTowxTipProvider(void *ptr
) {
3479 wxPyTipProvider
*src
;
3480 wxTipProvider
*dest
;
3481 src
= (wxPyTipProvider
*) ptr
;
3482 dest
= (wxTipProvider
*) src
;
3483 return (void *) dest
;
3486 #define new_wxPyTipProvider(_swigarg0) (new wxPyTipProvider(_swigarg0))
3487 static PyObject
*_wrap_new_wxPyTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3488 PyObject
* _resultobj
;
3489 wxPyTipProvider
* _result
;
3491 char *_kwnames
[] = { "currentTip", NULL
};
3495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:new_wxPyTipProvider",_kwnames
,&_arg0
))
3498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3499 _result
= (wxPyTipProvider
*)new_wxPyTipProvider(_arg0
);
3501 wxPyEndAllowThreads(__tstate
);
3502 if (PyErr_Occurred()) return NULL
;
3504 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTipProvider_p");
3505 _resultobj
= Py_BuildValue("s",_ptemp
);
3508 _resultobj
= Py_None
;
3513 #define wxPyTipProvider__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
3514 static PyObject
*_wrap_wxPyTipProvider__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3515 PyObject
* _resultobj
;
3516 wxPyTipProvider
* _arg0
;
3519 PyObject
* _argo0
= 0;
3520 PyObject
* _obj1
= 0;
3521 PyObject
* _obj2
= 0;
3522 char *_kwnames
[] = { "self","self","_class", NULL
};
3525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyTipProvider__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
3528 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3529 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTipProvider_p")) {
3530 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTipProvider__setCallbackInfo. Expected _wxPyTipProvider_p.");
3541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3542 wxPyTipProvider__setCallbackInfo(_arg0
,_arg1
,_arg2
);
3544 wxPyEndAllowThreads(__tstate
);
3545 if (PyErr_Occurred()) return NULL
;
3546 } Py_INCREF(Py_None
);
3547 _resultobj
= Py_None
;
3551 static void *SwigwxGenericDragImageTowxObject(void *ptr
) {
3552 wxGenericDragImage
*src
;
3554 src
= (wxGenericDragImage
*) ptr
;
3555 dest
= (wxObject
*) src
;
3556 return (void *) dest
;
3559 #define new_wxDragImage(_swigarg0,_swigarg1) (new wxGenericDragImage(_swigarg0,_swigarg1))
3560 static PyObject
*_wrap_new_wxDragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3561 PyObject
* _resultobj
;
3562 wxGenericDragImage
* _result
;
3564 wxCursor
* _arg1
= (wxCursor
*) &wxNullCursor
;
3565 PyObject
* _argo0
= 0;
3566 PyObject
* _argo1
= 0;
3567 char *_kwnames
[] = { "image","cursor", NULL
};
3571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:new_wxDragImage",_kwnames
,&_argo0
,&_argo1
))
3574 if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
3575 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDragImage. Expected _wxBitmap_p.");
3580 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCursor_p")) {
3581 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxDragImage. Expected _wxCursor_p.");
3586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3587 _result
= (wxGenericDragImage
*)new_wxDragImage(*_arg0
,*_arg1
);
3589 wxPyEndAllowThreads(__tstate
);
3590 if (PyErr_Occurred()) return NULL
;
3592 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
3593 _resultobj
= Py_BuildValue("s",_ptemp
);
3596 _resultobj
= Py_None
;
3601 #define new_wxDragIcon(_swigarg0,_swigarg1) (new wxGenericDragImage(_swigarg0,_swigarg1))
3602 static PyObject
*_wrap_new_wxDragIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3603 PyObject
* _resultobj
;
3604 wxGenericDragImage
* _result
;
3606 wxCursor
* _arg1
= (wxCursor
*) &wxNullCursor
;
3607 PyObject
* _argo0
= 0;
3608 PyObject
* _argo1
= 0;
3609 char *_kwnames
[] = { "image","cursor", NULL
};
3613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:new_wxDragIcon",_kwnames
,&_argo0
,&_argo1
))
3616 if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
3617 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDragIcon. Expected _wxIcon_p.");
3622 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCursor_p")) {
3623 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxDragIcon. Expected _wxCursor_p.");
3628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3629 _result
= (wxGenericDragImage
*)new_wxDragIcon(*_arg0
,*_arg1
);
3631 wxPyEndAllowThreads(__tstate
);
3632 if (PyErr_Occurred()) return NULL
;
3634 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
3635 _resultobj
= Py_BuildValue("s",_ptemp
);
3638 _resultobj
= Py_None
;
3643 #define new_wxDragString(_swigarg0,_swigarg1) (new wxGenericDragImage(_swigarg0,_swigarg1))
3644 static PyObject
*_wrap_new_wxDragString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3645 PyObject
* _resultobj
;
3646 wxGenericDragImage
* _result
;
3648 wxCursor
* _arg1
= (wxCursor
*) &wxNullCursor
;
3649 PyObject
* _obj0
= 0;
3650 PyObject
* _argo1
= 0;
3651 char *_kwnames
[] = { "str","cursor", NULL
};
3655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:new_wxDragString",_kwnames
,&_obj0
,&_argo1
))
3658 _arg0
= wxString_in_helper(_obj0
);
3663 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCursor_p")) {
3664 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxDragString. Expected _wxCursor_p.");
3669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3670 _result
= (wxGenericDragImage
*)new_wxDragString(*_arg0
,*_arg1
);
3672 wxPyEndAllowThreads(__tstate
);
3673 if (PyErr_Occurred()) return NULL
;
3675 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
3676 _resultobj
= Py_BuildValue("s",_ptemp
);
3679 _resultobj
= Py_None
;
3688 #define new_wxDragTreeItem(_swigarg0,_swigarg1) (new wxGenericDragImage(_swigarg0,_swigarg1))
3689 static PyObject
*_wrap_new_wxDragTreeItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3690 PyObject
* _resultobj
;
3691 wxGenericDragImage
* _result
;
3693 wxTreeItemId
* _arg1
;
3694 PyObject
* _argo0
= 0;
3695 PyObject
* _argo1
= 0;
3696 char *_kwnames
[] = { "treeCtrl","id", NULL
};
3700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:new_wxDragTreeItem",_kwnames
,&_argo0
,&_argo1
))
3703 if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3704 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDragTreeItem. Expected _wxTreeCtrl_p.");
3709 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3710 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxDragTreeItem. Expected _wxTreeItemId_p.");
3715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3716 _result
= (wxGenericDragImage
*)new_wxDragTreeItem(*_arg0
,*_arg1
);
3718 wxPyEndAllowThreads(__tstate
);
3719 if (PyErr_Occurred()) return NULL
;
3721 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
3722 _resultobj
= Py_BuildValue("s",_ptemp
);
3725 _resultobj
= Py_None
;
3730 #define new_wxDragListItem(_swigarg0,_swigarg1) (new wxGenericDragImage(_swigarg0,_swigarg1))
3731 static PyObject
*_wrap_new_wxDragListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3732 PyObject
* _resultobj
;
3733 wxGenericDragImage
* _result
;
3736 PyObject
* _argo0
= 0;
3737 char *_kwnames
[] = { "listCtrl","id", NULL
};
3741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:new_wxDragListItem",_kwnames
,&_argo0
,&_arg1
))
3744 if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3745 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDragListItem. Expected _wxListCtrl_p.");
3750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3751 _result
= (wxGenericDragImage
*)new_wxDragListItem(*_arg0
,_arg1
);
3753 wxPyEndAllowThreads(__tstate
);
3754 if (PyErr_Occurred()) return NULL
;
3756 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
3757 _resultobj
= Py_BuildValue("s",_ptemp
);
3760 _resultobj
= Py_None
;
3765 #define delete_wxGenericDragImage(_swigobj) (delete _swigobj)
3766 static PyObject
*_wrap_delete_wxDragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3767 PyObject
* _resultobj
;
3768 wxGenericDragImage
* _arg0
;
3769 PyObject
* _argo0
= 0;
3770 char *_kwnames
[] = { "self", NULL
};
3773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxDragImage",_kwnames
,&_argo0
))
3776 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3777 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3778 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxDragImage. Expected _wxGenericDragImage_p.");
3783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3784 delete_wxGenericDragImage(_arg0
);
3786 wxPyEndAllowThreads(__tstate
);
3787 if (PyErr_Occurred()) return NULL
;
3788 } Py_INCREF(Py_None
);
3789 _resultobj
= Py_None
;
3793 #define wxDragImage_SetBackingBitmap(_swigobj,_swigarg0) (_swigobj->SetBackingBitmap(_swigarg0))
3794 static PyObject
*_wrap_wxDragImage_SetBackingBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3795 PyObject
* _resultobj
;
3796 wxGenericDragImage
* _arg0
;
3798 PyObject
* _argo0
= 0;
3799 PyObject
* _argo1
= 0;
3800 char *_kwnames
[] = { "self","bitmap", NULL
};
3803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDragImage_SetBackingBitmap",_kwnames
,&_argo0
,&_argo1
))
3806 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3807 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3808 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_SetBackingBitmap. Expected _wxGenericDragImage_p.");
3813 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3814 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
3815 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDragImage_SetBackingBitmap. Expected _wxBitmap_p.");
3820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3821 wxDragImage_SetBackingBitmap(_arg0
,_arg1
);
3823 wxPyEndAllowThreads(__tstate
);
3824 if (PyErr_Occurred()) return NULL
;
3825 } Py_INCREF(Py_None
);
3826 _resultobj
= Py_None
;
3830 #define wxDragImage_BeginDrag(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->BeginDrag(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3831 static PyObject
*_wrap_wxDragImage_BeginDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3832 PyObject
* _resultobj
;
3834 wxGenericDragImage
* _arg0
;
3837 bool _arg3
= (bool ) FALSE
;
3838 wxRect
* _arg4
= (wxRect
*) NULL
;
3839 PyObject
* _argo0
= 0;
3841 PyObject
* _obj1
= 0;
3842 PyObject
* _argo2
= 0;
3843 int tempbool3
= (int) FALSE
;
3845 PyObject
* _obj4
= 0;
3846 char *_kwnames
[] = { "self","hotspot","window","fullScreen","rect", NULL
};
3849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|iO:wxDragImage_BeginDrag",_kwnames
,&_argo0
,&_obj1
,&_argo2
,&tempbool3
,&_obj4
))
3852 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3853 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3854 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_BeginDrag. Expected _wxGenericDragImage_p.");
3860 if (! wxPoint_helper(_obj1
, &_arg1
))
3864 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3865 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
3866 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxDragImage_BeginDrag. Expected _wxWindow_p.");
3870 _arg3
= (bool ) tempbool3
;
3874 if (! wxRect_helper(_obj4
, &_arg4
))
3878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3879 _result
= (bool )wxDragImage_BeginDrag(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
);
3881 wxPyEndAllowThreads(__tstate
);
3882 if (PyErr_Occurred()) return NULL
;
3883 } _resultobj
= Py_BuildValue("i",_result
);
3887 #define wxDragImage_BeginDragBounded(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->BeginDrag(_swigarg0,_swigarg1,_swigarg2))
3888 static PyObject
*_wrap_wxDragImage_BeginDragBounded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3889 PyObject
* _resultobj
;
3891 wxGenericDragImage
* _arg0
;
3895 PyObject
* _argo0
= 0;
3897 PyObject
* _obj1
= 0;
3898 PyObject
* _argo2
= 0;
3899 PyObject
* _argo3
= 0;
3900 char *_kwnames
[] = { "self","hotspot","window","boundingWindow", NULL
};
3903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO:wxDragImage_BeginDragBounded",_kwnames
,&_argo0
,&_obj1
,&_argo2
,&_argo3
))
3906 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3907 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3908 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_BeginDragBounded. Expected _wxGenericDragImage_p.");
3914 if (! wxPoint_helper(_obj1
, &_arg1
))
3918 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3919 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
3920 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxDragImage_BeginDragBounded. Expected _wxWindow_p.");
3925 if (_argo3
== Py_None
) { _arg3
= NULL
; }
3926 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxWindow_p")) {
3927 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxDragImage_BeginDragBounded. Expected _wxWindow_p.");
3932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3933 _result
= (bool )wxDragImage_BeginDragBounded(_arg0
,*_arg1
,_arg2
,_arg3
);
3935 wxPyEndAllowThreads(__tstate
);
3936 if (PyErr_Occurred()) return NULL
;
3937 } _resultobj
= Py_BuildValue("i",_result
);
3941 #define wxDragImage_EndDrag(_swigobj) (_swigobj->EndDrag())
3942 static PyObject
*_wrap_wxDragImage_EndDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3943 PyObject
* _resultobj
;
3945 wxGenericDragImage
* _arg0
;
3946 PyObject
* _argo0
= 0;
3947 char *_kwnames
[] = { "self", NULL
};
3950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDragImage_EndDrag",_kwnames
,&_argo0
))
3953 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3954 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3955 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_EndDrag. Expected _wxGenericDragImage_p.");
3960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3961 _result
= (bool )wxDragImage_EndDrag(_arg0
);
3963 wxPyEndAllowThreads(__tstate
);
3964 if (PyErr_Occurred()) return NULL
;
3965 } _resultobj
= Py_BuildValue("i",_result
);
3969 #define wxDragImage_Move(_swigobj,_swigarg0) (_swigobj->Move(_swigarg0))
3970 static PyObject
*_wrap_wxDragImage_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3971 PyObject
* _resultobj
;
3973 wxGenericDragImage
* _arg0
;
3975 PyObject
* _argo0
= 0;
3977 PyObject
* _obj1
= 0;
3978 char *_kwnames
[] = { "self","pt", NULL
};
3981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDragImage_Move",_kwnames
,&_argo0
,&_obj1
))
3984 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3985 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3986 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_Move. Expected _wxGenericDragImage_p.");
3992 if (! wxPoint_helper(_obj1
, &_arg1
))
3996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3997 _result
= (bool )wxDragImage_Move(_arg0
,*_arg1
);
3999 wxPyEndAllowThreads(__tstate
);
4000 if (PyErr_Occurred()) return NULL
;
4001 } _resultobj
= Py_BuildValue("i",_result
);
4005 #define wxDragImage_Show(_swigobj) (_swigobj->Show())
4006 static PyObject
*_wrap_wxDragImage_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4007 PyObject
* _resultobj
;
4009 wxGenericDragImage
* _arg0
;
4010 PyObject
* _argo0
= 0;
4011 char *_kwnames
[] = { "self", NULL
};
4014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDragImage_Show",_kwnames
,&_argo0
))
4017 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4018 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
4019 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_Show. Expected _wxGenericDragImage_p.");
4024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4025 _result
= (bool )wxDragImage_Show(_arg0
);
4027 wxPyEndAllowThreads(__tstate
);
4028 if (PyErr_Occurred()) return NULL
;
4029 } _resultobj
= Py_BuildValue("i",_result
);
4033 #define wxDragImage_Hide(_swigobj) (_swigobj->Hide())
4034 static PyObject
*_wrap_wxDragImage_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4035 PyObject
* _resultobj
;
4037 wxGenericDragImage
* _arg0
;
4038 PyObject
* _argo0
= 0;
4039 char *_kwnames
[] = { "self", NULL
};
4042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDragImage_Hide",_kwnames
,&_argo0
))
4045 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4046 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
4047 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_Hide. Expected _wxGenericDragImage_p.");
4052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4053 _result
= (bool )wxDragImage_Hide(_arg0
);
4055 wxPyEndAllowThreads(__tstate
);
4056 if (PyErr_Occurred()) return NULL
;
4057 } _resultobj
= Py_BuildValue("i",_result
);
4061 #define wxDragImage_GetImageRect(_swigobj,_swigarg0) (_swigobj->GetImageRect(_swigarg0))
4062 static PyObject
*_wrap_wxDragImage_GetImageRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4063 PyObject
* _resultobj
;
4065 wxGenericDragImage
* _arg0
;
4067 PyObject
* _argo0
= 0;
4069 PyObject
* _obj1
= 0;
4070 char *_kwnames
[] = { "self","pos", NULL
};
4074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDragImage_GetImageRect",_kwnames
,&_argo0
,&_obj1
))
4077 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4078 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
4079 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_GetImageRect. Expected _wxGenericDragImage_p.");
4085 if (! wxPoint_helper(_obj1
, &_arg1
))
4089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4090 _result
= new wxRect (wxDragImage_GetImageRect(_arg0
,*_arg1
));
4092 wxPyEndAllowThreads(__tstate
);
4093 if (PyErr_Occurred()) return NULL
;
4094 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
4095 _resultobj
= Py_BuildValue("s",_ptemp
);
4099 #define wxDragImage_RedrawImage(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->RedrawImage(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4100 static PyObject
*_wrap_wxDragImage_RedrawImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4101 PyObject
* _resultobj
;
4103 wxGenericDragImage
* _arg0
;
4108 PyObject
* _argo0
= 0;
4110 PyObject
* _obj1
= 0;
4112 PyObject
* _obj2
= 0;
4115 char *_kwnames
[] = { "self","oldPos","newPos","eraseOld","drawNew", NULL
};
4118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOii:wxDragImage_RedrawImage",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&tempbool3
,&tempbool4
))
4121 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4122 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
4123 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_RedrawImage. Expected _wxGenericDragImage_p.");
4129 if (! wxPoint_helper(_obj1
, &_arg1
))
4134 if (! wxPoint_helper(_obj2
, &_arg2
))
4137 _arg3
= (bool ) tempbool3
;
4138 _arg4
= (bool ) tempbool4
;
4140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4141 _result
= (bool )wxDragImage_RedrawImage(_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
);
4143 wxPyEndAllowThreads(__tstate
);
4144 if (PyErr_Occurred()) return NULL
;
4145 } _resultobj
= Py_BuildValue("i",_result
);
4149 static void *SwigwxPyTimerTowxObject(void *ptr
) {
4152 src
= (wxPyTimer
*) ptr
;
4153 dest
= (wxObject
*) src
;
4154 return (void *) dest
;
4157 #define new_wxPyTimer(_swigarg0) (new wxPyTimer(_swigarg0))
4158 static PyObject
*_wrap_new_wxPyTimer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4159 PyObject
* _resultobj
;
4160 wxPyTimer
* _result
;
4162 PyObject
* _obj0
= 0;
4163 char *_kwnames
[] = { "notify", NULL
};
4167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxPyTimer",_kwnames
,&_obj0
))
4173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4174 _result
= (wxPyTimer
*)new_wxPyTimer(_arg0
);
4176 wxPyEndAllowThreads(__tstate
);
4177 if (PyErr_Occurred()) return NULL
;
4179 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTimer_p");
4180 _resultobj
= Py_BuildValue("s",_ptemp
);
4183 _resultobj
= Py_None
;
4188 #define delete_wxPyTimer(_swigobj) (delete _swigobj)
4189 static PyObject
*_wrap_delete_wxPyTimer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4190 PyObject
* _resultobj
;
4192 PyObject
* _argo0
= 0;
4193 char *_kwnames
[] = { "self", NULL
};
4196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPyTimer",_kwnames
,&_argo0
))
4199 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4200 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4201 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPyTimer. Expected _wxPyTimer_p.");
4206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4207 delete_wxPyTimer(_arg0
);
4209 wxPyEndAllowThreads(__tstate
);
4210 if (PyErr_Occurred()) return NULL
;
4211 } Py_INCREF(Py_None
);
4212 _resultobj
= Py_None
;
4216 #define wxPyTimer_GetInterval(_swigobj) (_swigobj->GetInterval())
4217 static PyObject
*_wrap_wxPyTimer_GetInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4218 PyObject
* _resultobj
;
4221 PyObject
* _argo0
= 0;
4222 char *_kwnames
[] = { "self", NULL
};
4225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_GetInterval",_kwnames
,&_argo0
))
4228 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4229 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4230 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_GetInterval. Expected _wxPyTimer_p.");
4235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4236 _result
= (int )wxPyTimer_GetInterval(_arg0
);
4238 wxPyEndAllowThreads(__tstate
);
4239 if (PyErr_Occurred()) return NULL
;
4240 } _resultobj
= Py_BuildValue("i",_result
);
4244 #define wxPyTimer_IsOneShot(_swigobj) (_swigobj->IsOneShot())
4245 static PyObject
*_wrap_wxPyTimer_IsOneShot(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4246 PyObject
* _resultobj
;
4249 PyObject
* _argo0
= 0;
4250 char *_kwnames
[] = { "self", NULL
};
4253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_IsOneShot",_kwnames
,&_argo0
))
4256 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4257 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4258 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_IsOneShot. Expected _wxPyTimer_p.");
4263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4264 _result
= (bool )wxPyTimer_IsOneShot(_arg0
);
4266 wxPyEndAllowThreads(__tstate
);
4267 if (PyErr_Occurred()) return NULL
;
4268 } _resultobj
= Py_BuildValue("i",_result
);
4272 #define wxPyTimer_IsRunning(_swigobj) (_swigobj->IsRunning())
4273 static PyObject
*_wrap_wxPyTimer_IsRunning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4274 PyObject
* _resultobj
;
4277 PyObject
* _argo0
= 0;
4278 char *_kwnames
[] = { "self", NULL
};
4281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_IsRunning",_kwnames
,&_argo0
))
4284 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4285 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4286 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_IsRunning. Expected _wxPyTimer_p.");
4291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4292 _result
= (bool )wxPyTimer_IsRunning(_arg0
);
4294 wxPyEndAllowThreads(__tstate
);
4295 if (PyErr_Occurred()) return NULL
;
4296 } _resultobj
= Py_BuildValue("i",_result
);
4300 #define wxPyTimer_SetOwner(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetOwner(_swigarg0,_swigarg1))
4301 static PyObject
*_wrap_wxPyTimer_SetOwner(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4302 PyObject
* _resultobj
;
4304 wxEvtHandler
* _arg1
;
4305 int _arg2
= (int ) -1;
4306 PyObject
* _argo0
= 0;
4307 PyObject
* _argo1
= 0;
4308 char *_kwnames
[] = { "self","owner","id", NULL
};
4311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxPyTimer_SetOwner",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
4314 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4315 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4316 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_SetOwner. Expected _wxPyTimer_p.");
4321 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4322 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
4323 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyTimer_SetOwner. Expected _wxEvtHandler_p.");
4328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4329 wxPyTimer_SetOwner(_arg0
,_arg1
,_arg2
);
4331 wxPyEndAllowThreads(__tstate
);
4332 if (PyErr_Occurred()) return NULL
;
4333 } Py_INCREF(Py_None
);
4334 _resultobj
= Py_None
;
4338 #define wxPyTimer_Start(_swigobj,_swigarg0,_swigarg1) (_swigobj->Start(_swigarg0,_swigarg1))
4339 static PyObject
*_wrap_wxPyTimer_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4340 PyObject
* _resultobj
;
4342 int _arg1
= (int ) -1;
4343 int _arg2
= (int ) FALSE
;
4344 PyObject
* _argo0
= 0;
4345 char *_kwnames
[] = { "self","milliseconds","oneShot", NULL
};
4348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxPyTimer_Start",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4351 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4352 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4353 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_Start. Expected _wxPyTimer_p.");
4358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4359 wxPyTimer_Start(_arg0
,_arg1
,_arg2
);
4361 wxPyEndAllowThreads(__tstate
);
4362 if (PyErr_Occurred()) return NULL
;
4363 } Py_INCREF(Py_None
);
4364 _resultobj
= Py_None
;
4368 #define wxPyTimer_Stop(_swigobj) (_swigobj->Stop())
4369 static PyObject
*_wrap_wxPyTimer_Stop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4370 PyObject
* _resultobj
;
4372 PyObject
* _argo0
= 0;
4373 char *_kwnames
[] = { "self", NULL
};
4376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_Stop",_kwnames
,&_argo0
))
4379 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4380 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4381 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_Stop. Expected _wxPyTimer_p.");
4386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4387 wxPyTimer_Stop(_arg0
);
4389 wxPyEndAllowThreads(__tstate
);
4390 if (PyErr_Occurred()) return NULL
;
4391 } Py_INCREF(Py_None
);
4392 _resultobj
= Py_None
;
4396 #define new_wxStopWatch() (new wxStopWatch())
4397 static PyObject
*_wrap_new_wxStopWatch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4398 PyObject
* _resultobj
;
4399 wxStopWatch
* _result
;
4400 char *_kwnames
[] = { NULL
};
4404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxStopWatch",_kwnames
))
4407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4408 _result
= (wxStopWatch
*)new_wxStopWatch();
4410 wxPyEndAllowThreads(__tstate
);
4411 if (PyErr_Occurred()) return NULL
;
4413 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStopWatch_p");
4414 _resultobj
= Py_BuildValue("s",_ptemp
);
4417 _resultobj
= Py_None
;
4422 #define delete_wxStopWatch(_swigobj) (delete _swigobj)
4423 static PyObject
*_wrap_delete_wxStopWatch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4424 PyObject
* _resultobj
;
4425 wxStopWatch
* _arg0
;
4426 PyObject
* _argo0
= 0;
4427 char *_kwnames
[] = { "self", NULL
};
4430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxStopWatch",_kwnames
,&_argo0
))
4433 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4434 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStopWatch_p")) {
4435 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxStopWatch. Expected _wxStopWatch_p.");
4440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4441 delete_wxStopWatch(_arg0
);
4443 wxPyEndAllowThreads(__tstate
);
4444 if (PyErr_Occurred()) return NULL
;
4445 } Py_INCREF(Py_None
);
4446 _resultobj
= Py_None
;
4450 #define wxStopWatch_Start(_swigobj,_swigarg0) (_swigobj->Start(_swigarg0))
4451 static PyObject
*_wrap_wxStopWatch_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4452 PyObject
* _resultobj
;
4453 wxStopWatch
* _arg0
;
4454 long _arg1
= (long ) 0;
4455 PyObject
* _argo0
= 0;
4456 char *_kwnames
[] = { "self","t", NULL
};
4459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|l:wxStopWatch_Start",_kwnames
,&_argo0
,&_arg1
))
4462 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4463 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStopWatch_p")) {
4464 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStopWatch_Start. Expected _wxStopWatch_p.");
4469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4470 wxStopWatch_Start(_arg0
,_arg1
);
4472 wxPyEndAllowThreads(__tstate
);
4473 if (PyErr_Occurred()) return NULL
;
4474 } Py_INCREF(Py_None
);
4475 _resultobj
= Py_None
;
4479 #define wxStopWatch_Pause(_swigobj) (_swigobj->Pause())
4480 static PyObject
*_wrap_wxStopWatch_Pause(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4481 PyObject
* _resultobj
;
4482 wxStopWatch
* _arg0
;
4483 PyObject
* _argo0
= 0;
4484 char *_kwnames
[] = { "self", NULL
};
4487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStopWatch_Pause",_kwnames
,&_argo0
))
4490 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4491 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStopWatch_p")) {
4492 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStopWatch_Pause. Expected _wxStopWatch_p.");
4497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4498 wxStopWatch_Pause(_arg0
);
4500 wxPyEndAllowThreads(__tstate
);
4501 if (PyErr_Occurred()) return NULL
;
4502 } Py_INCREF(Py_None
);
4503 _resultobj
= Py_None
;
4507 #define wxStopWatch_Resume(_swigobj) (_swigobj->Resume())
4508 static PyObject
*_wrap_wxStopWatch_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4509 PyObject
* _resultobj
;
4510 wxStopWatch
* _arg0
;
4511 PyObject
* _argo0
= 0;
4512 char *_kwnames
[] = { "self", NULL
};
4515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStopWatch_Resume",_kwnames
,&_argo0
))
4518 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4519 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStopWatch_p")) {
4520 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStopWatch_Resume. Expected _wxStopWatch_p.");
4525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4526 wxStopWatch_Resume(_arg0
);
4528 wxPyEndAllowThreads(__tstate
);
4529 if (PyErr_Occurred()) return NULL
;
4530 } Py_INCREF(Py_None
);
4531 _resultobj
= Py_None
;
4535 #define wxStopWatch_Time(_swigobj) (_swigobj->Time())
4536 static PyObject
*_wrap_wxStopWatch_Time(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4537 PyObject
* _resultobj
;
4539 wxStopWatch
* _arg0
;
4540 PyObject
* _argo0
= 0;
4541 char *_kwnames
[] = { "self", NULL
};
4544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStopWatch_Time",_kwnames
,&_argo0
))
4547 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4548 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStopWatch_p")) {
4549 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStopWatch_Time. Expected _wxStopWatch_p.");
4554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4555 _result
= (long )wxStopWatch_Time(_arg0
);
4557 wxPyEndAllowThreads(__tstate
);
4558 if (PyErr_Occurred()) return NULL
;
4559 } _resultobj
= Py_BuildValue("l",_result
);
4563 #define new_wxLog() (new wxLog())
4564 static PyObject
*_wrap_new_wxLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4565 PyObject
* _resultobj
;
4567 char *_kwnames
[] = { NULL
};
4571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLog",_kwnames
))
4574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4575 _result
= (wxLog
*)new_wxLog();
4577 wxPyEndAllowThreads(__tstate
);
4578 if (PyErr_Occurred()) return NULL
;
4580 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
4581 _resultobj
= Py_BuildValue("s",_ptemp
);
4584 _resultobj
= Py_None
;
4589 static PyObject
*_wrap_wxLog_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4590 PyObject
* _resultobj
;
4592 char *_kwnames
[] = { NULL
};
4595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_IsEnabled",_kwnames
))
4598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4599 _result
= (bool )wxLog::IsEnabled();
4601 wxPyEndAllowThreads(__tstate
);
4602 if (PyErr_Occurred()) return NULL
;
4603 } _resultobj
= Py_BuildValue("i",_result
);
4607 static PyObject
*_wrap_wxLog_EnableLogging(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4608 PyObject
* _resultobj
;
4610 bool _arg0
= (bool ) TRUE
;
4611 int tempbool0
= (int) TRUE
;
4612 char *_kwnames
[] = { "doIt", NULL
};
4615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:wxLog_EnableLogging",_kwnames
,&tempbool0
))
4617 _arg0
= (bool ) tempbool0
;
4619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4620 _result
= (bool )wxLog::EnableLogging(_arg0
);
4622 wxPyEndAllowThreads(__tstate
);
4623 if (PyErr_Occurred()) return NULL
;
4624 } _resultobj
= Py_BuildValue("i",_result
);
4628 static PyObject
*_wrap_wxLog_OnLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4629 PyObject
* _resultobj
;
4630 unsigned long _arg0
;
4632 int _arg2
= (int ) 0;
4633 PyObject
* _obj1
= 0;
4634 char *_kwnames
[] = { "level","szString","t", NULL
};
4637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"lO|i:wxLog_OnLog",_kwnames
,&_arg0
,&_obj1
,&_arg2
))
4640 _arg1
= wxString_in_helper(_obj1
);
4645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4646 wxLog::OnLog(_arg0
,*_arg1
,_arg2
);
4648 wxPyEndAllowThreads(__tstate
);
4649 if (PyErr_Occurred()) return NULL
;
4650 } Py_INCREF(Py_None
);
4651 _resultobj
= Py_None
;
4659 #define wxLog_Flush(_swigobj) (_swigobj->Flush())
4660 static PyObject
*_wrap_wxLog_Flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4661 PyObject
* _resultobj
;
4663 PyObject
* _argo0
= 0;
4664 char *_kwnames
[] = { "self", NULL
};
4667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_Flush",_kwnames
,&_argo0
))
4670 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4671 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
4672 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_Flush. Expected _wxLog_p.");
4677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4680 wxPyEndAllowThreads(__tstate
);
4681 if (PyErr_Occurred()) return NULL
;
4682 } Py_INCREF(Py_None
);
4683 _resultobj
= Py_None
;
4687 static PyObject
*_wrap_wxLog_FlushActive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4688 PyObject
* _resultobj
;
4689 char *_kwnames
[] = { NULL
};
4692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_FlushActive",_kwnames
))
4695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4696 wxLog::FlushActive();
4698 wxPyEndAllowThreads(__tstate
);
4699 if (PyErr_Occurred()) return NULL
;
4700 } Py_INCREF(Py_None
);
4701 _resultobj
= Py_None
;
4705 static PyObject
*_wrap_wxLog_GetActiveTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4706 PyObject
* _resultobj
;
4708 char *_kwnames
[] = { NULL
};
4712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_GetActiveTarget",_kwnames
))
4715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4716 _result
= (wxLog
*)wxLog::GetActiveTarget();
4718 wxPyEndAllowThreads(__tstate
);
4719 if (PyErr_Occurred()) return NULL
;
4721 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
4722 _resultobj
= Py_BuildValue("s",_ptemp
);
4725 _resultobj
= Py_None
;
4730 static PyObject
*_wrap_wxLog_SetActiveTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4731 PyObject
* _resultobj
;
4734 PyObject
* _argo0
= 0;
4735 char *_kwnames
[] = { "pLogger", NULL
};
4739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_SetActiveTarget",_kwnames
,&_argo0
))
4742 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4743 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
4744 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_SetActiveTarget. Expected _wxLog_p.");
4749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4750 _result
= (wxLog
*)wxLog::SetActiveTarget(_arg0
);
4752 wxPyEndAllowThreads(__tstate
);
4753 if (PyErr_Occurred()) return NULL
;
4755 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
4756 _resultobj
= Py_BuildValue("s",_ptemp
);
4759 _resultobj
= Py_None
;
4764 static PyObject
*_wrap_wxLog_Suspend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4765 PyObject
* _resultobj
;
4766 char *_kwnames
[] = { NULL
};
4769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_Suspend",_kwnames
))
4772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4775 wxPyEndAllowThreads(__tstate
);
4776 if (PyErr_Occurred()) return NULL
;
4777 } Py_INCREF(Py_None
);
4778 _resultobj
= Py_None
;
4782 static PyObject
*_wrap_wxLog_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4783 PyObject
* _resultobj
;
4784 char *_kwnames
[] = { NULL
};
4787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_Resume",_kwnames
))
4790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4793 wxPyEndAllowThreads(__tstate
);
4794 if (PyErr_Occurred()) return NULL
;
4795 } Py_INCREF(Py_None
);
4796 _resultobj
= Py_None
;
4800 static PyObject
*_wrap_wxLog_SetVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4801 PyObject
* _resultobj
;
4802 bool _arg0
= (bool ) TRUE
;
4803 int tempbool0
= (int) TRUE
;
4804 char *_kwnames
[] = { "bVerbose", NULL
};
4807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:wxLog_SetVerbose",_kwnames
,&tempbool0
))
4809 _arg0
= (bool ) tempbool0
;
4811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4812 wxLog::SetVerbose(_arg0
);
4814 wxPyEndAllowThreads(__tstate
);
4815 if (PyErr_Occurred()) return NULL
;
4816 } Py_INCREF(Py_None
);
4817 _resultobj
= Py_None
;
4821 static PyObject
*_wrap_wxLog_DontCreateOnDemand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4822 PyObject
* _resultobj
;
4823 char *_kwnames
[] = { NULL
};
4826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_DontCreateOnDemand",_kwnames
))
4829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4830 wxLog::DontCreateOnDemand();
4832 wxPyEndAllowThreads(__tstate
);
4833 if (PyErr_Occurred()) return NULL
;
4834 } Py_INCREF(Py_None
);
4835 _resultobj
= Py_None
;
4839 static PyObject
*_wrap_wxLog_SetTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4840 PyObject
* _resultobj
;
4842 char *_kwnames
[] = { "ulMask", NULL
};
4845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:wxLog_SetTraceMask",_kwnames
,&_arg0
))
4848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4849 wxLog::SetTraceMask(_arg0
);
4851 wxPyEndAllowThreads(__tstate
);
4852 if (PyErr_Occurred()) return NULL
;
4853 } Py_INCREF(Py_None
);
4854 _resultobj
= Py_None
;
4858 static PyObject
*_wrap_wxLog_AddTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4859 PyObject
* _resultobj
;
4861 PyObject
* _obj0
= 0;
4862 char *_kwnames
[] = { "str", NULL
};
4865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_AddTraceMask",_kwnames
,&_obj0
))
4868 _arg0
= wxString_in_helper(_obj0
);
4873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4874 wxLog::AddTraceMask(*_arg0
);
4876 wxPyEndAllowThreads(__tstate
);
4877 if (PyErr_Occurred()) return NULL
;
4878 } Py_INCREF(Py_None
);
4879 _resultobj
= Py_None
;
4887 static PyObject
*_wrap_wxLog_RemoveTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4888 PyObject
* _resultobj
;
4890 PyObject
* _obj0
= 0;
4891 char *_kwnames
[] = { "str", NULL
};
4894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_RemoveTraceMask",_kwnames
,&_obj0
))
4897 _arg0
= wxString_in_helper(_obj0
);
4902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4903 wxLog::RemoveTraceMask(*_arg0
);
4905 wxPyEndAllowThreads(__tstate
);
4906 if (PyErr_Occurred()) return NULL
;
4907 } Py_INCREF(Py_None
);
4908 _resultobj
= Py_None
;
4916 static PyObject
*_wrap_wxLog_ClearTraceMasks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4917 PyObject
* _resultobj
;
4918 char *_kwnames
[] = { NULL
};
4921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_ClearTraceMasks",_kwnames
))
4924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4925 wxLog::ClearTraceMasks();
4927 wxPyEndAllowThreads(__tstate
);
4928 if (PyErr_Occurred()) return NULL
;
4929 } Py_INCREF(Py_None
);
4930 _resultobj
= Py_None
;
4934 static PyObject
*_wrap_wxLog_GetTraceMasks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4935 PyObject
* _resultobj
;
4936 wxArrayString
* _result
;
4937 char *_kwnames
[] = { NULL
};
4941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_GetTraceMasks",_kwnames
))
4944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4945 const wxArrayString
& _result_ref
= wxLog::GetTraceMasks();
4946 _result
= (wxArrayString
*) &_result_ref
;
4948 wxPyEndAllowThreads(__tstate
);
4949 if (PyErr_Occurred()) return NULL
;
4951 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxArrayString_p");
4952 _resultobj
= Py_BuildValue("s",_ptemp
);
4955 _resultobj
= Py_None
;
4960 static PyObject
*_wrap_wxLog_SetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4961 PyObject
* _resultobj
;
4963 PyObject
* _obj0
= 0;
4964 char *_kwnames
[] = { "ts", NULL
};
4967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_SetTimestamp",_kwnames
,&_obj0
))
4970 _arg0
= wxString_in_helper(_obj0
);
4975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4976 wxLog::SetTimestamp(*_arg0
);
4978 wxPyEndAllowThreads(__tstate
);
4979 if (PyErr_Occurred()) return NULL
;
4980 } Py_INCREF(Py_None
);
4981 _resultobj
= Py_None
;
4989 static PyObject
*_wrap_wxLog_GetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4990 PyObject
* _resultobj
;
4992 char *_kwnames
[] = { NULL
};
4995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_GetTimestamp",_kwnames
))
4998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4999 const wxString
& _result_ref
= wxLog::GetTimestamp();
5000 _result
= (wxString
*) &_result_ref
;
5002 wxPyEndAllowThreads(__tstate
);
5003 if (PyErr_Occurred()) return NULL
;
5006 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
5008 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5014 #define wxLog_GetVerbose(_swigobj) (_swigobj->GetVerbose())
5015 static PyObject
*_wrap_wxLog_GetVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5016 PyObject
* _resultobj
;
5019 PyObject
* _argo0
= 0;
5020 char *_kwnames
[] = { "self", NULL
};
5023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_GetVerbose",_kwnames
,&_argo0
))
5026 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5027 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
5028 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_GetVerbose. Expected _wxLog_p.");
5033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5034 _result
= (bool )wxLog_GetVerbose(_arg0
);
5036 wxPyEndAllowThreads(__tstate
);
5037 if (PyErr_Occurred()) return NULL
;
5038 } _resultobj
= Py_BuildValue("i",_result
);
5042 static PyObject
*_wrap_wxLog_GetTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5043 PyObject
* _resultobj
;
5044 unsigned long _result
;
5045 char *_kwnames
[] = { NULL
};
5048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_GetTraceMask",_kwnames
))
5051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5052 _result
= (unsigned long )wxLog::GetTraceMask();
5054 wxPyEndAllowThreads(__tstate
);
5055 if (PyErr_Occurred()) return NULL
;
5056 } _resultobj
= Py_BuildValue("l",_result
);
5060 static PyObject
*_wrap_wxLog_IsAllowedTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5061 PyObject
* _resultobj
;
5064 PyObject
* _obj0
= 0;
5065 char *_kwnames
[] = { "mask", NULL
};
5068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_IsAllowedTraceMask",_kwnames
,&_obj0
))
5071 _arg0
= wxString_in_helper(_obj0
);
5076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5077 _result
= (bool )wxLog::IsAllowedTraceMask(*_arg0
);
5079 wxPyEndAllowThreads(__tstate
);
5080 if (PyErr_Occurred()) return NULL
;
5081 } _resultobj
= Py_BuildValue("i",_result
);
5089 static PyObject
*_wrap_wxLog_SetLogLevel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5090 PyObject
* _resultobj
;
5091 unsigned long _arg0
;
5092 char *_kwnames
[] = { "logLevel", NULL
};
5095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:wxLog_SetLogLevel",_kwnames
,&_arg0
))
5098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5099 wxLog::SetLogLevel(_arg0
);
5101 wxPyEndAllowThreads(__tstate
);
5102 if (PyErr_Occurred()) return NULL
;
5103 } Py_INCREF(Py_None
);
5104 _resultobj
= Py_None
;
5108 static PyObject
*_wrap_wxLog_GetLogLevel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5109 PyObject
* _resultobj
;
5110 unsigned long _result
;
5111 char *_kwnames
[] = { NULL
};
5114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_GetLogLevel",_kwnames
))
5117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5118 _result
= (unsigned long )wxLog::GetLogLevel();
5120 wxPyEndAllowThreads(__tstate
);
5121 if (PyErr_Occurred()) return NULL
;
5122 } _resultobj
= Py_BuildValue("l",_result
);
5126 static wxString
wxLog_TimeStamp(wxLog
*self
) {
5128 wxLog::TimeStamp(&msg
);
5131 static PyObject
*_wrap_wxLog_TimeStamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5132 PyObject
* _resultobj
;
5135 PyObject
* _argo0
= 0;
5136 char *_kwnames
[] = { "self", NULL
};
5139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_TimeStamp",_kwnames
,&_argo0
))
5142 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5143 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
5144 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_TimeStamp. Expected _wxLog_p.");
5149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5150 _result
= new wxString (wxLog_TimeStamp(_arg0
));
5152 wxPyEndAllowThreads(__tstate
);
5153 if (PyErr_Occurred()) return NULL
;
5156 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
5158 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5167 static void *SwigwxLogStderrTowxLog(void *ptr
) {
5170 src
= (wxLogStderr
*) ptr
;
5171 dest
= (wxLog
*) src
;
5172 return (void *) dest
;
5175 #define new_wxLogStderr() (new wxLogStderr())
5176 static PyObject
*_wrap_new_wxLogStderr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5177 PyObject
* _resultobj
;
5178 wxLogStderr
* _result
;
5179 char *_kwnames
[] = { NULL
};
5183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLogStderr",_kwnames
))
5186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5187 _result
= (wxLogStderr
*)new_wxLogStderr();
5189 wxPyEndAllowThreads(__tstate
);
5190 if (PyErr_Occurred()) return NULL
;
5192 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogStderr_p");
5193 _resultobj
= Py_BuildValue("s",_ptemp
);
5196 _resultobj
= Py_None
;
5201 static void *SwigwxLogTextCtrlTowxLog(void *ptr
) {
5204 src
= (wxLogTextCtrl
*) ptr
;
5205 dest
= (wxLog
*) src
;
5206 return (void *) dest
;
5209 #define new_wxLogTextCtrl(_swigarg0) (new wxLogTextCtrl(_swigarg0))
5210 static PyObject
*_wrap_new_wxLogTextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5211 PyObject
* _resultobj
;
5212 wxLogTextCtrl
* _result
;
5214 PyObject
* _argo0
= 0;
5215 char *_kwnames
[] = { "pTextCtrl", NULL
};
5219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxLogTextCtrl",_kwnames
,&_argo0
))
5222 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5223 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
5224 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxLogTextCtrl. Expected _wxTextCtrl_p.");
5229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5230 _result
= (wxLogTextCtrl
*)new_wxLogTextCtrl(_arg0
);
5232 wxPyEndAllowThreads(__tstate
);
5233 if (PyErr_Occurred()) return NULL
;
5235 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogTextCtrl_p");
5236 _resultobj
= Py_BuildValue("s",_ptemp
);
5239 _resultobj
= Py_None
;
5244 static void *SwigwxLogGuiTowxLog(void *ptr
) {
5247 src
= (wxLogGui
*) ptr
;
5248 dest
= (wxLog
*) src
;
5249 return (void *) dest
;
5252 #define new_wxLogGui() (new wxLogGui())
5253 static PyObject
*_wrap_new_wxLogGui(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5254 PyObject
* _resultobj
;
5256 char *_kwnames
[] = { NULL
};
5260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLogGui",_kwnames
))
5263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5264 _result
= (wxLogGui
*)new_wxLogGui();
5266 wxPyEndAllowThreads(__tstate
);
5267 if (PyErr_Occurred()) return NULL
;
5269 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogGui_p");
5270 _resultobj
= Py_BuildValue("s",_ptemp
);
5273 _resultobj
= Py_None
;
5278 static void *SwigwxLogWindowTowxLog(void *ptr
) {
5281 src
= (wxLogWindow
*) ptr
;
5282 dest
= (wxLog
*) src
;
5283 return (void *) dest
;
5286 #define new_wxLogWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxLogWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5287 static PyObject
*_wrap_new_wxLogWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5288 PyObject
* _resultobj
;
5289 wxLogWindow
* _result
;
5292 bool _arg2
= (bool ) TRUE
;
5293 bool _arg3
= (bool ) TRUE
;
5294 PyObject
* _argo0
= 0;
5295 PyObject
* _obj1
= 0;
5296 int tempbool2
= (int) TRUE
;
5297 int tempbool3
= (int) TRUE
;
5298 char *_kwnames
[] = { "pParent","szTitle","bShow","bPassToOld", NULL
};
5302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|ii:new_wxLogWindow",_kwnames
,&_argo0
,&_obj1
,&tempbool2
,&tempbool3
))
5305 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5306 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
5307 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxLogWindow. Expected _wxFrame_p.");
5312 _arg1
= wxString_in_helper(_obj1
);
5316 _arg2
= (bool ) tempbool2
;
5317 _arg3
= (bool ) tempbool3
;
5319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5320 _result
= (wxLogWindow
*)new_wxLogWindow(_arg0
,*_arg1
,_arg2
,_arg3
);
5322 wxPyEndAllowThreads(__tstate
);
5323 if (PyErr_Occurred()) return NULL
;
5325 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogWindow_p");
5326 _resultobj
= Py_BuildValue("s",_ptemp
);
5329 _resultobj
= Py_None
;
5338 #define wxLogWindow_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
5339 static PyObject
*_wrap_wxLogWindow_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5340 PyObject
* _resultobj
;
5341 wxLogWindow
* _arg0
;
5342 bool _arg1
= (bool ) TRUE
;
5343 PyObject
* _argo0
= 0;
5344 int tempbool1
= (int) TRUE
;
5345 char *_kwnames
[] = { "self","bShow", NULL
};
5348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxLogWindow_Show",_kwnames
,&_argo0
,&tempbool1
))
5351 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5352 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
5353 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_Show. Expected _wxLogWindow_p.");
5357 _arg1
= (bool ) tempbool1
;
5359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5360 wxLogWindow_Show(_arg0
,_arg1
);
5362 wxPyEndAllowThreads(__tstate
);
5363 if (PyErr_Occurred()) return NULL
;
5364 } Py_INCREF(Py_None
);
5365 _resultobj
= Py_None
;
5369 #define wxLogWindow_GetFrame(_swigobj) (_swigobj->GetFrame())
5370 static PyObject
*_wrap_wxLogWindow_GetFrame(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_GetFrame",_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_GetFrame. Expected _wxLogWindow_p.");
5388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5389 _result
= (wxFrame
*)wxLogWindow_GetFrame(_arg0
);
5391 wxPyEndAllowThreads(__tstate
);
5392 if (PyErr_Occurred()) return NULL
;
5393 }{ _resultobj
= wxPyMake_wxObject(_result
); }
5397 #define wxLogWindow_GetOldLog(_swigobj) (_swigobj->GetOldLog())
5398 static PyObject
*_wrap_wxLogWindow_GetOldLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5399 PyObject
* _resultobj
;
5401 wxLogWindow
* _arg0
;
5402 PyObject
* _argo0
= 0;
5403 char *_kwnames
[] = { "self", NULL
};
5407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogWindow_GetOldLog",_kwnames
,&_argo0
))
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_GetOldLog. Expected _wxLogWindow_p.");
5417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5418 _result
= (wxLog
*)wxLogWindow_GetOldLog(_arg0
);
5420 wxPyEndAllowThreads(__tstate
);
5421 if (PyErr_Occurred()) return NULL
;
5423 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
5424 _resultobj
= Py_BuildValue("s",_ptemp
);
5427 _resultobj
= Py_None
;
5432 #define wxLogWindow_IsPassingMessages(_swigobj) (_swigobj->IsPassingMessages())
5433 static PyObject
*_wrap_wxLogWindow_IsPassingMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5434 PyObject
* _resultobj
;
5436 wxLogWindow
* _arg0
;
5437 PyObject
* _argo0
= 0;
5438 char *_kwnames
[] = { "self", NULL
};
5441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogWindow_IsPassingMessages",_kwnames
,&_argo0
))
5444 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5445 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
5446 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_IsPassingMessages. Expected _wxLogWindow_p.");
5451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5452 _result
= (bool )wxLogWindow_IsPassingMessages(_arg0
);
5454 wxPyEndAllowThreads(__tstate
);
5455 if (PyErr_Occurred()) return NULL
;
5456 } _resultobj
= Py_BuildValue("i",_result
);
5460 #define wxLogWindow_PassMessages(_swigobj,_swigarg0) (_swigobj->PassMessages(_swigarg0))
5461 static PyObject
*_wrap_wxLogWindow_PassMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5462 PyObject
* _resultobj
;
5463 wxLogWindow
* _arg0
;
5465 PyObject
* _argo0
= 0;
5467 char *_kwnames
[] = { "self","bDoPass", NULL
};
5470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxLogWindow_PassMessages",_kwnames
,&_argo0
,&tempbool1
))
5473 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5474 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
5475 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_PassMessages. Expected _wxLogWindow_p.");
5479 _arg1
= (bool ) tempbool1
;
5481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5482 wxLogWindow_PassMessages(_arg0
,_arg1
);
5484 wxPyEndAllowThreads(__tstate
);
5485 if (PyErr_Occurred()) return NULL
;
5486 } Py_INCREF(Py_None
);
5487 _resultobj
= Py_None
;
5491 static void *SwigwxLogChainTowxLog(void *ptr
) {
5494 src
= (wxLogChain
*) ptr
;
5495 dest
= (wxLog
*) src
;
5496 return (void *) dest
;
5499 #define new_wxLogChain(_swigarg0) (new wxLogChain(_swigarg0))
5500 static PyObject
*_wrap_new_wxLogChain(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5501 PyObject
* _resultobj
;
5502 wxLogChain
* _result
;
5504 PyObject
* _argo0
= 0;
5505 char *_kwnames
[] = { "logger", NULL
};
5509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxLogChain",_kwnames
,&_argo0
))
5512 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5513 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
5514 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxLogChain. Expected _wxLog_p.");
5519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5520 _result
= (wxLogChain
*)new_wxLogChain(_arg0
);
5522 wxPyEndAllowThreads(__tstate
);
5523 if (PyErr_Occurred()) return NULL
;
5525 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogChain_p");
5526 _resultobj
= Py_BuildValue("s",_ptemp
);
5529 _resultobj
= Py_None
;
5534 #define wxLogChain_SetLog(_swigobj,_swigarg0) (_swigobj->SetLog(_swigarg0))
5535 static PyObject
*_wrap_wxLogChain_SetLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5536 PyObject
* _resultobj
;
5539 PyObject
* _argo0
= 0;
5540 PyObject
* _argo1
= 0;
5541 char *_kwnames
[] = { "self","logger", NULL
};
5544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxLogChain_SetLog",_kwnames
,&_argo0
,&_argo1
))
5547 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5548 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogChain_p")) {
5549 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogChain_SetLog. Expected _wxLogChain_p.");
5554 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5555 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxLog_p")) {
5556 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxLogChain_SetLog. Expected _wxLog_p.");
5561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5562 wxLogChain_SetLog(_arg0
,_arg1
);
5564 wxPyEndAllowThreads(__tstate
);
5565 if (PyErr_Occurred()) return NULL
;
5566 } Py_INCREF(Py_None
);
5567 _resultobj
= Py_None
;
5571 #define wxLogChain_PassMessages(_swigobj,_swigarg0) (_swigobj->PassMessages(_swigarg0))
5572 static PyObject
*_wrap_wxLogChain_PassMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5573 PyObject
* _resultobj
;
5576 PyObject
* _argo0
= 0;
5578 char *_kwnames
[] = { "self","bDoPass", NULL
};
5581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxLogChain_PassMessages",_kwnames
,&_argo0
,&tempbool1
))
5584 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5585 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogChain_p")) {
5586 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogChain_PassMessages. Expected _wxLogChain_p.");
5590 _arg1
= (bool ) tempbool1
;
5592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5593 wxLogChain_PassMessages(_arg0
,_arg1
);
5595 wxPyEndAllowThreads(__tstate
);
5596 if (PyErr_Occurred()) return NULL
;
5597 } Py_INCREF(Py_None
);
5598 _resultobj
= Py_None
;
5602 #define wxLogChain_IsPassingMessages(_swigobj) (_swigobj->IsPassingMessages())
5603 static PyObject
*_wrap_wxLogChain_IsPassingMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5604 PyObject
* _resultobj
;
5607 PyObject
* _argo0
= 0;
5608 char *_kwnames
[] = { "self", NULL
};
5611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogChain_IsPassingMessages",_kwnames
,&_argo0
))
5614 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5615 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogChain_p")) {
5616 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogChain_IsPassingMessages. Expected _wxLogChain_p.");
5621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5622 _result
= (bool )wxLogChain_IsPassingMessages(_arg0
);
5624 wxPyEndAllowThreads(__tstate
);
5625 if (PyErr_Occurred()) return NULL
;
5626 } _resultobj
= Py_BuildValue("i",_result
);
5630 #define wxLogChain_GetOldLog(_swigobj) (_swigobj->GetOldLog())
5631 static PyObject
*_wrap_wxLogChain_GetOldLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5632 PyObject
* _resultobj
;
5635 PyObject
* _argo0
= 0;
5636 char *_kwnames
[] = { "self", NULL
};
5640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogChain_GetOldLog",_kwnames
,&_argo0
))
5643 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5644 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogChain_p")) {
5645 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogChain_GetOldLog. Expected _wxLogChain_p.");
5650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5651 _result
= (wxLog
*)wxLogChain_GetOldLog(_arg0
);
5653 wxPyEndAllowThreads(__tstate
);
5654 if (PyErr_Occurred()) return NULL
;
5656 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
5657 _resultobj
= Py_BuildValue("s",_ptemp
);
5660 _resultobj
= Py_None
;
5665 #define new_wxLogNull() (new wxLogNull())
5666 static PyObject
*_wrap_new_wxLogNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5667 PyObject
* _resultobj
;
5668 wxLogNull
* _result
;
5669 char *_kwnames
[] = { NULL
};
5673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLogNull",_kwnames
))
5676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5677 _result
= (wxLogNull
*)new_wxLogNull();
5679 wxPyEndAllowThreads(__tstate
);
5680 if (PyErr_Occurred()) return NULL
;
5682 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogNull_p");
5683 _resultobj
= Py_BuildValue("s",_ptemp
);
5686 _resultobj
= Py_None
;
5691 #define delete_wxLogNull(_swigobj) (delete _swigobj)
5692 static PyObject
*_wrap_delete_wxLogNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5693 PyObject
* _resultobj
;
5695 PyObject
* _argo0
= 0;
5696 char *_kwnames
[] = { "self", NULL
};
5699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxLogNull",_kwnames
,&_argo0
))
5702 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5703 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogNull_p")) {
5704 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxLogNull. Expected _wxLogNull_p.");
5709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5710 delete_wxLogNull(_arg0
);
5712 wxPyEndAllowThreads(__tstate
);
5713 if (PyErr_Occurred()) return NULL
;
5714 } Py_INCREF(Py_None
);
5715 _resultobj
= Py_None
;
5719 static void *SwigwxPyLogTowxLog(void *ptr
) {
5722 src
= (wxPyLog
*) ptr
;
5723 dest
= (wxLog
*) src
;
5724 return (void *) dest
;
5727 #define new_wxPyLog() (new wxPyLog())
5728 static PyObject
*_wrap_new_wxPyLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5729 PyObject
* _resultobj
;
5731 char *_kwnames
[] = { NULL
};
5735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPyLog",_kwnames
))
5738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5739 _result
= (wxPyLog
*)new_wxPyLog();
5741 wxPyEndAllowThreads(__tstate
);
5742 if (PyErr_Occurred()) return NULL
;
5744 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyLog_p");
5745 _resultobj
= Py_BuildValue("s",_ptemp
);
5748 _resultobj
= Py_None
;
5753 #define wxPyLog__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
5754 static PyObject
*_wrap_wxPyLog__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5755 PyObject
* _resultobj
;
5759 PyObject
* _argo0
= 0;
5760 PyObject
* _obj1
= 0;
5761 PyObject
* _obj2
= 0;
5762 char *_kwnames
[] = { "self","self","_class", NULL
};
5765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyLog__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
5768 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5769 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLog_p")) {
5770 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLog__setCallbackInfo. Expected _wxPyLog_p.");
5781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5782 wxPyLog__setCallbackInfo(_arg0
,_arg1
,_arg2
);
5784 wxPyEndAllowThreads(__tstate
);
5785 if (PyErr_Occurred()) return NULL
;
5786 } Py_INCREF(Py_None
);
5787 _resultobj
= Py_None
;
5791 static void wxPyLog_Destroy(wxPyLog
*self
) { delete self
; }
5792 static PyObject
*_wrap_wxPyLog_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5793 PyObject
* _resultobj
;
5795 PyObject
* _argo0
= 0;
5796 char *_kwnames
[] = { "self", NULL
};
5799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyLog_Destroy",_kwnames
,&_argo0
))
5802 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5803 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLog_p")) {
5804 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLog_Destroy. Expected _wxPyLog_p.");
5809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5810 wxPyLog_Destroy(_arg0
);
5812 wxPyEndAllowThreads(__tstate
);
5813 if (PyErr_Occurred()) return NULL
;
5814 } Py_INCREF(Py_None
);
5815 _resultobj
= Py_None
;
5819 static void *SwigwxProcessEventTowxEvent(void *ptr
) {
5820 wxProcessEvent
*src
;
5822 src
= (wxProcessEvent
*) ptr
;
5823 dest
= (wxEvent
*) src
;
5824 return (void *) dest
;
5827 static void *SwigwxProcessEventTowxObject(void *ptr
) {
5828 wxProcessEvent
*src
;
5830 src
= (wxProcessEvent
*) ptr
;
5831 dest
= (wxObject
*) src
;
5832 return (void *) dest
;
5835 #define new_wxProcessEvent(_swigarg0,_swigarg1,_swigarg2) (new wxProcessEvent(_swigarg0,_swigarg1,_swigarg2))
5836 static PyObject
*_wrap_new_wxProcessEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5837 PyObject
* _resultobj
;
5838 wxProcessEvent
* _result
;
5839 int _arg0
= (int ) 0;
5840 int _arg1
= (int ) 0;
5841 int _arg2
= (int ) 0;
5842 char *_kwnames
[] = { "id","pid","exitcode", NULL
};
5846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iii:new_wxProcessEvent",_kwnames
,&_arg0
,&_arg1
,&_arg2
))
5849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5850 _result
= (wxProcessEvent
*)new_wxProcessEvent(_arg0
,_arg1
,_arg2
);
5852 wxPyEndAllowThreads(__tstate
);
5853 if (PyErr_Occurred()) return NULL
;
5855 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxProcessEvent_p");
5856 _resultobj
= Py_BuildValue("s",_ptemp
);
5859 _resultobj
= Py_None
;
5864 #define wxProcessEvent_GetPid(_swigobj) (_swigobj->GetPid())
5865 static PyObject
*_wrap_wxProcessEvent_GetPid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5866 PyObject
* _resultobj
;
5868 wxProcessEvent
* _arg0
;
5869 PyObject
* _argo0
= 0;
5870 char *_kwnames
[] = { "self", NULL
};
5873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcessEvent_GetPid",_kwnames
,&_argo0
))
5876 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5877 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
5878 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_GetPid. Expected _wxProcessEvent_p.");
5883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5884 _result
= (int )wxProcessEvent_GetPid(_arg0
);
5886 wxPyEndAllowThreads(__tstate
);
5887 if (PyErr_Occurred()) return NULL
;
5888 } _resultobj
= Py_BuildValue("i",_result
);
5892 #define wxProcessEvent_GetExitCode(_swigobj) (_swigobj->GetExitCode())
5893 static PyObject
*_wrap_wxProcessEvent_GetExitCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5894 PyObject
* _resultobj
;
5896 wxProcessEvent
* _arg0
;
5897 PyObject
* _argo0
= 0;
5898 char *_kwnames
[] = { "self", NULL
};
5901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcessEvent_GetExitCode",_kwnames
,&_argo0
))
5904 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5905 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
5906 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_GetExitCode. Expected _wxProcessEvent_p.");
5911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5912 _result
= (int )wxProcessEvent_GetExitCode(_arg0
);
5914 wxPyEndAllowThreads(__tstate
);
5915 if (PyErr_Occurred()) return NULL
;
5916 } _resultobj
= Py_BuildValue("i",_result
);
5920 #define wxProcessEvent_m_pid_set(_swigobj,_swigval) (_swigobj->m_pid = _swigval,_swigval)
5921 static PyObject
*_wrap_wxProcessEvent_m_pid_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5922 PyObject
* _resultobj
;
5924 wxProcessEvent
* _arg0
;
5926 PyObject
* _argo0
= 0;
5927 char *_kwnames
[] = { "self","m_pid", NULL
};
5930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxProcessEvent_m_pid_set",_kwnames
,&_argo0
,&_arg1
))
5933 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5934 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
5935 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_m_pid_set. Expected _wxProcessEvent_p.");
5940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5941 _result
= (int )wxProcessEvent_m_pid_set(_arg0
,_arg1
);
5943 wxPyEndAllowThreads(__tstate
);
5944 if (PyErr_Occurred()) return NULL
;
5945 } _resultobj
= Py_BuildValue("i",_result
);
5949 #define wxProcessEvent_m_pid_get(_swigobj) ((int ) _swigobj->m_pid)
5950 static PyObject
*_wrap_wxProcessEvent_m_pid_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5951 PyObject
* _resultobj
;
5953 wxProcessEvent
* _arg0
;
5954 PyObject
* _argo0
= 0;
5955 char *_kwnames
[] = { "self", NULL
};
5958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcessEvent_m_pid_get",_kwnames
,&_argo0
))
5961 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5962 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
5963 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_m_pid_get. Expected _wxProcessEvent_p.");
5968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5969 _result
= (int )wxProcessEvent_m_pid_get(_arg0
);
5971 wxPyEndAllowThreads(__tstate
);
5972 if (PyErr_Occurred()) return NULL
;
5973 } _resultobj
= Py_BuildValue("i",_result
);
5977 #define wxProcessEvent_m_exitcode_set(_swigobj,_swigval) (_swigobj->m_exitcode = _swigval,_swigval)
5978 static PyObject
*_wrap_wxProcessEvent_m_exitcode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5979 PyObject
* _resultobj
;
5981 wxProcessEvent
* _arg0
;
5983 PyObject
* _argo0
= 0;
5984 char *_kwnames
[] = { "self","m_exitcode", NULL
};
5987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxProcessEvent_m_exitcode_set",_kwnames
,&_argo0
,&_arg1
))
5990 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5991 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
5992 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_m_exitcode_set. Expected _wxProcessEvent_p.");
5997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5998 _result
= (int )wxProcessEvent_m_exitcode_set(_arg0
,_arg1
);
6000 wxPyEndAllowThreads(__tstate
);
6001 if (PyErr_Occurred()) return NULL
;
6002 } _resultobj
= Py_BuildValue("i",_result
);
6006 #define wxProcessEvent_m_exitcode_get(_swigobj) ((int ) _swigobj->m_exitcode)
6007 static PyObject
*_wrap_wxProcessEvent_m_exitcode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6008 PyObject
* _resultobj
;
6010 wxProcessEvent
* _arg0
;
6011 PyObject
* _argo0
= 0;
6012 char *_kwnames
[] = { "self", NULL
};
6015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcessEvent_m_exitcode_get",_kwnames
,&_argo0
))
6018 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6019 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
6020 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_m_exitcode_get. Expected _wxProcessEvent_p.");
6025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6026 _result
= (int )wxProcessEvent_m_exitcode_get(_arg0
);
6028 wxPyEndAllowThreads(__tstate
);
6029 if (PyErr_Occurred()) return NULL
;
6030 } _resultobj
= Py_BuildValue("i",_result
);
6034 static void *SwigwxPyProcessTowxEvtHandler(void *ptr
) {
6037 src
= (wxPyProcess
*) ptr
;
6038 dest
= (wxEvtHandler
*) src
;
6039 return (void *) dest
;
6042 static void *SwigwxPyProcessTowxObject(void *ptr
) {
6045 src
= (wxPyProcess
*) ptr
;
6046 dest
= (wxObject
*) src
;
6047 return (void *) dest
;
6050 static PyObject
*_wrap_wxProcess_Kill(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6051 PyObject
* _resultobj
;
6052 wxKillError _result
;
6054 wxSignal _arg1
= (wxSignal
) (wxSIGTERM
);
6055 char *_kwnames
[] = { "pid","sig", NULL
};
6058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i|i:wxProcess_Kill",_kwnames
,&_arg0
,&_arg1
))
6061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6062 _result
= (wxKillError
)wxPyProcess::Kill(_arg0
,_arg1
);
6064 wxPyEndAllowThreads(__tstate
);
6065 if (PyErr_Occurred()) return NULL
;
6066 } _resultobj
= Py_BuildValue("i",_result
);
6070 static PyObject
*_wrap_wxProcess_Exists(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6071 PyObject
* _resultobj
;
6074 char *_kwnames
[] = { "pid", NULL
};
6077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxProcess_Exists",_kwnames
,&_arg0
))
6080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6081 _result
= (bool )wxPyProcess::Exists(_arg0
);
6083 wxPyEndAllowThreads(__tstate
);
6084 if (PyErr_Occurred()) return NULL
;
6085 } _resultobj
= Py_BuildValue("i",_result
);
6089 static PyObject
*_wrap_wxProcess_Open(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6090 PyObject
* _resultobj
;
6091 wxPyProcess
* _result
;
6093 int _arg1
= (int ) wxEXEC_ASYNC
;
6094 PyObject
* _obj0
= 0;
6095 char *_kwnames
[] = { "cmd","flags", NULL
};
6099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxProcess_Open",_kwnames
,&_obj0
,&_arg1
))
6102 _arg0
= wxString_in_helper(_obj0
);
6107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6108 _result
= (wxPyProcess
*)wxPyProcess::Open(*_arg0
,_arg1
);
6110 wxPyEndAllowThreads(__tstate
);
6111 if (PyErr_Occurred()) return NULL
;
6113 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyProcess_p");
6114 _resultobj
= Py_BuildValue("s",_ptemp
);
6117 _resultobj
= Py_None
;
6126 #define new_wxProcess(_swigarg0,_swigarg1) (new wxPyProcess(_swigarg0,_swigarg1))
6127 static PyObject
*_wrap_new_wxProcess(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6128 PyObject
* _resultobj
;
6129 wxPyProcess
* _result
;
6130 wxEvtHandler
* _arg0
= (wxEvtHandler
*) NULL
;
6131 int _arg1
= (int ) -1;
6132 PyObject
* _argo0
= 0;
6133 char *_kwnames
[] = { "parent","id", NULL
};
6137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|Oi:new_wxProcess",_kwnames
,&_argo0
,&_arg1
))
6140 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6141 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
6142 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxProcess. Expected _wxEvtHandler_p.");
6147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6148 _result
= (wxPyProcess
*)new_wxProcess(_arg0
,_arg1
);
6150 wxPyEndAllowThreads(__tstate
);
6151 if (PyErr_Occurred()) return NULL
;
6153 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyProcess_p");
6154 _resultobj
= Py_BuildValue("s",_ptemp
);
6157 _resultobj
= Py_None
;
6162 static void wxPyProcess_Destroy(wxPyProcess
*self
) { delete self
; }
6163 static PyObject
*_wrap_wxProcess_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6164 PyObject
* _resultobj
;
6165 wxPyProcess
* _arg0
;
6166 PyObject
* _argo0
= 0;
6167 char *_kwnames
[] = { "self", NULL
};
6170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_Destroy",_kwnames
,&_argo0
))
6173 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6174 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6175 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_Destroy. Expected _wxPyProcess_p.");
6180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6181 wxPyProcess_Destroy(_arg0
);
6183 wxPyEndAllowThreads(__tstate
);
6184 if (PyErr_Occurred()) return NULL
;
6185 } Py_INCREF(Py_None
);
6186 _resultobj
= Py_None
;
6190 #define wxProcess__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
6191 static PyObject
*_wrap_wxProcess__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6192 PyObject
* _resultobj
;
6193 wxPyProcess
* _arg0
;
6196 PyObject
* _argo0
= 0;
6197 PyObject
* _obj1
= 0;
6198 PyObject
* _obj2
= 0;
6199 char *_kwnames
[] = { "self","self","_class", NULL
};
6202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxProcess__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
6205 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6206 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6207 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess__setCallbackInfo. Expected _wxPyProcess_p.");
6218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6219 wxProcess__setCallbackInfo(_arg0
,_arg1
,_arg2
);
6221 wxPyEndAllowThreads(__tstate
);
6222 if (PyErr_Occurred()) return NULL
;
6223 } Py_INCREF(Py_None
);
6224 _resultobj
= Py_None
;
6228 #define wxProcess_base_OnTerminate(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnTerminate(_swigarg0,_swigarg1))
6229 static PyObject
*_wrap_wxProcess_base_OnTerminate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6230 PyObject
* _resultobj
;
6231 wxPyProcess
* _arg0
;
6234 PyObject
* _argo0
= 0;
6235 char *_kwnames
[] = { "self","pid","status", NULL
};
6238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxProcess_base_OnTerminate",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6241 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6242 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6243 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_base_OnTerminate. Expected _wxPyProcess_p.");
6248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6249 wxProcess_base_OnTerminate(_arg0
,_arg1
,_arg2
);
6251 wxPyEndAllowThreads(__tstate
);
6252 if (PyErr_Occurred()) return NULL
;
6253 } Py_INCREF(Py_None
);
6254 _resultobj
= Py_None
;
6258 #define wxProcess_Redirect(_swigobj) (_swigobj->Redirect())
6259 static PyObject
*_wrap_wxProcess_Redirect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6260 PyObject
* _resultobj
;
6261 wxPyProcess
* _arg0
;
6262 PyObject
* _argo0
= 0;
6263 char *_kwnames
[] = { "self", NULL
};
6266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_Redirect",_kwnames
,&_argo0
))
6269 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6270 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6271 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_Redirect. Expected _wxPyProcess_p.");
6276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6277 wxProcess_Redirect(_arg0
);
6279 wxPyEndAllowThreads(__tstate
);
6280 if (PyErr_Occurred()) return NULL
;
6281 } Py_INCREF(Py_None
);
6282 _resultobj
= Py_None
;
6286 #define wxProcess_IsRedirected(_swigobj) (_swigobj->IsRedirected())
6287 static PyObject
*_wrap_wxProcess_IsRedirected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6288 PyObject
* _resultobj
;
6290 wxPyProcess
* _arg0
;
6291 PyObject
* _argo0
= 0;
6292 char *_kwnames
[] = { "self", NULL
};
6295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_IsRedirected",_kwnames
,&_argo0
))
6298 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6299 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6300 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_IsRedirected. Expected _wxPyProcess_p.");
6305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6306 _result
= (bool )wxProcess_IsRedirected(_arg0
);
6308 wxPyEndAllowThreads(__tstate
);
6309 if (PyErr_Occurred()) return NULL
;
6310 } _resultobj
= Py_BuildValue("i",_result
);
6314 #define wxProcess_Detach(_swigobj) (_swigobj->Detach())
6315 static PyObject
*_wrap_wxProcess_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6316 PyObject
* _resultobj
;
6317 wxPyProcess
* _arg0
;
6318 PyObject
* _argo0
= 0;
6319 char *_kwnames
[] = { "self", NULL
};
6322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_Detach",_kwnames
,&_argo0
))
6325 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6326 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6327 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_Detach. Expected _wxPyProcess_p.");
6332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6333 wxProcess_Detach(_arg0
);
6335 wxPyEndAllowThreads(__tstate
);
6336 if (PyErr_Occurred()) return NULL
;
6337 } Py_INCREF(Py_None
);
6338 _resultobj
= Py_None
;
6342 #define wxProcess_GetInputStream(_swigobj) (_swigobj->GetInputStream())
6343 static PyObject
*_wrap_wxProcess_GetInputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6344 PyObject
* _resultobj
;
6345 wxInputStream
* _result
;
6346 wxPyProcess
* _arg0
;
6347 PyObject
* _argo0
= 0;
6348 char *_kwnames
[] = { "self", NULL
};
6351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_GetInputStream",_kwnames
,&_argo0
))
6354 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6355 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6356 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_GetInputStream. Expected _wxPyProcess_p.");
6361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6362 _result
= (wxInputStream
*)wxProcess_GetInputStream(_arg0
);
6364 wxPyEndAllowThreads(__tstate
);
6365 if (PyErr_Occurred()) return NULL
;
6367 wxPyInputStream
* _ptr
= NULL
;
6370 _ptr
= new wxPyInputStream(_result
);
6372 _resultobj
= wxPyConstructObject(_ptr
, wxT("wxInputStream"), TRUE
);
6377 #define wxProcess_GetErrorStream(_swigobj) (_swigobj->GetErrorStream())
6378 static PyObject
*_wrap_wxProcess_GetErrorStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6379 PyObject
* _resultobj
;
6380 wxInputStream
* _result
;
6381 wxPyProcess
* _arg0
;
6382 PyObject
* _argo0
= 0;
6383 char *_kwnames
[] = { "self", NULL
};
6386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_GetErrorStream",_kwnames
,&_argo0
))
6389 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6390 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6391 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_GetErrorStream. Expected _wxPyProcess_p.");
6396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6397 _result
= (wxInputStream
*)wxProcess_GetErrorStream(_arg0
);
6399 wxPyEndAllowThreads(__tstate
);
6400 if (PyErr_Occurred()) return NULL
;
6402 wxPyInputStream
* _ptr
= NULL
;
6405 _ptr
= new wxPyInputStream(_result
);
6407 _resultobj
= wxPyConstructObject(_ptr
, wxT("wxInputStream"), TRUE
);
6412 #define wxProcess_GetOutputStream(_swigobj) (_swigobj->GetOutputStream())
6413 static PyObject
*_wrap_wxProcess_GetOutputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6414 PyObject
* _resultobj
;
6415 wxOutputStream
* _result
;
6416 wxPyProcess
* _arg0
;
6417 PyObject
* _argo0
= 0;
6418 char *_kwnames
[] = { "self", NULL
};
6422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_GetOutputStream",_kwnames
,&_argo0
))
6425 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6426 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6427 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_GetOutputStream. Expected _wxPyProcess_p.");
6432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6433 _result
= (wxOutputStream
*)wxProcess_GetOutputStream(_arg0
);
6435 wxPyEndAllowThreads(__tstate
);
6436 if (PyErr_Occurred()) return NULL
;
6438 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxOutputStream_p");
6439 _resultobj
= Py_BuildValue("s",_ptemp
);
6442 _resultobj
= Py_None
;
6447 #define wxProcess_CloseOutput(_swigobj) (_swigobj->CloseOutput())
6448 static PyObject
*_wrap_wxProcess_CloseOutput(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6449 PyObject
* _resultobj
;
6450 wxPyProcess
* _arg0
;
6451 PyObject
* _argo0
= 0;
6452 char *_kwnames
[] = { "self", NULL
};
6455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_CloseOutput",_kwnames
,&_argo0
))
6458 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6459 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6460 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_CloseOutput. Expected _wxPyProcess_p.");
6465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6466 wxProcess_CloseOutput(_arg0
);
6468 wxPyEndAllowThreads(__tstate
);
6469 if (PyErr_Occurred()) return NULL
;
6470 } Py_INCREF(Py_None
);
6471 _resultobj
= Py_None
;
6475 #define wxProcess_IsInputOpened(_swigobj) (_swigobj->IsInputOpened())
6476 static PyObject
*_wrap_wxProcess_IsInputOpened(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6477 PyObject
* _resultobj
;
6479 wxPyProcess
* _arg0
;
6480 PyObject
* _argo0
= 0;
6481 char *_kwnames
[] = { "self", NULL
};
6484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_IsInputOpened",_kwnames
,&_argo0
))
6487 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6488 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6489 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_IsInputOpened. Expected _wxPyProcess_p.");
6494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6495 _result
= (bool )wxProcess_IsInputOpened(_arg0
);
6497 wxPyEndAllowThreads(__tstate
);
6498 if (PyErr_Occurred()) return NULL
;
6499 } _resultobj
= Py_BuildValue("i",_result
);
6503 #define wxProcess_IsInputAvailable(_swigobj) (_swigobj->IsInputAvailable())
6504 static PyObject
*_wrap_wxProcess_IsInputAvailable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6505 PyObject
* _resultobj
;
6507 wxPyProcess
* _arg0
;
6508 PyObject
* _argo0
= 0;
6509 char *_kwnames
[] = { "self", NULL
};
6512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_IsInputAvailable",_kwnames
,&_argo0
))
6515 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6516 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6517 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_IsInputAvailable. Expected _wxPyProcess_p.");
6522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6523 _result
= (bool )wxProcess_IsInputAvailable(_arg0
);
6525 wxPyEndAllowThreads(__tstate
);
6526 if (PyErr_Occurred()) return NULL
;
6527 } _resultobj
= Py_BuildValue("i",_result
);
6531 #define wxProcess_IsErrorAvailable(_swigobj) (_swigobj->IsErrorAvailable())
6532 static PyObject
*_wrap_wxProcess_IsErrorAvailable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6533 PyObject
* _resultobj
;
6535 wxPyProcess
* _arg0
;
6536 PyObject
* _argo0
= 0;
6537 char *_kwnames
[] = { "self", NULL
};
6540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_IsErrorAvailable",_kwnames
,&_argo0
))
6543 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6544 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6545 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_IsErrorAvailable. Expected _wxPyProcess_p.");
6550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6551 _result
= (bool )wxProcess_IsErrorAvailable(_arg0
);
6553 wxPyEndAllowThreads(__tstate
);
6554 if (PyErr_Occurred()) return NULL
;
6555 } _resultobj
= Py_BuildValue("i",_result
);
6559 static void *SwigwxJoystickTowxObject(void *ptr
) {
6562 src
= (wxJoystick
*) ptr
;
6563 dest
= (wxObject
*) src
;
6564 return (void *) dest
;
6567 #define new_wxJoystick(_swigarg0) (new wxJoystick(_swigarg0))
6568 static PyObject
*_wrap_new_wxJoystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6569 PyObject
* _resultobj
;
6570 wxJoystick
* _result
;
6571 int _arg0
= (int ) (wxJOYSTICK1
);
6572 char *_kwnames
[] = { "joystick", NULL
};
6576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxJoystick",_kwnames
,&_arg0
))
6579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6580 _result
= (wxJoystick
*)new_wxJoystick(_arg0
);
6582 wxPyEndAllowThreads(__tstate
);
6583 if (PyErr_Occurred()) return NULL
;
6585 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxJoystick_p");
6586 _resultobj
= Py_BuildValue("s",_ptemp
);
6589 _resultobj
= Py_None
;
6594 #define delete_wxJoystick(_swigobj) (delete _swigobj)
6595 static PyObject
*_wrap_delete_wxJoystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6596 PyObject
* _resultobj
;
6598 PyObject
* _argo0
= 0;
6599 char *_kwnames
[] = { "self", NULL
};
6602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxJoystick",_kwnames
,&_argo0
))
6605 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6606 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6607 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxJoystick. Expected _wxJoystick_p.");
6612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6613 delete_wxJoystick(_arg0
);
6615 wxPyEndAllowThreads(__tstate
);
6616 if (PyErr_Occurred()) return NULL
;
6617 } Py_INCREF(Py_None
);
6618 _resultobj
= Py_None
;
6622 #define wxJoystick_GetPosition(_swigobj) (_swigobj->GetPosition())
6623 static PyObject
*_wrap_wxJoystick_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6624 PyObject
* _resultobj
;
6627 PyObject
* _argo0
= 0;
6628 char *_kwnames
[] = { "self", NULL
};
6632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPosition",_kwnames
,&_argo0
))
6635 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6636 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6637 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPosition. Expected _wxJoystick_p.");
6642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6643 _result
= new wxPoint (wxJoystick_GetPosition(_arg0
));
6645 wxPyEndAllowThreads(__tstate
);
6646 if (PyErr_Occurred()) return NULL
;
6647 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
6648 _resultobj
= Py_BuildValue("s",_ptemp
);
6652 #define wxJoystick_GetZPosition(_swigobj) (_swigobj->GetZPosition())
6653 static PyObject
*_wrap_wxJoystick_GetZPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6654 PyObject
* _resultobj
;
6657 PyObject
* _argo0
= 0;
6658 char *_kwnames
[] = { "self", NULL
};
6661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetZPosition",_kwnames
,&_argo0
))
6664 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6665 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6666 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetZPosition. Expected _wxJoystick_p.");
6671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6672 _result
= (int )wxJoystick_GetZPosition(_arg0
);
6674 wxPyEndAllowThreads(__tstate
);
6675 if (PyErr_Occurred()) return NULL
;
6676 } _resultobj
= Py_BuildValue("i",_result
);
6680 #define wxJoystick_GetButtonState(_swigobj) (_swigobj->GetButtonState())
6681 static PyObject
*_wrap_wxJoystick_GetButtonState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6682 PyObject
* _resultobj
;
6685 PyObject
* _argo0
= 0;
6686 char *_kwnames
[] = { "self", NULL
};
6689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetButtonState",_kwnames
,&_argo0
))
6692 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6693 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6694 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetButtonState. Expected _wxJoystick_p.");
6699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6700 _result
= (int )wxJoystick_GetButtonState(_arg0
);
6702 wxPyEndAllowThreads(__tstate
);
6703 if (PyErr_Occurred()) return NULL
;
6704 } _resultobj
= Py_BuildValue("i",_result
);
6708 #define wxJoystick_GetPOVPosition(_swigobj) (_swigobj->GetPOVPosition())
6709 static PyObject
*_wrap_wxJoystick_GetPOVPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6710 PyObject
* _resultobj
;
6713 PyObject
* _argo0
= 0;
6714 char *_kwnames
[] = { "self", NULL
};
6717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPOVPosition",_kwnames
,&_argo0
))
6720 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6721 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6722 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPOVPosition. Expected _wxJoystick_p.");
6727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6728 _result
= (int )wxJoystick_GetPOVPosition(_arg0
);
6730 wxPyEndAllowThreads(__tstate
);
6731 if (PyErr_Occurred()) return NULL
;
6732 } _resultobj
= Py_BuildValue("i",_result
);
6736 #define wxJoystick_GetPOVCTSPosition(_swigobj) (_swigobj->GetPOVCTSPosition())
6737 static PyObject
*_wrap_wxJoystick_GetPOVCTSPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6738 PyObject
* _resultobj
;
6741 PyObject
* _argo0
= 0;
6742 char *_kwnames
[] = { "self", NULL
};
6745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPOVCTSPosition",_kwnames
,&_argo0
))
6748 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6749 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6750 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPOVCTSPosition. Expected _wxJoystick_p.");
6755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6756 _result
= (int )wxJoystick_GetPOVCTSPosition(_arg0
);
6758 wxPyEndAllowThreads(__tstate
);
6759 if (PyErr_Occurred()) return NULL
;
6760 } _resultobj
= Py_BuildValue("i",_result
);
6764 #define wxJoystick_GetRudderPosition(_swigobj) (_swigobj->GetRudderPosition())
6765 static PyObject
*_wrap_wxJoystick_GetRudderPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6766 PyObject
* _resultobj
;
6769 PyObject
* _argo0
= 0;
6770 char *_kwnames
[] = { "self", NULL
};
6773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetRudderPosition",_kwnames
,&_argo0
))
6776 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6777 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6778 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetRudderPosition. Expected _wxJoystick_p.");
6783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6784 _result
= (int )wxJoystick_GetRudderPosition(_arg0
);
6786 wxPyEndAllowThreads(__tstate
);
6787 if (PyErr_Occurred()) return NULL
;
6788 } _resultobj
= Py_BuildValue("i",_result
);
6792 #define wxJoystick_GetUPosition(_swigobj) (_swigobj->GetUPosition())
6793 static PyObject
*_wrap_wxJoystick_GetUPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6794 PyObject
* _resultobj
;
6797 PyObject
* _argo0
= 0;
6798 char *_kwnames
[] = { "self", NULL
};
6801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetUPosition",_kwnames
,&_argo0
))
6804 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6805 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6806 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetUPosition. Expected _wxJoystick_p.");
6811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6812 _result
= (int )wxJoystick_GetUPosition(_arg0
);
6814 wxPyEndAllowThreads(__tstate
);
6815 if (PyErr_Occurred()) return NULL
;
6816 } _resultobj
= Py_BuildValue("i",_result
);
6820 #define wxJoystick_GetVPosition(_swigobj) (_swigobj->GetVPosition())
6821 static PyObject
*_wrap_wxJoystick_GetVPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6822 PyObject
* _resultobj
;
6825 PyObject
* _argo0
= 0;
6826 char *_kwnames
[] = { "self", NULL
};
6829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetVPosition",_kwnames
,&_argo0
))
6832 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6833 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6834 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetVPosition. Expected _wxJoystick_p.");
6839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6840 _result
= (int )wxJoystick_GetVPosition(_arg0
);
6842 wxPyEndAllowThreads(__tstate
);
6843 if (PyErr_Occurred()) return NULL
;
6844 } _resultobj
= Py_BuildValue("i",_result
);
6848 #define wxJoystick_GetMovementThreshold(_swigobj) (_swigobj->GetMovementThreshold())
6849 static PyObject
*_wrap_wxJoystick_GetMovementThreshold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6850 PyObject
* _resultobj
;
6853 PyObject
* _argo0
= 0;
6854 char *_kwnames
[] = { "self", NULL
};
6857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetMovementThreshold",_kwnames
,&_argo0
))
6860 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6861 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6862 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetMovementThreshold. Expected _wxJoystick_p.");
6867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6868 _result
= (int )wxJoystick_GetMovementThreshold(_arg0
);
6870 wxPyEndAllowThreads(__tstate
);
6871 if (PyErr_Occurred()) return NULL
;
6872 } _resultobj
= Py_BuildValue("i",_result
);
6876 #define wxJoystick_SetMovementThreshold(_swigobj,_swigarg0) (_swigobj->SetMovementThreshold(_swigarg0))
6877 static PyObject
*_wrap_wxJoystick_SetMovementThreshold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6878 PyObject
* _resultobj
;
6881 PyObject
* _argo0
= 0;
6882 char *_kwnames
[] = { "self","threshold", NULL
};
6885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxJoystick_SetMovementThreshold",_kwnames
,&_argo0
,&_arg1
))
6888 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6889 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6890 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_SetMovementThreshold. Expected _wxJoystick_p.");
6895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6896 wxJoystick_SetMovementThreshold(_arg0
,_arg1
);
6898 wxPyEndAllowThreads(__tstate
);
6899 if (PyErr_Occurred()) return NULL
;
6900 } Py_INCREF(Py_None
);
6901 _resultobj
= Py_None
;
6905 #define wxJoystick_IsOk(_swigobj) (_swigobj->IsOk())
6906 static PyObject
*_wrap_wxJoystick_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6907 PyObject
* _resultobj
;
6910 PyObject
* _argo0
= 0;
6911 char *_kwnames
[] = { "self", NULL
};
6914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_IsOk",_kwnames
,&_argo0
))
6917 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6918 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6919 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_IsOk. Expected _wxJoystick_p.");
6924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6925 _result
= (bool )wxJoystick_IsOk(_arg0
);
6927 wxPyEndAllowThreads(__tstate
);
6928 if (PyErr_Occurred()) return NULL
;
6929 } _resultobj
= Py_BuildValue("i",_result
);
6933 #define wxJoystick_GetNumberJoysticks(_swigobj) (_swigobj->GetNumberJoysticks())
6934 static PyObject
*_wrap_wxJoystick_GetNumberJoysticks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6935 PyObject
* _resultobj
;
6938 PyObject
* _argo0
= 0;
6939 char *_kwnames
[] = { "self", NULL
};
6942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetNumberJoysticks",_kwnames
,&_argo0
))
6945 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6946 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6947 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetNumberJoysticks. Expected _wxJoystick_p.");
6952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6953 _result
= (int )wxJoystick_GetNumberJoysticks(_arg0
);
6955 wxPyEndAllowThreads(__tstate
);
6956 if (PyErr_Occurred()) return NULL
;
6957 } _resultobj
= Py_BuildValue("i",_result
);
6961 #define wxJoystick_GetManufacturerId(_swigobj) (_swigobj->GetManufacturerId())
6962 static PyObject
*_wrap_wxJoystick_GetManufacturerId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6963 PyObject
* _resultobj
;
6966 PyObject
* _argo0
= 0;
6967 char *_kwnames
[] = { "self", NULL
};
6970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetManufacturerId",_kwnames
,&_argo0
))
6973 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6974 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6975 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetManufacturerId. Expected _wxJoystick_p.");
6980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6981 _result
= (int )wxJoystick_GetManufacturerId(_arg0
);
6983 wxPyEndAllowThreads(__tstate
);
6984 if (PyErr_Occurred()) return NULL
;
6985 } _resultobj
= Py_BuildValue("i",_result
);
6989 #define wxJoystick_GetProductId(_swigobj) (_swigobj->GetProductId())
6990 static PyObject
*_wrap_wxJoystick_GetProductId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6991 PyObject
* _resultobj
;
6994 PyObject
* _argo0
= 0;
6995 char *_kwnames
[] = { "self", NULL
};
6998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetProductId",_kwnames
,&_argo0
))
7001 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7002 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7003 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetProductId. Expected _wxJoystick_p.");
7008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7009 _result
= (int )wxJoystick_GetProductId(_arg0
);
7011 wxPyEndAllowThreads(__tstate
);
7012 if (PyErr_Occurred()) return NULL
;
7013 } _resultobj
= Py_BuildValue("i",_result
);
7017 #define wxJoystick_GetProductName(_swigobj) (_swigobj->GetProductName())
7018 static PyObject
*_wrap_wxJoystick_GetProductName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7019 PyObject
* _resultobj
;
7022 PyObject
* _argo0
= 0;
7023 char *_kwnames
[] = { "self", NULL
};
7026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetProductName",_kwnames
,&_argo0
))
7029 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7030 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7031 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetProductName. Expected _wxJoystick_p.");
7036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7037 _result
= new wxString (wxJoystick_GetProductName(_arg0
));
7039 wxPyEndAllowThreads(__tstate
);
7040 if (PyErr_Occurred()) return NULL
;
7043 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
7045 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
7054 #define wxJoystick_GetXMin(_swigobj) (_swigobj->GetXMin())
7055 static PyObject
*_wrap_wxJoystick_GetXMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7056 PyObject
* _resultobj
;
7059 PyObject
* _argo0
= 0;
7060 char *_kwnames
[] = { "self", NULL
};
7063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetXMin",_kwnames
,&_argo0
))
7066 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7067 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7068 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetXMin. Expected _wxJoystick_p.");
7073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7074 _result
= (int )wxJoystick_GetXMin(_arg0
);
7076 wxPyEndAllowThreads(__tstate
);
7077 if (PyErr_Occurred()) return NULL
;
7078 } _resultobj
= Py_BuildValue("i",_result
);
7082 #define wxJoystick_GetYMin(_swigobj) (_swigobj->GetYMin())
7083 static PyObject
*_wrap_wxJoystick_GetYMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7084 PyObject
* _resultobj
;
7087 PyObject
* _argo0
= 0;
7088 char *_kwnames
[] = { "self", NULL
};
7091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetYMin",_kwnames
,&_argo0
))
7094 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7095 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7096 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetYMin. Expected _wxJoystick_p.");
7101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7102 _result
= (int )wxJoystick_GetYMin(_arg0
);
7104 wxPyEndAllowThreads(__tstate
);
7105 if (PyErr_Occurred()) return NULL
;
7106 } _resultobj
= Py_BuildValue("i",_result
);
7110 #define wxJoystick_GetZMin(_swigobj) (_swigobj->GetZMin())
7111 static PyObject
*_wrap_wxJoystick_GetZMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7112 PyObject
* _resultobj
;
7115 PyObject
* _argo0
= 0;
7116 char *_kwnames
[] = { "self", NULL
};
7119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetZMin",_kwnames
,&_argo0
))
7122 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7123 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7124 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetZMin. Expected _wxJoystick_p.");
7129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7130 _result
= (int )wxJoystick_GetZMin(_arg0
);
7132 wxPyEndAllowThreads(__tstate
);
7133 if (PyErr_Occurred()) return NULL
;
7134 } _resultobj
= Py_BuildValue("i",_result
);
7138 #define wxJoystick_GetXMax(_swigobj) (_swigobj->GetXMax())
7139 static PyObject
*_wrap_wxJoystick_GetXMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7140 PyObject
* _resultobj
;
7143 PyObject
* _argo0
= 0;
7144 char *_kwnames
[] = { "self", NULL
};
7147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetXMax",_kwnames
,&_argo0
))
7150 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7151 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7152 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetXMax. Expected _wxJoystick_p.");
7157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7158 _result
= (int )wxJoystick_GetXMax(_arg0
);
7160 wxPyEndAllowThreads(__tstate
);
7161 if (PyErr_Occurred()) return NULL
;
7162 } _resultobj
= Py_BuildValue("i",_result
);
7166 #define wxJoystick_GetYMax(_swigobj) (_swigobj->GetYMax())
7167 static PyObject
*_wrap_wxJoystick_GetYMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7168 PyObject
* _resultobj
;
7171 PyObject
* _argo0
= 0;
7172 char *_kwnames
[] = { "self", NULL
};
7175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetYMax",_kwnames
,&_argo0
))
7178 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7179 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7180 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetYMax. Expected _wxJoystick_p.");
7185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7186 _result
= (int )wxJoystick_GetYMax(_arg0
);
7188 wxPyEndAllowThreads(__tstate
);
7189 if (PyErr_Occurred()) return NULL
;
7190 } _resultobj
= Py_BuildValue("i",_result
);
7194 #define wxJoystick_GetZMax(_swigobj) (_swigobj->GetZMax())
7195 static PyObject
*_wrap_wxJoystick_GetZMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7196 PyObject
* _resultobj
;
7199 PyObject
* _argo0
= 0;
7200 char *_kwnames
[] = { "self", NULL
};
7203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetZMax",_kwnames
,&_argo0
))
7206 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7207 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7208 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetZMax. Expected _wxJoystick_p.");
7213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7214 _result
= (int )wxJoystick_GetZMax(_arg0
);
7216 wxPyEndAllowThreads(__tstate
);
7217 if (PyErr_Occurred()) return NULL
;
7218 } _resultobj
= Py_BuildValue("i",_result
);
7222 #define wxJoystick_GetNumberButtons(_swigobj) (_swigobj->GetNumberButtons())
7223 static PyObject
*_wrap_wxJoystick_GetNumberButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7224 PyObject
* _resultobj
;
7227 PyObject
* _argo0
= 0;
7228 char *_kwnames
[] = { "self", NULL
};
7231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetNumberButtons",_kwnames
,&_argo0
))
7234 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7235 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7236 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetNumberButtons. Expected _wxJoystick_p.");
7241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7242 _result
= (int )wxJoystick_GetNumberButtons(_arg0
);
7244 wxPyEndAllowThreads(__tstate
);
7245 if (PyErr_Occurred()) return NULL
;
7246 } _resultobj
= Py_BuildValue("i",_result
);
7250 #define wxJoystick_GetNumberAxes(_swigobj) (_swigobj->GetNumberAxes())
7251 static PyObject
*_wrap_wxJoystick_GetNumberAxes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7252 PyObject
* _resultobj
;
7255 PyObject
* _argo0
= 0;
7256 char *_kwnames
[] = { "self", NULL
};
7259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetNumberAxes",_kwnames
,&_argo0
))
7262 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7263 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7264 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetNumberAxes. Expected _wxJoystick_p.");
7269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7270 _result
= (int )wxJoystick_GetNumberAxes(_arg0
);
7272 wxPyEndAllowThreads(__tstate
);
7273 if (PyErr_Occurred()) return NULL
;
7274 } _resultobj
= Py_BuildValue("i",_result
);
7278 #define wxJoystick_GetMaxButtons(_swigobj) (_swigobj->GetMaxButtons())
7279 static PyObject
*_wrap_wxJoystick_GetMaxButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7280 PyObject
* _resultobj
;
7283 PyObject
* _argo0
= 0;
7284 char *_kwnames
[] = { "self", NULL
};
7287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetMaxButtons",_kwnames
,&_argo0
))
7290 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7291 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7292 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetMaxButtons. Expected _wxJoystick_p.");
7297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7298 _result
= (int )wxJoystick_GetMaxButtons(_arg0
);
7300 wxPyEndAllowThreads(__tstate
);
7301 if (PyErr_Occurred()) return NULL
;
7302 } _resultobj
= Py_BuildValue("i",_result
);
7306 #define wxJoystick_GetMaxAxes(_swigobj) (_swigobj->GetMaxAxes())
7307 static PyObject
*_wrap_wxJoystick_GetMaxAxes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7308 PyObject
* _resultobj
;
7311 PyObject
* _argo0
= 0;
7312 char *_kwnames
[] = { "self", NULL
};
7315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetMaxAxes",_kwnames
,&_argo0
))
7318 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7319 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7320 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetMaxAxes. Expected _wxJoystick_p.");
7325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7326 _result
= (int )wxJoystick_GetMaxAxes(_arg0
);
7328 wxPyEndAllowThreads(__tstate
);
7329 if (PyErr_Occurred()) return NULL
;
7330 } _resultobj
= Py_BuildValue("i",_result
);
7334 #define wxJoystick_GetPollingMin(_swigobj) (_swigobj->GetPollingMin())
7335 static PyObject
*_wrap_wxJoystick_GetPollingMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7336 PyObject
* _resultobj
;
7339 PyObject
* _argo0
= 0;
7340 char *_kwnames
[] = { "self", NULL
};
7343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPollingMin",_kwnames
,&_argo0
))
7346 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7347 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7348 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPollingMin. Expected _wxJoystick_p.");
7353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7354 _result
= (int )wxJoystick_GetPollingMin(_arg0
);
7356 wxPyEndAllowThreads(__tstate
);
7357 if (PyErr_Occurred()) return NULL
;
7358 } _resultobj
= Py_BuildValue("i",_result
);
7362 #define wxJoystick_GetPollingMax(_swigobj) (_swigobj->GetPollingMax())
7363 static PyObject
*_wrap_wxJoystick_GetPollingMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7364 PyObject
* _resultobj
;
7367 PyObject
* _argo0
= 0;
7368 char *_kwnames
[] = { "self", NULL
};
7371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPollingMax",_kwnames
,&_argo0
))
7374 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7375 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7376 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPollingMax. Expected _wxJoystick_p.");
7381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7382 _result
= (int )wxJoystick_GetPollingMax(_arg0
);
7384 wxPyEndAllowThreads(__tstate
);
7385 if (PyErr_Occurred()) return NULL
;
7386 } _resultobj
= Py_BuildValue("i",_result
);
7390 #define wxJoystick_GetRudderMin(_swigobj) (_swigobj->GetRudderMin())
7391 static PyObject
*_wrap_wxJoystick_GetRudderMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7392 PyObject
* _resultobj
;
7395 PyObject
* _argo0
= 0;
7396 char *_kwnames
[] = { "self", NULL
};
7399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetRudderMin",_kwnames
,&_argo0
))
7402 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7403 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7404 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetRudderMin. Expected _wxJoystick_p.");
7409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7410 _result
= (int )wxJoystick_GetRudderMin(_arg0
);
7412 wxPyEndAllowThreads(__tstate
);
7413 if (PyErr_Occurred()) return NULL
;
7414 } _resultobj
= Py_BuildValue("i",_result
);
7418 #define wxJoystick_GetRudderMax(_swigobj) (_swigobj->GetRudderMax())
7419 static PyObject
*_wrap_wxJoystick_GetRudderMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7420 PyObject
* _resultobj
;
7423 PyObject
* _argo0
= 0;
7424 char *_kwnames
[] = { "self", NULL
};
7427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetRudderMax",_kwnames
,&_argo0
))
7430 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7431 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7432 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetRudderMax. Expected _wxJoystick_p.");
7437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7438 _result
= (int )wxJoystick_GetRudderMax(_arg0
);
7440 wxPyEndAllowThreads(__tstate
);
7441 if (PyErr_Occurred()) return NULL
;
7442 } _resultobj
= Py_BuildValue("i",_result
);
7446 #define wxJoystick_GetUMin(_swigobj) (_swigobj->GetUMin())
7447 static PyObject
*_wrap_wxJoystick_GetUMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7448 PyObject
* _resultobj
;
7451 PyObject
* _argo0
= 0;
7452 char *_kwnames
[] = { "self", NULL
};
7455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetUMin",_kwnames
,&_argo0
))
7458 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7459 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7460 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetUMin. Expected _wxJoystick_p.");
7465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7466 _result
= (int )wxJoystick_GetUMin(_arg0
);
7468 wxPyEndAllowThreads(__tstate
);
7469 if (PyErr_Occurred()) return NULL
;
7470 } _resultobj
= Py_BuildValue("i",_result
);
7474 #define wxJoystick_GetUMax(_swigobj) (_swigobj->GetUMax())
7475 static PyObject
*_wrap_wxJoystick_GetUMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7476 PyObject
* _resultobj
;
7479 PyObject
* _argo0
= 0;
7480 char *_kwnames
[] = { "self", NULL
};
7483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetUMax",_kwnames
,&_argo0
))
7486 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7487 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7488 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetUMax. Expected _wxJoystick_p.");
7493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7494 _result
= (int )wxJoystick_GetUMax(_arg0
);
7496 wxPyEndAllowThreads(__tstate
);
7497 if (PyErr_Occurred()) return NULL
;
7498 } _resultobj
= Py_BuildValue("i",_result
);
7502 #define wxJoystick_GetVMin(_swigobj) (_swigobj->GetVMin())
7503 static PyObject
*_wrap_wxJoystick_GetVMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7504 PyObject
* _resultobj
;
7507 PyObject
* _argo0
= 0;
7508 char *_kwnames
[] = { "self", NULL
};
7511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetVMin",_kwnames
,&_argo0
))
7514 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7515 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7516 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetVMin. Expected _wxJoystick_p.");
7521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7522 _result
= (int )wxJoystick_GetVMin(_arg0
);
7524 wxPyEndAllowThreads(__tstate
);
7525 if (PyErr_Occurred()) return NULL
;
7526 } _resultobj
= Py_BuildValue("i",_result
);
7530 #define wxJoystick_GetVMax(_swigobj) (_swigobj->GetVMax())
7531 static PyObject
*_wrap_wxJoystick_GetVMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7532 PyObject
* _resultobj
;
7535 PyObject
* _argo0
= 0;
7536 char *_kwnames
[] = { "self", NULL
};
7539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetVMax",_kwnames
,&_argo0
))
7542 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7543 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7544 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetVMax. Expected _wxJoystick_p.");
7549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7550 _result
= (int )wxJoystick_GetVMax(_arg0
);
7552 wxPyEndAllowThreads(__tstate
);
7553 if (PyErr_Occurred()) return NULL
;
7554 } _resultobj
= Py_BuildValue("i",_result
);
7558 #define wxJoystick_HasRudder(_swigobj) (_swigobj->HasRudder())
7559 static PyObject
*_wrap_wxJoystick_HasRudder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7560 PyObject
* _resultobj
;
7563 PyObject
* _argo0
= 0;
7564 char *_kwnames
[] = { "self", NULL
};
7567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasRudder",_kwnames
,&_argo0
))
7570 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7571 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7572 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasRudder. Expected _wxJoystick_p.");
7577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7578 _result
= (bool )wxJoystick_HasRudder(_arg0
);
7580 wxPyEndAllowThreads(__tstate
);
7581 if (PyErr_Occurred()) return NULL
;
7582 } _resultobj
= Py_BuildValue("i",_result
);
7586 #define wxJoystick_HasZ(_swigobj) (_swigobj->HasZ())
7587 static PyObject
*_wrap_wxJoystick_HasZ(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7588 PyObject
* _resultobj
;
7591 PyObject
* _argo0
= 0;
7592 char *_kwnames
[] = { "self", NULL
};
7595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasZ",_kwnames
,&_argo0
))
7598 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7599 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7600 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasZ. Expected _wxJoystick_p.");
7605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7606 _result
= (bool )wxJoystick_HasZ(_arg0
);
7608 wxPyEndAllowThreads(__tstate
);
7609 if (PyErr_Occurred()) return NULL
;
7610 } _resultobj
= Py_BuildValue("i",_result
);
7614 #define wxJoystick_HasU(_swigobj) (_swigobj->HasU())
7615 static PyObject
*_wrap_wxJoystick_HasU(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7616 PyObject
* _resultobj
;
7619 PyObject
* _argo0
= 0;
7620 char *_kwnames
[] = { "self", NULL
};
7623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasU",_kwnames
,&_argo0
))
7626 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7627 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7628 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasU. Expected _wxJoystick_p.");
7633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7634 _result
= (bool )wxJoystick_HasU(_arg0
);
7636 wxPyEndAllowThreads(__tstate
);
7637 if (PyErr_Occurred()) return NULL
;
7638 } _resultobj
= Py_BuildValue("i",_result
);
7642 #define wxJoystick_HasV(_swigobj) (_swigobj->HasV())
7643 static PyObject
*_wrap_wxJoystick_HasV(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7644 PyObject
* _resultobj
;
7647 PyObject
* _argo0
= 0;
7648 char *_kwnames
[] = { "self", NULL
};
7651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasV",_kwnames
,&_argo0
))
7654 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7655 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7656 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasV. Expected _wxJoystick_p.");
7661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7662 _result
= (bool )wxJoystick_HasV(_arg0
);
7664 wxPyEndAllowThreads(__tstate
);
7665 if (PyErr_Occurred()) return NULL
;
7666 } _resultobj
= Py_BuildValue("i",_result
);
7670 #define wxJoystick_HasPOV(_swigobj) (_swigobj->HasPOV())
7671 static PyObject
*_wrap_wxJoystick_HasPOV(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7672 PyObject
* _resultobj
;
7675 PyObject
* _argo0
= 0;
7676 char *_kwnames
[] = { "self", NULL
};
7679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasPOV",_kwnames
,&_argo0
))
7682 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7683 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7684 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasPOV. Expected _wxJoystick_p.");
7689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7690 _result
= (bool )wxJoystick_HasPOV(_arg0
);
7692 wxPyEndAllowThreads(__tstate
);
7693 if (PyErr_Occurred()) return NULL
;
7694 } _resultobj
= Py_BuildValue("i",_result
);
7698 #define wxJoystick_HasPOV4Dir(_swigobj) (_swigobj->HasPOV4Dir())
7699 static PyObject
*_wrap_wxJoystick_HasPOV4Dir(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7700 PyObject
* _resultobj
;
7703 PyObject
* _argo0
= 0;
7704 char *_kwnames
[] = { "self", NULL
};
7707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasPOV4Dir",_kwnames
,&_argo0
))
7710 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7711 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7712 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasPOV4Dir. Expected _wxJoystick_p.");
7717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7718 _result
= (bool )wxJoystick_HasPOV4Dir(_arg0
);
7720 wxPyEndAllowThreads(__tstate
);
7721 if (PyErr_Occurred()) return NULL
;
7722 } _resultobj
= Py_BuildValue("i",_result
);
7726 #define wxJoystick_HasPOVCTS(_swigobj) (_swigobj->HasPOVCTS())
7727 static PyObject
*_wrap_wxJoystick_HasPOVCTS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7728 PyObject
* _resultobj
;
7731 PyObject
* _argo0
= 0;
7732 char *_kwnames
[] = { "self", NULL
};
7735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasPOVCTS",_kwnames
,&_argo0
))
7738 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7739 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7740 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasPOVCTS. Expected _wxJoystick_p.");
7745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7746 _result
= (bool )wxJoystick_HasPOVCTS(_arg0
);
7748 wxPyEndAllowThreads(__tstate
);
7749 if (PyErr_Occurred()) return NULL
;
7750 } _resultobj
= Py_BuildValue("i",_result
);
7754 #define wxJoystick_SetCapture(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetCapture(_swigarg0,_swigarg1))
7755 static PyObject
*_wrap_wxJoystick_SetCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7756 PyObject
* _resultobj
;
7760 int _arg2
= (int ) 0;
7761 PyObject
* _argo0
= 0;
7762 PyObject
* _argo1
= 0;
7763 char *_kwnames
[] = { "self","win","pollingFreq", NULL
};
7766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxJoystick_SetCapture",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
7769 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7770 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7771 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_SetCapture. Expected _wxJoystick_p.");
7776 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7777 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
7778 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxJoystick_SetCapture. Expected _wxWindow_p.");
7783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7784 _result
= (bool )wxJoystick_SetCapture(_arg0
,_arg1
,_arg2
);
7786 wxPyEndAllowThreads(__tstate
);
7787 if (PyErr_Occurred()) return NULL
;
7788 } _resultobj
= Py_BuildValue("i",_result
);
7792 #define wxJoystick_ReleaseCapture(_swigobj) (_swigobj->ReleaseCapture())
7793 static PyObject
*_wrap_wxJoystick_ReleaseCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7794 PyObject
* _resultobj
;
7797 PyObject
* _argo0
= 0;
7798 char *_kwnames
[] = { "self", NULL
};
7801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_ReleaseCapture",_kwnames
,&_argo0
))
7804 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7805 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7806 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_ReleaseCapture. Expected _wxJoystick_p.");
7811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7812 _result
= (bool )wxJoystick_ReleaseCapture(_arg0
);
7814 wxPyEndAllowThreads(__tstate
);
7815 if (PyErr_Occurred()) return NULL
;
7816 } _resultobj
= Py_BuildValue("i",_result
);
7820 static void *SwigwxWaveTowxObject(void *ptr
) {
7823 src
= (wxWave
*) ptr
;
7824 dest
= (wxObject
*) src
;
7825 return (void *) dest
;
7828 #define new_wxWave(_swigarg0,_swigarg1) (new wxWave(_swigarg0,_swigarg1))
7829 static PyObject
*_wrap_new_wxWave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7830 PyObject
* _resultobj
;
7833 bool _arg1
= (bool ) FALSE
;
7834 PyObject
* _obj0
= 0;
7835 int tempbool1
= (int) FALSE
;
7836 char *_kwnames
[] = { "fileName","isResource", NULL
};
7840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:new_wxWave",_kwnames
,&_obj0
,&tempbool1
))
7843 _arg0
= wxString_in_helper(_obj0
);
7847 _arg1
= (bool ) tempbool1
;
7849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7850 _result
= (wxWave
*)new_wxWave(*_arg0
,_arg1
);
7852 wxPyEndAllowThreads(__tstate
);
7853 if (PyErr_Occurred()) return NULL
;
7855 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWave_p");
7856 _resultobj
= Py_BuildValue("s",_ptemp
);
7859 _resultobj
= Py_None
;
7868 #define delete_wxWave(_swigobj) (delete _swigobj)
7869 static PyObject
*_wrap_delete_wxWave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7870 PyObject
* _resultobj
;
7872 PyObject
* _argo0
= 0;
7873 char *_kwnames
[] = { "self", NULL
};
7876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxWave",_kwnames
,&_argo0
))
7879 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7880 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWave_p")) {
7881 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxWave. Expected _wxWave_p.");
7886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7887 delete_wxWave(_arg0
);
7889 wxPyEndAllowThreads(__tstate
);
7890 if (PyErr_Occurred()) return NULL
;
7891 } Py_INCREF(Py_None
);
7892 _resultobj
= Py_None
;
7896 #define wxWave_IsOk(_swigobj) (_swigobj->IsOk())
7897 static PyObject
*_wrap_wxWave_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7898 PyObject
* _resultobj
;
7901 PyObject
* _argo0
= 0;
7902 char *_kwnames
[] = { "self", NULL
};
7905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWave_IsOk",_kwnames
,&_argo0
))
7908 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7909 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWave_p")) {
7910 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWave_IsOk. Expected _wxWave_p.");
7915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7916 _result
= (bool )wxWave_IsOk(_arg0
);
7918 wxPyEndAllowThreads(__tstate
);
7919 if (PyErr_Occurred()) return NULL
;
7920 } _resultobj
= Py_BuildValue("i",_result
);
7924 #define wxWave_Play(_swigobj,_swigarg0,_swigarg1) (_swigobj->Play(_swigarg0,_swigarg1))
7925 static PyObject
*_wrap_wxWave_Play(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7926 PyObject
* _resultobj
;
7929 bool _arg1
= (bool ) TRUE
;
7930 bool _arg2
= (bool ) FALSE
;
7931 PyObject
* _argo0
= 0;
7932 int tempbool1
= (int) TRUE
;
7933 int tempbool2
= (int) FALSE
;
7934 char *_kwnames
[] = { "self","async","looped", NULL
};
7937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxWave_Play",_kwnames
,&_argo0
,&tempbool1
,&tempbool2
))
7940 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7941 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWave_p")) {
7942 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWave_Play. Expected _wxWave_p.");
7946 _arg1
= (bool ) tempbool1
;
7947 _arg2
= (bool ) tempbool2
;
7949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7950 _result
= (bool )wxWave_Play(_arg0
,_arg1
,_arg2
);
7952 wxPyEndAllowThreads(__tstate
);
7953 if (PyErr_Occurred()) return NULL
;
7954 } _resultobj
= Py_BuildValue("i",_result
);
7958 #define new_wxFileTypeInfo(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxFileTypeInfo(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7959 static PyObject
*_wrap_new_wxFileTypeInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7960 PyObject
* _resultobj
;
7961 wxFileTypeInfo
* _result
;
7966 PyObject
* _obj0
= 0;
7967 PyObject
* _obj1
= 0;
7968 PyObject
* _obj2
= 0;
7969 PyObject
* _obj3
= 0;
7970 char *_kwnames
[] = { "mimeType","openCmd","printCmd","desc", NULL
};
7974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO:new_wxFileTypeInfo",_kwnames
,&_obj0
,&_obj1
,&_obj2
,&_obj3
))
7977 _arg0
= wxString_in_helper(_obj0
);
7982 _arg1
= wxString_in_helper(_obj1
);
7987 _arg2
= wxString_in_helper(_obj2
);
7992 _arg3
= wxString_in_helper(_obj3
);
7997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7998 _result
= (wxFileTypeInfo
*)new_wxFileTypeInfo(*_arg0
,*_arg1
,*_arg2
,*_arg3
);
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
;
8028 #define new_wxFileTypeInfoSequence(_swigarg0) (new wxFileTypeInfo(_swigarg0))
8029 static PyObject
*_wrap_new_wxFileTypeInfoSequence(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8030 PyObject
* _resultobj
;
8031 wxFileTypeInfo
* _result
;
8032 wxArrayString
* _arg0
;
8033 PyObject
* _obj0
= 0;
8034 char *_kwnames
[] = { "sArray", NULL
};
8038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxFileTypeInfoSequence",_kwnames
,&_obj0
))
8041 if (! PySequence_Check(_obj0
)) {
8042 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
8045 _arg0
= new wxArrayString
;
8046 int i
, len
=PySequence_Length(_obj0
);
8047 for (i
=0; i
<len
; i
++) {
8048 PyObject
* item
= PySequence_GetItem(_obj0
, i
);
8050 PyObject
* str
= PyObject_Unicode(item
);
8052 PyObject
* str
= PyObject_Str(item
);
8054 _arg0
->Add(Py2wxString(str
));
8060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8061 _result
= (wxFileTypeInfo
*)new_wxFileTypeInfoSequence(*_arg0
);
8063 wxPyEndAllowThreads(__tstate
);
8064 if (PyErr_Occurred()) return NULL
;
8066 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileTypeInfo_p");
8067 _resultobj
= Py_BuildValue("s",_ptemp
);
8070 _resultobj
= Py_None
;
8079 #define new_wxNullFileTypeInfo() (new wxFileTypeInfo())
8080 static PyObject
*_wrap_new_wxNullFileTypeInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8081 PyObject
* _resultobj
;
8082 wxFileTypeInfo
* _result
;
8083 char *_kwnames
[] = { NULL
};
8087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxNullFileTypeInfo",_kwnames
))
8090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8091 _result
= (wxFileTypeInfo
*)new_wxNullFileTypeInfo();
8093 wxPyEndAllowThreads(__tstate
);
8094 if (PyErr_Occurred()) return NULL
;
8096 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileTypeInfo_p");
8097 _resultobj
= Py_BuildValue("s",_ptemp
);
8100 _resultobj
= Py_None
;
8105 #define wxFileTypeInfo_IsValid(_swigobj) (_swigobj->IsValid())
8106 static PyObject
*_wrap_wxFileTypeInfo_IsValid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8107 PyObject
* _resultobj
;
8109 wxFileTypeInfo
* _arg0
;
8110 PyObject
* _argo0
= 0;
8111 char *_kwnames
[] = { "self", NULL
};
8114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_IsValid",_kwnames
,&_argo0
))
8117 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8118 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8119 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_IsValid. Expected _wxFileTypeInfo_p.");
8124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8125 _result
= (bool )wxFileTypeInfo_IsValid(_arg0
);
8127 wxPyEndAllowThreads(__tstate
);
8128 if (PyErr_Occurred()) return NULL
;
8129 } _resultobj
= Py_BuildValue("i",_result
);
8133 #define wxFileTypeInfo_SetIcon(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetIcon(_swigarg0,_swigarg1))
8134 static PyObject
*_wrap_wxFileTypeInfo_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8135 PyObject
* _resultobj
;
8136 wxFileTypeInfo
* _arg0
;
8138 int _arg2
= (int ) 0;
8139 PyObject
* _argo0
= 0;
8140 PyObject
* _obj1
= 0;
8141 char *_kwnames
[] = { "self","iconFile","iconIndex", NULL
};
8144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxFileTypeInfo_SetIcon",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
8147 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8148 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8149 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_SetIcon. Expected _wxFileTypeInfo_p.");
8154 _arg1
= wxString_in_helper(_obj1
);
8159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8160 wxFileTypeInfo_SetIcon(_arg0
,*_arg1
,_arg2
);
8162 wxPyEndAllowThreads(__tstate
);
8163 if (PyErr_Occurred()) return NULL
;
8164 } Py_INCREF(Py_None
);
8165 _resultobj
= Py_None
;
8173 #define wxFileTypeInfo_SetShortDesc(_swigobj,_swigarg0) (_swigobj->SetShortDesc(_swigarg0))
8174 static PyObject
*_wrap_wxFileTypeInfo_SetShortDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8175 PyObject
* _resultobj
;
8176 wxFileTypeInfo
* _arg0
;
8178 PyObject
* _argo0
= 0;
8179 PyObject
* _obj1
= 0;
8180 char *_kwnames
[] = { "self","shortDesc", NULL
};
8183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileTypeInfo_SetShortDesc",_kwnames
,&_argo0
,&_obj1
))
8186 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8187 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8188 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_SetShortDesc. Expected _wxFileTypeInfo_p.");
8193 _arg1
= wxString_in_helper(_obj1
);
8198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8199 wxFileTypeInfo_SetShortDesc(_arg0
,*_arg1
);
8201 wxPyEndAllowThreads(__tstate
);
8202 if (PyErr_Occurred()) return NULL
;
8203 } Py_INCREF(Py_None
);
8204 _resultobj
= Py_None
;
8212 #define wxFileTypeInfo_GetMimeType(_swigobj) (_swigobj->GetMimeType())
8213 static PyObject
*_wrap_wxFileTypeInfo_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8214 PyObject
* _resultobj
;
8216 wxFileTypeInfo
* _arg0
;
8217 PyObject
* _argo0
= 0;
8218 char *_kwnames
[] = { "self", NULL
};
8221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetMimeType",_kwnames
,&_argo0
))
8224 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8225 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8226 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetMimeType. Expected _wxFileTypeInfo_p.");
8231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8232 const wxString
& _result_ref
= wxFileTypeInfo_GetMimeType(_arg0
);
8233 _result
= (wxString
*) &_result_ref
;
8235 wxPyEndAllowThreads(__tstate
);
8236 if (PyErr_Occurred()) return NULL
;
8239 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
8241 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8247 #define wxFileTypeInfo_GetOpenCommand(_swigobj) (_swigobj->GetOpenCommand())
8248 static PyObject
*_wrap_wxFileTypeInfo_GetOpenCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8249 PyObject
* _resultobj
;
8251 wxFileTypeInfo
* _arg0
;
8252 PyObject
* _argo0
= 0;
8253 char *_kwnames
[] = { "self", NULL
};
8256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetOpenCommand",_kwnames
,&_argo0
))
8259 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8260 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8261 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetOpenCommand. Expected _wxFileTypeInfo_p.");
8266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8267 const wxString
& _result_ref
= wxFileTypeInfo_GetOpenCommand(_arg0
);
8268 _result
= (wxString
*) &_result_ref
;
8270 wxPyEndAllowThreads(__tstate
);
8271 if (PyErr_Occurred()) return NULL
;
8274 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
8276 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8282 #define wxFileTypeInfo_GetPrintCommand(_swigobj) (_swigobj->GetPrintCommand())
8283 static PyObject
*_wrap_wxFileTypeInfo_GetPrintCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8284 PyObject
* _resultobj
;
8286 wxFileTypeInfo
* _arg0
;
8287 PyObject
* _argo0
= 0;
8288 char *_kwnames
[] = { "self", NULL
};
8291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetPrintCommand",_kwnames
,&_argo0
))
8294 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8295 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8296 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetPrintCommand. Expected _wxFileTypeInfo_p.");
8301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8302 const wxString
& _result_ref
= wxFileTypeInfo_GetPrintCommand(_arg0
);
8303 _result
= (wxString
*) &_result_ref
;
8305 wxPyEndAllowThreads(__tstate
);
8306 if (PyErr_Occurred()) return NULL
;
8309 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
8311 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8317 #define wxFileTypeInfo_GetShortDesc(_swigobj) (_swigobj->GetShortDesc())
8318 static PyObject
*_wrap_wxFileTypeInfo_GetShortDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8319 PyObject
* _resultobj
;
8321 wxFileTypeInfo
* _arg0
;
8322 PyObject
* _argo0
= 0;
8323 char *_kwnames
[] = { "self", NULL
};
8326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetShortDesc",_kwnames
,&_argo0
))
8329 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8330 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8331 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetShortDesc. Expected _wxFileTypeInfo_p.");
8336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8337 const wxString
& _result_ref
= wxFileTypeInfo_GetShortDesc(_arg0
);
8338 _result
= (wxString
*) &_result_ref
;
8340 wxPyEndAllowThreads(__tstate
);
8341 if (PyErr_Occurred()) return NULL
;
8344 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
8346 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8352 #define wxFileTypeInfo_GetDescription(_swigobj) (_swigobj->GetDescription())
8353 static PyObject
*_wrap_wxFileTypeInfo_GetDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8354 PyObject
* _resultobj
;
8356 wxFileTypeInfo
* _arg0
;
8357 PyObject
* _argo0
= 0;
8358 char *_kwnames
[] = { "self", NULL
};
8361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetDescription",_kwnames
,&_argo0
))
8364 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8365 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8366 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetDescription. Expected _wxFileTypeInfo_p.");
8371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8372 const wxString
& _result_ref
= wxFileTypeInfo_GetDescription(_arg0
);
8373 _result
= (wxString
*) &_result_ref
;
8375 wxPyEndAllowThreads(__tstate
);
8376 if (PyErr_Occurred()) return NULL
;
8379 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
8381 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8387 static PyObject
* wxFileTypeInfo_GetExtensions(wxFileTypeInfo
*self
) {
8388 wxArrayString
& arr
= (wxArrayString
&)self
->GetExtensions();
8389 return wxArrayString2PyList_helper(arr
);
8391 static PyObject
*_wrap_wxFileTypeInfo_GetExtensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8392 PyObject
* _resultobj
;
8394 wxFileTypeInfo
* _arg0
;
8395 PyObject
* _argo0
= 0;
8396 char *_kwnames
[] = { "self", NULL
};
8399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetExtensions",_kwnames
,&_argo0
))
8402 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8403 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8404 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetExtensions. Expected _wxFileTypeInfo_p.");
8409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8410 _result
= (PyObject
*)wxFileTypeInfo_GetExtensions(_arg0
);
8412 wxPyEndAllowThreads(__tstate
);
8413 if (PyErr_Occurred()) return NULL
;
8415 _resultobj
= _result
;
8420 #define wxFileTypeInfo_GetExtensionsCount(_swigobj) (_swigobj->GetExtensionsCount())
8421 static PyObject
*_wrap_wxFileTypeInfo_GetExtensionsCount(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_GetExtensionsCount",_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_GetExtensionsCount. Expected _wxFileTypeInfo_p.");
8439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8440 _result
= (int )wxFileTypeInfo_GetExtensionsCount(_arg0
);
8442 wxPyEndAllowThreads(__tstate
);
8443 if (PyErr_Occurred()) return NULL
;
8444 } _resultobj
= Py_BuildValue("i",_result
);
8448 #define wxFileTypeInfo_GetIconFile(_swigobj) (_swigobj->GetIconFile())
8449 static PyObject
*_wrap_wxFileTypeInfo_GetIconFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8450 PyObject
* _resultobj
;
8452 wxFileTypeInfo
* _arg0
;
8453 PyObject
* _argo0
= 0;
8454 char *_kwnames
[] = { "self", NULL
};
8457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetIconFile",_kwnames
,&_argo0
))
8460 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8461 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8462 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetIconFile. Expected _wxFileTypeInfo_p.");
8467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8468 const wxString
& _result_ref
= wxFileTypeInfo_GetIconFile(_arg0
);
8469 _result
= (wxString
*) &_result_ref
;
8471 wxPyEndAllowThreads(__tstate
);
8472 if (PyErr_Occurred()) return NULL
;
8475 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
8477 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8483 #define wxFileTypeInfo_GetIconIndex(_swigobj) (_swigobj->GetIconIndex())
8484 static PyObject
*_wrap_wxFileTypeInfo_GetIconIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8485 PyObject
* _resultobj
;
8487 wxFileTypeInfo
* _arg0
;
8488 PyObject
* _argo0
= 0;
8489 char *_kwnames
[] = { "self", NULL
};
8492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetIconIndex",_kwnames
,&_argo0
))
8495 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8496 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8497 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetIconIndex. Expected _wxFileTypeInfo_p.");
8502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8503 _result
= (int )wxFileTypeInfo_GetIconIndex(_arg0
);
8505 wxPyEndAllowThreads(__tstate
);
8506 if (PyErr_Occurred()) return NULL
;
8507 } _resultobj
= Py_BuildValue("i",_result
);
8511 #define new_wxFileType(_swigarg0) (new wxFileType(_swigarg0))
8512 static PyObject
*_wrap_new_wxFileType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8513 PyObject
* _resultobj
;
8514 wxFileType
* _result
;
8515 wxFileTypeInfo
* _arg0
;
8516 PyObject
* _argo0
= 0;
8517 char *_kwnames
[] = { "ftInfo", NULL
};
8521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxFileType",_kwnames
,&_argo0
))
8524 if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8525 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxFileType. Expected _wxFileTypeInfo_p.");
8530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8531 _result
= (wxFileType
*)new_wxFileType(*_arg0
);
8533 wxPyEndAllowThreads(__tstate
);
8534 if (PyErr_Occurred()) return NULL
;
8536 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileType_p");
8537 _resultobj
= Py_BuildValue("s",_ptemp
);
8540 _resultobj
= Py_None
;
8545 static PyObject
* wxFileType_GetMimeType(wxFileType
*self
) {
8547 if (self
->GetMimeType(&str
)) {
8549 return PyUnicode_FromWideChar(str
.c_str(), str
.Len());
8551 return PyString_FromStringAndSize(str
.c_str(), str
.Len());
8557 static PyObject
*_wrap_wxFileType_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8558 PyObject
* _resultobj
;
8561 PyObject
* _argo0
= 0;
8562 char *_kwnames
[] = { "self", NULL
};
8565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_GetMimeType",_kwnames
,&_argo0
))
8568 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8569 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8570 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetMimeType. Expected _wxFileType_p.");
8575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8576 _result
= (PyObject
*)wxFileType_GetMimeType(_arg0
);
8578 wxPyEndAllowThreads(__tstate
);
8579 if (PyErr_Occurred()) return NULL
;
8581 _resultobj
= _result
;
8586 static PyObject
* wxFileType_GetMimeTypes(wxFileType
*self
) {
8588 if (self
->GetMimeTypes(arr
))
8589 return wxArrayString2PyList_helper(arr
);
8593 static PyObject
*_wrap_wxFileType_GetMimeTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8594 PyObject
* _resultobj
;
8597 PyObject
* _argo0
= 0;
8598 char *_kwnames
[] = { "self", NULL
};
8601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_GetMimeTypes",_kwnames
,&_argo0
))
8604 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8605 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8606 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetMimeTypes. Expected _wxFileType_p.");
8611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8612 _result
= (PyObject
*)wxFileType_GetMimeTypes(_arg0
);
8614 wxPyEndAllowThreads(__tstate
);
8615 if (PyErr_Occurred()) return NULL
;
8617 _resultobj
= _result
;
8622 static PyObject
* wxFileType_GetExtensions(wxFileType
*self
) {
8624 if (self
->GetExtensions(arr
))
8625 return wxArrayString2PyList_helper(arr
);
8629 static PyObject
*_wrap_wxFileType_GetExtensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8630 PyObject
* _resultobj
;
8633 PyObject
* _argo0
= 0;
8634 char *_kwnames
[] = { "self", NULL
};
8637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_GetExtensions",_kwnames
,&_argo0
))
8640 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8641 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8642 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetExtensions. Expected _wxFileType_p.");
8647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8648 _result
= (PyObject
*)wxFileType_GetExtensions(_arg0
);
8650 wxPyEndAllowThreads(__tstate
);
8651 if (PyErr_Occurred()) return NULL
;
8653 _resultobj
= _result
;
8658 static wxIcon
* wxFileType_GetIcon(wxFileType
*self
) {
8660 if (self
->GetIcon(&icon
))
8661 return new wxIcon(icon
);
8665 static PyObject
*_wrap_wxFileType_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8666 PyObject
* _resultobj
;
8669 PyObject
* _argo0
= 0;
8670 char *_kwnames
[] = { "self", NULL
};
8674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_GetIcon",_kwnames
,&_argo0
))
8677 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8678 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8679 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetIcon. Expected _wxFileType_p.");
8684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8685 _result
= (wxIcon
*)wxFileType_GetIcon(_arg0
);
8687 wxPyEndAllowThreads(__tstate
);
8688 if (PyErr_Occurred()) return NULL
;
8690 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIcon_p");
8691 _resultobj
= Py_BuildValue("s",_ptemp
);
8694 _resultobj
= Py_None
;
8699 static PyObject
* wxFileType_GetIconInfo(wxFileType
*self
) {
8703 if (self
->GetIcon(&icon
, &iconFile
, &iconIndex
)) {
8704 wxPyBeginBlockThreads();
8705 PyObject
* tuple
= PyTuple_New(3);
8706 PyTuple_SetItem(tuple
, 0, wxPyConstructObject(new wxIcon(icon
),
8707 wxT("wxIcon"), TRUE
));
8709 PyTuple_SetItem(tuple
, 1, PyUnicode_FromWideChar(iconFile
.c_str(), iconFile
.Len()));
8711 PyTuple_SetItem(tuple
, 1, PyString_FromStringAndSize(iconFile
.c_str(), iconFile
.Len()));
8713 PyTuple_SetItem(tuple
, 2, PyInt_FromLong(iconIndex
));
8714 wxPyEndBlockThreads();
8720 static PyObject
*_wrap_wxFileType_GetIconInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8721 PyObject
* _resultobj
;
8724 PyObject
* _argo0
= 0;
8725 char *_kwnames
[] = { "self", NULL
};
8728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_GetIconInfo",_kwnames
,&_argo0
))
8731 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8732 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8733 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetIconInfo. Expected _wxFileType_p.");
8738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8739 _result
= (PyObject
*)wxFileType_GetIconInfo(_arg0
);
8741 wxPyEndAllowThreads(__tstate
);
8742 if (PyErr_Occurred()) return NULL
;
8744 _resultobj
= _result
;
8749 static PyObject
* wxFileType_GetDescription(wxFileType
*self
) {
8751 if (self
->GetDescription(&str
)) {
8753 return PyUnicode_FromWideChar(str
.c_str(), str
.Len());
8755 return PyString_FromStringAndSize(str
.c_str(), str
.Len());
8760 static PyObject
*_wrap_wxFileType_GetDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8761 PyObject
* _resultobj
;
8764 PyObject
* _argo0
= 0;
8765 char *_kwnames
[] = { "self", NULL
};
8768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_GetDescription",_kwnames
,&_argo0
))
8771 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8772 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8773 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetDescription. Expected _wxFileType_p.");
8778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8779 _result
= (PyObject
*)wxFileType_GetDescription(_arg0
);
8781 wxPyEndAllowThreads(__tstate
);
8782 if (PyErr_Occurred()) return NULL
;
8784 _resultobj
= _result
;
8789 static PyObject
* wxFileType_GetOpenCommand(wxFileType
*self
,const wxString
& filename
,const wxString
& mimetype
) {
8791 if (self
->GetOpenCommand(&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_GetOpenCommand(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_GetOpenCommand",_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_GetOpenCommand. Expected _wxFileType_p.");
8822 _arg1
= wxString_in_helper(_obj1
);
8828 _arg2
= wxString_in_helper(_obj2
);
8833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8834 _result
= (PyObject
*)wxFileType_GetOpenCommand(_arg0
,*_arg1
,*_arg2
);
8836 wxPyEndAllowThreads(__tstate
);
8837 if (PyErr_Occurred()) return NULL
;
8839 _resultobj
= _result
;
8852 static PyObject
* wxFileType_GetPrintCommand(wxFileType
*self
,const wxString
& filename
,const wxString
& mimetype
) {
8854 if (self
->GetPrintCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
))) {
8856 return PyUnicode_FromWideChar(str
.c_str(), str
.Len());
8858 return PyString_FromStringAndSize(str
.c_str(), str
.Len());
8863 static PyObject
*_wrap_wxFileType_GetPrintCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8864 PyObject
* _resultobj
;
8868 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
8869 PyObject
* _argo0
= 0;
8870 PyObject
* _obj1
= 0;
8871 PyObject
* _obj2
= 0;
8872 char *_kwnames
[] = { "self","filename","mimetype", NULL
};
8875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxFileType_GetPrintCommand",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
8878 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8879 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8880 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetPrintCommand. Expected _wxFileType_p.");
8885 _arg1
= wxString_in_helper(_obj1
);
8891 _arg2
= wxString_in_helper(_obj2
);
8896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8897 _result
= (PyObject
*)wxFileType_GetPrintCommand(_arg0
,*_arg1
,*_arg2
);
8899 wxPyEndAllowThreads(__tstate
);
8900 if (PyErr_Occurred()) return NULL
;
8902 _resultobj
= _result
;
8915 static PyObject
* wxFileType_GetAllCommands(wxFileType
*self
,const wxString
& filename
,const wxString
& mimetype
) {
8916 wxArrayString verbs
;
8917 wxArrayString commands
;
8918 if (self
->GetAllCommands(&verbs
, &commands
,
8919 wxFileType::MessageParameters(filename
, mimetype
))) {
8920 wxPyBeginBlockThreads();
8921 PyObject
* tuple
= PyTuple_New(2);
8922 PyTuple_SetItem(tuple
, 0, wxArrayString2PyList_helper(verbs
));
8923 PyTuple_SetItem(tuple
, 1, wxArrayString2PyList_helper(commands
));
8924 wxPyEndBlockThreads();
8930 static PyObject
*_wrap_wxFileType_GetAllCommands(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8931 PyObject
* _resultobj
;
8935 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
8936 PyObject
* _argo0
= 0;
8937 PyObject
* _obj1
= 0;
8938 PyObject
* _obj2
= 0;
8939 char *_kwnames
[] = { "self","filename","mimetype", NULL
};
8942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxFileType_GetAllCommands",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
8945 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8946 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8947 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetAllCommands. Expected _wxFileType_p.");
8952 _arg1
= wxString_in_helper(_obj1
);
8958 _arg2
= wxString_in_helper(_obj2
);
8963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8964 _result
= (PyObject
*)wxFileType_GetAllCommands(_arg0
,*_arg1
,*_arg2
);
8966 wxPyEndAllowThreads(__tstate
);
8967 if (PyErr_Occurred()) return NULL
;
8969 _resultobj
= _result
;
8982 #define wxFileType_SetCommand(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCommand(_swigarg0,_swigarg1,_swigarg2))
8983 static PyObject
*_wrap_wxFileType_SetCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8984 PyObject
* _resultobj
;
8989 bool _arg3
= (bool ) TRUE
;
8990 PyObject
* _argo0
= 0;
8991 PyObject
* _obj1
= 0;
8992 PyObject
* _obj2
= 0;
8993 int tempbool3
= (int) TRUE
;
8994 char *_kwnames
[] = { "self","cmd","verb","overwriteprompt", NULL
};
8997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|i:wxFileType_SetCommand",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&tempbool3
))
9000 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9001 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
9002 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_SetCommand. Expected _wxFileType_p.");
9007 _arg1
= wxString_in_helper(_obj1
);
9012 _arg2
= wxString_in_helper(_obj2
);
9016 _arg3
= (bool ) tempbool3
;
9018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9019 _result
= (bool )wxFileType_SetCommand(_arg0
,*_arg1
,*_arg2
,_arg3
);
9021 wxPyEndAllowThreads(__tstate
);
9022 if (PyErr_Occurred()) return NULL
;
9023 } _resultobj
= Py_BuildValue("i",_result
);
9035 #define wxFileType_SetDefaultIcon(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDefaultIcon(_swigarg0,_swigarg1))
9036 static PyObject
*_wrap_wxFileType_SetDefaultIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9037 PyObject
* _resultobj
;
9040 wxString
* _arg1
= (wxString
*) &wxPyEmptyString
;
9041 int _arg2
= (int ) 0;
9042 PyObject
* _argo0
= 0;
9043 PyObject
* _obj1
= 0;
9044 char *_kwnames
[] = { "self","cmd","index", NULL
};
9047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|Oi:wxFileType_SetDefaultIcon",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
9050 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9051 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
9052 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_SetDefaultIcon. Expected _wxFileType_p.");
9058 _arg1
= wxString_in_helper(_obj1
);
9063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9064 _result
= (bool )wxFileType_SetDefaultIcon(_arg0
,*_arg1
,_arg2
);
9066 wxPyEndAllowThreads(__tstate
);
9067 if (PyErr_Occurred()) return NULL
;
9068 } _resultobj
= Py_BuildValue("i",_result
);
9076 #define wxFileType_Unassociate(_swigobj) (_swigobj->Unassociate())
9077 static PyObject
*_wrap_wxFileType_Unassociate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9078 PyObject
* _resultobj
;
9081 PyObject
* _argo0
= 0;
9082 char *_kwnames
[] = { "self", NULL
};
9085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_Unassociate",_kwnames
,&_argo0
))
9088 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9089 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
9090 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_Unassociate. Expected _wxFileType_p.");
9095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9096 _result
= (bool )wxFileType_Unassociate(_arg0
);
9098 wxPyEndAllowThreads(__tstate
);
9099 if (PyErr_Occurred()) return NULL
;
9100 } _resultobj
= Py_BuildValue("i",_result
);
9104 static PyObject
*_wrap_wxFileType_ExpandCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9105 PyObject
* _resultobj
;
9108 wxFileType::MessageParameters
* _arg1
;
9109 PyObject
* _obj0
= 0;
9110 PyObject
* _argo1
= 0;
9111 char *_kwnames
[] = { "command","params", NULL
};
9114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileType_ExpandCommand",_kwnames
,&_obj0
,&_argo1
))
9117 _arg0
= wxString_in_helper(_obj0
);
9122 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFileType::MessageParameters_p")) {
9123 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFileType_ExpandCommand. Expected _wxFileType::MessageParameters_p.");
9128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9129 _result
= new wxString (wxFileType::ExpandCommand(*_arg0
,*_arg1
));
9131 wxPyEndAllowThreads(__tstate
);
9132 if (PyErr_Occurred()) return NULL
;
9135 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
9137 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9150 #define delete_wxFileType(_swigobj) (delete _swigobj)
9151 static PyObject
*_wrap_delete_wxFileType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9152 PyObject
* _resultobj
;
9154 PyObject
* _argo0
= 0;
9155 char *_kwnames
[] = { "self", NULL
};
9158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxFileType",_kwnames
,&_argo0
))
9161 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9162 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
9163 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxFileType. Expected _wxFileType_p.");
9168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9169 delete_wxFileType(_arg0
);
9171 wxPyEndAllowThreads(__tstate
);
9172 if (PyErr_Occurred()) return NULL
;
9173 } Py_INCREF(Py_None
);
9174 _resultobj
= Py_None
;
9178 static PyObject
*_wrap_wxMimeTypesManager_IsOfType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9179 PyObject
* _resultobj
;
9183 PyObject
* _obj0
= 0;
9184 PyObject
* _obj1
= 0;
9185 char *_kwnames
[] = { "mimeType","wildcard", NULL
};
9188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_IsOfType",_kwnames
,&_obj0
,&_obj1
))
9191 _arg0
= wxString_in_helper(_obj0
);
9196 _arg1
= wxString_in_helper(_obj1
);
9201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9202 _result
= (bool )wxMimeTypesManager::IsOfType(*_arg0
,*_arg1
);
9204 wxPyEndAllowThreads(__tstate
);
9205 if (PyErr_Occurred()) return NULL
;
9206 } _resultobj
= Py_BuildValue("i",_result
);
9218 #define new_wxMimeTypesManager() (new wxMimeTypesManager())
9219 static PyObject
*_wrap_new_wxMimeTypesManager(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9220 PyObject
* _resultobj
;
9221 wxMimeTypesManager
* _result
;
9222 char *_kwnames
[] = { NULL
};
9226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxMimeTypesManager",_kwnames
))
9229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9230 _result
= (wxMimeTypesManager
*)new_wxMimeTypesManager();
9232 wxPyEndAllowThreads(__tstate
);
9233 if (PyErr_Occurred()) return NULL
;
9235 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMimeTypesManager_p");
9236 _resultobj
= Py_BuildValue("s",_ptemp
);
9239 _resultobj
= Py_None
;
9244 #define wxMimeTypesManager_Initialize(_swigobj,_swigarg0,_swigarg1) (_swigobj->Initialize(_swigarg0,_swigarg1))
9245 static PyObject
*_wrap_wxMimeTypesManager_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9246 PyObject
* _resultobj
;
9247 wxMimeTypesManager
* _arg0
;
9248 int _arg1
= (int ) (wxMAILCAP_ALL
);
9249 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
9250 PyObject
* _argo0
= 0;
9251 PyObject
* _obj2
= 0;
9252 char *_kwnames
[] = { "self","mailcapStyle","extraDir", NULL
};
9255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iO:wxMimeTypesManager_Initialize",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
9258 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9259 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9260 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_Initialize. Expected _wxMimeTypesManager_p.");
9266 _arg2
= wxString_in_helper(_obj2
);
9271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9272 wxMimeTypesManager_Initialize(_arg0
,_arg1
,*_arg2
);
9274 wxPyEndAllowThreads(__tstate
);
9275 if (PyErr_Occurred()) return NULL
;
9276 } Py_INCREF(Py_None
);
9277 _resultobj
= Py_None
;
9285 #define wxMimeTypesManager_ClearData(_swigobj) (_swigobj->ClearData())
9286 static PyObject
*_wrap_wxMimeTypesManager_ClearData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9287 PyObject
* _resultobj
;
9288 wxMimeTypesManager
* _arg0
;
9289 PyObject
* _argo0
= 0;
9290 char *_kwnames
[] = { "self", NULL
};
9293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMimeTypesManager_ClearData",_kwnames
,&_argo0
))
9296 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9297 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9298 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_ClearData. Expected _wxMimeTypesManager_p.");
9303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9304 wxMimeTypesManager_ClearData(_arg0
);
9306 wxPyEndAllowThreads(__tstate
);
9307 if (PyErr_Occurred()) return NULL
;
9308 } Py_INCREF(Py_None
);
9309 _resultobj
= Py_None
;
9313 #define wxMimeTypesManager_GetFileTypeFromExtension(_swigobj,_swigarg0) (_swigobj->GetFileTypeFromExtension(_swigarg0))
9314 static PyObject
*_wrap_wxMimeTypesManager_GetFileTypeFromExtension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9315 PyObject
* _resultobj
;
9316 wxFileType
* _result
;
9317 wxMimeTypesManager
* _arg0
;
9319 PyObject
* _argo0
= 0;
9320 PyObject
* _obj1
= 0;
9321 char *_kwnames
[] = { "self","ext", NULL
};
9325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_GetFileTypeFromExtension",_kwnames
,&_argo0
,&_obj1
))
9328 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9329 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9330 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_GetFileTypeFromExtension. Expected _wxMimeTypesManager_p.");
9335 _arg1
= wxString_in_helper(_obj1
);
9340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9341 _result
= (wxFileType
*)wxMimeTypesManager_GetFileTypeFromExtension(_arg0
,*_arg1
);
9343 wxPyEndAllowThreads(__tstate
);
9344 if (PyErr_Occurred()) return NULL
;
9346 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileType_p");
9347 _resultobj
= Py_BuildValue("s",_ptemp
);
9350 _resultobj
= Py_None
;
9359 #define wxMimeTypesManager_GetFileTypeFromMimeType(_swigobj,_swigarg0) (_swigobj->GetFileTypeFromMimeType(_swigarg0))
9360 static PyObject
*_wrap_wxMimeTypesManager_GetFileTypeFromMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9361 PyObject
* _resultobj
;
9362 wxFileType
* _result
;
9363 wxMimeTypesManager
* _arg0
;
9365 PyObject
* _argo0
= 0;
9366 PyObject
* _obj1
= 0;
9367 char *_kwnames
[] = { "self","mimeType", NULL
};
9371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_GetFileTypeFromMimeType",_kwnames
,&_argo0
,&_obj1
))
9374 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9375 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9376 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_GetFileTypeFromMimeType. Expected _wxMimeTypesManager_p.");
9381 _arg1
= wxString_in_helper(_obj1
);
9386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9387 _result
= (wxFileType
*)wxMimeTypesManager_GetFileTypeFromMimeType(_arg0
,*_arg1
);
9389 wxPyEndAllowThreads(__tstate
);
9390 if (PyErr_Occurred()) return NULL
;
9392 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileType_p");
9393 _resultobj
= Py_BuildValue("s",_ptemp
);
9396 _resultobj
= Py_None
;
9405 #define wxMimeTypesManager_ReadMailcap(_swigobj,_swigarg0,_swigarg1) (_swigobj->ReadMailcap(_swigarg0,_swigarg1))
9406 static PyObject
*_wrap_wxMimeTypesManager_ReadMailcap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9407 PyObject
* _resultobj
;
9409 wxMimeTypesManager
* _arg0
;
9411 bool _arg2
= (bool ) FALSE
;
9412 PyObject
* _argo0
= 0;
9413 PyObject
* _obj1
= 0;
9414 int tempbool2
= (int) FALSE
;
9415 char *_kwnames
[] = { "self","filename","fallback", NULL
};
9418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxMimeTypesManager_ReadMailcap",_kwnames
,&_argo0
,&_obj1
,&tempbool2
))
9421 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9422 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9423 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_ReadMailcap. Expected _wxMimeTypesManager_p.");
9428 _arg1
= wxString_in_helper(_obj1
);
9432 _arg2
= (bool ) tempbool2
;
9434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9435 _result
= (bool )wxMimeTypesManager_ReadMailcap(_arg0
,*_arg1
,_arg2
);
9437 wxPyEndAllowThreads(__tstate
);
9438 if (PyErr_Occurred()) return NULL
;
9439 } _resultobj
= Py_BuildValue("i",_result
);
9447 #define wxMimeTypesManager_ReadMimeTypes(_swigobj,_swigarg0) (_swigobj->ReadMimeTypes(_swigarg0))
9448 static PyObject
*_wrap_wxMimeTypesManager_ReadMimeTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9449 PyObject
* _resultobj
;
9451 wxMimeTypesManager
* _arg0
;
9453 PyObject
* _argo0
= 0;
9454 PyObject
* _obj1
= 0;
9455 char *_kwnames
[] = { "self","filename", NULL
};
9458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_ReadMimeTypes",_kwnames
,&_argo0
,&_obj1
))
9461 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9462 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9463 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_ReadMimeTypes. Expected _wxMimeTypesManager_p.");
9468 _arg1
= wxString_in_helper(_obj1
);
9473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9474 _result
= (bool )wxMimeTypesManager_ReadMimeTypes(_arg0
,*_arg1
);
9476 wxPyEndAllowThreads(__tstate
);
9477 if (PyErr_Occurred()) return NULL
;
9478 } _resultobj
= Py_BuildValue("i",_result
);
9486 static PyObject
* wxMimeTypesManager_EnumAllFileTypes(wxMimeTypesManager
*self
) {
9488 self
->EnumAllFileTypes(arr
);
9489 return wxArrayString2PyList_helper(arr
);
9491 static PyObject
*_wrap_wxMimeTypesManager_EnumAllFileTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9492 PyObject
* _resultobj
;
9494 wxMimeTypesManager
* _arg0
;
9495 PyObject
* _argo0
= 0;
9496 char *_kwnames
[] = { "self", NULL
};
9499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMimeTypesManager_EnumAllFileTypes",_kwnames
,&_argo0
))
9502 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9503 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9504 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_EnumAllFileTypes. Expected _wxMimeTypesManager_p.");
9509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9510 _result
= (PyObject
*)wxMimeTypesManager_EnumAllFileTypes(_arg0
);
9512 wxPyEndAllowThreads(__tstate
);
9513 if (PyErr_Occurred()) return NULL
;
9515 _resultobj
= _result
;
9520 #define wxMimeTypesManager_AddFallback(_swigobj,_swigarg0) (_swigobj->AddFallback(_swigarg0))
9521 static PyObject
*_wrap_wxMimeTypesManager_AddFallback(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9522 PyObject
* _resultobj
;
9523 wxMimeTypesManager
* _arg0
;
9524 wxFileTypeInfo
* _arg1
;
9525 PyObject
* _argo0
= 0;
9526 PyObject
* _argo1
= 0;
9527 char *_kwnames
[] = { "self","ft", NULL
};
9530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_AddFallback",_kwnames
,&_argo0
,&_argo1
))
9533 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9534 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9535 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_AddFallback. Expected _wxMimeTypesManager_p.");
9540 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFileTypeInfo_p")) {
9541 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMimeTypesManager_AddFallback. Expected _wxFileTypeInfo_p.");
9546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9547 wxMimeTypesManager_AddFallback(_arg0
,*_arg1
);
9549 wxPyEndAllowThreads(__tstate
);
9550 if (PyErr_Occurred()) return NULL
;
9551 } Py_INCREF(Py_None
);
9552 _resultobj
= Py_None
;
9556 #define wxMimeTypesManager_Associate(_swigobj,_swigarg0) (_swigobj->Associate(_swigarg0))
9557 static PyObject
*_wrap_wxMimeTypesManager_Associate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9558 PyObject
* _resultobj
;
9559 wxFileType
* _result
;
9560 wxMimeTypesManager
* _arg0
;
9561 wxFileTypeInfo
* _arg1
;
9562 PyObject
* _argo0
= 0;
9563 PyObject
* _argo1
= 0;
9564 char *_kwnames
[] = { "self","ftInfo", NULL
};
9568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_Associate",_kwnames
,&_argo0
,&_argo1
))
9571 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9572 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9573 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_Associate. Expected _wxMimeTypesManager_p.");
9578 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFileTypeInfo_p")) {
9579 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMimeTypesManager_Associate. Expected _wxFileTypeInfo_p.");
9584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9585 _result
= (wxFileType
*)wxMimeTypesManager_Associate(_arg0
,*_arg1
);
9587 wxPyEndAllowThreads(__tstate
);
9588 if (PyErr_Occurred()) return NULL
;
9590 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileType_p");
9591 _resultobj
= Py_BuildValue("s",_ptemp
);
9594 _resultobj
= Py_None
;
9599 #define wxMimeTypesManager_Unassociate(_swigobj,_swigarg0) (_swigobj->Unassociate(_swigarg0))
9600 static PyObject
*_wrap_wxMimeTypesManager_Unassociate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9601 PyObject
* _resultobj
;
9603 wxMimeTypesManager
* _arg0
;
9605 PyObject
* _argo0
= 0;
9606 PyObject
* _argo1
= 0;
9607 char *_kwnames
[] = { "self","ft", NULL
};
9610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_Unassociate",_kwnames
,&_argo0
,&_argo1
))
9613 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9614 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9615 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_Unassociate. Expected _wxMimeTypesManager_p.");
9620 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9621 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFileType_p")) {
9622 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMimeTypesManager_Unassociate. Expected _wxFileType_p.");
9627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9628 _result
= (bool )wxMimeTypesManager_Unassociate(_arg0
,_arg1
);
9630 wxPyEndAllowThreads(__tstate
);
9631 if (PyErr_Occurred()) return NULL
;
9632 } _resultobj
= Py_BuildValue("i",_result
);
9636 #define delete_wxMimeTypesManager(_swigobj) (delete _swigobj)
9637 static PyObject
*_wrap_delete_wxMimeTypesManager(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9638 PyObject
* _resultobj
;
9639 wxMimeTypesManager
* _arg0
;
9640 PyObject
* _argo0
= 0;
9641 char *_kwnames
[] = { "self", NULL
};
9644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxMimeTypesManager",_kwnames
,&_argo0
))
9647 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9648 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9649 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxMimeTypesManager. Expected _wxMimeTypesManager_p.");
9654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9655 delete_wxMimeTypesManager(_arg0
);
9657 wxPyEndAllowThreads(__tstate
);
9658 if (PyErr_Occurred()) return NULL
;
9659 } Py_INCREF(Py_None
);
9660 _resultobj
= Py_None
;
9664 static void *SwigwxPyArtProviderTowxObject(void *ptr
) {
9665 wxPyArtProvider
*src
;
9667 src
= (wxPyArtProvider
*) ptr
;
9668 dest
= (wxObject
*) src
;
9669 return (void *) dest
;
9672 #define new_wxArtProvider() (new wxPyArtProvider())
9673 static PyObject
*_wrap_new_wxArtProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9674 PyObject
* _resultobj
;
9675 wxPyArtProvider
* _result
;
9676 char *_kwnames
[] = { NULL
};
9680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxArtProvider",_kwnames
))
9683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9684 _result
= (wxPyArtProvider
*)new_wxArtProvider();
9686 wxPyEndAllowThreads(__tstate
);
9687 if (PyErr_Occurred()) return NULL
;
9689 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyArtProvider_p");
9690 _resultobj
= Py_BuildValue("s",_ptemp
);
9693 _resultobj
= Py_None
;
9698 #define wxArtProvider__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
9699 static PyObject
*_wrap_wxArtProvider__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9700 PyObject
* _resultobj
;
9701 wxPyArtProvider
* _arg0
;
9704 PyObject
* _argo0
= 0;
9705 PyObject
* _obj1
= 0;
9706 PyObject
* _obj2
= 0;
9707 char *_kwnames
[] = { "self","self","_class", NULL
};
9710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxArtProvider__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
9713 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9714 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyArtProvider_p")) {
9715 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxArtProvider__setCallbackInfo. Expected _wxPyArtProvider_p.");
9726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9727 wxArtProvider__setCallbackInfo(_arg0
,_arg1
,_arg2
);
9729 wxPyEndAllowThreads(__tstate
);
9730 if (PyErr_Occurred()) return NULL
;
9731 } Py_INCREF(Py_None
);
9732 _resultobj
= Py_None
;
9736 static PyObject
*_wrap_wxArtProvider_PushProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9737 PyObject
* _resultobj
;
9738 wxPyArtProvider
* _arg0
;
9739 PyObject
* _argo0
= 0;
9740 char *_kwnames
[] = { "provider", NULL
};
9743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxArtProvider_PushProvider",_kwnames
,&_argo0
))
9746 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9747 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyArtProvider_p")) {
9748 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxArtProvider_PushProvider. Expected _wxPyArtProvider_p.");
9753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9754 wxPyArtProvider::PushProvider(_arg0
);
9756 wxPyEndAllowThreads(__tstate
);
9757 if (PyErr_Occurred()) return NULL
;
9758 } Py_INCREF(Py_None
);
9759 _resultobj
= Py_None
;
9763 static PyObject
*_wrap_wxArtProvider_PopProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9764 PyObject
* _resultobj
;
9766 char *_kwnames
[] = { NULL
};
9769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxArtProvider_PopProvider",_kwnames
))
9772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9773 _result
= (bool )wxPyArtProvider::PopProvider();
9775 wxPyEndAllowThreads(__tstate
);
9776 if (PyErr_Occurred()) return NULL
;
9777 } _resultobj
= Py_BuildValue("i",_result
);
9781 static PyObject
*_wrap_wxArtProvider_RemoveProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9782 PyObject
* _resultobj
;
9784 wxPyArtProvider
* _arg0
;
9785 PyObject
* _argo0
= 0;
9786 char *_kwnames
[] = { "provider", NULL
};
9789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxArtProvider_RemoveProvider",_kwnames
,&_argo0
))
9792 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9793 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyArtProvider_p")) {
9794 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxArtProvider_RemoveProvider. Expected _wxPyArtProvider_p.");
9799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9800 _result
= (bool )wxPyArtProvider::RemoveProvider(_arg0
);
9802 wxPyEndAllowThreads(__tstate
);
9803 if (PyErr_Occurred()) return NULL
;
9804 } _resultobj
= Py_BuildValue("i",_result
);
9808 static PyObject
*_wrap_wxArtProvider_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9809 PyObject
* _resultobj
;
9812 wxString
* _arg1
= (wxString
*) &wxPyART_OTHER
;
9813 wxSize
* _arg2
= (wxSize
*) &wxDefaultSize
;
9814 PyObject
* _obj0
= 0;
9815 PyObject
* _obj1
= 0;
9817 PyObject
* _obj2
= 0;
9818 char *_kwnames
[] = { "id","client","size", NULL
};
9822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|OO:wxArtProvider_GetBitmap",_kwnames
,&_obj0
,&_obj1
,&_obj2
))
9825 _arg0
= wxString_in_helper(_obj0
);
9831 _arg1
= wxString_in_helper(_obj1
);
9838 if (! wxSize_helper(_obj2
, &_arg2
))
9842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9843 _result
= new wxBitmap (wxPyArtProvider::GetBitmap(*_arg0
,*_arg1
,*_arg2
));
9845 wxPyEndAllowThreads(__tstate
);
9846 if (PyErr_Occurred()) return NULL
;
9847 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBitmap_p");
9848 _resultobj
= Py_BuildValue("s",_ptemp
);
9860 static PyObject
*_wrap_wxArtProvider_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9861 PyObject
* _resultobj
;
9864 wxString
* _arg1
= (wxString
*) &wxPyART_OTHER
;
9865 wxSize
* _arg2
= (wxSize
*) &wxDefaultSize
;
9866 PyObject
* _obj0
= 0;
9867 PyObject
* _obj1
= 0;
9869 PyObject
* _obj2
= 0;
9870 char *_kwnames
[] = { "id","client","size", NULL
};
9874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|OO:wxArtProvider_GetIcon",_kwnames
,&_obj0
,&_obj1
,&_obj2
))
9877 _arg0
= wxString_in_helper(_obj0
);
9883 _arg1
= wxString_in_helper(_obj1
);
9890 if (! wxSize_helper(_obj2
, &_arg2
))
9894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9895 _result
= new wxIcon (wxPyArtProvider::GetIcon(*_arg0
,*_arg1
,*_arg2
));
9897 wxPyEndAllowThreads(__tstate
);
9898 if (PyErr_Occurred()) return NULL
;
9899 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxIcon_p");
9900 _resultobj
= Py_BuildValue("s",_ptemp
);
9912 static void *SwigwxFileHistoryTowxObject(void *ptr
) {
9915 src
= (wxFileHistory
*) ptr
;
9916 dest
= (wxObject
*) src
;
9917 return (void *) dest
;
9920 #define new_wxFileHistory(_swigarg0) (new wxFileHistory(_swigarg0))
9921 static PyObject
*_wrap_new_wxFileHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9922 PyObject
* _resultobj
;
9923 wxFileHistory
* _result
;
9924 int _arg0
= (int ) 9;
9925 char *_kwnames
[] = { "maxFiles", NULL
};
9929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxFileHistory",_kwnames
,&_arg0
))
9932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9933 _result
= (wxFileHistory
*)new_wxFileHistory(_arg0
);
9935 wxPyEndAllowThreads(__tstate
);
9936 if (PyErr_Occurred()) return NULL
;
9938 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileHistory_p");
9939 _resultobj
= Py_BuildValue("s",_ptemp
);
9942 _resultobj
= Py_None
;
9947 #define delete_wxFileHistory(_swigobj) (delete _swigobj)
9948 static PyObject
*_wrap_delete_wxFileHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9949 PyObject
* _resultobj
;
9950 wxFileHistory
* _arg0
;
9951 PyObject
* _argo0
= 0;
9952 char *_kwnames
[] = { "self", NULL
};
9955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxFileHistory",_kwnames
,&_argo0
))
9958 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9959 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9960 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxFileHistory. Expected _wxFileHistory_p.");
9965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9966 delete_wxFileHistory(_arg0
);
9968 wxPyEndAllowThreads(__tstate
);
9969 if (PyErr_Occurred()) return NULL
;
9970 } Py_INCREF(Py_None
);
9971 _resultobj
= Py_None
;
9975 #define wxFileHistory_AddFileToHistory(_swigobj,_swigarg0) (_swigobj->AddFileToHistory(_swigarg0))
9976 static PyObject
*_wrap_wxFileHistory_AddFileToHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9977 PyObject
* _resultobj
;
9978 wxFileHistory
* _arg0
;
9980 PyObject
* _argo0
= 0;
9981 PyObject
* _obj1
= 0;
9982 char *_kwnames
[] = { "self","file", NULL
};
9985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileHistory_AddFileToHistory",_kwnames
,&_argo0
,&_obj1
))
9988 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9989 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9990 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_AddFileToHistory. Expected _wxFileHistory_p.");
9995 _arg1
= wxString_in_helper(_obj1
);
10000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10001 wxFileHistory_AddFileToHistory(_arg0
,*_arg1
);
10003 wxPyEndAllowThreads(__tstate
);
10004 if (PyErr_Occurred()) return NULL
;
10005 } Py_INCREF(Py_None
);
10006 _resultobj
= Py_None
;
10014 #define wxFileHistory_RemoveFileFromHistory(_swigobj,_swigarg0) (_swigobj->RemoveFileFromHistory(_swigarg0))
10015 static PyObject
*_wrap_wxFileHistory_RemoveFileFromHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10016 PyObject
* _resultobj
;
10017 wxFileHistory
* _arg0
;
10019 PyObject
* _argo0
= 0;
10020 char *_kwnames
[] = { "self","i", NULL
};
10023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFileHistory_RemoveFileFromHistory",_kwnames
,&_argo0
,&_arg1
))
10026 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10027 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
10028 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_RemoveFileFromHistory. Expected _wxFileHistory_p.");
10033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10034 wxFileHistory_RemoveFileFromHistory(_arg0
,_arg1
);
10036 wxPyEndAllowThreads(__tstate
);
10037 if (PyErr_Occurred()) return NULL
;
10038 } Py_INCREF(Py_None
);
10039 _resultobj
= Py_None
;
10043 #define wxFileHistory_GetMaxFiles(_swigobj) (_swigobj->GetMaxFiles())
10044 static PyObject
*_wrap_wxFileHistory_GetMaxFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10045 PyObject
* _resultobj
;
10047 wxFileHistory
* _arg0
;
10048 PyObject
* _argo0
= 0;
10049 char *_kwnames
[] = { "self", NULL
};
10052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileHistory_GetMaxFiles",_kwnames
,&_argo0
))
10055 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10056 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
10057 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_GetMaxFiles. Expected _wxFileHistory_p.");
10062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10063 _result
= (int )wxFileHistory_GetMaxFiles(_arg0
);
10065 wxPyEndAllowThreads(__tstate
);
10066 if (PyErr_Occurred()) return NULL
;
10067 } _resultobj
= Py_BuildValue("i",_result
);
10071 #define wxFileHistory_UseMenu(_swigobj,_swigarg0) (_swigobj->UseMenu(_swigarg0))
10072 static PyObject
*_wrap_wxFileHistory_UseMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10073 PyObject
* _resultobj
;
10074 wxFileHistory
* _arg0
;
10076 PyObject
* _argo0
= 0;
10077 PyObject
* _argo1
= 0;
10078 char *_kwnames
[] = { "self","menu", NULL
};
10081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileHistory_UseMenu",_kwnames
,&_argo0
,&_argo1
))
10084 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10085 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
10086 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_UseMenu. Expected _wxFileHistory_p.");
10091 if (_argo1
== Py_None
) { _arg1
= NULL
; }
10092 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
10093 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFileHistory_UseMenu. Expected _wxMenu_p.");
10098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10099 wxFileHistory_UseMenu(_arg0
,_arg1
);
10101 wxPyEndAllowThreads(__tstate
);
10102 if (PyErr_Occurred()) return NULL
;
10103 } Py_INCREF(Py_None
);
10104 _resultobj
= Py_None
;
10108 #define wxFileHistory_RemoveMenu(_swigobj,_swigarg0) (_swigobj->RemoveMenu(_swigarg0))
10109 static PyObject
*_wrap_wxFileHistory_RemoveMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10110 PyObject
* _resultobj
;
10111 wxFileHistory
* _arg0
;
10113 PyObject
* _argo0
= 0;
10114 PyObject
* _argo1
= 0;
10115 char *_kwnames
[] = { "self","menu", NULL
};
10118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileHistory_RemoveMenu",_kwnames
,&_argo0
,&_argo1
))
10121 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10122 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
10123 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_RemoveMenu. Expected _wxFileHistory_p.");
10128 if (_argo1
== Py_None
) { _arg1
= NULL
; }
10129 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
10130 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFileHistory_RemoveMenu. Expected _wxMenu_p.");
10135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10136 wxFileHistory_RemoveMenu(_arg0
,_arg1
);
10138 wxPyEndAllowThreads(__tstate
);
10139 if (PyErr_Occurred()) return NULL
;
10140 } Py_INCREF(Py_None
);
10141 _resultobj
= Py_None
;
10145 #define wxFileHistory_Load(_swigobj,_swigarg0) (_swigobj->Load(_swigarg0))
10146 static PyObject
*_wrap_wxFileHistory_Load(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10147 PyObject
* _resultobj
;
10148 wxFileHistory
* _arg0
;
10149 wxConfigBase
* _arg1
;
10150 PyObject
* _argo0
= 0;
10151 PyObject
* _argo1
= 0;
10152 char *_kwnames
[] = { "self","config", NULL
};
10155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileHistory_Load",_kwnames
,&_argo0
,&_argo1
))
10158 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10159 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
10160 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_Load. Expected _wxFileHistory_p.");
10165 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxConfigBase_p")) {
10166 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFileHistory_Load. Expected _wxConfigBase_p.");
10171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10172 wxFileHistory_Load(_arg0
,*_arg1
);
10174 wxPyEndAllowThreads(__tstate
);
10175 if (PyErr_Occurred()) return NULL
;
10176 } Py_INCREF(Py_None
);
10177 _resultobj
= Py_None
;
10181 #define wxFileHistory_Save(_swigobj,_swigarg0) (_swigobj->Save(_swigarg0))
10182 static PyObject
*_wrap_wxFileHistory_Save(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10183 PyObject
* _resultobj
;
10184 wxFileHistory
* _arg0
;
10185 wxConfigBase
* _arg1
;
10186 PyObject
* _argo0
= 0;
10187 PyObject
* _argo1
= 0;
10188 char *_kwnames
[] = { "self","config", NULL
};
10191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileHistory_Save",_kwnames
,&_argo0
,&_argo1
))
10194 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10195 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
10196 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_Save. Expected _wxFileHistory_p.");
10201 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxConfigBase_p")) {
10202 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFileHistory_Save. Expected _wxConfigBase_p.");
10207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10208 wxFileHistory_Save(_arg0
,*_arg1
);
10210 wxPyEndAllowThreads(__tstate
);
10211 if (PyErr_Occurred()) return NULL
;
10212 } Py_INCREF(Py_None
);
10213 _resultobj
= Py_None
;
10217 #define wxFileHistory_AddFilesToMenu(_swigobj) (_swigobj->AddFilesToMenu())
10218 static PyObject
*_wrap_wxFileHistory_AddFilesToMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10219 PyObject
* _resultobj
;
10220 wxFileHistory
* _arg0
;
10221 PyObject
* _argo0
= 0;
10222 char *_kwnames
[] = { "self", NULL
};
10225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileHistory_AddFilesToMenu",_kwnames
,&_argo0
))
10228 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10229 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
10230 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_AddFilesToMenu. Expected _wxFileHistory_p.");
10235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10236 wxFileHistory_AddFilesToMenu(_arg0
);
10238 wxPyEndAllowThreads(__tstate
);
10239 if (PyErr_Occurred()) return NULL
;
10240 } Py_INCREF(Py_None
);
10241 _resultobj
= Py_None
;
10245 #define wxFileHistory_AddFilesToThisMenu(_swigobj,_swigarg0) (_swigobj->AddFilesToMenu(_swigarg0))
10246 static PyObject
*_wrap_wxFileHistory_AddFilesToThisMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10247 PyObject
* _resultobj
;
10248 wxFileHistory
* _arg0
;
10250 PyObject
* _argo0
= 0;
10251 PyObject
* _argo1
= 0;
10252 char *_kwnames
[] = { "self","menu", NULL
};
10255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileHistory_AddFilesToThisMenu",_kwnames
,&_argo0
,&_argo1
))
10258 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10259 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
10260 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_AddFilesToThisMenu. Expected _wxFileHistory_p.");
10265 if (_argo1
== Py_None
) { _arg1
= NULL
; }
10266 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
10267 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFileHistory_AddFilesToThisMenu. Expected _wxMenu_p.");
10272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10273 wxFileHistory_AddFilesToThisMenu(_arg0
,_arg1
);
10275 wxPyEndAllowThreads(__tstate
);
10276 if (PyErr_Occurred()) return NULL
;
10277 } Py_INCREF(Py_None
);
10278 _resultobj
= Py_None
;
10282 #define wxFileHistory_GetHistoryFile(_swigobj,_swigarg0) (_swigobj->GetHistoryFile(_swigarg0))
10283 static PyObject
*_wrap_wxFileHistory_GetHistoryFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10284 PyObject
* _resultobj
;
10285 wxString
* _result
;
10286 wxFileHistory
* _arg0
;
10288 PyObject
* _argo0
= 0;
10289 char *_kwnames
[] = { "self","i", NULL
};
10292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFileHistory_GetHistoryFile",_kwnames
,&_argo0
,&_arg1
))
10295 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10296 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
10297 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_GetHistoryFile. Expected _wxFileHistory_p.");
10302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10303 _result
= new wxString (wxFileHistory_GetHistoryFile(_arg0
,_arg1
));
10305 wxPyEndAllowThreads(__tstate
);
10306 if (PyErr_Occurred()) return NULL
;
10309 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
10311 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
10320 #define wxFileHistory_GetCount(_swigobj) (_swigobj->GetCount())
10321 static PyObject
*_wrap_wxFileHistory_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10322 PyObject
* _resultobj
;
10324 wxFileHistory
* _arg0
;
10325 PyObject
* _argo0
= 0;
10326 char *_kwnames
[] = { "self", NULL
};
10329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileHistory_GetCount",_kwnames
,&_argo0
))
10332 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10333 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
10334 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_GetCount. Expected _wxFileHistory_p.");
10339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10340 _result
= (int )wxFileHistory_GetCount(_arg0
);
10342 wxPyEndAllowThreads(__tstate
);
10343 if (PyErr_Occurred()) return NULL
;
10344 } _resultobj
= Py_BuildValue("i",_result
);
10348 #define wxFileHistory_GetNoHistoryFiles(_swigobj) (_swigobj->GetNoHistoryFiles())
10349 static PyObject
*_wrap_wxFileHistory_GetNoHistoryFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10350 PyObject
* _resultobj
;
10352 wxFileHistory
* _arg0
;
10353 PyObject
* _argo0
= 0;
10354 char *_kwnames
[] = { "self", NULL
};
10357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileHistory_GetNoHistoryFiles",_kwnames
,&_argo0
))
10360 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10361 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
10362 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_GetNoHistoryFiles. Expected _wxFileHistory_p.");
10367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10368 _result
= (int )wxFileHistory_GetNoHistoryFiles(_arg0
);
10370 wxPyEndAllowThreads(__tstate
);
10371 if (PyErr_Occurred()) return NULL
;
10372 } _resultobj
= Py_BuildValue("i",_result
);
10376 static void *SwigwxEffectsTowxObject(void *ptr
) {
10379 src
= (wxEffects
*) ptr
;
10380 dest
= (wxObject
*) src
;
10381 return (void *) dest
;
10384 #define new_wxEffects() (new wxEffects())
10385 static PyObject
*_wrap_new_wxEffects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10386 PyObject
* _resultobj
;
10387 wxEffects
* _result
;
10388 char *_kwnames
[] = { NULL
};
10392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxEffects",_kwnames
))
10395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10396 _result
= (wxEffects
*)new_wxEffects();
10398 wxPyEndAllowThreads(__tstate
);
10399 if (PyErr_Occurred()) return NULL
;
10401 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxEffects_p");
10402 _resultobj
= Py_BuildValue("s",_ptemp
);
10404 Py_INCREF(Py_None
);
10405 _resultobj
= Py_None
;
10410 #define wxEffects_GetHighlightColour(_swigobj) (_swigobj->GetHighlightColour())
10411 static PyObject
*_wrap_wxEffects_GetHighlightColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10412 PyObject
* _resultobj
;
10413 wxColour
* _result
;
10415 PyObject
* _argo0
= 0;
10416 char *_kwnames
[] = { "self", NULL
};
10420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEffects_GetHighlightColour",_kwnames
,&_argo0
))
10423 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10424 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEffects_p")) {
10425 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEffects_GetHighlightColour. Expected _wxEffects_p.");
10430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10431 _result
= new wxColour (wxEffects_GetHighlightColour(_arg0
));
10433 wxPyEndAllowThreads(__tstate
);
10434 if (PyErr_Occurred()) return NULL
;
10435 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
10436 _resultobj
= Py_BuildValue("s",_ptemp
);
10440 #define wxEffects_GetLightShadow(_swigobj) (_swigobj->GetLightShadow())
10441 static PyObject
*_wrap_wxEffects_GetLightShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10442 PyObject
* _resultobj
;
10443 wxColour
* _result
;
10445 PyObject
* _argo0
= 0;
10446 char *_kwnames
[] = { "self", NULL
};
10450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEffects_GetLightShadow",_kwnames
,&_argo0
))
10453 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10454 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEffects_p")) {
10455 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEffects_GetLightShadow. Expected _wxEffects_p.");
10460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10461 _result
= new wxColour (wxEffects_GetLightShadow(_arg0
));
10463 wxPyEndAllowThreads(__tstate
);
10464 if (PyErr_Occurred()) return NULL
;
10465 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
10466 _resultobj
= Py_BuildValue("s",_ptemp
);
10470 #define wxEffects_GetFaceColour(_swigobj) (_swigobj->GetFaceColour())
10471 static PyObject
*_wrap_wxEffects_GetFaceColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10472 PyObject
* _resultobj
;
10473 wxColour
* _result
;
10475 PyObject
* _argo0
= 0;
10476 char *_kwnames
[] = { "self", NULL
};
10480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEffects_GetFaceColour",_kwnames
,&_argo0
))
10483 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10484 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEffects_p")) {
10485 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEffects_GetFaceColour. Expected _wxEffects_p.");
10490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10491 _result
= new wxColour (wxEffects_GetFaceColour(_arg0
));
10493 wxPyEndAllowThreads(__tstate
);
10494 if (PyErr_Occurred()) return NULL
;
10495 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
10496 _resultobj
= Py_BuildValue("s",_ptemp
);
10500 #define wxEffects_GetMediumShadow(_swigobj) (_swigobj->GetMediumShadow())
10501 static PyObject
*_wrap_wxEffects_GetMediumShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10502 PyObject
* _resultobj
;
10503 wxColour
* _result
;
10505 PyObject
* _argo0
= 0;
10506 char *_kwnames
[] = { "self", NULL
};
10510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEffects_GetMediumShadow",_kwnames
,&_argo0
))
10513 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10514 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEffects_p")) {
10515 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEffects_GetMediumShadow. Expected _wxEffects_p.");
10520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10521 _result
= new wxColour (wxEffects_GetMediumShadow(_arg0
));
10523 wxPyEndAllowThreads(__tstate
);
10524 if (PyErr_Occurred()) return NULL
;
10525 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
10526 _resultobj
= Py_BuildValue("s",_ptemp
);
10530 #define wxEffects_GetDarkShadow(_swigobj) (_swigobj->GetDarkShadow())
10531 static PyObject
*_wrap_wxEffects_GetDarkShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10532 PyObject
* _resultobj
;
10533 wxColour
* _result
;
10535 PyObject
* _argo0
= 0;
10536 char *_kwnames
[] = { "self", NULL
};
10540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEffects_GetDarkShadow",_kwnames
,&_argo0
))
10543 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10544 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEffects_p")) {
10545 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEffects_GetDarkShadow. Expected _wxEffects_p.");
10550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10551 _result
= new wxColour (wxEffects_GetDarkShadow(_arg0
));
10553 wxPyEndAllowThreads(__tstate
);
10554 if (PyErr_Occurred()) return NULL
;
10555 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
10556 _resultobj
= Py_BuildValue("s",_ptemp
);
10560 #define wxEffects_SetHighlightColour(_swigobj,_swigarg0) (_swigobj->SetHighlightColour(_swigarg0))
10561 static PyObject
*_wrap_wxEffects_SetHighlightColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10562 PyObject
* _resultobj
;
10565 PyObject
* _argo0
= 0;
10567 PyObject
* _obj1
= 0;
10568 char *_kwnames
[] = { "self","c", NULL
};
10571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxEffects_SetHighlightColour",_kwnames
,&_argo0
,&_obj1
))
10574 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10575 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEffects_p")) {
10576 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEffects_SetHighlightColour. Expected _wxEffects_p.");
10582 if (! wxColour_helper(_obj1
, &_arg1
))
10586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10587 wxEffects_SetHighlightColour(_arg0
,*_arg1
);
10589 wxPyEndAllowThreads(__tstate
);
10590 if (PyErr_Occurred()) return NULL
;
10591 } Py_INCREF(Py_None
);
10592 _resultobj
= Py_None
;
10596 #define wxEffects_SetLightShadow(_swigobj,_swigarg0) (_swigobj->SetLightShadow(_swigarg0))
10597 static PyObject
*_wrap_wxEffects_SetLightShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10598 PyObject
* _resultobj
;
10601 PyObject
* _argo0
= 0;
10603 PyObject
* _obj1
= 0;
10604 char *_kwnames
[] = { "self","c", NULL
};
10607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxEffects_SetLightShadow",_kwnames
,&_argo0
,&_obj1
))
10610 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10611 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEffects_p")) {
10612 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEffects_SetLightShadow. Expected _wxEffects_p.");
10618 if (! wxColour_helper(_obj1
, &_arg1
))
10622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10623 wxEffects_SetLightShadow(_arg0
,*_arg1
);
10625 wxPyEndAllowThreads(__tstate
);
10626 if (PyErr_Occurred()) return NULL
;
10627 } Py_INCREF(Py_None
);
10628 _resultobj
= Py_None
;
10632 #define wxEffects_SetFaceColour(_swigobj,_swigarg0) (_swigobj->SetFaceColour(_swigarg0))
10633 static PyObject
*_wrap_wxEffects_SetFaceColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10634 PyObject
* _resultobj
;
10637 PyObject
* _argo0
= 0;
10639 PyObject
* _obj1
= 0;
10640 char *_kwnames
[] = { "self","c", NULL
};
10643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxEffects_SetFaceColour",_kwnames
,&_argo0
,&_obj1
))
10646 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10647 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEffects_p")) {
10648 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEffects_SetFaceColour. Expected _wxEffects_p.");
10654 if (! wxColour_helper(_obj1
, &_arg1
))
10658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10659 wxEffects_SetFaceColour(_arg0
,*_arg1
);
10661 wxPyEndAllowThreads(__tstate
);
10662 if (PyErr_Occurred()) return NULL
;
10663 } Py_INCREF(Py_None
);
10664 _resultobj
= Py_None
;
10668 #define wxEffects_SetMediumShadow(_swigobj,_swigarg0) (_swigobj->SetMediumShadow(_swigarg0))
10669 static PyObject
*_wrap_wxEffects_SetMediumShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10670 PyObject
* _resultobj
;
10673 PyObject
* _argo0
= 0;
10675 PyObject
* _obj1
= 0;
10676 char *_kwnames
[] = { "self","c", NULL
};
10679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxEffects_SetMediumShadow",_kwnames
,&_argo0
,&_obj1
))
10682 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10683 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEffects_p")) {
10684 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEffects_SetMediumShadow. Expected _wxEffects_p.");
10690 if (! wxColour_helper(_obj1
, &_arg1
))
10694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10695 wxEffects_SetMediumShadow(_arg0
,*_arg1
);
10697 wxPyEndAllowThreads(__tstate
);
10698 if (PyErr_Occurred()) return NULL
;
10699 } Py_INCREF(Py_None
);
10700 _resultobj
= Py_None
;
10704 #define wxEffects_SetDarkShadow(_swigobj,_swigarg0) (_swigobj->SetDarkShadow(_swigarg0))
10705 static PyObject
*_wrap_wxEffects_SetDarkShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10706 PyObject
* _resultobj
;
10709 PyObject
* _argo0
= 0;
10711 PyObject
* _obj1
= 0;
10712 char *_kwnames
[] = { "self","c", NULL
};
10715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxEffects_SetDarkShadow",_kwnames
,&_argo0
,&_obj1
))
10718 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10719 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEffects_p")) {
10720 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEffects_SetDarkShadow. Expected _wxEffects_p.");
10726 if (! wxColour_helper(_obj1
, &_arg1
))
10730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10731 wxEffects_SetDarkShadow(_arg0
,*_arg1
);
10733 wxPyEndAllowThreads(__tstate
);
10734 if (PyErr_Occurred()) return NULL
;
10735 } Py_INCREF(Py_None
);
10736 _resultobj
= Py_None
;
10740 #define wxEffects_Set(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->Set(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
10741 static PyObject
*_wrap_wxEffects_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10742 PyObject
* _resultobj
;
10749 PyObject
* _argo0
= 0;
10751 PyObject
* _obj1
= 0;
10753 PyObject
* _obj2
= 0;
10755 PyObject
* _obj3
= 0;
10757 PyObject
* _obj4
= 0;
10759 PyObject
* _obj5
= 0;
10760 char *_kwnames
[] = { "self","highlightColour","lightShadow","faceColour","mediumShadow","darkShadow", NULL
};
10763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOOOO:wxEffects_Set",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&_obj3
,&_obj4
,&_obj5
))
10766 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10767 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEffects_p")) {
10768 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEffects_Set. Expected _wxEffects_p.");
10774 if (! wxColour_helper(_obj1
, &_arg1
))
10779 if (! wxColour_helper(_obj2
, &_arg2
))
10784 if (! wxColour_helper(_obj3
, &_arg3
))
10789 if (! wxColour_helper(_obj4
, &_arg4
))
10794 if (! wxColour_helper(_obj5
, &_arg5
))
10798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10799 wxEffects_Set(_arg0
,*_arg1
,*_arg2
,*_arg3
,*_arg4
,*_arg5
);
10801 wxPyEndAllowThreads(__tstate
);
10802 if (PyErr_Occurred()) return NULL
;
10803 } Py_INCREF(Py_None
);
10804 _resultobj
= Py_None
;
10808 #define wxEffects_DrawSunkenEdge(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawSunkenEdge(_swigarg0,_swigarg1,_swigarg2))
10809 static PyObject
*_wrap_wxEffects_DrawSunkenEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10810 PyObject
* _resultobj
;
10814 int _arg3
= (int ) 1;
10815 PyObject
* _argo0
= 0;
10816 PyObject
* _argo1
= 0;
10818 PyObject
* _obj2
= 0;
10819 char *_kwnames
[] = { "self","dc","rect","borderSize", NULL
};
10822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|i:wxEffects_DrawSunkenEdge",_kwnames
,&_argo0
,&_argo1
,&_obj2
,&_arg3
))
10825 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10826 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEffects_p")) {
10827 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEffects_DrawSunkenEdge. Expected _wxEffects_p.");
10832 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
10833 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxEffects_DrawSunkenEdge. Expected _wxDC_p.");
10839 if (! wxRect_helper(_obj2
, &_arg2
))
10843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10844 wxEffects_DrawSunkenEdge(_arg0
,*_arg1
,*_arg2
,_arg3
);
10846 wxPyEndAllowThreads(__tstate
);
10847 if (PyErr_Occurred()) return NULL
;
10848 } Py_INCREF(Py_None
);
10849 _resultobj
= Py_None
;
10853 #define wxEffects_TileBitmap(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->TileBitmap(_swigarg0,_swigarg1,_swigarg2))
10854 static PyObject
*_wrap_wxEffects_TileBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10855 PyObject
* _resultobj
;
10861 PyObject
* _argo0
= 0;
10863 PyObject
* _obj1
= 0;
10864 PyObject
* _argo2
= 0;
10865 PyObject
* _argo3
= 0;
10866 char *_kwnames
[] = { "self","rect","dc","bitmap", NULL
};
10869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO:wxEffects_TileBitmap",_kwnames
,&_argo0
,&_obj1
,&_argo2
,&_argo3
))
10872 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10873 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEffects_p")) {
10874 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEffects_TileBitmap. Expected _wxEffects_p.");
10880 if (! wxRect_helper(_obj1
, &_arg1
))
10884 if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxDC_p")) {
10885 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxEffects_TileBitmap. Expected _wxDC_p.");
10890 if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxBitmap_p")) {
10891 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxEffects_TileBitmap. Expected _wxBitmap_p.");
10896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10897 _result
= (bool )wxEffects_TileBitmap(_arg0
,*_arg1
,*_arg2
,*_arg3
);
10899 wxPyEndAllowThreads(__tstate
);
10900 if (PyErr_Occurred()) return NULL
;
10901 } _resultobj
= Py_BuildValue("i",_result
);
10905 #define new_wxSingleInstanceChecker(_swigarg0,_swigarg1) (new wxSingleInstanceChecker(_swigarg0,_swigarg1))
10906 static PyObject
*_wrap_new_wxSingleInstanceChecker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10907 PyObject
* _resultobj
;
10908 wxSingleInstanceChecker
* _result
;
10910 wxString
* _arg1
= (wxString
*) &wxPyEmptyString
;
10911 PyObject
* _obj0
= 0;
10912 PyObject
* _obj1
= 0;
10913 char *_kwnames
[] = { "name","path", NULL
};
10917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:new_wxSingleInstanceChecker",_kwnames
,&_obj0
,&_obj1
))
10920 _arg0
= wxString_in_helper(_obj0
);
10926 _arg1
= wxString_in_helper(_obj1
);
10931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10932 _result
= (wxSingleInstanceChecker
*)new_wxSingleInstanceChecker(*_arg0
,*_arg1
);
10934 wxPyEndAllowThreads(__tstate
);
10935 if (PyErr_Occurred()) return NULL
;
10937 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSingleInstanceChecker_p");
10938 _resultobj
= Py_BuildValue("s",_ptemp
);
10940 Py_INCREF(Py_None
);
10941 _resultobj
= Py_None
;
10954 #define new_wxPreSingleInstanceChecker() (new wxSingleInstanceChecker())
10955 static PyObject
*_wrap_new_wxPreSingleInstanceChecker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10956 PyObject
* _resultobj
;
10957 wxSingleInstanceChecker
* _result
;
10958 char *_kwnames
[] = { NULL
};
10962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreSingleInstanceChecker",_kwnames
))
10965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10966 _result
= (wxSingleInstanceChecker
*)new_wxPreSingleInstanceChecker();
10968 wxPyEndAllowThreads(__tstate
);
10969 if (PyErr_Occurred()) return NULL
;
10971 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSingleInstanceChecker_p");
10972 _resultobj
= Py_BuildValue("s",_ptemp
);
10974 Py_INCREF(Py_None
);
10975 _resultobj
= Py_None
;
10980 #define delete_wxSingleInstanceChecker(_swigobj) (delete _swigobj)
10981 static PyObject
*_wrap_delete_wxSingleInstanceChecker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10982 PyObject
* _resultobj
;
10983 wxSingleInstanceChecker
* _arg0
;
10984 PyObject
* _argo0
= 0;
10985 char *_kwnames
[] = { "self", NULL
};
10988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxSingleInstanceChecker",_kwnames
,&_argo0
))
10991 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10992 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSingleInstanceChecker_p")) {
10993 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxSingleInstanceChecker. Expected _wxSingleInstanceChecker_p.");
10998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10999 delete_wxSingleInstanceChecker(_arg0
);
11001 wxPyEndAllowThreads(__tstate
);
11002 if (PyErr_Occurred()) return NULL
;
11003 } Py_INCREF(Py_None
);
11004 _resultobj
= Py_None
;
11008 #define wxSingleInstanceChecker_Create(_swigobj,_swigarg0,_swigarg1) (_swigobj->Create(_swigarg0,_swigarg1))
11009 static PyObject
*_wrap_wxSingleInstanceChecker_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11010 PyObject
* _resultobj
;
11012 wxSingleInstanceChecker
* _arg0
;
11014 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
11015 PyObject
* _argo0
= 0;
11016 PyObject
* _obj1
= 0;
11017 PyObject
* _obj2
= 0;
11018 char *_kwnames
[] = { "self","name","path", NULL
};
11021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxSingleInstanceChecker_Create",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
11024 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11025 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSingleInstanceChecker_p")) {
11026 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSingleInstanceChecker_Create. Expected _wxSingleInstanceChecker_p.");
11031 _arg1
= wxString_in_helper(_obj1
);
11037 _arg2
= wxString_in_helper(_obj2
);
11042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11043 _result
= (bool )wxSingleInstanceChecker_Create(_arg0
,*_arg1
,*_arg2
);
11045 wxPyEndAllowThreads(__tstate
);
11046 if (PyErr_Occurred()) return NULL
;
11047 } _resultobj
= Py_BuildValue("i",_result
);
11059 #define wxSingleInstanceChecker_IsAnotherRunning(_swigobj) (_swigobj->IsAnotherRunning())
11060 static PyObject
*_wrap_wxSingleInstanceChecker_IsAnotherRunning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11061 PyObject
* _resultobj
;
11063 wxSingleInstanceChecker
* _arg0
;
11064 PyObject
* _argo0
= 0;
11065 char *_kwnames
[] = { "self", NULL
};
11068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSingleInstanceChecker_IsAnotherRunning",_kwnames
,&_argo0
))
11071 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11072 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSingleInstanceChecker_p")) {
11073 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSingleInstanceChecker_IsAnotherRunning. Expected _wxSingleInstanceChecker_p.");
11078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11079 _result
= (bool )wxSingleInstanceChecker_IsAnotherRunning(_arg0
);
11081 wxPyEndAllowThreads(__tstate
);
11082 if (PyErr_Occurred()) return NULL
;
11083 } _resultobj
= Py_BuildValue("i",_result
);
11087 static PyMethodDef misc2cMethods
[] = {
11088 { "wxSingleInstanceChecker_IsAnotherRunning", (PyCFunction
) _wrap_wxSingleInstanceChecker_IsAnotherRunning
, METH_VARARGS
| METH_KEYWORDS
},
11089 { "wxSingleInstanceChecker_Create", (PyCFunction
) _wrap_wxSingleInstanceChecker_Create
, METH_VARARGS
| METH_KEYWORDS
},
11090 { "delete_wxSingleInstanceChecker", (PyCFunction
) _wrap_delete_wxSingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
},
11091 { "new_wxPreSingleInstanceChecker", (PyCFunction
) _wrap_new_wxPreSingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
},
11092 { "new_wxSingleInstanceChecker", (PyCFunction
) _wrap_new_wxSingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
},
11093 { "wxEffects_TileBitmap", (PyCFunction
) _wrap_wxEffects_TileBitmap
, METH_VARARGS
| METH_KEYWORDS
},
11094 { "wxEffects_DrawSunkenEdge", (PyCFunction
) _wrap_wxEffects_DrawSunkenEdge
, METH_VARARGS
| METH_KEYWORDS
},
11095 { "wxEffects_Set", (PyCFunction
) _wrap_wxEffects_Set
, METH_VARARGS
| METH_KEYWORDS
},
11096 { "wxEffects_SetDarkShadow", (PyCFunction
) _wrap_wxEffects_SetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
},
11097 { "wxEffects_SetMediumShadow", (PyCFunction
) _wrap_wxEffects_SetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
},
11098 { "wxEffects_SetFaceColour", (PyCFunction
) _wrap_wxEffects_SetFaceColour
, METH_VARARGS
| METH_KEYWORDS
},
11099 { "wxEffects_SetLightShadow", (PyCFunction
) _wrap_wxEffects_SetLightShadow
, METH_VARARGS
| METH_KEYWORDS
},
11100 { "wxEffects_SetHighlightColour", (PyCFunction
) _wrap_wxEffects_SetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
},
11101 { "wxEffects_GetDarkShadow", (PyCFunction
) _wrap_wxEffects_GetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
},
11102 { "wxEffects_GetMediumShadow", (PyCFunction
) _wrap_wxEffects_GetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
},
11103 { "wxEffects_GetFaceColour", (PyCFunction
) _wrap_wxEffects_GetFaceColour
, METH_VARARGS
| METH_KEYWORDS
},
11104 { "wxEffects_GetLightShadow", (PyCFunction
) _wrap_wxEffects_GetLightShadow
, METH_VARARGS
| METH_KEYWORDS
},
11105 { "wxEffects_GetHighlightColour", (PyCFunction
) _wrap_wxEffects_GetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
},
11106 { "new_wxEffects", (PyCFunction
) _wrap_new_wxEffects
, METH_VARARGS
| METH_KEYWORDS
},
11107 { "wxFileHistory_GetNoHistoryFiles", (PyCFunction
) _wrap_wxFileHistory_GetNoHistoryFiles
, METH_VARARGS
| METH_KEYWORDS
},
11108 { "wxFileHistory_GetCount", (PyCFunction
) _wrap_wxFileHistory_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
11109 { "wxFileHistory_GetHistoryFile", (PyCFunction
) _wrap_wxFileHistory_GetHistoryFile
, METH_VARARGS
| METH_KEYWORDS
},
11110 { "wxFileHistory_AddFilesToThisMenu", (PyCFunction
) _wrap_wxFileHistory_AddFilesToThisMenu
, METH_VARARGS
| METH_KEYWORDS
},
11111 { "wxFileHistory_AddFilesToMenu", (PyCFunction
) _wrap_wxFileHistory_AddFilesToMenu
, METH_VARARGS
| METH_KEYWORDS
},
11112 { "wxFileHistory_Save", (PyCFunction
) _wrap_wxFileHistory_Save
, METH_VARARGS
| METH_KEYWORDS
},
11113 { "wxFileHistory_Load", (PyCFunction
) _wrap_wxFileHistory_Load
, METH_VARARGS
| METH_KEYWORDS
},
11114 { "wxFileHistory_RemoveMenu", (PyCFunction
) _wrap_wxFileHistory_RemoveMenu
, METH_VARARGS
| METH_KEYWORDS
},
11115 { "wxFileHistory_UseMenu", (PyCFunction
) _wrap_wxFileHistory_UseMenu
, METH_VARARGS
| METH_KEYWORDS
},
11116 { "wxFileHistory_GetMaxFiles", (PyCFunction
) _wrap_wxFileHistory_GetMaxFiles
, METH_VARARGS
| METH_KEYWORDS
},
11117 { "wxFileHistory_RemoveFileFromHistory", (PyCFunction
) _wrap_wxFileHistory_RemoveFileFromHistory
, METH_VARARGS
| METH_KEYWORDS
},
11118 { "wxFileHistory_AddFileToHistory", (PyCFunction
) _wrap_wxFileHistory_AddFileToHistory
, METH_VARARGS
| METH_KEYWORDS
},
11119 { "delete_wxFileHistory", (PyCFunction
) _wrap_delete_wxFileHistory
, METH_VARARGS
| METH_KEYWORDS
},
11120 { "new_wxFileHistory", (PyCFunction
) _wrap_new_wxFileHistory
, METH_VARARGS
| METH_KEYWORDS
},
11121 { "wxArtProvider_GetIcon", (PyCFunction
) _wrap_wxArtProvider_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
11122 { "wxArtProvider_GetBitmap", (PyCFunction
) _wrap_wxArtProvider_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
11123 { "wxArtProvider_RemoveProvider", (PyCFunction
) _wrap_wxArtProvider_RemoveProvider
, METH_VARARGS
| METH_KEYWORDS
},
11124 { "wxArtProvider_PopProvider", (PyCFunction
) _wrap_wxArtProvider_PopProvider
, METH_VARARGS
| METH_KEYWORDS
},
11125 { "wxArtProvider_PushProvider", (PyCFunction
) _wrap_wxArtProvider_PushProvider
, METH_VARARGS
| METH_KEYWORDS
},
11126 { "wxArtProvider__setCallbackInfo", (PyCFunction
) _wrap_wxArtProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
11127 { "new_wxArtProvider", (PyCFunction
) _wrap_new_wxArtProvider
, METH_VARARGS
| METH_KEYWORDS
},
11128 { "delete_wxMimeTypesManager", (PyCFunction
) _wrap_delete_wxMimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
},
11129 { "wxMimeTypesManager_Unassociate", (PyCFunction
) _wrap_wxMimeTypesManager_Unassociate
, METH_VARARGS
| METH_KEYWORDS
},
11130 { "wxMimeTypesManager_Associate", (PyCFunction
) _wrap_wxMimeTypesManager_Associate
, METH_VARARGS
| METH_KEYWORDS
},
11131 { "wxMimeTypesManager_AddFallback", (PyCFunction
) _wrap_wxMimeTypesManager_AddFallback
, METH_VARARGS
| METH_KEYWORDS
},
11132 { "wxMimeTypesManager_EnumAllFileTypes", (PyCFunction
) _wrap_wxMimeTypesManager_EnumAllFileTypes
, METH_VARARGS
| METH_KEYWORDS
},
11133 { "wxMimeTypesManager_ReadMimeTypes", (PyCFunction
) _wrap_wxMimeTypesManager_ReadMimeTypes
, METH_VARARGS
| METH_KEYWORDS
},
11134 { "wxMimeTypesManager_ReadMailcap", (PyCFunction
) _wrap_wxMimeTypesManager_ReadMailcap
, METH_VARARGS
| METH_KEYWORDS
},
11135 { "wxMimeTypesManager_GetFileTypeFromMimeType", (PyCFunction
) _wrap_wxMimeTypesManager_GetFileTypeFromMimeType
, METH_VARARGS
| METH_KEYWORDS
},
11136 { "wxMimeTypesManager_GetFileTypeFromExtension", (PyCFunction
) _wrap_wxMimeTypesManager_GetFileTypeFromExtension
, METH_VARARGS
| METH_KEYWORDS
},
11137 { "wxMimeTypesManager_ClearData", (PyCFunction
) _wrap_wxMimeTypesManager_ClearData
, METH_VARARGS
| METH_KEYWORDS
},
11138 { "wxMimeTypesManager_Initialize", (PyCFunction
) _wrap_wxMimeTypesManager_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
11139 { "new_wxMimeTypesManager", (PyCFunction
) _wrap_new_wxMimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
},
11140 { "wxMimeTypesManager_IsOfType", (PyCFunction
) _wrap_wxMimeTypesManager_IsOfType
, METH_VARARGS
| METH_KEYWORDS
},
11141 { "delete_wxFileType", (PyCFunction
) _wrap_delete_wxFileType
, METH_VARARGS
| METH_KEYWORDS
},
11142 { "wxFileType_ExpandCommand", (PyCFunction
) _wrap_wxFileType_ExpandCommand
, METH_VARARGS
| METH_KEYWORDS
},
11143 { "wxFileType_Unassociate", (PyCFunction
) _wrap_wxFileType_Unassociate
, METH_VARARGS
| METH_KEYWORDS
},
11144 { "wxFileType_SetDefaultIcon", (PyCFunction
) _wrap_wxFileType_SetDefaultIcon
, METH_VARARGS
| METH_KEYWORDS
},
11145 { "wxFileType_SetCommand", (PyCFunction
) _wrap_wxFileType_SetCommand
, METH_VARARGS
| METH_KEYWORDS
},
11146 { "wxFileType_GetAllCommands", (PyCFunction
) _wrap_wxFileType_GetAllCommands
, METH_VARARGS
| METH_KEYWORDS
},
11147 { "wxFileType_GetPrintCommand", (PyCFunction
) _wrap_wxFileType_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
},
11148 { "wxFileType_GetOpenCommand", (PyCFunction
) _wrap_wxFileType_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
},
11149 { "wxFileType_GetDescription", (PyCFunction
) _wrap_wxFileType_GetDescription
, METH_VARARGS
| METH_KEYWORDS
},
11150 { "wxFileType_GetIconInfo", (PyCFunction
) _wrap_wxFileType_GetIconInfo
, METH_VARARGS
| METH_KEYWORDS
},
11151 { "wxFileType_GetIcon", (PyCFunction
) _wrap_wxFileType_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
11152 { "wxFileType_GetExtensions", (PyCFunction
) _wrap_wxFileType_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
},
11153 { "wxFileType_GetMimeTypes", (PyCFunction
) _wrap_wxFileType_GetMimeTypes
, METH_VARARGS
| METH_KEYWORDS
},
11154 { "wxFileType_GetMimeType", (PyCFunction
) _wrap_wxFileType_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
11155 { "new_wxFileType", (PyCFunction
) _wrap_new_wxFileType
, METH_VARARGS
| METH_KEYWORDS
},
11156 { "wxFileTypeInfo_GetIconIndex", (PyCFunction
) _wrap_wxFileTypeInfo_GetIconIndex
, METH_VARARGS
| METH_KEYWORDS
},
11157 { "wxFileTypeInfo_GetIconFile", (PyCFunction
) _wrap_wxFileTypeInfo_GetIconFile
, METH_VARARGS
| METH_KEYWORDS
},
11158 { "wxFileTypeInfo_GetExtensionsCount", (PyCFunction
) _wrap_wxFileTypeInfo_GetExtensionsCount
, METH_VARARGS
| METH_KEYWORDS
},
11159 { "wxFileTypeInfo_GetExtensions", (PyCFunction
) _wrap_wxFileTypeInfo_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
},
11160 { "wxFileTypeInfo_GetDescription", (PyCFunction
) _wrap_wxFileTypeInfo_GetDescription
, METH_VARARGS
| METH_KEYWORDS
},
11161 { "wxFileTypeInfo_GetShortDesc", (PyCFunction
) _wrap_wxFileTypeInfo_GetShortDesc
, METH_VARARGS
| METH_KEYWORDS
},
11162 { "wxFileTypeInfo_GetPrintCommand", (PyCFunction
) _wrap_wxFileTypeInfo_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
},
11163 { "wxFileTypeInfo_GetOpenCommand", (PyCFunction
) _wrap_wxFileTypeInfo_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
},
11164 { "wxFileTypeInfo_GetMimeType", (PyCFunction
) _wrap_wxFileTypeInfo_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
11165 { "wxFileTypeInfo_SetShortDesc", (PyCFunction
) _wrap_wxFileTypeInfo_SetShortDesc
, METH_VARARGS
| METH_KEYWORDS
},
11166 { "wxFileTypeInfo_SetIcon", (PyCFunction
) _wrap_wxFileTypeInfo_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
11167 { "wxFileTypeInfo_IsValid", (PyCFunction
) _wrap_wxFileTypeInfo_IsValid
, METH_VARARGS
| METH_KEYWORDS
},
11168 { "new_wxNullFileTypeInfo", (PyCFunction
) _wrap_new_wxNullFileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
},
11169 { "new_wxFileTypeInfoSequence", (PyCFunction
) _wrap_new_wxFileTypeInfoSequence
, METH_VARARGS
| METH_KEYWORDS
},
11170 { "new_wxFileTypeInfo", (PyCFunction
) _wrap_new_wxFileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
},
11171 { "wxWave_Play", (PyCFunction
) _wrap_wxWave_Play
, METH_VARARGS
| METH_KEYWORDS
},
11172 { "wxWave_IsOk", (PyCFunction
) _wrap_wxWave_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
11173 { "delete_wxWave", (PyCFunction
) _wrap_delete_wxWave
, METH_VARARGS
| METH_KEYWORDS
},
11174 { "new_wxWave", (PyCFunction
) _wrap_new_wxWave
, METH_VARARGS
| METH_KEYWORDS
},
11175 { "wxJoystick_ReleaseCapture", (PyCFunction
) _wrap_wxJoystick_ReleaseCapture
, METH_VARARGS
| METH_KEYWORDS
},
11176 { "wxJoystick_SetCapture", (PyCFunction
) _wrap_wxJoystick_SetCapture
, METH_VARARGS
| METH_KEYWORDS
},
11177 { "wxJoystick_HasPOVCTS", (PyCFunction
) _wrap_wxJoystick_HasPOVCTS
, METH_VARARGS
| METH_KEYWORDS
},
11178 { "wxJoystick_HasPOV4Dir", (PyCFunction
) _wrap_wxJoystick_HasPOV4Dir
, METH_VARARGS
| METH_KEYWORDS
},
11179 { "wxJoystick_HasPOV", (PyCFunction
) _wrap_wxJoystick_HasPOV
, METH_VARARGS
| METH_KEYWORDS
},
11180 { "wxJoystick_HasV", (PyCFunction
) _wrap_wxJoystick_HasV
, METH_VARARGS
| METH_KEYWORDS
},
11181 { "wxJoystick_HasU", (PyCFunction
) _wrap_wxJoystick_HasU
, METH_VARARGS
| METH_KEYWORDS
},
11182 { "wxJoystick_HasZ", (PyCFunction
) _wrap_wxJoystick_HasZ
, METH_VARARGS
| METH_KEYWORDS
},
11183 { "wxJoystick_HasRudder", (PyCFunction
) _wrap_wxJoystick_HasRudder
, METH_VARARGS
| METH_KEYWORDS
},
11184 { "wxJoystick_GetVMax", (PyCFunction
) _wrap_wxJoystick_GetVMax
, METH_VARARGS
| METH_KEYWORDS
},
11185 { "wxJoystick_GetVMin", (PyCFunction
) _wrap_wxJoystick_GetVMin
, METH_VARARGS
| METH_KEYWORDS
},
11186 { "wxJoystick_GetUMax", (PyCFunction
) _wrap_wxJoystick_GetUMax
, METH_VARARGS
| METH_KEYWORDS
},
11187 { "wxJoystick_GetUMin", (PyCFunction
) _wrap_wxJoystick_GetUMin
, METH_VARARGS
| METH_KEYWORDS
},
11188 { "wxJoystick_GetRudderMax", (PyCFunction
) _wrap_wxJoystick_GetRudderMax
, METH_VARARGS
| METH_KEYWORDS
},
11189 { "wxJoystick_GetRudderMin", (PyCFunction
) _wrap_wxJoystick_GetRudderMin
, METH_VARARGS
| METH_KEYWORDS
},
11190 { "wxJoystick_GetPollingMax", (PyCFunction
) _wrap_wxJoystick_GetPollingMax
, METH_VARARGS
| METH_KEYWORDS
},
11191 { "wxJoystick_GetPollingMin", (PyCFunction
) _wrap_wxJoystick_GetPollingMin
, METH_VARARGS
| METH_KEYWORDS
},
11192 { "wxJoystick_GetMaxAxes", (PyCFunction
) _wrap_wxJoystick_GetMaxAxes
, METH_VARARGS
| METH_KEYWORDS
},
11193 { "wxJoystick_GetMaxButtons", (PyCFunction
) _wrap_wxJoystick_GetMaxButtons
, METH_VARARGS
| METH_KEYWORDS
},
11194 { "wxJoystick_GetNumberAxes", (PyCFunction
) _wrap_wxJoystick_GetNumberAxes
, METH_VARARGS
| METH_KEYWORDS
},
11195 { "wxJoystick_GetNumberButtons", (PyCFunction
) _wrap_wxJoystick_GetNumberButtons
, METH_VARARGS
| METH_KEYWORDS
},
11196 { "wxJoystick_GetZMax", (PyCFunction
) _wrap_wxJoystick_GetZMax
, METH_VARARGS
| METH_KEYWORDS
},
11197 { "wxJoystick_GetYMax", (PyCFunction
) _wrap_wxJoystick_GetYMax
, METH_VARARGS
| METH_KEYWORDS
},
11198 { "wxJoystick_GetXMax", (PyCFunction
) _wrap_wxJoystick_GetXMax
, METH_VARARGS
| METH_KEYWORDS
},
11199 { "wxJoystick_GetZMin", (PyCFunction
) _wrap_wxJoystick_GetZMin
, METH_VARARGS
| METH_KEYWORDS
},
11200 { "wxJoystick_GetYMin", (PyCFunction
) _wrap_wxJoystick_GetYMin
, METH_VARARGS
| METH_KEYWORDS
},
11201 { "wxJoystick_GetXMin", (PyCFunction
) _wrap_wxJoystick_GetXMin
, METH_VARARGS
| METH_KEYWORDS
},
11202 { "wxJoystick_GetProductName", (PyCFunction
) _wrap_wxJoystick_GetProductName
, METH_VARARGS
| METH_KEYWORDS
},
11203 { "wxJoystick_GetProductId", (PyCFunction
) _wrap_wxJoystick_GetProductId
, METH_VARARGS
| METH_KEYWORDS
},
11204 { "wxJoystick_GetManufacturerId", (PyCFunction
) _wrap_wxJoystick_GetManufacturerId
, METH_VARARGS
| METH_KEYWORDS
},
11205 { "wxJoystick_GetNumberJoysticks", (PyCFunction
) _wrap_wxJoystick_GetNumberJoysticks
, METH_VARARGS
| METH_KEYWORDS
},
11206 { "wxJoystick_IsOk", (PyCFunction
) _wrap_wxJoystick_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
11207 { "wxJoystick_SetMovementThreshold", (PyCFunction
) _wrap_wxJoystick_SetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
},
11208 { "wxJoystick_GetMovementThreshold", (PyCFunction
) _wrap_wxJoystick_GetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
},
11209 { "wxJoystick_GetVPosition", (PyCFunction
) _wrap_wxJoystick_GetVPosition
, METH_VARARGS
| METH_KEYWORDS
},
11210 { "wxJoystick_GetUPosition", (PyCFunction
) _wrap_wxJoystick_GetUPosition
, METH_VARARGS
| METH_KEYWORDS
},
11211 { "wxJoystick_GetRudderPosition", (PyCFunction
) _wrap_wxJoystick_GetRudderPosition
, METH_VARARGS
| METH_KEYWORDS
},
11212 { "wxJoystick_GetPOVCTSPosition", (PyCFunction
) _wrap_wxJoystick_GetPOVCTSPosition
, METH_VARARGS
| METH_KEYWORDS
},
11213 { "wxJoystick_GetPOVPosition", (PyCFunction
) _wrap_wxJoystick_GetPOVPosition
, METH_VARARGS
| METH_KEYWORDS
},
11214 { "wxJoystick_GetButtonState", (PyCFunction
) _wrap_wxJoystick_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
},
11215 { "wxJoystick_GetZPosition", (PyCFunction
) _wrap_wxJoystick_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
},
11216 { "wxJoystick_GetPosition", (PyCFunction
) _wrap_wxJoystick_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
11217 { "delete_wxJoystick", (PyCFunction
) _wrap_delete_wxJoystick
, METH_VARARGS
| METH_KEYWORDS
},
11218 { "new_wxJoystick", (PyCFunction
) _wrap_new_wxJoystick
, METH_VARARGS
| METH_KEYWORDS
},
11219 { "wxProcess_IsErrorAvailable", (PyCFunction
) _wrap_wxProcess_IsErrorAvailable
, METH_VARARGS
| METH_KEYWORDS
},
11220 { "wxProcess_IsInputAvailable", (PyCFunction
) _wrap_wxProcess_IsInputAvailable
, METH_VARARGS
| METH_KEYWORDS
},
11221 { "wxProcess_IsInputOpened", (PyCFunction
) _wrap_wxProcess_IsInputOpened
, METH_VARARGS
| METH_KEYWORDS
},
11222 { "wxProcess_CloseOutput", (PyCFunction
) _wrap_wxProcess_CloseOutput
, METH_VARARGS
| METH_KEYWORDS
},
11223 { "wxProcess_GetOutputStream", (PyCFunction
) _wrap_wxProcess_GetOutputStream
, METH_VARARGS
| METH_KEYWORDS
},
11224 { "wxProcess_GetErrorStream", (PyCFunction
) _wrap_wxProcess_GetErrorStream
, METH_VARARGS
| METH_KEYWORDS
},
11225 { "wxProcess_GetInputStream", (PyCFunction
) _wrap_wxProcess_GetInputStream
, METH_VARARGS
| METH_KEYWORDS
},
11226 { "wxProcess_Detach", (PyCFunction
) _wrap_wxProcess_Detach
, METH_VARARGS
| METH_KEYWORDS
},
11227 { "wxProcess_IsRedirected", (PyCFunction
) _wrap_wxProcess_IsRedirected
, METH_VARARGS
| METH_KEYWORDS
},
11228 { "wxProcess_Redirect", (PyCFunction
) _wrap_wxProcess_Redirect
, METH_VARARGS
| METH_KEYWORDS
},
11229 { "wxProcess_base_OnTerminate", (PyCFunction
) _wrap_wxProcess_base_OnTerminate
, METH_VARARGS
| METH_KEYWORDS
},
11230 { "wxProcess__setCallbackInfo", (PyCFunction
) _wrap_wxProcess__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
11231 { "wxProcess_Destroy", (PyCFunction
) _wrap_wxProcess_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
11232 { "new_wxProcess", (PyCFunction
) _wrap_new_wxProcess
, METH_VARARGS
| METH_KEYWORDS
},
11233 { "wxProcess_Open", (PyCFunction
) _wrap_wxProcess_Open
, METH_VARARGS
| METH_KEYWORDS
},
11234 { "wxProcess_Exists", (PyCFunction
) _wrap_wxProcess_Exists
, METH_VARARGS
| METH_KEYWORDS
},
11235 { "wxProcess_Kill", (PyCFunction
) _wrap_wxProcess_Kill
, METH_VARARGS
| METH_KEYWORDS
},
11236 { "wxProcessEvent_m_exitcode_get", (PyCFunction
) _wrap_wxProcessEvent_m_exitcode_get
, METH_VARARGS
| METH_KEYWORDS
},
11237 { "wxProcessEvent_m_exitcode_set", (PyCFunction
) _wrap_wxProcessEvent_m_exitcode_set
, METH_VARARGS
| METH_KEYWORDS
},
11238 { "wxProcessEvent_m_pid_get", (PyCFunction
) _wrap_wxProcessEvent_m_pid_get
, METH_VARARGS
| METH_KEYWORDS
},
11239 { "wxProcessEvent_m_pid_set", (PyCFunction
) _wrap_wxProcessEvent_m_pid_set
, METH_VARARGS
| METH_KEYWORDS
},
11240 { "wxProcessEvent_GetExitCode", (PyCFunction
) _wrap_wxProcessEvent_GetExitCode
, METH_VARARGS
| METH_KEYWORDS
},
11241 { "wxProcessEvent_GetPid", (PyCFunction
) _wrap_wxProcessEvent_GetPid
, METH_VARARGS
| METH_KEYWORDS
},
11242 { "new_wxProcessEvent", (PyCFunction
) _wrap_new_wxProcessEvent
, METH_VARARGS
| METH_KEYWORDS
},
11243 { "wxPyLog_Destroy", (PyCFunction
) _wrap_wxPyLog_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
11244 { "wxPyLog__setCallbackInfo", (PyCFunction
) _wrap_wxPyLog__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
11245 { "new_wxPyLog", (PyCFunction
) _wrap_new_wxPyLog
, METH_VARARGS
| METH_KEYWORDS
},
11246 { "delete_wxLogNull", (PyCFunction
) _wrap_delete_wxLogNull
, METH_VARARGS
| METH_KEYWORDS
},
11247 { "new_wxLogNull", (PyCFunction
) _wrap_new_wxLogNull
, METH_VARARGS
| METH_KEYWORDS
},
11248 { "wxLogChain_GetOldLog", (PyCFunction
) _wrap_wxLogChain_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
},
11249 { "wxLogChain_IsPassingMessages", (PyCFunction
) _wrap_wxLogChain_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
},
11250 { "wxLogChain_PassMessages", (PyCFunction
) _wrap_wxLogChain_PassMessages
, METH_VARARGS
| METH_KEYWORDS
},
11251 { "wxLogChain_SetLog", (PyCFunction
) _wrap_wxLogChain_SetLog
, METH_VARARGS
| METH_KEYWORDS
},
11252 { "new_wxLogChain", (PyCFunction
) _wrap_new_wxLogChain
, METH_VARARGS
| METH_KEYWORDS
},
11253 { "wxLogWindow_PassMessages", (PyCFunction
) _wrap_wxLogWindow_PassMessages
, METH_VARARGS
| METH_KEYWORDS
},
11254 { "wxLogWindow_IsPassingMessages", (PyCFunction
) _wrap_wxLogWindow_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
},
11255 { "wxLogWindow_GetOldLog", (PyCFunction
) _wrap_wxLogWindow_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
},
11256 { "wxLogWindow_GetFrame", (PyCFunction
) _wrap_wxLogWindow_GetFrame
, METH_VARARGS
| METH_KEYWORDS
},
11257 { "wxLogWindow_Show", (PyCFunction
) _wrap_wxLogWindow_Show
, METH_VARARGS
| METH_KEYWORDS
},
11258 { "new_wxLogWindow", (PyCFunction
) _wrap_new_wxLogWindow
, METH_VARARGS
| METH_KEYWORDS
},
11259 { "new_wxLogGui", (PyCFunction
) _wrap_new_wxLogGui
, METH_VARARGS
| METH_KEYWORDS
},
11260 { "new_wxLogTextCtrl", (PyCFunction
) _wrap_new_wxLogTextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
11261 { "new_wxLogStderr", (PyCFunction
) _wrap_new_wxLogStderr
, METH_VARARGS
| METH_KEYWORDS
},
11262 { "wxLog_TimeStamp", (PyCFunction
) _wrap_wxLog_TimeStamp
, METH_VARARGS
| METH_KEYWORDS
},
11263 { "wxLog_GetLogLevel", (PyCFunction
) _wrap_wxLog_GetLogLevel
, METH_VARARGS
| METH_KEYWORDS
},
11264 { "wxLog_SetLogLevel", (PyCFunction
) _wrap_wxLog_SetLogLevel
, METH_VARARGS
| METH_KEYWORDS
},
11265 { "wxLog_IsAllowedTraceMask", (PyCFunction
) _wrap_wxLog_IsAllowedTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
11266 { "wxLog_GetTraceMask", (PyCFunction
) _wrap_wxLog_GetTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
11267 { "wxLog_GetVerbose", (PyCFunction
) _wrap_wxLog_GetVerbose
, METH_VARARGS
| METH_KEYWORDS
},
11268 { "wxLog_GetTimestamp", (PyCFunction
) _wrap_wxLog_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
11269 { "wxLog_SetTimestamp", (PyCFunction
) _wrap_wxLog_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
11270 { "wxLog_GetTraceMasks", (PyCFunction
) _wrap_wxLog_GetTraceMasks
, METH_VARARGS
| METH_KEYWORDS
},
11271 { "wxLog_ClearTraceMasks", (PyCFunction
) _wrap_wxLog_ClearTraceMasks
, METH_VARARGS
| METH_KEYWORDS
},
11272 { "wxLog_RemoveTraceMask", (PyCFunction
) _wrap_wxLog_RemoveTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
11273 { "wxLog_AddTraceMask", (PyCFunction
) _wrap_wxLog_AddTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
11274 { "wxLog_SetTraceMask", (PyCFunction
) _wrap_wxLog_SetTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
11275 { "wxLog_DontCreateOnDemand", (PyCFunction
) _wrap_wxLog_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
},
11276 { "wxLog_SetVerbose", (PyCFunction
) _wrap_wxLog_SetVerbose
, METH_VARARGS
| METH_KEYWORDS
},
11277 { "wxLog_Resume", (PyCFunction
) _wrap_wxLog_Resume
, METH_VARARGS
| METH_KEYWORDS
},
11278 { "wxLog_Suspend", (PyCFunction
) _wrap_wxLog_Suspend
, METH_VARARGS
| METH_KEYWORDS
},
11279 { "wxLog_SetActiveTarget", (PyCFunction
) _wrap_wxLog_SetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
},
11280 { "wxLog_GetActiveTarget", (PyCFunction
) _wrap_wxLog_GetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
},
11281 { "wxLog_FlushActive", (PyCFunction
) _wrap_wxLog_FlushActive
, METH_VARARGS
| METH_KEYWORDS
},
11282 { "wxLog_Flush", (PyCFunction
) _wrap_wxLog_Flush
, METH_VARARGS
| METH_KEYWORDS
},
11283 { "wxLog_OnLog", (PyCFunction
) _wrap_wxLog_OnLog
, METH_VARARGS
| METH_KEYWORDS
},
11284 { "wxLog_EnableLogging", (PyCFunction
) _wrap_wxLog_EnableLogging
, METH_VARARGS
| METH_KEYWORDS
},
11285 { "wxLog_IsEnabled", (PyCFunction
) _wrap_wxLog_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
11286 { "new_wxLog", (PyCFunction
) _wrap_new_wxLog
, METH_VARARGS
| METH_KEYWORDS
},
11287 { "wxStopWatch_Time", (PyCFunction
) _wrap_wxStopWatch_Time
, METH_VARARGS
| METH_KEYWORDS
},
11288 { "wxStopWatch_Resume", (PyCFunction
) _wrap_wxStopWatch_Resume
, METH_VARARGS
| METH_KEYWORDS
},
11289 { "wxStopWatch_Pause", (PyCFunction
) _wrap_wxStopWatch_Pause
, METH_VARARGS
| METH_KEYWORDS
},
11290 { "wxStopWatch_Start", (PyCFunction
) _wrap_wxStopWatch_Start
, METH_VARARGS
| METH_KEYWORDS
},
11291 { "delete_wxStopWatch", (PyCFunction
) _wrap_delete_wxStopWatch
, METH_VARARGS
| METH_KEYWORDS
},
11292 { "new_wxStopWatch", (PyCFunction
) _wrap_new_wxStopWatch
, METH_VARARGS
| METH_KEYWORDS
},
11293 { "wxPyTimer_Stop", (PyCFunction
) _wrap_wxPyTimer_Stop
, METH_VARARGS
| METH_KEYWORDS
},
11294 { "wxPyTimer_Start", (PyCFunction
) _wrap_wxPyTimer_Start
, METH_VARARGS
| METH_KEYWORDS
},
11295 { "wxPyTimer_SetOwner", (PyCFunction
) _wrap_wxPyTimer_SetOwner
, METH_VARARGS
| METH_KEYWORDS
},
11296 { "wxPyTimer_IsRunning", (PyCFunction
) _wrap_wxPyTimer_IsRunning
, METH_VARARGS
| METH_KEYWORDS
},
11297 { "wxPyTimer_IsOneShot", (PyCFunction
) _wrap_wxPyTimer_IsOneShot
, METH_VARARGS
| METH_KEYWORDS
},
11298 { "wxPyTimer_GetInterval", (PyCFunction
) _wrap_wxPyTimer_GetInterval
, METH_VARARGS
| METH_KEYWORDS
},
11299 { "delete_wxPyTimer", (PyCFunction
) _wrap_delete_wxPyTimer
, METH_VARARGS
| METH_KEYWORDS
},
11300 { "new_wxPyTimer", (PyCFunction
) _wrap_new_wxPyTimer
, METH_VARARGS
| METH_KEYWORDS
},
11301 { "wxDragImage_RedrawImage", (PyCFunction
) _wrap_wxDragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
},
11302 { "wxDragImage_GetImageRect", (PyCFunction
) _wrap_wxDragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
},
11303 { "wxDragImage_Hide", (PyCFunction
) _wrap_wxDragImage_Hide
, METH_VARARGS
| METH_KEYWORDS
},
11304 { "wxDragImage_Show", (PyCFunction
) _wrap_wxDragImage_Show
, METH_VARARGS
| METH_KEYWORDS
},
11305 { "wxDragImage_Move", (PyCFunction
) _wrap_wxDragImage_Move
, METH_VARARGS
| METH_KEYWORDS
},
11306 { "wxDragImage_EndDrag", (PyCFunction
) _wrap_wxDragImage_EndDrag
, METH_VARARGS
| METH_KEYWORDS
},
11307 { "wxDragImage_BeginDragBounded", (PyCFunction
) _wrap_wxDragImage_BeginDragBounded
, METH_VARARGS
| METH_KEYWORDS
},
11308 { "wxDragImage_BeginDrag", (PyCFunction
) _wrap_wxDragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
},
11309 { "wxDragImage_SetBackingBitmap", (PyCFunction
) _wrap_wxDragImage_SetBackingBitmap
, METH_VARARGS
| METH_KEYWORDS
},
11310 { "delete_wxDragImage", (PyCFunction
) _wrap_delete_wxDragImage
, METH_VARARGS
| METH_KEYWORDS
},
11311 { "new_wxDragListItem", (PyCFunction
) _wrap_new_wxDragListItem
, METH_VARARGS
| METH_KEYWORDS
},
11312 { "new_wxDragTreeItem", (PyCFunction
) _wrap_new_wxDragTreeItem
, METH_VARARGS
| METH_KEYWORDS
},
11313 { "new_wxDragString", (PyCFunction
) _wrap_new_wxDragString
, METH_VARARGS
| METH_KEYWORDS
},
11314 { "new_wxDragIcon", (PyCFunction
) _wrap_new_wxDragIcon
, METH_VARARGS
| METH_KEYWORDS
},
11315 { "new_wxDragImage", (PyCFunction
) _wrap_new_wxDragImage
, METH_VARARGS
| METH_KEYWORDS
},
11316 { "wxPyTipProvider__setCallbackInfo", (PyCFunction
) _wrap_wxPyTipProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
11317 { "new_wxPyTipProvider", (PyCFunction
) _wrap_new_wxPyTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
11318 { "wxTipProvider_PreprocessTip", (PyCFunction
) _wrap_wxTipProvider_PreprocessTip
, METH_VARARGS
| METH_KEYWORDS
},
11319 { "wxTipProvider_GetCurrentTip", (PyCFunction
) _wrap_wxTipProvider_GetCurrentTip
, METH_VARARGS
| METH_KEYWORDS
},
11320 { "wxTipProvider_GetTip", (PyCFunction
) _wrap_wxTipProvider_GetTip
, METH_VARARGS
| METH_KEYWORDS
},
11321 { "delete_wxTipProvider", (PyCFunction
) _wrap_delete_wxTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
11322 { "delete_wxMutexGuiLocker", (PyCFunction
) _wrap_delete_wxMutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
},
11323 { "new_wxMutexGuiLocker", (PyCFunction
) _wrap_new_wxMutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
},
11324 { "delete_wxWindowDisabler", (PyCFunction
) _wrap_delete_wxWindowDisabler
, METH_VARARGS
| METH_KEYWORDS
},
11325 { "new_wxWindowDisabler", (PyCFunction
) _wrap_new_wxWindowDisabler
, METH_VARARGS
| METH_KEYWORDS
},
11326 { "delete_wxBusyCursor", (PyCFunction
) _wrap_delete_wxBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
11327 { "new_wxBusyCursor", (PyCFunction
) _wrap_new_wxBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
11328 { "wxCaret_Hide", (PyCFunction
) _wrap_wxCaret_Hide
, METH_VARARGS
| METH_KEYWORDS
},
11329 { "wxCaret_Show", (PyCFunction
) _wrap_wxCaret_Show
, METH_VARARGS
| METH_KEYWORDS
},
11330 { "wxCaret_SetSize", (PyCFunction
) _wrap_wxCaret_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
11331 { "wxCaret_SetSizeWH", (PyCFunction
) _wrap_wxCaret_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
11332 { "wxCaret_Move", (PyCFunction
) _wrap_wxCaret_Move
, METH_VARARGS
| METH_KEYWORDS
},
11333 { "wxCaret_MoveXY", (PyCFunction
) _wrap_wxCaret_MoveXY
, METH_VARARGS
| METH_KEYWORDS
},
11334 { "wxCaret_GetWindow", (PyCFunction
) _wrap_wxCaret_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
11335 { "wxCaret_GetSize", (PyCFunction
) _wrap_wxCaret_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
11336 { "wxCaret_GetSizeTuple", (PyCFunction
) _wrap_wxCaret_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
11337 { "wxCaret_GetPosition", (PyCFunction
) _wrap_wxCaret_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
11338 { "wxCaret_GetPositionTuple", (PyCFunction
) _wrap_wxCaret_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
11339 { "wxCaret_IsVisible", (PyCFunction
) _wrap_wxCaret_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
11340 { "wxCaret_IsOk", (PyCFunction
) _wrap_wxCaret_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
11341 { "delete_wxCaret", (PyCFunction
) _wrap_delete_wxCaret
, METH_VARARGS
| METH_KEYWORDS
},
11342 { "new_wxCaret", (PyCFunction
) _wrap_new_wxCaret
, METH_VARARGS
| METH_KEYWORDS
},
11343 { "wxToolTip_SetDelay", (PyCFunction
) _wrap_wxToolTip_SetDelay
, METH_VARARGS
| METH_KEYWORDS
},
11344 { "wxToolTip_Enable", (PyCFunction
) _wrap_wxToolTip_Enable
, METH_VARARGS
| METH_KEYWORDS
},
11345 { "wxToolTip_GetWindow", (PyCFunction
) _wrap_wxToolTip_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
11346 { "wxToolTip_GetTip", (PyCFunction
) _wrap_wxToolTip_GetTip
, METH_VARARGS
| METH_KEYWORDS
},
11347 { "wxToolTip_SetTip", (PyCFunction
) _wrap_wxToolTip_SetTip
, METH_VARARGS
| METH_KEYWORDS
},
11348 { "new_wxToolTip", (PyCFunction
) _wrap_new_wxToolTip
, METH_VARARGS
| METH_KEYWORDS
},
11349 { "wxSystemSettings_SetScreenType", (PyCFunction
) _wrap_wxSystemSettings_SetScreenType
, METH_VARARGS
| METH_KEYWORDS
},
11350 { "wxSystemSettings_GetScreenType", (PyCFunction
) _wrap_wxSystemSettings_GetScreenType
, METH_VARARGS
| METH_KEYWORDS
},
11351 { "wxSystemSettings_HasFeature", (PyCFunction
) _wrap_wxSystemSettings_HasFeature
, METH_VARARGS
| METH_KEYWORDS
},
11352 { "wxSystemSettings_GetMetric", (PyCFunction
) _wrap_wxSystemSettings_GetMetric
, METH_VARARGS
| METH_KEYWORDS
},
11353 { "wxSystemSettings_GetFont", (PyCFunction
) _wrap_wxSystemSettings_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
11354 { "wxSystemSettings_GetColour", (PyCFunction
) _wrap_wxSystemSettings_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
11355 { "wxWaveData", (PyCFunction
) _wrap_wxWaveData
, METH_VARARGS
| METH_KEYWORDS
},
11356 { "wxExecute", (PyCFunction
) _wrap_wxExecute
, METH_VARARGS
| METH_KEYWORDS
},
11357 { "wxSafeShowMessage", (PyCFunction
) _wrap_wxSafeShowMessage
, METH_VARARGS
| METH_KEYWORDS
},
11358 { "wxLogGeneric", (PyCFunction
) _wrap_wxLogGeneric
, METH_VARARGS
| METH_KEYWORDS
},
11359 { "wxLogTraceMask", (PyCFunction
) _wrap_wxLogTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
11360 { "wxLogTrace", (PyCFunction
) _wrap_wxLogTrace
, METH_VARARGS
| METH_KEYWORDS
},
11361 { "wxLogSysError", (PyCFunction
) _wrap_wxLogSysError
, METH_VARARGS
| METH_KEYWORDS
},
11362 { "wxLogStatusFrame", (PyCFunction
) _wrap_wxLogStatusFrame
, METH_VARARGS
| METH_KEYWORDS
},
11363 { "wxLogStatus", (PyCFunction
) _wrap_wxLogStatus
, METH_VARARGS
| METH_KEYWORDS
},
11364 { "wxLogVerbose", (PyCFunction
) _wrap_wxLogVerbose
, METH_VARARGS
| METH_KEYWORDS
},
11365 { "wxLogDebug", (PyCFunction
) _wrap_wxLogDebug
, METH_VARARGS
| METH_KEYWORDS
},
11366 { "wxLogInfo", (PyCFunction
) _wrap_wxLogInfo
, METH_VARARGS
| METH_KEYWORDS
},
11367 { "wxLogMessage", (PyCFunction
) _wrap_wxLogMessage
, METH_VARARGS
| METH_KEYWORDS
},
11368 { "wxLogWarning", (PyCFunction
) _wrap_wxLogWarning
, METH_VARARGS
| METH_KEYWORDS
},
11369 { "wxLogError", (PyCFunction
) _wrap_wxLogError
, METH_VARARGS
| METH_KEYWORDS
},
11370 { "wxLogFatalError", (PyCFunction
) _wrap_wxLogFatalError
, METH_VARARGS
| METH_KEYWORDS
},
11371 { "wxSysErrorMsg", (PyCFunction
) _wrap_wxSysErrorMsg
, METH_VARARGS
| METH_KEYWORDS
},
11372 { "wxSysErrorCode", (PyCFunction
) _wrap_wxSysErrorCode
, METH_VARARGS
| METH_KEYWORDS
},
11373 { "wxCreateFileTipProvider", (PyCFunction
) _wrap_wxCreateFileTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
11374 { "wxShowTip", (PyCFunction
) _wrap_wxShowTip
, METH_VARARGS
| METH_KEYWORDS
},
11375 { "wxThread_IsMain", (PyCFunction
) _wrap_wxThread_IsMain
, METH_VARARGS
| METH_KEYWORDS
},
11376 { "wxMutexGuiLeave", (PyCFunction
) _wrap_wxMutexGuiLeave
, METH_VARARGS
| METH_KEYWORDS
},
11377 { "wxMutexGuiEnter", (PyCFunction
) _wrap_wxMutexGuiEnter
, METH_VARARGS
| METH_KEYWORDS
},
11378 { "wxWakeUpMainThread", (PyCFunction
) _wrap_wxWakeUpMainThread
, METH_VARARGS
| METH_KEYWORDS
},
11379 { "wxWakeUpIdle", (PyCFunction
) _wrap_wxWakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
},
11380 { "wxPostEvent", (PyCFunction
) _wrap_wxPostEvent
, METH_VARARGS
| METH_KEYWORDS
},
11381 { "wxSafeYield", (PyCFunction
) _wrap_wxSafeYield
, METH_VARARGS
| METH_KEYWORDS
},
11382 { "wxCaret_SetBlinkTime", (PyCFunction
) _wrap_wxCaret_SetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
},
11383 { "wxCaret_GetBlinkTime", (PyCFunction
) _wrap_wxCaret_GetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
},
11384 { "wxGetTopLevelParent", (PyCFunction
) _wrap_wxGetTopLevelParent
, METH_VARARGS
| METH_KEYWORDS
},
11385 { "wxFlushEvents", (PyCFunction
) _wrap_wxFlushEvents
, METH_VARARGS
| METH_KEYWORDS
},
11386 { "wxCheckForInterrupt", (PyCFunction
) _wrap_wxCheckForInterrupt
, METH_VARARGS
| METH_KEYWORDS
},
11387 { "wxFindWindowAtPoint", (PyCFunction
) _wrap_wxFindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
},
11388 { "wxGenericFindWindowAtPoint", (PyCFunction
) _wrap_wxGenericFindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
},
11389 { "wxGetActiveWindow", (PyCFunction
) _wrap_wxGetActiveWindow
, METH_VARARGS
| METH_KEYWORDS
},
11390 { "wxBeginBusyCursor", (PyCFunction
) _wrap_wxBeginBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
11391 { "wxSetCursor", (PyCFunction
) _wrap_wxSetCursor
, METH_VARARGS
| METH_KEYWORDS
},
11392 { "wxGetClientDisplayRect", (PyCFunction
) _wrap_wxGetClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
},
11393 { "wxClientDisplayRect", (PyCFunction
) _wrap_wxClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
},
11394 { "wxGetDisplaySizeMM", (PyCFunction
) _wrap_wxGetDisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
},
11395 { "wxDisplaySizeMM", (PyCFunction
) _wrap_wxDisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
},
11396 { "wxGetDisplaySize", (PyCFunction
) _wrap_wxGetDisplaySize
, METH_VARARGS
| METH_KEYWORDS
},
11397 { "wxDisplaySize", (PyCFunction
) _wrap_wxDisplaySize
, METH_VARARGS
| METH_KEYWORDS
},
11398 { "wxGetDisplayDepth", (PyCFunction
) _wrap_wxGetDisplayDepth
, METH_VARARGS
| METH_KEYWORDS
},
11399 { "wxDisplayDepth", (PyCFunction
) _wrap_wxDisplayDepth
, METH_VARARGS
| METH_KEYWORDS
},
11400 { "wxColourDisplay", (PyCFunction
) _wrap_wxColourDisplay
, METH_VARARGS
| METH_KEYWORDS
},
11401 { "wxGetNumberFromUser", (PyCFunction
) _wrap_wxGetNumberFromUser
, METH_VARARGS
| METH_KEYWORDS
},
11402 { "wxMessageBox", (PyCFunction
) _wrap_wxMessageBox
, METH_VARARGS
| METH_KEYWORDS
},
11403 { "wxGetSingleChoiceIndex", (PyCFunction
) _wrap_wxGetSingleChoiceIndex
, METH_VARARGS
| METH_KEYWORDS
},
11404 { "wxGetSingleChoice", (PyCFunction
) _wrap_wxGetSingleChoice
, METH_VARARGS
| METH_KEYWORDS
},
11405 { "wxGetPasswordFromUser", (PyCFunction
) _wrap_wxGetPasswordFromUser
, METH_VARARGS
| METH_KEYWORDS
},
11406 { "wxGetTextFromUser", (PyCFunction
) _wrap_wxGetTextFromUser
, METH_VARARGS
| METH_KEYWORDS
},
11407 { "wxDirSelector", (PyCFunction
) _wrap_wxDirSelector
, METH_VARARGS
| METH_KEYWORDS
},
11408 { "wxSaveFileSelector", (PyCFunction
) _wrap_wxSaveFileSelector
, METH_VARARGS
| METH_KEYWORDS
},
11409 { "wxLoadFileSelector", (PyCFunction
) _wrap_wxLoadFileSelector
, METH_VARARGS
| METH_KEYWORDS
},
11410 { "wxFileSelector", (PyCFunction
) _wrap_wxFileSelector
, METH_VARARGS
| METH_KEYWORDS
},
11417 * This table is used by the pointer type-checker
11419 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
11420 { "_wxEvent","_wxProcessEvent",SwigwxProcessEventTowxEvent
},
11421 { "_signed_long","_long",0},
11422 { "_wxPrintQuality","_wxCoord",0},
11423 { "_wxPrintQuality","_int",0},
11424 { "_wxPrintQuality","_signed_int",0},
11425 { "_wxPrintQuality","_unsigned_int",0},
11426 { "_wxPrintQuality","_wxWindowID",0},
11427 { "_wxPrintQuality","_uint",0},
11428 { "_wxPrintQuality","_EBool",0},
11429 { "_wxPrintQuality","_size_t",0},
11430 { "_wxPrintQuality","_time_t",0},
11431 { "_wxLog","_wxPyLog",SwigwxPyLogTowxLog
},
11432 { "_wxLog","_wxLogChain",SwigwxLogChainTowxLog
},
11433 { "_wxLog","_wxLogWindow",SwigwxLogWindowTowxLog
},
11434 { "_wxLog","_wxLogGui",SwigwxLogGuiTowxLog
},
11435 { "_wxLog","_wxLogTextCtrl",SwigwxLogTextCtrlTowxLog
},
11436 { "_wxLog","_wxLogStderr",SwigwxLogStderrTowxLog
},
11437 { "_byte","_unsigned_char",0},
11438 { "_long","_unsigned_long",0},
11439 { "_long","_signed_long",0},
11440 { "_size_t","_wxCoord",0},
11441 { "_size_t","_wxPrintQuality",0},
11442 { "_size_t","_time_t",0},
11443 { "_size_t","_unsigned_int",0},
11444 { "_size_t","_int",0},
11445 { "_size_t","_wxWindowID",0},
11446 { "_size_t","_uint",0},
11447 { "_uint","_wxCoord",0},
11448 { "_uint","_wxPrintQuality",0},
11449 { "_uint","_time_t",0},
11450 { "_uint","_size_t",0},
11451 { "_uint","_unsigned_int",0},
11452 { "_uint","_int",0},
11453 { "_uint","_wxWindowID",0},
11454 { "_wxChar","_char",0},
11455 { "_char","_wxChar",0},
11456 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
11457 { "_EBool","_wxCoord",0},
11458 { "_EBool","_wxPrintQuality",0},
11459 { "_EBool","_signed_int",0},
11460 { "_EBool","_int",0},
11461 { "_EBool","_wxWindowID",0},
11462 { "_unsigned_long","_long",0},
11463 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
11464 { "_signed_int","_wxCoord",0},
11465 { "_signed_int","_wxPrintQuality",0},
11466 { "_signed_int","_EBool",0},
11467 { "_signed_int","_wxWindowID",0},
11468 { "_signed_int","_int",0},
11469 { "_WXTYPE","_wxDateTime_t",0},
11470 { "_WXTYPE","_short",0},
11471 { "_WXTYPE","_signed_short",0},
11472 { "_WXTYPE","_unsigned_short",0},
11473 { "_wxTipProvider","_wxPyTipProvider",SwigwxPyTipProviderTowxTipProvider
},
11474 { "_unsigned_short","_wxDateTime_t",0},
11475 { "_unsigned_short","_WXTYPE",0},
11476 { "_unsigned_short","_short",0},
11477 { "_wxObject","_wxEffects",SwigwxEffectsTowxObject
},
11478 { "_wxObject","_wxFileHistory",SwigwxFileHistoryTowxObject
},
11479 { "_wxObject","_wxPyArtProvider",SwigwxPyArtProviderTowxObject
},
11480 { "_wxObject","_wxWave",SwigwxWaveTowxObject
},
11481 { "_wxObject","_wxJoystick",SwigwxJoystickTowxObject
},
11482 { "_wxObject","_wxPyProcess",SwigwxPyProcessTowxObject
},
11483 { "_wxObject","_wxProcessEvent",SwigwxProcessEventTowxObject
},
11484 { "_wxObject","_wxPyTimer",SwigwxPyTimerTowxObject
},
11485 { "_wxObject","_wxGenericDragImage",SwigwxGenericDragImageTowxObject
},
11486 { "_wxObject","_wxToolTip",SwigwxToolTipTowxObject
},
11487 { "_signed_short","_WXTYPE",0},
11488 { "_signed_short","_short",0},
11489 { "_unsigned_char","_byte",0},
11490 { "_unsigned_int","_wxCoord",0},
11491 { "_unsigned_int","_wxPrintQuality",0},
11492 { "_unsigned_int","_time_t",0},
11493 { "_unsigned_int","_size_t",0},
11494 { "_unsigned_int","_uint",0},
11495 { "_unsigned_int","_wxWindowID",0},
11496 { "_unsigned_int","_int",0},
11497 { "_short","_wxDateTime_t",0},
11498 { "_short","_WXTYPE",0},
11499 { "_short","_unsigned_short",0},
11500 { "_short","_signed_short",0},
11501 { "_wxWindowID","_wxCoord",0},
11502 { "_wxWindowID","_wxPrintQuality",0},
11503 { "_wxWindowID","_time_t",0},
11504 { "_wxWindowID","_size_t",0},
11505 { "_wxWindowID","_EBool",0},
11506 { "_wxWindowID","_uint",0},
11507 { "_wxWindowID","_int",0},
11508 { "_wxWindowID","_signed_int",0},
11509 { "_wxWindowID","_unsigned_int",0},
11510 { "_int","_wxCoord",0},
11511 { "_int","_wxPrintQuality",0},
11512 { "_int","_time_t",0},
11513 { "_int","_size_t",0},
11514 { "_int","_EBool",0},
11515 { "_int","_uint",0},
11516 { "_int","_wxWindowID",0},
11517 { "_int","_unsigned_int",0},
11518 { "_int","_signed_int",0},
11519 { "_wxDateTime_t","_unsigned_short",0},
11520 { "_wxDateTime_t","_short",0},
11521 { "_wxDateTime_t","_WXTYPE",0},
11522 { "_time_t","_wxCoord",0},
11523 { "_time_t","_wxPrintQuality",0},
11524 { "_time_t","_unsigned_int",0},
11525 { "_time_t","_int",0},
11526 { "_time_t","_wxWindowID",0},
11527 { "_time_t","_uint",0},
11528 { "_time_t","_size_t",0},
11529 { "_wxCoord","_int",0},
11530 { "_wxCoord","_signed_int",0},
11531 { "_wxCoord","_unsigned_int",0},
11532 { "_wxCoord","_wxWindowID",0},
11533 { "_wxCoord","_uint",0},
11534 { "_wxCoord","_EBool",0},
11535 { "_wxCoord","_size_t",0},
11536 { "_wxCoord","_time_t",0},
11537 { "_wxCoord","_wxPrintQuality",0},
11538 { "_wxEvtHandler","_wxPyProcess",SwigwxPyProcessTowxEvtHandler
},
11541 static PyObject
*SWIG_globals
;
11545 SWIGEXPORT(void) initmisc2c() {
11547 SWIG_globals
= SWIG_newvarlink();
11548 m
= Py_InitModule("misc2c", misc2cMethods
);
11549 d
= PyModule_GetDict(m
);
11550 PyDict_SetItemString(d
,"wxSYS_OEM_FIXED_FONT", PyInt_FromLong((long) wxSYS_OEM_FIXED_FONT
));
11551 PyDict_SetItemString(d
,"wxSYS_ANSI_FIXED_FONT", PyInt_FromLong((long) wxSYS_ANSI_FIXED_FONT
));
11552 PyDict_SetItemString(d
,"wxSYS_ANSI_VAR_FONT", PyInt_FromLong((long) wxSYS_ANSI_VAR_FONT
));
11553 PyDict_SetItemString(d
,"wxSYS_SYSTEM_FONT", PyInt_FromLong((long) wxSYS_SYSTEM_FONT
));
11554 PyDict_SetItemString(d
,"wxSYS_DEVICE_DEFAULT_FONT", PyInt_FromLong((long) wxSYS_DEVICE_DEFAULT_FONT
));
11555 PyDict_SetItemString(d
,"wxSYS_DEFAULT_PALETTE", PyInt_FromLong((long) wxSYS_DEFAULT_PALETTE
));
11556 PyDict_SetItemString(d
,"wxSYS_SYSTEM_FIXED_FONT", PyInt_FromLong((long) wxSYS_SYSTEM_FIXED_FONT
));
11557 PyDict_SetItemString(d
,"wxSYS_DEFAULT_GUI_FONT", PyInt_FromLong((long) wxSYS_DEFAULT_GUI_FONT
));
11558 PyDict_SetItemString(d
,"wxSYS_COLOUR_SCROLLBAR", PyInt_FromLong((long) wxSYS_COLOUR_SCROLLBAR
));
11559 PyDict_SetItemString(d
,"wxSYS_COLOUR_BACKGROUND", PyInt_FromLong((long) wxSYS_COLOUR_BACKGROUND
));
11560 PyDict_SetItemString(d
,"wxSYS_COLOUR_DESKTOP", PyInt_FromLong((long) wxSYS_COLOUR_DESKTOP
));
11561 PyDict_SetItemString(d
,"wxSYS_COLOUR_ACTIVECAPTION", PyInt_FromLong((long) wxSYS_COLOUR_ACTIVECAPTION
));
11562 PyDict_SetItemString(d
,"wxSYS_COLOUR_INACTIVECAPTION", PyInt_FromLong((long) wxSYS_COLOUR_INACTIVECAPTION
));
11563 PyDict_SetItemString(d
,"wxSYS_COLOUR_MENU", PyInt_FromLong((long) wxSYS_COLOUR_MENU
));
11564 PyDict_SetItemString(d
,"wxSYS_COLOUR_WINDOW", PyInt_FromLong((long) wxSYS_COLOUR_WINDOW
));
11565 PyDict_SetItemString(d
,"wxSYS_COLOUR_WINDOWFRAME", PyInt_FromLong((long) wxSYS_COLOUR_WINDOWFRAME
));
11566 PyDict_SetItemString(d
,"wxSYS_COLOUR_MENUTEXT", PyInt_FromLong((long) wxSYS_COLOUR_MENUTEXT
));
11567 PyDict_SetItemString(d
,"wxSYS_COLOUR_WINDOWTEXT", PyInt_FromLong((long) wxSYS_COLOUR_WINDOWTEXT
));
11568 PyDict_SetItemString(d
,"wxSYS_COLOUR_CAPTIONTEXT", PyInt_FromLong((long) wxSYS_COLOUR_CAPTIONTEXT
));
11569 PyDict_SetItemString(d
,"wxSYS_COLOUR_ACTIVEBORDER", PyInt_FromLong((long) wxSYS_COLOUR_ACTIVEBORDER
));
11570 PyDict_SetItemString(d
,"wxSYS_COLOUR_INACTIVEBORDER", PyInt_FromLong((long) wxSYS_COLOUR_INACTIVEBORDER
));
11571 PyDict_SetItemString(d
,"wxSYS_COLOUR_APPWORKSPACE", PyInt_FromLong((long) wxSYS_COLOUR_APPWORKSPACE
));
11572 PyDict_SetItemString(d
,"wxSYS_COLOUR_HIGHLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_HIGHLIGHT
));
11573 PyDict_SetItemString(d
,"wxSYS_COLOUR_HIGHLIGHTTEXT", PyInt_FromLong((long) wxSYS_COLOUR_HIGHLIGHTTEXT
));
11574 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNFACE", PyInt_FromLong((long) wxSYS_COLOUR_BTNFACE
));
11575 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DFACE", PyInt_FromLong((long) wxSYS_COLOUR_3DFACE
));
11576 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNSHADOW", PyInt_FromLong((long) wxSYS_COLOUR_BTNSHADOW
));
11577 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DSHADOW", PyInt_FromLong((long) wxSYS_COLOUR_3DSHADOW
));
11578 PyDict_SetItemString(d
,"wxSYS_COLOUR_GRAYTEXT", PyInt_FromLong((long) wxSYS_COLOUR_GRAYTEXT
));
11579 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNTEXT", PyInt_FromLong((long) wxSYS_COLOUR_BTNTEXT
));
11580 PyDict_SetItemString(d
,"wxSYS_COLOUR_INACTIVECAPTIONTEXT", PyInt_FromLong((long) wxSYS_COLOUR_INACTIVECAPTIONTEXT
));
11581 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNHIGHLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_BTNHIGHLIGHT
));
11582 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNHILIGHT", PyInt_FromLong((long) wxSYS_COLOUR_BTNHILIGHT
));
11583 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DHIGHLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_3DHIGHLIGHT
));
11584 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DHILIGHT", PyInt_FromLong((long) wxSYS_COLOUR_3DHILIGHT
));
11585 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DDKSHADOW", PyInt_FromLong((long) wxSYS_COLOUR_3DDKSHADOW
));
11586 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_3DLIGHT
));
11587 PyDict_SetItemString(d
,"wxSYS_COLOUR_INFOTEXT", PyInt_FromLong((long) wxSYS_COLOUR_INFOTEXT
));
11588 PyDict_SetItemString(d
,"wxSYS_COLOUR_INFOBK", PyInt_FromLong((long) wxSYS_COLOUR_INFOBK
));
11589 PyDict_SetItemString(d
,"wxSYS_COLOUR_LISTBOX", PyInt_FromLong((long) wxSYS_COLOUR_LISTBOX
));
11590 PyDict_SetItemString(d
,"wxSYS_COLOUR_HOTLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_HOTLIGHT
));
11591 PyDict_SetItemString(d
,"wxSYS_COLOUR_GRADIENTACTIVECAPTION", PyInt_FromLong((long) wxSYS_COLOUR_GRADIENTACTIVECAPTION
));
11592 PyDict_SetItemString(d
,"wxSYS_COLOUR_GRADIENTINACTIVECAPTION", PyInt_FromLong((long) wxSYS_COLOUR_GRADIENTINACTIVECAPTION
));
11593 PyDict_SetItemString(d
,"wxSYS_COLOUR_MENUHILIGHT", PyInt_FromLong((long) wxSYS_COLOUR_MENUHILIGHT
));
11594 PyDict_SetItemString(d
,"wxSYS_COLOUR_MENUBAR", PyInt_FromLong((long) wxSYS_COLOUR_MENUBAR
));
11595 PyDict_SetItemString(d
,"wxSYS_COLOUR_MAX", PyInt_FromLong((long) wxSYS_COLOUR_MAX
));
11596 PyDict_SetItemString(d
,"wxSYS_MOUSE_BUTTONS", PyInt_FromLong((long) wxSYS_MOUSE_BUTTONS
));
11597 PyDict_SetItemString(d
,"wxSYS_BORDER_X", PyInt_FromLong((long) wxSYS_BORDER_X
));
11598 PyDict_SetItemString(d
,"wxSYS_BORDER_Y", PyInt_FromLong((long) wxSYS_BORDER_Y
));
11599 PyDict_SetItemString(d
,"wxSYS_CURSOR_X", PyInt_FromLong((long) wxSYS_CURSOR_X
));
11600 PyDict_SetItemString(d
,"wxSYS_CURSOR_Y", PyInt_FromLong((long) wxSYS_CURSOR_Y
));
11601 PyDict_SetItemString(d
,"wxSYS_DCLICK_X", PyInt_FromLong((long) wxSYS_DCLICK_X
));
11602 PyDict_SetItemString(d
,"wxSYS_DCLICK_Y", PyInt_FromLong((long) wxSYS_DCLICK_Y
));
11603 PyDict_SetItemString(d
,"wxSYS_DRAG_X", PyInt_FromLong((long) wxSYS_DRAG_X
));
11604 PyDict_SetItemString(d
,"wxSYS_DRAG_Y", PyInt_FromLong((long) wxSYS_DRAG_Y
));
11605 PyDict_SetItemString(d
,"wxSYS_EDGE_X", PyInt_FromLong((long) wxSYS_EDGE_X
));
11606 PyDict_SetItemString(d
,"wxSYS_EDGE_Y", PyInt_FromLong((long) wxSYS_EDGE_Y
));
11607 PyDict_SetItemString(d
,"wxSYS_HSCROLL_ARROW_X", PyInt_FromLong((long) wxSYS_HSCROLL_ARROW_X
));
11608 PyDict_SetItemString(d
,"wxSYS_HSCROLL_ARROW_Y", PyInt_FromLong((long) wxSYS_HSCROLL_ARROW_Y
));
11609 PyDict_SetItemString(d
,"wxSYS_HTHUMB_X", PyInt_FromLong((long) wxSYS_HTHUMB_X
));
11610 PyDict_SetItemString(d
,"wxSYS_ICON_X", PyInt_FromLong((long) wxSYS_ICON_X
));
11611 PyDict_SetItemString(d
,"wxSYS_ICON_Y", PyInt_FromLong((long) wxSYS_ICON_Y
));
11612 PyDict_SetItemString(d
,"wxSYS_ICONSPACING_X", PyInt_FromLong((long) wxSYS_ICONSPACING_X
));
11613 PyDict_SetItemString(d
,"wxSYS_ICONSPACING_Y", PyInt_FromLong((long) wxSYS_ICONSPACING_Y
));
11614 PyDict_SetItemString(d
,"wxSYS_WINDOWMIN_X", PyInt_FromLong((long) wxSYS_WINDOWMIN_X
));
11615 PyDict_SetItemString(d
,"wxSYS_WINDOWMIN_Y", PyInt_FromLong((long) wxSYS_WINDOWMIN_Y
));
11616 PyDict_SetItemString(d
,"wxSYS_SCREEN_X", PyInt_FromLong((long) wxSYS_SCREEN_X
));
11617 PyDict_SetItemString(d
,"wxSYS_SCREEN_Y", PyInt_FromLong((long) wxSYS_SCREEN_Y
));
11618 PyDict_SetItemString(d
,"wxSYS_FRAMESIZE_X", PyInt_FromLong((long) wxSYS_FRAMESIZE_X
));
11619 PyDict_SetItemString(d
,"wxSYS_FRAMESIZE_Y", PyInt_FromLong((long) wxSYS_FRAMESIZE_Y
));
11620 PyDict_SetItemString(d
,"wxSYS_SMALLICON_X", PyInt_FromLong((long) wxSYS_SMALLICON_X
));
11621 PyDict_SetItemString(d
,"wxSYS_SMALLICON_Y", PyInt_FromLong((long) wxSYS_SMALLICON_Y
));
11622 PyDict_SetItemString(d
,"wxSYS_HSCROLL_Y", PyInt_FromLong((long) wxSYS_HSCROLL_Y
));
11623 PyDict_SetItemString(d
,"wxSYS_VSCROLL_X", PyInt_FromLong((long) wxSYS_VSCROLL_X
));
11624 PyDict_SetItemString(d
,"wxSYS_VSCROLL_ARROW_X", PyInt_FromLong((long) wxSYS_VSCROLL_ARROW_X
));
11625 PyDict_SetItemString(d
,"wxSYS_VSCROLL_ARROW_Y", PyInt_FromLong((long) wxSYS_VSCROLL_ARROW_Y
));
11626 PyDict_SetItemString(d
,"wxSYS_VTHUMB_Y", PyInt_FromLong((long) wxSYS_VTHUMB_Y
));
11627 PyDict_SetItemString(d
,"wxSYS_CAPTION_Y", PyInt_FromLong((long) wxSYS_CAPTION_Y
));
11628 PyDict_SetItemString(d
,"wxSYS_MENU_Y", PyInt_FromLong((long) wxSYS_MENU_Y
));
11629 PyDict_SetItemString(d
,"wxSYS_NETWORK_PRESENT", PyInt_FromLong((long) wxSYS_NETWORK_PRESENT
));
11630 PyDict_SetItemString(d
,"wxSYS_PENWINDOWS_PRESENT", PyInt_FromLong((long) wxSYS_PENWINDOWS_PRESENT
));
11631 PyDict_SetItemString(d
,"wxSYS_SHOW_SOUNDS", PyInt_FromLong((long) wxSYS_SHOW_SOUNDS
));
11632 PyDict_SetItemString(d
,"wxSYS_SWAP_BUTTONS", PyInt_FromLong((long) wxSYS_SWAP_BUTTONS
));
11633 PyDict_SetItemString(d
,"wxSYS_CAN_DRAW_FRAME_DECORATIONS", PyInt_FromLong((long) wxSYS_CAN_DRAW_FRAME_DECORATIONS
));
11634 PyDict_SetItemString(d
,"wxSYS_CAN_ICONIZE_FRAME", PyInt_FromLong((long) wxSYS_CAN_ICONIZE_FRAME
));
11635 PyDict_SetItemString(d
,"wxSYS_SCREEN_NONE", PyInt_FromLong((long) wxSYS_SCREEN_NONE
));
11636 PyDict_SetItemString(d
,"wxSYS_SCREEN_TINY", PyInt_FromLong((long) wxSYS_SCREEN_TINY
));
11637 PyDict_SetItemString(d
,"wxSYS_SCREEN_PDA", PyInt_FromLong((long) wxSYS_SCREEN_PDA
));
11638 PyDict_SetItemString(d
,"wxSYS_SCREEN_SMALL", PyInt_FromLong((long) wxSYS_SCREEN_SMALL
));
11639 PyDict_SetItemString(d
,"wxSYS_SCREEN_DESKTOP", PyInt_FromLong((long) wxSYS_SCREEN_DESKTOP
));
11640 PyDict_SetItemString(d
,"wxLOG_FatalError", PyInt_FromLong((long) wxLOG_FatalError
));
11641 PyDict_SetItemString(d
,"wxLOG_Error", PyInt_FromLong((long) wxLOG_Error
));
11642 PyDict_SetItemString(d
,"wxLOG_Warning", PyInt_FromLong((long) wxLOG_Warning
));
11643 PyDict_SetItemString(d
,"wxLOG_Message", PyInt_FromLong((long) wxLOG_Message
));
11644 PyDict_SetItemString(d
,"wxLOG_Info", PyInt_FromLong((long) wxLOG_Info
));
11645 PyDict_SetItemString(d
,"wxLOG_Status", PyInt_FromLong((long) wxLOG_Status
));
11646 PyDict_SetItemString(d
,"wxLOG_Debug", PyInt_FromLong((long) wxLOG_Debug
));
11647 PyDict_SetItemString(d
,"wxLOG_Trace", PyInt_FromLong((long) wxLOG_Trace
));
11648 PyDict_SetItemString(d
,"wxLOG_Progress", PyInt_FromLong((long) wxLOG_Progress
));
11649 PyDict_SetItemString(d
,"wxLOG_User", PyInt_FromLong((long) wxLOG_User
));
11650 PyDict_SetItemString(d
,"wxTRACE_MemAlloc", PyString_FromString("memalloc"));
11651 PyDict_SetItemString(d
,"wxTRACE_Messages", PyString_FromString("messages"));
11652 PyDict_SetItemString(d
,"wxTRACE_ResAlloc", PyString_FromString("resalloc"));
11653 PyDict_SetItemString(d
,"wxTRACE_RefCount", PyString_FromString("refcount"));
11654 PyDict_SetItemString(d
,"wxTRACE_OleCalls", PyString_FromString("ole"));
11655 PyDict_SetItemString(d
,"wxTraceMemAlloc", PyInt_FromLong((long) wxTraceMemAlloc
));
11656 PyDict_SetItemString(d
,"wxTraceMessages", PyInt_FromLong((long) wxTraceMessages
));
11657 PyDict_SetItemString(d
,"wxTraceResAlloc", PyInt_FromLong((long) wxTraceResAlloc
));
11658 PyDict_SetItemString(d
,"wxTraceRefCount", PyInt_FromLong((long) wxTraceRefCount
));
11659 PyDict_SetItemString(d
,"wxTraceOleCalls", PyInt_FromLong((long) wxTraceOleCalls
));
11660 PyDict_SetItemString(d
,"wxKILL_OK", PyInt_FromLong((long) wxKILL_OK
));
11661 PyDict_SetItemString(d
,"wxKILL_BAD_SIGNAL", PyInt_FromLong((long) wxKILL_BAD_SIGNAL
));
11662 PyDict_SetItemString(d
,"wxKILL_ACCESS_DENIED", PyInt_FromLong((long) wxKILL_ACCESS_DENIED
));
11663 PyDict_SetItemString(d
,"wxKILL_NO_PROCESS", PyInt_FromLong((long) wxKILL_NO_PROCESS
));
11664 PyDict_SetItemString(d
,"wxKILL_ERROR", PyInt_FromLong((long) wxKILL_ERROR
));
11665 PyDict_SetItemString(d
,"wxSIGNONE", PyInt_FromLong((long) wxSIGNONE
));
11666 PyDict_SetItemString(d
,"wxSIGHUP", PyInt_FromLong((long) wxSIGHUP
));
11667 PyDict_SetItemString(d
,"wxSIGINT", PyInt_FromLong((long) wxSIGINT
));
11668 PyDict_SetItemString(d
,"wxSIGQUIT", PyInt_FromLong((long) wxSIGQUIT
));
11669 PyDict_SetItemString(d
,"wxSIGILL", PyInt_FromLong((long) wxSIGILL
));
11670 PyDict_SetItemString(d
,"wxSIGTRAP", PyInt_FromLong((long) wxSIGTRAP
));
11671 PyDict_SetItemString(d
,"wxSIGABRT", PyInt_FromLong((long) wxSIGABRT
));
11672 PyDict_SetItemString(d
,"wxSIGIOT", PyInt_FromLong((long) wxSIGIOT
));
11673 PyDict_SetItemString(d
,"wxSIGEMT", PyInt_FromLong((long) wxSIGEMT
));
11674 PyDict_SetItemString(d
,"wxSIGFPE", PyInt_FromLong((long) wxSIGFPE
));
11675 PyDict_SetItemString(d
,"wxSIGKILL", PyInt_FromLong((long) wxSIGKILL
));
11676 PyDict_SetItemString(d
,"wxSIGBUS", PyInt_FromLong((long) wxSIGBUS
));
11677 PyDict_SetItemString(d
,"wxSIGSEGV", PyInt_FromLong((long) wxSIGSEGV
));
11678 PyDict_SetItemString(d
,"wxSIGSYS", PyInt_FromLong((long) wxSIGSYS
));
11679 PyDict_SetItemString(d
,"wxSIGPIPE", PyInt_FromLong((long) wxSIGPIPE
));
11680 PyDict_SetItemString(d
,"wxSIGALRM", PyInt_FromLong((long) wxSIGALRM
));
11681 PyDict_SetItemString(d
,"wxSIGTERM", PyInt_FromLong((long) wxSIGTERM
));
11682 PyDict_SetItemString(d
,"wxEVT_END_PROCESS", PyInt_FromLong((long) wxEVT_END_PROCESS
));
11683 PyDict_SetItemString(d
,"wxEXEC_ASYNC", PyInt_FromLong((long) wxEXEC_ASYNC
));
11684 PyDict_SetItemString(d
,"wxEXEC_SYNC", PyInt_FromLong((long) wxEXEC_SYNC
));
11685 PyDict_SetItemString(d
,"wxEXEC_NOHIDE", PyInt_FromLong((long) wxEXEC_NOHIDE
));
11686 PyDict_SetItemString(d
,"wxEXEC_MAKE_GROUP_LEADER", PyInt_FromLong((long) wxEXEC_MAKE_GROUP_LEADER
));
11687 PyDict_SetItemString(d
,"wxJOYSTICK1", PyInt_FromLong((long) wxJOYSTICK1
));
11688 PyDict_SetItemString(d
,"wxJOYSTICK2", PyInt_FromLong((long) wxJOYSTICK2
));
11689 PyDict_SetItemString(d
,"wxJOY_BUTTON_ANY", PyInt_FromLong((long) wxJOY_BUTTON_ANY
));
11690 PyDict_SetItemString(d
,"wxJOY_BUTTON1", PyInt_FromLong((long) wxJOY_BUTTON1
));
11691 PyDict_SetItemString(d
,"wxJOY_BUTTON2", PyInt_FromLong((long) wxJOY_BUTTON2
));
11692 PyDict_SetItemString(d
,"wxJOY_BUTTON3", PyInt_FromLong((long) wxJOY_BUTTON3
));
11693 PyDict_SetItemString(d
,"wxJOY_BUTTON4", PyInt_FromLong((long) wxJOY_BUTTON4
));
11694 PyDict_SetItemString(d
,"wxMAILCAP_STANDARD", PyInt_FromLong((long) wxMAILCAP_STANDARD
));
11695 PyDict_SetItemString(d
,"wxMAILCAP_NETSCAPE", PyInt_FromLong((long) wxMAILCAP_NETSCAPE
));
11696 PyDict_SetItemString(d
,"wxMAILCAP_KDE", PyInt_FromLong((long) wxMAILCAP_KDE
));
11697 PyDict_SetItemString(d
,"wxMAILCAP_GNOME", PyInt_FromLong((long) wxMAILCAP_GNOME
));
11698 PyDict_SetItemString(d
,"wxMAILCAP_ALL", PyInt_FromLong((long) wxMAILCAP_ALL
));
11699 PyDict_SetItemString(d
,"cvar", SWIG_globals
);
11700 SWIG_addvarlink(SWIG_globals
,"wxTheMimeTypesManager",_wrap_wxTheMimeTypesManager_get
, _wrap_wxTheMimeTypesManager_set
);
11702 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
11703 wxPyPtrTypeMap_Add("wxProcess", "wxPyProcess");
11704 wxPyPtrTypeMap_Add("wxArtProvider", "wxPyArtProvider");
11708 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
11709 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);