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 #define wxLog_HasPendingMessages(_swigobj) (_swigobj->HasPendingMessages())
4688 static PyObject
*_wrap_wxLog_HasPendingMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4689 PyObject
* _resultobj
;
4692 PyObject
* _argo0
= 0;
4693 char *_kwnames
[] = { "self", NULL
};
4696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_HasPendingMessages",_kwnames
,&_argo0
))
4699 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4700 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
4701 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_HasPendingMessages. Expected _wxLog_p.");
4706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4707 _result
= (bool )wxLog_HasPendingMessages(_arg0
);
4709 wxPyEndAllowThreads(__tstate
);
4710 if (PyErr_Occurred()) return NULL
;
4711 } _resultobj
= Py_BuildValue("i",_result
);
4715 static PyObject
*_wrap_wxLog_FlushActive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4716 PyObject
* _resultobj
;
4717 char *_kwnames
[] = { NULL
};
4720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_FlushActive",_kwnames
))
4723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4724 wxLog::FlushActive();
4726 wxPyEndAllowThreads(__tstate
);
4727 if (PyErr_Occurred()) return NULL
;
4728 } Py_INCREF(Py_None
);
4729 _resultobj
= Py_None
;
4733 static PyObject
*_wrap_wxLog_GetActiveTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4734 PyObject
* _resultobj
;
4736 char *_kwnames
[] = { NULL
};
4740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_GetActiveTarget",_kwnames
))
4743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4744 _result
= (wxLog
*)wxLog::GetActiveTarget();
4746 wxPyEndAllowThreads(__tstate
);
4747 if (PyErr_Occurred()) return NULL
;
4749 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
4750 _resultobj
= Py_BuildValue("s",_ptemp
);
4753 _resultobj
= Py_None
;
4758 static PyObject
*_wrap_wxLog_SetActiveTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4759 PyObject
* _resultobj
;
4762 PyObject
* _argo0
= 0;
4763 char *_kwnames
[] = { "pLogger", NULL
};
4767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_SetActiveTarget",_kwnames
,&_argo0
))
4770 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4771 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
4772 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_SetActiveTarget. Expected _wxLog_p.");
4777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4778 _result
= (wxLog
*)wxLog::SetActiveTarget(_arg0
);
4780 wxPyEndAllowThreads(__tstate
);
4781 if (PyErr_Occurred()) return NULL
;
4783 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
4784 _resultobj
= Py_BuildValue("s",_ptemp
);
4787 _resultobj
= Py_None
;
4792 static PyObject
*_wrap_wxLog_Suspend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4793 PyObject
* _resultobj
;
4794 char *_kwnames
[] = { NULL
};
4797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_Suspend",_kwnames
))
4800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4803 wxPyEndAllowThreads(__tstate
);
4804 if (PyErr_Occurred()) return NULL
;
4805 } Py_INCREF(Py_None
);
4806 _resultobj
= Py_None
;
4810 static PyObject
*_wrap_wxLog_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4811 PyObject
* _resultobj
;
4812 char *_kwnames
[] = { NULL
};
4815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_Resume",_kwnames
))
4818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4821 wxPyEndAllowThreads(__tstate
);
4822 if (PyErr_Occurred()) return NULL
;
4823 } Py_INCREF(Py_None
);
4824 _resultobj
= Py_None
;
4828 static PyObject
*_wrap_wxLog_SetVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4829 PyObject
* _resultobj
;
4830 bool _arg0
= (bool ) TRUE
;
4831 int tempbool0
= (int) TRUE
;
4832 char *_kwnames
[] = { "bVerbose", NULL
};
4835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:wxLog_SetVerbose",_kwnames
,&tempbool0
))
4837 _arg0
= (bool ) tempbool0
;
4839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4840 wxLog::SetVerbose(_arg0
);
4842 wxPyEndAllowThreads(__tstate
);
4843 if (PyErr_Occurred()) return NULL
;
4844 } Py_INCREF(Py_None
);
4845 _resultobj
= Py_None
;
4849 static PyObject
*_wrap_wxLog_DontCreateOnDemand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4850 PyObject
* _resultobj
;
4851 char *_kwnames
[] = { NULL
};
4854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_DontCreateOnDemand",_kwnames
))
4857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4858 wxLog::DontCreateOnDemand();
4860 wxPyEndAllowThreads(__tstate
);
4861 if (PyErr_Occurred()) return NULL
;
4862 } Py_INCREF(Py_None
);
4863 _resultobj
= Py_None
;
4867 static PyObject
*_wrap_wxLog_SetTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4868 PyObject
* _resultobj
;
4870 char *_kwnames
[] = { "ulMask", NULL
};
4873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:wxLog_SetTraceMask",_kwnames
,&_arg0
))
4876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4877 wxLog::SetTraceMask(_arg0
);
4879 wxPyEndAllowThreads(__tstate
);
4880 if (PyErr_Occurred()) return NULL
;
4881 } Py_INCREF(Py_None
);
4882 _resultobj
= Py_None
;
4886 static PyObject
*_wrap_wxLog_AddTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4887 PyObject
* _resultobj
;
4889 PyObject
* _obj0
= 0;
4890 char *_kwnames
[] = { "str", NULL
};
4893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_AddTraceMask",_kwnames
,&_obj0
))
4896 _arg0
= wxString_in_helper(_obj0
);
4901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4902 wxLog::AddTraceMask(*_arg0
);
4904 wxPyEndAllowThreads(__tstate
);
4905 if (PyErr_Occurred()) return NULL
;
4906 } Py_INCREF(Py_None
);
4907 _resultobj
= Py_None
;
4915 static PyObject
*_wrap_wxLog_RemoveTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4916 PyObject
* _resultobj
;
4918 PyObject
* _obj0
= 0;
4919 char *_kwnames
[] = { "str", NULL
};
4922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_RemoveTraceMask",_kwnames
,&_obj0
))
4925 _arg0
= wxString_in_helper(_obj0
);
4930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4931 wxLog::RemoveTraceMask(*_arg0
);
4933 wxPyEndAllowThreads(__tstate
);
4934 if (PyErr_Occurred()) return NULL
;
4935 } Py_INCREF(Py_None
);
4936 _resultobj
= Py_None
;
4944 static PyObject
*_wrap_wxLog_ClearTraceMasks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4945 PyObject
* _resultobj
;
4946 char *_kwnames
[] = { NULL
};
4949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_ClearTraceMasks",_kwnames
))
4952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4953 wxLog::ClearTraceMasks();
4955 wxPyEndAllowThreads(__tstate
);
4956 if (PyErr_Occurred()) return NULL
;
4957 } Py_INCREF(Py_None
);
4958 _resultobj
= Py_None
;
4962 static PyObject
*_wrap_wxLog_GetTraceMasks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4963 PyObject
* _resultobj
;
4964 wxArrayString
* _result
;
4965 char *_kwnames
[] = { NULL
};
4969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_GetTraceMasks",_kwnames
))
4972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4973 const wxArrayString
& _result_ref
= wxLog::GetTraceMasks();
4974 _result
= (wxArrayString
*) &_result_ref
;
4976 wxPyEndAllowThreads(__tstate
);
4977 if (PyErr_Occurred()) return NULL
;
4979 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxArrayString_p");
4980 _resultobj
= Py_BuildValue("s",_ptemp
);
4983 _resultobj
= Py_None
;
4988 static PyObject
*_wrap_wxLog_SetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4989 PyObject
* _resultobj
;
4991 PyObject
* _obj0
= 0;
4992 char *_kwnames
[] = { "ts", NULL
};
4995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_SetTimestamp",_kwnames
,&_obj0
))
4998 _arg0
= wxString_in_helper(_obj0
);
5003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5004 wxLog::SetTimestamp(*_arg0
);
5006 wxPyEndAllowThreads(__tstate
);
5007 if (PyErr_Occurred()) return NULL
;
5008 } Py_INCREF(Py_None
);
5009 _resultobj
= Py_None
;
5017 static PyObject
*_wrap_wxLog_GetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5018 PyObject
* _resultobj
;
5020 char *_kwnames
[] = { NULL
};
5023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_GetTimestamp",_kwnames
))
5026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5027 const wxString
& _result_ref
= wxLog::GetTimestamp();
5028 _result
= (wxString
*) &_result_ref
;
5030 wxPyEndAllowThreads(__tstate
);
5031 if (PyErr_Occurred()) return NULL
;
5034 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
5036 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5042 #define wxLog_GetVerbose(_swigobj) (_swigobj->GetVerbose())
5043 static PyObject
*_wrap_wxLog_GetVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5044 PyObject
* _resultobj
;
5047 PyObject
* _argo0
= 0;
5048 char *_kwnames
[] = { "self", NULL
};
5051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_GetVerbose",_kwnames
,&_argo0
))
5054 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5055 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
5056 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_GetVerbose. Expected _wxLog_p.");
5061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5062 _result
= (bool )wxLog_GetVerbose(_arg0
);
5064 wxPyEndAllowThreads(__tstate
);
5065 if (PyErr_Occurred()) return NULL
;
5066 } _resultobj
= Py_BuildValue("i",_result
);
5070 static PyObject
*_wrap_wxLog_GetTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5071 PyObject
* _resultobj
;
5072 unsigned long _result
;
5073 char *_kwnames
[] = { NULL
};
5076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_GetTraceMask",_kwnames
))
5079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5080 _result
= (unsigned long )wxLog::GetTraceMask();
5082 wxPyEndAllowThreads(__tstate
);
5083 if (PyErr_Occurred()) return NULL
;
5084 } _resultobj
= Py_BuildValue("l",_result
);
5088 static PyObject
*_wrap_wxLog_IsAllowedTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5089 PyObject
* _resultobj
;
5092 PyObject
* _obj0
= 0;
5093 char *_kwnames
[] = { "mask", NULL
};
5096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_IsAllowedTraceMask",_kwnames
,&_obj0
))
5099 _arg0
= wxString_in_helper(_obj0
);
5104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5105 _result
= (bool )wxLog::IsAllowedTraceMask(*_arg0
);
5107 wxPyEndAllowThreads(__tstate
);
5108 if (PyErr_Occurred()) return NULL
;
5109 } _resultobj
= Py_BuildValue("i",_result
);
5117 static PyObject
*_wrap_wxLog_SetLogLevel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5118 PyObject
* _resultobj
;
5119 unsigned long _arg0
;
5120 char *_kwnames
[] = { "logLevel", NULL
};
5123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:wxLog_SetLogLevel",_kwnames
,&_arg0
))
5126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5127 wxLog::SetLogLevel(_arg0
);
5129 wxPyEndAllowThreads(__tstate
);
5130 if (PyErr_Occurred()) return NULL
;
5131 } Py_INCREF(Py_None
);
5132 _resultobj
= Py_None
;
5136 static PyObject
*_wrap_wxLog_GetLogLevel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5137 PyObject
* _resultobj
;
5138 unsigned long _result
;
5139 char *_kwnames
[] = { NULL
};
5142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_GetLogLevel",_kwnames
))
5145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5146 _result
= (unsigned long )wxLog::GetLogLevel();
5148 wxPyEndAllowThreads(__tstate
);
5149 if (PyErr_Occurred()) return NULL
;
5150 } _resultobj
= Py_BuildValue("l",_result
);
5154 static wxString
wxLog_TimeStamp(wxLog
*self
) {
5156 wxLog::TimeStamp(&msg
);
5159 static PyObject
*_wrap_wxLog_TimeStamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5160 PyObject
* _resultobj
;
5163 PyObject
* _argo0
= 0;
5164 char *_kwnames
[] = { "self", NULL
};
5167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_TimeStamp",_kwnames
,&_argo0
))
5170 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5171 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
5172 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_TimeStamp. Expected _wxLog_p.");
5177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5178 _result
= new wxString (wxLog_TimeStamp(_arg0
));
5180 wxPyEndAllowThreads(__tstate
);
5181 if (PyErr_Occurred()) return NULL
;
5184 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
5186 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5195 static void *SwigwxLogStderrTowxLog(void *ptr
) {
5198 src
= (wxLogStderr
*) ptr
;
5199 dest
= (wxLog
*) src
;
5200 return (void *) dest
;
5203 #define new_wxLogStderr() (new wxLogStderr())
5204 static PyObject
*_wrap_new_wxLogStderr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5205 PyObject
* _resultobj
;
5206 wxLogStderr
* _result
;
5207 char *_kwnames
[] = { NULL
};
5211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLogStderr",_kwnames
))
5214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5215 _result
= (wxLogStderr
*)new_wxLogStderr();
5217 wxPyEndAllowThreads(__tstate
);
5218 if (PyErr_Occurred()) return NULL
;
5220 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogStderr_p");
5221 _resultobj
= Py_BuildValue("s",_ptemp
);
5224 _resultobj
= Py_None
;
5229 static void *SwigwxLogTextCtrlTowxLog(void *ptr
) {
5232 src
= (wxLogTextCtrl
*) ptr
;
5233 dest
= (wxLog
*) src
;
5234 return (void *) dest
;
5237 #define new_wxLogTextCtrl(_swigarg0) (new wxLogTextCtrl(_swigarg0))
5238 static PyObject
*_wrap_new_wxLogTextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5239 PyObject
* _resultobj
;
5240 wxLogTextCtrl
* _result
;
5242 PyObject
* _argo0
= 0;
5243 char *_kwnames
[] = { "pTextCtrl", NULL
};
5247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxLogTextCtrl",_kwnames
,&_argo0
))
5250 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5251 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
5252 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxLogTextCtrl. Expected _wxTextCtrl_p.");
5257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5258 _result
= (wxLogTextCtrl
*)new_wxLogTextCtrl(_arg0
);
5260 wxPyEndAllowThreads(__tstate
);
5261 if (PyErr_Occurred()) return NULL
;
5263 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogTextCtrl_p");
5264 _resultobj
= Py_BuildValue("s",_ptemp
);
5267 _resultobj
= Py_None
;
5272 static void *SwigwxLogGuiTowxLog(void *ptr
) {
5275 src
= (wxLogGui
*) ptr
;
5276 dest
= (wxLog
*) src
;
5277 return (void *) dest
;
5280 #define new_wxLogGui() (new wxLogGui())
5281 static PyObject
*_wrap_new_wxLogGui(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5282 PyObject
* _resultobj
;
5284 char *_kwnames
[] = { NULL
};
5288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLogGui",_kwnames
))
5291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5292 _result
= (wxLogGui
*)new_wxLogGui();
5294 wxPyEndAllowThreads(__tstate
);
5295 if (PyErr_Occurred()) return NULL
;
5297 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogGui_p");
5298 _resultobj
= Py_BuildValue("s",_ptemp
);
5301 _resultobj
= Py_None
;
5306 static void *SwigwxLogWindowTowxLog(void *ptr
) {
5309 src
= (wxLogWindow
*) ptr
;
5310 dest
= (wxLog
*) src
;
5311 return (void *) dest
;
5314 #define new_wxLogWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxLogWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5315 static PyObject
*_wrap_new_wxLogWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5316 PyObject
* _resultobj
;
5317 wxLogWindow
* _result
;
5320 bool _arg2
= (bool ) TRUE
;
5321 bool _arg3
= (bool ) TRUE
;
5322 PyObject
* _argo0
= 0;
5323 PyObject
* _obj1
= 0;
5324 int tempbool2
= (int) TRUE
;
5325 int tempbool3
= (int) TRUE
;
5326 char *_kwnames
[] = { "pParent","szTitle","bShow","bPassToOld", NULL
};
5330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|ii:new_wxLogWindow",_kwnames
,&_argo0
,&_obj1
,&tempbool2
,&tempbool3
))
5333 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5334 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
5335 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxLogWindow. Expected _wxFrame_p.");
5340 _arg1
= wxString_in_helper(_obj1
);
5344 _arg2
= (bool ) tempbool2
;
5345 _arg3
= (bool ) tempbool3
;
5347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5348 _result
= (wxLogWindow
*)new_wxLogWindow(_arg0
,*_arg1
,_arg2
,_arg3
);
5350 wxPyEndAllowThreads(__tstate
);
5351 if (PyErr_Occurred()) return NULL
;
5353 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogWindow_p");
5354 _resultobj
= Py_BuildValue("s",_ptemp
);
5357 _resultobj
= Py_None
;
5366 #define wxLogWindow_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
5367 static PyObject
*_wrap_wxLogWindow_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5368 PyObject
* _resultobj
;
5369 wxLogWindow
* _arg0
;
5370 bool _arg1
= (bool ) TRUE
;
5371 PyObject
* _argo0
= 0;
5372 int tempbool1
= (int) TRUE
;
5373 char *_kwnames
[] = { "self","bShow", NULL
};
5376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxLogWindow_Show",_kwnames
,&_argo0
,&tempbool1
))
5379 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5380 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
5381 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_Show. Expected _wxLogWindow_p.");
5385 _arg1
= (bool ) tempbool1
;
5387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5388 wxLogWindow_Show(_arg0
,_arg1
);
5390 wxPyEndAllowThreads(__tstate
);
5391 if (PyErr_Occurred()) return NULL
;
5392 } Py_INCREF(Py_None
);
5393 _resultobj
= Py_None
;
5397 #define wxLogWindow_GetFrame(_swigobj) (_swigobj->GetFrame())
5398 static PyObject
*_wrap_wxLogWindow_GetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5399 PyObject
* _resultobj
;
5401 wxLogWindow
* _arg0
;
5402 PyObject
* _argo0
= 0;
5403 char *_kwnames
[] = { "self", NULL
};
5406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogWindow_GetFrame",_kwnames
,&_argo0
))
5409 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5410 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
5411 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_GetFrame. Expected _wxLogWindow_p.");
5416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5417 _result
= (wxFrame
*)wxLogWindow_GetFrame(_arg0
);
5419 wxPyEndAllowThreads(__tstate
);
5420 if (PyErr_Occurred()) return NULL
;
5421 }{ _resultobj
= wxPyMake_wxObject(_result
); }
5425 #define wxLogWindow_GetOldLog(_swigobj) (_swigobj->GetOldLog())
5426 static PyObject
*_wrap_wxLogWindow_GetOldLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5427 PyObject
* _resultobj
;
5429 wxLogWindow
* _arg0
;
5430 PyObject
* _argo0
= 0;
5431 char *_kwnames
[] = { "self", NULL
};
5435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogWindow_GetOldLog",_kwnames
,&_argo0
))
5438 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5439 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
5440 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_GetOldLog. Expected _wxLogWindow_p.");
5445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5446 _result
= (wxLog
*)wxLogWindow_GetOldLog(_arg0
);
5448 wxPyEndAllowThreads(__tstate
);
5449 if (PyErr_Occurred()) return NULL
;
5451 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
5452 _resultobj
= Py_BuildValue("s",_ptemp
);
5455 _resultobj
= Py_None
;
5460 #define wxLogWindow_IsPassingMessages(_swigobj) (_swigobj->IsPassingMessages())
5461 static PyObject
*_wrap_wxLogWindow_IsPassingMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5462 PyObject
* _resultobj
;
5464 wxLogWindow
* _arg0
;
5465 PyObject
* _argo0
= 0;
5466 char *_kwnames
[] = { "self", NULL
};
5469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogWindow_IsPassingMessages",_kwnames
,&_argo0
))
5472 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5473 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
5474 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_IsPassingMessages. Expected _wxLogWindow_p.");
5479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5480 _result
= (bool )wxLogWindow_IsPassingMessages(_arg0
);
5482 wxPyEndAllowThreads(__tstate
);
5483 if (PyErr_Occurred()) return NULL
;
5484 } _resultobj
= Py_BuildValue("i",_result
);
5488 #define wxLogWindow_PassMessages(_swigobj,_swigarg0) (_swigobj->PassMessages(_swigarg0))
5489 static PyObject
*_wrap_wxLogWindow_PassMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5490 PyObject
* _resultobj
;
5491 wxLogWindow
* _arg0
;
5493 PyObject
* _argo0
= 0;
5495 char *_kwnames
[] = { "self","bDoPass", NULL
};
5498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxLogWindow_PassMessages",_kwnames
,&_argo0
,&tempbool1
))
5501 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5502 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
5503 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_PassMessages. Expected _wxLogWindow_p.");
5507 _arg1
= (bool ) tempbool1
;
5509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5510 wxLogWindow_PassMessages(_arg0
,_arg1
);
5512 wxPyEndAllowThreads(__tstate
);
5513 if (PyErr_Occurred()) return NULL
;
5514 } Py_INCREF(Py_None
);
5515 _resultobj
= Py_None
;
5519 static void *SwigwxLogChainTowxLog(void *ptr
) {
5522 src
= (wxLogChain
*) ptr
;
5523 dest
= (wxLog
*) src
;
5524 return (void *) dest
;
5527 #define new_wxLogChain(_swigarg0) (new wxLogChain(_swigarg0))
5528 static PyObject
*_wrap_new_wxLogChain(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5529 PyObject
* _resultobj
;
5530 wxLogChain
* _result
;
5532 PyObject
* _argo0
= 0;
5533 char *_kwnames
[] = { "logger", NULL
};
5537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxLogChain",_kwnames
,&_argo0
))
5540 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5541 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
5542 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxLogChain. Expected _wxLog_p.");
5547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5548 _result
= (wxLogChain
*)new_wxLogChain(_arg0
);
5550 wxPyEndAllowThreads(__tstate
);
5551 if (PyErr_Occurred()) return NULL
;
5553 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogChain_p");
5554 _resultobj
= Py_BuildValue("s",_ptemp
);
5557 _resultobj
= Py_None
;
5562 #define wxLogChain_SetLog(_swigobj,_swigarg0) (_swigobj->SetLog(_swigarg0))
5563 static PyObject
*_wrap_wxLogChain_SetLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5564 PyObject
* _resultobj
;
5567 PyObject
* _argo0
= 0;
5568 PyObject
* _argo1
= 0;
5569 char *_kwnames
[] = { "self","logger", NULL
};
5572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxLogChain_SetLog",_kwnames
,&_argo0
,&_argo1
))
5575 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5576 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogChain_p")) {
5577 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogChain_SetLog. Expected _wxLogChain_p.");
5582 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5583 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxLog_p")) {
5584 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxLogChain_SetLog. Expected _wxLog_p.");
5589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5590 wxLogChain_SetLog(_arg0
,_arg1
);
5592 wxPyEndAllowThreads(__tstate
);
5593 if (PyErr_Occurred()) return NULL
;
5594 } Py_INCREF(Py_None
);
5595 _resultobj
= Py_None
;
5599 #define wxLogChain_PassMessages(_swigobj,_swigarg0) (_swigobj->PassMessages(_swigarg0))
5600 static PyObject
*_wrap_wxLogChain_PassMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5601 PyObject
* _resultobj
;
5604 PyObject
* _argo0
= 0;
5606 char *_kwnames
[] = { "self","bDoPass", NULL
};
5609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxLogChain_PassMessages",_kwnames
,&_argo0
,&tempbool1
))
5612 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5613 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogChain_p")) {
5614 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogChain_PassMessages. Expected _wxLogChain_p.");
5618 _arg1
= (bool ) tempbool1
;
5620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5621 wxLogChain_PassMessages(_arg0
,_arg1
);
5623 wxPyEndAllowThreads(__tstate
);
5624 if (PyErr_Occurred()) return NULL
;
5625 } Py_INCREF(Py_None
);
5626 _resultobj
= Py_None
;
5630 #define wxLogChain_IsPassingMessages(_swigobj) (_swigobj->IsPassingMessages())
5631 static PyObject
*_wrap_wxLogChain_IsPassingMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5632 PyObject
* _resultobj
;
5635 PyObject
* _argo0
= 0;
5636 char *_kwnames
[] = { "self", NULL
};
5639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogChain_IsPassingMessages",_kwnames
,&_argo0
))
5642 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5643 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogChain_p")) {
5644 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogChain_IsPassingMessages. Expected _wxLogChain_p.");
5649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5650 _result
= (bool )wxLogChain_IsPassingMessages(_arg0
);
5652 wxPyEndAllowThreads(__tstate
);
5653 if (PyErr_Occurred()) return NULL
;
5654 } _resultobj
= Py_BuildValue("i",_result
);
5658 #define wxLogChain_GetOldLog(_swigobj) (_swigobj->GetOldLog())
5659 static PyObject
*_wrap_wxLogChain_GetOldLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5660 PyObject
* _resultobj
;
5663 PyObject
* _argo0
= 0;
5664 char *_kwnames
[] = { "self", NULL
};
5668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogChain_GetOldLog",_kwnames
,&_argo0
))
5671 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5672 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogChain_p")) {
5673 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogChain_GetOldLog. Expected _wxLogChain_p.");
5678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5679 _result
= (wxLog
*)wxLogChain_GetOldLog(_arg0
);
5681 wxPyEndAllowThreads(__tstate
);
5682 if (PyErr_Occurred()) return NULL
;
5684 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
5685 _resultobj
= Py_BuildValue("s",_ptemp
);
5688 _resultobj
= Py_None
;
5693 #define new_wxLogNull() (new wxLogNull())
5694 static PyObject
*_wrap_new_wxLogNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5695 PyObject
* _resultobj
;
5696 wxLogNull
* _result
;
5697 char *_kwnames
[] = { NULL
};
5701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLogNull",_kwnames
))
5704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5705 _result
= (wxLogNull
*)new_wxLogNull();
5707 wxPyEndAllowThreads(__tstate
);
5708 if (PyErr_Occurred()) return NULL
;
5710 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogNull_p");
5711 _resultobj
= Py_BuildValue("s",_ptemp
);
5714 _resultobj
= Py_None
;
5719 #define delete_wxLogNull(_swigobj) (delete _swigobj)
5720 static PyObject
*_wrap_delete_wxLogNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5721 PyObject
* _resultobj
;
5723 PyObject
* _argo0
= 0;
5724 char *_kwnames
[] = { "self", NULL
};
5727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxLogNull",_kwnames
,&_argo0
))
5730 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5731 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogNull_p")) {
5732 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxLogNull. Expected _wxLogNull_p.");
5737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5738 delete_wxLogNull(_arg0
);
5740 wxPyEndAllowThreads(__tstate
);
5741 if (PyErr_Occurred()) return NULL
;
5742 } Py_INCREF(Py_None
);
5743 _resultobj
= Py_None
;
5747 static void *SwigwxPyLogTowxLog(void *ptr
) {
5750 src
= (wxPyLog
*) ptr
;
5751 dest
= (wxLog
*) src
;
5752 return (void *) dest
;
5755 #define new_wxPyLog() (new wxPyLog())
5756 static PyObject
*_wrap_new_wxPyLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5757 PyObject
* _resultobj
;
5759 char *_kwnames
[] = { NULL
};
5763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPyLog",_kwnames
))
5766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5767 _result
= (wxPyLog
*)new_wxPyLog();
5769 wxPyEndAllowThreads(__tstate
);
5770 if (PyErr_Occurred()) return NULL
;
5772 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyLog_p");
5773 _resultobj
= Py_BuildValue("s",_ptemp
);
5776 _resultobj
= Py_None
;
5781 #define wxPyLog__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
5782 static PyObject
*_wrap_wxPyLog__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5783 PyObject
* _resultobj
;
5787 PyObject
* _argo0
= 0;
5788 PyObject
* _obj1
= 0;
5789 PyObject
* _obj2
= 0;
5790 char *_kwnames
[] = { "self","self","_class", NULL
};
5793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyLog__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
5796 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5797 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLog_p")) {
5798 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLog__setCallbackInfo. Expected _wxPyLog_p.");
5809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5810 wxPyLog__setCallbackInfo(_arg0
,_arg1
,_arg2
);
5812 wxPyEndAllowThreads(__tstate
);
5813 if (PyErr_Occurred()) return NULL
;
5814 } Py_INCREF(Py_None
);
5815 _resultobj
= Py_None
;
5819 static void wxPyLog_Destroy(wxPyLog
*self
) { delete self
; }
5820 static PyObject
*_wrap_wxPyLog_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5821 PyObject
* _resultobj
;
5823 PyObject
* _argo0
= 0;
5824 char *_kwnames
[] = { "self", NULL
};
5827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyLog_Destroy",_kwnames
,&_argo0
))
5830 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5831 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLog_p")) {
5832 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLog_Destroy. Expected _wxPyLog_p.");
5837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5838 wxPyLog_Destroy(_arg0
);
5840 wxPyEndAllowThreads(__tstate
);
5841 if (PyErr_Occurred()) return NULL
;
5842 } Py_INCREF(Py_None
);
5843 _resultobj
= Py_None
;
5847 static void *SwigwxProcessEventTowxEvent(void *ptr
) {
5848 wxProcessEvent
*src
;
5850 src
= (wxProcessEvent
*) ptr
;
5851 dest
= (wxEvent
*) src
;
5852 return (void *) dest
;
5855 static void *SwigwxProcessEventTowxObject(void *ptr
) {
5856 wxProcessEvent
*src
;
5858 src
= (wxProcessEvent
*) ptr
;
5859 dest
= (wxObject
*) src
;
5860 return (void *) dest
;
5863 #define new_wxProcessEvent(_swigarg0,_swigarg1,_swigarg2) (new wxProcessEvent(_swigarg0,_swigarg1,_swigarg2))
5864 static PyObject
*_wrap_new_wxProcessEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5865 PyObject
* _resultobj
;
5866 wxProcessEvent
* _result
;
5867 int _arg0
= (int ) 0;
5868 int _arg1
= (int ) 0;
5869 int _arg2
= (int ) 0;
5870 char *_kwnames
[] = { "id","pid","exitcode", NULL
};
5874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iii:new_wxProcessEvent",_kwnames
,&_arg0
,&_arg1
,&_arg2
))
5877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5878 _result
= (wxProcessEvent
*)new_wxProcessEvent(_arg0
,_arg1
,_arg2
);
5880 wxPyEndAllowThreads(__tstate
);
5881 if (PyErr_Occurred()) return NULL
;
5883 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxProcessEvent_p");
5884 _resultobj
= Py_BuildValue("s",_ptemp
);
5887 _resultobj
= Py_None
;
5892 #define wxProcessEvent_GetPid(_swigobj) (_swigobj->GetPid())
5893 static PyObject
*_wrap_wxProcessEvent_GetPid(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_GetPid",_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_GetPid. Expected _wxProcessEvent_p.");
5911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5912 _result
= (int )wxProcessEvent_GetPid(_arg0
);
5914 wxPyEndAllowThreads(__tstate
);
5915 if (PyErr_Occurred()) return NULL
;
5916 } _resultobj
= Py_BuildValue("i",_result
);
5920 #define wxProcessEvent_GetExitCode(_swigobj) (_swigobj->GetExitCode())
5921 static PyObject
*_wrap_wxProcessEvent_GetExitCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5922 PyObject
* _resultobj
;
5924 wxProcessEvent
* _arg0
;
5925 PyObject
* _argo0
= 0;
5926 char *_kwnames
[] = { "self", NULL
};
5929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcessEvent_GetExitCode",_kwnames
,&_argo0
))
5932 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5933 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
5934 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_GetExitCode. Expected _wxProcessEvent_p.");
5939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5940 _result
= (int )wxProcessEvent_GetExitCode(_arg0
);
5942 wxPyEndAllowThreads(__tstate
);
5943 if (PyErr_Occurred()) return NULL
;
5944 } _resultobj
= Py_BuildValue("i",_result
);
5948 #define wxProcessEvent_m_pid_set(_swigobj,_swigval) (_swigobj->m_pid = _swigval,_swigval)
5949 static PyObject
*_wrap_wxProcessEvent_m_pid_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5950 PyObject
* _resultobj
;
5952 wxProcessEvent
* _arg0
;
5954 PyObject
* _argo0
= 0;
5955 char *_kwnames
[] = { "self","m_pid", NULL
};
5958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxProcessEvent_m_pid_set",_kwnames
,&_argo0
,&_arg1
))
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_set. Expected _wxProcessEvent_p.");
5968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5969 _result
= (int )wxProcessEvent_m_pid_set(_arg0
,_arg1
);
5971 wxPyEndAllowThreads(__tstate
);
5972 if (PyErr_Occurred()) return NULL
;
5973 } _resultobj
= Py_BuildValue("i",_result
);
5977 #define wxProcessEvent_m_pid_get(_swigobj) ((int ) _swigobj->m_pid)
5978 static PyObject
*_wrap_wxProcessEvent_m_pid_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5979 PyObject
* _resultobj
;
5981 wxProcessEvent
* _arg0
;
5982 PyObject
* _argo0
= 0;
5983 char *_kwnames
[] = { "self", NULL
};
5986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcessEvent_m_pid_get",_kwnames
,&_argo0
))
5989 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5990 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
5991 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_m_pid_get. Expected _wxProcessEvent_p.");
5996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5997 _result
= (int )wxProcessEvent_m_pid_get(_arg0
);
5999 wxPyEndAllowThreads(__tstate
);
6000 if (PyErr_Occurred()) return NULL
;
6001 } _resultobj
= Py_BuildValue("i",_result
);
6005 #define wxProcessEvent_m_exitcode_set(_swigobj,_swigval) (_swigobj->m_exitcode = _swigval,_swigval)
6006 static PyObject
*_wrap_wxProcessEvent_m_exitcode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6007 PyObject
* _resultobj
;
6009 wxProcessEvent
* _arg0
;
6011 PyObject
* _argo0
= 0;
6012 char *_kwnames
[] = { "self","m_exitcode", NULL
};
6015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxProcessEvent_m_exitcode_set",_kwnames
,&_argo0
,&_arg1
))
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_set. Expected _wxProcessEvent_p.");
6025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6026 _result
= (int )wxProcessEvent_m_exitcode_set(_arg0
,_arg1
);
6028 wxPyEndAllowThreads(__tstate
);
6029 if (PyErr_Occurred()) return NULL
;
6030 } _resultobj
= Py_BuildValue("i",_result
);
6034 #define wxProcessEvent_m_exitcode_get(_swigobj) ((int ) _swigobj->m_exitcode)
6035 static PyObject
*_wrap_wxProcessEvent_m_exitcode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6036 PyObject
* _resultobj
;
6038 wxProcessEvent
* _arg0
;
6039 PyObject
* _argo0
= 0;
6040 char *_kwnames
[] = { "self", NULL
};
6043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcessEvent_m_exitcode_get",_kwnames
,&_argo0
))
6046 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6047 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
6048 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_m_exitcode_get. Expected _wxProcessEvent_p.");
6053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6054 _result
= (int )wxProcessEvent_m_exitcode_get(_arg0
);
6056 wxPyEndAllowThreads(__tstate
);
6057 if (PyErr_Occurred()) return NULL
;
6058 } _resultobj
= Py_BuildValue("i",_result
);
6062 static void *SwigwxPyProcessTowxEvtHandler(void *ptr
) {
6065 src
= (wxPyProcess
*) ptr
;
6066 dest
= (wxEvtHandler
*) src
;
6067 return (void *) dest
;
6070 static void *SwigwxPyProcessTowxObject(void *ptr
) {
6073 src
= (wxPyProcess
*) ptr
;
6074 dest
= (wxObject
*) src
;
6075 return (void *) dest
;
6078 static PyObject
*_wrap_wxProcess_Kill(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6079 PyObject
* _resultobj
;
6080 wxKillError _result
;
6082 wxSignal _arg1
= (wxSignal
) (wxSIGTERM
);
6083 char *_kwnames
[] = { "pid","sig", NULL
};
6086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i|i:wxProcess_Kill",_kwnames
,&_arg0
,&_arg1
))
6089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6090 _result
= (wxKillError
)wxPyProcess::Kill(_arg0
,_arg1
);
6092 wxPyEndAllowThreads(__tstate
);
6093 if (PyErr_Occurred()) return NULL
;
6094 } _resultobj
= Py_BuildValue("i",_result
);
6098 static PyObject
*_wrap_wxProcess_Exists(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6099 PyObject
* _resultobj
;
6102 char *_kwnames
[] = { "pid", NULL
};
6105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxProcess_Exists",_kwnames
,&_arg0
))
6108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6109 _result
= (bool )wxPyProcess::Exists(_arg0
);
6111 wxPyEndAllowThreads(__tstate
);
6112 if (PyErr_Occurred()) return NULL
;
6113 } _resultobj
= Py_BuildValue("i",_result
);
6117 static PyObject
*_wrap_wxProcess_Open(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6118 PyObject
* _resultobj
;
6119 wxPyProcess
* _result
;
6121 int _arg1
= (int ) wxEXEC_ASYNC
;
6122 PyObject
* _obj0
= 0;
6123 char *_kwnames
[] = { "cmd","flags", NULL
};
6127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxProcess_Open",_kwnames
,&_obj0
,&_arg1
))
6130 _arg0
= wxString_in_helper(_obj0
);
6135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6136 _result
= (wxPyProcess
*)wxPyProcess::Open(*_arg0
,_arg1
);
6138 wxPyEndAllowThreads(__tstate
);
6139 if (PyErr_Occurred()) return NULL
;
6141 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyProcess_p");
6142 _resultobj
= Py_BuildValue("s",_ptemp
);
6145 _resultobj
= Py_None
;
6154 #define new_wxProcess(_swigarg0,_swigarg1) (new wxPyProcess(_swigarg0,_swigarg1))
6155 static PyObject
*_wrap_new_wxProcess(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6156 PyObject
* _resultobj
;
6157 wxPyProcess
* _result
;
6158 wxEvtHandler
* _arg0
= (wxEvtHandler
*) NULL
;
6159 int _arg1
= (int ) -1;
6160 PyObject
* _argo0
= 0;
6161 char *_kwnames
[] = { "parent","id", NULL
};
6165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|Oi:new_wxProcess",_kwnames
,&_argo0
,&_arg1
))
6168 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6169 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
6170 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxProcess. Expected _wxEvtHandler_p.");
6175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6176 _result
= (wxPyProcess
*)new_wxProcess(_arg0
,_arg1
);
6178 wxPyEndAllowThreads(__tstate
);
6179 if (PyErr_Occurred()) return NULL
;
6181 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyProcess_p");
6182 _resultobj
= Py_BuildValue("s",_ptemp
);
6185 _resultobj
= Py_None
;
6190 static void wxPyProcess_Destroy(wxPyProcess
*self
) { delete self
; }
6191 static PyObject
*_wrap_wxProcess_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6192 PyObject
* _resultobj
;
6193 wxPyProcess
* _arg0
;
6194 PyObject
* _argo0
= 0;
6195 char *_kwnames
[] = { "self", NULL
};
6198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_Destroy",_kwnames
,&_argo0
))
6201 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6202 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6203 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_Destroy. Expected _wxPyProcess_p.");
6208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6209 wxPyProcess_Destroy(_arg0
);
6211 wxPyEndAllowThreads(__tstate
);
6212 if (PyErr_Occurred()) return NULL
;
6213 } Py_INCREF(Py_None
);
6214 _resultobj
= Py_None
;
6218 #define wxProcess__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
6219 static PyObject
*_wrap_wxProcess__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6220 PyObject
* _resultobj
;
6221 wxPyProcess
* _arg0
;
6224 PyObject
* _argo0
= 0;
6225 PyObject
* _obj1
= 0;
6226 PyObject
* _obj2
= 0;
6227 char *_kwnames
[] = { "self","self","_class", NULL
};
6230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxProcess__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
6233 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6234 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6235 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess__setCallbackInfo. Expected _wxPyProcess_p.");
6246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6247 wxProcess__setCallbackInfo(_arg0
,_arg1
,_arg2
);
6249 wxPyEndAllowThreads(__tstate
);
6250 if (PyErr_Occurred()) return NULL
;
6251 } Py_INCREF(Py_None
);
6252 _resultobj
= Py_None
;
6256 #define wxProcess_base_OnTerminate(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnTerminate(_swigarg0,_swigarg1))
6257 static PyObject
*_wrap_wxProcess_base_OnTerminate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6258 PyObject
* _resultobj
;
6259 wxPyProcess
* _arg0
;
6262 PyObject
* _argo0
= 0;
6263 char *_kwnames
[] = { "self","pid","status", NULL
};
6266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxProcess_base_OnTerminate",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
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_base_OnTerminate. Expected _wxPyProcess_p.");
6276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6277 wxProcess_base_OnTerminate(_arg0
,_arg1
,_arg2
);
6279 wxPyEndAllowThreads(__tstate
);
6280 if (PyErr_Occurred()) return NULL
;
6281 } Py_INCREF(Py_None
);
6282 _resultobj
= Py_None
;
6286 #define wxProcess_Redirect(_swigobj) (_swigobj->Redirect())
6287 static PyObject
*_wrap_wxProcess_Redirect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6288 PyObject
* _resultobj
;
6289 wxPyProcess
* _arg0
;
6290 PyObject
* _argo0
= 0;
6291 char *_kwnames
[] = { "self", NULL
};
6294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_Redirect",_kwnames
,&_argo0
))
6297 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6298 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6299 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_Redirect. Expected _wxPyProcess_p.");
6304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6305 wxProcess_Redirect(_arg0
);
6307 wxPyEndAllowThreads(__tstate
);
6308 if (PyErr_Occurred()) return NULL
;
6309 } Py_INCREF(Py_None
);
6310 _resultobj
= Py_None
;
6314 #define wxProcess_IsRedirected(_swigobj) (_swigobj->IsRedirected())
6315 static PyObject
*_wrap_wxProcess_IsRedirected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6316 PyObject
* _resultobj
;
6318 wxPyProcess
* _arg0
;
6319 PyObject
* _argo0
= 0;
6320 char *_kwnames
[] = { "self", NULL
};
6323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_IsRedirected",_kwnames
,&_argo0
))
6326 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6327 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6328 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_IsRedirected. Expected _wxPyProcess_p.");
6333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6334 _result
= (bool )wxProcess_IsRedirected(_arg0
);
6336 wxPyEndAllowThreads(__tstate
);
6337 if (PyErr_Occurred()) return NULL
;
6338 } _resultobj
= Py_BuildValue("i",_result
);
6342 #define wxProcess_Detach(_swigobj) (_swigobj->Detach())
6343 static PyObject
*_wrap_wxProcess_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6344 PyObject
* _resultobj
;
6345 wxPyProcess
* _arg0
;
6346 PyObject
* _argo0
= 0;
6347 char *_kwnames
[] = { "self", NULL
};
6350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_Detach",_kwnames
,&_argo0
))
6353 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6354 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6355 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_Detach. Expected _wxPyProcess_p.");
6360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6361 wxProcess_Detach(_arg0
);
6363 wxPyEndAllowThreads(__tstate
);
6364 if (PyErr_Occurred()) return NULL
;
6365 } Py_INCREF(Py_None
);
6366 _resultobj
= Py_None
;
6370 #define wxProcess_GetInputStream(_swigobj) (_swigobj->GetInputStream())
6371 static PyObject
*_wrap_wxProcess_GetInputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6372 PyObject
* _resultobj
;
6373 wxInputStream
* _result
;
6374 wxPyProcess
* _arg0
;
6375 PyObject
* _argo0
= 0;
6376 char *_kwnames
[] = { "self", NULL
};
6379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_GetInputStream",_kwnames
,&_argo0
))
6382 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6383 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6384 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_GetInputStream. Expected _wxPyProcess_p.");
6389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6390 _result
= (wxInputStream
*)wxProcess_GetInputStream(_arg0
);
6392 wxPyEndAllowThreads(__tstate
);
6393 if (PyErr_Occurred()) return NULL
;
6395 wxPyInputStream
* _ptr
= NULL
;
6398 _ptr
= new wxPyInputStream(_result
);
6400 _resultobj
= wxPyConstructObject(_ptr
, wxT("wxInputStream"), TRUE
);
6405 #define wxProcess_GetErrorStream(_swigobj) (_swigobj->GetErrorStream())
6406 static PyObject
*_wrap_wxProcess_GetErrorStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6407 PyObject
* _resultobj
;
6408 wxInputStream
* _result
;
6409 wxPyProcess
* _arg0
;
6410 PyObject
* _argo0
= 0;
6411 char *_kwnames
[] = { "self", NULL
};
6414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_GetErrorStream",_kwnames
,&_argo0
))
6417 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6418 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6419 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_GetErrorStream. Expected _wxPyProcess_p.");
6424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6425 _result
= (wxInputStream
*)wxProcess_GetErrorStream(_arg0
);
6427 wxPyEndAllowThreads(__tstate
);
6428 if (PyErr_Occurred()) return NULL
;
6430 wxPyInputStream
* _ptr
= NULL
;
6433 _ptr
= new wxPyInputStream(_result
);
6435 _resultobj
= wxPyConstructObject(_ptr
, wxT("wxInputStream"), TRUE
);
6440 #define wxProcess_GetOutputStream(_swigobj) (_swigobj->GetOutputStream())
6441 static PyObject
*_wrap_wxProcess_GetOutputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6442 PyObject
* _resultobj
;
6443 wxOutputStream
* _result
;
6444 wxPyProcess
* _arg0
;
6445 PyObject
* _argo0
= 0;
6446 char *_kwnames
[] = { "self", NULL
};
6450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_GetOutputStream",_kwnames
,&_argo0
))
6453 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6454 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6455 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_GetOutputStream. Expected _wxPyProcess_p.");
6460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6461 _result
= (wxOutputStream
*)wxProcess_GetOutputStream(_arg0
);
6463 wxPyEndAllowThreads(__tstate
);
6464 if (PyErr_Occurred()) return NULL
;
6466 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxOutputStream_p");
6467 _resultobj
= Py_BuildValue("s",_ptemp
);
6470 _resultobj
= Py_None
;
6475 #define wxProcess_CloseOutput(_swigobj) (_swigobj->CloseOutput())
6476 static PyObject
*_wrap_wxProcess_CloseOutput(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6477 PyObject
* _resultobj
;
6478 wxPyProcess
* _arg0
;
6479 PyObject
* _argo0
= 0;
6480 char *_kwnames
[] = { "self", NULL
};
6483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_CloseOutput",_kwnames
,&_argo0
))
6486 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6487 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6488 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_CloseOutput. Expected _wxPyProcess_p.");
6493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6494 wxProcess_CloseOutput(_arg0
);
6496 wxPyEndAllowThreads(__tstate
);
6497 if (PyErr_Occurred()) return NULL
;
6498 } Py_INCREF(Py_None
);
6499 _resultobj
= Py_None
;
6503 #define wxProcess_IsInputOpened(_swigobj) (_swigobj->IsInputOpened())
6504 static PyObject
*_wrap_wxProcess_IsInputOpened(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_IsInputOpened",_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_IsInputOpened. Expected _wxPyProcess_p.");
6522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6523 _result
= (bool )wxProcess_IsInputOpened(_arg0
);
6525 wxPyEndAllowThreads(__tstate
);
6526 if (PyErr_Occurred()) return NULL
;
6527 } _resultobj
= Py_BuildValue("i",_result
);
6531 #define wxProcess_IsInputAvailable(_swigobj) (_swigobj->IsInputAvailable())
6532 static PyObject
*_wrap_wxProcess_IsInputAvailable(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_IsInputAvailable",_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_IsInputAvailable. Expected _wxPyProcess_p.");
6550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6551 _result
= (bool )wxProcess_IsInputAvailable(_arg0
);
6553 wxPyEndAllowThreads(__tstate
);
6554 if (PyErr_Occurred()) return NULL
;
6555 } _resultobj
= Py_BuildValue("i",_result
);
6559 #define wxProcess_IsErrorAvailable(_swigobj) (_swigobj->IsErrorAvailable())
6560 static PyObject
*_wrap_wxProcess_IsErrorAvailable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6561 PyObject
* _resultobj
;
6563 wxPyProcess
* _arg0
;
6564 PyObject
* _argo0
= 0;
6565 char *_kwnames
[] = { "self", NULL
};
6568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_IsErrorAvailable",_kwnames
,&_argo0
))
6571 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6572 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6573 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_IsErrorAvailable. Expected _wxPyProcess_p.");
6578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6579 _result
= (bool )wxProcess_IsErrorAvailable(_arg0
);
6581 wxPyEndAllowThreads(__tstate
);
6582 if (PyErr_Occurred()) return NULL
;
6583 } _resultobj
= Py_BuildValue("i",_result
);
6587 static void *SwigwxJoystickTowxObject(void *ptr
) {
6590 src
= (wxJoystick
*) ptr
;
6591 dest
= (wxObject
*) src
;
6592 return (void *) dest
;
6595 #define new_wxJoystick(_swigarg0) (new wxJoystick(_swigarg0))
6596 static PyObject
*_wrap_new_wxJoystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6597 PyObject
* _resultobj
;
6598 wxJoystick
* _result
;
6599 int _arg0
= (int ) (wxJOYSTICK1
);
6600 char *_kwnames
[] = { "joystick", NULL
};
6604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxJoystick",_kwnames
,&_arg0
))
6607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6608 _result
= (wxJoystick
*)new_wxJoystick(_arg0
);
6610 wxPyEndAllowThreads(__tstate
);
6611 if (PyErr_Occurred()) return NULL
;
6613 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxJoystick_p");
6614 _resultobj
= Py_BuildValue("s",_ptemp
);
6617 _resultobj
= Py_None
;
6622 #define delete_wxJoystick(_swigobj) (delete _swigobj)
6623 static PyObject
*_wrap_delete_wxJoystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6624 PyObject
* _resultobj
;
6626 PyObject
* _argo0
= 0;
6627 char *_kwnames
[] = { "self", NULL
};
6630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxJoystick",_kwnames
,&_argo0
))
6633 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6634 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6635 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxJoystick. Expected _wxJoystick_p.");
6640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6641 delete_wxJoystick(_arg0
);
6643 wxPyEndAllowThreads(__tstate
);
6644 if (PyErr_Occurred()) return NULL
;
6645 } Py_INCREF(Py_None
);
6646 _resultobj
= Py_None
;
6650 #define wxJoystick_GetPosition(_swigobj) (_swigobj->GetPosition())
6651 static PyObject
*_wrap_wxJoystick_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6652 PyObject
* _resultobj
;
6655 PyObject
* _argo0
= 0;
6656 char *_kwnames
[] = { "self", NULL
};
6660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPosition",_kwnames
,&_argo0
))
6663 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6664 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6665 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPosition. Expected _wxJoystick_p.");
6670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6671 _result
= new wxPoint (wxJoystick_GetPosition(_arg0
));
6673 wxPyEndAllowThreads(__tstate
);
6674 if (PyErr_Occurred()) return NULL
;
6675 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
6676 _resultobj
= Py_BuildValue("s",_ptemp
);
6680 #define wxJoystick_GetZPosition(_swigobj) (_swigobj->GetZPosition())
6681 static PyObject
*_wrap_wxJoystick_GetZPosition(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_GetZPosition",_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_GetZPosition. Expected _wxJoystick_p.");
6699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6700 _result
= (int )wxJoystick_GetZPosition(_arg0
);
6702 wxPyEndAllowThreads(__tstate
);
6703 if (PyErr_Occurred()) return NULL
;
6704 } _resultobj
= Py_BuildValue("i",_result
);
6708 #define wxJoystick_GetButtonState(_swigobj) (_swigobj->GetButtonState())
6709 static PyObject
*_wrap_wxJoystick_GetButtonState(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_GetButtonState",_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_GetButtonState. Expected _wxJoystick_p.");
6727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6728 _result
= (int )wxJoystick_GetButtonState(_arg0
);
6730 wxPyEndAllowThreads(__tstate
);
6731 if (PyErr_Occurred()) return NULL
;
6732 } _resultobj
= Py_BuildValue("i",_result
);
6736 #define wxJoystick_GetPOVPosition(_swigobj) (_swigobj->GetPOVPosition())
6737 static PyObject
*_wrap_wxJoystick_GetPOVPosition(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_GetPOVPosition",_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_GetPOVPosition. Expected _wxJoystick_p.");
6755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6756 _result
= (int )wxJoystick_GetPOVPosition(_arg0
);
6758 wxPyEndAllowThreads(__tstate
);
6759 if (PyErr_Occurred()) return NULL
;
6760 } _resultobj
= Py_BuildValue("i",_result
);
6764 #define wxJoystick_GetPOVCTSPosition(_swigobj) (_swigobj->GetPOVCTSPosition())
6765 static PyObject
*_wrap_wxJoystick_GetPOVCTSPosition(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_GetPOVCTSPosition",_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_GetPOVCTSPosition. Expected _wxJoystick_p.");
6783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6784 _result
= (int )wxJoystick_GetPOVCTSPosition(_arg0
);
6786 wxPyEndAllowThreads(__tstate
);
6787 if (PyErr_Occurred()) return NULL
;
6788 } _resultobj
= Py_BuildValue("i",_result
);
6792 #define wxJoystick_GetRudderPosition(_swigobj) (_swigobj->GetRudderPosition())
6793 static PyObject
*_wrap_wxJoystick_GetRudderPosition(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_GetRudderPosition",_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_GetRudderPosition. Expected _wxJoystick_p.");
6811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6812 _result
= (int )wxJoystick_GetRudderPosition(_arg0
);
6814 wxPyEndAllowThreads(__tstate
);
6815 if (PyErr_Occurred()) return NULL
;
6816 } _resultobj
= Py_BuildValue("i",_result
);
6820 #define wxJoystick_GetUPosition(_swigobj) (_swigobj->GetUPosition())
6821 static PyObject
*_wrap_wxJoystick_GetUPosition(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_GetUPosition",_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_GetUPosition. Expected _wxJoystick_p.");
6839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6840 _result
= (int )wxJoystick_GetUPosition(_arg0
);
6842 wxPyEndAllowThreads(__tstate
);
6843 if (PyErr_Occurred()) return NULL
;
6844 } _resultobj
= Py_BuildValue("i",_result
);
6848 #define wxJoystick_GetVPosition(_swigobj) (_swigobj->GetVPosition())
6849 static PyObject
*_wrap_wxJoystick_GetVPosition(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_GetVPosition",_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_GetVPosition. Expected _wxJoystick_p.");
6867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6868 _result
= (int )wxJoystick_GetVPosition(_arg0
);
6870 wxPyEndAllowThreads(__tstate
);
6871 if (PyErr_Occurred()) return NULL
;
6872 } _resultobj
= Py_BuildValue("i",_result
);
6876 #define wxJoystick_GetMovementThreshold(_swigobj) (_swigobj->GetMovementThreshold())
6877 static PyObject
*_wrap_wxJoystick_GetMovementThreshold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6878 PyObject
* _resultobj
;
6881 PyObject
* _argo0
= 0;
6882 char *_kwnames
[] = { "self", NULL
};
6885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetMovementThreshold",_kwnames
,&_argo0
))
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_GetMovementThreshold. Expected _wxJoystick_p.");
6895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6896 _result
= (int )wxJoystick_GetMovementThreshold(_arg0
);
6898 wxPyEndAllowThreads(__tstate
);
6899 if (PyErr_Occurred()) return NULL
;
6900 } _resultobj
= Py_BuildValue("i",_result
);
6904 #define wxJoystick_SetMovementThreshold(_swigobj,_swigarg0) (_swigobj->SetMovementThreshold(_swigarg0))
6905 static PyObject
*_wrap_wxJoystick_SetMovementThreshold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6906 PyObject
* _resultobj
;
6909 PyObject
* _argo0
= 0;
6910 char *_kwnames
[] = { "self","threshold", NULL
};
6913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxJoystick_SetMovementThreshold",_kwnames
,&_argo0
,&_arg1
))
6916 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6917 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6918 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_SetMovementThreshold. Expected _wxJoystick_p.");
6923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6924 wxJoystick_SetMovementThreshold(_arg0
,_arg1
);
6926 wxPyEndAllowThreads(__tstate
);
6927 if (PyErr_Occurred()) return NULL
;
6928 } Py_INCREF(Py_None
);
6929 _resultobj
= Py_None
;
6933 #define wxJoystick_IsOk(_swigobj) (_swigobj->IsOk())
6934 static PyObject
*_wrap_wxJoystick_IsOk(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_IsOk",_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_IsOk. Expected _wxJoystick_p.");
6952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6953 _result
= (bool )wxJoystick_IsOk(_arg0
);
6955 wxPyEndAllowThreads(__tstate
);
6956 if (PyErr_Occurred()) return NULL
;
6957 } _resultobj
= Py_BuildValue("i",_result
);
6961 #define wxJoystick_GetNumberJoysticks(_swigobj) (_swigobj->GetNumberJoysticks())
6962 static PyObject
*_wrap_wxJoystick_GetNumberJoysticks(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_GetNumberJoysticks",_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_GetNumberJoysticks. Expected _wxJoystick_p.");
6980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6981 _result
= (int )wxJoystick_GetNumberJoysticks(_arg0
);
6983 wxPyEndAllowThreads(__tstate
);
6984 if (PyErr_Occurred()) return NULL
;
6985 } _resultobj
= Py_BuildValue("i",_result
);
6989 #define wxJoystick_GetManufacturerId(_swigobj) (_swigobj->GetManufacturerId())
6990 static PyObject
*_wrap_wxJoystick_GetManufacturerId(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_GetManufacturerId",_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_GetManufacturerId. Expected _wxJoystick_p.");
7008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7009 _result
= (int )wxJoystick_GetManufacturerId(_arg0
);
7011 wxPyEndAllowThreads(__tstate
);
7012 if (PyErr_Occurred()) return NULL
;
7013 } _resultobj
= Py_BuildValue("i",_result
);
7017 #define wxJoystick_GetProductId(_swigobj) (_swigobj->GetProductId())
7018 static PyObject
*_wrap_wxJoystick_GetProductId(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_GetProductId",_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_GetProductId. Expected _wxJoystick_p.");
7036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7037 _result
= (int )wxJoystick_GetProductId(_arg0
);
7039 wxPyEndAllowThreads(__tstate
);
7040 if (PyErr_Occurred()) return NULL
;
7041 } _resultobj
= Py_BuildValue("i",_result
);
7045 #define wxJoystick_GetProductName(_swigobj) (_swigobj->GetProductName())
7046 static PyObject
*_wrap_wxJoystick_GetProductName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7047 PyObject
* _resultobj
;
7050 PyObject
* _argo0
= 0;
7051 char *_kwnames
[] = { "self", NULL
};
7054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetProductName",_kwnames
,&_argo0
))
7057 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7058 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7059 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetProductName. Expected _wxJoystick_p.");
7064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7065 _result
= new wxString (wxJoystick_GetProductName(_arg0
));
7067 wxPyEndAllowThreads(__tstate
);
7068 if (PyErr_Occurred()) return NULL
;
7071 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
7073 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
7082 #define wxJoystick_GetXMin(_swigobj) (_swigobj->GetXMin())
7083 static PyObject
*_wrap_wxJoystick_GetXMin(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_GetXMin",_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_GetXMin. Expected _wxJoystick_p.");
7101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7102 _result
= (int )wxJoystick_GetXMin(_arg0
);
7104 wxPyEndAllowThreads(__tstate
);
7105 if (PyErr_Occurred()) return NULL
;
7106 } _resultobj
= Py_BuildValue("i",_result
);
7110 #define wxJoystick_GetYMin(_swigobj) (_swigobj->GetYMin())
7111 static PyObject
*_wrap_wxJoystick_GetYMin(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_GetYMin",_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_GetYMin. Expected _wxJoystick_p.");
7129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7130 _result
= (int )wxJoystick_GetYMin(_arg0
);
7132 wxPyEndAllowThreads(__tstate
);
7133 if (PyErr_Occurred()) return NULL
;
7134 } _resultobj
= Py_BuildValue("i",_result
);
7138 #define wxJoystick_GetZMin(_swigobj) (_swigobj->GetZMin())
7139 static PyObject
*_wrap_wxJoystick_GetZMin(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_GetZMin",_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_GetZMin. Expected _wxJoystick_p.");
7157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7158 _result
= (int )wxJoystick_GetZMin(_arg0
);
7160 wxPyEndAllowThreads(__tstate
);
7161 if (PyErr_Occurred()) return NULL
;
7162 } _resultobj
= Py_BuildValue("i",_result
);
7166 #define wxJoystick_GetXMax(_swigobj) (_swigobj->GetXMax())
7167 static PyObject
*_wrap_wxJoystick_GetXMax(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_GetXMax",_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_GetXMax. Expected _wxJoystick_p.");
7185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7186 _result
= (int )wxJoystick_GetXMax(_arg0
);
7188 wxPyEndAllowThreads(__tstate
);
7189 if (PyErr_Occurred()) return NULL
;
7190 } _resultobj
= Py_BuildValue("i",_result
);
7194 #define wxJoystick_GetYMax(_swigobj) (_swigobj->GetYMax())
7195 static PyObject
*_wrap_wxJoystick_GetYMax(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_GetYMax",_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_GetYMax. Expected _wxJoystick_p.");
7213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7214 _result
= (int )wxJoystick_GetYMax(_arg0
);
7216 wxPyEndAllowThreads(__tstate
);
7217 if (PyErr_Occurred()) return NULL
;
7218 } _resultobj
= Py_BuildValue("i",_result
);
7222 #define wxJoystick_GetZMax(_swigobj) (_swigobj->GetZMax())
7223 static PyObject
*_wrap_wxJoystick_GetZMax(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_GetZMax",_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_GetZMax. Expected _wxJoystick_p.");
7241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7242 _result
= (int )wxJoystick_GetZMax(_arg0
);
7244 wxPyEndAllowThreads(__tstate
);
7245 if (PyErr_Occurred()) return NULL
;
7246 } _resultobj
= Py_BuildValue("i",_result
);
7250 #define wxJoystick_GetNumberButtons(_swigobj) (_swigobj->GetNumberButtons())
7251 static PyObject
*_wrap_wxJoystick_GetNumberButtons(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_GetNumberButtons",_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_GetNumberButtons. Expected _wxJoystick_p.");
7269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7270 _result
= (int )wxJoystick_GetNumberButtons(_arg0
);
7272 wxPyEndAllowThreads(__tstate
);
7273 if (PyErr_Occurred()) return NULL
;
7274 } _resultobj
= Py_BuildValue("i",_result
);
7278 #define wxJoystick_GetNumberAxes(_swigobj) (_swigobj->GetNumberAxes())
7279 static PyObject
*_wrap_wxJoystick_GetNumberAxes(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_GetNumberAxes",_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_GetNumberAxes. Expected _wxJoystick_p.");
7297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7298 _result
= (int )wxJoystick_GetNumberAxes(_arg0
);
7300 wxPyEndAllowThreads(__tstate
);
7301 if (PyErr_Occurred()) return NULL
;
7302 } _resultobj
= Py_BuildValue("i",_result
);
7306 #define wxJoystick_GetMaxButtons(_swigobj) (_swigobj->GetMaxButtons())
7307 static PyObject
*_wrap_wxJoystick_GetMaxButtons(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_GetMaxButtons",_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_GetMaxButtons. Expected _wxJoystick_p.");
7325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7326 _result
= (int )wxJoystick_GetMaxButtons(_arg0
);
7328 wxPyEndAllowThreads(__tstate
);
7329 if (PyErr_Occurred()) return NULL
;
7330 } _resultobj
= Py_BuildValue("i",_result
);
7334 #define wxJoystick_GetMaxAxes(_swigobj) (_swigobj->GetMaxAxes())
7335 static PyObject
*_wrap_wxJoystick_GetMaxAxes(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_GetMaxAxes",_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_GetMaxAxes. Expected _wxJoystick_p.");
7353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7354 _result
= (int )wxJoystick_GetMaxAxes(_arg0
);
7356 wxPyEndAllowThreads(__tstate
);
7357 if (PyErr_Occurred()) return NULL
;
7358 } _resultobj
= Py_BuildValue("i",_result
);
7362 #define wxJoystick_GetPollingMin(_swigobj) (_swigobj->GetPollingMin())
7363 static PyObject
*_wrap_wxJoystick_GetPollingMin(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_GetPollingMin",_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_GetPollingMin. Expected _wxJoystick_p.");
7381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7382 _result
= (int )wxJoystick_GetPollingMin(_arg0
);
7384 wxPyEndAllowThreads(__tstate
);
7385 if (PyErr_Occurred()) return NULL
;
7386 } _resultobj
= Py_BuildValue("i",_result
);
7390 #define wxJoystick_GetPollingMax(_swigobj) (_swigobj->GetPollingMax())
7391 static PyObject
*_wrap_wxJoystick_GetPollingMax(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_GetPollingMax",_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_GetPollingMax. Expected _wxJoystick_p.");
7409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7410 _result
= (int )wxJoystick_GetPollingMax(_arg0
);
7412 wxPyEndAllowThreads(__tstate
);
7413 if (PyErr_Occurred()) return NULL
;
7414 } _resultobj
= Py_BuildValue("i",_result
);
7418 #define wxJoystick_GetRudderMin(_swigobj) (_swigobj->GetRudderMin())
7419 static PyObject
*_wrap_wxJoystick_GetRudderMin(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_GetRudderMin",_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_GetRudderMin. Expected _wxJoystick_p.");
7437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7438 _result
= (int )wxJoystick_GetRudderMin(_arg0
);
7440 wxPyEndAllowThreads(__tstate
);
7441 if (PyErr_Occurred()) return NULL
;
7442 } _resultobj
= Py_BuildValue("i",_result
);
7446 #define wxJoystick_GetRudderMax(_swigobj) (_swigobj->GetRudderMax())
7447 static PyObject
*_wrap_wxJoystick_GetRudderMax(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_GetRudderMax",_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_GetRudderMax. Expected _wxJoystick_p.");
7465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7466 _result
= (int )wxJoystick_GetRudderMax(_arg0
);
7468 wxPyEndAllowThreads(__tstate
);
7469 if (PyErr_Occurred()) return NULL
;
7470 } _resultobj
= Py_BuildValue("i",_result
);
7474 #define wxJoystick_GetUMin(_swigobj) (_swigobj->GetUMin())
7475 static PyObject
*_wrap_wxJoystick_GetUMin(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_GetUMin",_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_GetUMin. Expected _wxJoystick_p.");
7493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7494 _result
= (int )wxJoystick_GetUMin(_arg0
);
7496 wxPyEndAllowThreads(__tstate
);
7497 if (PyErr_Occurred()) return NULL
;
7498 } _resultobj
= Py_BuildValue("i",_result
);
7502 #define wxJoystick_GetUMax(_swigobj) (_swigobj->GetUMax())
7503 static PyObject
*_wrap_wxJoystick_GetUMax(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_GetUMax",_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_GetUMax. Expected _wxJoystick_p.");
7521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7522 _result
= (int )wxJoystick_GetUMax(_arg0
);
7524 wxPyEndAllowThreads(__tstate
);
7525 if (PyErr_Occurred()) return NULL
;
7526 } _resultobj
= Py_BuildValue("i",_result
);
7530 #define wxJoystick_GetVMin(_swigobj) (_swigobj->GetVMin())
7531 static PyObject
*_wrap_wxJoystick_GetVMin(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_GetVMin",_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_GetVMin. Expected _wxJoystick_p.");
7549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7550 _result
= (int )wxJoystick_GetVMin(_arg0
);
7552 wxPyEndAllowThreads(__tstate
);
7553 if (PyErr_Occurred()) return NULL
;
7554 } _resultobj
= Py_BuildValue("i",_result
);
7558 #define wxJoystick_GetVMax(_swigobj) (_swigobj->GetVMax())
7559 static PyObject
*_wrap_wxJoystick_GetVMax(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_GetVMax",_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_GetVMax. Expected _wxJoystick_p.");
7577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7578 _result
= (int )wxJoystick_GetVMax(_arg0
);
7580 wxPyEndAllowThreads(__tstate
);
7581 if (PyErr_Occurred()) return NULL
;
7582 } _resultobj
= Py_BuildValue("i",_result
);
7586 #define wxJoystick_HasRudder(_swigobj) (_swigobj->HasRudder())
7587 static PyObject
*_wrap_wxJoystick_HasRudder(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_HasRudder",_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_HasRudder. Expected _wxJoystick_p.");
7605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7606 _result
= (bool )wxJoystick_HasRudder(_arg0
);
7608 wxPyEndAllowThreads(__tstate
);
7609 if (PyErr_Occurred()) return NULL
;
7610 } _resultobj
= Py_BuildValue("i",_result
);
7614 #define wxJoystick_HasZ(_swigobj) (_swigobj->HasZ())
7615 static PyObject
*_wrap_wxJoystick_HasZ(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_HasZ",_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_HasZ. Expected _wxJoystick_p.");
7633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7634 _result
= (bool )wxJoystick_HasZ(_arg0
);
7636 wxPyEndAllowThreads(__tstate
);
7637 if (PyErr_Occurred()) return NULL
;
7638 } _resultobj
= Py_BuildValue("i",_result
);
7642 #define wxJoystick_HasU(_swigobj) (_swigobj->HasU())
7643 static PyObject
*_wrap_wxJoystick_HasU(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_HasU",_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_HasU. Expected _wxJoystick_p.");
7661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7662 _result
= (bool )wxJoystick_HasU(_arg0
);
7664 wxPyEndAllowThreads(__tstate
);
7665 if (PyErr_Occurred()) return NULL
;
7666 } _resultobj
= Py_BuildValue("i",_result
);
7670 #define wxJoystick_HasV(_swigobj) (_swigobj->HasV())
7671 static PyObject
*_wrap_wxJoystick_HasV(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_HasV",_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_HasV. Expected _wxJoystick_p.");
7689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7690 _result
= (bool )wxJoystick_HasV(_arg0
);
7692 wxPyEndAllowThreads(__tstate
);
7693 if (PyErr_Occurred()) return NULL
;
7694 } _resultobj
= Py_BuildValue("i",_result
);
7698 #define wxJoystick_HasPOV(_swigobj) (_swigobj->HasPOV())
7699 static PyObject
*_wrap_wxJoystick_HasPOV(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_HasPOV",_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_HasPOV. Expected _wxJoystick_p.");
7717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7718 _result
= (bool )wxJoystick_HasPOV(_arg0
);
7720 wxPyEndAllowThreads(__tstate
);
7721 if (PyErr_Occurred()) return NULL
;
7722 } _resultobj
= Py_BuildValue("i",_result
);
7726 #define wxJoystick_HasPOV4Dir(_swigobj) (_swigobj->HasPOV4Dir())
7727 static PyObject
*_wrap_wxJoystick_HasPOV4Dir(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_HasPOV4Dir",_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_HasPOV4Dir. Expected _wxJoystick_p.");
7745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7746 _result
= (bool )wxJoystick_HasPOV4Dir(_arg0
);
7748 wxPyEndAllowThreads(__tstate
);
7749 if (PyErr_Occurred()) return NULL
;
7750 } _resultobj
= Py_BuildValue("i",_result
);
7754 #define wxJoystick_HasPOVCTS(_swigobj) (_swigobj->HasPOVCTS())
7755 static PyObject
*_wrap_wxJoystick_HasPOVCTS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7756 PyObject
* _resultobj
;
7759 PyObject
* _argo0
= 0;
7760 char *_kwnames
[] = { "self", NULL
};
7763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasPOVCTS",_kwnames
,&_argo0
))
7766 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7767 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7768 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasPOVCTS. Expected _wxJoystick_p.");
7773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7774 _result
= (bool )wxJoystick_HasPOVCTS(_arg0
);
7776 wxPyEndAllowThreads(__tstate
);
7777 if (PyErr_Occurred()) return NULL
;
7778 } _resultobj
= Py_BuildValue("i",_result
);
7782 #define wxJoystick_SetCapture(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetCapture(_swigarg0,_swigarg1))
7783 static PyObject
*_wrap_wxJoystick_SetCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7784 PyObject
* _resultobj
;
7788 int _arg2
= (int ) 0;
7789 PyObject
* _argo0
= 0;
7790 PyObject
* _argo1
= 0;
7791 char *_kwnames
[] = { "self","win","pollingFreq", NULL
};
7794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxJoystick_SetCapture",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
7797 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7798 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7799 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_SetCapture. Expected _wxJoystick_p.");
7804 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7805 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
7806 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxJoystick_SetCapture. Expected _wxWindow_p.");
7811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7812 _result
= (bool )wxJoystick_SetCapture(_arg0
,_arg1
,_arg2
);
7814 wxPyEndAllowThreads(__tstate
);
7815 if (PyErr_Occurred()) return NULL
;
7816 } _resultobj
= Py_BuildValue("i",_result
);
7820 #define wxJoystick_ReleaseCapture(_swigobj) (_swigobj->ReleaseCapture())
7821 static PyObject
*_wrap_wxJoystick_ReleaseCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7822 PyObject
* _resultobj
;
7825 PyObject
* _argo0
= 0;
7826 char *_kwnames
[] = { "self", NULL
};
7829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_ReleaseCapture",_kwnames
,&_argo0
))
7832 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7833 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7834 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_ReleaseCapture. Expected _wxJoystick_p.");
7839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7840 _result
= (bool )wxJoystick_ReleaseCapture(_arg0
);
7842 wxPyEndAllowThreads(__tstate
);
7843 if (PyErr_Occurred()) return NULL
;
7844 } _resultobj
= Py_BuildValue("i",_result
);
7848 static void *SwigwxWaveTowxObject(void *ptr
) {
7851 src
= (wxWave
*) ptr
;
7852 dest
= (wxObject
*) src
;
7853 return (void *) dest
;
7856 #define new_wxWave(_swigarg0,_swigarg1) (new wxWave(_swigarg0,_swigarg1))
7857 static PyObject
*_wrap_new_wxWave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7858 PyObject
* _resultobj
;
7861 bool _arg1
= (bool ) FALSE
;
7862 PyObject
* _obj0
= 0;
7863 int tempbool1
= (int) FALSE
;
7864 char *_kwnames
[] = { "fileName","isResource", NULL
};
7868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:new_wxWave",_kwnames
,&_obj0
,&tempbool1
))
7871 _arg0
= wxString_in_helper(_obj0
);
7875 _arg1
= (bool ) tempbool1
;
7877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7878 _result
= (wxWave
*)new_wxWave(*_arg0
,_arg1
);
7880 wxPyEndAllowThreads(__tstate
);
7881 if (PyErr_Occurred()) return NULL
;
7883 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWave_p");
7884 _resultobj
= Py_BuildValue("s",_ptemp
);
7887 _resultobj
= Py_None
;
7896 #define delete_wxWave(_swigobj) (delete _swigobj)
7897 static PyObject
*_wrap_delete_wxWave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7898 PyObject
* _resultobj
;
7900 PyObject
* _argo0
= 0;
7901 char *_kwnames
[] = { "self", NULL
};
7904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxWave",_kwnames
,&_argo0
))
7907 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7908 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWave_p")) {
7909 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxWave. Expected _wxWave_p.");
7914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7915 delete_wxWave(_arg0
);
7917 wxPyEndAllowThreads(__tstate
);
7918 if (PyErr_Occurred()) return NULL
;
7919 } Py_INCREF(Py_None
);
7920 _resultobj
= Py_None
;
7924 #define wxWave_IsOk(_swigobj) (_swigobj->IsOk())
7925 static PyObject
*_wrap_wxWave_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7926 PyObject
* _resultobj
;
7929 PyObject
* _argo0
= 0;
7930 char *_kwnames
[] = { "self", NULL
};
7933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWave_IsOk",_kwnames
,&_argo0
))
7936 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7937 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWave_p")) {
7938 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWave_IsOk. Expected _wxWave_p.");
7943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7944 _result
= (bool )wxWave_IsOk(_arg0
);
7946 wxPyEndAllowThreads(__tstate
);
7947 if (PyErr_Occurred()) return NULL
;
7948 } _resultobj
= Py_BuildValue("i",_result
);
7952 #define wxWave_Play(_swigobj,_swigarg0,_swigarg1) (_swigobj->Play(_swigarg0,_swigarg1))
7953 static PyObject
*_wrap_wxWave_Play(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7954 PyObject
* _resultobj
;
7957 bool _arg1
= (bool ) TRUE
;
7958 bool _arg2
= (bool ) FALSE
;
7959 PyObject
* _argo0
= 0;
7960 int tempbool1
= (int) TRUE
;
7961 int tempbool2
= (int) FALSE
;
7962 char *_kwnames
[] = { "self","async","looped", NULL
};
7965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxWave_Play",_kwnames
,&_argo0
,&tempbool1
,&tempbool2
))
7968 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7969 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWave_p")) {
7970 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWave_Play. Expected _wxWave_p.");
7974 _arg1
= (bool ) tempbool1
;
7975 _arg2
= (bool ) tempbool2
;
7977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7978 _result
= (bool )wxWave_Play(_arg0
,_arg1
,_arg2
);
7980 wxPyEndAllowThreads(__tstate
);
7981 if (PyErr_Occurred()) return NULL
;
7982 } _resultobj
= Py_BuildValue("i",_result
);
7986 #define new_wxFileTypeInfo(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxFileTypeInfo(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7987 static PyObject
*_wrap_new_wxFileTypeInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7988 PyObject
* _resultobj
;
7989 wxFileTypeInfo
* _result
;
7994 PyObject
* _obj0
= 0;
7995 PyObject
* _obj1
= 0;
7996 PyObject
* _obj2
= 0;
7997 PyObject
* _obj3
= 0;
7998 char *_kwnames
[] = { "mimeType","openCmd","printCmd","desc", NULL
};
8002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO:new_wxFileTypeInfo",_kwnames
,&_obj0
,&_obj1
,&_obj2
,&_obj3
))
8005 _arg0
= wxString_in_helper(_obj0
);
8010 _arg1
= wxString_in_helper(_obj1
);
8015 _arg2
= wxString_in_helper(_obj2
);
8020 _arg3
= wxString_in_helper(_obj3
);
8025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8026 _result
= (wxFileTypeInfo
*)new_wxFileTypeInfo(*_arg0
,*_arg1
,*_arg2
,*_arg3
);
8028 wxPyEndAllowThreads(__tstate
);
8029 if (PyErr_Occurred()) return NULL
;
8031 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileTypeInfo_p");
8032 _resultobj
= Py_BuildValue("s",_ptemp
);
8035 _resultobj
= Py_None
;
8056 #define new_wxFileTypeInfoSequence(_swigarg0) (new wxFileTypeInfo(_swigarg0))
8057 static PyObject
*_wrap_new_wxFileTypeInfoSequence(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8058 PyObject
* _resultobj
;
8059 wxFileTypeInfo
* _result
;
8060 wxArrayString
* _arg0
;
8061 PyObject
* _obj0
= 0;
8062 char *_kwnames
[] = { "sArray", NULL
};
8066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxFileTypeInfoSequence",_kwnames
,&_obj0
))
8069 if (! PySequence_Check(_obj0
)) {
8070 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
8073 _arg0
= new wxArrayString
;
8074 int i
, len
=PySequence_Length(_obj0
);
8075 for (i
=0; i
<len
; i
++) {
8076 PyObject
* item
= PySequence_GetItem(_obj0
, i
);
8078 PyObject
* str
= PyObject_Unicode(item
);
8080 PyObject
* str
= PyObject_Str(item
);
8082 _arg0
->Add(Py2wxString(str
));
8088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8089 _result
= (wxFileTypeInfo
*)new_wxFileTypeInfoSequence(*_arg0
);
8091 wxPyEndAllowThreads(__tstate
);
8092 if (PyErr_Occurred()) return NULL
;
8094 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileTypeInfo_p");
8095 _resultobj
= Py_BuildValue("s",_ptemp
);
8098 _resultobj
= Py_None
;
8107 #define new_wxNullFileTypeInfo() (new wxFileTypeInfo())
8108 static PyObject
*_wrap_new_wxNullFileTypeInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8109 PyObject
* _resultobj
;
8110 wxFileTypeInfo
* _result
;
8111 char *_kwnames
[] = { NULL
};
8115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxNullFileTypeInfo",_kwnames
))
8118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8119 _result
= (wxFileTypeInfo
*)new_wxNullFileTypeInfo();
8121 wxPyEndAllowThreads(__tstate
);
8122 if (PyErr_Occurred()) return NULL
;
8124 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileTypeInfo_p");
8125 _resultobj
= Py_BuildValue("s",_ptemp
);
8128 _resultobj
= Py_None
;
8133 #define wxFileTypeInfo_IsValid(_swigobj) (_swigobj->IsValid())
8134 static PyObject
*_wrap_wxFileTypeInfo_IsValid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8135 PyObject
* _resultobj
;
8137 wxFileTypeInfo
* _arg0
;
8138 PyObject
* _argo0
= 0;
8139 char *_kwnames
[] = { "self", NULL
};
8142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_IsValid",_kwnames
,&_argo0
))
8145 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8146 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8147 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_IsValid. Expected _wxFileTypeInfo_p.");
8152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8153 _result
= (bool )wxFileTypeInfo_IsValid(_arg0
);
8155 wxPyEndAllowThreads(__tstate
);
8156 if (PyErr_Occurred()) return NULL
;
8157 } _resultobj
= Py_BuildValue("i",_result
);
8161 #define wxFileTypeInfo_SetIcon(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetIcon(_swigarg0,_swigarg1))
8162 static PyObject
*_wrap_wxFileTypeInfo_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8163 PyObject
* _resultobj
;
8164 wxFileTypeInfo
* _arg0
;
8166 int _arg2
= (int ) 0;
8167 PyObject
* _argo0
= 0;
8168 PyObject
* _obj1
= 0;
8169 char *_kwnames
[] = { "self","iconFile","iconIndex", NULL
};
8172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxFileTypeInfo_SetIcon",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
8175 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8176 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8177 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_SetIcon. Expected _wxFileTypeInfo_p.");
8182 _arg1
= wxString_in_helper(_obj1
);
8187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8188 wxFileTypeInfo_SetIcon(_arg0
,*_arg1
,_arg2
);
8190 wxPyEndAllowThreads(__tstate
);
8191 if (PyErr_Occurred()) return NULL
;
8192 } Py_INCREF(Py_None
);
8193 _resultobj
= Py_None
;
8201 #define wxFileTypeInfo_SetShortDesc(_swigobj,_swigarg0) (_swigobj->SetShortDesc(_swigarg0))
8202 static PyObject
*_wrap_wxFileTypeInfo_SetShortDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8203 PyObject
* _resultobj
;
8204 wxFileTypeInfo
* _arg0
;
8206 PyObject
* _argo0
= 0;
8207 PyObject
* _obj1
= 0;
8208 char *_kwnames
[] = { "self","shortDesc", NULL
};
8211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileTypeInfo_SetShortDesc",_kwnames
,&_argo0
,&_obj1
))
8214 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8215 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8216 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_SetShortDesc. Expected _wxFileTypeInfo_p.");
8221 _arg1
= wxString_in_helper(_obj1
);
8226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8227 wxFileTypeInfo_SetShortDesc(_arg0
,*_arg1
);
8229 wxPyEndAllowThreads(__tstate
);
8230 if (PyErr_Occurred()) return NULL
;
8231 } Py_INCREF(Py_None
);
8232 _resultobj
= Py_None
;
8240 #define wxFileTypeInfo_GetMimeType(_swigobj) (_swigobj->GetMimeType())
8241 static PyObject
*_wrap_wxFileTypeInfo_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8242 PyObject
* _resultobj
;
8244 wxFileTypeInfo
* _arg0
;
8245 PyObject
* _argo0
= 0;
8246 char *_kwnames
[] = { "self", NULL
};
8249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetMimeType",_kwnames
,&_argo0
))
8252 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8253 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8254 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetMimeType. Expected _wxFileTypeInfo_p.");
8259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8260 const wxString
& _result_ref
= wxFileTypeInfo_GetMimeType(_arg0
);
8261 _result
= (wxString
*) &_result_ref
;
8263 wxPyEndAllowThreads(__tstate
);
8264 if (PyErr_Occurred()) return NULL
;
8267 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
8269 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8275 #define wxFileTypeInfo_GetOpenCommand(_swigobj) (_swigobj->GetOpenCommand())
8276 static PyObject
*_wrap_wxFileTypeInfo_GetOpenCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8277 PyObject
* _resultobj
;
8279 wxFileTypeInfo
* _arg0
;
8280 PyObject
* _argo0
= 0;
8281 char *_kwnames
[] = { "self", NULL
};
8284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetOpenCommand",_kwnames
,&_argo0
))
8287 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8288 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8289 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetOpenCommand. Expected _wxFileTypeInfo_p.");
8294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8295 const wxString
& _result_ref
= wxFileTypeInfo_GetOpenCommand(_arg0
);
8296 _result
= (wxString
*) &_result_ref
;
8298 wxPyEndAllowThreads(__tstate
);
8299 if (PyErr_Occurred()) return NULL
;
8302 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
8304 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8310 #define wxFileTypeInfo_GetPrintCommand(_swigobj) (_swigobj->GetPrintCommand())
8311 static PyObject
*_wrap_wxFileTypeInfo_GetPrintCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8312 PyObject
* _resultobj
;
8314 wxFileTypeInfo
* _arg0
;
8315 PyObject
* _argo0
= 0;
8316 char *_kwnames
[] = { "self", NULL
};
8319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetPrintCommand",_kwnames
,&_argo0
))
8322 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8323 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8324 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetPrintCommand. Expected _wxFileTypeInfo_p.");
8329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8330 const wxString
& _result_ref
= wxFileTypeInfo_GetPrintCommand(_arg0
);
8331 _result
= (wxString
*) &_result_ref
;
8333 wxPyEndAllowThreads(__tstate
);
8334 if (PyErr_Occurred()) return NULL
;
8337 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
8339 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8345 #define wxFileTypeInfo_GetShortDesc(_swigobj) (_swigobj->GetShortDesc())
8346 static PyObject
*_wrap_wxFileTypeInfo_GetShortDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8347 PyObject
* _resultobj
;
8349 wxFileTypeInfo
* _arg0
;
8350 PyObject
* _argo0
= 0;
8351 char *_kwnames
[] = { "self", NULL
};
8354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetShortDesc",_kwnames
,&_argo0
))
8357 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8358 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8359 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetShortDesc. Expected _wxFileTypeInfo_p.");
8364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8365 const wxString
& _result_ref
= wxFileTypeInfo_GetShortDesc(_arg0
);
8366 _result
= (wxString
*) &_result_ref
;
8368 wxPyEndAllowThreads(__tstate
);
8369 if (PyErr_Occurred()) return NULL
;
8372 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
8374 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8380 #define wxFileTypeInfo_GetDescription(_swigobj) (_swigobj->GetDescription())
8381 static PyObject
*_wrap_wxFileTypeInfo_GetDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8382 PyObject
* _resultobj
;
8384 wxFileTypeInfo
* _arg0
;
8385 PyObject
* _argo0
= 0;
8386 char *_kwnames
[] = { "self", NULL
};
8389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetDescription",_kwnames
,&_argo0
))
8392 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8393 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8394 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetDescription. Expected _wxFileTypeInfo_p.");
8399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8400 const wxString
& _result_ref
= wxFileTypeInfo_GetDescription(_arg0
);
8401 _result
= (wxString
*) &_result_ref
;
8403 wxPyEndAllowThreads(__tstate
);
8404 if (PyErr_Occurred()) return NULL
;
8407 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
8409 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8415 static PyObject
* wxFileTypeInfo_GetExtensions(wxFileTypeInfo
*self
) {
8416 wxArrayString
& arr
= (wxArrayString
&)self
->GetExtensions();
8417 return wxArrayString2PyList_helper(arr
);
8419 static PyObject
*_wrap_wxFileTypeInfo_GetExtensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8420 PyObject
* _resultobj
;
8422 wxFileTypeInfo
* _arg0
;
8423 PyObject
* _argo0
= 0;
8424 char *_kwnames
[] = { "self", NULL
};
8427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetExtensions",_kwnames
,&_argo0
))
8430 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8431 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8432 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetExtensions. Expected _wxFileTypeInfo_p.");
8437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8438 _result
= (PyObject
*)wxFileTypeInfo_GetExtensions(_arg0
);
8440 wxPyEndAllowThreads(__tstate
);
8441 if (PyErr_Occurred()) return NULL
;
8443 _resultobj
= _result
;
8448 #define wxFileTypeInfo_GetExtensionsCount(_swigobj) (_swigobj->GetExtensionsCount())
8449 static PyObject
*_wrap_wxFileTypeInfo_GetExtensionsCount(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_GetExtensionsCount",_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_GetExtensionsCount. Expected _wxFileTypeInfo_p.");
8467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8468 _result
= (int )wxFileTypeInfo_GetExtensionsCount(_arg0
);
8470 wxPyEndAllowThreads(__tstate
);
8471 if (PyErr_Occurred()) return NULL
;
8472 } _resultobj
= Py_BuildValue("i",_result
);
8476 #define wxFileTypeInfo_GetIconFile(_swigobj) (_swigobj->GetIconFile())
8477 static PyObject
*_wrap_wxFileTypeInfo_GetIconFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8478 PyObject
* _resultobj
;
8480 wxFileTypeInfo
* _arg0
;
8481 PyObject
* _argo0
= 0;
8482 char *_kwnames
[] = { "self", NULL
};
8485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetIconFile",_kwnames
,&_argo0
))
8488 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8489 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8490 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetIconFile. Expected _wxFileTypeInfo_p.");
8495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8496 const wxString
& _result_ref
= wxFileTypeInfo_GetIconFile(_arg0
);
8497 _result
= (wxString
*) &_result_ref
;
8499 wxPyEndAllowThreads(__tstate
);
8500 if (PyErr_Occurred()) return NULL
;
8503 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
8505 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8511 #define wxFileTypeInfo_GetIconIndex(_swigobj) (_swigobj->GetIconIndex())
8512 static PyObject
*_wrap_wxFileTypeInfo_GetIconIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8513 PyObject
* _resultobj
;
8515 wxFileTypeInfo
* _arg0
;
8516 PyObject
* _argo0
= 0;
8517 char *_kwnames
[] = { "self", NULL
};
8520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetIconIndex",_kwnames
,&_argo0
))
8523 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8524 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8525 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetIconIndex. Expected _wxFileTypeInfo_p.");
8530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8531 _result
= (int )wxFileTypeInfo_GetIconIndex(_arg0
);
8533 wxPyEndAllowThreads(__tstate
);
8534 if (PyErr_Occurred()) return NULL
;
8535 } _resultobj
= Py_BuildValue("i",_result
);
8539 #define new_wxFileType(_swigarg0) (new wxFileType(_swigarg0))
8540 static PyObject
*_wrap_new_wxFileType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8541 PyObject
* _resultobj
;
8542 wxFileType
* _result
;
8543 wxFileTypeInfo
* _arg0
;
8544 PyObject
* _argo0
= 0;
8545 char *_kwnames
[] = { "ftInfo", NULL
};
8549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxFileType",_kwnames
,&_argo0
))
8552 if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8553 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxFileType. Expected _wxFileTypeInfo_p.");
8558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8559 _result
= (wxFileType
*)new_wxFileType(*_arg0
);
8561 wxPyEndAllowThreads(__tstate
);
8562 if (PyErr_Occurred()) return NULL
;
8564 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileType_p");
8565 _resultobj
= Py_BuildValue("s",_ptemp
);
8568 _resultobj
= Py_None
;
8573 static PyObject
* wxFileType_GetMimeType(wxFileType
*self
) {
8575 if (self
->GetMimeType(&str
)) {
8577 return PyUnicode_FromWideChar(str
.c_str(), str
.Len());
8579 return PyString_FromStringAndSize(str
.c_str(), str
.Len());
8585 static PyObject
*_wrap_wxFileType_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8586 PyObject
* _resultobj
;
8589 PyObject
* _argo0
= 0;
8590 char *_kwnames
[] = { "self", NULL
};
8593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_GetMimeType",_kwnames
,&_argo0
))
8596 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8597 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8598 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetMimeType. Expected _wxFileType_p.");
8603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8604 _result
= (PyObject
*)wxFileType_GetMimeType(_arg0
);
8606 wxPyEndAllowThreads(__tstate
);
8607 if (PyErr_Occurred()) return NULL
;
8609 _resultobj
= _result
;
8614 static PyObject
* wxFileType_GetMimeTypes(wxFileType
*self
) {
8616 if (self
->GetMimeTypes(arr
))
8617 return wxArrayString2PyList_helper(arr
);
8621 static PyObject
*_wrap_wxFileType_GetMimeTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8622 PyObject
* _resultobj
;
8625 PyObject
* _argo0
= 0;
8626 char *_kwnames
[] = { "self", NULL
};
8629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_GetMimeTypes",_kwnames
,&_argo0
))
8632 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8633 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8634 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetMimeTypes. Expected _wxFileType_p.");
8639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8640 _result
= (PyObject
*)wxFileType_GetMimeTypes(_arg0
);
8642 wxPyEndAllowThreads(__tstate
);
8643 if (PyErr_Occurred()) return NULL
;
8645 _resultobj
= _result
;
8650 static PyObject
* wxFileType_GetExtensions(wxFileType
*self
) {
8652 if (self
->GetExtensions(arr
))
8653 return wxArrayString2PyList_helper(arr
);
8657 static PyObject
*_wrap_wxFileType_GetExtensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8658 PyObject
* _resultobj
;
8661 PyObject
* _argo0
= 0;
8662 char *_kwnames
[] = { "self", NULL
};
8665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_GetExtensions",_kwnames
,&_argo0
))
8668 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8669 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8670 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetExtensions. Expected _wxFileType_p.");
8675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8676 _result
= (PyObject
*)wxFileType_GetExtensions(_arg0
);
8678 wxPyEndAllowThreads(__tstate
);
8679 if (PyErr_Occurred()) return NULL
;
8681 _resultobj
= _result
;
8686 static wxIcon
* wxFileType_GetIcon(wxFileType
*self
) {
8688 if (self
->GetIcon(&icon
))
8689 return new wxIcon(icon
);
8693 static PyObject
*_wrap_wxFileType_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8694 PyObject
* _resultobj
;
8697 PyObject
* _argo0
= 0;
8698 char *_kwnames
[] = { "self", NULL
};
8702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_GetIcon",_kwnames
,&_argo0
))
8705 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8706 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8707 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetIcon. Expected _wxFileType_p.");
8712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8713 _result
= (wxIcon
*)wxFileType_GetIcon(_arg0
);
8715 wxPyEndAllowThreads(__tstate
);
8716 if (PyErr_Occurred()) return NULL
;
8718 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIcon_p");
8719 _resultobj
= Py_BuildValue("s",_ptemp
);
8722 _resultobj
= Py_None
;
8727 static PyObject
* wxFileType_GetIconInfo(wxFileType
*self
) {
8731 if (self
->GetIcon(&icon
, &iconFile
, &iconIndex
)) {
8732 wxPyBeginBlockThreads();
8733 PyObject
* tuple
= PyTuple_New(3);
8734 PyTuple_SetItem(tuple
, 0, wxPyConstructObject(new wxIcon(icon
),
8735 wxT("wxIcon"), TRUE
));
8737 PyTuple_SetItem(tuple
, 1, PyUnicode_FromWideChar(iconFile
.c_str(), iconFile
.Len()));
8739 PyTuple_SetItem(tuple
, 1, PyString_FromStringAndSize(iconFile
.c_str(), iconFile
.Len()));
8741 PyTuple_SetItem(tuple
, 2, PyInt_FromLong(iconIndex
));
8742 wxPyEndBlockThreads();
8748 static PyObject
*_wrap_wxFileType_GetIconInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8749 PyObject
* _resultobj
;
8752 PyObject
* _argo0
= 0;
8753 char *_kwnames
[] = { "self", NULL
};
8756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_GetIconInfo",_kwnames
,&_argo0
))
8759 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8760 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8761 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetIconInfo. Expected _wxFileType_p.");
8766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8767 _result
= (PyObject
*)wxFileType_GetIconInfo(_arg0
);
8769 wxPyEndAllowThreads(__tstate
);
8770 if (PyErr_Occurred()) return NULL
;
8772 _resultobj
= _result
;
8777 static PyObject
* wxFileType_GetDescription(wxFileType
*self
) {
8779 if (self
->GetDescription(&str
)) {
8781 return PyUnicode_FromWideChar(str
.c_str(), str
.Len());
8783 return PyString_FromStringAndSize(str
.c_str(), str
.Len());
8788 static PyObject
*_wrap_wxFileType_GetDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8789 PyObject
* _resultobj
;
8792 PyObject
* _argo0
= 0;
8793 char *_kwnames
[] = { "self", NULL
};
8796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_GetDescription",_kwnames
,&_argo0
))
8799 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8800 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8801 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetDescription. Expected _wxFileType_p.");
8806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8807 _result
= (PyObject
*)wxFileType_GetDescription(_arg0
);
8809 wxPyEndAllowThreads(__tstate
);
8810 if (PyErr_Occurred()) return NULL
;
8812 _resultobj
= _result
;
8817 static PyObject
* wxFileType_GetOpenCommand(wxFileType
*self
,const wxString
& filename
,const wxString
& mimetype
) {
8819 if (self
->GetOpenCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
))) {
8821 return PyUnicode_FromWideChar(str
.c_str(), str
.Len());
8823 return PyString_FromStringAndSize(str
.c_str(), str
.Len());
8828 static PyObject
*_wrap_wxFileType_GetOpenCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8829 PyObject
* _resultobj
;
8833 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
8834 PyObject
* _argo0
= 0;
8835 PyObject
* _obj1
= 0;
8836 PyObject
* _obj2
= 0;
8837 char *_kwnames
[] = { "self","filename","mimetype", NULL
};
8840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxFileType_GetOpenCommand",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
8843 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8844 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8845 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetOpenCommand. Expected _wxFileType_p.");
8850 _arg1
= wxString_in_helper(_obj1
);
8856 _arg2
= wxString_in_helper(_obj2
);
8861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8862 _result
= (PyObject
*)wxFileType_GetOpenCommand(_arg0
,*_arg1
,*_arg2
);
8864 wxPyEndAllowThreads(__tstate
);
8865 if (PyErr_Occurred()) return NULL
;
8867 _resultobj
= _result
;
8880 static PyObject
* wxFileType_GetPrintCommand(wxFileType
*self
,const wxString
& filename
,const wxString
& mimetype
) {
8882 if (self
->GetPrintCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
))) {
8884 return PyUnicode_FromWideChar(str
.c_str(), str
.Len());
8886 return PyString_FromStringAndSize(str
.c_str(), str
.Len());
8891 static PyObject
*_wrap_wxFileType_GetPrintCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8892 PyObject
* _resultobj
;
8896 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
8897 PyObject
* _argo0
= 0;
8898 PyObject
* _obj1
= 0;
8899 PyObject
* _obj2
= 0;
8900 char *_kwnames
[] = { "self","filename","mimetype", NULL
};
8903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxFileType_GetPrintCommand",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
8906 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8907 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8908 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetPrintCommand. Expected _wxFileType_p.");
8913 _arg1
= wxString_in_helper(_obj1
);
8919 _arg2
= wxString_in_helper(_obj2
);
8924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8925 _result
= (PyObject
*)wxFileType_GetPrintCommand(_arg0
,*_arg1
,*_arg2
);
8927 wxPyEndAllowThreads(__tstate
);
8928 if (PyErr_Occurred()) return NULL
;
8930 _resultobj
= _result
;
8943 static PyObject
* wxFileType_GetAllCommands(wxFileType
*self
,const wxString
& filename
,const wxString
& mimetype
) {
8944 wxArrayString verbs
;
8945 wxArrayString commands
;
8946 if (self
->GetAllCommands(&verbs
, &commands
,
8947 wxFileType::MessageParameters(filename
, mimetype
))) {
8948 wxPyBeginBlockThreads();
8949 PyObject
* tuple
= PyTuple_New(2);
8950 PyTuple_SetItem(tuple
, 0, wxArrayString2PyList_helper(verbs
));
8951 PyTuple_SetItem(tuple
, 1, wxArrayString2PyList_helper(commands
));
8952 wxPyEndBlockThreads();
8958 static PyObject
*_wrap_wxFileType_GetAllCommands(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8959 PyObject
* _resultobj
;
8963 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
8964 PyObject
* _argo0
= 0;
8965 PyObject
* _obj1
= 0;
8966 PyObject
* _obj2
= 0;
8967 char *_kwnames
[] = { "self","filename","mimetype", NULL
};
8970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxFileType_GetAllCommands",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
8973 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8974 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8975 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetAllCommands. Expected _wxFileType_p.");
8980 _arg1
= wxString_in_helper(_obj1
);
8986 _arg2
= wxString_in_helper(_obj2
);
8991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8992 _result
= (PyObject
*)wxFileType_GetAllCommands(_arg0
,*_arg1
,*_arg2
);
8994 wxPyEndAllowThreads(__tstate
);
8995 if (PyErr_Occurred()) return NULL
;
8997 _resultobj
= _result
;
9010 #define wxFileType_SetCommand(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCommand(_swigarg0,_swigarg1,_swigarg2))
9011 static PyObject
*_wrap_wxFileType_SetCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9012 PyObject
* _resultobj
;
9017 bool _arg3
= (bool ) TRUE
;
9018 PyObject
* _argo0
= 0;
9019 PyObject
* _obj1
= 0;
9020 PyObject
* _obj2
= 0;
9021 int tempbool3
= (int) TRUE
;
9022 char *_kwnames
[] = { "self","cmd","verb","overwriteprompt", NULL
};
9025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|i:wxFileType_SetCommand",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&tempbool3
))
9028 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9029 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
9030 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_SetCommand. Expected _wxFileType_p.");
9035 _arg1
= wxString_in_helper(_obj1
);
9040 _arg2
= wxString_in_helper(_obj2
);
9044 _arg3
= (bool ) tempbool3
;
9046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9047 _result
= (bool )wxFileType_SetCommand(_arg0
,*_arg1
,*_arg2
,_arg3
);
9049 wxPyEndAllowThreads(__tstate
);
9050 if (PyErr_Occurred()) return NULL
;
9051 } _resultobj
= Py_BuildValue("i",_result
);
9063 #define wxFileType_SetDefaultIcon(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDefaultIcon(_swigarg0,_swigarg1))
9064 static PyObject
*_wrap_wxFileType_SetDefaultIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9065 PyObject
* _resultobj
;
9068 wxString
* _arg1
= (wxString
*) &wxPyEmptyString
;
9069 int _arg2
= (int ) 0;
9070 PyObject
* _argo0
= 0;
9071 PyObject
* _obj1
= 0;
9072 char *_kwnames
[] = { "self","cmd","index", NULL
};
9075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|Oi:wxFileType_SetDefaultIcon",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
9078 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9079 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
9080 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_SetDefaultIcon. Expected _wxFileType_p.");
9086 _arg1
= wxString_in_helper(_obj1
);
9091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9092 _result
= (bool )wxFileType_SetDefaultIcon(_arg0
,*_arg1
,_arg2
);
9094 wxPyEndAllowThreads(__tstate
);
9095 if (PyErr_Occurred()) return NULL
;
9096 } _resultobj
= Py_BuildValue("i",_result
);
9104 #define wxFileType_Unassociate(_swigobj) (_swigobj->Unassociate())
9105 static PyObject
*_wrap_wxFileType_Unassociate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9106 PyObject
* _resultobj
;
9109 PyObject
* _argo0
= 0;
9110 char *_kwnames
[] = { "self", NULL
};
9113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_Unassociate",_kwnames
,&_argo0
))
9116 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9117 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
9118 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_Unassociate. Expected _wxFileType_p.");
9123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9124 _result
= (bool )wxFileType_Unassociate(_arg0
);
9126 wxPyEndAllowThreads(__tstate
);
9127 if (PyErr_Occurred()) return NULL
;
9128 } _resultobj
= Py_BuildValue("i",_result
);
9132 static PyObject
*_wrap_wxFileType_ExpandCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9133 PyObject
* _resultobj
;
9136 wxFileType::MessageParameters
* _arg1
;
9137 PyObject
* _obj0
= 0;
9138 PyObject
* _argo1
= 0;
9139 char *_kwnames
[] = { "command","params", NULL
};
9142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileType_ExpandCommand",_kwnames
,&_obj0
,&_argo1
))
9145 _arg0
= wxString_in_helper(_obj0
);
9150 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFileType::MessageParameters_p")) {
9151 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFileType_ExpandCommand. Expected _wxFileType::MessageParameters_p.");
9156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9157 _result
= new wxString (wxFileType::ExpandCommand(*_arg0
,*_arg1
));
9159 wxPyEndAllowThreads(__tstate
);
9160 if (PyErr_Occurred()) return NULL
;
9163 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
9165 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9178 #define delete_wxFileType(_swigobj) (delete _swigobj)
9179 static PyObject
*_wrap_delete_wxFileType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9180 PyObject
* _resultobj
;
9182 PyObject
* _argo0
= 0;
9183 char *_kwnames
[] = { "self", NULL
};
9186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxFileType",_kwnames
,&_argo0
))
9189 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9190 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
9191 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxFileType. Expected _wxFileType_p.");
9196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9197 delete_wxFileType(_arg0
);
9199 wxPyEndAllowThreads(__tstate
);
9200 if (PyErr_Occurred()) return NULL
;
9201 } Py_INCREF(Py_None
);
9202 _resultobj
= Py_None
;
9206 static PyObject
*_wrap_wxMimeTypesManager_IsOfType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9207 PyObject
* _resultobj
;
9211 PyObject
* _obj0
= 0;
9212 PyObject
* _obj1
= 0;
9213 char *_kwnames
[] = { "mimeType","wildcard", NULL
};
9216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_IsOfType",_kwnames
,&_obj0
,&_obj1
))
9219 _arg0
= wxString_in_helper(_obj0
);
9224 _arg1
= wxString_in_helper(_obj1
);
9229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9230 _result
= (bool )wxMimeTypesManager::IsOfType(*_arg0
,*_arg1
);
9232 wxPyEndAllowThreads(__tstate
);
9233 if (PyErr_Occurred()) return NULL
;
9234 } _resultobj
= Py_BuildValue("i",_result
);
9246 #define new_wxMimeTypesManager() (new wxMimeTypesManager())
9247 static PyObject
*_wrap_new_wxMimeTypesManager(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9248 PyObject
* _resultobj
;
9249 wxMimeTypesManager
* _result
;
9250 char *_kwnames
[] = { NULL
};
9254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxMimeTypesManager",_kwnames
))
9257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9258 _result
= (wxMimeTypesManager
*)new_wxMimeTypesManager();
9260 wxPyEndAllowThreads(__tstate
);
9261 if (PyErr_Occurred()) return NULL
;
9263 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMimeTypesManager_p");
9264 _resultobj
= Py_BuildValue("s",_ptemp
);
9267 _resultobj
= Py_None
;
9272 #define wxMimeTypesManager_Initialize(_swigobj,_swigarg0,_swigarg1) (_swigobj->Initialize(_swigarg0,_swigarg1))
9273 static PyObject
*_wrap_wxMimeTypesManager_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9274 PyObject
* _resultobj
;
9275 wxMimeTypesManager
* _arg0
;
9276 int _arg1
= (int ) (wxMAILCAP_STANDARD
);
9277 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
9278 PyObject
* _argo0
= 0;
9279 PyObject
* _obj2
= 0;
9280 char *_kwnames
[] = { "self","mailcapStyle","extraDir", NULL
};
9283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iO:wxMimeTypesManager_Initialize",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
9286 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9287 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9288 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_Initialize. Expected _wxMimeTypesManager_p.");
9294 _arg2
= wxString_in_helper(_obj2
);
9299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9300 wxMimeTypesManager_Initialize(_arg0
,_arg1
,*_arg2
);
9302 wxPyEndAllowThreads(__tstate
);
9303 if (PyErr_Occurred()) return NULL
;
9304 } Py_INCREF(Py_None
);
9305 _resultobj
= Py_None
;
9313 #define wxMimeTypesManager_ClearData(_swigobj) (_swigobj->ClearData())
9314 static PyObject
*_wrap_wxMimeTypesManager_ClearData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9315 PyObject
* _resultobj
;
9316 wxMimeTypesManager
* _arg0
;
9317 PyObject
* _argo0
= 0;
9318 char *_kwnames
[] = { "self", NULL
};
9321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMimeTypesManager_ClearData",_kwnames
,&_argo0
))
9324 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9325 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9326 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_ClearData. Expected _wxMimeTypesManager_p.");
9331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9332 wxMimeTypesManager_ClearData(_arg0
);
9334 wxPyEndAllowThreads(__tstate
);
9335 if (PyErr_Occurred()) return NULL
;
9336 } Py_INCREF(Py_None
);
9337 _resultobj
= Py_None
;
9341 #define wxMimeTypesManager_GetFileTypeFromExtension(_swigobj,_swigarg0) (_swigobj->GetFileTypeFromExtension(_swigarg0))
9342 static PyObject
*_wrap_wxMimeTypesManager_GetFileTypeFromExtension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9343 PyObject
* _resultobj
;
9344 wxFileType
* _result
;
9345 wxMimeTypesManager
* _arg0
;
9347 PyObject
* _argo0
= 0;
9348 PyObject
* _obj1
= 0;
9349 char *_kwnames
[] = { "self","ext", NULL
};
9353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_GetFileTypeFromExtension",_kwnames
,&_argo0
,&_obj1
))
9356 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9357 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9358 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_GetFileTypeFromExtension. Expected _wxMimeTypesManager_p.");
9363 _arg1
= wxString_in_helper(_obj1
);
9368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9369 _result
= (wxFileType
*)wxMimeTypesManager_GetFileTypeFromExtension(_arg0
,*_arg1
);
9371 wxPyEndAllowThreads(__tstate
);
9372 if (PyErr_Occurred()) return NULL
;
9374 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileType_p");
9375 _resultobj
= Py_BuildValue("s",_ptemp
);
9378 _resultobj
= Py_None
;
9387 #define wxMimeTypesManager_GetFileTypeFromMimeType(_swigobj,_swigarg0) (_swigobj->GetFileTypeFromMimeType(_swigarg0))
9388 static PyObject
*_wrap_wxMimeTypesManager_GetFileTypeFromMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9389 PyObject
* _resultobj
;
9390 wxFileType
* _result
;
9391 wxMimeTypesManager
* _arg0
;
9393 PyObject
* _argo0
= 0;
9394 PyObject
* _obj1
= 0;
9395 char *_kwnames
[] = { "self","mimeType", NULL
};
9399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_GetFileTypeFromMimeType",_kwnames
,&_argo0
,&_obj1
))
9402 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9403 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9404 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_GetFileTypeFromMimeType. Expected _wxMimeTypesManager_p.");
9409 _arg1
= wxString_in_helper(_obj1
);
9414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9415 _result
= (wxFileType
*)wxMimeTypesManager_GetFileTypeFromMimeType(_arg0
,*_arg1
);
9417 wxPyEndAllowThreads(__tstate
);
9418 if (PyErr_Occurred()) return NULL
;
9420 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileType_p");
9421 _resultobj
= Py_BuildValue("s",_ptemp
);
9424 _resultobj
= Py_None
;
9433 #define wxMimeTypesManager_ReadMailcap(_swigobj,_swigarg0,_swigarg1) (_swigobj->ReadMailcap(_swigarg0,_swigarg1))
9434 static PyObject
*_wrap_wxMimeTypesManager_ReadMailcap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9435 PyObject
* _resultobj
;
9437 wxMimeTypesManager
* _arg0
;
9439 bool _arg2
= (bool ) FALSE
;
9440 PyObject
* _argo0
= 0;
9441 PyObject
* _obj1
= 0;
9442 int tempbool2
= (int) FALSE
;
9443 char *_kwnames
[] = { "self","filename","fallback", NULL
};
9446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxMimeTypesManager_ReadMailcap",_kwnames
,&_argo0
,&_obj1
,&tempbool2
))
9449 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9450 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9451 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_ReadMailcap. Expected _wxMimeTypesManager_p.");
9456 _arg1
= wxString_in_helper(_obj1
);
9460 _arg2
= (bool ) tempbool2
;
9462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9463 _result
= (bool )wxMimeTypesManager_ReadMailcap(_arg0
,*_arg1
,_arg2
);
9465 wxPyEndAllowThreads(__tstate
);
9466 if (PyErr_Occurred()) return NULL
;
9467 } _resultobj
= Py_BuildValue("i",_result
);
9475 #define wxMimeTypesManager_ReadMimeTypes(_swigobj,_swigarg0) (_swigobj->ReadMimeTypes(_swigarg0))
9476 static PyObject
*_wrap_wxMimeTypesManager_ReadMimeTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9477 PyObject
* _resultobj
;
9479 wxMimeTypesManager
* _arg0
;
9481 PyObject
* _argo0
= 0;
9482 PyObject
* _obj1
= 0;
9483 char *_kwnames
[] = { "self","filename", NULL
};
9486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_ReadMimeTypes",_kwnames
,&_argo0
,&_obj1
))
9489 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9490 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9491 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_ReadMimeTypes. Expected _wxMimeTypesManager_p.");
9496 _arg1
= wxString_in_helper(_obj1
);
9501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9502 _result
= (bool )wxMimeTypesManager_ReadMimeTypes(_arg0
,*_arg1
);
9504 wxPyEndAllowThreads(__tstate
);
9505 if (PyErr_Occurred()) return NULL
;
9506 } _resultobj
= Py_BuildValue("i",_result
);
9514 static PyObject
* wxMimeTypesManager_EnumAllFileTypes(wxMimeTypesManager
*self
) {
9516 self
->EnumAllFileTypes(arr
);
9517 return wxArrayString2PyList_helper(arr
);
9519 static PyObject
*_wrap_wxMimeTypesManager_EnumAllFileTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9520 PyObject
* _resultobj
;
9522 wxMimeTypesManager
* _arg0
;
9523 PyObject
* _argo0
= 0;
9524 char *_kwnames
[] = { "self", NULL
};
9527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMimeTypesManager_EnumAllFileTypes",_kwnames
,&_argo0
))
9530 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9531 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9532 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_EnumAllFileTypes. Expected _wxMimeTypesManager_p.");
9537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9538 _result
= (PyObject
*)wxMimeTypesManager_EnumAllFileTypes(_arg0
);
9540 wxPyEndAllowThreads(__tstate
);
9541 if (PyErr_Occurred()) return NULL
;
9543 _resultobj
= _result
;
9548 #define wxMimeTypesManager_AddFallback(_swigobj,_swigarg0) (_swigobj->AddFallback(_swigarg0))
9549 static PyObject
*_wrap_wxMimeTypesManager_AddFallback(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9550 PyObject
* _resultobj
;
9551 wxMimeTypesManager
* _arg0
;
9552 wxFileTypeInfo
* _arg1
;
9553 PyObject
* _argo0
= 0;
9554 PyObject
* _argo1
= 0;
9555 char *_kwnames
[] = { "self","ft", NULL
};
9558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_AddFallback",_kwnames
,&_argo0
,&_argo1
))
9561 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9562 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9563 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_AddFallback. Expected _wxMimeTypesManager_p.");
9568 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFileTypeInfo_p")) {
9569 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMimeTypesManager_AddFallback. Expected _wxFileTypeInfo_p.");
9574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9575 wxMimeTypesManager_AddFallback(_arg0
,*_arg1
);
9577 wxPyEndAllowThreads(__tstate
);
9578 if (PyErr_Occurred()) return NULL
;
9579 } Py_INCREF(Py_None
);
9580 _resultobj
= Py_None
;
9584 #define wxMimeTypesManager_Associate(_swigobj,_swigarg0) (_swigobj->Associate(_swigarg0))
9585 static PyObject
*_wrap_wxMimeTypesManager_Associate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9586 PyObject
* _resultobj
;
9587 wxFileType
* _result
;
9588 wxMimeTypesManager
* _arg0
;
9589 wxFileTypeInfo
* _arg1
;
9590 PyObject
* _argo0
= 0;
9591 PyObject
* _argo1
= 0;
9592 char *_kwnames
[] = { "self","ftInfo", NULL
};
9596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_Associate",_kwnames
,&_argo0
,&_argo1
))
9599 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9600 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9601 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_Associate. Expected _wxMimeTypesManager_p.");
9606 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFileTypeInfo_p")) {
9607 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMimeTypesManager_Associate. Expected _wxFileTypeInfo_p.");
9612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9613 _result
= (wxFileType
*)wxMimeTypesManager_Associate(_arg0
,*_arg1
);
9615 wxPyEndAllowThreads(__tstate
);
9616 if (PyErr_Occurred()) return NULL
;
9618 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileType_p");
9619 _resultobj
= Py_BuildValue("s",_ptemp
);
9622 _resultobj
= Py_None
;
9627 #define wxMimeTypesManager_Unassociate(_swigobj,_swigarg0) (_swigobj->Unassociate(_swigarg0))
9628 static PyObject
*_wrap_wxMimeTypesManager_Unassociate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9629 PyObject
* _resultobj
;
9631 wxMimeTypesManager
* _arg0
;
9633 PyObject
* _argo0
= 0;
9634 PyObject
* _argo1
= 0;
9635 char *_kwnames
[] = { "self","ft", NULL
};
9638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_Unassociate",_kwnames
,&_argo0
,&_argo1
))
9641 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9642 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9643 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_Unassociate. Expected _wxMimeTypesManager_p.");
9648 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9649 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFileType_p")) {
9650 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMimeTypesManager_Unassociate. Expected _wxFileType_p.");
9655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9656 _result
= (bool )wxMimeTypesManager_Unassociate(_arg0
,_arg1
);
9658 wxPyEndAllowThreads(__tstate
);
9659 if (PyErr_Occurred()) return NULL
;
9660 } _resultobj
= Py_BuildValue("i",_result
);
9664 #define delete_wxMimeTypesManager(_swigobj) (delete _swigobj)
9665 static PyObject
*_wrap_delete_wxMimeTypesManager(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9666 PyObject
* _resultobj
;
9667 wxMimeTypesManager
* _arg0
;
9668 PyObject
* _argo0
= 0;
9669 char *_kwnames
[] = { "self", NULL
};
9672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxMimeTypesManager",_kwnames
,&_argo0
))
9675 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9676 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9677 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxMimeTypesManager. Expected _wxMimeTypesManager_p.");
9682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9683 delete_wxMimeTypesManager(_arg0
);
9685 wxPyEndAllowThreads(__tstate
);
9686 if (PyErr_Occurred()) return NULL
;
9687 } Py_INCREF(Py_None
);
9688 _resultobj
= Py_None
;
9692 static void *SwigwxPyArtProviderTowxObject(void *ptr
) {
9693 wxPyArtProvider
*src
;
9695 src
= (wxPyArtProvider
*) ptr
;
9696 dest
= (wxObject
*) src
;
9697 return (void *) dest
;
9700 #define new_wxArtProvider() (new wxPyArtProvider())
9701 static PyObject
*_wrap_new_wxArtProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9702 PyObject
* _resultobj
;
9703 wxPyArtProvider
* _result
;
9704 char *_kwnames
[] = { NULL
};
9708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxArtProvider",_kwnames
))
9711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9712 _result
= (wxPyArtProvider
*)new_wxArtProvider();
9714 wxPyEndAllowThreads(__tstate
);
9715 if (PyErr_Occurred()) return NULL
;
9717 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyArtProvider_p");
9718 _resultobj
= Py_BuildValue("s",_ptemp
);
9721 _resultobj
= Py_None
;
9726 #define wxArtProvider__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
9727 static PyObject
*_wrap_wxArtProvider__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9728 PyObject
* _resultobj
;
9729 wxPyArtProvider
* _arg0
;
9732 PyObject
* _argo0
= 0;
9733 PyObject
* _obj1
= 0;
9734 PyObject
* _obj2
= 0;
9735 char *_kwnames
[] = { "self","self","_class", NULL
};
9738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxArtProvider__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
9741 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9742 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyArtProvider_p")) {
9743 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxArtProvider__setCallbackInfo. Expected _wxPyArtProvider_p.");
9754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9755 wxArtProvider__setCallbackInfo(_arg0
,_arg1
,_arg2
);
9757 wxPyEndAllowThreads(__tstate
);
9758 if (PyErr_Occurred()) return NULL
;
9759 } Py_INCREF(Py_None
);
9760 _resultobj
= Py_None
;
9764 static PyObject
*_wrap_wxArtProvider_PushProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9765 PyObject
* _resultobj
;
9766 wxPyArtProvider
* _arg0
;
9767 PyObject
* _argo0
= 0;
9768 char *_kwnames
[] = { "provider", NULL
};
9771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxArtProvider_PushProvider",_kwnames
,&_argo0
))
9774 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9775 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyArtProvider_p")) {
9776 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxArtProvider_PushProvider. Expected _wxPyArtProvider_p.");
9781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9782 wxPyArtProvider::PushProvider(_arg0
);
9784 wxPyEndAllowThreads(__tstate
);
9785 if (PyErr_Occurred()) return NULL
;
9786 } Py_INCREF(Py_None
);
9787 _resultobj
= Py_None
;
9791 static PyObject
*_wrap_wxArtProvider_PopProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9792 PyObject
* _resultobj
;
9794 char *_kwnames
[] = { NULL
};
9797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxArtProvider_PopProvider",_kwnames
))
9800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9801 _result
= (bool )wxPyArtProvider::PopProvider();
9803 wxPyEndAllowThreads(__tstate
);
9804 if (PyErr_Occurred()) return NULL
;
9805 } _resultobj
= Py_BuildValue("i",_result
);
9809 static PyObject
*_wrap_wxArtProvider_RemoveProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9810 PyObject
* _resultobj
;
9812 wxPyArtProvider
* _arg0
;
9813 PyObject
* _argo0
= 0;
9814 char *_kwnames
[] = { "provider", NULL
};
9817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxArtProvider_RemoveProvider",_kwnames
,&_argo0
))
9820 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9821 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyArtProvider_p")) {
9822 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxArtProvider_RemoveProvider. Expected _wxPyArtProvider_p.");
9827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9828 _result
= (bool )wxPyArtProvider::RemoveProvider(_arg0
);
9830 wxPyEndAllowThreads(__tstate
);
9831 if (PyErr_Occurred()) return NULL
;
9832 } _resultobj
= Py_BuildValue("i",_result
);
9836 static PyObject
*_wrap_wxArtProvider_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9837 PyObject
* _resultobj
;
9840 wxString
* _arg1
= (wxString
*) &wxPyART_OTHER
;
9841 wxSize
* _arg2
= (wxSize
*) &wxDefaultSize
;
9842 PyObject
* _obj0
= 0;
9843 PyObject
* _obj1
= 0;
9845 PyObject
* _obj2
= 0;
9846 char *_kwnames
[] = { "id","client","size", NULL
};
9850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|OO:wxArtProvider_GetBitmap",_kwnames
,&_obj0
,&_obj1
,&_obj2
))
9853 _arg0
= wxString_in_helper(_obj0
);
9859 _arg1
= wxString_in_helper(_obj1
);
9866 if (! wxSize_helper(_obj2
, &_arg2
))
9870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9871 _result
= new wxBitmap (wxPyArtProvider::GetBitmap(*_arg0
,*_arg1
,*_arg2
));
9873 wxPyEndAllowThreads(__tstate
);
9874 if (PyErr_Occurred()) return NULL
;
9875 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBitmap_p");
9876 _resultobj
= Py_BuildValue("s",_ptemp
);
9888 static PyObject
*_wrap_wxArtProvider_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9889 PyObject
* _resultobj
;
9892 wxString
* _arg1
= (wxString
*) &wxPyART_OTHER
;
9893 wxSize
* _arg2
= (wxSize
*) &wxDefaultSize
;
9894 PyObject
* _obj0
= 0;
9895 PyObject
* _obj1
= 0;
9897 PyObject
* _obj2
= 0;
9898 char *_kwnames
[] = { "id","client","size", NULL
};
9902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|OO:wxArtProvider_GetIcon",_kwnames
,&_obj0
,&_obj1
,&_obj2
))
9905 _arg0
= wxString_in_helper(_obj0
);
9911 _arg1
= wxString_in_helper(_obj1
);
9918 if (! wxSize_helper(_obj2
, &_arg2
))
9922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9923 _result
= new wxIcon (wxPyArtProvider::GetIcon(*_arg0
,*_arg1
,*_arg2
));
9925 wxPyEndAllowThreads(__tstate
);
9926 if (PyErr_Occurred()) return NULL
;
9927 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxIcon_p");
9928 _resultobj
= Py_BuildValue("s",_ptemp
);
9940 static void *SwigwxFileHistoryTowxObject(void *ptr
) {
9943 src
= (wxFileHistory
*) ptr
;
9944 dest
= (wxObject
*) src
;
9945 return (void *) dest
;
9948 #define new_wxFileHistory(_swigarg0) (new wxFileHistory(_swigarg0))
9949 static PyObject
*_wrap_new_wxFileHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9950 PyObject
* _resultobj
;
9951 wxFileHistory
* _result
;
9952 int _arg0
= (int ) 9;
9953 char *_kwnames
[] = { "maxFiles", NULL
};
9957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxFileHistory",_kwnames
,&_arg0
))
9960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9961 _result
= (wxFileHistory
*)new_wxFileHistory(_arg0
);
9963 wxPyEndAllowThreads(__tstate
);
9964 if (PyErr_Occurred()) return NULL
;
9966 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileHistory_p");
9967 _resultobj
= Py_BuildValue("s",_ptemp
);
9970 _resultobj
= Py_None
;
9975 #define delete_wxFileHistory(_swigobj) (delete _swigobj)
9976 static PyObject
*_wrap_delete_wxFileHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9977 PyObject
* _resultobj
;
9978 wxFileHistory
* _arg0
;
9979 PyObject
* _argo0
= 0;
9980 char *_kwnames
[] = { "self", NULL
};
9983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxFileHistory",_kwnames
,&_argo0
))
9986 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9987 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9988 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxFileHistory. Expected _wxFileHistory_p.");
9993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9994 delete_wxFileHistory(_arg0
);
9996 wxPyEndAllowThreads(__tstate
);
9997 if (PyErr_Occurred()) return NULL
;
9998 } Py_INCREF(Py_None
);
9999 _resultobj
= Py_None
;
10003 #define wxFileHistory_AddFileToHistory(_swigobj,_swigarg0) (_swigobj->AddFileToHistory(_swigarg0))
10004 static PyObject
*_wrap_wxFileHistory_AddFileToHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10005 PyObject
* _resultobj
;
10006 wxFileHistory
* _arg0
;
10008 PyObject
* _argo0
= 0;
10009 PyObject
* _obj1
= 0;
10010 char *_kwnames
[] = { "self","file", NULL
};
10013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileHistory_AddFileToHistory",_kwnames
,&_argo0
,&_obj1
))
10016 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10017 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
10018 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_AddFileToHistory. Expected _wxFileHistory_p.");
10023 _arg1
= wxString_in_helper(_obj1
);
10028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10029 wxFileHistory_AddFileToHistory(_arg0
,*_arg1
);
10031 wxPyEndAllowThreads(__tstate
);
10032 if (PyErr_Occurred()) return NULL
;
10033 } Py_INCREF(Py_None
);
10034 _resultobj
= Py_None
;
10042 #define wxFileHistory_RemoveFileFromHistory(_swigobj,_swigarg0) (_swigobj->RemoveFileFromHistory(_swigarg0))
10043 static PyObject
*_wrap_wxFileHistory_RemoveFileFromHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10044 PyObject
* _resultobj
;
10045 wxFileHistory
* _arg0
;
10047 PyObject
* _argo0
= 0;
10048 char *_kwnames
[] = { "self","i", NULL
};
10051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFileHistory_RemoveFileFromHistory",_kwnames
,&_argo0
,&_arg1
))
10054 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10055 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
10056 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_RemoveFileFromHistory. Expected _wxFileHistory_p.");
10061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10062 wxFileHistory_RemoveFileFromHistory(_arg0
,_arg1
);
10064 wxPyEndAllowThreads(__tstate
);
10065 if (PyErr_Occurred()) return NULL
;
10066 } Py_INCREF(Py_None
);
10067 _resultobj
= Py_None
;
10071 #define wxFileHistory_GetMaxFiles(_swigobj) (_swigobj->GetMaxFiles())
10072 static PyObject
*_wrap_wxFileHistory_GetMaxFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10073 PyObject
* _resultobj
;
10075 wxFileHistory
* _arg0
;
10076 PyObject
* _argo0
= 0;
10077 char *_kwnames
[] = { "self", NULL
};
10080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileHistory_GetMaxFiles",_kwnames
,&_argo0
))
10083 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10084 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
10085 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_GetMaxFiles. Expected _wxFileHistory_p.");
10090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10091 _result
= (int )wxFileHistory_GetMaxFiles(_arg0
);
10093 wxPyEndAllowThreads(__tstate
);
10094 if (PyErr_Occurred()) return NULL
;
10095 } _resultobj
= Py_BuildValue("i",_result
);
10099 #define wxFileHistory_UseMenu(_swigobj,_swigarg0) (_swigobj->UseMenu(_swigarg0))
10100 static PyObject
*_wrap_wxFileHistory_UseMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10101 PyObject
* _resultobj
;
10102 wxFileHistory
* _arg0
;
10104 PyObject
* _argo0
= 0;
10105 PyObject
* _argo1
= 0;
10106 char *_kwnames
[] = { "self","menu", NULL
};
10109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileHistory_UseMenu",_kwnames
,&_argo0
,&_argo1
))
10112 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10113 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
10114 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_UseMenu. Expected _wxFileHistory_p.");
10119 if (_argo1
== Py_None
) { _arg1
= NULL
; }
10120 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
10121 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFileHistory_UseMenu. Expected _wxMenu_p.");
10126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10127 wxFileHistory_UseMenu(_arg0
,_arg1
);
10129 wxPyEndAllowThreads(__tstate
);
10130 if (PyErr_Occurred()) return NULL
;
10131 } Py_INCREF(Py_None
);
10132 _resultobj
= Py_None
;
10136 #define wxFileHistory_RemoveMenu(_swigobj,_swigarg0) (_swigobj->RemoveMenu(_swigarg0))
10137 static PyObject
*_wrap_wxFileHistory_RemoveMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10138 PyObject
* _resultobj
;
10139 wxFileHistory
* _arg0
;
10141 PyObject
* _argo0
= 0;
10142 PyObject
* _argo1
= 0;
10143 char *_kwnames
[] = { "self","menu", NULL
};
10146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileHistory_RemoveMenu",_kwnames
,&_argo0
,&_argo1
))
10149 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10150 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
10151 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_RemoveMenu. Expected _wxFileHistory_p.");
10156 if (_argo1
== Py_None
) { _arg1
= NULL
; }
10157 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
10158 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFileHistory_RemoveMenu. Expected _wxMenu_p.");
10163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10164 wxFileHistory_RemoveMenu(_arg0
,_arg1
);
10166 wxPyEndAllowThreads(__tstate
);
10167 if (PyErr_Occurred()) return NULL
;
10168 } Py_INCREF(Py_None
);
10169 _resultobj
= Py_None
;
10173 #define wxFileHistory_Load(_swigobj,_swigarg0) (_swigobj->Load(_swigarg0))
10174 static PyObject
*_wrap_wxFileHistory_Load(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10175 PyObject
* _resultobj
;
10176 wxFileHistory
* _arg0
;
10177 wxConfigBase
* _arg1
;
10178 PyObject
* _argo0
= 0;
10179 PyObject
* _argo1
= 0;
10180 char *_kwnames
[] = { "self","config", NULL
};
10183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileHistory_Load",_kwnames
,&_argo0
,&_argo1
))
10186 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10187 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
10188 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_Load. Expected _wxFileHistory_p.");
10193 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxConfigBase_p")) {
10194 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFileHistory_Load. Expected _wxConfigBase_p.");
10199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10200 wxFileHistory_Load(_arg0
,*_arg1
);
10202 wxPyEndAllowThreads(__tstate
);
10203 if (PyErr_Occurred()) return NULL
;
10204 } Py_INCREF(Py_None
);
10205 _resultobj
= Py_None
;
10209 #define wxFileHistory_Save(_swigobj,_swigarg0) (_swigobj->Save(_swigarg0))
10210 static PyObject
*_wrap_wxFileHistory_Save(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10211 PyObject
* _resultobj
;
10212 wxFileHistory
* _arg0
;
10213 wxConfigBase
* _arg1
;
10214 PyObject
* _argo0
= 0;
10215 PyObject
* _argo1
= 0;
10216 char *_kwnames
[] = { "self","config", NULL
};
10219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileHistory_Save",_kwnames
,&_argo0
,&_argo1
))
10222 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10223 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
10224 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_Save. Expected _wxFileHistory_p.");
10229 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxConfigBase_p")) {
10230 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFileHistory_Save. Expected _wxConfigBase_p.");
10235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10236 wxFileHistory_Save(_arg0
,*_arg1
);
10238 wxPyEndAllowThreads(__tstate
);
10239 if (PyErr_Occurred()) return NULL
;
10240 } Py_INCREF(Py_None
);
10241 _resultobj
= Py_None
;
10245 #define wxFileHistory_AddFilesToMenu(_swigobj) (_swigobj->AddFilesToMenu())
10246 static PyObject
*_wrap_wxFileHistory_AddFilesToMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10247 PyObject
* _resultobj
;
10248 wxFileHistory
* _arg0
;
10249 PyObject
* _argo0
= 0;
10250 char *_kwnames
[] = { "self", NULL
};
10253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileHistory_AddFilesToMenu",_kwnames
,&_argo0
))
10256 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10257 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
10258 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_AddFilesToMenu. Expected _wxFileHistory_p.");
10263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10264 wxFileHistory_AddFilesToMenu(_arg0
);
10266 wxPyEndAllowThreads(__tstate
);
10267 if (PyErr_Occurred()) return NULL
;
10268 } Py_INCREF(Py_None
);
10269 _resultobj
= Py_None
;
10273 #define wxFileHistory_AddFilesToThisMenu(_swigobj,_swigarg0) (_swigobj->AddFilesToMenu(_swigarg0))
10274 static PyObject
*_wrap_wxFileHistory_AddFilesToThisMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10275 PyObject
* _resultobj
;
10276 wxFileHistory
* _arg0
;
10278 PyObject
* _argo0
= 0;
10279 PyObject
* _argo1
= 0;
10280 char *_kwnames
[] = { "self","menu", NULL
};
10283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileHistory_AddFilesToThisMenu",_kwnames
,&_argo0
,&_argo1
))
10286 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10287 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
10288 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_AddFilesToThisMenu. Expected _wxFileHistory_p.");
10293 if (_argo1
== Py_None
) { _arg1
= NULL
; }
10294 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
10295 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFileHistory_AddFilesToThisMenu. Expected _wxMenu_p.");
10300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10301 wxFileHistory_AddFilesToThisMenu(_arg0
,_arg1
);
10303 wxPyEndAllowThreads(__tstate
);
10304 if (PyErr_Occurred()) return NULL
;
10305 } Py_INCREF(Py_None
);
10306 _resultobj
= Py_None
;
10310 #define wxFileHistory_GetHistoryFile(_swigobj,_swigarg0) (_swigobj->GetHistoryFile(_swigarg0))
10311 static PyObject
*_wrap_wxFileHistory_GetHistoryFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10312 PyObject
* _resultobj
;
10313 wxString
* _result
;
10314 wxFileHistory
* _arg0
;
10316 PyObject
* _argo0
= 0;
10317 char *_kwnames
[] = { "self","i", NULL
};
10320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFileHistory_GetHistoryFile",_kwnames
,&_argo0
,&_arg1
))
10323 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10324 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
10325 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_GetHistoryFile. Expected _wxFileHistory_p.");
10330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10331 _result
= new wxString (wxFileHistory_GetHistoryFile(_arg0
,_arg1
));
10333 wxPyEndAllowThreads(__tstate
);
10334 if (PyErr_Occurred()) return NULL
;
10337 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
10339 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
10348 #define wxFileHistory_GetCount(_swigobj) (_swigobj->GetCount())
10349 static PyObject
*_wrap_wxFileHistory_GetCount(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_GetCount",_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_GetCount. Expected _wxFileHistory_p.");
10367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10368 _result
= (int )wxFileHistory_GetCount(_arg0
);
10370 wxPyEndAllowThreads(__tstate
);
10371 if (PyErr_Occurred()) return NULL
;
10372 } _resultobj
= Py_BuildValue("i",_result
);
10376 #define wxFileHistory_GetNoHistoryFiles(_swigobj) (_swigobj->GetNoHistoryFiles())
10377 static PyObject
*_wrap_wxFileHistory_GetNoHistoryFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10378 PyObject
* _resultobj
;
10380 wxFileHistory
* _arg0
;
10381 PyObject
* _argo0
= 0;
10382 char *_kwnames
[] = { "self", NULL
};
10385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileHistory_GetNoHistoryFiles",_kwnames
,&_argo0
))
10388 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10389 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
10390 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_GetNoHistoryFiles. Expected _wxFileHistory_p.");
10395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10396 _result
= (int )wxFileHistory_GetNoHistoryFiles(_arg0
);
10398 wxPyEndAllowThreads(__tstate
);
10399 if (PyErr_Occurred()) return NULL
;
10400 } _resultobj
= Py_BuildValue("i",_result
);
10404 static void *SwigwxEffectsTowxObject(void *ptr
) {
10407 src
= (wxEffects
*) ptr
;
10408 dest
= (wxObject
*) src
;
10409 return (void *) dest
;
10412 #define new_wxEffects() (new wxEffects())
10413 static PyObject
*_wrap_new_wxEffects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10414 PyObject
* _resultobj
;
10415 wxEffects
* _result
;
10416 char *_kwnames
[] = { NULL
};
10420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxEffects",_kwnames
))
10423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10424 _result
= (wxEffects
*)new_wxEffects();
10426 wxPyEndAllowThreads(__tstate
);
10427 if (PyErr_Occurred()) return NULL
;
10429 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxEffects_p");
10430 _resultobj
= Py_BuildValue("s",_ptemp
);
10432 Py_INCREF(Py_None
);
10433 _resultobj
= Py_None
;
10438 #define wxEffects_GetHighlightColour(_swigobj) (_swigobj->GetHighlightColour())
10439 static PyObject
*_wrap_wxEffects_GetHighlightColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10440 PyObject
* _resultobj
;
10441 wxColour
* _result
;
10443 PyObject
* _argo0
= 0;
10444 char *_kwnames
[] = { "self", NULL
};
10448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEffects_GetHighlightColour",_kwnames
,&_argo0
))
10451 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10452 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEffects_p")) {
10453 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEffects_GetHighlightColour. Expected _wxEffects_p.");
10458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10459 _result
= new wxColour (wxEffects_GetHighlightColour(_arg0
));
10461 wxPyEndAllowThreads(__tstate
);
10462 if (PyErr_Occurred()) return NULL
;
10463 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
10464 _resultobj
= Py_BuildValue("s",_ptemp
);
10468 #define wxEffects_GetLightShadow(_swigobj) (_swigobj->GetLightShadow())
10469 static PyObject
*_wrap_wxEffects_GetLightShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10470 PyObject
* _resultobj
;
10471 wxColour
* _result
;
10473 PyObject
* _argo0
= 0;
10474 char *_kwnames
[] = { "self", NULL
};
10478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEffects_GetLightShadow",_kwnames
,&_argo0
))
10481 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10482 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEffects_p")) {
10483 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEffects_GetLightShadow. Expected _wxEffects_p.");
10488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10489 _result
= new wxColour (wxEffects_GetLightShadow(_arg0
));
10491 wxPyEndAllowThreads(__tstate
);
10492 if (PyErr_Occurred()) return NULL
;
10493 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
10494 _resultobj
= Py_BuildValue("s",_ptemp
);
10498 #define wxEffects_GetFaceColour(_swigobj) (_swigobj->GetFaceColour())
10499 static PyObject
*_wrap_wxEffects_GetFaceColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10500 PyObject
* _resultobj
;
10501 wxColour
* _result
;
10503 PyObject
* _argo0
= 0;
10504 char *_kwnames
[] = { "self", NULL
};
10508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEffects_GetFaceColour",_kwnames
,&_argo0
))
10511 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10512 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEffects_p")) {
10513 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEffects_GetFaceColour. Expected _wxEffects_p.");
10518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10519 _result
= new wxColour (wxEffects_GetFaceColour(_arg0
));
10521 wxPyEndAllowThreads(__tstate
);
10522 if (PyErr_Occurred()) return NULL
;
10523 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
10524 _resultobj
= Py_BuildValue("s",_ptemp
);
10528 #define wxEffects_GetMediumShadow(_swigobj) (_swigobj->GetMediumShadow())
10529 static PyObject
*_wrap_wxEffects_GetMediumShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10530 PyObject
* _resultobj
;
10531 wxColour
* _result
;
10533 PyObject
* _argo0
= 0;
10534 char *_kwnames
[] = { "self", NULL
};
10538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEffects_GetMediumShadow",_kwnames
,&_argo0
))
10541 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10542 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEffects_p")) {
10543 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEffects_GetMediumShadow. Expected _wxEffects_p.");
10548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10549 _result
= new wxColour (wxEffects_GetMediumShadow(_arg0
));
10551 wxPyEndAllowThreads(__tstate
);
10552 if (PyErr_Occurred()) return NULL
;
10553 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
10554 _resultobj
= Py_BuildValue("s",_ptemp
);
10558 #define wxEffects_GetDarkShadow(_swigobj) (_swigobj->GetDarkShadow())
10559 static PyObject
*_wrap_wxEffects_GetDarkShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10560 PyObject
* _resultobj
;
10561 wxColour
* _result
;
10563 PyObject
* _argo0
= 0;
10564 char *_kwnames
[] = { "self", NULL
};
10568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEffects_GetDarkShadow",_kwnames
,&_argo0
))
10571 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10572 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEffects_p")) {
10573 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEffects_GetDarkShadow. Expected _wxEffects_p.");
10578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10579 _result
= new wxColour (wxEffects_GetDarkShadow(_arg0
));
10581 wxPyEndAllowThreads(__tstate
);
10582 if (PyErr_Occurred()) return NULL
;
10583 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
10584 _resultobj
= Py_BuildValue("s",_ptemp
);
10588 #define wxEffects_SetHighlightColour(_swigobj,_swigarg0) (_swigobj->SetHighlightColour(_swigarg0))
10589 static PyObject
*_wrap_wxEffects_SetHighlightColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10590 PyObject
* _resultobj
;
10593 PyObject
* _argo0
= 0;
10595 PyObject
* _obj1
= 0;
10596 char *_kwnames
[] = { "self","c", NULL
};
10599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxEffects_SetHighlightColour",_kwnames
,&_argo0
,&_obj1
))
10602 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10603 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEffects_p")) {
10604 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEffects_SetHighlightColour. Expected _wxEffects_p.");
10610 if (! wxColour_helper(_obj1
, &_arg1
))
10614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10615 wxEffects_SetHighlightColour(_arg0
,*_arg1
);
10617 wxPyEndAllowThreads(__tstate
);
10618 if (PyErr_Occurred()) return NULL
;
10619 } Py_INCREF(Py_None
);
10620 _resultobj
= Py_None
;
10624 #define wxEffects_SetLightShadow(_swigobj,_swigarg0) (_swigobj->SetLightShadow(_swigarg0))
10625 static PyObject
*_wrap_wxEffects_SetLightShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10626 PyObject
* _resultobj
;
10629 PyObject
* _argo0
= 0;
10631 PyObject
* _obj1
= 0;
10632 char *_kwnames
[] = { "self","c", NULL
};
10635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxEffects_SetLightShadow",_kwnames
,&_argo0
,&_obj1
))
10638 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10639 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEffects_p")) {
10640 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEffects_SetLightShadow. Expected _wxEffects_p.");
10646 if (! wxColour_helper(_obj1
, &_arg1
))
10650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10651 wxEffects_SetLightShadow(_arg0
,*_arg1
);
10653 wxPyEndAllowThreads(__tstate
);
10654 if (PyErr_Occurred()) return NULL
;
10655 } Py_INCREF(Py_None
);
10656 _resultobj
= Py_None
;
10660 #define wxEffects_SetFaceColour(_swigobj,_swigarg0) (_swigobj->SetFaceColour(_swigarg0))
10661 static PyObject
*_wrap_wxEffects_SetFaceColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10662 PyObject
* _resultobj
;
10665 PyObject
* _argo0
= 0;
10667 PyObject
* _obj1
= 0;
10668 char *_kwnames
[] = { "self","c", NULL
};
10671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxEffects_SetFaceColour",_kwnames
,&_argo0
,&_obj1
))
10674 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10675 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEffects_p")) {
10676 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEffects_SetFaceColour. Expected _wxEffects_p.");
10682 if (! wxColour_helper(_obj1
, &_arg1
))
10686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10687 wxEffects_SetFaceColour(_arg0
,*_arg1
);
10689 wxPyEndAllowThreads(__tstate
);
10690 if (PyErr_Occurred()) return NULL
;
10691 } Py_INCREF(Py_None
);
10692 _resultobj
= Py_None
;
10696 #define wxEffects_SetMediumShadow(_swigobj,_swigarg0) (_swigobj->SetMediumShadow(_swigarg0))
10697 static PyObject
*_wrap_wxEffects_SetMediumShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10698 PyObject
* _resultobj
;
10701 PyObject
* _argo0
= 0;
10703 PyObject
* _obj1
= 0;
10704 char *_kwnames
[] = { "self","c", NULL
};
10707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxEffects_SetMediumShadow",_kwnames
,&_argo0
,&_obj1
))
10710 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10711 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEffects_p")) {
10712 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEffects_SetMediumShadow. Expected _wxEffects_p.");
10718 if (! wxColour_helper(_obj1
, &_arg1
))
10722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10723 wxEffects_SetMediumShadow(_arg0
,*_arg1
);
10725 wxPyEndAllowThreads(__tstate
);
10726 if (PyErr_Occurred()) return NULL
;
10727 } Py_INCREF(Py_None
);
10728 _resultobj
= Py_None
;
10732 #define wxEffects_SetDarkShadow(_swigobj,_swigarg0) (_swigobj->SetDarkShadow(_swigarg0))
10733 static PyObject
*_wrap_wxEffects_SetDarkShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10734 PyObject
* _resultobj
;
10737 PyObject
* _argo0
= 0;
10739 PyObject
* _obj1
= 0;
10740 char *_kwnames
[] = { "self","c", NULL
};
10743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxEffects_SetDarkShadow",_kwnames
,&_argo0
,&_obj1
))
10746 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10747 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEffects_p")) {
10748 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEffects_SetDarkShadow. Expected _wxEffects_p.");
10754 if (! wxColour_helper(_obj1
, &_arg1
))
10758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10759 wxEffects_SetDarkShadow(_arg0
,*_arg1
);
10761 wxPyEndAllowThreads(__tstate
);
10762 if (PyErr_Occurred()) return NULL
;
10763 } Py_INCREF(Py_None
);
10764 _resultobj
= Py_None
;
10768 #define wxEffects_Set(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->Set(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
10769 static PyObject
*_wrap_wxEffects_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10770 PyObject
* _resultobj
;
10777 PyObject
* _argo0
= 0;
10779 PyObject
* _obj1
= 0;
10781 PyObject
* _obj2
= 0;
10783 PyObject
* _obj3
= 0;
10785 PyObject
* _obj4
= 0;
10787 PyObject
* _obj5
= 0;
10788 char *_kwnames
[] = { "self","highlightColour","lightShadow","faceColour","mediumShadow","darkShadow", NULL
};
10791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOOOO:wxEffects_Set",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&_obj3
,&_obj4
,&_obj5
))
10794 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10795 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEffects_p")) {
10796 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEffects_Set. Expected _wxEffects_p.");
10802 if (! wxColour_helper(_obj1
, &_arg1
))
10807 if (! wxColour_helper(_obj2
, &_arg2
))
10812 if (! wxColour_helper(_obj3
, &_arg3
))
10817 if (! wxColour_helper(_obj4
, &_arg4
))
10822 if (! wxColour_helper(_obj5
, &_arg5
))
10826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10827 wxEffects_Set(_arg0
,*_arg1
,*_arg2
,*_arg3
,*_arg4
,*_arg5
);
10829 wxPyEndAllowThreads(__tstate
);
10830 if (PyErr_Occurred()) return NULL
;
10831 } Py_INCREF(Py_None
);
10832 _resultobj
= Py_None
;
10836 #define wxEffects_DrawSunkenEdge(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawSunkenEdge(_swigarg0,_swigarg1,_swigarg2))
10837 static PyObject
*_wrap_wxEffects_DrawSunkenEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10838 PyObject
* _resultobj
;
10842 int _arg3
= (int ) 1;
10843 PyObject
* _argo0
= 0;
10844 PyObject
* _argo1
= 0;
10846 PyObject
* _obj2
= 0;
10847 char *_kwnames
[] = { "self","dc","rect","borderSize", NULL
};
10850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|i:wxEffects_DrawSunkenEdge",_kwnames
,&_argo0
,&_argo1
,&_obj2
,&_arg3
))
10853 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10854 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEffects_p")) {
10855 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEffects_DrawSunkenEdge. Expected _wxEffects_p.");
10860 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
10861 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxEffects_DrawSunkenEdge. Expected _wxDC_p.");
10867 if (! wxRect_helper(_obj2
, &_arg2
))
10871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10872 wxEffects_DrawSunkenEdge(_arg0
,*_arg1
,*_arg2
,_arg3
);
10874 wxPyEndAllowThreads(__tstate
);
10875 if (PyErr_Occurred()) return NULL
;
10876 } Py_INCREF(Py_None
);
10877 _resultobj
= Py_None
;
10881 #define wxEffects_TileBitmap(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->TileBitmap(_swigarg0,_swigarg1,_swigarg2))
10882 static PyObject
*_wrap_wxEffects_TileBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10883 PyObject
* _resultobj
;
10889 PyObject
* _argo0
= 0;
10891 PyObject
* _obj1
= 0;
10892 PyObject
* _argo2
= 0;
10893 PyObject
* _argo3
= 0;
10894 char *_kwnames
[] = { "self","rect","dc","bitmap", NULL
};
10897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO:wxEffects_TileBitmap",_kwnames
,&_argo0
,&_obj1
,&_argo2
,&_argo3
))
10900 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10901 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEffects_p")) {
10902 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEffects_TileBitmap. Expected _wxEffects_p.");
10908 if (! wxRect_helper(_obj1
, &_arg1
))
10912 if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxDC_p")) {
10913 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxEffects_TileBitmap. Expected _wxDC_p.");
10918 if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxBitmap_p")) {
10919 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxEffects_TileBitmap. Expected _wxBitmap_p.");
10924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10925 _result
= (bool )wxEffects_TileBitmap(_arg0
,*_arg1
,*_arg2
,*_arg3
);
10927 wxPyEndAllowThreads(__tstate
);
10928 if (PyErr_Occurred()) return NULL
;
10929 } _resultobj
= Py_BuildValue("i",_result
);
10933 #define new_wxSingleInstanceChecker(_swigarg0,_swigarg1) (new wxSingleInstanceChecker(_swigarg0,_swigarg1))
10934 static PyObject
*_wrap_new_wxSingleInstanceChecker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10935 PyObject
* _resultobj
;
10936 wxSingleInstanceChecker
* _result
;
10938 wxString
* _arg1
= (wxString
*) &wxPyEmptyString
;
10939 PyObject
* _obj0
= 0;
10940 PyObject
* _obj1
= 0;
10941 char *_kwnames
[] = { "name","path", NULL
};
10945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:new_wxSingleInstanceChecker",_kwnames
,&_obj0
,&_obj1
))
10948 _arg0
= wxString_in_helper(_obj0
);
10954 _arg1
= wxString_in_helper(_obj1
);
10959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10960 _result
= (wxSingleInstanceChecker
*)new_wxSingleInstanceChecker(*_arg0
,*_arg1
);
10962 wxPyEndAllowThreads(__tstate
);
10963 if (PyErr_Occurred()) return NULL
;
10965 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSingleInstanceChecker_p");
10966 _resultobj
= Py_BuildValue("s",_ptemp
);
10968 Py_INCREF(Py_None
);
10969 _resultobj
= Py_None
;
10982 #define new_wxPreSingleInstanceChecker() (new wxSingleInstanceChecker())
10983 static PyObject
*_wrap_new_wxPreSingleInstanceChecker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10984 PyObject
* _resultobj
;
10985 wxSingleInstanceChecker
* _result
;
10986 char *_kwnames
[] = { NULL
};
10990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreSingleInstanceChecker",_kwnames
))
10993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10994 _result
= (wxSingleInstanceChecker
*)new_wxPreSingleInstanceChecker();
10996 wxPyEndAllowThreads(__tstate
);
10997 if (PyErr_Occurred()) return NULL
;
10999 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSingleInstanceChecker_p");
11000 _resultobj
= Py_BuildValue("s",_ptemp
);
11002 Py_INCREF(Py_None
);
11003 _resultobj
= Py_None
;
11008 #define delete_wxSingleInstanceChecker(_swigobj) (delete _swigobj)
11009 static PyObject
*_wrap_delete_wxSingleInstanceChecker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11010 PyObject
* _resultobj
;
11011 wxSingleInstanceChecker
* _arg0
;
11012 PyObject
* _argo0
= 0;
11013 char *_kwnames
[] = { "self", NULL
};
11016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxSingleInstanceChecker",_kwnames
,&_argo0
))
11019 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11020 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSingleInstanceChecker_p")) {
11021 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxSingleInstanceChecker. Expected _wxSingleInstanceChecker_p.");
11026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11027 delete_wxSingleInstanceChecker(_arg0
);
11029 wxPyEndAllowThreads(__tstate
);
11030 if (PyErr_Occurred()) return NULL
;
11031 } Py_INCREF(Py_None
);
11032 _resultobj
= Py_None
;
11036 #define wxSingleInstanceChecker_Create(_swigobj,_swigarg0,_swigarg1) (_swigobj->Create(_swigarg0,_swigarg1))
11037 static PyObject
*_wrap_wxSingleInstanceChecker_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11038 PyObject
* _resultobj
;
11040 wxSingleInstanceChecker
* _arg0
;
11042 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
11043 PyObject
* _argo0
= 0;
11044 PyObject
* _obj1
= 0;
11045 PyObject
* _obj2
= 0;
11046 char *_kwnames
[] = { "self","name","path", NULL
};
11049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxSingleInstanceChecker_Create",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
11052 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11053 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSingleInstanceChecker_p")) {
11054 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSingleInstanceChecker_Create. Expected _wxSingleInstanceChecker_p.");
11059 _arg1
= wxString_in_helper(_obj1
);
11065 _arg2
= wxString_in_helper(_obj2
);
11070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11071 _result
= (bool )wxSingleInstanceChecker_Create(_arg0
,*_arg1
,*_arg2
);
11073 wxPyEndAllowThreads(__tstate
);
11074 if (PyErr_Occurred()) return NULL
;
11075 } _resultobj
= Py_BuildValue("i",_result
);
11087 #define wxSingleInstanceChecker_IsAnotherRunning(_swigobj) (_swigobj->IsAnotherRunning())
11088 static PyObject
*_wrap_wxSingleInstanceChecker_IsAnotherRunning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11089 PyObject
* _resultobj
;
11091 wxSingleInstanceChecker
* _arg0
;
11092 PyObject
* _argo0
= 0;
11093 char *_kwnames
[] = { "self", NULL
};
11096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSingleInstanceChecker_IsAnotherRunning",_kwnames
,&_argo0
))
11099 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11100 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSingleInstanceChecker_p")) {
11101 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSingleInstanceChecker_IsAnotherRunning. Expected _wxSingleInstanceChecker_p.");
11106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11107 _result
= (bool )wxSingleInstanceChecker_IsAnotherRunning(_arg0
);
11109 wxPyEndAllowThreads(__tstate
);
11110 if (PyErr_Occurred()) return NULL
;
11111 } _resultobj
= Py_BuildValue("i",_result
);
11115 static PyMethodDef misc2cMethods
[] = {
11116 { "wxSingleInstanceChecker_IsAnotherRunning", (PyCFunction
) _wrap_wxSingleInstanceChecker_IsAnotherRunning
, METH_VARARGS
| METH_KEYWORDS
},
11117 { "wxSingleInstanceChecker_Create", (PyCFunction
) _wrap_wxSingleInstanceChecker_Create
, METH_VARARGS
| METH_KEYWORDS
},
11118 { "delete_wxSingleInstanceChecker", (PyCFunction
) _wrap_delete_wxSingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
},
11119 { "new_wxPreSingleInstanceChecker", (PyCFunction
) _wrap_new_wxPreSingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
},
11120 { "new_wxSingleInstanceChecker", (PyCFunction
) _wrap_new_wxSingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
},
11121 { "wxEffects_TileBitmap", (PyCFunction
) _wrap_wxEffects_TileBitmap
, METH_VARARGS
| METH_KEYWORDS
},
11122 { "wxEffects_DrawSunkenEdge", (PyCFunction
) _wrap_wxEffects_DrawSunkenEdge
, METH_VARARGS
| METH_KEYWORDS
},
11123 { "wxEffects_Set", (PyCFunction
) _wrap_wxEffects_Set
, METH_VARARGS
| METH_KEYWORDS
},
11124 { "wxEffects_SetDarkShadow", (PyCFunction
) _wrap_wxEffects_SetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
},
11125 { "wxEffects_SetMediumShadow", (PyCFunction
) _wrap_wxEffects_SetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
},
11126 { "wxEffects_SetFaceColour", (PyCFunction
) _wrap_wxEffects_SetFaceColour
, METH_VARARGS
| METH_KEYWORDS
},
11127 { "wxEffects_SetLightShadow", (PyCFunction
) _wrap_wxEffects_SetLightShadow
, METH_VARARGS
| METH_KEYWORDS
},
11128 { "wxEffects_SetHighlightColour", (PyCFunction
) _wrap_wxEffects_SetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
},
11129 { "wxEffects_GetDarkShadow", (PyCFunction
) _wrap_wxEffects_GetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
},
11130 { "wxEffects_GetMediumShadow", (PyCFunction
) _wrap_wxEffects_GetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
},
11131 { "wxEffects_GetFaceColour", (PyCFunction
) _wrap_wxEffects_GetFaceColour
, METH_VARARGS
| METH_KEYWORDS
},
11132 { "wxEffects_GetLightShadow", (PyCFunction
) _wrap_wxEffects_GetLightShadow
, METH_VARARGS
| METH_KEYWORDS
},
11133 { "wxEffects_GetHighlightColour", (PyCFunction
) _wrap_wxEffects_GetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
},
11134 { "new_wxEffects", (PyCFunction
) _wrap_new_wxEffects
, METH_VARARGS
| METH_KEYWORDS
},
11135 { "wxFileHistory_GetNoHistoryFiles", (PyCFunction
) _wrap_wxFileHistory_GetNoHistoryFiles
, METH_VARARGS
| METH_KEYWORDS
},
11136 { "wxFileHistory_GetCount", (PyCFunction
) _wrap_wxFileHistory_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
11137 { "wxFileHistory_GetHistoryFile", (PyCFunction
) _wrap_wxFileHistory_GetHistoryFile
, METH_VARARGS
| METH_KEYWORDS
},
11138 { "wxFileHistory_AddFilesToThisMenu", (PyCFunction
) _wrap_wxFileHistory_AddFilesToThisMenu
, METH_VARARGS
| METH_KEYWORDS
},
11139 { "wxFileHistory_AddFilesToMenu", (PyCFunction
) _wrap_wxFileHistory_AddFilesToMenu
, METH_VARARGS
| METH_KEYWORDS
},
11140 { "wxFileHistory_Save", (PyCFunction
) _wrap_wxFileHistory_Save
, METH_VARARGS
| METH_KEYWORDS
},
11141 { "wxFileHistory_Load", (PyCFunction
) _wrap_wxFileHistory_Load
, METH_VARARGS
| METH_KEYWORDS
},
11142 { "wxFileHistory_RemoveMenu", (PyCFunction
) _wrap_wxFileHistory_RemoveMenu
, METH_VARARGS
| METH_KEYWORDS
},
11143 { "wxFileHistory_UseMenu", (PyCFunction
) _wrap_wxFileHistory_UseMenu
, METH_VARARGS
| METH_KEYWORDS
},
11144 { "wxFileHistory_GetMaxFiles", (PyCFunction
) _wrap_wxFileHistory_GetMaxFiles
, METH_VARARGS
| METH_KEYWORDS
},
11145 { "wxFileHistory_RemoveFileFromHistory", (PyCFunction
) _wrap_wxFileHistory_RemoveFileFromHistory
, METH_VARARGS
| METH_KEYWORDS
},
11146 { "wxFileHistory_AddFileToHistory", (PyCFunction
) _wrap_wxFileHistory_AddFileToHistory
, METH_VARARGS
| METH_KEYWORDS
},
11147 { "delete_wxFileHistory", (PyCFunction
) _wrap_delete_wxFileHistory
, METH_VARARGS
| METH_KEYWORDS
},
11148 { "new_wxFileHistory", (PyCFunction
) _wrap_new_wxFileHistory
, METH_VARARGS
| METH_KEYWORDS
},
11149 { "wxArtProvider_GetIcon", (PyCFunction
) _wrap_wxArtProvider_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
11150 { "wxArtProvider_GetBitmap", (PyCFunction
) _wrap_wxArtProvider_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
11151 { "wxArtProvider_RemoveProvider", (PyCFunction
) _wrap_wxArtProvider_RemoveProvider
, METH_VARARGS
| METH_KEYWORDS
},
11152 { "wxArtProvider_PopProvider", (PyCFunction
) _wrap_wxArtProvider_PopProvider
, METH_VARARGS
| METH_KEYWORDS
},
11153 { "wxArtProvider_PushProvider", (PyCFunction
) _wrap_wxArtProvider_PushProvider
, METH_VARARGS
| METH_KEYWORDS
},
11154 { "wxArtProvider__setCallbackInfo", (PyCFunction
) _wrap_wxArtProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
11155 { "new_wxArtProvider", (PyCFunction
) _wrap_new_wxArtProvider
, METH_VARARGS
| METH_KEYWORDS
},
11156 { "delete_wxMimeTypesManager", (PyCFunction
) _wrap_delete_wxMimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
},
11157 { "wxMimeTypesManager_Unassociate", (PyCFunction
) _wrap_wxMimeTypesManager_Unassociate
, METH_VARARGS
| METH_KEYWORDS
},
11158 { "wxMimeTypesManager_Associate", (PyCFunction
) _wrap_wxMimeTypesManager_Associate
, METH_VARARGS
| METH_KEYWORDS
},
11159 { "wxMimeTypesManager_AddFallback", (PyCFunction
) _wrap_wxMimeTypesManager_AddFallback
, METH_VARARGS
| METH_KEYWORDS
},
11160 { "wxMimeTypesManager_EnumAllFileTypes", (PyCFunction
) _wrap_wxMimeTypesManager_EnumAllFileTypes
, METH_VARARGS
| METH_KEYWORDS
},
11161 { "wxMimeTypesManager_ReadMimeTypes", (PyCFunction
) _wrap_wxMimeTypesManager_ReadMimeTypes
, METH_VARARGS
| METH_KEYWORDS
},
11162 { "wxMimeTypesManager_ReadMailcap", (PyCFunction
) _wrap_wxMimeTypesManager_ReadMailcap
, METH_VARARGS
| METH_KEYWORDS
},
11163 { "wxMimeTypesManager_GetFileTypeFromMimeType", (PyCFunction
) _wrap_wxMimeTypesManager_GetFileTypeFromMimeType
, METH_VARARGS
| METH_KEYWORDS
},
11164 { "wxMimeTypesManager_GetFileTypeFromExtension", (PyCFunction
) _wrap_wxMimeTypesManager_GetFileTypeFromExtension
, METH_VARARGS
| METH_KEYWORDS
},
11165 { "wxMimeTypesManager_ClearData", (PyCFunction
) _wrap_wxMimeTypesManager_ClearData
, METH_VARARGS
| METH_KEYWORDS
},
11166 { "wxMimeTypesManager_Initialize", (PyCFunction
) _wrap_wxMimeTypesManager_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
11167 { "new_wxMimeTypesManager", (PyCFunction
) _wrap_new_wxMimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
},
11168 { "wxMimeTypesManager_IsOfType", (PyCFunction
) _wrap_wxMimeTypesManager_IsOfType
, METH_VARARGS
| METH_KEYWORDS
},
11169 { "delete_wxFileType", (PyCFunction
) _wrap_delete_wxFileType
, METH_VARARGS
| METH_KEYWORDS
},
11170 { "wxFileType_ExpandCommand", (PyCFunction
) _wrap_wxFileType_ExpandCommand
, METH_VARARGS
| METH_KEYWORDS
},
11171 { "wxFileType_Unassociate", (PyCFunction
) _wrap_wxFileType_Unassociate
, METH_VARARGS
| METH_KEYWORDS
},
11172 { "wxFileType_SetDefaultIcon", (PyCFunction
) _wrap_wxFileType_SetDefaultIcon
, METH_VARARGS
| METH_KEYWORDS
},
11173 { "wxFileType_SetCommand", (PyCFunction
) _wrap_wxFileType_SetCommand
, METH_VARARGS
| METH_KEYWORDS
},
11174 { "wxFileType_GetAllCommands", (PyCFunction
) _wrap_wxFileType_GetAllCommands
, METH_VARARGS
| METH_KEYWORDS
},
11175 { "wxFileType_GetPrintCommand", (PyCFunction
) _wrap_wxFileType_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
},
11176 { "wxFileType_GetOpenCommand", (PyCFunction
) _wrap_wxFileType_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
},
11177 { "wxFileType_GetDescription", (PyCFunction
) _wrap_wxFileType_GetDescription
, METH_VARARGS
| METH_KEYWORDS
},
11178 { "wxFileType_GetIconInfo", (PyCFunction
) _wrap_wxFileType_GetIconInfo
, METH_VARARGS
| METH_KEYWORDS
},
11179 { "wxFileType_GetIcon", (PyCFunction
) _wrap_wxFileType_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
11180 { "wxFileType_GetExtensions", (PyCFunction
) _wrap_wxFileType_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
},
11181 { "wxFileType_GetMimeTypes", (PyCFunction
) _wrap_wxFileType_GetMimeTypes
, METH_VARARGS
| METH_KEYWORDS
},
11182 { "wxFileType_GetMimeType", (PyCFunction
) _wrap_wxFileType_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
11183 { "new_wxFileType", (PyCFunction
) _wrap_new_wxFileType
, METH_VARARGS
| METH_KEYWORDS
},
11184 { "wxFileTypeInfo_GetIconIndex", (PyCFunction
) _wrap_wxFileTypeInfo_GetIconIndex
, METH_VARARGS
| METH_KEYWORDS
},
11185 { "wxFileTypeInfo_GetIconFile", (PyCFunction
) _wrap_wxFileTypeInfo_GetIconFile
, METH_VARARGS
| METH_KEYWORDS
},
11186 { "wxFileTypeInfo_GetExtensionsCount", (PyCFunction
) _wrap_wxFileTypeInfo_GetExtensionsCount
, METH_VARARGS
| METH_KEYWORDS
},
11187 { "wxFileTypeInfo_GetExtensions", (PyCFunction
) _wrap_wxFileTypeInfo_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
},
11188 { "wxFileTypeInfo_GetDescription", (PyCFunction
) _wrap_wxFileTypeInfo_GetDescription
, METH_VARARGS
| METH_KEYWORDS
},
11189 { "wxFileTypeInfo_GetShortDesc", (PyCFunction
) _wrap_wxFileTypeInfo_GetShortDesc
, METH_VARARGS
| METH_KEYWORDS
},
11190 { "wxFileTypeInfo_GetPrintCommand", (PyCFunction
) _wrap_wxFileTypeInfo_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
},
11191 { "wxFileTypeInfo_GetOpenCommand", (PyCFunction
) _wrap_wxFileTypeInfo_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
},
11192 { "wxFileTypeInfo_GetMimeType", (PyCFunction
) _wrap_wxFileTypeInfo_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
11193 { "wxFileTypeInfo_SetShortDesc", (PyCFunction
) _wrap_wxFileTypeInfo_SetShortDesc
, METH_VARARGS
| METH_KEYWORDS
},
11194 { "wxFileTypeInfo_SetIcon", (PyCFunction
) _wrap_wxFileTypeInfo_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
11195 { "wxFileTypeInfo_IsValid", (PyCFunction
) _wrap_wxFileTypeInfo_IsValid
, METH_VARARGS
| METH_KEYWORDS
},
11196 { "new_wxNullFileTypeInfo", (PyCFunction
) _wrap_new_wxNullFileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
},
11197 { "new_wxFileTypeInfoSequence", (PyCFunction
) _wrap_new_wxFileTypeInfoSequence
, METH_VARARGS
| METH_KEYWORDS
},
11198 { "new_wxFileTypeInfo", (PyCFunction
) _wrap_new_wxFileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
},
11199 { "wxWave_Play", (PyCFunction
) _wrap_wxWave_Play
, METH_VARARGS
| METH_KEYWORDS
},
11200 { "wxWave_IsOk", (PyCFunction
) _wrap_wxWave_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
11201 { "delete_wxWave", (PyCFunction
) _wrap_delete_wxWave
, METH_VARARGS
| METH_KEYWORDS
},
11202 { "new_wxWave", (PyCFunction
) _wrap_new_wxWave
, METH_VARARGS
| METH_KEYWORDS
},
11203 { "wxJoystick_ReleaseCapture", (PyCFunction
) _wrap_wxJoystick_ReleaseCapture
, METH_VARARGS
| METH_KEYWORDS
},
11204 { "wxJoystick_SetCapture", (PyCFunction
) _wrap_wxJoystick_SetCapture
, METH_VARARGS
| METH_KEYWORDS
},
11205 { "wxJoystick_HasPOVCTS", (PyCFunction
) _wrap_wxJoystick_HasPOVCTS
, METH_VARARGS
| METH_KEYWORDS
},
11206 { "wxJoystick_HasPOV4Dir", (PyCFunction
) _wrap_wxJoystick_HasPOV4Dir
, METH_VARARGS
| METH_KEYWORDS
},
11207 { "wxJoystick_HasPOV", (PyCFunction
) _wrap_wxJoystick_HasPOV
, METH_VARARGS
| METH_KEYWORDS
},
11208 { "wxJoystick_HasV", (PyCFunction
) _wrap_wxJoystick_HasV
, METH_VARARGS
| METH_KEYWORDS
},
11209 { "wxJoystick_HasU", (PyCFunction
) _wrap_wxJoystick_HasU
, METH_VARARGS
| METH_KEYWORDS
},
11210 { "wxJoystick_HasZ", (PyCFunction
) _wrap_wxJoystick_HasZ
, METH_VARARGS
| METH_KEYWORDS
},
11211 { "wxJoystick_HasRudder", (PyCFunction
) _wrap_wxJoystick_HasRudder
, METH_VARARGS
| METH_KEYWORDS
},
11212 { "wxJoystick_GetVMax", (PyCFunction
) _wrap_wxJoystick_GetVMax
, METH_VARARGS
| METH_KEYWORDS
},
11213 { "wxJoystick_GetVMin", (PyCFunction
) _wrap_wxJoystick_GetVMin
, METH_VARARGS
| METH_KEYWORDS
},
11214 { "wxJoystick_GetUMax", (PyCFunction
) _wrap_wxJoystick_GetUMax
, METH_VARARGS
| METH_KEYWORDS
},
11215 { "wxJoystick_GetUMin", (PyCFunction
) _wrap_wxJoystick_GetUMin
, METH_VARARGS
| METH_KEYWORDS
},
11216 { "wxJoystick_GetRudderMax", (PyCFunction
) _wrap_wxJoystick_GetRudderMax
, METH_VARARGS
| METH_KEYWORDS
},
11217 { "wxJoystick_GetRudderMin", (PyCFunction
) _wrap_wxJoystick_GetRudderMin
, METH_VARARGS
| METH_KEYWORDS
},
11218 { "wxJoystick_GetPollingMax", (PyCFunction
) _wrap_wxJoystick_GetPollingMax
, METH_VARARGS
| METH_KEYWORDS
},
11219 { "wxJoystick_GetPollingMin", (PyCFunction
) _wrap_wxJoystick_GetPollingMin
, METH_VARARGS
| METH_KEYWORDS
},
11220 { "wxJoystick_GetMaxAxes", (PyCFunction
) _wrap_wxJoystick_GetMaxAxes
, METH_VARARGS
| METH_KEYWORDS
},
11221 { "wxJoystick_GetMaxButtons", (PyCFunction
) _wrap_wxJoystick_GetMaxButtons
, METH_VARARGS
| METH_KEYWORDS
},
11222 { "wxJoystick_GetNumberAxes", (PyCFunction
) _wrap_wxJoystick_GetNumberAxes
, METH_VARARGS
| METH_KEYWORDS
},
11223 { "wxJoystick_GetNumberButtons", (PyCFunction
) _wrap_wxJoystick_GetNumberButtons
, METH_VARARGS
| METH_KEYWORDS
},
11224 { "wxJoystick_GetZMax", (PyCFunction
) _wrap_wxJoystick_GetZMax
, METH_VARARGS
| METH_KEYWORDS
},
11225 { "wxJoystick_GetYMax", (PyCFunction
) _wrap_wxJoystick_GetYMax
, METH_VARARGS
| METH_KEYWORDS
},
11226 { "wxJoystick_GetXMax", (PyCFunction
) _wrap_wxJoystick_GetXMax
, METH_VARARGS
| METH_KEYWORDS
},
11227 { "wxJoystick_GetZMin", (PyCFunction
) _wrap_wxJoystick_GetZMin
, METH_VARARGS
| METH_KEYWORDS
},
11228 { "wxJoystick_GetYMin", (PyCFunction
) _wrap_wxJoystick_GetYMin
, METH_VARARGS
| METH_KEYWORDS
},
11229 { "wxJoystick_GetXMin", (PyCFunction
) _wrap_wxJoystick_GetXMin
, METH_VARARGS
| METH_KEYWORDS
},
11230 { "wxJoystick_GetProductName", (PyCFunction
) _wrap_wxJoystick_GetProductName
, METH_VARARGS
| METH_KEYWORDS
},
11231 { "wxJoystick_GetProductId", (PyCFunction
) _wrap_wxJoystick_GetProductId
, METH_VARARGS
| METH_KEYWORDS
},
11232 { "wxJoystick_GetManufacturerId", (PyCFunction
) _wrap_wxJoystick_GetManufacturerId
, METH_VARARGS
| METH_KEYWORDS
},
11233 { "wxJoystick_GetNumberJoysticks", (PyCFunction
) _wrap_wxJoystick_GetNumberJoysticks
, METH_VARARGS
| METH_KEYWORDS
},
11234 { "wxJoystick_IsOk", (PyCFunction
) _wrap_wxJoystick_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
11235 { "wxJoystick_SetMovementThreshold", (PyCFunction
) _wrap_wxJoystick_SetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
},
11236 { "wxJoystick_GetMovementThreshold", (PyCFunction
) _wrap_wxJoystick_GetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
},
11237 { "wxJoystick_GetVPosition", (PyCFunction
) _wrap_wxJoystick_GetVPosition
, METH_VARARGS
| METH_KEYWORDS
},
11238 { "wxJoystick_GetUPosition", (PyCFunction
) _wrap_wxJoystick_GetUPosition
, METH_VARARGS
| METH_KEYWORDS
},
11239 { "wxJoystick_GetRudderPosition", (PyCFunction
) _wrap_wxJoystick_GetRudderPosition
, METH_VARARGS
| METH_KEYWORDS
},
11240 { "wxJoystick_GetPOVCTSPosition", (PyCFunction
) _wrap_wxJoystick_GetPOVCTSPosition
, METH_VARARGS
| METH_KEYWORDS
},
11241 { "wxJoystick_GetPOVPosition", (PyCFunction
) _wrap_wxJoystick_GetPOVPosition
, METH_VARARGS
| METH_KEYWORDS
},
11242 { "wxJoystick_GetButtonState", (PyCFunction
) _wrap_wxJoystick_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
},
11243 { "wxJoystick_GetZPosition", (PyCFunction
) _wrap_wxJoystick_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
},
11244 { "wxJoystick_GetPosition", (PyCFunction
) _wrap_wxJoystick_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
11245 { "delete_wxJoystick", (PyCFunction
) _wrap_delete_wxJoystick
, METH_VARARGS
| METH_KEYWORDS
},
11246 { "new_wxJoystick", (PyCFunction
) _wrap_new_wxJoystick
, METH_VARARGS
| METH_KEYWORDS
},
11247 { "wxProcess_IsErrorAvailable", (PyCFunction
) _wrap_wxProcess_IsErrorAvailable
, METH_VARARGS
| METH_KEYWORDS
},
11248 { "wxProcess_IsInputAvailable", (PyCFunction
) _wrap_wxProcess_IsInputAvailable
, METH_VARARGS
| METH_KEYWORDS
},
11249 { "wxProcess_IsInputOpened", (PyCFunction
) _wrap_wxProcess_IsInputOpened
, METH_VARARGS
| METH_KEYWORDS
},
11250 { "wxProcess_CloseOutput", (PyCFunction
) _wrap_wxProcess_CloseOutput
, METH_VARARGS
| METH_KEYWORDS
},
11251 { "wxProcess_GetOutputStream", (PyCFunction
) _wrap_wxProcess_GetOutputStream
, METH_VARARGS
| METH_KEYWORDS
},
11252 { "wxProcess_GetErrorStream", (PyCFunction
) _wrap_wxProcess_GetErrorStream
, METH_VARARGS
| METH_KEYWORDS
},
11253 { "wxProcess_GetInputStream", (PyCFunction
) _wrap_wxProcess_GetInputStream
, METH_VARARGS
| METH_KEYWORDS
},
11254 { "wxProcess_Detach", (PyCFunction
) _wrap_wxProcess_Detach
, METH_VARARGS
| METH_KEYWORDS
},
11255 { "wxProcess_IsRedirected", (PyCFunction
) _wrap_wxProcess_IsRedirected
, METH_VARARGS
| METH_KEYWORDS
},
11256 { "wxProcess_Redirect", (PyCFunction
) _wrap_wxProcess_Redirect
, METH_VARARGS
| METH_KEYWORDS
},
11257 { "wxProcess_base_OnTerminate", (PyCFunction
) _wrap_wxProcess_base_OnTerminate
, METH_VARARGS
| METH_KEYWORDS
},
11258 { "wxProcess__setCallbackInfo", (PyCFunction
) _wrap_wxProcess__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
11259 { "wxProcess_Destroy", (PyCFunction
) _wrap_wxProcess_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
11260 { "new_wxProcess", (PyCFunction
) _wrap_new_wxProcess
, METH_VARARGS
| METH_KEYWORDS
},
11261 { "wxProcess_Open", (PyCFunction
) _wrap_wxProcess_Open
, METH_VARARGS
| METH_KEYWORDS
},
11262 { "wxProcess_Exists", (PyCFunction
) _wrap_wxProcess_Exists
, METH_VARARGS
| METH_KEYWORDS
},
11263 { "wxProcess_Kill", (PyCFunction
) _wrap_wxProcess_Kill
, METH_VARARGS
| METH_KEYWORDS
},
11264 { "wxProcessEvent_m_exitcode_get", (PyCFunction
) _wrap_wxProcessEvent_m_exitcode_get
, METH_VARARGS
| METH_KEYWORDS
},
11265 { "wxProcessEvent_m_exitcode_set", (PyCFunction
) _wrap_wxProcessEvent_m_exitcode_set
, METH_VARARGS
| METH_KEYWORDS
},
11266 { "wxProcessEvent_m_pid_get", (PyCFunction
) _wrap_wxProcessEvent_m_pid_get
, METH_VARARGS
| METH_KEYWORDS
},
11267 { "wxProcessEvent_m_pid_set", (PyCFunction
) _wrap_wxProcessEvent_m_pid_set
, METH_VARARGS
| METH_KEYWORDS
},
11268 { "wxProcessEvent_GetExitCode", (PyCFunction
) _wrap_wxProcessEvent_GetExitCode
, METH_VARARGS
| METH_KEYWORDS
},
11269 { "wxProcessEvent_GetPid", (PyCFunction
) _wrap_wxProcessEvent_GetPid
, METH_VARARGS
| METH_KEYWORDS
},
11270 { "new_wxProcessEvent", (PyCFunction
) _wrap_new_wxProcessEvent
, METH_VARARGS
| METH_KEYWORDS
},
11271 { "wxPyLog_Destroy", (PyCFunction
) _wrap_wxPyLog_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
11272 { "wxPyLog__setCallbackInfo", (PyCFunction
) _wrap_wxPyLog__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
11273 { "new_wxPyLog", (PyCFunction
) _wrap_new_wxPyLog
, METH_VARARGS
| METH_KEYWORDS
},
11274 { "delete_wxLogNull", (PyCFunction
) _wrap_delete_wxLogNull
, METH_VARARGS
| METH_KEYWORDS
},
11275 { "new_wxLogNull", (PyCFunction
) _wrap_new_wxLogNull
, METH_VARARGS
| METH_KEYWORDS
},
11276 { "wxLogChain_GetOldLog", (PyCFunction
) _wrap_wxLogChain_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
},
11277 { "wxLogChain_IsPassingMessages", (PyCFunction
) _wrap_wxLogChain_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
},
11278 { "wxLogChain_PassMessages", (PyCFunction
) _wrap_wxLogChain_PassMessages
, METH_VARARGS
| METH_KEYWORDS
},
11279 { "wxLogChain_SetLog", (PyCFunction
) _wrap_wxLogChain_SetLog
, METH_VARARGS
| METH_KEYWORDS
},
11280 { "new_wxLogChain", (PyCFunction
) _wrap_new_wxLogChain
, METH_VARARGS
| METH_KEYWORDS
},
11281 { "wxLogWindow_PassMessages", (PyCFunction
) _wrap_wxLogWindow_PassMessages
, METH_VARARGS
| METH_KEYWORDS
},
11282 { "wxLogWindow_IsPassingMessages", (PyCFunction
) _wrap_wxLogWindow_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
},
11283 { "wxLogWindow_GetOldLog", (PyCFunction
) _wrap_wxLogWindow_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
},
11284 { "wxLogWindow_GetFrame", (PyCFunction
) _wrap_wxLogWindow_GetFrame
, METH_VARARGS
| METH_KEYWORDS
},
11285 { "wxLogWindow_Show", (PyCFunction
) _wrap_wxLogWindow_Show
, METH_VARARGS
| METH_KEYWORDS
},
11286 { "new_wxLogWindow", (PyCFunction
) _wrap_new_wxLogWindow
, METH_VARARGS
| METH_KEYWORDS
},
11287 { "new_wxLogGui", (PyCFunction
) _wrap_new_wxLogGui
, METH_VARARGS
| METH_KEYWORDS
},
11288 { "new_wxLogTextCtrl", (PyCFunction
) _wrap_new_wxLogTextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
11289 { "new_wxLogStderr", (PyCFunction
) _wrap_new_wxLogStderr
, METH_VARARGS
| METH_KEYWORDS
},
11290 { "wxLog_TimeStamp", (PyCFunction
) _wrap_wxLog_TimeStamp
, METH_VARARGS
| METH_KEYWORDS
},
11291 { "wxLog_GetLogLevel", (PyCFunction
) _wrap_wxLog_GetLogLevel
, METH_VARARGS
| METH_KEYWORDS
},
11292 { "wxLog_SetLogLevel", (PyCFunction
) _wrap_wxLog_SetLogLevel
, METH_VARARGS
| METH_KEYWORDS
},
11293 { "wxLog_IsAllowedTraceMask", (PyCFunction
) _wrap_wxLog_IsAllowedTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
11294 { "wxLog_GetTraceMask", (PyCFunction
) _wrap_wxLog_GetTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
11295 { "wxLog_GetVerbose", (PyCFunction
) _wrap_wxLog_GetVerbose
, METH_VARARGS
| METH_KEYWORDS
},
11296 { "wxLog_GetTimestamp", (PyCFunction
) _wrap_wxLog_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
11297 { "wxLog_SetTimestamp", (PyCFunction
) _wrap_wxLog_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
11298 { "wxLog_GetTraceMasks", (PyCFunction
) _wrap_wxLog_GetTraceMasks
, METH_VARARGS
| METH_KEYWORDS
},
11299 { "wxLog_ClearTraceMasks", (PyCFunction
) _wrap_wxLog_ClearTraceMasks
, METH_VARARGS
| METH_KEYWORDS
},
11300 { "wxLog_RemoveTraceMask", (PyCFunction
) _wrap_wxLog_RemoveTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
11301 { "wxLog_AddTraceMask", (PyCFunction
) _wrap_wxLog_AddTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
11302 { "wxLog_SetTraceMask", (PyCFunction
) _wrap_wxLog_SetTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
11303 { "wxLog_DontCreateOnDemand", (PyCFunction
) _wrap_wxLog_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
},
11304 { "wxLog_SetVerbose", (PyCFunction
) _wrap_wxLog_SetVerbose
, METH_VARARGS
| METH_KEYWORDS
},
11305 { "wxLog_Resume", (PyCFunction
) _wrap_wxLog_Resume
, METH_VARARGS
| METH_KEYWORDS
},
11306 { "wxLog_Suspend", (PyCFunction
) _wrap_wxLog_Suspend
, METH_VARARGS
| METH_KEYWORDS
},
11307 { "wxLog_SetActiveTarget", (PyCFunction
) _wrap_wxLog_SetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
},
11308 { "wxLog_GetActiveTarget", (PyCFunction
) _wrap_wxLog_GetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
},
11309 { "wxLog_FlushActive", (PyCFunction
) _wrap_wxLog_FlushActive
, METH_VARARGS
| METH_KEYWORDS
},
11310 { "wxLog_HasPendingMessages", (PyCFunction
) _wrap_wxLog_HasPendingMessages
, METH_VARARGS
| METH_KEYWORDS
},
11311 { "wxLog_Flush", (PyCFunction
) _wrap_wxLog_Flush
, METH_VARARGS
| METH_KEYWORDS
},
11312 { "wxLog_OnLog", (PyCFunction
) _wrap_wxLog_OnLog
, METH_VARARGS
| METH_KEYWORDS
},
11313 { "wxLog_EnableLogging", (PyCFunction
) _wrap_wxLog_EnableLogging
, METH_VARARGS
| METH_KEYWORDS
},
11314 { "wxLog_IsEnabled", (PyCFunction
) _wrap_wxLog_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
11315 { "new_wxLog", (PyCFunction
) _wrap_new_wxLog
, METH_VARARGS
| METH_KEYWORDS
},
11316 { "wxStopWatch_Time", (PyCFunction
) _wrap_wxStopWatch_Time
, METH_VARARGS
| METH_KEYWORDS
},
11317 { "wxStopWatch_Resume", (PyCFunction
) _wrap_wxStopWatch_Resume
, METH_VARARGS
| METH_KEYWORDS
},
11318 { "wxStopWatch_Pause", (PyCFunction
) _wrap_wxStopWatch_Pause
, METH_VARARGS
| METH_KEYWORDS
},
11319 { "wxStopWatch_Start", (PyCFunction
) _wrap_wxStopWatch_Start
, METH_VARARGS
| METH_KEYWORDS
},
11320 { "delete_wxStopWatch", (PyCFunction
) _wrap_delete_wxStopWatch
, METH_VARARGS
| METH_KEYWORDS
},
11321 { "new_wxStopWatch", (PyCFunction
) _wrap_new_wxStopWatch
, METH_VARARGS
| METH_KEYWORDS
},
11322 { "wxPyTimer_Stop", (PyCFunction
) _wrap_wxPyTimer_Stop
, METH_VARARGS
| METH_KEYWORDS
},
11323 { "wxPyTimer_Start", (PyCFunction
) _wrap_wxPyTimer_Start
, METH_VARARGS
| METH_KEYWORDS
},
11324 { "wxPyTimer_SetOwner", (PyCFunction
) _wrap_wxPyTimer_SetOwner
, METH_VARARGS
| METH_KEYWORDS
},
11325 { "wxPyTimer_IsRunning", (PyCFunction
) _wrap_wxPyTimer_IsRunning
, METH_VARARGS
| METH_KEYWORDS
},
11326 { "wxPyTimer_IsOneShot", (PyCFunction
) _wrap_wxPyTimer_IsOneShot
, METH_VARARGS
| METH_KEYWORDS
},
11327 { "wxPyTimer_GetInterval", (PyCFunction
) _wrap_wxPyTimer_GetInterval
, METH_VARARGS
| METH_KEYWORDS
},
11328 { "delete_wxPyTimer", (PyCFunction
) _wrap_delete_wxPyTimer
, METH_VARARGS
| METH_KEYWORDS
},
11329 { "new_wxPyTimer", (PyCFunction
) _wrap_new_wxPyTimer
, METH_VARARGS
| METH_KEYWORDS
},
11330 { "wxDragImage_RedrawImage", (PyCFunction
) _wrap_wxDragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
},
11331 { "wxDragImage_GetImageRect", (PyCFunction
) _wrap_wxDragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
},
11332 { "wxDragImage_Hide", (PyCFunction
) _wrap_wxDragImage_Hide
, METH_VARARGS
| METH_KEYWORDS
},
11333 { "wxDragImage_Show", (PyCFunction
) _wrap_wxDragImage_Show
, METH_VARARGS
| METH_KEYWORDS
},
11334 { "wxDragImage_Move", (PyCFunction
) _wrap_wxDragImage_Move
, METH_VARARGS
| METH_KEYWORDS
},
11335 { "wxDragImage_EndDrag", (PyCFunction
) _wrap_wxDragImage_EndDrag
, METH_VARARGS
| METH_KEYWORDS
},
11336 { "wxDragImage_BeginDragBounded", (PyCFunction
) _wrap_wxDragImage_BeginDragBounded
, METH_VARARGS
| METH_KEYWORDS
},
11337 { "wxDragImage_BeginDrag", (PyCFunction
) _wrap_wxDragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
},
11338 { "wxDragImage_SetBackingBitmap", (PyCFunction
) _wrap_wxDragImage_SetBackingBitmap
, METH_VARARGS
| METH_KEYWORDS
},
11339 { "delete_wxDragImage", (PyCFunction
) _wrap_delete_wxDragImage
, METH_VARARGS
| METH_KEYWORDS
},
11340 { "new_wxDragListItem", (PyCFunction
) _wrap_new_wxDragListItem
, METH_VARARGS
| METH_KEYWORDS
},
11341 { "new_wxDragTreeItem", (PyCFunction
) _wrap_new_wxDragTreeItem
, METH_VARARGS
| METH_KEYWORDS
},
11342 { "new_wxDragString", (PyCFunction
) _wrap_new_wxDragString
, METH_VARARGS
| METH_KEYWORDS
},
11343 { "new_wxDragIcon", (PyCFunction
) _wrap_new_wxDragIcon
, METH_VARARGS
| METH_KEYWORDS
},
11344 { "new_wxDragImage", (PyCFunction
) _wrap_new_wxDragImage
, METH_VARARGS
| METH_KEYWORDS
},
11345 { "wxPyTipProvider__setCallbackInfo", (PyCFunction
) _wrap_wxPyTipProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
11346 { "new_wxPyTipProvider", (PyCFunction
) _wrap_new_wxPyTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
11347 { "wxTipProvider_PreprocessTip", (PyCFunction
) _wrap_wxTipProvider_PreprocessTip
, METH_VARARGS
| METH_KEYWORDS
},
11348 { "wxTipProvider_GetCurrentTip", (PyCFunction
) _wrap_wxTipProvider_GetCurrentTip
, METH_VARARGS
| METH_KEYWORDS
},
11349 { "wxTipProvider_GetTip", (PyCFunction
) _wrap_wxTipProvider_GetTip
, METH_VARARGS
| METH_KEYWORDS
},
11350 { "delete_wxTipProvider", (PyCFunction
) _wrap_delete_wxTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
11351 { "delete_wxMutexGuiLocker", (PyCFunction
) _wrap_delete_wxMutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
},
11352 { "new_wxMutexGuiLocker", (PyCFunction
) _wrap_new_wxMutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
},
11353 { "delete_wxWindowDisabler", (PyCFunction
) _wrap_delete_wxWindowDisabler
, METH_VARARGS
| METH_KEYWORDS
},
11354 { "new_wxWindowDisabler", (PyCFunction
) _wrap_new_wxWindowDisabler
, METH_VARARGS
| METH_KEYWORDS
},
11355 { "delete_wxBusyCursor", (PyCFunction
) _wrap_delete_wxBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
11356 { "new_wxBusyCursor", (PyCFunction
) _wrap_new_wxBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
11357 { "wxCaret_Hide", (PyCFunction
) _wrap_wxCaret_Hide
, METH_VARARGS
| METH_KEYWORDS
},
11358 { "wxCaret_Show", (PyCFunction
) _wrap_wxCaret_Show
, METH_VARARGS
| METH_KEYWORDS
},
11359 { "wxCaret_SetSize", (PyCFunction
) _wrap_wxCaret_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
11360 { "wxCaret_SetSizeWH", (PyCFunction
) _wrap_wxCaret_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
11361 { "wxCaret_Move", (PyCFunction
) _wrap_wxCaret_Move
, METH_VARARGS
| METH_KEYWORDS
},
11362 { "wxCaret_MoveXY", (PyCFunction
) _wrap_wxCaret_MoveXY
, METH_VARARGS
| METH_KEYWORDS
},
11363 { "wxCaret_GetWindow", (PyCFunction
) _wrap_wxCaret_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
11364 { "wxCaret_GetSize", (PyCFunction
) _wrap_wxCaret_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
11365 { "wxCaret_GetSizeTuple", (PyCFunction
) _wrap_wxCaret_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
11366 { "wxCaret_GetPosition", (PyCFunction
) _wrap_wxCaret_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
11367 { "wxCaret_GetPositionTuple", (PyCFunction
) _wrap_wxCaret_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
11368 { "wxCaret_IsVisible", (PyCFunction
) _wrap_wxCaret_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
11369 { "wxCaret_IsOk", (PyCFunction
) _wrap_wxCaret_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
11370 { "delete_wxCaret", (PyCFunction
) _wrap_delete_wxCaret
, METH_VARARGS
| METH_KEYWORDS
},
11371 { "new_wxCaret", (PyCFunction
) _wrap_new_wxCaret
, METH_VARARGS
| METH_KEYWORDS
},
11372 { "wxToolTip_SetDelay", (PyCFunction
) _wrap_wxToolTip_SetDelay
, METH_VARARGS
| METH_KEYWORDS
},
11373 { "wxToolTip_Enable", (PyCFunction
) _wrap_wxToolTip_Enable
, METH_VARARGS
| METH_KEYWORDS
},
11374 { "wxToolTip_GetWindow", (PyCFunction
) _wrap_wxToolTip_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
11375 { "wxToolTip_GetTip", (PyCFunction
) _wrap_wxToolTip_GetTip
, METH_VARARGS
| METH_KEYWORDS
},
11376 { "wxToolTip_SetTip", (PyCFunction
) _wrap_wxToolTip_SetTip
, METH_VARARGS
| METH_KEYWORDS
},
11377 { "new_wxToolTip", (PyCFunction
) _wrap_new_wxToolTip
, METH_VARARGS
| METH_KEYWORDS
},
11378 { "wxSystemSettings_SetScreenType", (PyCFunction
) _wrap_wxSystemSettings_SetScreenType
, METH_VARARGS
| METH_KEYWORDS
},
11379 { "wxSystemSettings_GetScreenType", (PyCFunction
) _wrap_wxSystemSettings_GetScreenType
, METH_VARARGS
| METH_KEYWORDS
},
11380 { "wxSystemSettings_HasFeature", (PyCFunction
) _wrap_wxSystemSettings_HasFeature
, METH_VARARGS
| METH_KEYWORDS
},
11381 { "wxSystemSettings_GetMetric", (PyCFunction
) _wrap_wxSystemSettings_GetMetric
, METH_VARARGS
| METH_KEYWORDS
},
11382 { "wxSystemSettings_GetFont", (PyCFunction
) _wrap_wxSystemSettings_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
11383 { "wxSystemSettings_GetColour", (PyCFunction
) _wrap_wxSystemSettings_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
11384 { "wxWaveData", (PyCFunction
) _wrap_wxWaveData
, METH_VARARGS
| METH_KEYWORDS
},
11385 { "wxExecute", (PyCFunction
) _wrap_wxExecute
, METH_VARARGS
| METH_KEYWORDS
},
11386 { "wxSafeShowMessage", (PyCFunction
) _wrap_wxSafeShowMessage
, METH_VARARGS
| METH_KEYWORDS
},
11387 { "wxLogGeneric", (PyCFunction
) _wrap_wxLogGeneric
, METH_VARARGS
| METH_KEYWORDS
},
11388 { "wxLogTraceMask", (PyCFunction
) _wrap_wxLogTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
11389 { "wxLogTrace", (PyCFunction
) _wrap_wxLogTrace
, METH_VARARGS
| METH_KEYWORDS
},
11390 { "wxLogSysError", (PyCFunction
) _wrap_wxLogSysError
, METH_VARARGS
| METH_KEYWORDS
},
11391 { "wxLogStatusFrame", (PyCFunction
) _wrap_wxLogStatusFrame
, METH_VARARGS
| METH_KEYWORDS
},
11392 { "wxLogStatus", (PyCFunction
) _wrap_wxLogStatus
, METH_VARARGS
| METH_KEYWORDS
},
11393 { "wxLogVerbose", (PyCFunction
) _wrap_wxLogVerbose
, METH_VARARGS
| METH_KEYWORDS
},
11394 { "wxLogDebug", (PyCFunction
) _wrap_wxLogDebug
, METH_VARARGS
| METH_KEYWORDS
},
11395 { "wxLogInfo", (PyCFunction
) _wrap_wxLogInfo
, METH_VARARGS
| METH_KEYWORDS
},
11396 { "wxLogMessage", (PyCFunction
) _wrap_wxLogMessage
, METH_VARARGS
| METH_KEYWORDS
},
11397 { "wxLogWarning", (PyCFunction
) _wrap_wxLogWarning
, METH_VARARGS
| METH_KEYWORDS
},
11398 { "wxLogError", (PyCFunction
) _wrap_wxLogError
, METH_VARARGS
| METH_KEYWORDS
},
11399 { "wxLogFatalError", (PyCFunction
) _wrap_wxLogFatalError
, METH_VARARGS
| METH_KEYWORDS
},
11400 { "wxSysErrorMsg", (PyCFunction
) _wrap_wxSysErrorMsg
, METH_VARARGS
| METH_KEYWORDS
},
11401 { "wxSysErrorCode", (PyCFunction
) _wrap_wxSysErrorCode
, METH_VARARGS
| METH_KEYWORDS
},
11402 { "wxCreateFileTipProvider", (PyCFunction
) _wrap_wxCreateFileTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
11403 { "wxShowTip", (PyCFunction
) _wrap_wxShowTip
, METH_VARARGS
| METH_KEYWORDS
},
11404 { "wxThread_IsMain", (PyCFunction
) _wrap_wxThread_IsMain
, METH_VARARGS
| METH_KEYWORDS
},
11405 { "wxMutexGuiLeave", (PyCFunction
) _wrap_wxMutexGuiLeave
, METH_VARARGS
| METH_KEYWORDS
},
11406 { "wxMutexGuiEnter", (PyCFunction
) _wrap_wxMutexGuiEnter
, METH_VARARGS
| METH_KEYWORDS
},
11407 { "wxWakeUpMainThread", (PyCFunction
) _wrap_wxWakeUpMainThread
, METH_VARARGS
| METH_KEYWORDS
},
11408 { "wxWakeUpIdle", (PyCFunction
) _wrap_wxWakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
},
11409 { "wxPostEvent", (PyCFunction
) _wrap_wxPostEvent
, METH_VARARGS
| METH_KEYWORDS
},
11410 { "wxSafeYield", (PyCFunction
) _wrap_wxSafeYield
, METH_VARARGS
| METH_KEYWORDS
},
11411 { "wxCaret_SetBlinkTime", (PyCFunction
) _wrap_wxCaret_SetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
},
11412 { "wxCaret_GetBlinkTime", (PyCFunction
) _wrap_wxCaret_GetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
},
11413 { "wxGetTopLevelParent", (PyCFunction
) _wrap_wxGetTopLevelParent
, METH_VARARGS
| METH_KEYWORDS
},
11414 { "wxFlushEvents", (PyCFunction
) _wrap_wxFlushEvents
, METH_VARARGS
| METH_KEYWORDS
},
11415 { "wxCheckForInterrupt", (PyCFunction
) _wrap_wxCheckForInterrupt
, METH_VARARGS
| METH_KEYWORDS
},
11416 { "wxFindWindowAtPoint", (PyCFunction
) _wrap_wxFindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
},
11417 { "wxGenericFindWindowAtPoint", (PyCFunction
) _wrap_wxGenericFindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
},
11418 { "wxGetActiveWindow", (PyCFunction
) _wrap_wxGetActiveWindow
, METH_VARARGS
| METH_KEYWORDS
},
11419 { "wxBeginBusyCursor", (PyCFunction
) _wrap_wxBeginBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
11420 { "wxSetCursor", (PyCFunction
) _wrap_wxSetCursor
, METH_VARARGS
| METH_KEYWORDS
},
11421 { "wxGetClientDisplayRect", (PyCFunction
) _wrap_wxGetClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
},
11422 { "wxClientDisplayRect", (PyCFunction
) _wrap_wxClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
},
11423 { "wxGetDisplaySizeMM", (PyCFunction
) _wrap_wxGetDisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
},
11424 { "wxDisplaySizeMM", (PyCFunction
) _wrap_wxDisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
},
11425 { "wxGetDisplaySize", (PyCFunction
) _wrap_wxGetDisplaySize
, METH_VARARGS
| METH_KEYWORDS
},
11426 { "wxDisplaySize", (PyCFunction
) _wrap_wxDisplaySize
, METH_VARARGS
| METH_KEYWORDS
},
11427 { "wxGetDisplayDepth", (PyCFunction
) _wrap_wxGetDisplayDepth
, METH_VARARGS
| METH_KEYWORDS
},
11428 { "wxDisplayDepth", (PyCFunction
) _wrap_wxDisplayDepth
, METH_VARARGS
| METH_KEYWORDS
},
11429 { "wxColourDisplay", (PyCFunction
) _wrap_wxColourDisplay
, METH_VARARGS
| METH_KEYWORDS
},
11430 { "wxGetNumberFromUser", (PyCFunction
) _wrap_wxGetNumberFromUser
, METH_VARARGS
| METH_KEYWORDS
},
11431 { "wxMessageBox", (PyCFunction
) _wrap_wxMessageBox
, METH_VARARGS
| METH_KEYWORDS
},
11432 { "wxGetSingleChoiceIndex", (PyCFunction
) _wrap_wxGetSingleChoiceIndex
, METH_VARARGS
| METH_KEYWORDS
},
11433 { "wxGetSingleChoice", (PyCFunction
) _wrap_wxGetSingleChoice
, METH_VARARGS
| METH_KEYWORDS
},
11434 { "wxGetPasswordFromUser", (PyCFunction
) _wrap_wxGetPasswordFromUser
, METH_VARARGS
| METH_KEYWORDS
},
11435 { "wxGetTextFromUser", (PyCFunction
) _wrap_wxGetTextFromUser
, METH_VARARGS
| METH_KEYWORDS
},
11436 { "wxDirSelector", (PyCFunction
) _wrap_wxDirSelector
, METH_VARARGS
| METH_KEYWORDS
},
11437 { "wxSaveFileSelector", (PyCFunction
) _wrap_wxSaveFileSelector
, METH_VARARGS
| METH_KEYWORDS
},
11438 { "wxLoadFileSelector", (PyCFunction
) _wrap_wxLoadFileSelector
, METH_VARARGS
| METH_KEYWORDS
},
11439 { "wxFileSelector", (PyCFunction
) _wrap_wxFileSelector
, METH_VARARGS
| METH_KEYWORDS
},
11446 * This table is used by the pointer type-checker
11448 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
11449 { "_wxEvent","_wxProcessEvent",SwigwxProcessEventTowxEvent
},
11450 { "_signed_long","_long",0},
11451 { "_wxPrintQuality","_wxCoord",0},
11452 { "_wxPrintQuality","_int",0},
11453 { "_wxPrintQuality","_signed_int",0},
11454 { "_wxPrintQuality","_unsigned_int",0},
11455 { "_wxPrintQuality","_wxWindowID",0},
11456 { "_wxPrintQuality","_uint",0},
11457 { "_wxPrintQuality","_EBool",0},
11458 { "_wxPrintQuality","_size_t",0},
11459 { "_wxPrintQuality","_time_t",0},
11460 { "_wxLog","_wxPyLog",SwigwxPyLogTowxLog
},
11461 { "_wxLog","_wxLogChain",SwigwxLogChainTowxLog
},
11462 { "_wxLog","_wxLogWindow",SwigwxLogWindowTowxLog
},
11463 { "_wxLog","_wxLogGui",SwigwxLogGuiTowxLog
},
11464 { "_wxLog","_wxLogTextCtrl",SwigwxLogTextCtrlTowxLog
},
11465 { "_wxLog","_wxLogStderr",SwigwxLogStderrTowxLog
},
11466 { "_byte","_unsigned_char",0},
11467 { "_long","_unsigned_long",0},
11468 { "_long","_signed_long",0},
11469 { "_size_t","_wxCoord",0},
11470 { "_size_t","_wxPrintQuality",0},
11471 { "_size_t","_time_t",0},
11472 { "_size_t","_unsigned_int",0},
11473 { "_size_t","_int",0},
11474 { "_size_t","_wxWindowID",0},
11475 { "_size_t","_uint",0},
11476 { "_uint","_wxCoord",0},
11477 { "_uint","_wxPrintQuality",0},
11478 { "_uint","_time_t",0},
11479 { "_uint","_size_t",0},
11480 { "_uint","_unsigned_int",0},
11481 { "_uint","_int",0},
11482 { "_uint","_wxWindowID",0},
11483 { "_wxChar","_char",0},
11484 { "_char","_wxChar",0},
11485 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
11486 { "_EBool","_wxCoord",0},
11487 { "_EBool","_wxPrintQuality",0},
11488 { "_EBool","_signed_int",0},
11489 { "_EBool","_int",0},
11490 { "_EBool","_wxWindowID",0},
11491 { "_unsigned_long","_long",0},
11492 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
11493 { "_signed_int","_wxCoord",0},
11494 { "_signed_int","_wxPrintQuality",0},
11495 { "_signed_int","_EBool",0},
11496 { "_signed_int","_wxWindowID",0},
11497 { "_signed_int","_int",0},
11498 { "_WXTYPE","_wxDateTime_t",0},
11499 { "_WXTYPE","_short",0},
11500 { "_WXTYPE","_signed_short",0},
11501 { "_WXTYPE","_unsigned_short",0},
11502 { "_wxTipProvider","_wxPyTipProvider",SwigwxPyTipProviderTowxTipProvider
},
11503 { "_unsigned_short","_wxDateTime_t",0},
11504 { "_unsigned_short","_WXTYPE",0},
11505 { "_unsigned_short","_short",0},
11506 { "_wxObject","_wxEffects",SwigwxEffectsTowxObject
},
11507 { "_wxObject","_wxFileHistory",SwigwxFileHistoryTowxObject
},
11508 { "_wxObject","_wxPyArtProvider",SwigwxPyArtProviderTowxObject
},
11509 { "_wxObject","_wxWave",SwigwxWaveTowxObject
},
11510 { "_wxObject","_wxJoystick",SwigwxJoystickTowxObject
},
11511 { "_wxObject","_wxPyProcess",SwigwxPyProcessTowxObject
},
11512 { "_wxObject","_wxProcessEvent",SwigwxProcessEventTowxObject
},
11513 { "_wxObject","_wxPyTimer",SwigwxPyTimerTowxObject
},
11514 { "_wxObject","_wxGenericDragImage",SwigwxGenericDragImageTowxObject
},
11515 { "_wxObject","_wxToolTip",SwigwxToolTipTowxObject
},
11516 { "_signed_short","_WXTYPE",0},
11517 { "_signed_short","_short",0},
11518 { "_unsigned_char","_byte",0},
11519 { "_unsigned_int","_wxCoord",0},
11520 { "_unsigned_int","_wxPrintQuality",0},
11521 { "_unsigned_int","_time_t",0},
11522 { "_unsigned_int","_size_t",0},
11523 { "_unsigned_int","_uint",0},
11524 { "_unsigned_int","_wxWindowID",0},
11525 { "_unsigned_int","_int",0},
11526 { "_short","_wxDateTime_t",0},
11527 { "_short","_WXTYPE",0},
11528 { "_short","_unsigned_short",0},
11529 { "_short","_signed_short",0},
11530 { "_wxWindowID","_wxCoord",0},
11531 { "_wxWindowID","_wxPrintQuality",0},
11532 { "_wxWindowID","_time_t",0},
11533 { "_wxWindowID","_size_t",0},
11534 { "_wxWindowID","_EBool",0},
11535 { "_wxWindowID","_uint",0},
11536 { "_wxWindowID","_int",0},
11537 { "_wxWindowID","_signed_int",0},
11538 { "_wxWindowID","_unsigned_int",0},
11539 { "_int","_wxCoord",0},
11540 { "_int","_wxPrintQuality",0},
11541 { "_int","_time_t",0},
11542 { "_int","_size_t",0},
11543 { "_int","_EBool",0},
11544 { "_int","_uint",0},
11545 { "_int","_wxWindowID",0},
11546 { "_int","_unsigned_int",0},
11547 { "_int","_signed_int",0},
11548 { "_wxDateTime_t","_unsigned_short",0},
11549 { "_wxDateTime_t","_short",0},
11550 { "_wxDateTime_t","_WXTYPE",0},
11551 { "_time_t","_wxCoord",0},
11552 { "_time_t","_wxPrintQuality",0},
11553 { "_time_t","_unsigned_int",0},
11554 { "_time_t","_int",0},
11555 { "_time_t","_wxWindowID",0},
11556 { "_time_t","_uint",0},
11557 { "_time_t","_size_t",0},
11558 { "_wxCoord","_int",0},
11559 { "_wxCoord","_signed_int",0},
11560 { "_wxCoord","_unsigned_int",0},
11561 { "_wxCoord","_wxWindowID",0},
11562 { "_wxCoord","_uint",0},
11563 { "_wxCoord","_EBool",0},
11564 { "_wxCoord","_size_t",0},
11565 { "_wxCoord","_time_t",0},
11566 { "_wxCoord","_wxPrintQuality",0},
11567 { "_wxEvtHandler","_wxPyProcess",SwigwxPyProcessTowxEvtHandler
},
11570 static PyObject
*SWIG_globals
;
11574 SWIGEXPORT(void) initmisc2c() {
11576 SWIG_globals
= SWIG_newvarlink();
11577 m
= Py_InitModule("misc2c", misc2cMethods
);
11578 d
= PyModule_GetDict(m
);
11579 PyDict_SetItemString(d
,"wxSYS_OEM_FIXED_FONT", PyInt_FromLong((long) wxSYS_OEM_FIXED_FONT
));
11580 PyDict_SetItemString(d
,"wxSYS_ANSI_FIXED_FONT", PyInt_FromLong((long) wxSYS_ANSI_FIXED_FONT
));
11581 PyDict_SetItemString(d
,"wxSYS_ANSI_VAR_FONT", PyInt_FromLong((long) wxSYS_ANSI_VAR_FONT
));
11582 PyDict_SetItemString(d
,"wxSYS_SYSTEM_FONT", PyInt_FromLong((long) wxSYS_SYSTEM_FONT
));
11583 PyDict_SetItemString(d
,"wxSYS_DEVICE_DEFAULT_FONT", PyInt_FromLong((long) wxSYS_DEVICE_DEFAULT_FONT
));
11584 PyDict_SetItemString(d
,"wxSYS_DEFAULT_PALETTE", PyInt_FromLong((long) wxSYS_DEFAULT_PALETTE
));
11585 PyDict_SetItemString(d
,"wxSYS_SYSTEM_FIXED_FONT", PyInt_FromLong((long) wxSYS_SYSTEM_FIXED_FONT
));
11586 PyDict_SetItemString(d
,"wxSYS_DEFAULT_GUI_FONT", PyInt_FromLong((long) wxSYS_DEFAULT_GUI_FONT
));
11587 PyDict_SetItemString(d
,"wxSYS_COLOUR_SCROLLBAR", PyInt_FromLong((long) wxSYS_COLOUR_SCROLLBAR
));
11588 PyDict_SetItemString(d
,"wxSYS_COLOUR_BACKGROUND", PyInt_FromLong((long) wxSYS_COLOUR_BACKGROUND
));
11589 PyDict_SetItemString(d
,"wxSYS_COLOUR_DESKTOP", PyInt_FromLong((long) wxSYS_COLOUR_DESKTOP
));
11590 PyDict_SetItemString(d
,"wxSYS_COLOUR_ACTIVECAPTION", PyInt_FromLong((long) wxSYS_COLOUR_ACTIVECAPTION
));
11591 PyDict_SetItemString(d
,"wxSYS_COLOUR_INACTIVECAPTION", PyInt_FromLong((long) wxSYS_COLOUR_INACTIVECAPTION
));
11592 PyDict_SetItemString(d
,"wxSYS_COLOUR_MENU", PyInt_FromLong((long) wxSYS_COLOUR_MENU
));
11593 PyDict_SetItemString(d
,"wxSYS_COLOUR_WINDOW", PyInt_FromLong((long) wxSYS_COLOUR_WINDOW
));
11594 PyDict_SetItemString(d
,"wxSYS_COLOUR_WINDOWFRAME", PyInt_FromLong((long) wxSYS_COLOUR_WINDOWFRAME
));
11595 PyDict_SetItemString(d
,"wxSYS_COLOUR_MENUTEXT", PyInt_FromLong((long) wxSYS_COLOUR_MENUTEXT
));
11596 PyDict_SetItemString(d
,"wxSYS_COLOUR_WINDOWTEXT", PyInt_FromLong((long) wxSYS_COLOUR_WINDOWTEXT
));
11597 PyDict_SetItemString(d
,"wxSYS_COLOUR_CAPTIONTEXT", PyInt_FromLong((long) wxSYS_COLOUR_CAPTIONTEXT
));
11598 PyDict_SetItemString(d
,"wxSYS_COLOUR_ACTIVEBORDER", PyInt_FromLong((long) wxSYS_COLOUR_ACTIVEBORDER
));
11599 PyDict_SetItemString(d
,"wxSYS_COLOUR_INACTIVEBORDER", PyInt_FromLong((long) wxSYS_COLOUR_INACTIVEBORDER
));
11600 PyDict_SetItemString(d
,"wxSYS_COLOUR_APPWORKSPACE", PyInt_FromLong((long) wxSYS_COLOUR_APPWORKSPACE
));
11601 PyDict_SetItemString(d
,"wxSYS_COLOUR_HIGHLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_HIGHLIGHT
));
11602 PyDict_SetItemString(d
,"wxSYS_COLOUR_HIGHLIGHTTEXT", PyInt_FromLong((long) wxSYS_COLOUR_HIGHLIGHTTEXT
));
11603 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNFACE", PyInt_FromLong((long) wxSYS_COLOUR_BTNFACE
));
11604 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DFACE", PyInt_FromLong((long) wxSYS_COLOUR_3DFACE
));
11605 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNSHADOW", PyInt_FromLong((long) wxSYS_COLOUR_BTNSHADOW
));
11606 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DSHADOW", PyInt_FromLong((long) wxSYS_COLOUR_3DSHADOW
));
11607 PyDict_SetItemString(d
,"wxSYS_COLOUR_GRAYTEXT", PyInt_FromLong((long) wxSYS_COLOUR_GRAYTEXT
));
11608 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNTEXT", PyInt_FromLong((long) wxSYS_COLOUR_BTNTEXT
));
11609 PyDict_SetItemString(d
,"wxSYS_COLOUR_INACTIVECAPTIONTEXT", PyInt_FromLong((long) wxSYS_COLOUR_INACTIVECAPTIONTEXT
));
11610 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNHIGHLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_BTNHIGHLIGHT
));
11611 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNHILIGHT", PyInt_FromLong((long) wxSYS_COLOUR_BTNHILIGHT
));
11612 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DHIGHLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_3DHIGHLIGHT
));
11613 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DHILIGHT", PyInt_FromLong((long) wxSYS_COLOUR_3DHILIGHT
));
11614 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DDKSHADOW", PyInt_FromLong((long) wxSYS_COLOUR_3DDKSHADOW
));
11615 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_3DLIGHT
));
11616 PyDict_SetItemString(d
,"wxSYS_COLOUR_INFOTEXT", PyInt_FromLong((long) wxSYS_COLOUR_INFOTEXT
));
11617 PyDict_SetItemString(d
,"wxSYS_COLOUR_INFOBK", PyInt_FromLong((long) wxSYS_COLOUR_INFOBK
));
11618 PyDict_SetItemString(d
,"wxSYS_COLOUR_LISTBOX", PyInt_FromLong((long) wxSYS_COLOUR_LISTBOX
));
11619 PyDict_SetItemString(d
,"wxSYS_COLOUR_HOTLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_HOTLIGHT
));
11620 PyDict_SetItemString(d
,"wxSYS_COLOUR_GRADIENTACTIVECAPTION", PyInt_FromLong((long) wxSYS_COLOUR_GRADIENTACTIVECAPTION
));
11621 PyDict_SetItemString(d
,"wxSYS_COLOUR_GRADIENTINACTIVECAPTION", PyInt_FromLong((long) wxSYS_COLOUR_GRADIENTINACTIVECAPTION
));
11622 PyDict_SetItemString(d
,"wxSYS_COLOUR_MENUHILIGHT", PyInt_FromLong((long) wxSYS_COLOUR_MENUHILIGHT
));
11623 PyDict_SetItemString(d
,"wxSYS_COLOUR_MENUBAR", PyInt_FromLong((long) wxSYS_COLOUR_MENUBAR
));
11624 PyDict_SetItemString(d
,"wxSYS_COLOUR_MAX", PyInt_FromLong((long) wxSYS_COLOUR_MAX
));
11625 PyDict_SetItemString(d
,"wxSYS_MOUSE_BUTTONS", PyInt_FromLong((long) wxSYS_MOUSE_BUTTONS
));
11626 PyDict_SetItemString(d
,"wxSYS_BORDER_X", PyInt_FromLong((long) wxSYS_BORDER_X
));
11627 PyDict_SetItemString(d
,"wxSYS_BORDER_Y", PyInt_FromLong((long) wxSYS_BORDER_Y
));
11628 PyDict_SetItemString(d
,"wxSYS_CURSOR_X", PyInt_FromLong((long) wxSYS_CURSOR_X
));
11629 PyDict_SetItemString(d
,"wxSYS_CURSOR_Y", PyInt_FromLong((long) wxSYS_CURSOR_Y
));
11630 PyDict_SetItemString(d
,"wxSYS_DCLICK_X", PyInt_FromLong((long) wxSYS_DCLICK_X
));
11631 PyDict_SetItemString(d
,"wxSYS_DCLICK_Y", PyInt_FromLong((long) wxSYS_DCLICK_Y
));
11632 PyDict_SetItemString(d
,"wxSYS_DRAG_X", PyInt_FromLong((long) wxSYS_DRAG_X
));
11633 PyDict_SetItemString(d
,"wxSYS_DRAG_Y", PyInt_FromLong((long) wxSYS_DRAG_Y
));
11634 PyDict_SetItemString(d
,"wxSYS_EDGE_X", PyInt_FromLong((long) wxSYS_EDGE_X
));
11635 PyDict_SetItemString(d
,"wxSYS_EDGE_Y", PyInt_FromLong((long) wxSYS_EDGE_Y
));
11636 PyDict_SetItemString(d
,"wxSYS_HSCROLL_ARROW_X", PyInt_FromLong((long) wxSYS_HSCROLL_ARROW_X
));
11637 PyDict_SetItemString(d
,"wxSYS_HSCROLL_ARROW_Y", PyInt_FromLong((long) wxSYS_HSCROLL_ARROW_Y
));
11638 PyDict_SetItemString(d
,"wxSYS_HTHUMB_X", PyInt_FromLong((long) wxSYS_HTHUMB_X
));
11639 PyDict_SetItemString(d
,"wxSYS_ICON_X", PyInt_FromLong((long) wxSYS_ICON_X
));
11640 PyDict_SetItemString(d
,"wxSYS_ICON_Y", PyInt_FromLong((long) wxSYS_ICON_Y
));
11641 PyDict_SetItemString(d
,"wxSYS_ICONSPACING_X", PyInt_FromLong((long) wxSYS_ICONSPACING_X
));
11642 PyDict_SetItemString(d
,"wxSYS_ICONSPACING_Y", PyInt_FromLong((long) wxSYS_ICONSPACING_Y
));
11643 PyDict_SetItemString(d
,"wxSYS_WINDOWMIN_X", PyInt_FromLong((long) wxSYS_WINDOWMIN_X
));
11644 PyDict_SetItemString(d
,"wxSYS_WINDOWMIN_Y", PyInt_FromLong((long) wxSYS_WINDOWMIN_Y
));
11645 PyDict_SetItemString(d
,"wxSYS_SCREEN_X", PyInt_FromLong((long) wxSYS_SCREEN_X
));
11646 PyDict_SetItemString(d
,"wxSYS_SCREEN_Y", PyInt_FromLong((long) wxSYS_SCREEN_Y
));
11647 PyDict_SetItemString(d
,"wxSYS_FRAMESIZE_X", PyInt_FromLong((long) wxSYS_FRAMESIZE_X
));
11648 PyDict_SetItemString(d
,"wxSYS_FRAMESIZE_Y", PyInt_FromLong((long) wxSYS_FRAMESIZE_Y
));
11649 PyDict_SetItemString(d
,"wxSYS_SMALLICON_X", PyInt_FromLong((long) wxSYS_SMALLICON_X
));
11650 PyDict_SetItemString(d
,"wxSYS_SMALLICON_Y", PyInt_FromLong((long) wxSYS_SMALLICON_Y
));
11651 PyDict_SetItemString(d
,"wxSYS_HSCROLL_Y", PyInt_FromLong((long) wxSYS_HSCROLL_Y
));
11652 PyDict_SetItemString(d
,"wxSYS_VSCROLL_X", PyInt_FromLong((long) wxSYS_VSCROLL_X
));
11653 PyDict_SetItemString(d
,"wxSYS_VSCROLL_ARROW_X", PyInt_FromLong((long) wxSYS_VSCROLL_ARROW_X
));
11654 PyDict_SetItemString(d
,"wxSYS_VSCROLL_ARROW_Y", PyInt_FromLong((long) wxSYS_VSCROLL_ARROW_Y
));
11655 PyDict_SetItemString(d
,"wxSYS_VTHUMB_Y", PyInt_FromLong((long) wxSYS_VTHUMB_Y
));
11656 PyDict_SetItemString(d
,"wxSYS_CAPTION_Y", PyInt_FromLong((long) wxSYS_CAPTION_Y
));
11657 PyDict_SetItemString(d
,"wxSYS_MENU_Y", PyInt_FromLong((long) wxSYS_MENU_Y
));
11658 PyDict_SetItemString(d
,"wxSYS_NETWORK_PRESENT", PyInt_FromLong((long) wxSYS_NETWORK_PRESENT
));
11659 PyDict_SetItemString(d
,"wxSYS_PENWINDOWS_PRESENT", PyInt_FromLong((long) wxSYS_PENWINDOWS_PRESENT
));
11660 PyDict_SetItemString(d
,"wxSYS_SHOW_SOUNDS", PyInt_FromLong((long) wxSYS_SHOW_SOUNDS
));
11661 PyDict_SetItemString(d
,"wxSYS_SWAP_BUTTONS", PyInt_FromLong((long) wxSYS_SWAP_BUTTONS
));
11662 PyDict_SetItemString(d
,"wxSYS_CAN_DRAW_FRAME_DECORATIONS", PyInt_FromLong((long) wxSYS_CAN_DRAW_FRAME_DECORATIONS
));
11663 PyDict_SetItemString(d
,"wxSYS_CAN_ICONIZE_FRAME", PyInt_FromLong((long) wxSYS_CAN_ICONIZE_FRAME
));
11664 PyDict_SetItemString(d
,"wxSYS_SCREEN_NONE", PyInt_FromLong((long) wxSYS_SCREEN_NONE
));
11665 PyDict_SetItemString(d
,"wxSYS_SCREEN_TINY", PyInt_FromLong((long) wxSYS_SCREEN_TINY
));
11666 PyDict_SetItemString(d
,"wxSYS_SCREEN_PDA", PyInt_FromLong((long) wxSYS_SCREEN_PDA
));
11667 PyDict_SetItemString(d
,"wxSYS_SCREEN_SMALL", PyInt_FromLong((long) wxSYS_SCREEN_SMALL
));
11668 PyDict_SetItemString(d
,"wxSYS_SCREEN_DESKTOP", PyInt_FromLong((long) wxSYS_SCREEN_DESKTOP
));
11669 PyDict_SetItemString(d
,"wxLOG_FatalError", PyInt_FromLong((long) wxLOG_FatalError
));
11670 PyDict_SetItemString(d
,"wxLOG_Error", PyInt_FromLong((long) wxLOG_Error
));
11671 PyDict_SetItemString(d
,"wxLOG_Warning", PyInt_FromLong((long) wxLOG_Warning
));
11672 PyDict_SetItemString(d
,"wxLOG_Message", PyInt_FromLong((long) wxLOG_Message
));
11673 PyDict_SetItemString(d
,"wxLOG_Info", PyInt_FromLong((long) wxLOG_Info
));
11674 PyDict_SetItemString(d
,"wxLOG_Status", PyInt_FromLong((long) wxLOG_Status
));
11675 PyDict_SetItemString(d
,"wxLOG_Debug", PyInt_FromLong((long) wxLOG_Debug
));
11676 PyDict_SetItemString(d
,"wxLOG_Trace", PyInt_FromLong((long) wxLOG_Trace
));
11677 PyDict_SetItemString(d
,"wxLOG_Progress", PyInt_FromLong((long) wxLOG_Progress
));
11678 PyDict_SetItemString(d
,"wxLOG_User", PyInt_FromLong((long) wxLOG_User
));
11679 PyDict_SetItemString(d
,"wxTRACE_MemAlloc", PyString_FromString("memalloc"));
11680 PyDict_SetItemString(d
,"wxTRACE_Messages", PyString_FromString("messages"));
11681 PyDict_SetItemString(d
,"wxTRACE_ResAlloc", PyString_FromString("resalloc"));
11682 PyDict_SetItemString(d
,"wxTRACE_RefCount", PyString_FromString("refcount"));
11683 PyDict_SetItemString(d
,"wxTRACE_OleCalls", PyString_FromString("ole"));
11684 PyDict_SetItemString(d
,"wxTraceMemAlloc", PyInt_FromLong((long) wxTraceMemAlloc
));
11685 PyDict_SetItemString(d
,"wxTraceMessages", PyInt_FromLong((long) wxTraceMessages
));
11686 PyDict_SetItemString(d
,"wxTraceResAlloc", PyInt_FromLong((long) wxTraceResAlloc
));
11687 PyDict_SetItemString(d
,"wxTraceRefCount", PyInt_FromLong((long) wxTraceRefCount
));
11688 PyDict_SetItemString(d
,"wxTraceOleCalls", PyInt_FromLong((long) wxTraceOleCalls
));
11689 PyDict_SetItemString(d
,"wxKILL_OK", PyInt_FromLong((long) wxKILL_OK
));
11690 PyDict_SetItemString(d
,"wxKILL_BAD_SIGNAL", PyInt_FromLong((long) wxKILL_BAD_SIGNAL
));
11691 PyDict_SetItemString(d
,"wxKILL_ACCESS_DENIED", PyInt_FromLong((long) wxKILL_ACCESS_DENIED
));
11692 PyDict_SetItemString(d
,"wxKILL_NO_PROCESS", PyInt_FromLong((long) wxKILL_NO_PROCESS
));
11693 PyDict_SetItemString(d
,"wxKILL_ERROR", PyInt_FromLong((long) wxKILL_ERROR
));
11694 PyDict_SetItemString(d
,"wxSIGNONE", PyInt_FromLong((long) wxSIGNONE
));
11695 PyDict_SetItemString(d
,"wxSIGHUP", PyInt_FromLong((long) wxSIGHUP
));
11696 PyDict_SetItemString(d
,"wxSIGINT", PyInt_FromLong((long) wxSIGINT
));
11697 PyDict_SetItemString(d
,"wxSIGQUIT", PyInt_FromLong((long) wxSIGQUIT
));
11698 PyDict_SetItemString(d
,"wxSIGILL", PyInt_FromLong((long) wxSIGILL
));
11699 PyDict_SetItemString(d
,"wxSIGTRAP", PyInt_FromLong((long) wxSIGTRAP
));
11700 PyDict_SetItemString(d
,"wxSIGABRT", PyInt_FromLong((long) wxSIGABRT
));
11701 PyDict_SetItemString(d
,"wxSIGIOT", PyInt_FromLong((long) wxSIGIOT
));
11702 PyDict_SetItemString(d
,"wxSIGEMT", PyInt_FromLong((long) wxSIGEMT
));
11703 PyDict_SetItemString(d
,"wxSIGFPE", PyInt_FromLong((long) wxSIGFPE
));
11704 PyDict_SetItemString(d
,"wxSIGKILL", PyInt_FromLong((long) wxSIGKILL
));
11705 PyDict_SetItemString(d
,"wxSIGBUS", PyInt_FromLong((long) wxSIGBUS
));
11706 PyDict_SetItemString(d
,"wxSIGSEGV", PyInt_FromLong((long) wxSIGSEGV
));
11707 PyDict_SetItemString(d
,"wxSIGSYS", PyInt_FromLong((long) wxSIGSYS
));
11708 PyDict_SetItemString(d
,"wxSIGPIPE", PyInt_FromLong((long) wxSIGPIPE
));
11709 PyDict_SetItemString(d
,"wxSIGALRM", PyInt_FromLong((long) wxSIGALRM
));
11710 PyDict_SetItemString(d
,"wxSIGTERM", PyInt_FromLong((long) wxSIGTERM
));
11711 PyDict_SetItemString(d
,"wxEVT_END_PROCESS", PyInt_FromLong((long) wxEVT_END_PROCESS
));
11712 PyDict_SetItemString(d
,"wxEXEC_ASYNC", PyInt_FromLong((long) wxEXEC_ASYNC
));
11713 PyDict_SetItemString(d
,"wxEXEC_SYNC", PyInt_FromLong((long) wxEXEC_SYNC
));
11714 PyDict_SetItemString(d
,"wxEXEC_NOHIDE", PyInt_FromLong((long) wxEXEC_NOHIDE
));
11715 PyDict_SetItemString(d
,"wxEXEC_MAKE_GROUP_LEADER", PyInt_FromLong((long) wxEXEC_MAKE_GROUP_LEADER
));
11716 PyDict_SetItemString(d
,"wxJOYSTICK1", PyInt_FromLong((long) wxJOYSTICK1
));
11717 PyDict_SetItemString(d
,"wxJOYSTICK2", PyInt_FromLong((long) wxJOYSTICK2
));
11718 PyDict_SetItemString(d
,"wxJOY_BUTTON_ANY", PyInt_FromLong((long) wxJOY_BUTTON_ANY
));
11719 PyDict_SetItemString(d
,"wxJOY_BUTTON1", PyInt_FromLong((long) wxJOY_BUTTON1
));
11720 PyDict_SetItemString(d
,"wxJOY_BUTTON2", PyInt_FromLong((long) wxJOY_BUTTON2
));
11721 PyDict_SetItemString(d
,"wxJOY_BUTTON3", PyInt_FromLong((long) wxJOY_BUTTON3
));
11722 PyDict_SetItemString(d
,"wxJOY_BUTTON4", PyInt_FromLong((long) wxJOY_BUTTON4
));
11723 PyDict_SetItemString(d
,"wxMAILCAP_STANDARD", PyInt_FromLong((long) wxMAILCAP_STANDARD
));
11724 PyDict_SetItemString(d
,"wxMAILCAP_NETSCAPE", PyInt_FromLong((long) wxMAILCAP_NETSCAPE
));
11725 PyDict_SetItemString(d
,"wxMAILCAP_KDE", PyInt_FromLong((long) wxMAILCAP_KDE
));
11726 PyDict_SetItemString(d
,"wxMAILCAP_GNOME", PyInt_FromLong((long) wxMAILCAP_GNOME
));
11727 PyDict_SetItemString(d
,"wxMAILCAP_ALL", PyInt_FromLong((long) wxMAILCAP_ALL
));
11728 PyDict_SetItemString(d
,"cvar", SWIG_globals
);
11729 SWIG_addvarlink(SWIG_globals
,"wxTheMimeTypesManager",_wrap_wxTheMimeTypesManager_get
, _wrap_wxTheMimeTypesManager_set
);
11731 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
11732 wxPyPtrTypeMap_Add("wxProcess", "wxPyProcess");
11733 wxPyPtrTypeMap_Add("wxArtProvider", "wxPyArtProvider");
11737 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
11738 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);