2 * FILE : src/gtk/misc2.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
26 /* Definitions for Windows/Unix exporting */
27 #if defined(__WIN32__)
28 # if defined(_MSC_VER)
29 # define SWIGEXPORT(a) __declspec(dllexport) a
31 # if defined(__BORLANDC__)
32 # define SWIGEXPORT(a) a _export
34 # define SWIGEXPORT(a) a
38 # define SWIGEXPORT(a) a
44 extern void SWIG_MakePtr(char *, void *, char *);
45 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
46 extern char *SWIG_GetPtr(char *, void **, char *);
47 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
48 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
49 extern PyObject
*SWIG_newvarlink(void);
53 #define SWIG_init initmisc2c
55 #define SWIG_name "misc2c"
58 #include "pyistream.h"
59 #include <wx/resource.h>
60 #include <wx/tooltip.h>
62 #include <wx/tipdlg.h>
63 #include <wx/process.h>
65 #if wxUSE_JOYSTICK || defined(__WXMSW__)
66 #include <wx/joystick.h>
69 #if wxUSE_WAVE || defined(__WXMSW__)
73 #include <wx/mimetype.h>
74 #include <wx/snglinst.h>
75 #include <wx/effects.h>
76 //#include <wx/spawnbrowser.h>
79 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
85 } else if (target
== Py_None
) {
89 if (!PyTuple_Check(target
)) {
91 target
= PyTuple_New(1);
92 PyTuple_SetItem(target
, 0, o2
);
95 PyTuple_SetItem(o3
, 0, o
);
98 target
= PySequence_Concat(o2
, o3
);
105 // Put some wx default wxChar* values into wxStrings.
106 DECLARE_DEF_STRING(FileSelectorPromptStr
);
107 DECLARE_DEF_STRING(FileSelectorDefaultWildcardStr
);
108 DECLARE_DEF_STRING(DirSelectorPromptStr
);
109 static const wxString
wxPyEmptyString(wxT(""));
111 int wxCaret_GetBlinkTime() {
112 return wxCaret::GetBlinkTime();
115 void wxCaret_SetBlinkTime(int milliseconds
) {
116 wxCaret::SetBlinkTime(milliseconds
);
119 bool wxThread_IsMain() {
120 #ifdef WXP_WITH_THREAD
121 return wxThread::IsMain();
127 class wxPyTipProvider
: public wxTipProvider
{
129 wxPyTipProvider(size_t currentTip
)
130 : wxTipProvider(currentTip
) {}
132 DEC_PYCALLBACK_STRING__pure(GetTip
);
133 DEC_PYCALLBACK_STRING_STRING(PreprocessTip
);
137 IMP_PYCALLBACK_STRING__pure( wxPyTipProvider
, wxTipProvider
, GetTip
);
138 IMP_PYCALLBACK_STRING_STRING(wxPyTipProvider
, wxTipProvider
, PreprocessTip
);
140 #include <wx/generic/dragimgg.h>
142 // A wxLog class that can be derived from in wxPython
143 class wxPyLog
: public wxLog
{
145 wxPyLog() : wxLog() {}
147 virtual void DoLog(wxLogLevel level
, const wxChar
*szString
, time_t t
) {
149 wxPyBeginBlockThreads();
150 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLog"))) {
151 PyObject
* s
= wx2PyString(szString
);
152 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iOi)", level
, s
, t
));
155 wxPyEndBlockThreads();
157 wxLog::DoLog(level
, szString
, t
);
160 virtual void DoLogString(const wxChar
*szString
, time_t t
) {
162 wxPyBeginBlockThreads();
163 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLogString"))) {
164 PyObject
* s
= wx2PyString(szString
);
165 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(Oi)", s
, t
));
168 wxPyEndBlockThreads();
170 wxLog::DoLogString(szString
, t
);
175 // C++ version of wxProcess derived class
177 class wxPyProcess
: public wxProcess
{
179 wxPyProcess(wxEvtHandler
*parent
= NULL
, int id
= -1)
180 : wxProcess(parent
, id
)
183 DEC_PYCALLBACK_VOID_INTINT(OnTerminate
);
188 IMP_PYCALLBACK_VOID_INTINT( wxPyProcess
, wxProcess
, OnTerminate
);
191 #if !wxUSE_JOYSTICK && !defined(__WXMSW__)
192 // A C++ stub class for wxJoystick for platforms that don't have it.
193 class wxJoystick
: public wxObject
{
195 wxJoystick(int joystick
= wxJOYSTICK1
) {
196 wxPyBeginBlockThreads();
197 PyErr_SetString(PyExc_NotImplementedError
, "wxJoystick is not available on this platform.");
198 wxPyEndBlockThreads();
200 wxPoint
GetPosition() { return wxPoint(-1,-1); }
201 int GetZPosition() { return -1; }
202 int GetButtonState() { return -1; }
203 int GetPOVPosition() { return -1; }
204 int GetPOVCTSPosition() { return -1; }
205 int GetRudderPosition() { return -1; }
206 int GetUPosition() { return -1; }
207 int GetVPosition() { return -1; }
208 int GetMovementThreshold() { return -1; }
209 void SetMovementThreshold(int threshold
) {}
211 bool IsOk(void) { return FALSE
; }
212 int GetNumberJoysticks() { return -1; }
213 int GetManufacturerId() { return -1; }
214 int GetProductId() { return -1; }
215 wxString
GetProductName() { return ""; }
216 int GetXMin() { return -1; }
217 int GetYMin() { return -1; }
218 int GetZMin() { return -1; }
219 int GetXMax() { return -1; }
220 int GetYMax() { return -1; }
221 int GetZMax() { return -1; }
222 int GetNumberButtons() { return -1; }
223 int GetNumberAxes() { return -1; }
224 int GetMaxButtons() { return -1; }
225 int GetMaxAxes() { return -1; }
226 int GetPollingMin() { return -1; }
227 int GetPollingMax() { return -1; }
228 int GetRudderMin() { return -1; }
229 int GetRudderMax() { return -1; }
230 int GetUMin() { return -1; }
231 int GetUMax() { return -1; }
232 int GetVMin() { return -1; }
233 int GetVMax() { return -1; }
235 bool HasRudder() { return FALSE
; }
236 bool HasZ() { return FALSE
; }
237 bool HasU() { return FALSE
; }
238 bool HasV() { return FALSE
; }
239 bool HasPOV() { return FALSE
; }
240 bool HasPOV4Dir() { return FALSE
; }
241 bool HasPOVCTS() { return FALSE
; }
243 bool SetCapture(wxWindow
* win
, int pollingFreq
= 0) { return FALSE
; }
244 bool ReleaseCapture() { return FALSE
; }
249 // A C++ stub class for wxWave for platforms that don't have it.
250 class wxWave
: public wxObject
253 wxWave(const wxString
& fileName
, bool isResource
= FALSE
) {
254 wxPyBeginBlockThreads();
255 PyErr_SetString(PyExc_NotImplementedError
, "wxWave is not available on this platform.");
256 wxPyEndBlockThreads();
258 wxWave(int size
, const wxByte
* data
) {
259 wxPyBeginBlockThreads();
260 PyErr_SetString(PyExc_NotImplementedError
, "wxWave is not available on this platform.");
261 wxPyEndBlockThreads();
266 bool IsOk() const { return FALSE
; }
267 bool Play(bool async
= TRUE
, bool looped
= FALSE
) const { return FALSE
; }
271 // Implementations of some alternate "constructors"
272 wxWave
* wxWaveData(const wxString
& data
) {
273 return new wxWave(data
.Len(), (wxByte
*)data
.c_str());
277 extern wxMimeTypesManager
* wxTheMimeTypesManager
;
281 #include <wx/artprov.h>
283 DECLARE_DEF_STRING(ART_OTHER
);
285 // Python aware wxArtProvider
286 class wxPyArtProvider
: public wxArtProvider
{
289 virtual wxBitmap
CreateBitmap(const wxArtID
& id
,
290 const wxArtClient
& client
,
291 const wxSize
& size
) {
292 wxBitmap rval
= wxNullBitmap
;
293 wxPyBeginBlockThreads();
294 if ((wxPyCBH_findCallback(m_myInst
, "CreateBitmap"))) {
295 PyObject
* so
= wxPyConstructObject((void*)&size
, wxT("wxSize"), 0);
299 s1
= wx2PyString(id
);
300 s2
= wx2PyString(client
);
301 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OOO)", s1
, s2
, so
));
306 if (!SWIG_GetPtrObj(ro
, (void**)&ptr
, "_wxBitmap_p"))
311 wxPyEndBlockThreads();
318 #include <wx/docview.h>
322 static PyObject
*_wrap_wxFileSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
323 PyObject
* _resultobj
;
325 wxString
* _arg0
= (wxString
*) &wxPyFileSelectorPromptStr
;
326 wxString
* _arg1
= (wxString
*) &wxPyEmptyString
;
327 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
328 wxString
* _arg3
= (wxString
*) &wxPyEmptyString
;
329 wxString
* _arg4
= (wxString
*) &wxPyFileSelectorDefaultWildcardStr
;
330 int _arg5
= (int ) 0;
331 wxWindow
* _arg6
= (wxWindow
*) NULL
;
332 int _arg7
= (int ) -1;
333 int _arg8
= (int ) -1;
334 PyObject
* _obj0
= 0;
335 PyObject
* _obj1
= 0;
336 PyObject
* _obj2
= 0;
337 PyObject
* _obj3
= 0;
338 PyObject
* _obj4
= 0;
339 PyObject
* _argo6
= 0;
340 char *_kwnames
[] = { "message","default_path","default_filename","default_extension","wildcard","flags","parent","x","y", NULL
};
343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|OOOOOiOii:wxFileSelector",_kwnames
,&_obj0
,&_obj1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_arg7
,&_arg8
))
347 _arg0
= wxString_in_helper(_obj0
);
353 _arg1
= wxString_in_helper(_obj1
);
359 _arg2
= wxString_in_helper(_obj2
);
365 _arg3
= wxString_in_helper(_obj3
);
371 _arg4
= wxString_in_helper(_obj4
);
376 if (_argo6
== Py_None
) { _arg6
= NULL
; }
377 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxWindow_p")) {
378 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxFileSelector. Expected _wxWindow_p.");
383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
384 _result
= new wxString (wxFileSelector(*_arg0
,*_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
,_arg7
,_arg8
));
386 wxPyEndAllowThreads(__tstate
);
387 if (PyErr_Occurred()) return NULL
;
390 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
392 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
421 static PyObject
*_wrap_wxLoadFileSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
422 PyObject
* _resultobj
;
426 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
427 wxWindow
* _arg3
= (wxWindow
*) NULL
;
428 PyObject
* _obj0
= 0;
429 PyObject
* _obj1
= 0;
430 PyObject
* _obj2
= 0;
431 PyObject
* _argo3
= 0;
432 char *_kwnames
[] = { "what","extension","default_name","parent", NULL
};
435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|OO:wxLoadFileSelector",_kwnames
,&_obj0
,&_obj1
,&_obj2
,&_argo3
))
438 _arg0
= wxString_in_helper(_obj0
);
443 _arg1
= wxString_in_helper(_obj1
);
449 _arg2
= wxString_in_helper(_obj2
);
454 if (_argo3
== Py_None
) { _arg3
= NULL
; }
455 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxWindow_p")) {
456 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxLoadFileSelector. Expected _wxWindow_p.");
461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
462 _result
= new wxString (wxLoadFileSelector(*_arg0
,*_arg1
,*_arg2
,_arg3
));
464 wxPyEndAllowThreads(__tstate
);
465 if (PyErr_Occurred()) return NULL
;
468 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
470 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
491 static PyObject
*_wrap_wxSaveFileSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
492 PyObject
* _resultobj
;
496 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
497 wxWindow
* _arg3
= (wxWindow
*) NULL
;
498 PyObject
* _obj0
= 0;
499 PyObject
* _obj1
= 0;
500 PyObject
* _obj2
= 0;
501 PyObject
* _argo3
= 0;
502 char *_kwnames
[] = { "what","extension","default_name","parent", NULL
};
505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|OO:wxSaveFileSelector",_kwnames
,&_obj0
,&_obj1
,&_obj2
,&_argo3
))
508 _arg0
= wxString_in_helper(_obj0
);
513 _arg1
= wxString_in_helper(_obj1
);
519 _arg2
= wxString_in_helper(_obj2
);
524 if (_argo3
== Py_None
) { _arg3
= NULL
; }
525 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxWindow_p")) {
526 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxSaveFileSelector. Expected _wxWindow_p.");
531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
532 _result
= new wxString (wxSaveFileSelector(*_arg0
,*_arg1
,*_arg2
,_arg3
));
534 wxPyEndAllowThreads(__tstate
);
535 if (PyErr_Occurred()) return NULL
;
538 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
540 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
561 static PyObject
*_wrap_wxDirSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
562 PyObject
* _resultobj
;
564 wxString
* _arg0
= (wxString
*) &wxPyDirSelectorPromptStr
;
565 wxString
* _arg1
= (wxString
*) &wxPyEmptyString
;
566 long _arg2
= (long ) wxDD_DEFAULT_STYLE
;
567 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
568 wxWindow
* _arg4
= (wxWindow
*) NULL
;
569 PyObject
* _obj0
= 0;
570 PyObject
* _obj1
= 0;
572 PyObject
* _obj3
= 0;
573 PyObject
* _argo4
= 0;
574 char *_kwnames
[] = { "message","defaultPath","style","pos","parent", NULL
};
577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|OOlOO:wxDirSelector",_kwnames
,&_obj0
,&_obj1
,&_arg2
,&_obj3
,&_argo4
))
581 _arg0
= wxString_in_helper(_obj0
);
587 _arg1
= wxString_in_helper(_obj1
);
594 if (! wxPoint_helper(_obj3
, &_arg3
))
598 if (_argo4
== Py_None
) { _arg4
= NULL
; }
599 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_wxWindow_p")) {
600 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxDirSelector. Expected _wxWindow_p.");
605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
606 _result
= new wxString (wxDirSelector(*_arg0
,*_arg1
,_arg2
,*_arg3
,_arg4
));
608 wxPyEndAllowThreads(__tstate
);
609 if (PyErr_Occurred()) return NULL
;
612 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
614 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
631 static PyObject
*_wrap_wxGetTextFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
632 PyObject
* _resultobj
;
635 wxString
* _arg1
= (wxString
*) &wxPyEmptyString
;
636 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
637 wxWindow
* _arg3
= (wxWindow
*) NULL
;
638 int _arg4
= (int ) -1;
639 int _arg5
= (int ) -1;
640 bool _arg6
= (bool ) TRUE
;
641 PyObject
* _obj0
= 0;
642 PyObject
* _obj1
= 0;
643 PyObject
* _obj2
= 0;
644 PyObject
* _argo3
= 0;
645 int tempbool6
= (int) TRUE
;
646 char *_kwnames
[] = { "message","caption","default_value","parent","x","y","centre", NULL
};
649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|OOOiii:wxGetTextFromUser",_kwnames
,&_obj0
,&_obj1
,&_obj2
,&_argo3
,&_arg4
,&_arg5
,&tempbool6
))
652 _arg0
= wxString_in_helper(_obj0
);
658 _arg1
= wxString_in_helper(_obj1
);
664 _arg2
= wxString_in_helper(_obj2
);
669 if (_argo3
== Py_None
) { _arg3
= NULL
; }
670 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxWindow_p")) {
671 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGetTextFromUser. Expected _wxWindow_p.");
675 _arg6
= (bool ) tempbool6
;
677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
678 _result
= new wxString (wxGetTextFromUser(*_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
,_arg6
));
680 wxPyEndAllowThreads(__tstate
);
681 if (PyErr_Occurred()) return NULL
;
684 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
686 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
707 static PyObject
*_wrap_wxGetPasswordFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
708 PyObject
* _resultobj
;
711 wxString
* _arg1
= (wxString
*) &wxPyEmptyString
;
712 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
713 wxWindow
* _arg3
= (wxWindow
*) NULL
;
714 PyObject
* _obj0
= 0;
715 PyObject
* _obj1
= 0;
716 PyObject
* _obj2
= 0;
717 PyObject
* _argo3
= 0;
718 char *_kwnames
[] = { "message","caption","default_value","parent", NULL
};
721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|OOO:wxGetPasswordFromUser",_kwnames
,&_obj0
,&_obj1
,&_obj2
,&_argo3
))
724 _arg0
= wxString_in_helper(_obj0
);
730 _arg1
= wxString_in_helper(_obj1
);
736 _arg2
= wxString_in_helper(_obj2
);
741 if (_argo3
== Py_None
) { _arg3
= NULL
; }
742 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxWindow_p")) {
743 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGetPasswordFromUser. Expected _wxWindow_p.");
748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
749 _result
= new wxString (wxGetPasswordFromUser(*_arg0
,*_arg1
,*_arg2
,_arg3
));
751 wxPyEndAllowThreads(__tstate
);
752 if (PyErr_Occurred()) return NULL
;
755 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
757 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
778 static PyObject
*_wrap_wxGetSingleChoice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
779 PyObject
* _resultobj
;
785 wxWindow
* _arg4
= (wxWindow
*) NULL
;
786 int _arg5
= (int ) -1;
787 int _arg6
= (int ) -1;
788 bool _arg7
= (bool ) TRUE
;
789 int _arg8
= (int ) 150;
790 int _arg9
= (int ) 200;
791 PyObject
* _obj0
= 0;
792 PyObject
* _obj1
= 0;
793 PyObject
* _obj3
= 0;
794 PyObject
* _argo4
= 0;
795 int tempbool7
= (int) TRUE
;
796 char *_kwnames
[] = { "message","caption","choices","parent","x","y","centre","width","height", NULL
};
799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|Oiiiii:wxGetSingleChoice",_kwnames
,&_obj0
,&_obj1
,&_obj3
,&_argo4
,&_arg5
,&_arg6
,&tempbool7
,&_arg8
,&_arg9
))
802 _arg0
= wxString_in_helper(_obj0
);
807 _arg1
= wxString_in_helper(_obj1
);
813 _arg3
= wxString_LIST_helper(_obj3
);
819 if (_argo4
== Py_None
) { _arg4
= NULL
; }
820 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_wxWindow_p")) {
821 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxGetSingleChoice. Expected _wxWindow_p.");
825 _arg7
= (bool ) tempbool7
;
828 _arg2
= PyList_Size(_obj3
);
835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
836 _result
= new wxString (wxGetSingleChoice(*_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,_arg9
));
838 wxPyEndAllowThreads(__tstate
);
839 if (PyErr_Occurred()) return NULL
;
842 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
844 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
864 static PyObject
*_wrap_wxGetSingleChoiceIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
865 PyObject
* _resultobj
;
871 wxWindow
* _arg4
= (wxWindow
*) NULL
;
872 int _arg5
= (int ) -1;
873 int _arg6
= (int ) -1;
874 bool _arg7
= (bool ) TRUE
;
875 int _arg8
= (int ) 150;
876 int _arg9
= (int ) 200;
877 PyObject
* _obj0
= 0;
878 PyObject
* _obj1
= 0;
879 PyObject
* _obj3
= 0;
880 PyObject
* _argo4
= 0;
881 int tempbool7
= (int) TRUE
;
882 char *_kwnames
[] = { "message","caption","choices","parent","x","y","centre","width","height", NULL
};
885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|Oiiiii:wxGetSingleChoiceIndex",_kwnames
,&_obj0
,&_obj1
,&_obj3
,&_argo4
,&_arg5
,&_arg6
,&tempbool7
,&_arg8
,&_arg9
))
888 _arg0
= wxString_in_helper(_obj0
);
893 _arg1
= wxString_in_helper(_obj1
);
899 _arg3
= wxString_LIST_helper(_obj3
);
905 if (_argo4
== Py_None
) { _arg4
= NULL
; }
906 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_wxWindow_p")) {
907 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxGetSingleChoiceIndex. Expected _wxWindow_p.");
911 _arg7
= (bool ) tempbool7
;
914 _arg2
= PyList_Size(_obj3
);
921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
922 _result
= (int )wxGetSingleChoiceIndex(*_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,_arg9
);
924 wxPyEndAllowThreads(__tstate
);
925 if (PyErr_Occurred()) return NULL
;
926 } _resultobj
= Py_BuildValue("i",_result
);
941 static PyObject
*_wrap_wxMessageBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
942 PyObject
* _resultobj
;
945 wxString
* _arg1
= (wxString
*) &wxPyEmptyString
;
946 int _arg2
= (int ) wxOK
|wxCENTRE
;
947 wxWindow
* _arg3
= (wxWindow
*) NULL
;
948 int _arg4
= (int ) -1;
949 int _arg5
= (int ) -1;
950 PyObject
* _obj0
= 0;
951 PyObject
* _obj1
= 0;
952 PyObject
* _argo3
= 0;
953 char *_kwnames
[] = { "message","caption","style","parent","x","y", NULL
};
956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|OiOii:wxMessageBox",_kwnames
,&_obj0
,&_obj1
,&_arg2
,&_argo3
,&_arg4
,&_arg5
))
959 _arg0
= wxString_in_helper(_obj0
);
965 _arg1
= wxString_in_helper(_obj1
);
970 if (_argo3
== Py_None
) { _arg3
= NULL
; }
971 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxWindow_p")) {
972 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxMessageBox. Expected _wxWindow_p.");
977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
978 _result
= (int )wxMessageBox(*_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
980 wxPyEndAllowThreads(__tstate
);
981 if (PyErr_Occurred()) return NULL
;
982 } _resultobj
= Py_BuildValue("i",_result
);
994 static PyObject
*_wrap_wxGetNumberFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
995 PyObject
* _resultobj
;
1001 long _arg4
= (long ) 0;
1002 long _arg5
= (long ) 100;
1003 wxWindow
* _arg6
= (wxWindow
*) NULL
;
1004 wxPoint
* _arg7
= (wxPoint
*) &wxDefaultPosition
;
1005 PyObject
* _obj0
= 0;
1006 PyObject
* _obj1
= 0;
1007 PyObject
* _obj2
= 0;
1008 PyObject
* _argo6
= 0;
1010 PyObject
* _obj7
= 0;
1011 char *_kwnames
[] = { "message","prompt","caption","value","min","max","parent","pos", NULL
};
1014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOl|llOO:wxGetNumberFromUser",_kwnames
,&_obj0
,&_obj1
,&_obj2
,&_arg3
,&_arg4
,&_arg5
,&_argo6
,&_obj7
))
1017 _arg0
= wxString_in_helper(_obj0
);
1022 _arg1
= wxString_in_helper(_obj1
);
1027 _arg2
= wxString_in_helper(_obj2
);
1032 if (_argo6
== Py_None
) { _arg6
= NULL
; }
1033 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxWindow_p")) {
1034 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxGetNumberFromUser. Expected _wxWindow_p.");
1041 if (! wxPoint_helper(_obj7
, &_arg7
))
1045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1046 _result
= (long )wxGetNumberFromUser(*_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,*_arg7
);
1048 wxPyEndAllowThreads(__tstate
);
1049 if (PyErr_Occurred()) return NULL
;
1050 } _resultobj
= Py_BuildValue("l",_result
);
1066 static PyObject
*_wrap_wxColourDisplay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1067 PyObject
* _resultobj
;
1069 char *_kwnames
[] = { NULL
};
1072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxColourDisplay",_kwnames
))
1075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1076 _result
= (bool )wxColourDisplay();
1078 wxPyEndAllowThreads(__tstate
);
1079 if (PyErr_Occurred()) return NULL
;
1080 } _resultobj
= Py_BuildValue("i",_result
);
1084 static PyObject
*_wrap_wxDisplayDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1085 PyObject
* _resultobj
;
1087 char *_kwnames
[] = { NULL
};
1090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxDisplayDepth",_kwnames
))
1093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1094 _result
= (int )wxDisplayDepth();
1096 wxPyEndAllowThreads(__tstate
);
1097 if (PyErr_Occurred()) return NULL
;
1098 } _resultobj
= Py_BuildValue("i",_result
);
1102 static PyObject
*_wrap_wxGetDisplayDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1103 PyObject
* _resultobj
;
1105 char *_kwnames
[] = { NULL
};
1108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetDisplayDepth",_kwnames
))
1111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1112 _result
= (int )wxGetDisplayDepth();
1114 wxPyEndAllowThreads(__tstate
);
1115 if (PyErr_Occurred()) return NULL
;
1116 } _resultobj
= Py_BuildValue("i",_result
);
1120 static PyObject
*_wrap_wxDisplaySize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1121 PyObject
* _resultobj
;
1126 char *_kwnames
[] = { NULL
};
1135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxDisplaySize",_kwnames
))
1138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1139 wxDisplaySize(_arg0
,_arg1
);
1141 wxPyEndAllowThreads(__tstate
);
1142 if (PyErr_Occurred()) return NULL
;
1143 } Py_INCREF(Py_None
);
1144 _resultobj
= Py_None
;
1147 o
= PyInt_FromLong((long) (*_arg0
));
1148 _resultobj
= t_output_helper(_resultobj
, o
);
1152 o
= PyInt_FromLong((long) (*_arg1
));
1153 _resultobj
= t_output_helper(_resultobj
, o
);
1158 static PyObject
*_wrap_wxGetDisplaySize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1159 PyObject
* _resultobj
;
1161 char *_kwnames
[] = { NULL
};
1165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetDisplaySize",_kwnames
))
1168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1169 _result
= new wxSize (wxGetDisplaySize());
1171 wxPyEndAllowThreads(__tstate
);
1172 if (PyErr_Occurred()) return NULL
;
1173 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
1174 _resultobj
= Py_BuildValue("s",_ptemp
);
1178 static PyObject
*_wrap_wxDisplaySizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1179 PyObject
* _resultobj
;
1184 char *_kwnames
[] = { NULL
};
1193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxDisplaySizeMM",_kwnames
))
1196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1197 wxDisplaySizeMM(_arg0
,_arg1
);
1199 wxPyEndAllowThreads(__tstate
);
1200 if (PyErr_Occurred()) return NULL
;
1201 } Py_INCREF(Py_None
);
1202 _resultobj
= Py_None
;
1205 o
= PyInt_FromLong((long) (*_arg0
));
1206 _resultobj
= t_output_helper(_resultobj
, o
);
1210 o
= PyInt_FromLong((long) (*_arg1
));
1211 _resultobj
= t_output_helper(_resultobj
, o
);
1216 static PyObject
*_wrap_wxGetDisplaySizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1217 PyObject
* _resultobj
;
1219 char *_kwnames
[] = { NULL
};
1223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetDisplaySizeMM",_kwnames
))
1226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1227 _result
= new wxSize (wxGetDisplaySizeMM());
1229 wxPyEndAllowThreads(__tstate
);
1230 if (PyErr_Occurred()) return NULL
;
1231 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
1232 _resultobj
= Py_BuildValue("s",_ptemp
);
1236 static PyObject
*_wrap_wxClientDisplayRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1237 PyObject
* _resultobj
;
1246 char *_kwnames
[] = { NULL
};
1261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxClientDisplayRect",_kwnames
))
1264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1265 wxClientDisplayRect(_arg0
,_arg1
,_arg2
,_arg3
);
1267 wxPyEndAllowThreads(__tstate
);
1268 if (PyErr_Occurred()) return NULL
;
1269 } Py_INCREF(Py_None
);
1270 _resultobj
= Py_None
;
1273 o
= PyInt_FromLong((long) (*_arg0
));
1274 _resultobj
= t_output_helper(_resultobj
, o
);
1278 o
= PyInt_FromLong((long) (*_arg1
));
1279 _resultobj
= t_output_helper(_resultobj
, o
);
1283 o
= PyInt_FromLong((long) (*_arg2
));
1284 _resultobj
= t_output_helper(_resultobj
, o
);
1288 o
= PyInt_FromLong((long) (*_arg3
));
1289 _resultobj
= t_output_helper(_resultobj
, o
);
1294 static PyObject
*_wrap_wxGetClientDisplayRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1295 PyObject
* _resultobj
;
1297 char *_kwnames
[] = { NULL
};
1301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetClientDisplayRect",_kwnames
))
1304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1305 _result
= new wxRect (wxGetClientDisplayRect());
1307 wxPyEndAllowThreads(__tstate
);
1308 if (PyErr_Occurred()) return NULL
;
1309 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
1310 _resultobj
= Py_BuildValue("s",_ptemp
);
1314 static PyObject
*_wrap_wxSetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1315 PyObject
* _resultobj
;
1317 PyObject
* _argo0
= 0;
1318 char *_kwnames
[] = { "cursor", NULL
};
1321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSetCursor",_kwnames
,&_argo0
))
1324 if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
1325 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSetCursor. Expected _wxCursor_p.");
1330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1331 wxSetCursor(*_arg0
);
1333 wxPyEndAllowThreads(__tstate
);
1334 if (PyErr_Occurred()) return NULL
;
1335 } Py_INCREF(Py_None
);
1336 _resultobj
= Py_None
;
1340 static PyObject
*_wrap_wxBeginBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1341 PyObject
* _resultobj
;
1342 wxCursor
* _arg0
= (wxCursor
*) wxHOURGLASS_CURSOR
;
1343 PyObject
* _argo0
= 0;
1344 char *_kwnames
[] = { "cursor", NULL
};
1347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:wxBeginBusyCursor",_kwnames
,&_argo0
))
1350 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1351 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
1352 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBeginBusyCursor. Expected _wxCursor_p.");
1357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1358 wxBeginBusyCursor(_arg0
);
1360 wxPyEndAllowThreads(__tstate
);
1361 if (PyErr_Occurred()) return NULL
;
1362 } Py_INCREF(Py_None
);
1363 _resultobj
= Py_None
;
1367 static PyObject
*_wrap_wxGetActiveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1368 PyObject
* _resultobj
;
1370 char *_kwnames
[] = { NULL
};
1373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetActiveWindow",_kwnames
))
1376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1377 _result
= (wxWindow
*)wxGetActiveWindow();
1379 wxPyEndAllowThreads(__tstate
);
1380 if (PyErr_Occurred()) return NULL
;
1381 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1385 static PyObject
*_wrap_wxGenericFindWindowAtPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1386 PyObject
* _resultobj
;
1390 PyObject
* _obj0
= 0;
1391 char *_kwnames
[] = { "pt", NULL
};
1394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGenericFindWindowAtPoint",_kwnames
,&_obj0
))
1398 if (! wxPoint_helper(_obj0
, &_arg0
))
1402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1403 _result
= (wxWindow
*)wxGenericFindWindowAtPoint(*_arg0
);
1405 wxPyEndAllowThreads(__tstate
);
1406 if (PyErr_Occurred()) return NULL
;
1407 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1411 static PyObject
*_wrap_wxFindWindowAtPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1412 PyObject
* _resultobj
;
1416 PyObject
* _obj0
= 0;
1417 char *_kwnames
[] = { "pt", NULL
};
1420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFindWindowAtPoint",_kwnames
,&_obj0
))
1424 if (! wxPoint_helper(_obj0
, &_arg0
))
1428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1429 _result
= (wxWindow
*)wxFindWindowAtPoint(*_arg0
);
1431 wxPyEndAllowThreads(__tstate
);
1432 if (PyErr_Occurred()) return NULL
;
1433 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1437 static PyObject
*_wrap_wxGetTopLevelParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1438 PyObject
* _resultobj
;
1441 PyObject
* _argo0
= 0;
1442 char *_kwnames
[] = { "win", NULL
};
1445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGetTopLevelParent",_kwnames
,&_argo0
))
1448 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1449 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1450 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGetTopLevelParent. Expected _wxWindow_p.");
1455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1456 _result
= (wxWindow
*)wxGetTopLevelParent(_arg0
);
1458 wxPyEndAllowThreads(__tstate
);
1459 if (PyErr_Occurred()) return NULL
;
1460 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1464 static PyObject
*_wrap_wxCaret_GetBlinkTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1465 PyObject
* _resultobj
;
1467 char *_kwnames
[] = { NULL
};
1470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxCaret_GetBlinkTime",_kwnames
))
1473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1474 _result
= (int )wxCaret_GetBlinkTime();
1476 wxPyEndAllowThreads(__tstate
);
1477 if (PyErr_Occurred()) return NULL
;
1478 } _resultobj
= Py_BuildValue("i",_result
);
1482 static PyObject
*_wrap_wxCaret_SetBlinkTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1483 PyObject
* _resultobj
;
1485 char *_kwnames
[] = { "milliseconds", NULL
};
1488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxCaret_SetBlinkTime",_kwnames
,&_arg0
))
1491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1492 wxCaret_SetBlinkTime(_arg0
);
1494 wxPyEndAllowThreads(__tstate
);
1495 if (PyErr_Occurred()) return NULL
;
1496 } Py_INCREF(Py_None
);
1497 _resultobj
= Py_None
;
1501 static PyObject
*_wrap_wxSafeYield(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1502 PyObject
* _resultobj
;
1504 wxWindow
* _arg0
= (wxWindow
*) NULL
;
1505 bool _arg1
= (bool ) FALSE
;
1506 PyObject
* _argo0
= 0;
1507 int tempbool1
= (int) FALSE
;
1508 char *_kwnames
[] = { "win","onlyIfNeeded", NULL
};
1511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|Oi:wxSafeYield",_kwnames
,&_argo0
,&tempbool1
))
1514 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1515 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1516 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSafeYield. Expected _wxWindow_p.");
1520 _arg1
= (bool ) tempbool1
;
1522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1523 _result
= (bool )wxSafeYield(_arg0
,_arg1
);
1525 wxPyEndAllowThreads(__tstate
);
1526 if (PyErr_Occurred()) return NULL
;
1527 } _resultobj
= Py_BuildValue("i",_result
);
1531 static PyObject
*_wrap_wxPostEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1532 PyObject
* _resultobj
;
1533 wxEvtHandler
* _arg0
;
1535 PyObject
* _argo0
= 0;
1536 PyObject
* _argo1
= 0;
1537 char *_kwnames
[] = { "dest","event", NULL
};
1540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPostEvent",_kwnames
,&_argo0
,&_argo1
))
1543 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1544 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
1545 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPostEvent. Expected _wxEvtHandler_p.");
1550 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvent_p")) {
1551 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPostEvent. Expected _wxEvent_p.");
1556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1557 wxPostEvent(_arg0
,*_arg1
);
1559 wxPyEndAllowThreads(__tstate
);
1560 if (PyErr_Occurred()) return NULL
;
1561 } Py_INCREF(Py_None
);
1562 _resultobj
= Py_None
;
1566 static PyObject
*_wrap_wxWakeUpIdle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1567 PyObject
* _resultobj
;
1568 char *_kwnames
[] = { NULL
};
1571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxWakeUpIdle",_kwnames
))
1574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1577 wxPyEndAllowThreads(__tstate
);
1578 if (PyErr_Occurred()) return NULL
;
1579 } Py_INCREF(Py_None
);
1580 _resultobj
= Py_None
;
1584 static PyObject
*_wrap_wxMutexGuiEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1585 PyObject
* _resultobj
;
1586 char *_kwnames
[] = { NULL
};
1589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxMutexGuiEnter",_kwnames
))
1592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1595 wxPyEndAllowThreads(__tstate
);
1596 if (PyErr_Occurred()) return NULL
;
1597 } Py_INCREF(Py_None
);
1598 _resultobj
= Py_None
;
1602 static PyObject
*_wrap_wxMutexGuiLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1603 PyObject
* _resultobj
;
1604 char *_kwnames
[] = { NULL
};
1607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxMutexGuiLeave",_kwnames
))
1610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1613 wxPyEndAllowThreads(__tstate
);
1614 if (PyErr_Occurred()) return NULL
;
1615 } Py_INCREF(Py_None
);
1616 _resultobj
= Py_None
;
1620 static PyObject
*_wrap_wxThread_IsMain(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1621 PyObject
* _resultobj
;
1623 char *_kwnames
[] = { NULL
};
1626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxThread_IsMain",_kwnames
))
1629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1630 _result
= (bool )wxThread_IsMain();
1632 wxPyEndAllowThreads(__tstate
);
1633 if (PyErr_Occurred()) return NULL
;
1634 } _resultobj
= Py_BuildValue("i",_result
);
1638 static PyObject
*_wrap_wxShowTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1639 PyObject
* _resultobj
;
1642 wxTipProvider
* _arg1
;
1643 bool _arg2
= (bool ) TRUE
;
1644 PyObject
* _argo0
= 0;
1645 PyObject
* _argo1
= 0;
1646 int tempbool2
= (int) TRUE
;
1647 char *_kwnames
[] = { "parent","tipProvider","showAtStartup", NULL
};
1650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxShowTip",_kwnames
,&_argo0
,&_argo1
,&tempbool2
))
1653 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1654 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1655 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShowTip. Expected _wxWindow_p.");
1660 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1661 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTipProvider_p")) {
1662 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxShowTip. Expected _wxTipProvider_p.");
1666 _arg2
= (bool ) tempbool2
;
1668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1669 _result
= (bool )wxShowTip(_arg0
,_arg1
,_arg2
);
1671 wxPyEndAllowThreads(__tstate
);
1672 if (PyErr_Occurred()) return NULL
;
1673 } _resultobj
= Py_BuildValue("i",_result
);
1677 static PyObject
*_wrap_wxCreateFileTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1678 PyObject
* _resultobj
;
1679 wxTipProvider
* _result
;
1682 PyObject
* _obj0
= 0;
1683 char *_kwnames
[] = { "filename","currentTip", NULL
};
1687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxCreateFileTipProvider",_kwnames
,&_obj0
,&_arg1
))
1690 _arg0
= wxString_in_helper(_obj0
);
1695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1696 _result
= (wxTipProvider
*)wxCreateFileTipProvider(*_arg0
,_arg1
);
1698 wxPyEndAllowThreads(__tstate
);
1699 if (PyErr_Occurred()) return NULL
;
1701 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTipProvider_p");
1702 _resultobj
= Py_BuildValue("s",_ptemp
);
1705 _resultobj
= Py_None
;
1714 static PyObject
*_wrap_wxSysErrorCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1715 PyObject
* _resultobj
;
1716 unsigned long _result
;
1717 char *_kwnames
[] = { NULL
};
1720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxSysErrorCode",_kwnames
))
1723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1724 _result
= (unsigned long )wxSysErrorCode();
1726 wxPyEndAllowThreads(__tstate
);
1727 if (PyErr_Occurred()) return NULL
;
1728 } _resultobj
= Py_BuildValue("l",_result
);
1732 static PyObject
*_wrap_wxSysErrorMsg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1733 PyObject
* _resultobj
;
1735 unsigned long _arg0
= (unsigned long ) 0;
1736 char *_kwnames
[] = { "nErrCode", NULL
};
1739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|l:wxSysErrorMsg",_kwnames
,&_arg0
))
1742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1743 _result
= new wxString (wxSysErrorMsg(_arg0
));
1745 wxPyEndAllowThreads(__tstate
);
1746 if (PyErr_Occurred()) return NULL
;
1749 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
1751 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1760 static PyObject
*_wrap_wxLogFatalError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1761 PyObject
* _resultobj
;
1763 PyObject
* _obj0
= 0;
1764 char *_kwnames
[] = { "msg", NULL
};
1767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogFatalError",_kwnames
,&_obj0
))
1770 _arg0
= wxString_in_helper(_obj0
);
1775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1776 wxLogFatalError(*_arg0
);
1778 wxPyEndAllowThreads(__tstate
);
1779 if (PyErr_Occurred()) return NULL
;
1780 } Py_INCREF(Py_None
);
1781 _resultobj
= Py_None
;
1789 static PyObject
*_wrap_wxLogError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1790 PyObject
* _resultobj
;
1792 PyObject
* _obj0
= 0;
1793 char *_kwnames
[] = { "msg", NULL
};
1796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogError",_kwnames
,&_obj0
))
1799 _arg0
= wxString_in_helper(_obj0
);
1804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1807 wxPyEndAllowThreads(__tstate
);
1808 if (PyErr_Occurred()) return NULL
;
1809 } Py_INCREF(Py_None
);
1810 _resultobj
= Py_None
;
1818 static PyObject
*_wrap_wxLogWarning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1819 PyObject
* _resultobj
;
1821 PyObject
* _obj0
= 0;
1822 char *_kwnames
[] = { "msg", NULL
};
1825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogWarning",_kwnames
,&_obj0
))
1828 _arg0
= wxString_in_helper(_obj0
);
1833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1834 wxLogWarning(*_arg0
);
1836 wxPyEndAllowThreads(__tstate
);
1837 if (PyErr_Occurred()) return NULL
;
1838 } Py_INCREF(Py_None
);
1839 _resultobj
= Py_None
;
1847 static PyObject
*_wrap_wxLogMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1848 PyObject
* _resultobj
;
1850 PyObject
* _obj0
= 0;
1851 char *_kwnames
[] = { "msg", NULL
};
1854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogMessage",_kwnames
,&_obj0
))
1857 _arg0
= wxString_in_helper(_obj0
);
1862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1863 wxLogMessage(*_arg0
);
1865 wxPyEndAllowThreads(__tstate
);
1866 if (PyErr_Occurred()) return NULL
;
1867 } Py_INCREF(Py_None
);
1868 _resultobj
= Py_None
;
1876 static PyObject
*_wrap_wxLogInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1877 PyObject
* _resultobj
;
1879 PyObject
* _obj0
= 0;
1880 char *_kwnames
[] = { "msg", NULL
};
1883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogInfo",_kwnames
,&_obj0
))
1886 _arg0
= wxString_in_helper(_obj0
);
1891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1894 wxPyEndAllowThreads(__tstate
);
1895 if (PyErr_Occurred()) return NULL
;
1896 } Py_INCREF(Py_None
);
1897 _resultobj
= Py_None
;
1905 static PyObject
*_wrap_wxLogDebug(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1906 PyObject
* _resultobj
;
1908 PyObject
* _obj0
= 0;
1909 char *_kwnames
[] = { "msg", NULL
};
1912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogDebug",_kwnames
,&_obj0
))
1915 _arg0
= wxString_in_helper(_obj0
);
1920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1923 wxPyEndAllowThreads(__tstate
);
1924 if (PyErr_Occurred()) return NULL
;
1925 } Py_INCREF(Py_None
);
1926 _resultobj
= Py_None
;
1934 static PyObject
*_wrap_wxLogVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1935 PyObject
* _resultobj
;
1937 PyObject
* _obj0
= 0;
1938 char *_kwnames
[] = { "msg", NULL
};
1941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogVerbose",_kwnames
,&_obj0
))
1944 _arg0
= wxString_in_helper(_obj0
);
1949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1950 wxLogVerbose(*_arg0
);
1952 wxPyEndAllowThreads(__tstate
);
1953 if (PyErr_Occurred()) return NULL
;
1954 } Py_INCREF(Py_None
);
1955 _resultobj
= Py_None
;
1963 static PyObject
*_wrap_wxLogStatus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1964 PyObject
* _resultobj
;
1966 PyObject
* _obj0
= 0;
1967 char *_kwnames
[] = { "msg", NULL
};
1970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogStatus",_kwnames
,&_obj0
))
1973 _arg0
= wxString_in_helper(_obj0
);
1978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1979 wxLogStatus(*_arg0
);
1981 wxPyEndAllowThreads(__tstate
);
1982 if (PyErr_Occurred()) return NULL
;
1983 } Py_INCREF(Py_None
);
1984 _resultobj
= Py_None
;
1992 static PyObject
*_wrap_wxLogStatusFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1993 PyObject
* _resultobj
;
1996 PyObject
* _argo0
= 0;
1997 PyObject
* _obj1
= 0;
1998 char *_kwnames
[] = { "pFrame","msg", NULL
};
2001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxLogStatusFrame",_kwnames
,&_argo0
,&_obj1
))
2004 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2005 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
2006 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogStatusFrame. Expected _wxFrame_p.");
2011 _arg1
= wxString_in_helper(_obj1
);
2016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2017 wxLogStatus(_arg0
,*_arg1
);
2019 wxPyEndAllowThreads(__tstate
);
2020 if (PyErr_Occurred()) return NULL
;
2021 } Py_INCREF(Py_None
);
2022 _resultobj
= Py_None
;
2030 static PyObject
*_wrap_wxLogSysError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2031 PyObject
* _resultobj
;
2033 PyObject
* _obj0
= 0;
2034 char *_kwnames
[] = { "msg", NULL
};
2037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogSysError",_kwnames
,&_obj0
))
2040 _arg0
= wxString_in_helper(_obj0
);
2045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2046 wxLogSysError(*_arg0
);
2048 wxPyEndAllowThreads(__tstate
);
2049 if (PyErr_Occurred()) return NULL
;
2050 } Py_INCREF(Py_None
);
2051 _resultobj
= Py_None
;
2059 static PyObject
*_wrap_wxLogTrace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2060 PyObject
* _resultobj
;
2062 PyObject
* _obj0
= 0;
2063 char *_kwnames
[] = { "msg", NULL
};
2066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogTrace",_kwnames
,&_obj0
))
2069 _arg0
= wxString_in_helper(_obj0
);
2074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2077 wxPyEndAllowThreads(__tstate
);
2078 if (PyErr_Occurred()) return NULL
;
2079 } Py_INCREF(Py_None
);
2080 _resultobj
= Py_None
;
2088 static PyObject
*_wrap_wxLogTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2089 PyObject
* _resultobj
;
2092 PyObject
* _obj0
= 0;
2093 PyObject
* _obj1
= 0;
2094 char *_kwnames
[] = { "mask","msg", NULL
};
2097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxLogTraceMask",_kwnames
,&_obj0
,&_obj1
))
2100 _arg0
= wxString_in_helper(_obj0
);
2105 _arg1
= wxString_in_helper(_obj1
);
2110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2111 wxLogTrace(*_arg0
,*_arg1
);
2113 wxPyEndAllowThreads(__tstate
);
2114 if (PyErr_Occurred()) return NULL
;
2115 } Py_INCREF(Py_None
);
2116 _resultobj
= Py_None
;
2128 static PyObject
*_wrap_wxLogGeneric(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2129 PyObject
* _resultobj
;
2130 unsigned long _arg0
;
2132 PyObject
* _obj1
= 0;
2133 char *_kwnames
[] = { "level","msg", NULL
};
2136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"lO:wxLogGeneric",_kwnames
,&_arg0
,&_obj1
))
2139 _arg1
= wxString_in_helper(_obj1
);
2144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2145 wxLogGeneric(_arg0
,*_arg1
);
2147 wxPyEndAllowThreads(__tstate
);
2148 if (PyErr_Occurred()) return NULL
;
2149 } Py_INCREF(Py_None
);
2150 _resultobj
= Py_None
;
2158 static PyObject
*_wrap_wxSafeShowMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2159 PyObject
* _resultobj
;
2162 PyObject
* _obj0
= 0;
2163 PyObject
* _obj1
= 0;
2164 char *_kwnames
[] = { "title","text", NULL
};
2167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxSafeShowMessage",_kwnames
,&_obj0
,&_obj1
))
2170 _arg0
= wxString_in_helper(_obj0
);
2175 _arg1
= wxString_in_helper(_obj1
);
2180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2181 wxSafeShowMessage(*_arg0
,*_arg1
);
2183 wxPyEndAllowThreads(__tstate
);
2184 if (PyErr_Occurred()) return NULL
;
2185 } Py_INCREF(Py_None
);
2186 _resultobj
= Py_None
;
2198 static PyObject
*_wrap_wxExecute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2199 PyObject
* _resultobj
;
2202 int _arg1
= (int ) (wxEXEC_ASYNC
);
2203 wxPyProcess
* _arg2
= (wxPyProcess
*) NULL
;
2204 PyObject
* _obj0
= 0;
2205 PyObject
* _argo2
= 0;
2206 char *_kwnames
[] = { "command","flags","process", NULL
};
2209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iO:wxExecute",_kwnames
,&_obj0
,&_arg1
,&_argo2
))
2212 _arg0
= wxString_in_helper(_obj0
);
2217 if (_argo2
== Py_None
) { _arg2
= NULL
; }
2218 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPyProcess_p")) {
2219 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxExecute. Expected _wxPyProcess_p.");
2224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2225 _result
= (long )wxExecute(*_arg0
,_arg1
,_arg2
);
2227 wxPyEndAllowThreads(__tstate
);
2228 if (PyErr_Occurred()) return NULL
;
2229 } _resultobj
= Py_BuildValue("l",_result
);
2237 static PyObject
*_wrap_wxWaveData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2238 PyObject
* _resultobj
;
2241 PyObject
* _obj0
= 0;
2242 char *_kwnames
[] = { "data", NULL
};
2246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWaveData",_kwnames
,&_obj0
))
2249 _arg0
= wxString_in_helper(_obj0
);
2254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2255 _result
= (wxWave
*)wxWaveData(*_arg0
);
2257 wxPyEndAllowThreads(__tstate
);
2258 if (PyErr_Occurred()) return NULL
;
2260 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWave_p");
2261 _resultobj
= Py_BuildValue("s",_ptemp
);
2264 _resultobj
= Py_None
;
2273 static int _wrap_wxTheMimeTypesManager_set(PyObject
*val
) {
2275 PyErr_SetString(PyExc_TypeError
,"Variable wxTheMimeTypesManager is read-only.");
2279 static PyObject
*_wrap_wxTheMimeTypesManager_get() {
2283 SWIG_MakePtr(ptemp
, (char *) wxTheMimeTypesManager
,"_wxMimeTypesManager_p");
2284 pyobj
= PyString_FromString(ptemp
);
2288 static PyObject
*_wrap_wxSystemSettings_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2289 PyObject
* _resultobj
;
2291 wxSystemColour _arg0
;
2292 char *_kwnames
[] = { "index", NULL
};
2296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSystemSettings_GetColour",_kwnames
,&_arg0
))
2299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2300 _result
= new wxColour (wxSystemSettings::GetColour(_arg0
));
2302 wxPyEndAllowThreads(__tstate
);
2303 if (PyErr_Occurred()) return NULL
;
2304 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
2305 _resultobj
= Py_BuildValue("s",_ptemp
);
2309 static PyObject
*_wrap_wxSystemSettings_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2310 PyObject
* _resultobj
;
2313 char *_kwnames
[] = { "index", NULL
};
2317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSystemSettings_GetFont",_kwnames
,&_arg0
))
2320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2321 _result
= new wxFont (wxSystemSettings::GetFont(_arg0
));
2323 wxPyEndAllowThreads(__tstate
);
2324 if (PyErr_Occurred()) return NULL
;
2325 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
2326 _resultobj
= Py_BuildValue("s",_ptemp
);
2330 static PyObject
*_wrap_wxSystemSettings_GetMetric(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2331 PyObject
* _resultobj
;
2333 wxSystemMetric _arg0
;
2334 char *_kwnames
[] = { "index", NULL
};
2337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSystemSettings_GetMetric",_kwnames
,&_arg0
))
2340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2341 _result
= (int )wxSystemSettings::GetMetric(_arg0
);
2343 wxPyEndAllowThreads(__tstate
);
2344 if (PyErr_Occurred()) return NULL
;
2345 } _resultobj
= Py_BuildValue("i",_result
);
2349 static PyObject
*_wrap_wxSystemSettings_HasFeature(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2350 PyObject
* _resultobj
;
2352 wxSystemFeature _arg0
;
2353 char *_kwnames
[] = { "index", NULL
};
2356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSystemSettings_HasFeature",_kwnames
,&_arg0
))
2359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2360 _result
= (bool )wxSystemSettings::HasFeature(_arg0
);
2362 wxPyEndAllowThreads(__tstate
);
2363 if (PyErr_Occurred()) return NULL
;
2364 } _resultobj
= Py_BuildValue("i",_result
);
2368 static PyObject
*_wrap_wxSystemSettings_GetScreenType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2369 PyObject
* _resultobj
;
2370 wxSystemScreenType _result
;
2371 char *_kwnames
[] = { NULL
};
2374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxSystemSettings_GetScreenType",_kwnames
))
2377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2378 _result
= (wxSystemScreenType
)wxSystemSettings::GetScreenType();
2380 wxPyEndAllowThreads(__tstate
);
2381 if (PyErr_Occurred()) return NULL
;
2382 } _resultobj
= Py_BuildValue("i",_result
);
2386 static PyObject
*_wrap_wxSystemSettings_SetScreenType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2387 PyObject
* _resultobj
;
2388 wxSystemScreenType _arg0
;
2389 char *_kwnames
[] = { "screen", NULL
};
2392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSystemSettings_SetScreenType",_kwnames
,&_arg0
))
2395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2396 wxSystemSettings::SetScreenType(_arg0
);
2398 wxPyEndAllowThreads(__tstate
);
2399 if (PyErr_Occurred()) return NULL
;
2400 } Py_INCREF(Py_None
);
2401 _resultobj
= Py_None
;
2405 static void *SwigwxToolTipTowxObject(void *ptr
) {
2408 src
= (wxToolTip
*) ptr
;
2409 dest
= (wxObject
*) src
;
2410 return (void *) dest
;
2413 #define new_wxToolTip(_swigarg0) (new wxToolTip(_swigarg0))
2414 static PyObject
*_wrap_new_wxToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2415 PyObject
* _resultobj
;
2416 wxToolTip
* _result
;
2418 PyObject
* _obj0
= 0;
2419 char *_kwnames
[] = { "tip", NULL
};
2423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxToolTip",_kwnames
,&_obj0
))
2426 _arg0
= wxString_in_helper(_obj0
);
2431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2432 _result
= (wxToolTip
*)new_wxToolTip(*_arg0
);
2434 wxPyEndAllowThreads(__tstate
);
2435 if (PyErr_Occurred()) return NULL
;
2437 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToolTip_p");
2438 _resultobj
= Py_BuildValue("s",_ptemp
);
2441 _resultobj
= Py_None
;
2450 #define wxToolTip_SetTip(_swigobj,_swigarg0) (_swigobj->SetTip(_swigarg0))
2451 static PyObject
*_wrap_wxToolTip_SetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2452 PyObject
* _resultobj
;
2455 PyObject
* _argo0
= 0;
2456 PyObject
* _obj1
= 0;
2457 char *_kwnames
[] = { "self","tip", NULL
};
2460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxToolTip_SetTip",_kwnames
,&_argo0
,&_obj1
))
2463 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2464 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolTip_p")) {
2465 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolTip_SetTip. Expected _wxToolTip_p.");
2470 _arg1
= wxString_in_helper(_obj1
);
2475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2476 wxToolTip_SetTip(_arg0
,*_arg1
);
2478 wxPyEndAllowThreads(__tstate
);
2479 if (PyErr_Occurred()) return NULL
;
2480 } Py_INCREF(Py_None
);
2481 _resultobj
= Py_None
;
2489 #define wxToolTip_GetTip(_swigobj) (_swigobj->GetTip())
2490 static PyObject
*_wrap_wxToolTip_GetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2491 PyObject
* _resultobj
;
2494 PyObject
* _argo0
= 0;
2495 char *_kwnames
[] = { "self", NULL
};
2498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolTip_GetTip",_kwnames
,&_argo0
))
2501 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2502 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolTip_p")) {
2503 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolTip_GetTip. Expected _wxToolTip_p.");
2508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2509 _result
= new wxString (wxToolTip_GetTip(_arg0
));
2511 wxPyEndAllowThreads(__tstate
);
2512 if (PyErr_Occurred()) return NULL
;
2515 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
2517 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2526 #define wxToolTip_GetWindow(_swigobj) (_swigobj->GetWindow())
2527 static PyObject
*_wrap_wxToolTip_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2528 PyObject
* _resultobj
;
2531 PyObject
* _argo0
= 0;
2532 char *_kwnames
[] = { "self", NULL
};
2535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolTip_GetWindow",_kwnames
,&_argo0
))
2538 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2539 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolTip_p")) {
2540 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolTip_GetWindow. Expected _wxToolTip_p.");
2545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2546 _result
= (wxWindow
*)wxToolTip_GetWindow(_arg0
);
2548 wxPyEndAllowThreads(__tstate
);
2549 if (PyErr_Occurred()) return NULL
;
2550 }{ _resultobj
= wxPyMake_wxObject(_result
); }
2554 static PyObject
*_wrap_wxToolTip_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2555 PyObject
* _resultobj
;
2558 char *_kwnames
[] = { "flag", NULL
};
2561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxToolTip_Enable",_kwnames
,&tempbool0
))
2563 _arg0
= (bool ) tempbool0
;
2565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2566 wxToolTip::Enable(_arg0
);
2568 wxPyEndAllowThreads(__tstate
);
2569 if (PyErr_Occurred()) return NULL
;
2570 } Py_INCREF(Py_None
);
2571 _resultobj
= Py_None
;
2575 static PyObject
*_wrap_wxToolTip_SetDelay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2576 PyObject
* _resultobj
;
2578 char *_kwnames
[] = { "milliseconds", NULL
};
2581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:wxToolTip_SetDelay",_kwnames
,&_arg0
))
2584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2585 wxToolTip::SetDelay(_arg0
);
2587 wxPyEndAllowThreads(__tstate
);
2588 if (PyErr_Occurred()) return NULL
;
2589 } Py_INCREF(Py_None
);
2590 _resultobj
= Py_None
;
2594 #define new_wxCaret(_swigarg0,_swigarg1) (new wxCaret(_swigarg0,_swigarg1))
2595 static PyObject
*_wrap_new_wxCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2596 PyObject
* _resultobj
;
2600 PyObject
* _argo0
= 0;
2602 PyObject
* _obj1
= 0;
2603 char *_kwnames
[] = { "window","size", NULL
};
2607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:new_wxCaret",_kwnames
,&_argo0
,&_obj1
))
2610 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2611 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2612 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxCaret. Expected _wxWindow_p.");
2618 if (! wxSize_helper(_obj1
, &_arg1
))
2622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2623 _result
= (wxCaret
*)new_wxCaret(_arg0
,*_arg1
);
2625 wxPyEndAllowThreads(__tstate
);
2626 if (PyErr_Occurred()) return NULL
;
2628 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCaret_p");
2629 _resultobj
= Py_BuildValue("s",_ptemp
);
2632 _resultobj
= Py_None
;
2637 #define delete_wxCaret(_swigobj) (delete _swigobj)
2638 static PyObject
*_wrap_delete_wxCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2639 PyObject
* _resultobj
;
2641 PyObject
* _argo0
= 0;
2642 char *_kwnames
[] = { "self", NULL
};
2645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxCaret",_kwnames
,&_argo0
))
2648 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2649 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2650 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxCaret. Expected _wxCaret_p.");
2655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2656 delete_wxCaret(_arg0
);
2658 wxPyEndAllowThreads(__tstate
);
2659 if (PyErr_Occurred()) return NULL
;
2660 } Py_INCREF(Py_None
);
2661 _resultobj
= Py_None
;
2665 #define wxCaret_IsOk(_swigobj) (_swigobj->IsOk())
2666 static PyObject
*_wrap_wxCaret_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2667 PyObject
* _resultobj
;
2670 PyObject
* _argo0
= 0;
2671 char *_kwnames
[] = { "self", NULL
};
2674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_IsOk",_kwnames
,&_argo0
))
2677 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2678 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2679 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_IsOk. Expected _wxCaret_p.");
2684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2685 _result
= (bool )wxCaret_IsOk(_arg0
);
2687 wxPyEndAllowThreads(__tstate
);
2688 if (PyErr_Occurred()) return NULL
;
2689 } _resultobj
= Py_BuildValue("i",_result
);
2693 #define wxCaret_IsVisible(_swigobj) (_swigobj->IsVisible())
2694 static PyObject
*_wrap_wxCaret_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2695 PyObject
* _resultobj
;
2698 PyObject
* _argo0
= 0;
2699 char *_kwnames
[] = { "self", NULL
};
2702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_IsVisible",_kwnames
,&_argo0
))
2705 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2706 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2707 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_IsVisible. Expected _wxCaret_p.");
2712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2713 _result
= (bool )wxCaret_IsVisible(_arg0
);
2715 wxPyEndAllowThreads(__tstate
);
2716 if (PyErr_Occurred()) return NULL
;
2717 } _resultobj
= Py_BuildValue("i",_result
);
2721 #define wxCaret_GetPositionTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPosition(_swigarg0,_swigarg1))
2722 static PyObject
*_wrap_wxCaret_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2723 PyObject
* _resultobj
;
2729 PyObject
* _argo0
= 0;
2730 char *_kwnames
[] = { "self", NULL
};
2739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetPositionTuple",_kwnames
,&_argo0
))
2742 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2743 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2744 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetPositionTuple. Expected _wxCaret_p.");
2749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2750 wxCaret_GetPositionTuple(_arg0
,_arg1
,_arg2
);
2752 wxPyEndAllowThreads(__tstate
);
2753 if (PyErr_Occurred()) return NULL
;
2754 } Py_INCREF(Py_None
);
2755 _resultobj
= Py_None
;
2758 o
= PyInt_FromLong((long) (*_arg1
));
2759 _resultobj
= t_output_helper(_resultobj
, o
);
2763 o
= PyInt_FromLong((long) (*_arg2
));
2764 _resultobj
= t_output_helper(_resultobj
, o
);
2769 #define wxCaret_GetPosition(_swigobj) (_swigobj->GetPosition())
2770 static PyObject
*_wrap_wxCaret_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2771 PyObject
* _resultobj
;
2774 PyObject
* _argo0
= 0;
2775 char *_kwnames
[] = { "self", NULL
};
2779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetPosition",_kwnames
,&_argo0
))
2782 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2783 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2784 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetPosition. Expected _wxCaret_p.");
2789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2790 _result
= new wxPoint (wxCaret_GetPosition(_arg0
));
2792 wxPyEndAllowThreads(__tstate
);
2793 if (PyErr_Occurred()) return NULL
;
2794 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2795 _resultobj
= Py_BuildValue("s",_ptemp
);
2799 #define wxCaret_GetSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSize(_swigarg0,_swigarg1))
2800 static PyObject
*_wrap_wxCaret_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2801 PyObject
* _resultobj
;
2807 PyObject
* _argo0
= 0;
2808 char *_kwnames
[] = { "self", NULL
};
2817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetSizeTuple",_kwnames
,&_argo0
))
2820 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2821 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2822 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetSizeTuple. Expected _wxCaret_p.");
2827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2828 wxCaret_GetSizeTuple(_arg0
,_arg1
,_arg2
);
2830 wxPyEndAllowThreads(__tstate
);
2831 if (PyErr_Occurred()) return NULL
;
2832 } Py_INCREF(Py_None
);
2833 _resultobj
= Py_None
;
2836 o
= PyInt_FromLong((long) (*_arg1
));
2837 _resultobj
= t_output_helper(_resultobj
, o
);
2841 o
= PyInt_FromLong((long) (*_arg2
));
2842 _resultobj
= t_output_helper(_resultobj
, o
);
2847 #define wxCaret_GetSize(_swigobj) (_swigobj->GetSize())
2848 static PyObject
*_wrap_wxCaret_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2849 PyObject
* _resultobj
;
2852 PyObject
* _argo0
= 0;
2853 char *_kwnames
[] = { "self", NULL
};
2857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetSize",_kwnames
,&_argo0
))
2860 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2861 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2862 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetSize. Expected _wxCaret_p.");
2867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2868 _result
= new wxSize (wxCaret_GetSize(_arg0
));
2870 wxPyEndAllowThreads(__tstate
);
2871 if (PyErr_Occurred()) return NULL
;
2872 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
2873 _resultobj
= Py_BuildValue("s",_ptemp
);
2877 #define wxCaret_GetWindow(_swigobj) (_swigobj->GetWindow())
2878 static PyObject
*_wrap_wxCaret_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2879 PyObject
* _resultobj
;
2882 PyObject
* _argo0
= 0;
2883 char *_kwnames
[] = { "self", NULL
};
2886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetWindow",_kwnames
,&_argo0
))
2889 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2890 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2891 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetWindow. Expected _wxCaret_p.");
2896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2897 _result
= (wxWindow
*)wxCaret_GetWindow(_arg0
);
2899 wxPyEndAllowThreads(__tstate
);
2900 if (PyErr_Occurred()) return NULL
;
2901 }{ _resultobj
= wxPyMake_wxObject(_result
); }
2905 #define wxCaret_MoveXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->Move(_swigarg0,_swigarg1))
2906 static PyObject
*_wrap_wxCaret_MoveXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2907 PyObject
* _resultobj
;
2911 PyObject
* _argo0
= 0;
2912 char *_kwnames
[] = { "self","x","y", NULL
};
2915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxCaret_MoveXY",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2918 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2919 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2920 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_MoveXY. Expected _wxCaret_p.");
2925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2926 wxCaret_MoveXY(_arg0
,_arg1
,_arg2
);
2928 wxPyEndAllowThreads(__tstate
);
2929 if (PyErr_Occurred()) return NULL
;
2930 } Py_INCREF(Py_None
);
2931 _resultobj
= Py_None
;
2935 #define wxCaret_Move(_swigobj,_swigarg0) (_swigobj->Move(_swigarg0))
2936 static PyObject
*_wrap_wxCaret_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2937 PyObject
* _resultobj
;
2940 PyObject
* _argo0
= 0;
2942 PyObject
* _obj1
= 0;
2943 char *_kwnames
[] = { "self","pt", NULL
};
2946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxCaret_Move",_kwnames
,&_argo0
,&_obj1
))
2949 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2950 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2951 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_Move. Expected _wxCaret_p.");
2957 if (! wxPoint_helper(_obj1
, &_arg1
))
2961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2962 wxCaret_Move(_arg0
,*_arg1
);
2964 wxPyEndAllowThreads(__tstate
);
2965 if (PyErr_Occurred()) return NULL
;
2966 } Py_INCREF(Py_None
);
2967 _resultobj
= Py_None
;
2971 #define wxCaret_SetSizeWH(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSize(_swigarg0,_swigarg1))
2972 static PyObject
*_wrap_wxCaret_SetSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2973 PyObject
* _resultobj
;
2977 PyObject
* _argo0
= 0;
2978 char *_kwnames
[] = { "self","width","height", NULL
};
2981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxCaret_SetSizeWH",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2984 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2985 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2986 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_SetSizeWH. Expected _wxCaret_p.");
2991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2992 wxCaret_SetSizeWH(_arg0
,_arg1
,_arg2
);
2994 wxPyEndAllowThreads(__tstate
);
2995 if (PyErr_Occurred()) return NULL
;
2996 } Py_INCREF(Py_None
);
2997 _resultobj
= Py_None
;
3001 #define wxCaret_SetSize(_swigobj,_swigarg0) (_swigobj->SetSize(_swigarg0))
3002 static PyObject
*_wrap_wxCaret_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3003 PyObject
* _resultobj
;
3006 PyObject
* _argo0
= 0;
3008 PyObject
* _obj1
= 0;
3009 char *_kwnames
[] = { "self","size", NULL
};
3012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxCaret_SetSize",_kwnames
,&_argo0
,&_obj1
))
3015 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3016 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
3017 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_SetSize. Expected _wxCaret_p.");
3023 if (! wxSize_helper(_obj1
, &_arg1
))
3027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3028 wxCaret_SetSize(_arg0
,*_arg1
);
3030 wxPyEndAllowThreads(__tstate
);
3031 if (PyErr_Occurred()) return NULL
;
3032 } Py_INCREF(Py_None
);
3033 _resultobj
= Py_None
;
3037 #define wxCaret_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
3038 static PyObject
*_wrap_wxCaret_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3039 PyObject
* _resultobj
;
3041 int _arg1
= (int ) TRUE
;
3042 PyObject
* _argo0
= 0;
3043 char *_kwnames
[] = { "self","show", NULL
};
3046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxCaret_Show",_kwnames
,&_argo0
,&_arg1
))
3049 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3050 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
3051 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_Show. Expected _wxCaret_p.");
3056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3057 wxCaret_Show(_arg0
,_arg1
);
3059 wxPyEndAllowThreads(__tstate
);
3060 if (PyErr_Occurred()) return NULL
;
3061 } Py_INCREF(Py_None
);
3062 _resultobj
= Py_None
;
3066 #define wxCaret_Hide(_swigobj) (_swigobj->Hide())
3067 static PyObject
*_wrap_wxCaret_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3068 PyObject
* _resultobj
;
3070 PyObject
* _argo0
= 0;
3071 char *_kwnames
[] = { "self", NULL
};
3074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_Hide",_kwnames
,&_argo0
))
3077 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3078 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
3079 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_Hide. Expected _wxCaret_p.");
3084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3085 wxCaret_Hide(_arg0
);
3087 wxPyEndAllowThreads(__tstate
);
3088 if (PyErr_Occurred()) return NULL
;
3089 } Py_INCREF(Py_None
);
3090 _resultobj
= Py_None
;
3094 #define new_wxBusyCursor(_swigarg0) (new wxBusyCursor(_swigarg0))
3095 static PyObject
*_wrap_new_wxBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3096 PyObject
* _resultobj
;
3097 wxBusyCursor
* _result
;
3098 wxCursor
* _arg0
= (wxCursor
*) wxHOURGLASS_CURSOR
;
3099 PyObject
* _argo0
= 0;
3100 char *_kwnames
[] = { "cursor", NULL
};
3104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxBusyCursor",_kwnames
,&_argo0
))
3107 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3108 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
3109 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxBusyCursor. Expected _wxCursor_p.");
3114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3115 _result
= (wxBusyCursor
*)new_wxBusyCursor(_arg0
);
3117 wxPyEndAllowThreads(__tstate
);
3118 if (PyErr_Occurred()) return NULL
;
3120 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBusyCursor_p");
3121 _resultobj
= Py_BuildValue("s",_ptemp
);
3124 _resultobj
= Py_None
;
3129 #define delete_wxBusyCursor(_swigobj) (delete _swigobj)
3130 static PyObject
*_wrap_delete_wxBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3131 PyObject
* _resultobj
;
3132 wxBusyCursor
* _arg0
;
3133 PyObject
* _argo0
= 0;
3134 char *_kwnames
[] = { "self", NULL
};
3137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxBusyCursor",_kwnames
,&_argo0
))
3140 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3141 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBusyCursor_p")) {
3142 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxBusyCursor. Expected _wxBusyCursor_p.");
3147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3148 delete_wxBusyCursor(_arg0
);
3150 wxPyEndAllowThreads(__tstate
);
3151 if (PyErr_Occurred()) return NULL
;
3152 } Py_INCREF(Py_None
);
3153 _resultobj
= Py_None
;
3157 #define new_wxWindowDisabler(_swigarg0) (new wxWindowDisabler(_swigarg0))
3158 static PyObject
*_wrap_new_wxWindowDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3159 PyObject
* _resultobj
;
3160 wxWindowDisabler
* _result
;
3161 wxWindow
* _arg0
= (wxWindow
*) NULL
;
3162 PyObject
* _argo0
= 0;
3163 char *_kwnames
[] = { "winToSkip", NULL
};
3167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxWindowDisabler",_kwnames
,&_argo0
))
3170 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3171 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3172 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxWindowDisabler. Expected _wxWindow_p.");
3177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3178 _result
= (wxWindowDisabler
*)new_wxWindowDisabler(_arg0
);
3180 wxPyEndAllowThreads(__tstate
);
3181 if (PyErr_Occurred()) return NULL
;
3183 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindowDisabler_p");
3184 _resultobj
= Py_BuildValue("s",_ptemp
);
3187 _resultobj
= Py_None
;
3192 #define delete_wxWindowDisabler(_swigobj) (delete _swigobj)
3193 static PyObject
*_wrap_delete_wxWindowDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3194 PyObject
* _resultobj
;
3195 wxWindowDisabler
* _arg0
;
3196 PyObject
* _argo0
= 0;
3197 char *_kwnames
[] = { "self", NULL
};
3200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxWindowDisabler",_kwnames
,&_argo0
))
3203 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3204 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindowDisabler_p")) {
3205 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxWindowDisabler. Expected _wxWindowDisabler_p.");
3210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3211 delete_wxWindowDisabler(_arg0
);
3213 wxPyEndAllowThreads(__tstate
);
3214 if (PyErr_Occurred()) return NULL
;
3215 } Py_INCREF(Py_None
);
3216 _resultobj
= Py_None
;
3220 #define new_wxMutexGuiLocker() (new wxMutexGuiLocker())
3221 static PyObject
*_wrap_new_wxMutexGuiLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3222 PyObject
* _resultobj
;
3223 wxMutexGuiLocker
* _result
;
3224 char *_kwnames
[] = { NULL
};
3228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxMutexGuiLocker",_kwnames
))
3231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3232 _result
= (wxMutexGuiLocker
*)new_wxMutexGuiLocker();
3234 wxPyEndAllowThreads(__tstate
);
3235 if (PyErr_Occurred()) return NULL
;
3237 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMutexGuiLocker_p");
3238 _resultobj
= Py_BuildValue("s",_ptemp
);
3241 _resultobj
= Py_None
;
3246 #define delete_wxMutexGuiLocker(_swigobj) (delete _swigobj)
3247 static PyObject
*_wrap_delete_wxMutexGuiLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3248 PyObject
* _resultobj
;
3249 wxMutexGuiLocker
* _arg0
;
3250 PyObject
* _argo0
= 0;
3251 char *_kwnames
[] = { "self", NULL
};
3254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxMutexGuiLocker",_kwnames
,&_argo0
))
3257 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3258 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMutexGuiLocker_p")) {
3259 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxMutexGuiLocker. Expected _wxMutexGuiLocker_p.");
3264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3265 delete_wxMutexGuiLocker(_arg0
);
3267 wxPyEndAllowThreads(__tstate
);
3268 if (PyErr_Occurred()) return NULL
;
3269 } Py_INCREF(Py_None
);
3270 _resultobj
= Py_None
;
3274 #define delete_wxTipProvider(_swigobj) (delete _swigobj)
3275 static PyObject
*_wrap_delete_wxTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3276 PyObject
* _resultobj
;
3277 wxTipProvider
* _arg0
;
3278 PyObject
* _argo0
= 0;
3279 char *_kwnames
[] = { "self", NULL
};
3282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxTipProvider",_kwnames
,&_argo0
))
3285 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3286 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTipProvider_p")) {
3287 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxTipProvider. Expected _wxTipProvider_p.");
3292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3293 delete_wxTipProvider(_arg0
);
3295 wxPyEndAllowThreads(__tstate
);
3296 if (PyErr_Occurred()) return NULL
;
3297 } Py_INCREF(Py_None
);
3298 _resultobj
= Py_None
;
3302 #define wxTipProvider_GetTip(_swigobj) (_swigobj->GetTip())
3303 static PyObject
*_wrap_wxTipProvider_GetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3304 PyObject
* _resultobj
;
3306 wxTipProvider
* _arg0
;
3307 PyObject
* _argo0
= 0;
3308 char *_kwnames
[] = { "self", NULL
};
3311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTipProvider_GetTip",_kwnames
,&_argo0
))
3314 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3315 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTipProvider_p")) {
3316 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTipProvider_GetTip. Expected _wxTipProvider_p.");
3321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3322 _result
= new wxString (wxTipProvider_GetTip(_arg0
));
3324 wxPyEndAllowThreads(__tstate
);
3325 if (PyErr_Occurred()) return NULL
;
3328 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
3330 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3339 #define wxTipProvider_GetCurrentTip(_swigobj) (_swigobj->GetCurrentTip())
3340 static PyObject
*_wrap_wxTipProvider_GetCurrentTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3341 PyObject
* _resultobj
;
3343 wxTipProvider
* _arg0
;
3344 PyObject
* _argo0
= 0;
3345 char *_kwnames
[] = { "self", NULL
};
3348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTipProvider_GetCurrentTip",_kwnames
,&_argo0
))
3351 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3352 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTipProvider_p")) {
3353 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTipProvider_GetCurrentTip. Expected _wxTipProvider_p.");
3358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3359 _result
= (size_t )wxTipProvider_GetCurrentTip(_arg0
);
3361 wxPyEndAllowThreads(__tstate
);
3362 if (PyErr_Occurred()) return NULL
;
3363 } _resultobj
= Py_BuildValue("i",_result
);
3367 #define wxTipProvider_PreprocessTip(_swigobj,_swigarg0) (_swigobj->PreprocessTip(_swigarg0))
3368 static PyObject
*_wrap_wxTipProvider_PreprocessTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3369 PyObject
* _resultobj
;
3371 wxTipProvider
* _arg0
;
3373 PyObject
* _argo0
= 0;
3374 PyObject
* _obj1
= 0;
3375 char *_kwnames
[] = { "self","tip", NULL
};
3378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTipProvider_PreprocessTip",_kwnames
,&_argo0
,&_obj1
))
3381 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3382 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTipProvider_p")) {
3383 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTipProvider_PreprocessTip. Expected _wxTipProvider_p.");
3388 _arg1
= wxString_in_helper(_obj1
);
3393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3394 _result
= new wxString (wxTipProvider_PreprocessTip(_arg0
,*_arg1
));
3396 wxPyEndAllowThreads(__tstate
);
3397 if (PyErr_Occurred()) return NULL
;
3400 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
3402 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3415 static void *SwigwxPyTipProviderTowxTipProvider(void *ptr
) {
3416 wxPyTipProvider
*src
;
3417 wxTipProvider
*dest
;
3418 src
= (wxPyTipProvider
*) ptr
;
3419 dest
= (wxTipProvider
*) src
;
3420 return (void *) dest
;
3423 #define new_wxPyTipProvider(_swigarg0) (new wxPyTipProvider(_swigarg0))
3424 static PyObject
*_wrap_new_wxPyTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3425 PyObject
* _resultobj
;
3426 wxPyTipProvider
* _result
;
3428 char *_kwnames
[] = { "currentTip", NULL
};
3432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:new_wxPyTipProvider",_kwnames
,&_arg0
))
3435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3436 _result
= (wxPyTipProvider
*)new_wxPyTipProvider(_arg0
);
3438 wxPyEndAllowThreads(__tstate
);
3439 if (PyErr_Occurred()) return NULL
;
3441 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTipProvider_p");
3442 _resultobj
= Py_BuildValue("s",_ptemp
);
3445 _resultobj
= Py_None
;
3450 #define wxPyTipProvider__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
3451 static PyObject
*_wrap_wxPyTipProvider__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3452 PyObject
* _resultobj
;
3453 wxPyTipProvider
* _arg0
;
3456 PyObject
* _argo0
= 0;
3457 PyObject
* _obj1
= 0;
3458 PyObject
* _obj2
= 0;
3459 char *_kwnames
[] = { "self","self","_class", NULL
};
3462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyTipProvider__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
3465 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3466 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTipProvider_p")) {
3467 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTipProvider__setCallbackInfo. Expected _wxPyTipProvider_p.");
3478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3479 wxPyTipProvider__setCallbackInfo(_arg0
,_arg1
,_arg2
);
3481 wxPyEndAllowThreads(__tstate
);
3482 if (PyErr_Occurred()) return NULL
;
3483 } Py_INCREF(Py_None
);
3484 _resultobj
= Py_None
;
3488 static void *SwigwxGenericDragImageTowxObject(void *ptr
) {
3489 wxGenericDragImage
*src
;
3491 src
= (wxGenericDragImage
*) ptr
;
3492 dest
= (wxObject
*) src
;
3493 return (void *) dest
;
3496 #define new_wxDragImage(_swigarg0,_swigarg1) (new wxGenericDragImage(_swigarg0,_swigarg1))
3497 static PyObject
*_wrap_new_wxDragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3498 PyObject
* _resultobj
;
3499 wxGenericDragImage
* _result
;
3501 wxCursor
* _arg1
= (wxCursor
*) &wxNullCursor
;
3502 PyObject
* _argo0
= 0;
3503 PyObject
* _argo1
= 0;
3504 char *_kwnames
[] = { "image","cursor", NULL
};
3508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:new_wxDragImage",_kwnames
,&_argo0
,&_argo1
))
3511 if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
3512 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDragImage. Expected _wxBitmap_p.");
3517 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCursor_p")) {
3518 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxDragImage. Expected _wxCursor_p.");
3523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3524 _result
= (wxGenericDragImage
*)new_wxDragImage(*_arg0
,*_arg1
);
3526 wxPyEndAllowThreads(__tstate
);
3527 if (PyErr_Occurred()) return NULL
;
3529 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
3530 _resultobj
= Py_BuildValue("s",_ptemp
);
3533 _resultobj
= Py_None
;
3538 #define new_wxDragIcon(_swigarg0,_swigarg1) (new wxGenericDragImage(_swigarg0,_swigarg1))
3539 static PyObject
*_wrap_new_wxDragIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3540 PyObject
* _resultobj
;
3541 wxGenericDragImage
* _result
;
3543 wxCursor
* _arg1
= (wxCursor
*) &wxNullCursor
;
3544 PyObject
* _argo0
= 0;
3545 PyObject
* _argo1
= 0;
3546 char *_kwnames
[] = { "image","cursor", NULL
};
3550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:new_wxDragIcon",_kwnames
,&_argo0
,&_argo1
))
3553 if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
3554 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDragIcon. Expected _wxIcon_p.");
3559 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCursor_p")) {
3560 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxDragIcon. Expected _wxCursor_p.");
3565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3566 _result
= (wxGenericDragImage
*)new_wxDragIcon(*_arg0
,*_arg1
);
3568 wxPyEndAllowThreads(__tstate
);
3569 if (PyErr_Occurred()) return NULL
;
3571 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
3572 _resultobj
= Py_BuildValue("s",_ptemp
);
3575 _resultobj
= Py_None
;
3580 #define new_wxDragString(_swigarg0,_swigarg1) (new wxGenericDragImage(_swigarg0,_swigarg1))
3581 static PyObject
*_wrap_new_wxDragString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3582 PyObject
* _resultobj
;
3583 wxGenericDragImage
* _result
;
3585 wxCursor
* _arg1
= (wxCursor
*) &wxNullCursor
;
3586 PyObject
* _obj0
= 0;
3587 PyObject
* _argo1
= 0;
3588 char *_kwnames
[] = { "str","cursor", NULL
};
3592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:new_wxDragString",_kwnames
,&_obj0
,&_argo1
))
3595 _arg0
= wxString_in_helper(_obj0
);
3600 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCursor_p")) {
3601 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxDragString. Expected _wxCursor_p.");
3606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3607 _result
= (wxGenericDragImage
*)new_wxDragString(*_arg0
,*_arg1
);
3609 wxPyEndAllowThreads(__tstate
);
3610 if (PyErr_Occurred()) return NULL
;
3612 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
3613 _resultobj
= Py_BuildValue("s",_ptemp
);
3616 _resultobj
= Py_None
;
3625 #define new_wxDragTreeItem(_swigarg0,_swigarg1) (new wxGenericDragImage(_swigarg0,_swigarg1))
3626 static PyObject
*_wrap_new_wxDragTreeItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3627 PyObject
* _resultobj
;
3628 wxGenericDragImage
* _result
;
3630 wxTreeItemId
* _arg1
;
3631 PyObject
* _argo0
= 0;
3632 PyObject
* _argo1
= 0;
3633 char *_kwnames
[] = { "treeCtrl","id", NULL
};
3637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:new_wxDragTreeItem",_kwnames
,&_argo0
,&_argo1
))
3640 if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3641 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDragTreeItem. Expected _wxTreeCtrl_p.");
3646 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3647 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxDragTreeItem. Expected _wxTreeItemId_p.");
3652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3653 _result
= (wxGenericDragImage
*)new_wxDragTreeItem(*_arg0
,*_arg1
);
3655 wxPyEndAllowThreads(__tstate
);
3656 if (PyErr_Occurred()) return NULL
;
3658 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
3659 _resultobj
= Py_BuildValue("s",_ptemp
);
3662 _resultobj
= Py_None
;
3667 #define new_wxDragListItem(_swigarg0,_swigarg1) (new wxGenericDragImage(_swigarg0,_swigarg1))
3668 static PyObject
*_wrap_new_wxDragListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3669 PyObject
* _resultobj
;
3670 wxGenericDragImage
* _result
;
3673 PyObject
* _argo0
= 0;
3674 char *_kwnames
[] = { "listCtrl","id", NULL
};
3678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:new_wxDragListItem",_kwnames
,&_argo0
,&_arg1
))
3681 if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3682 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDragListItem. Expected _wxListCtrl_p.");
3687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3688 _result
= (wxGenericDragImage
*)new_wxDragListItem(*_arg0
,_arg1
);
3690 wxPyEndAllowThreads(__tstate
);
3691 if (PyErr_Occurred()) return NULL
;
3693 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
3694 _resultobj
= Py_BuildValue("s",_ptemp
);
3697 _resultobj
= Py_None
;
3702 #define delete_wxGenericDragImage(_swigobj) (delete _swigobj)
3703 static PyObject
*_wrap_delete_wxDragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3704 PyObject
* _resultobj
;
3705 wxGenericDragImage
* _arg0
;
3706 PyObject
* _argo0
= 0;
3707 char *_kwnames
[] = { "self", NULL
};
3710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxDragImage",_kwnames
,&_argo0
))
3713 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3714 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3715 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxDragImage. Expected _wxGenericDragImage_p.");
3720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3721 delete_wxGenericDragImage(_arg0
);
3723 wxPyEndAllowThreads(__tstate
);
3724 if (PyErr_Occurred()) return NULL
;
3725 } Py_INCREF(Py_None
);
3726 _resultobj
= Py_None
;
3730 #define wxDragImage_SetBackingBitmap(_swigobj,_swigarg0) (_swigobj->SetBackingBitmap(_swigarg0))
3731 static PyObject
*_wrap_wxDragImage_SetBackingBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3732 PyObject
* _resultobj
;
3733 wxGenericDragImage
* _arg0
;
3735 PyObject
* _argo0
= 0;
3736 PyObject
* _argo1
= 0;
3737 char *_kwnames
[] = { "self","bitmap", NULL
};
3740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDragImage_SetBackingBitmap",_kwnames
,&_argo0
,&_argo1
))
3743 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3744 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3745 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_SetBackingBitmap. Expected _wxGenericDragImage_p.");
3750 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3751 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
3752 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDragImage_SetBackingBitmap. Expected _wxBitmap_p.");
3757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3758 wxDragImage_SetBackingBitmap(_arg0
,_arg1
);
3760 wxPyEndAllowThreads(__tstate
);
3761 if (PyErr_Occurred()) return NULL
;
3762 } Py_INCREF(Py_None
);
3763 _resultobj
= Py_None
;
3767 #define wxDragImage_BeginDrag(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->BeginDrag(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3768 static PyObject
*_wrap_wxDragImage_BeginDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3769 PyObject
* _resultobj
;
3771 wxGenericDragImage
* _arg0
;
3774 bool _arg3
= (bool ) FALSE
;
3775 wxRect
* _arg4
= (wxRect
*) NULL
;
3776 PyObject
* _argo0
= 0;
3778 PyObject
* _obj1
= 0;
3779 PyObject
* _argo2
= 0;
3780 int tempbool3
= (int) FALSE
;
3782 PyObject
* _obj4
= 0;
3783 char *_kwnames
[] = { "self","hotspot","window","fullScreen","rect", NULL
};
3786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|iO:wxDragImage_BeginDrag",_kwnames
,&_argo0
,&_obj1
,&_argo2
,&tempbool3
,&_obj4
))
3789 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3790 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3791 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_BeginDrag. Expected _wxGenericDragImage_p.");
3797 if (! wxPoint_helper(_obj1
, &_arg1
))
3801 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3802 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
3803 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxDragImage_BeginDrag. Expected _wxWindow_p.");
3807 _arg3
= (bool ) tempbool3
;
3811 if (! wxRect_helper(_obj4
, &_arg4
))
3815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3816 _result
= (bool )wxDragImage_BeginDrag(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
);
3818 wxPyEndAllowThreads(__tstate
);
3819 if (PyErr_Occurred()) return NULL
;
3820 } _resultobj
= Py_BuildValue("i",_result
);
3824 #define wxDragImage_BeginDragBounded(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->BeginDrag(_swigarg0,_swigarg1,_swigarg2))
3825 static PyObject
*_wrap_wxDragImage_BeginDragBounded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3826 PyObject
* _resultobj
;
3828 wxGenericDragImage
* _arg0
;
3832 PyObject
* _argo0
= 0;
3834 PyObject
* _obj1
= 0;
3835 PyObject
* _argo2
= 0;
3836 PyObject
* _argo3
= 0;
3837 char *_kwnames
[] = { "self","hotspot","window","boundingWindow", NULL
};
3840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO:wxDragImage_BeginDragBounded",_kwnames
,&_argo0
,&_obj1
,&_argo2
,&_argo3
))
3843 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3844 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3845 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_BeginDragBounded. Expected _wxGenericDragImage_p.");
3851 if (! wxPoint_helper(_obj1
, &_arg1
))
3855 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3856 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
3857 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxDragImage_BeginDragBounded. Expected _wxWindow_p.");
3862 if (_argo3
== Py_None
) { _arg3
= NULL
; }
3863 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxWindow_p")) {
3864 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxDragImage_BeginDragBounded. Expected _wxWindow_p.");
3869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3870 _result
= (bool )wxDragImage_BeginDragBounded(_arg0
,*_arg1
,_arg2
,_arg3
);
3872 wxPyEndAllowThreads(__tstate
);
3873 if (PyErr_Occurred()) return NULL
;
3874 } _resultobj
= Py_BuildValue("i",_result
);
3878 #define wxDragImage_EndDrag(_swigobj) (_swigobj->EndDrag())
3879 static PyObject
*_wrap_wxDragImage_EndDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3880 PyObject
* _resultobj
;
3882 wxGenericDragImage
* _arg0
;
3883 PyObject
* _argo0
= 0;
3884 char *_kwnames
[] = { "self", NULL
};
3887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDragImage_EndDrag",_kwnames
,&_argo0
))
3890 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3891 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3892 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_EndDrag. Expected _wxGenericDragImage_p.");
3897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3898 _result
= (bool )wxDragImage_EndDrag(_arg0
);
3900 wxPyEndAllowThreads(__tstate
);
3901 if (PyErr_Occurred()) return NULL
;
3902 } _resultobj
= Py_BuildValue("i",_result
);
3906 #define wxDragImage_Move(_swigobj,_swigarg0) (_swigobj->Move(_swigarg0))
3907 static PyObject
*_wrap_wxDragImage_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3908 PyObject
* _resultobj
;
3910 wxGenericDragImage
* _arg0
;
3912 PyObject
* _argo0
= 0;
3914 PyObject
* _obj1
= 0;
3915 char *_kwnames
[] = { "self","pt", NULL
};
3918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDragImage_Move",_kwnames
,&_argo0
,&_obj1
))
3921 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3922 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3923 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_Move. Expected _wxGenericDragImage_p.");
3929 if (! wxPoint_helper(_obj1
, &_arg1
))
3933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3934 _result
= (bool )wxDragImage_Move(_arg0
,*_arg1
);
3936 wxPyEndAllowThreads(__tstate
);
3937 if (PyErr_Occurred()) return NULL
;
3938 } _resultobj
= Py_BuildValue("i",_result
);
3942 #define wxDragImage_Show(_swigobj) (_swigobj->Show())
3943 static PyObject
*_wrap_wxDragImage_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3944 PyObject
* _resultobj
;
3946 wxGenericDragImage
* _arg0
;
3947 PyObject
* _argo0
= 0;
3948 char *_kwnames
[] = { "self", NULL
};
3951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDragImage_Show",_kwnames
,&_argo0
))
3954 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3955 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3956 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_Show. Expected _wxGenericDragImage_p.");
3961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3962 _result
= (bool )wxDragImage_Show(_arg0
);
3964 wxPyEndAllowThreads(__tstate
);
3965 if (PyErr_Occurred()) return NULL
;
3966 } _resultobj
= Py_BuildValue("i",_result
);
3970 #define wxDragImage_Hide(_swigobj) (_swigobj->Hide())
3971 static PyObject
*_wrap_wxDragImage_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3972 PyObject
* _resultobj
;
3974 wxGenericDragImage
* _arg0
;
3975 PyObject
* _argo0
= 0;
3976 char *_kwnames
[] = { "self", NULL
};
3979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDragImage_Hide",_kwnames
,&_argo0
))
3982 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3983 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3984 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_Hide. Expected _wxGenericDragImage_p.");
3989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3990 _result
= (bool )wxDragImage_Hide(_arg0
);
3992 wxPyEndAllowThreads(__tstate
);
3993 if (PyErr_Occurred()) return NULL
;
3994 } _resultobj
= Py_BuildValue("i",_result
);
3998 #define wxDragImage_GetImageRect(_swigobj,_swigarg0) (_swigobj->GetImageRect(_swigarg0))
3999 static PyObject
*_wrap_wxDragImage_GetImageRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4000 PyObject
* _resultobj
;
4002 wxGenericDragImage
* _arg0
;
4004 PyObject
* _argo0
= 0;
4006 PyObject
* _obj1
= 0;
4007 char *_kwnames
[] = { "self","pos", NULL
};
4011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDragImage_GetImageRect",_kwnames
,&_argo0
,&_obj1
))
4014 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4015 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
4016 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_GetImageRect. Expected _wxGenericDragImage_p.");
4022 if (! wxPoint_helper(_obj1
, &_arg1
))
4026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4027 _result
= new wxRect (wxDragImage_GetImageRect(_arg0
,*_arg1
));
4029 wxPyEndAllowThreads(__tstate
);
4030 if (PyErr_Occurred()) return NULL
;
4031 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
4032 _resultobj
= Py_BuildValue("s",_ptemp
);
4036 #define wxDragImage_RedrawImage(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->RedrawImage(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4037 static PyObject
*_wrap_wxDragImage_RedrawImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4038 PyObject
* _resultobj
;
4040 wxGenericDragImage
* _arg0
;
4045 PyObject
* _argo0
= 0;
4047 PyObject
* _obj1
= 0;
4049 PyObject
* _obj2
= 0;
4052 char *_kwnames
[] = { "self","oldPos","newPos","eraseOld","drawNew", NULL
};
4055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOii:wxDragImage_RedrawImage",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&tempbool3
,&tempbool4
))
4058 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4059 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
4060 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_RedrawImage. Expected _wxGenericDragImage_p.");
4066 if (! wxPoint_helper(_obj1
, &_arg1
))
4071 if (! wxPoint_helper(_obj2
, &_arg2
))
4074 _arg3
= (bool ) tempbool3
;
4075 _arg4
= (bool ) tempbool4
;
4077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4078 _result
= (bool )wxDragImage_RedrawImage(_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
);
4080 wxPyEndAllowThreads(__tstate
);
4081 if (PyErr_Occurred()) return NULL
;
4082 } _resultobj
= Py_BuildValue("i",_result
);
4086 static void *SwigwxPyTimerTowxObject(void *ptr
) {
4089 src
= (wxPyTimer
*) ptr
;
4090 dest
= (wxObject
*) src
;
4091 return (void *) dest
;
4094 #define new_wxPyTimer(_swigarg0) (new wxPyTimer(_swigarg0))
4095 static PyObject
*_wrap_new_wxPyTimer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4096 PyObject
* _resultobj
;
4097 wxPyTimer
* _result
;
4099 PyObject
* _obj0
= 0;
4100 char *_kwnames
[] = { "notify", NULL
};
4104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxPyTimer",_kwnames
,&_obj0
))
4110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4111 _result
= (wxPyTimer
*)new_wxPyTimer(_arg0
);
4113 wxPyEndAllowThreads(__tstate
);
4114 if (PyErr_Occurred()) return NULL
;
4116 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTimer_p");
4117 _resultobj
= Py_BuildValue("s",_ptemp
);
4120 _resultobj
= Py_None
;
4125 #define delete_wxPyTimer(_swigobj) (delete _swigobj)
4126 static PyObject
*_wrap_delete_wxPyTimer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4127 PyObject
* _resultobj
;
4129 PyObject
* _argo0
= 0;
4130 char *_kwnames
[] = { "self", NULL
};
4133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPyTimer",_kwnames
,&_argo0
))
4136 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4137 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4138 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPyTimer. Expected _wxPyTimer_p.");
4143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4144 delete_wxPyTimer(_arg0
);
4146 wxPyEndAllowThreads(__tstate
);
4147 if (PyErr_Occurred()) return NULL
;
4148 } Py_INCREF(Py_None
);
4149 _resultobj
= Py_None
;
4153 #define wxPyTimer_GetInterval(_swigobj) (_swigobj->GetInterval())
4154 static PyObject
*_wrap_wxPyTimer_GetInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4155 PyObject
* _resultobj
;
4158 PyObject
* _argo0
= 0;
4159 char *_kwnames
[] = { "self", NULL
};
4162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_GetInterval",_kwnames
,&_argo0
))
4165 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4166 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4167 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_GetInterval. Expected _wxPyTimer_p.");
4172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4173 _result
= (int )wxPyTimer_GetInterval(_arg0
);
4175 wxPyEndAllowThreads(__tstate
);
4176 if (PyErr_Occurred()) return NULL
;
4177 } _resultobj
= Py_BuildValue("i",_result
);
4181 #define wxPyTimer_IsOneShot(_swigobj) (_swigobj->IsOneShot())
4182 static PyObject
*_wrap_wxPyTimer_IsOneShot(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4183 PyObject
* _resultobj
;
4186 PyObject
* _argo0
= 0;
4187 char *_kwnames
[] = { "self", NULL
};
4190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_IsOneShot",_kwnames
,&_argo0
))
4193 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4194 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4195 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_IsOneShot. Expected _wxPyTimer_p.");
4200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4201 _result
= (bool )wxPyTimer_IsOneShot(_arg0
);
4203 wxPyEndAllowThreads(__tstate
);
4204 if (PyErr_Occurred()) return NULL
;
4205 } _resultobj
= Py_BuildValue("i",_result
);
4209 #define wxPyTimer_IsRunning(_swigobj) (_swigobj->IsRunning())
4210 static PyObject
*_wrap_wxPyTimer_IsRunning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4211 PyObject
* _resultobj
;
4214 PyObject
* _argo0
= 0;
4215 char *_kwnames
[] = { "self", NULL
};
4218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_IsRunning",_kwnames
,&_argo0
))
4221 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4222 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4223 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_IsRunning. Expected _wxPyTimer_p.");
4228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4229 _result
= (bool )wxPyTimer_IsRunning(_arg0
);
4231 wxPyEndAllowThreads(__tstate
);
4232 if (PyErr_Occurred()) return NULL
;
4233 } _resultobj
= Py_BuildValue("i",_result
);
4237 #define wxPyTimer_SetOwner(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetOwner(_swigarg0,_swigarg1))
4238 static PyObject
*_wrap_wxPyTimer_SetOwner(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4239 PyObject
* _resultobj
;
4241 wxEvtHandler
* _arg1
;
4242 int _arg2
= (int ) -1;
4243 PyObject
* _argo0
= 0;
4244 PyObject
* _argo1
= 0;
4245 char *_kwnames
[] = { "self","owner","id", NULL
};
4248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxPyTimer_SetOwner",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
4251 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4252 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4253 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_SetOwner. Expected _wxPyTimer_p.");
4258 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4259 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
4260 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyTimer_SetOwner. Expected _wxEvtHandler_p.");
4265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4266 wxPyTimer_SetOwner(_arg0
,_arg1
,_arg2
);
4268 wxPyEndAllowThreads(__tstate
);
4269 if (PyErr_Occurred()) return NULL
;
4270 } Py_INCREF(Py_None
);
4271 _resultobj
= Py_None
;
4275 #define wxPyTimer_Start(_swigobj,_swigarg0,_swigarg1) (_swigobj->Start(_swigarg0,_swigarg1))
4276 static PyObject
*_wrap_wxPyTimer_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4277 PyObject
* _resultobj
;
4279 int _arg1
= (int ) -1;
4280 int _arg2
= (int ) FALSE
;
4281 PyObject
* _argo0
= 0;
4282 char *_kwnames
[] = { "self","milliseconds","oneShot", NULL
};
4285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxPyTimer_Start",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4288 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4289 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4290 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_Start. Expected _wxPyTimer_p.");
4295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4296 wxPyTimer_Start(_arg0
,_arg1
,_arg2
);
4298 wxPyEndAllowThreads(__tstate
);
4299 if (PyErr_Occurred()) return NULL
;
4300 } Py_INCREF(Py_None
);
4301 _resultobj
= Py_None
;
4305 #define wxPyTimer_Stop(_swigobj) (_swigobj->Stop())
4306 static PyObject
*_wrap_wxPyTimer_Stop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4307 PyObject
* _resultobj
;
4309 PyObject
* _argo0
= 0;
4310 char *_kwnames
[] = { "self", NULL
};
4313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_Stop",_kwnames
,&_argo0
))
4316 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4317 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4318 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_Stop. Expected _wxPyTimer_p.");
4323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4324 wxPyTimer_Stop(_arg0
);
4326 wxPyEndAllowThreads(__tstate
);
4327 if (PyErr_Occurred()) return NULL
;
4328 } Py_INCREF(Py_None
);
4329 _resultobj
= Py_None
;
4333 #define new_wxStopWatch() (new wxStopWatch())
4334 static PyObject
*_wrap_new_wxStopWatch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4335 PyObject
* _resultobj
;
4336 wxStopWatch
* _result
;
4337 char *_kwnames
[] = { NULL
};
4341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxStopWatch",_kwnames
))
4344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4345 _result
= (wxStopWatch
*)new_wxStopWatch();
4347 wxPyEndAllowThreads(__tstate
);
4348 if (PyErr_Occurred()) return NULL
;
4350 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStopWatch_p");
4351 _resultobj
= Py_BuildValue("s",_ptemp
);
4354 _resultobj
= Py_None
;
4359 #define delete_wxStopWatch(_swigobj) (delete _swigobj)
4360 static PyObject
*_wrap_delete_wxStopWatch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4361 PyObject
* _resultobj
;
4362 wxStopWatch
* _arg0
;
4363 PyObject
* _argo0
= 0;
4364 char *_kwnames
[] = { "self", NULL
};
4367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxStopWatch",_kwnames
,&_argo0
))
4370 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4371 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStopWatch_p")) {
4372 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxStopWatch. Expected _wxStopWatch_p.");
4377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4378 delete_wxStopWatch(_arg0
);
4380 wxPyEndAllowThreads(__tstate
);
4381 if (PyErr_Occurred()) return NULL
;
4382 } Py_INCREF(Py_None
);
4383 _resultobj
= Py_None
;
4387 #define wxStopWatch_Start(_swigobj,_swigarg0) (_swigobj->Start(_swigarg0))
4388 static PyObject
*_wrap_wxStopWatch_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4389 PyObject
* _resultobj
;
4390 wxStopWatch
* _arg0
;
4391 long _arg1
= (long ) 0;
4392 PyObject
* _argo0
= 0;
4393 char *_kwnames
[] = { "self","t", NULL
};
4396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|l:wxStopWatch_Start",_kwnames
,&_argo0
,&_arg1
))
4399 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4400 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStopWatch_p")) {
4401 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStopWatch_Start. Expected _wxStopWatch_p.");
4406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4407 wxStopWatch_Start(_arg0
,_arg1
);
4409 wxPyEndAllowThreads(__tstate
);
4410 if (PyErr_Occurred()) return NULL
;
4411 } Py_INCREF(Py_None
);
4412 _resultobj
= Py_None
;
4416 #define wxStopWatch_Pause(_swigobj) (_swigobj->Pause())
4417 static PyObject
*_wrap_wxStopWatch_Pause(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4418 PyObject
* _resultobj
;
4419 wxStopWatch
* _arg0
;
4420 PyObject
* _argo0
= 0;
4421 char *_kwnames
[] = { "self", NULL
};
4424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStopWatch_Pause",_kwnames
,&_argo0
))
4427 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4428 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStopWatch_p")) {
4429 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStopWatch_Pause. Expected _wxStopWatch_p.");
4434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4435 wxStopWatch_Pause(_arg0
);
4437 wxPyEndAllowThreads(__tstate
);
4438 if (PyErr_Occurred()) return NULL
;
4439 } Py_INCREF(Py_None
);
4440 _resultobj
= Py_None
;
4444 #define wxStopWatch_Resume(_swigobj) (_swigobj->Resume())
4445 static PyObject
*_wrap_wxStopWatch_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4446 PyObject
* _resultobj
;
4447 wxStopWatch
* _arg0
;
4448 PyObject
* _argo0
= 0;
4449 char *_kwnames
[] = { "self", NULL
};
4452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStopWatch_Resume",_kwnames
,&_argo0
))
4455 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4456 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStopWatch_p")) {
4457 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStopWatch_Resume. Expected _wxStopWatch_p.");
4462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4463 wxStopWatch_Resume(_arg0
);
4465 wxPyEndAllowThreads(__tstate
);
4466 if (PyErr_Occurred()) return NULL
;
4467 } Py_INCREF(Py_None
);
4468 _resultobj
= Py_None
;
4472 #define wxStopWatch_Time(_swigobj) (_swigobj->Time())
4473 static PyObject
*_wrap_wxStopWatch_Time(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4474 PyObject
* _resultobj
;
4476 wxStopWatch
* _arg0
;
4477 PyObject
* _argo0
= 0;
4478 char *_kwnames
[] = { "self", NULL
};
4481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStopWatch_Time",_kwnames
,&_argo0
))
4484 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4485 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStopWatch_p")) {
4486 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStopWatch_Time. Expected _wxStopWatch_p.");
4491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4492 _result
= (long )wxStopWatch_Time(_arg0
);
4494 wxPyEndAllowThreads(__tstate
);
4495 if (PyErr_Occurred()) return NULL
;
4496 } _resultobj
= Py_BuildValue("l",_result
);
4500 #define new_wxLog() (new wxLog())
4501 static PyObject
*_wrap_new_wxLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4502 PyObject
* _resultobj
;
4504 char *_kwnames
[] = { NULL
};
4508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLog",_kwnames
))
4511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4512 _result
= (wxLog
*)new_wxLog();
4514 wxPyEndAllowThreads(__tstate
);
4515 if (PyErr_Occurred()) return NULL
;
4517 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
4518 _resultobj
= Py_BuildValue("s",_ptemp
);
4521 _resultobj
= Py_None
;
4526 static PyObject
*_wrap_wxLog_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4527 PyObject
* _resultobj
;
4529 char *_kwnames
[] = { NULL
};
4532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_IsEnabled",_kwnames
))
4535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4536 _result
= (bool )wxLog::IsEnabled();
4538 wxPyEndAllowThreads(__tstate
);
4539 if (PyErr_Occurred()) return NULL
;
4540 } _resultobj
= Py_BuildValue("i",_result
);
4544 static PyObject
*_wrap_wxLog_EnableLogging(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4545 PyObject
* _resultobj
;
4547 bool _arg0
= (bool ) TRUE
;
4548 int tempbool0
= (int) TRUE
;
4549 char *_kwnames
[] = { "doIt", NULL
};
4552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:wxLog_EnableLogging",_kwnames
,&tempbool0
))
4554 _arg0
= (bool ) tempbool0
;
4556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4557 _result
= (bool )wxLog::EnableLogging(_arg0
);
4559 wxPyEndAllowThreads(__tstate
);
4560 if (PyErr_Occurred()) return NULL
;
4561 } _resultobj
= Py_BuildValue("i",_result
);
4565 static PyObject
*_wrap_wxLog_OnLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4566 PyObject
* _resultobj
;
4567 unsigned long _arg0
;
4569 int _arg2
= (int ) 0;
4570 PyObject
* _obj1
= 0;
4571 char *_kwnames
[] = { "level","szString","t", NULL
};
4574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"lO|i:wxLog_OnLog",_kwnames
,&_arg0
,&_obj1
,&_arg2
))
4577 _arg1
= wxString_in_helper(_obj1
);
4582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4583 wxLog::OnLog(_arg0
,*_arg1
,_arg2
);
4585 wxPyEndAllowThreads(__tstate
);
4586 if (PyErr_Occurred()) return NULL
;
4587 } Py_INCREF(Py_None
);
4588 _resultobj
= Py_None
;
4596 #define wxLog_Flush(_swigobj) (_swigobj->Flush())
4597 static PyObject
*_wrap_wxLog_Flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4598 PyObject
* _resultobj
;
4600 PyObject
* _argo0
= 0;
4601 char *_kwnames
[] = { "self", NULL
};
4604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_Flush",_kwnames
,&_argo0
))
4607 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4608 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
4609 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_Flush. Expected _wxLog_p.");
4614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4617 wxPyEndAllowThreads(__tstate
);
4618 if (PyErr_Occurred()) return NULL
;
4619 } Py_INCREF(Py_None
);
4620 _resultobj
= Py_None
;
4624 #define wxLog_HasPendingMessages(_swigobj) (_swigobj->HasPendingMessages())
4625 static PyObject
*_wrap_wxLog_HasPendingMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4626 PyObject
* _resultobj
;
4629 PyObject
* _argo0
= 0;
4630 char *_kwnames
[] = { "self", NULL
};
4633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_HasPendingMessages",_kwnames
,&_argo0
))
4636 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4637 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
4638 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_HasPendingMessages. Expected _wxLog_p.");
4643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4644 _result
= (bool )wxLog_HasPendingMessages(_arg0
);
4646 wxPyEndAllowThreads(__tstate
);
4647 if (PyErr_Occurred()) return NULL
;
4648 } _resultobj
= Py_BuildValue("i",_result
);
4652 static PyObject
*_wrap_wxLog_FlushActive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4653 PyObject
* _resultobj
;
4654 char *_kwnames
[] = { NULL
};
4657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_FlushActive",_kwnames
))
4660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4661 wxLog::FlushActive();
4663 wxPyEndAllowThreads(__tstate
);
4664 if (PyErr_Occurred()) return NULL
;
4665 } Py_INCREF(Py_None
);
4666 _resultobj
= Py_None
;
4670 static PyObject
*_wrap_wxLog_GetActiveTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4671 PyObject
* _resultobj
;
4673 char *_kwnames
[] = { NULL
};
4677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_GetActiveTarget",_kwnames
))
4680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4681 _result
= (wxLog
*)wxLog::GetActiveTarget();
4683 wxPyEndAllowThreads(__tstate
);
4684 if (PyErr_Occurred()) return NULL
;
4686 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
4687 _resultobj
= Py_BuildValue("s",_ptemp
);
4690 _resultobj
= Py_None
;
4695 static PyObject
*_wrap_wxLog_SetActiveTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4696 PyObject
* _resultobj
;
4699 PyObject
* _argo0
= 0;
4700 char *_kwnames
[] = { "pLogger", NULL
};
4704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_SetActiveTarget",_kwnames
,&_argo0
))
4707 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4708 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
4709 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_SetActiveTarget. Expected _wxLog_p.");
4714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4715 _result
= (wxLog
*)wxLog::SetActiveTarget(_arg0
);
4717 wxPyEndAllowThreads(__tstate
);
4718 if (PyErr_Occurred()) return NULL
;
4720 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
4721 _resultobj
= Py_BuildValue("s",_ptemp
);
4724 _resultobj
= Py_None
;
4729 static PyObject
*_wrap_wxLog_Suspend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4730 PyObject
* _resultobj
;
4731 char *_kwnames
[] = { NULL
};
4734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_Suspend",_kwnames
))
4737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4740 wxPyEndAllowThreads(__tstate
);
4741 if (PyErr_Occurred()) return NULL
;
4742 } Py_INCREF(Py_None
);
4743 _resultobj
= Py_None
;
4747 static PyObject
*_wrap_wxLog_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4748 PyObject
* _resultobj
;
4749 char *_kwnames
[] = { NULL
};
4752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_Resume",_kwnames
))
4755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4758 wxPyEndAllowThreads(__tstate
);
4759 if (PyErr_Occurred()) return NULL
;
4760 } Py_INCREF(Py_None
);
4761 _resultobj
= Py_None
;
4765 static PyObject
*_wrap_wxLog_SetVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4766 PyObject
* _resultobj
;
4767 bool _arg0
= (bool ) TRUE
;
4768 int tempbool0
= (int) TRUE
;
4769 char *_kwnames
[] = { "bVerbose", NULL
};
4772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:wxLog_SetVerbose",_kwnames
,&tempbool0
))
4774 _arg0
= (bool ) tempbool0
;
4776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4777 wxLog::SetVerbose(_arg0
);
4779 wxPyEndAllowThreads(__tstate
);
4780 if (PyErr_Occurred()) return NULL
;
4781 } Py_INCREF(Py_None
);
4782 _resultobj
= Py_None
;
4786 static PyObject
*_wrap_wxLog_DontCreateOnDemand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4787 PyObject
* _resultobj
;
4788 char *_kwnames
[] = { NULL
};
4791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_DontCreateOnDemand",_kwnames
))
4794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4795 wxLog::DontCreateOnDemand();
4797 wxPyEndAllowThreads(__tstate
);
4798 if (PyErr_Occurred()) return NULL
;
4799 } Py_INCREF(Py_None
);
4800 _resultobj
= Py_None
;
4804 static PyObject
*_wrap_wxLog_SetTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4805 PyObject
* _resultobj
;
4807 char *_kwnames
[] = { "ulMask", NULL
};
4810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:wxLog_SetTraceMask",_kwnames
,&_arg0
))
4813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4814 wxLog::SetTraceMask(_arg0
);
4816 wxPyEndAllowThreads(__tstate
);
4817 if (PyErr_Occurred()) return NULL
;
4818 } Py_INCREF(Py_None
);
4819 _resultobj
= Py_None
;
4823 static PyObject
*_wrap_wxLog_AddTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4824 PyObject
* _resultobj
;
4826 PyObject
* _obj0
= 0;
4827 char *_kwnames
[] = { "str", NULL
};
4830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_AddTraceMask",_kwnames
,&_obj0
))
4833 _arg0
= wxString_in_helper(_obj0
);
4838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4839 wxLog::AddTraceMask(*_arg0
);
4841 wxPyEndAllowThreads(__tstate
);
4842 if (PyErr_Occurred()) return NULL
;
4843 } Py_INCREF(Py_None
);
4844 _resultobj
= Py_None
;
4852 static PyObject
*_wrap_wxLog_RemoveTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4853 PyObject
* _resultobj
;
4855 PyObject
* _obj0
= 0;
4856 char *_kwnames
[] = { "str", NULL
};
4859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_RemoveTraceMask",_kwnames
,&_obj0
))
4862 _arg0
= wxString_in_helper(_obj0
);
4867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4868 wxLog::RemoveTraceMask(*_arg0
);
4870 wxPyEndAllowThreads(__tstate
);
4871 if (PyErr_Occurred()) return NULL
;
4872 } Py_INCREF(Py_None
);
4873 _resultobj
= Py_None
;
4881 static PyObject
*_wrap_wxLog_ClearTraceMasks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4882 PyObject
* _resultobj
;
4883 char *_kwnames
[] = { NULL
};
4886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_ClearTraceMasks",_kwnames
))
4889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4890 wxLog::ClearTraceMasks();
4892 wxPyEndAllowThreads(__tstate
);
4893 if (PyErr_Occurred()) return NULL
;
4894 } Py_INCREF(Py_None
);
4895 _resultobj
= Py_None
;
4899 static PyObject
*_wrap_wxLog_GetTraceMasks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4900 PyObject
* _resultobj
;
4901 wxArrayString
* _result
;
4902 char *_kwnames
[] = { NULL
};
4906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_GetTraceMasks",_kwnames
))
4909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4910 const wxArrayString
& _result_ref
= wxLog::GetTraceMasks();
4911 _result
= (wxArrayString
*) &_result_ref
;
4913 wxPyEndAllowThreads(__tstate
);
4914 if (PyErr_Occurred()) return NULL
;
4916 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxArrayString_p");
4917 _resultobj
= Py_BuildValue("s",_ptemp
);
4920 _resultobj
= Py_None
;
4925 static PyObject
*_wrap_wxLog_SetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4926 PyObject
* _resultobj
;
4928 PyObject
* _obj0
= 0;
4929 char *_kwnames
[] = { "ts", NULL
};
4932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_SetTimestamp",_kwnames
,&_obj0
))
4935 _arg0
= wxString_in_helper(_obj0
);
4940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4941 wxLog::SetTimestamp(*_arg0
);
4943 wxPyEndAllowThreads(__tstate
);
4944 if (PyErr_Occurred()) return NULL
;
4945 } Py_INCREF(Py_None
);
4946 _resultobj
= Py_None
;
4954 static PyObject
*_wrap_wxLog_GetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4955 PyObject
* _resultobj
;
4957 char *_kwnames
[] = { NULL
};
4960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_GetTimestamp",_kwnames
))
4963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4964 const wxString
& _result_ref
= wxLog::GetTimestamp();
4965 _result
= (wxString
*) &_result_ref
;
4967 wxPyEndAllowThreads(__tstate
);
4968 if (PyErr_Occurred()) return NULL
;
4971 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
4973 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
4979 #define wxLog_GetVerbose(_swigobj) (_swigobj->GetVerbose())
4980 static PyObject
*_wrap_wxLog_GetVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4981 PyObject
* _resultobj
;
4984 PyObject
* _argo0
= 0;
4985 char *_kwnames
[] = { "self", NULL
};
4988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_GetVerbose",_kwnames
,&_argo0
))
4991 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4992 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
4993 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_GetVerbose. Expected _wxLog_p.");
4998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4999 _result
= (bool )wxLog_GetVerbose(_arg0
);
5001 wxPyEndAllowThreads(__tstate
);
5002 if (PyErr_Occurred()) return NULL
;
5003 } _resultobj
= Py_BuildValue("i",_result
);
5007 static PyObject
*_wrap_wxLog_GetTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5008 PyObject
* _resultobj
;
5009 unsigned long _result
;
5010 char *_kwnames
[] = { NULL
};
5013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_GetTraceMask",_kwnames
))
5016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5017 _result
= (unsigned long )wxLog::GetTraceMask();
5019 wxPyEndAllowThreads(__tstate
);
5020 if (PyErr_Occurred()) return NULL
;
5021 } _resultobj
= Py_BuildValue("l",_result
);
5025 static PyObject
*_wrap_wxLog_IsAllowedTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5026 PyObject
* _resultobj
;
5029 PyObject
* _obj0
= 0;
5030 char *_kwnames
[] = { "mask", NULL
};
5033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_IsAllowedTraceMask",_kwnames
,&_obj0
))
5036 _arg0
= wxString_in_helper(_obj0
);
5041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5042 _result
= (bool )wxLog::IsAllowedTraceMask(*_arg0
);
5044 wxPyEndAllowThreads(__tstate
);
5045 if (PyErr_Occurred()) return NULL
;
5046 } _resultobj
= Py_BuildValue("i",_result
);
5054 static PyObject
*_wrap_wxLog_SetLogLevel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5055 PyObject
* _resultobj
;
5056 unsigned long _arg0
;
5057 char *_kwnames
[] = { "logLevel", NULL
};
5060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:wxLog_SetLogLevel",_kwnames
,&_arg0
))
5063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5064 wxLog::SetLogLevel(_arg0
);
5066 wxPyEndAllowThreads(__tstate
);
5067 if (PyErr_Occurred()) return NULL
;
5068 } Py_INCREF(Py_None
);
5069 _resultobj
= Py_None
;
5073 static PyObject
*_wrap_wxLog_GetLogLevel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5074 PyObject
* _resultobj
;
5075 unsigned long _result
;
5076 char *_kwnames
[] = { NULL
};
5079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_GetLogLevel",_kwnames
))
5082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5083 _result
= (unsigned long )wxLog::GetLogLevel();
5085 wxPyEndAllowThreads(__tstate
);
5086 if (PyErr_Occurred()) return NULL
;
5087 } _resultobj
= Py_BuildValue("l",_result
);
5091 static wxString
wxLog_TimeStamp(wxLog
*self
) {
5093 wxLog::TimeStamp(&msg
);
5096 static PyObject
*_wrap_wxLog_TimeStamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5097 PyObject
* _resultobj
;
5100 PyObject
* _argo0
= 0;
5101 char *_kwnames
[] = { "self", NULL
};
5104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_TimeStamp",_kwnames
,&_argo0
))
5107 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5108 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
5109 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_TimeStamp. Expected _wxLog_p.");
5114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5115 _result
= new wxString (wxLog_TimeStamp(_arg0
));
5117 wxPyEndAllowThreads(__tstate
);
5118 if (PyErr_Occurred()) return NULL
;
5121 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
5123 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5132 static void *SwigwxLogStderrTowxLog(void *ptr
) {
5135 src
= (wxLogStderr
*) ptr
;
5136 dest
= (wxLog
*) src
;
5137 return (void *) dest
;
5140 #define new_wxLogStderr() (new wxLogStderr())
5141 static PyObject
*_wrap_new_wxLogStderr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5142 PyObject
* _resultobj
;
5143 wxLogStderr
* _result
;
5144 char *_kwnames
[] = { NULL
};
5148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLogStderr",_kwnames
))
5151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5152 _result
= (wxLogStderr
*)new_wxLogStderr();
5154 wxPyEndAllowThreads(__tstate
);
5155 if (PyErr_Occurred()) return NULL
;
5157 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogStderr_p");
5158 _resultobj
= Py_BuildValue("s",_ptemp
);
5161 _resultobj
= Py_None
;
5166 static void *SwigwxLogTextCtrlTowxLog(void *ptr
) {
5169 src
= (wxLogTextCtrl
*) ptr
;
5170 dest
= (wxLog
*) src
;
5171 return (void *) dest
;
5174 #define new_wxLogTextCtrl(_swigarg0) (new wxLogTextCtrl(_swigarg0))
5175 static PyObject
*_wrap_new_wxLogTextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5176 PyObject
* _resultobj
;
5177 wxLogTextCtrl
* _result
;
5179 PyObject
* _argo0
= 0;
5180 char *_kwnames
[] = { "pTextCtrl", NULL
};
5184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxLogTextCtrl",_kwnames
,&_argo0
))
5187 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5188 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
5189 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxLogTextCtrl. Expected _wxTextCtrl_p.");
5194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5195 _result
= (wxLogTextCtrl
*)new_wxLogTextCtrl(_arg0
);
5197 wxPyEndAllowThreads(__tstate
);
5198 if (PyErr_Occurred()) return NULL
;
5200 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogTextCtrl_p");
5201 _resultobj
= Py_BuildValue("s",_ptemp
);
5204 _resultobj
= Py_None
;
5209 static void *SwigwxLogGuiTowxLog(void *ptr
) {
5212 src
= (wxLogGui
*) ptr
;
5213 dest
= (wxLog
*) src
;
5214 return (void *) dest
;
5217 #define new_wxLogGui() (new wxLogGui())
5218 static PyObject
*_wrap_new_wxLogGui(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5219 PyObject
* _resultobj
;
5221 char *_kwnames
[] = { NULL
};
5225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLogGui",_kwnames
))
5228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5229 _result
= (wxLogGui
*)new_wxLogGui();
5231 wxPyEndAllowThreads(__tstate
);
5232 if (PyErr_Occurred()) return NULL
;
5234 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogGui_p");
5235 _resultobj
= Py_BuildValue("s",_ptemp
);
5238 _resultobj
= Py_None
;
5243 static void *SwigwxLogWindowTowxLog(void *ptr
) {
5246 src
= (wxLogWindow
*) ptr
;
5247 dest
= (wxLog
*) src
;
5248 return (void *) dest
;
5251 #define new_wxLogWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxLogWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5252 static PyObject
*_wrap_new_wxLogWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5253 PyObject
* _resultobj
;
5254 wxLogWindow
* _result
;
5257 bool _arg2
= (bool ) TRUE
;
5258 bool _arg3
= (bool ) TRUE
;
5259 PyObject
* _argo0
= 0;
5260 PyObject
* _obj1
= 0;
5261 int tempbool2
= (int) TRUE
;
5262 int tempbool3
= (int) TRUE
;
5263 char *_kwnames
[] = { "pParent","szTitle","bShow","bPassToOld", NULL
};
5267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|ii:new_wxLogWindow",_kwnames
,&_argo0
,&_obj1
,&tempbool2
,&tempbool3
))
5270 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5271 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
5272 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxLogWindow. Expected _wxFrame_p.");
5277 _arg1
= wxString_in_helper(_obj1
);
5281 _arg2
= (bool ) tempbool2
;
5282 _arg3
= (bool ) tempbool3
;
5284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5285 _result
= (wxLogWindow
*)new_wxLogWindow(_arg0
,*_arg1
,_arg2
,_arg3
);
5287 wxPyEndAllowThreads(__tstate
);
5288 if (PyErr_Occurred()) return NULL
;
5290 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogWindow_p");
5291 _resultobj
= Py_BuildValue("s",_ptemp
);
5294 _resultobj
= Py_None
;
5303 #define wxLogWindow_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
5304 static PyObject
*_wrap_wxLogWindow_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5305 PyObject
* _resultobj
;
5306 wxLogWindow
* _arg0
;
5307 bool _arg1
= (bool ) TRUE
;
5308 PyObject
* _argo0
= 0;
5309 int tempbool1
= (int) TRUE
;
5310 char *_kwnames
[] = { "self","bShow", NULL
};
5313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxLogWindow_Show",_kwnames
,&_argo0
,&tempbool1
))
5316 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5317 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
5318 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_Show. Expected _wxLogWindow_p.");
5322 _arg1
= (bool ) tempbool1
;
5324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5325 wxLogWindow_Show(_arg0
,_arg1
);
5327 wxPyEndAllowThreads(__tstate
);
5328 if (PyErr_Occurred()) return NULL
;
5329 } Py_INCREF(Py_None
);
5330 _resultobj
= Py_None
;
5334 #define wxLogWindow_GetFrame(_swigobj) (_swigobj->GetFrame())
5335 static PyObject
*_wrap_wxLogWindow_GetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5336 PyObject
* _resultobj
;
5338 wxLogWindow
* _arg0
;
5339 PyObject
* _argo0
= 0;
5340 char *_kwnames
[] = { "self", NULL
};
5343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogWindow_GetFrame",_kwnames
,&_argo0
))
5346 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5347 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
5348 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_GetFrame. Expected _wxLogWindow_p.");
5353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5354 _result
= (wxFrame
*)wxLogWindow_GetFrame(_arg0
);
5356 wxPyEndAllowThreads(__tstate
);
5357 if (PyErr_Occurred()) return NULL
;
5358 }{ _resultobj
= wxPyMake_wxObject(_result
); }
5362 #define wxLogWindow_GetOldLog(_swigobj) (_swigobj->GetOldLog())
5363 static PyObject
*_wrap_wxLogWindow_GetOldLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5364 PyObject
* _resultobj
;
5366 wxLogWindow
* _arg0
;
5367 PyObject
* _argo0
= 0;
5368 char *_kwnames
[] = { "self", NULL
};
5372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogWindow_GetOldLog",_kwnames
,&_argo0
))
5375 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5376 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
5377 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_GetOldLog. Expected _wxLogWindow_p.");
5382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5383 _result
= (wxLog
*)wxLogWindow_GetOldLog(_arg0
);
5385 wxPyEndAllowThreads(__tstate
);
5386 if (PyErr_Occurred()) return NULL
;
5388 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
5389 _resultobj
= Py_BuildValue("s",_ptemp
);
5392 _resultobj
= Py_None
;
5397 #define wxLogWindow_IsPassingMessages(_swigobj) (_swigobj->IsPassingMessages())
5398 static PyObject
*_wrap_wxLogWindow_IsPassingMessages(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_IsPassingMessages",_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_IsPassingMessages. Expected _wxLogWindow_p.");
5416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5417 _result
= (bool )wxLogWindow_IsPassingMessages(_arg0
);
5419 wxPyEndAllowThreads(__tstate
);
5420 if (PyErr_Occurred()) return NULL
;
5421 } _resultobj
= Py_BuildValue("i",_result
);
5425 #define wxLogWindow_PassMessages(_swigobj,_swigarg0) (_swigobj->PassMessages(_swigarg0))
5426 static PyObject
*_wrap_wxLogWindow_PassMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5427 PyObject
* _resultobj
;
5428 wxLogWindow
* _arg0
;
5430 PyObject
* _argo0
= 0;
5432 char *_kwnames
[] = { "self","bDoPass", NULL
};
5435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxLogWindow_PassMessages",_kwnames
,&_argo0
,&tempbool1
))
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_PassMessages. Expected _wxLogWindow_p.");
5444 _arg1
= (bool ) tempbool1
;
5446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5447 wxLogWindow_PassMessages(_arg0
,_arg1
);
5449 wxPyEndAllowThreads(__tstate
);
5450 if (PyErr_Occurred()) return NULL
;
5451 } Py_INCREF(Py_None
);
5452 _resultobj
= Py_None
;
5456 static void *SwigwxLogChainTowxLog(void *ptr
) {
5459 src
= (wxLogChain
*) ptr
;
5460 dest
= (wxLog
*) src
;
5461 return (void *) dest
;
5464 #define new_wxLogChain(_swigarg0) (new wxLogChain(_swigarg0))
5465 static PyObject
*_wrap_new_wxLogChain(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5466 PyObject
* _resultobj
;
5467 wxLogChain
* _result
;
5469 PyObject
* _argo0
= 0;
5470 char *_kwnames
[] = { "logger", NULL
};
5474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxLogChain",_kwnames
,&_argo0
))
5477 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5478 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
5479 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxLogChain. Expected _wxLog_p.");
5484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5485 _result
= (wxLogChain
*)new_wxLogChain(_arg0
);
5487 wxPyEndAllowThreads(__tstate
);
5488 if (PyErr_Occurred()) return NULL
;
5490 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogChain_p");
5491 _resultobj
= Py_BuildValue("s",_ptemp
);
5494 _resultobj
= Py_None
;
5499 #define wxLogChain_SetLog(_swigobj,_swigarg0) (_swigobj->SetLog(_swigarg0))
5500 static PyObject
*_wrap_wxLogChain_SetLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5501 PyObject
* _resultobj
;
5504 PyObject
* _argo0
= 0;
5505 PyObject
* _argo1
= 0;
5506 char *_kwnames
[] = { "self","logger", NULL
};
5509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxLogChain_SetLog",_kwnames
,&_argo0
,&_argo1
))
5512 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5513 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogChain_p")) {
5514 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogChain_SetLog. Expected _wxLogChain_p.");
5519 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5520 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxLog_p")) {
5521 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxLogChain_SetLog. Expected _wxLog_p.");
5526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5527 wxLogChain_SetLog(_arg0
,_arg1
);
5529 wxPyEndAllowThreads(__tstate
);
5530 if (PyErr_Occurred()) return NULL
;
5531 } Py_INCREF(Py_None
);
5532 _resultobj
= Py_None
;
5536 #define wxLogChain_PassMessages(_swigobj,_swigarg0) (_swigobj->PassMessages(_swigarg0))
5537 static PyObject
*_wrap_wxLogChain_PassMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5538 PyObject
* _resultobj
;
5541 PyObject
* _argo0
= 0;
5543 char *_kwnames
[] = { "self","bDoPass", NULL
};
5546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxLogChain_PassMessages",_kwnames
,&_argo0
,&tempbool1
))
5549 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5550 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogChain_p")) {
5551 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogChain_PassMessages. Expected _wxLogChain_p.");
5555 _arg1
= (bool ) tempbool1
;
5557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5558 wxLogChain_PassMessages(_arg0
,_arg1
);
5560 wxPyEndAllowThreads(__tstate
);
5561 if (PyErr_Occurred()) return NULL
;
5562 } Py_INCREF(Py_None
);
5563 _resultobj
= Py_None
;
5567 #define wxLogChain_IsPassingMessages(_swigobj) (_swigobj->IsPassingMessages())
5568 static PyObject
*_wrap_wxLogChain_IsPassingMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5569 PyObject
* _resultobj
;
5572 PyObject
* _argo0
= 0;
5573 char *_kwnames
[] = { "self", NULL
};
5576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogChain_IsPassingMessages",_kwnames
,&_argo0
))
5579 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5580 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogChain_p")) {
5581 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogChain_IsPassingMessages. Expected _wxLogChain_p.");
5586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5587 _result
= (bool )wxLogChain_IsPassingMessages(_arg0
);
5589 wxPyEndAllowThreads(__tstate
);
5590 if (PyErr_Occurred()) return NULL
;
5591 } _resultobj
= Py_BuildValue("i",_result
);
5595 #define wxLogChain_GetOldLog(_swigobj) (_swigobj->GetOldLog())
5596 static PyObject
*_wrap_wxLogChain_GetOldLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5597 PyObject
* _resultobj
;
5600 PyObject
* _argo0
= 0;
5601 char *_kwnames
[] = { "self", NULL
};
5605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogChain_GetOldLog",_kwnames
,&_argo0
))
5608 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5609 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogChain_p")) {
5610 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogChain_GetOldLog. Expected _wxLogChain_p.");
5615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5616 _result
= (wxLog
*)wxLogChain_GetOldLog(_arg0
);
5618 wxPyEndAllowThreads(__tstate
);
5619 if (PyErr_Occurred()) return NULL
;
5621 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
5622 _resultobj
= Py_BuildValue("s",_ptemp
);
5625 _resultobj
= Py_None
;
5630 #define new_wxLogNull() (new wxLogNull())
5631 static PyObject
*_wrap_new_wxLogNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5632 PyObject
* _resultobj
;
5633 wxLogNull
* _result
;
5634 char *_kwnames
[] = { NULL
};
5638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLogNull",_kwnames
))
5641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5642 _result
= (wxLogNull
*)new_wxLogNull();
5644 wxPyEndAllowThreads(__tstate
);
5645 if (PyErr_Occurred()) return NULL
;
5647 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogNull_p");
5648 _resultobj
= Py_BuildValue("s",_ptemp
);
5651 _resultobj
= Py_None
;
5656 #define delete_wxLogNull(_swigobj) (delete _swigobj)
5657 static PyObject
*_wrap_delete_wxLogNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5658 PyObject
* _resultobj
;
5660 PyObject
* _argo0
= 0;
5661 char *_kwnames
[] = { "self", NULL
};
5664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxLogNull",_kwnames
,&_argo0
))
5667 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5668 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogNull_p")) {
5669 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxLogNull. Expected _wxLogNull_p.");
5674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5675 delete_wxLogNull(_arg0
);
5677 wxPyEndAllowThreads(__tstate
);
5678 if (PyErr_Occurred()) return NULL
;
5679 } Py_INCREF(Py_None
);
5680 _resultobj
= Py_None
;
5684 static void *SwigwxPyLogTowxLog(void *ptr
) {
5687 src
= (wxPyLog
*) ptr
;
5688 dest
= (wxLog
*) src
;
5689 return (void *) dest
;
5692 #define new_wxPyLog() (new wxPyLog())
5693 static PyObject
*_wrap_new_wxPyLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5694 PyObject
* _resultobj
;
5696 char *_kwnames
[] = { NULL
};
5700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPyLog",_kwnames
))
5703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5704 _result
= (wxPyLog
*)new_wxPyLog();
5706 wxPyEndAllowThreads(__tstate
);
5707 if (PyErr_Occurred()) return NULL
;
5709 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyLog_p");
5710 _resultobj
= Py_BuildValue("s",_ptemp
);
5713 _resultobj
= Py_None
;
5718 #define wxPyLog__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
5719 static PyObject
*_wrap_wxPyLog__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5720 PyObject
* _resultobj
;
5724 PyObject
* _argo0
= 0;
5725 PyObject
* _obj1
= 0;
5726 PyObject
* _obj2
= 0;
5727 char *_kwnames
[] = { "self","self","_class", NULL
};
5730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyLog__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
5733 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5734 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLog_p")) {
5735 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLog__setCallbackInfo. Expected _wxPyLog_p.");
5746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5747 wxPyLog__setCallbackInfo(_arg0
,_arg1
,_arg2
);
5749 wxPyEndAllowThreads(__tstate
);
5750 if (PyErr_Occurred()) return NULL
;
5751 } Py_INCREF(Py_None
);
5752 _resultobj
= Py_None
;
5756 static void wxPyLog_Destroy(wxPyLog
*self
) { delete self
; }
5757 static PyObject
*_wrap_wxPyLog_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5758 PyObject
* _resultobj
;
5760 PyObject
* _argo0
= 0;
5761 char *_kwnames
[] = { "self", NULL
};
5764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyLog_Destroy",_kwnames
,&_argo0
))
5767 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5768 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLog_p")) {
5769 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLog_Destroy. Expected _wxPyLog_p.");
5774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5775 wxPyLog_Destroy(_arg0
);
5777 wxPyEndAllowThreads(__tstate
);
5778 if (PyErr_Occurred()) return NULL
;
5779 } Py_INCREF(Py_None
);
5780 _resultobj
= Py_None
;
5784 static void *SwigwxProcessEventTowxEvent(void *ptr
) {
5785 wxProcessEvent
*src
;
5787 src
= (wxProcessEvent
*) ptr
;
5788 dest
= (wxEvent
*) src
;
5789 return (void *) dest
;
5792 static void *SwigwxProcessEventTowxObject(void *ptr
) {
5793 wxProcessEvent
*src
;
5795 src
= (wxProcessEvent
*) ptr
;
5796 dest
= (wxObject
*) src
;
5797 return (void *) dest
;
5800 #define new_wxProcessEvent(_swigarg0,_swigarg1,_swigarg2) (new wxProcessEvent(_swigarg0,_swigarg1,_swigarg2))
5801 static PyObject
*_wrap_new_wxProcessEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5802 PyObject
* _resultobj
;
5803 wxProcessEvent
* _result
;
5804 int _arg0
= (int ) 0;
5805 int _arg1
= (int ) 0;
5806 int _arg2
= (int ) 0;
5807 char *_kwnames
[] = { "id","pid","exitcode", NULL
};
5811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iii:new_wxProcessEvent",_kwnames
,&_arg0
,&_arg1
,&_arg2
))
5814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5815 _result
= (wxProcessEvent
*)new_wxProcessEvent(_arg0
,_arg1
,_arg2
);
5817 wxPyEndAllowThreads(__tstate
);
5818 if (PyErr_Occurred()) return NULL
;
5820 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxProcessEvent_p");
5821 _resultobj
= Py_BuildValue("s",_ptemp
);
5824 _resultobj
= Py_None
;
5829 #define wxProcessEvent_GetPid(_swigobj) (_swigobj->GetPid())
5830 static PyObject
*_wrap_wxProcessEvent_GetPid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5831 PyObject
* _resultobj
;
5833 wxProcessEvent
* _arg0
;
5834 PyObject
* _argo0
= 0;
5835 char *_kwnames
[] = { "self", NULL
};
5838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcessEvent_GetPid",_kwnames
,&_argo0
))
5841 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5842 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
5843 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_GetPid. Expected _wxProcessEvent_p.");
5848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5849 _result
= (int )wxProcessEvent_GetPid(_arg0
);
5851 wxPyEndAllowThreads(__tstate
);
5852 if (PyErr_Occurred()) return NULL
;
5853 } _resultobj
= Py_BuildValue("i",_result
);
5857 #define wxProcessEvent_GetExitCode(_swigobj) (_swigobj->GetExitCode())
5858 static PyObject
*_wrap_wxProcessEvent_GetExitCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5859 PyObject
* _resultobj
;
5861 wxProcessEvent
* _arg0
;
5862 PyObject
* _argo0
= 0;
5863 char *_kwnames
[] = { "self", NULL
};
5866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcessEvent_GetExitCode",_kwnames
,&_argo0
))
5869 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5870 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
5871 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_GetExitCode. Expected _wxProcessEvent_p.");
5876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5877 _result
= (int )wxProcessEvent_GetExitCode(_arg0
);
5879 wxPyEndAllowThreads(__tstate
);
5880 if (PyErr_Occurred()) return NULL
;
5881 } _resultobj
= Py_BuildValue("i",_result
);
5885 #define wxProcessEvent_m_pid_set(_swigobj,_swigval) (_swigobj->m_pid = _swigval,_swigval)
5886 static PyObject
*_wrap_wxProcessEvent_m_pid_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5887 PyObject
* _resultobj
;
5889 wxProcessEvent
* _arg0
;
5891 PyObject
* _argo0
= 0;
5892 char *_kwnames
[] = { "self","m_pid", NULL
};
5895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxProcessEvent_m_pid_set",_kwnames
,&_argo0
,&_arg1
))
5898 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5899 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
5900 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_m_pid_set. Expected _wxProcessEvent_p.");
5905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5906 _result
= (int )wxProcessEvent_m_pid_set(_arg0
,_arg1
);
5908 wxPyEndAllowThreads(__tstate
);
5909 if (PyErr_Occurred()) return NULL
;
5910 } _resultobj
= Py_BuildValue("i",_result
);
5914 #define wxProcessEvent_m_pid_get(_swigobj) ((int ) _swigobj->m_pid)
5915 static PyObject
*_wrap_wxProcessEvent_m_pid_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5916 PyObject
* _resultobj
;
5918 wxProcessEvent
* _arg0
;
5919 PyObject
* _argo0
= 0;
5920 char *_kwnames
[] = { "self", NULL
};
5923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcessEvent_m_pid_get",_kwnames
,&_argo0
))
5926 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5927 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
5928 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_m_pid_get. Expected _wxProcessEvent_p.");
5933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5934 _result
= (int )wxProcessEvent_m_pid_get(_arg0
);
5936 wxPyEndAllowThreads(__tstate
);
5937 if (PyErr_Occurred()) return NULL
;
5938 } _resultobj
= Py_BuildValue("i",_result
);
5942 #define wxProcessEvent_m_exitcode_set(_swigobj,_swigval) (_swigobj->m_exitcode = _swigval,_swigval)
5943 static PyObject
*_wrap_wxProcessEvent_m_exitcode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5944 PyObject
* _resultobj
;
5946 wxProcessEvent
* _arg0
;
5948 PyObject
* _argo0
= 0;
5949 char *_kwnames
[] = { "self","m_exitcode", NULL
};
5952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxProcessEvent_m_exitcode_set",_kwnames
,&_argo0
,&_arg1
))
5955 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5956 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
5957 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_m_exitcode_set. Expected _wxProcessEvent_p.");
5962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5963 _result
= (int )wxProcessEvent_m_exitcode_set(_arg0
,_arg1
);
5965 wxPyEndAllowThreads(__tstate
);
5966 if (PyErr_Occurred()) return NULL
;
5967 } _resultobj
= Py_BuildValue("i",_result
);
5971 #define wxProcessEvent_m_exitcode_get(_swigobj) ((int ) _swigobj->m_exitcode)
5972 static PyObject
*_wrap_wxProcessEvent_m_exitcode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5973 PyObject
* _resultobj
;
5975 wxProcessEvent
* _arg0
;
5976 PyObject
* _argo0
= 0;
5977 char *_kwnames
[] = { "self", NULL
};
5980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcessEvent_m_exitcode_get",_kwnames
,&_argo0
))
5983 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5984 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
5985 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_m_exitcode_get. Expected _wxProcessEvent_p.");
5990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5991 _result
= (int )wxProcessEvent_m_exitcode_get(_arg0
);
5993 wxPyEndAllowThreads(__tstate
);
5994 if (PyErr_Occurred()) return NULL
;
5995 } _resultobj
= Py_BuildValue("i",_result
);
5999 static void *SwigwxPyProcessTowxEvtHandler(void *ptr
) {
6002 src
= (wxPyProcess
*) ptr
;
6003 dest
= (wxEvtHandler
*) src
;
6004 return (void *) dest
;
6007 static void *SwigwxPyProcessTowxObject(void *ptr
) {
6010 src
= (wxPyProcess
*) ptr
;
6011 dest
= (wxObject
*) src
;
6012 return (void *) dest
;
6015 static PyObject
*_wrap_wxProcess_Kill(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6016 PyObject
* _resultobj
;
6017 wxKillError _result
;
6019 wxSignal _arg1
= (wxSignal
) (wxSIGTERM
);
6020 char *_kwnames
[] = { "pid","sig", NULL
};
6023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i|i:wxProcess_Kill",_kwnames
,&_arg0
,&_arg1
))
6026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6027 _result
= (wxKillError
)wxPyProcess::Kill(_arg0
,_arg1
);
6029 wxPyEndAllowThreads(__tstate
);
6030 if (PyErr_Occurred()) return NULL
;
6031 } _resultobj
= Py_BuildValue("i",_result
);
6035 static PyObject
*_wrap_wxProcess_Exists(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6036 PyObject
* _resultobj
;
6039 char *_kwnames
[] = { "pid", NULL
};
6042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxProcess_Exists",_kwnames
,&_arg0
))
6045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6046 _result
= (bool )wxPyProcess::Exists(_arg0
);
6048 wxPyEndAllowThreads(__tstate
);
6049 if (PyErr_Occurred()) return NULL
;
6050 } _resultobj
= Py_BuildValue("i",_result
);
6054 static PyObject
*_wrap_wxProcess_Open(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6055 PyObject
* _resultobj
;
6056 wxPyProcess
* _result
;
6058 int _arg1
= (int ) wxEXEC_ASYNC
;
6059 PyObject
* _obj0
= 0;
6060 char *_kwnames
[] = { "cmd","flags", NULL
};
6064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxProcess_Open",_kwnames
,&_obj0
,&_arg1
))
6067 _arg0
= wxString_in_helper(_obj0
);
6072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6073 _result
= (wxPyProcess
*)wxPyProcess::Open(*_arg0
,_arg1
);
6075 wxPyEndAllowThreads(__tstate
);
6076 if (PyErr_Occurred()) return NULL
;
6078 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyProcess_p");
6079 _resultobj
= Py_BuildValue("s",_ptemp
);
6082 _resultobj
= Py_None
;
6091 #define new_wxProcess(_swigarg0,_swigarg1) (new wxPyProcess(_swigarg0,_swigarg1))
6092 static PyObject
*_wrap_new_wxProcess(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6093 PyObject
* _resultobj
;
6094 wxPyProcess
* _result
;
6095 wxEvtHandler
* _arg0
= (wxEvtHandler
*) NULL
;
6096 int _arg1
= (int ) -1;
6097 PyObject
* _argo0
= 0;
6098 char *_kwnames
[] = { "parent","id", NULL
};
6102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|Oi:new_wxProcess",_kwnames
,&_argo0
,&_arg1
))
6105 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6106 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
6107 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxProcess. Expected _wxEvtHandler_p.");
6112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6113 _result
= (wxPyProcess
*)new_wxProcess(_arg0
,_arg1
);
6115 wxPyEndAllowThreads(__tstate
);
6116 if (PyErr_Occurred()) return NULL
;
6118 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyProcess_p");
6119 _resultobj
= Py_BuildValue("s",_ptemp
);
6122 _resultobj
= Py_None
;
6127 static void wxPyProcess_Destroy(wxPyProcess
*self
) { delete self
; }
6128 static PyObject
*_wrap_wxProcess_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6129 PyObject
* _resultobj
;
6130 wxPyProcess
* _arg0
;
6131 PyObject
* _argo0
= 0;
6132 char *_kwnames
[] = { "self", NULL
};
6135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_Destroy",_kwnames
,&_argo0
))
6138 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6139 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6140 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_Destroy. Expected _wxPyProcess_p.");
6145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6146 wxPyProcess_Destroy(_arg0
);
6148 wxPyEndAllowThreads(__tstate
);
6149 if (PyErr_Occurred()) return NULL
;
6150 } Py_INCREF(Py_None
);
6151 _resultobj
= Py_None
;
6155 #define wxProcess__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
6156 static PyObject
*_wrap_wxProcess__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6157 PyObject
* _resultobj
;
6158 wxPyProcess
* _arg0
;
6161 PyObject
* _argo0
= 0;
6162 PyObject
* _obj1
= 0;
6163 PyObject
* _obj2
= 0;
6164 char *_kwnames
[] = { "self","self","_class", NULL
};
6167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxProcess__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
6170 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6171 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6172 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess__setCallbackInfo. Expected _wxPyProcess_p.");
6183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6184 wxProcess__setCallbackInfo(_arg0
,_arg1
,_arg2
);
6186 wxPyEndAllowThreads(__tstate
);
6187 if (PyErr_Occurred()) return NULL
;
6188 } Py_INCREF(Py_None
);
6189 _resultobj
= Py_None
;
6193 #define wxProcess_base_OnTerminate(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnTerminate(_swigarg0,_swigarg1))
6194 static PyObject
*_wrap_wxProcess_base_OnTerminate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6195 PyObject
* _resultobj
;
6196 wxPyProcess
* _arg0
;
6199 PyObject
* _argo0
= 0;
6200 char *_kwnames
[] = { "self","pid","status", NULL
};
6203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxProcess_base_OnTerminate",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6206 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6207 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6208 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_base_OnTerminate. Expected _wxPyProcess_p.");
6213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6214 wxProcess_base_OnTerminate(_arg0
,_arg1
,_arg2
);
6216 wxPyEndAllowThreads(__tstate
);
6217 if (PyErr_Occurred()) return NULL
;
6218 } Py_INCREF(Py_None
);
6219 _resultobj
= Py_None
;
6223 #define wxProcess_Redirect(_swigobj) (_swigobj->Redirect())
6224 static PyObject
*_wrap_wxProcess_Redirect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6225 PyObject
* _resultobj
;
6226 wxPyProcess
* _arg0
;
6227 PyObject
* _argo0
= 0;
6228 char *_kwnames
[] = { "self", NULL
};
6231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_Redirect",_kwnames
,&_argo0
))
6234 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6235 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6236 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_Redirect. Expected _wxPyProcess_p.");
6241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6242 wxProcess_Redirect(_arg0
);
6244 wxPyEndAllowThreads(__tstate
);
6245 if (PyErr_Occurred()) return NULL
;
6246 } Py_INCREF(Py_None
);
6247 _resultobj
= Py_None
;
6251 #define wxProcess_IsRedirected(_swigobj) (_swigobj->IsRedirected())
6252 static PyObject
*_wrap_wxProcess_IsRedirected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6253 PyObject
* _resultobj
;
6255 wxPyProcess
* _arg0
;
6256 PyObject
* _argo0
= 0;
6257 char *_kwnames
[] = { "self", NULL
};
6260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_IsRedirected",_kwnames
,&_argo0
))
6263 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6264 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6265 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_IsRedirected. Expected _wxPyProcess_p.");
6270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6271 _result
= (bool )wxProcess_IsRedirected(_arg0
);
6273 wxPyEndAllowThreads(__tstate
);
6274 if (PyErr_Occurred()) return NULL
;
6275 } _resultobj
= Py_BuildValue("i",_result
);
6279 #define wxProcess_Detach(_swigobj) (_swigobj->Detach())
6280 static PyObject
*_wrap_wxProcess_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6281 PyObject
* _resultobj
;
6282 wxPyProcess
* _arg0
;
6283 PyObject
* _argo0
= 0;
6284 char *_kwnames
[] = { "self", NULL
};
6287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_Detach",_kwnames
,&_argo0
))
6290 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6291 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6292 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_Detach. Expected _wxPyProcess_p.");
6297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6298 wxProcess_Detach(_arg0
);
6300 wxPyEndAllowThreads(__tstate
);
6301 if (PyErr_Occurred()) return NULL
;
6302 } Py_INCREF(Py_None
);
6303 _resultobj
= Py_None
;
6307 #define wxProcess_GetInputStream(_swigobj) (_swigobj->GetInputStream())
6308 static PyObject
*_wrap_wxProcess_GetInputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6309 PyObject
* _resultobj
;
6310 wxInputStream
* _result
;
6311 wxPyProcess
* _arg0
;
6312 PyObject
* _argo0
= 0;
6313 char *_kwnames
[] = { "self", NULL
};
6316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_GetInputStream",_kwnames
,&_argo0
))
6319 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6320 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6321 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_GetInputStream. Expected _wxPyProcess_p.");
6326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6327 _result
= (wxInputStream
*)wxProcess_GetInputStream(_arg0
);
6329 wxPyEndAllowThreads(__tstate
);
6330 if (PyErr_Occurred()) return NULL
;
6332 wxPyInputStream
* _ptr
= NULL
;
6335 _ptr
= new wxPyInputStream(_result
);
6337 _resultobj
= wxPyConstructObject(_ptr
, wxT("wxInputStream"), TRUE
);
6342 #define wxProcess_GetErrorStream(_swigobj) (_swigobj->GetErrorStream())
6343 static PyObject
*_wrap_wxProcess_GetErrorStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6344 PyObject
* _resultobj
;
6345 wxInputStream
* _result
;
6346 wxPyProcess
* _arg0
;
6347 PyObject
* _argo0
= 0;
6348 char *_kwnames
[] = { "self", NULL
};
6351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_GetErrorStream",_kwnames
,&_argo0
))
6354 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6355 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6356 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_GetErrorStream. Expected _wxPyProcess_p.");
6361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6362 _result
= (wxInputStream
*)wxProcess_GetErrorStream(_arg0
);
6364 wxPyEndAllowThreads(__tstate
);
6365 if (PyErr_Occurred()) return NULL
;
6367 wxPyInputStream
* _ptr
= NULL
;
6370 _ptr
= new wxPyInputStream(_result
);
6372 _resultobj
= wxPyConstructObject(_ptr
, wxT("wxInputStream"), TRUE
);
6377 #define wxProcess_GetOutputStream(_swigobj) (_swigobj->GetOutputStream())
6378 static PyObject
*_wrap_wxProcess_GetOutputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6379 PyObject
* _resultobj
;
6380 wxOutputStream
* _result
;
6381 wxPyProcess
* _arg0
;
6382 PyObject
* _argo0
= 0;
6383 char *_kwnames
[] = { "self", NULL
};
6387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_GetOutputStream",_kwnames
,&_argo0
))
6390 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6391 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6392 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_GetOutputStream. Expected _wxPyProcess_p.");
6397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6398 _result
= (wxOutputStream
*)wxProcess_GetOutputStream(_arg0
);
6400 wxPyEndAllowThreads(__tstate
);
6401 if (PyErr_Occurred()) return NULL
;
6403 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxOutputStream_p");
6404 _resultobj
= Py_BuildValue("s",_ptemp
);
6407 _resultobj
= Py_None
;
6412 #define wxProcess_CloseOutput(_swigobj) (_swigobj->CloseOutput())
6413 static PyObject
*_wrap_wxProcess_CloseOutput(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6414 PyObject
* _resultobj
;
6415 wxPyProcess
* _arg0
;
6416 PyObject
* _argo0
= 0;
6417 char *_kwnames
[] = { "self", NULL
};
6420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_CloseOutput",_kwnames
,&_argo0
))
6423 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6424 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6425 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_CloseOutput. Expected _wxPyProcess_p.");
6430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6431 wxProcess_CloseOutput(_arg0
);
6433 wxPyEndAllowThreads(__tstate
);
6434 if (PyErr_Occurred()) return NULL
;
6435 } Py_INCREF(Py_None
);
6436 _resultobj
= Py_None
;
6440 #define wxProcess_IsInputOpened(_swigobj) (_swigobj->IsInputOpened())
6441 static PyObject
*_wrap_wxProcess_IsInputOpened(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6442 PyObject
* _resultobj
;
6444 wxPyProcess
* _arg0
;
6445 PyObject
* _argo0
= 0;
6446 char *_kwnames
[] = { "self", NULL
};
6449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_IsInputOpened",_kwnames
,&_argo0
))
6452 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6453 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6454 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_IsInputOpened. Expected _wxPyProcess_p.");
6459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6460 _result
= (bool )wxProcess_IsInputOpened(_arg0
);
6462 wxPyEndAllowThreads(__tstate
);
6463 if (PyErr_Occurred()) return NULL
;
6464 } _resultobj
= Py_BuildValue("i",_result
);
6468 #define wxProcess_IsInputAvailable(_swigobj) (_swigobj->IsInputAvailable())
6469 static PyObject
*_wrap_wxProcess_IsInputAvailable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6470 PyObject
* _resultobj
;
6472 wxPyProcess
* _arg0
;
6473 PyObject
* _argo0
= 0;
6474 char *_kwnames
[] = { "self", NULL
};
6477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_IsInputAvailable",_kwnames
,&_argo0
))
6480 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6481 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6482 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_IsInputAvailable. Expected _wxPyProcess_p.");
6487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6488 _result
= (bool )wxProcess_IsInputAvailable(_arg0
);
6490 wxPyEndAllowThreads(__tstate
);
6491 if (PyErr_Occurred()) return NULL
;
6492 } _resultobj
= Py_BuildValue("i",_result
);
6496 #define wxProcess_IsErrorAvailable(_swigobj) (_swigobj->IsErrorAvailable())
6497 static PyObject
*_wrap_wxProcess_IsErrorAvailable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6498 PyObject
* _resultobj
;
6500 wxPyProcess
* _arg0
;
6501 PyObject
* _argo0
= 0;
6502 char *_kwnames
[] = { "self", NULL
};
6505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_IsErrorAvailable",_kwnames
,&_argo0
))
6508 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6509 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6510 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_IsErrorAvailable. Expected _wxPyProcess_p.");
6515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6516 _result
= (bool )wxProcess_IsErrorAvailable(_arg0
);
6518 wxPyEndAllowThreads(__tstate
);
6519 if (PyErr_Occurred()) return NULL
;
6520 } _resultobj
= Py_BuildValue("i",_result
);
6524 static void *SwigwxJoystickTowxObject(void *ptr
) {
6527 src
= (wxJoystick
*) ptr
;
6528 dest
= (wxObject
*) src
;
6529 return (void *) dest
;
6532 #define new_wxJoystick(_swigarg0) (new wxJoystick(_swigarg0))
6533 static PyObject
*_wrap_new_wxJoystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6534 PyObject
* _resultobj
;
6535 wxJoystick
* _result
;
6536 int _arg0
= (int ) (wxJOYSTICK1
);
6537 char *_kwnames
[] = { "joystick", NULL
};
6541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxJoystick",_kwnames
,&_arg0
))
6544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6545 _result
= (wxJoystick
*)new_wxJoystick(_arg0
);
6547 wxPyEndAllowThreads(__tstate
);
6548 if (PyErr_Occurred()) return NULL
;
6550 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxJoystick_p");
6551 _resultobj
= Py_BuildValue("s",_ptemp
);
6554 _resultobj
= Py_None
;
6559 #define delete_wxJoystick(_swigobj) (delete _swigobj)
6560 static PyObject
*_wrap_delete_wxJoystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6561 PyObject
* _resultobj
;
6563 PyObject
* _argo0
= 0;
6564 char *_kwnames
[] = { "self", NULL
};
6567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxJoystick",_kwnames
,&_argo0
))
6570 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6571 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6572 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxJoystick. Expected _wxJoystick_p.");
6577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6578 delete_wxJoystick(_arg0
);
6580 wxPyEndAllowThreads(__tstate
);
6581 if (PyErr_Occurred()) return NULL
;
6582 } Py_INCREF(Py_None
);
6583 _resultobj
= Py_None
;
6587 #define wxJoystick_GetPosition(_swigobj) (_swigobj->GetPosition())
6588 static PyObject
*_wrap_wxJoystick_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6589 PyObject
* _resultobj
;
6592 PyObject
* _argo0
= 0;
6593 char *_kwnames
[] = { "self", NULL
};
6597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPosition",_kwnames
,&_argo0
))
6600 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6601 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6602 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPosition. Expected _wxJoystick_p.");
6607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6608 _result
= new wxPoint (wxJoystick_GetPosition(_arg0
));
6610 wxPyEndAllowThreads(__tstate
);
6611 if (PyErr_Occurred()) return NULL
;
6612 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
6613 _resultobj
= Py_BuildValue("s",_ptemp
);
6617 #define wxJoystick_GetZPosition(_swigobj) (_swigobj->GetZPosition())
6618 static PyObject
*_wrap_wxJoystick_GetZPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6619 PyObject
* _resultobj
;
6622 PyObject
* _argo0
= 0;
6623 char *_kwnames
[] = { "self", NULL
};
6626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetZPosition",_kwnames
,&_argo0
))
6629 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6630 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6631 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetZPosition. Expected _wxJoystick_p.");
6636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6637 _result
= (int )wxJoystick_GetZPosition(_arg0
);
6639 wxPyEndAllowThreads(__tstate
);
6640 if (PyErr_Occurred()) return NULL
;
6641 } _resultobj
= Py_BuildValue("i",_result
);
6645 #define wxJoystick_GetButtonState(_swigobj) (_swigobj->GetButtonState())
6646 static PyObject
*_wrap_wxJoystick_GetButtonState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6647 PyObject
* _resultobj
;
6650 PyObject
* _argo0
= 0;
6651 char *_kwnames
[] = { "self", NULL
};
6654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetButtonState",_kwnames
,&_argo0
))
6657 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6658 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6659 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetButtonState. Expected _wxJoystick_p.");
6664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6665 _result
= (int )wxJoystick_GetButtonState(_arg0
);
6667 wxPyEndAllowThreads(__tstate
);
6668 if (PyErr_Occurred()) return NULL
;
6669 } _resultobj
= Py_BuildValue("i",_result
);
6673 #define wxJoystick_GetPOVPosition(_swigobj) (_swigobj->GetPOVPosition())
6674 static PyObject
*_wrap_wxJoystick_GetPOVPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6675 PyObject
* _resultobj
;
6678 PyObject
* _argo0
= 0;
6679 char *_kwnames
[] = { "self", NULL
};
6682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPOVPosition",_kwnames
,&_argo0
))
6685 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6686 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6687 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPOVPosition. Expected _wxJoystick_p.");
6692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6693 _result
= (int )wxJoystick_GetPOVPosition(_arg0
);
6695 wxPyEndAllowThreads(__tstate
);
6696 if (PyErr_Occurred()) return NULL
;
6697 } _resultobj
= Py_BuildValue("i",_result
);
6701 #define wxJoystick_GetPOVCTSPosition(_swigobj) (_swigobj->GetPOVCTSPosition())
6702 static PyObject
*_wrap_wxJoystick_GetPOVCTSPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6703 PyObject
* _resultobj
;
6706 PyObject
* _argo0
= 0;
6707 char *_kwnames
[] = { "self", NULL
};
6710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPOVCTSPosition",_kwnames
,&_argo0
))
6713 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6714 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6715 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPOVCTSPosition. Expected _wxJoystick_p.");
6720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6721 _result
= (int )wxJoystick_GetPOVCTSPosition(_arg0
);
6723 wxPyEndAllowThreads(__tstate
);
6724 if (PyErr_Occurred()) return NULL
;
6725 } _resultobj
= Py_BuildValue("i",_result
);
6729 #define wxJoystick_GetRudderPosition(_swigobj) (_swigobj->GetRudderPosition())
6730 static PyObject
*_wrap_wxJoystick_GetRudderPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6731 PyObject
* _resultobj
;
6734 PyObject
* _argo0
= 0;
6735 char *_kwnames
[] = { "self", NULL
};
6738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetRudderPosition",_kwnames
,&_argo0
))
6741 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6742 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6743 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetRudderPosition. Expected _wxJoystick_p.");
6748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6749 _result
= (int )wxJoystick_GetRudderPosition(_arg0
);
6751 wxPyEndAllowThreads(__tstate
);
6752 if (PyErr_Occurred()) return NULL
;
6753 } _resultobj
= Py_BuildValue("i",_result
);
6757 #define wxJoystick_GetUPosition(_swigobj) (_swigobj->GetUPosition())
6758 static PyObject
*_wrap_wxJoystick_GetUPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6759 PyObject
* _resultobj
;
6762 PyObject
* _argo0
= 0;
6763 char *_kwnames
[] = { "self", NULL
};
6766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetUPosition",_kwnames
,&_argo0
))
6769 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6770 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6771 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetUPosition. Expected _wxJoystick_p.");
6776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6777 _result
= (int )wxJoystick_GetUPosition(_arg0
);
6779 wxPyEndAllowThreads(__tstate
);
6780 if (PyErr_Occurred()) return NULL
;
6781 } _resultobj
= Py_BuildValue("i",_result
);
6785 #define wxJoystick_GetVPosition(_swigobj) (_swigobj->GetVPosition())
6786 static PyObject
*_wrap_wxJoystick_GetVPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6787 PyObject
* _resultobj
;
6790 PyObject
* _argo0
= 0;
6791 char *_kwnames
[] = { "self", NULL
};
6794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetVPosition",_kwnames
,&_argo0
))
6797 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6798 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6799 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetVPosition. Expected _wxJoystick_p.");
6804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6805 _result
= (int )wxJoystick_GetVPosition(_arg0
);
6807 wxPyEndAllowThreads(__tstate
);
6808 if (PyErr_Occurred()) return NULL
;
6809 } _resultobj
= Py_BuildValue("i",_result
);
6813 #define wxJoystick_GetMovementThreshold(_swigobj) (_swigobj->GetMovementThreshold())
6814 static PyObject
*_wrap_wxJoystick_GetMovementThreshold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6815 PyObject
* _resultobj
;
6818 PyObject
* _argo0
= 0;
6819 char *_kwnames
[] = { "self", NULL
};
6822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetMovementThreshold",_kwnames
,&_argo0
))
6825 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6826 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6827 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetMovementThreshold. Expected _wxJoystick_p.");
6832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6833 _result
= (int )wxJoystick_GetMovementThreshold(_arg0
);
6835 wxPyEndAllowThreads(__tstate
);
6836 if (PyErr_Occurred()) return NULL
;
6837 } _resultobj
= Py_BuildValue("i",_result
);
6841 #define wxJoystick_SetMovementThreshold(_swigobj,_swigarg0) (_swigobj->SetMovementThreshold(_swigarg0))
6842 static PyObject
*_wrap_wxJoystick_SetMovementThreshold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6843 PyObject
* _resultobj
;
6846 PyObject
* _argo0
= 0;
6847 char *_kwnames
[] = { "self","threshold", NULL
};
6850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxJoystick_SetMovementThreshold",_kwnames
,&_argo0
,&_arg1
))
6853 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6854 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6855 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_SetMovementThreshold. Expected _wxJoystick_p.");
6860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6861 wxJoystick_SetMovementThreshold(_arg0
,_arg1
);
6863 wxPyEndAllowThreads(__tstate
);
6864 if (PyErr_Occurred()) return NULL
;
6865 } Py_INCREF(Py_None
);
6866 _resultobj
= Py_None
;
6870 #define wxJoystick_IsOk(_swigobj) (_swigobj->IsOk())
6871 static PyObject
*_wrap_wxJoystick_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6872 PyObject
* _resultobj
;
6875 PyObject
* _argo0
= 0;
6876 char *_kwnames
[] = { "self", NULL
};
6879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_IsOk",_kwnames
,&_argo0
))
6882 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6883 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6884 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_IsOk. Expected _wxJoystick_p.");
6889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6890 _result
= (bool )wxJoystick_IsOk(_arg0
);
6892 wxPyEndAllowThreads(__tstate
);
6893 if (PyErr_Occurred()) return NULL
;
6894 } _resultobj
= Py_BuildValue("i",_result
);
6898 #define wxJoystick_GetNumberJoysticks(_swigobj) (_swigobj->GetNumberJoysticks())
6899 static PyObject
*_wrap_wxJoystick_GetNumberJoysticks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6900 PyObject
* _resultobj
;
6903 PyObject
* _argo0
= 0;
6904 char *_kwnames
[] = { "self", NULL
};
6907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetNumberJoysticks",_kwnames
,&_argo0
))
6910 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6911 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6912 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetNumberJoysticks. Expected _wxJoystick_p.");
6917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6918 _result
= (int )wxJoystick_GetNumberJoysticks(_arg0
);
6920 wxPyEndAllowThreads(__tstate
);
6921 if (PyErr_Occurred()) return NULL
;
6922 } _resultobj
= Py_BuildValue("i",_result
);
6926 #define wxJoystick_GetManufacturerId(_swigobj) (_swigobj->GetManufacturerId())
6927 static PyObject
*_wrap_wxJoystick_GetManufacturerId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6928 PyObject
* _resultobj
;
6931 PyObject
* _argo0
= 0;
6932 char *_kwnames
[] = { "self", NULL
};
6935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetManufacturerId",_kwnames
,&_argo0
))
6938 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6939 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6940 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetManufacturerId. Expected _wxJoystick_p.");
6945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6946 _result
= (int )wxJoystick_GetManufacturerId(_arg0
);
6948 wxPyEndAllowThreads(__tstate
);
6949 if (PyErr_Occurred()) return NULL
;
6950 } _resultobj
= Py_BuildValue("i",_result
);
6954 #define wxJoystick_GetProductId(_swigobj) (_swigobj->GetProductId())
6955 static PyObject
*_wrap_wxJoystick_GetProductId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6956 PyObject
* _resultobj
;
6959 PyObject
* _argo0
= 0;
6960 char *_kwnames
[] = { "self", NULL
};
6963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetProductId",_kwnames
,&_argo0
))
6966 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6967 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6968 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetProductId. Expected _wxJoystick_p.");
6973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6974 _result
= (int )wxJoystick_GetProductId(_arg0
);
6976 wxPyEndAllowThreads(__tstate
);
6977 if (PyErr_Occurred()) return NULL
;
6978 } _resultobj
= Py_BuildValue("i",_result
);
6982 #define wxJoystick_GetProductName(_swigobj) (_swigobj->GetProductName())
6983 static PyObject
*_wrap_wxJoystick_GetProductName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6984 PyObject
* _resultobj
;
6987 PyObject
* _argo0
= 0;
6988 char *_kwnames
[] = { "self", NULL
};
6991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetProductName",_kwnames
,&_argo0
))
6994 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6995 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6996 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetProductName. Expected _wxJoystick_p.");
7001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7002 _result
= new wxString (wxJoystick_GetProductName(_arg0
));
7004 wxPyEndAllowThreads(__tstate
);
7005 if (PyErr_Occurred()) return NULL
;
7008 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
7010 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
7019 #define wxJoystick_GetXMin(_swigobj) (_swigobj->GetXMin())
7020 static PyObject
*_wrap_wxJoystick_GetXMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7021 PyObject
* _resultobj
;
7024 PyObject
* _argo0
= 0;
7025 char *_kwnames
[] = { "self", NULL
};
7028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetXMin",_kwnames
,&_argo0
))
7031 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7032 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7033 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetXMin. Expected _wxJoystick_p.");
7038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7039 _result
= (int )wxJoystick_GetXMin(_arg0
);
7041 wxPyEndAllowThreads(__tstate
);
7042 if (PyErr_Occurred()) return NULL
;
7043 } _resultobj
= Py_BuildValue("i",_result
);
7047 #define wxJoystick_GetYMin(_swigobj) (_swigobj->GetYMin())
7048 static PyObject
*_wrap_wxJoystick_GetYMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7049 PyObject
* _resultobj
;
7052 PyObject
* _argo0
= 0;
7053 char *_kwnames
[] = { "self", NULL
};
7056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetYMin",_kwnames
,&_argo0
))
7059 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7060 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7061 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetYMin. Expected _wxJoystick_p.");
7066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7067 _result
= (int )wxJoystick_GetYMin(_arg0
);
7069 wxPyEndAllowThreads(__tstate
);
7070 if (PyErr_Occurred()) return NULL
;
7071 } _resultobj
= Py_BuildValue("i",_result
);
7075 #define wxJoystick_GetZMin(_swigobj) (_swigobj->GetZMin())
7076 static PyObject
*_wrap_wxJoystick_GetZMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7077 PyObject
* _resultobj
;
7080 PyObject
* _argo0
= 0;
7081 char *_kwnames
[] = { "self", NULL
};
7084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetZMin",_kwnames
,&_argo0
))
7087 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7088 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7089 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetZMin. Expected _wxJoystick_p.");
7094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7095 _result
= (int )wxJoystick_GetZMin(_arg0
);
7097 wxPyEndAllowThreads(__tstate
);
7098 if (PyErr_Occurred()) return NULL
;
7099 } _resultobj
= Py_BuildValue("i",_result
);
7103 #define wxJoystick_GetXMax(_swigobj) (_swigobj->GetXMax())
7104 static PyObject
*_wrap_wxJoystick_GetXMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7105 PyObject
* _resultobj
;
7108 PyObject
* _argo0
= 0;
7109 char *_kwnames
[] = { "self", NULL
};
7112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetXMax",_kwnames
,&_argo0
))
7115 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7116 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7117 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetXMax. Expected _wxJoystick_p.");
7122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7123 _result
= (int )wxJoystick_GetXMax(_arg0
);
7125 wxPyEndAllowThreads(__tstate
);
7126 if (PyErr_Occurred()) return NULL
;
7127 } _resultobj
= Py_BuildValue("i",_result
);
7131 #define wxJoystick_GetYMax(_swigobj) (_swigobj->GetYMax())
7132 static PyObject
*_wrap_wxJoystick_GetYMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7133 PyObject
* _resultobj
;
7136 PyObject
* _argo0
= 0;
7137 char *_kwnames
[] = { "self", NULL
};
7140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetYMax",_kwnames
,&_argo0
))
7143 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7144 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7145 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetYMax. Expected _wxJoystick_p.");
7150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7151 _result
= (int )wxJoystick_GetYMax(_arg0
);
7153 wxPyEndAllowThreads(__tstate
);
7154 if (PyErr_Occurred()) return NULL
;
7155 } _resultobj
= Py_BuildValue("i",_result
);
7159 #define wxJoystick_GetZMax(_swigobj) (_swigobj->GetZMax())
7160 static PyObject
*_wrap_wxJoystick_GetZMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7161 PyObject
* _resultobj
;
7164 PyObject
* _argo0
= 0;
7165 char *_kwnames
[] = { "self", NULL
};
7168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetZMax",_kwnames
,&_argo0
))
7171 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7172 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7173 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetZMax. Expected _wxJoystick_p.");
7178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7179 _result
= (int )wxJoystick_GetZMax(_arg0
);
7181 wxPyEndAllowThreads(__tstate
);
7182 if (PyErr_Occurred()) return NULL
;
7183 } _resultobj
= Py_BuildValue("i",_result
);
7187 #define wxJoystick_GetNumberButtons(_swigobj) (_swigobj->GetNumberButtons())
7188 static PyObject
*_wrap_wxJoystick_GetNumberButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7189 PyObject
* _resultobj
;
7192 PyObject
* _argo0
= 0;
7193 char *_kwnames
[] = { "self", NULL
};
7196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetNumberButtons",_kwnames
,&_argo0
))
7199 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7200 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7201 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetNumberButtons. Expected _wxJoystick_p.");
7206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7207 _result
= (int )wxJoystick_GetNumberButtons(_arg0
);
7209 wxPyEndAllowThreads(__tstate
);
7210 if (PyErr_Occurred()) return NULL
;
7211 } _resultobj
= Py_BuildValue("i",_result
);
7215 #define wxJoystick_GetNumberAxes(_swigobj) (_swigobj->GetNumberAxes())
7216 static PyObject
*_wrap_wxJoystick_GetNumberAxes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7217 PyObject
* _resultobj
;
7220 PyObject
* _argo0
= 0;
7221 char *_kwnames
[] = { "self", NULL
};
7224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetNumberAxes",_kwnames
,&_argo0
))
7227 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7228 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7229 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetNumberAxes. Expected _wxJoystick_p.");
7234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7235 _result
= (int )wxJoystick_GetNumberAxes(_arg0
);
7237 wxPyEndAllowThreads(__tstate
);
7238 if (PyErr_Occurred()) return NULL
;
7239 } _resultobj
= Py_BuildValue("i",_result
);
7243 #define wxJoystick_GetMaxButtons(_swigobj) (_swigobj->GetMaxButtons())
7244 static PyObject
*_wrap_wxJoystick_GetMaxButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7245 PyObject
* _resultobj
;
7248 PyObject
* _argo0
= 0;
7249 char *_kwnames
[] = { "self", NULL
};
7252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetMaxButtons",_kwnames
,&_argo0
))
7255 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7256 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7257 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetMaxButtons. Expected _wxJoystick_p.");
7262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7263 _result
= (int )wxJoystick_GetMaxButtons(_arg0
);
7265 wxPyEndAllowThreads(__tstate
);
7266 if (PyErr_Occurred()) return NULL
;
7267 } _resultobj
= Py_BuildValue("i",_result
);
7271 #define wxJoystick_GetMaxAxes(_swigobj) (_swigobj->GetMaxAxes())
7272 static PyObject
*_wrap_wxJoystick_GetMaxAxes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7273 PyObject
* _resultobj
;
7276 PyObject
* _argo0
= 0;
7277 char *_kwnames
[] = { "self", NULL
};
7280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetMaxAxes",_kwnames
,&_argo0
))
7283 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7284 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7285 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetMaxAxes. Expected _wxJoystick_p.");
7290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7291 _result
= (int )wxJoystick_GetMaxAxes(_arg0
);
7293 wxPyEndAllowThreads(__tstate
);
7294 if (PyErr_Occurred()) return NULL
;
7295 } _resultobj
= Py_BuildValue("i",_result
);
7299 #define wxJoystick_GetPollingMin(_swigobj) (_swigobj->GetPollingMin())
7300 static PyObject
*_wrap_wxJoystick_GetPollingMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7301 PyObject
* _resultobj
;
7304 PyObject
* _argo0
= 0;
7305 char *_kwnames
[] = { "self", NULL
};
7308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPollingMin",_kwnames
,&_argo0
))
7311 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7312 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7313 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPollingMin. Expected _wxJoystick_p.");
7318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7319 _result
= (int )wxJoystick_GetPollingMin(_arg0
);
7321 wxPyEndAllowThreads(__tstate
);
7322 if (PyErr_Occurred()) return NULL
;
7323 } _resultobj
= Py_BuildValue("i",_result
);
7327 #define wxJoystick_GetPollingMax(_swigobj) (_swigobj->GetPollingMax())
7328 static PyObject
*_wrap_wxJoystick_GetPollingMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7329 PyObject
* _resultobj
;
7332 PyObject
* _argo0
= 0;
7333 char *_kwnames
[] = { "self", NULL
};
7336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPollingMax",_kwnames
,&_argo0
))
7339 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7340 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7341 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPollingMax. Expected _wxJoystick_p.");
7346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7347 _result
= (int )wxJoystick_GetPollingMax(_arg0
);
7349 wxPyEndAllowThreads(__tstate
);
7350 if (PyErr_Occurred()) return NULL
;
7351 } _resultobj
= Py_BuildValue("i",_result
);
7355 #define wxJoystick_GetRudderMin(_swigobj) (_swigobj->GetRudderMin())
7356 static PyObject
*_wrap_wxJoystick_GetRudderMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7357 PyObject
* _resultobj
;
7360 PyObject
* _argo0
= 0;
7361 char *_kwnames
[] = { "self", NULL
};
7364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetRudderMin",_kwnames
,&_argo0
))
7367 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7368 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7369 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetRudderMin. Expected _wxJoystick_p.");
7374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7375 _result
= (int )wxJoystick_GetRudderMin(_arg0
);
7377 wxPyEndAllowThreads(__tstate
);
7378 if (PyErr_Occurred()) return NULL
;
7379 } _resultobj
= Py_BuildValue("i",_result
);
7383 #define wxJoystick_GetRudderMax(_swigobj) (_swigobj->GetRudderMax())
7384 static PyObject
*_wrap_wxJoystick_GetRudderMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7385 PyObject
* _resultobj
;
7388 PyObject
* _argo0
= 0;
7389 char *_kwnames
[] = { "self", NULL
};
7392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetRudderMax",_kwnames
,&_argo0
))
7395 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7396 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7397 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetRudderMax. Expected _wxJoystick_p.");
7402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7403 _result
= (int )wxJoystick_GetRudderMax(_arg0
);
7405 wxPyEndAllowThreads(__tstate
);
7406 if (PyErr_Occurred()) return NULL
;
7407 } _resultobj
= Py_BuildValue("i",_result
);
7411 #define wxJoystick_GetUMin(_swigobj) (_swigobj->GetUMin())
7412 static PyObject
*_wrap_wxJoystick_GetUMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7413 PyObject
* _resultobj
;
7416 PyObject
* _argo0
= 0;
7417 char *_kwnames
[] = { "self", NULL
};
7420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetUMin",_kwnames
,&_argo0
))
7423 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7424 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7425 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetUMin. Expected _wxJoystick_p.");
7430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7431 _result
= (int )wxJoystick_GetUMin(_arg0
);
7433 wxPyEndAllowThreads(__tstate
);
7434 if (PyErr_Occurred()) return NULL
;
7435 } _resultobj
= Py_BuildValue("i",_result
);
7439 #define wxJoystick_GetUMax(_swigobj) (_swigobj->GetUMax())
7440 static PyObject
*_wrap_wxJoystick_GetUMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7441 PyObject
* _resultobj
;
7444 PyObject
* _argo0
= 0;
7445 char *_kwnames
[] = { "self", NULL
};
7448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetUMax",_kwnames
,&_argo0
))
7451 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7452 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7453 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetUMax. Expected _wxJoystick_p.");
7458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7459 _result
= (int )wxJoystick_GetUMax(_arg0
);
7461 wxPyEndAllowThreads(__tstate
);
7462 if (PyErr_Occurred()) return NULL
;
7463 } _resultobj
= Py_BuildValue("i",_result
);
7467 #define wxJoystick_GetVMin(_swigobj) (_swigobj->GetVMin())
7468 static PyObject
*_wrap_wxJoystick_GetVMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7469 PyObject
* _resultobj
;
7472 PyObject
* _argo0
= 0;
7473 char *_kwnames
[] = { "self", NULL
};
7476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetVMin",_kwnames
,&_argo0
))
7479 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7480 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7481 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetVMin. Expected _wxJoystick_p.");
7486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7487 _result
= (int )wxJoystick_GetVMin(_arg0
);
7489 wxPyEndAllowThreads(__tstate
);
7490 if (PyErr_Occurred()) return NULL
;
7491 } _resultobj
= Py_BuildValue("i",_result
);
7495 #define wxJoystick_GetVMax(_swigobj) (_swigobj->GetVMax())
7496 static PyObject
*_wrap_wxJoystick_GetVMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7497 PyObject
* _resultobj
;
7500 PyObject
* _argo0
= 0;
7501 char *_kwnames
[] = { "self", NULL
};
7504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetVMax",_kwnames
,&_argo0
))
7507 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7508 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7509 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetVMax. Expected _wxJoystick_p.");
7514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7515 _result
= (int )wxJoystick_GetVMax(_arg0
);
7517 wxPyEndAllowThreads(__tstate
);
7518 if (PyErr_Occurred()) return NULL
;
7519 } _resultobj
= Py_BuildValue("i",_result
);
7523 #define wxJoystick_HasRudder(_swigobj) (_swigobj->HasRudder())
7524 static PyObject
*_wrap_wxJoystick_HasRudder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7525 PyObject
* _resultobj
;
7528 PyObject
* _argo0
= 0;
7529 char *_kwnames
[] = { "self", NULL
};
7532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasRudder",_kwnames
,&_argo0
))
7535 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7536 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7537 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasRudder. Expected _wxJoystick_p.");
7542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7543 _result
= (bool )wxJoystick_HasRudder(_arg0
);
7545 wxPyEndAllowThreads(__tstate
);
7546 if (PyErr_Occurred()) return NULL
;
7547 } _resultobj
= Py_BuildValue("i",_result
);
7551 #define wxJoystick_HasZ(_swigobj) (_swigobj->HasZ())
7552 static PyObject
*_wrap_wxJoystick_HasZ(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7553 PyObject
* _resultobj
;
7556 PyObject
* _argo0
= 0;
7557 char *_kwnames
[] = { "self", NULL
};
7560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasZ",_kwnames
,&_argo0
))
7563 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7564 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7565 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasZ. Expected _wxJoystick_p.");
7570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7571 _result
= (bool )wxJoystick_HasZ(_arg0
);
7573 wxPyEndAllowThreads(__tstate
);
7574 if (PyErr_Occurred()) return NULL
;
7575 } _resultobj
= Py_BuildValue("i",_result
);
7579 #define wxJoystick_HasU(_swigobj) (_swigobj->HasU())
7580 static PyObject
*_wrap_wxJoystick_HasU(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7581 PyObject
* _resultobj
;
7584 PyObject
* _argo0
= 0;
7585 char *_kwnames
[] = { "self", NULL
};
7588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasU",_kwnames
,&_argo0
))
7591 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7592 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7593 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasU. Expected _wxJoystick_p.");
7598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7599 _result
= (bool )wxJoystick_HasU(_arg0
);
7601 wxPyEndAllowThreads(__tstate
);
7602 if (PyErr_Occurred()) return NULL
;
7603 } _resultobj
= Py_BuildValue("i",_result
);
7607 #define wxJoystick_HasV(_swigobj) (_swigobj->HasV())
7608 static PyObject
*_wrap_wxJoystick_HasV(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7609 PyObject
* _resultobj
;
7612 PyObject
* _argo0
= 0;
7613 char *_kwnames
[] = { "self", NULL
};
7616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasV",_kwnames
,&_argo0
))
7619 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7620 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7621 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasV. Expected _wxJoystick_p.");
7626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7627 _result
= (bool )wxJoystick_HasV(_arg0
);
7629 wxPyEndAllowThreads(__tstate
);
7630 if (PyErr_Occurred()) return NULL
;
7631 } _resultobj
= Py_BuildValue("i",_result
);
7635 #define wxJoystick_HasPOV(_swigobj) (_swigobj->HasPOV())
7636 static PyObject
*_wrap_wxJoystick_HasPOV(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7637 PyObject
* _resultobj
;
7640 PyObject
* _argo0
= 0;
7641 char *_kwnames
[] = { "self", NULL
};
7644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasPOV",_kwnames
,&_argo0
))
7647 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7648 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7649 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasPOV. Expected _wxJoystick_p.");
7654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7655 _result
= (bool )wxJoystick_HasPOV(_arg0
);
7657 wxPyEndAllowThreads(__tstate
);
7658 if (PyErr_Occurred()) return NULL
;
7659 } _resultobj
= Py_BuildValue("i",_result
);
7663 #define wxJoystick_HasPOV4Dir(_swigobj) (_swigobj->HasPOV4Dir())
7664 static PyObject
*_wrap_wxJoystick_HasPOV4Dir(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7665 PyObject
* _resultobj
;
7668 PyObject
* _argo0
= 0;
7669 char *_kwnames
[] = { "self", NULL
};
7672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasPOV4Dir",_kwnames
,&_argo0
))
7675 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7676 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7677 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasPOV4Dir. Expected _wxJoystick_p.");
7682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7683 _result
= (bool )wxJoystick_HasPOV4Dir(_arg0
);
7685 wxPyEndAllowThreads(__tstate
);
7686 if (PyErr_Occurred()) return NULL
;
7687 } _resultobj
= Py_BuildValue("i",_result
);
7691 #define wxJoystick_HasPOVCTS(_swigobj) (_swigobj->HasPOVCTS())
7692 static PyObject
*_wrap_wxJoystick_HasPOVCTS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7693 PyObject
* _resultobj
;
7696 PyObject
* _argo0
= 0;
7697 char *_kwnames
[] = { "self", NULL
};
7700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasPOVCTS",_kwnames
,&_argo0
))
7703 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7704 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7705 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasPOVCTS. Expected _wxJoystick_p.");
7710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7711 _result
= (bool )wxJoystick_HasPOVCTS(_arg0
);
7713 wxPyEndAllowThreads(__tstate
);
7714 if (PyErr_Occurred()) return NULL
;
7715 } _resultobj
= Py_BuildValue("i",_result
);
7719 #define wxJoystick_SetCapture(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetCapture(_swigarg0,_swigarg1))
7720 static PyObject
*_wrap_wxJoystick_SetCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7721 PyObject
* _resultobj
;
7725 int _arg2
= (int ) 0;
7726 PyObject
* _argo0
= 0;
7727 PyObject
* _argo1
= 0;
7728 char *_kwnames
[] = { "self","win","pollingFreq", NULL
};
7731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxJoystick_SetCapture",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
7734 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7735 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7736 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_SetCapture. Expected _wxJoystick_p.");
7741 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7742 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
7743 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxJoystick_SetCapture. Expected _wxWindow_p.");
7748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7749 _result
= (bool )wxJoystick_SetCapture(_arg0
,_arg1
,_arg2
);
7751 wxPyEndAllowThreads(__tstate
);
7752 if (PyErr_Occurred()) return NULL
;
7753 } _resultobj
= Py_BuildValue("i",_result
);
7757 #define wxJoystick_ReleaseCapture(_swigobj) (_swigobj->ReleaseCapture())
7758 static PyObject
*_wrap_wxJoystick_ReleaseCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7759 PyObject
* _resultobj
;
7762 PyObject
* _argo0
= 0;
7763 char *_kwnames
[] = { "self", NULL
};
7766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_ReleaseCapture",_kwnames
,&_argo0
))
7769 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7770 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7771 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_ReleaseCapture. Expected _wxJoystick_p.");
7776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7777 _result
= (bool )wxJoystick_ReleaseCapture(_arg0
);
7779 wxPyEndAllowThreads(__tstate
);
7780 if (PyErr_Occurred()) return NULL
;
7781 } _resultobj
= Py_BuildValue("i",_result
);
7785 static void *SwigwxWaveTowxObject(void *ptr
) {
7788 src
= (wxWave
*) ptr
;
7789 dest
= (wxObject
*) src
;
7790 return (void *) dest
;
7793 #define new_wxWave(_swigarg0,_swigarg1) (new wxWave(_swigarg0,_swigarg1))
7794 static PyObject
*_wrap_new_wxWave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7795 PyObject
* _resultobj
;
7798 bool _arg1
= (bool ) FALSE
;
7799 PyObject
* _obj0
= 0;
7800 int tempbool1
= (int) FALSE
;
7801 char *_kwnames
[] = { "fileName","isResource", NULL
};
7805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:new_wxWave",_kwnames
,&_obj0
,&tempbool1
))
7808 _arg0
= wxString_in_helper(_obj0
);
7812 _arg1
= (bool ) tempbool1
;
7814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7815 _result
= (wxWave
*)new_wxWave(*_arg0
,_arg1
);
7817 wxPyEndAllowThreads(__tstate
);
7818 if (PyErr_Occurred()) return NULL
;
7820 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWave_p");
7821 _resultobj
= Py_BuildValue("s",_ptemp
);
7824 _resultobj
= Py_None
;
7833 #define delete_wxWave(_swigobj) (delete _swigobj)
7834 static PyObject
*_wrap_delete_wxWave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7835 PyObject
* _resultobj
;
7837 PyObject
* _argo0
= 0;
7838 char *_kwnames
[] = { "self", NULL
};
7841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxWave",_kwnames
,&_argo0
))
7844 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7845 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWave_p")) {
7846 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxWave. Expected _wxWave_p.");
7851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7852 delete_wxWave(_arg0
);
7854 wxPyEndAllowThreads(__tstate
);
7855 if (PyErr_Occurred()) return NULL
;
7856 } Py_INCREF(Py_None
);
7857 _resultobj
= Py_None
;
7861 #define wxWave_IsOk(_swigobj) (_swigobj->IsOk())
7862 static PyObject
*_wrap_wxWave_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7863 PyObject
* _resultobj
;
7866 PyObject
* _argo0
= 0;
7867 char *_kwnames
[] = { "self", NULL
};
7870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWave_IsOk",_kwnames
,&_argo0
))
7873 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7874 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWave_p")) {
7875 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWave_IsOk. Expected _wxWave_p.");
7880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7881 _result
= (bool )wxWave_IsOk(_arg0
);
7883 wxPyEndAllowThreads(__tstate
);
7884 if (PyErr_Occurred()) return NULL
;
7885 } _resultobj
= Py_BuildValue("i",_result
);
7889 #define wxWave_Play(_swigobj,_swigarg0,_swigarg1) (_swigobj->Play(_swigarg0,_swigarg1))
7890 static PyObject
*_wrap_wxWave_Play(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7891 PyObject
* _resultobj
;
7894 bool _arg1
= (bool ) TRUE
;
7895 bool _arg2
= (bool ) FALSE
;
7896 PyObject
* _argo0
= 0;
7897 int tempbool1
= (int) TRUE
;
7898 int tempbool2
= (int) FALSE
;
7899 char *_kwnames
[] = { "self","async","looped", NULL
};
7902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxWave_Play",_kwnames
,&_argo0
,&tempbool1
,&tempbool2
))
7905 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7906 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWave_p")) {
7907 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWave_Play. Expected _wxWave_p.");
7911 _arg1
= (bool ) tempbool1
;
7912 _arg2
= (bool ) tempbool2
;
7914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7915 _result
= (bool )wxWave_Play(_arg0
,_arg1
,_arg2
);
7917 wxPyEndAllowThreads(__tstate
);
7918 if (PyErr_Occurred()) return NULL
;
7919 } _resultobj
= Py_BuildValue("i",_result
);
7923 #define new_wxFileTypeInfo(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxFileTypeInfo(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7924 static PyObject
*_wrap_new_wxFileTypeInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7925 PyObject
* _resultobj
;
7926 wxFileTypeInfo
* _result
;
7931 PyObject
* _obj0
= 0;
7932 PyObject
* _obj1
= 0;
7933 PyObject
* _obj2
= 0;
7934 PyObject
* _obj3
= 0;
7935 char *_kwnames
[] = { "mimeType","openCmd","printCmd","desc", NULL
};
7939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO:new_wxFileTypeInfo",_kwnames
,&_obj0
,&_obj1
,&_obj2
,&_obj3
))
7942 _arg0
= wxString_in_helper(_obj0
);
7947 _arg1
= wxString_in_helper(_obj1
);
7952 _arg2
= wxString_in_helper(_obj2
);
7957 _arg3
= wxString_in_helper(_obj3
);
7962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7963 _result
= (wxFileTypeInfo
*)new_wxFileTypeInfo(*_arg0
,*_arg1
,*_arg2
,*_arg3
);
7965 wxPyEndAllowThreads(__tstate
);
7966 if (PyErr_Occurred()) return NULL
;
7968 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileTypeInfo_p");
7969 _resultobj
= Py_BuildValue("s",_ptemp
);
7972 _resultobj
= Py_None
;
7993 #define new_wxFileTypeInfoSequence(_swigarg0) (new wxFileTypeInfo(_swigarg0))
7994 static PyObject
*_wrap_new_wxFileTypeInfoSequence(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7995 PyObject
* _resultobj
;
7996 wxFileTypeInfo
* _result
;
7997 wxArrayString
* _arg0
;
7998 PyObject
* _obj0
= 0;
7999 char *_kwnames
[] = { "sArray", NULL
};
8003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxFileTypeInfoSequence",_kwnames
,&_obj0
))
8006 if (! PySequence_Check(_obj0
)) {
8007 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
8010 _arg0
= new wxArrayString
;
8011 int i
, len
=PySequence_Length(_obj0
);
8012 for (i
=0; i
<len
; i
++) {
8013 PyObject
* item
= PySequence_GetItem(_obj0
, i
);
8015 PyObject
* str
= PyObject_Unicode(item
);
8017 PyObject
* str
= PyObject_Str(item
);
8019 _arg0
->Add(Py2wxString(str
));
8025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8026 _result
= (wxFileTypeInfo
*)new_wxFileTypeInfoSequence(*_arg0
);
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
;
8044 #define new_wxNullFileTypeInfo() (new wxFileTypeInfo())
8045 static PyObject
*_wrap_new_wxNullFileTypeInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8046 PyObject
* _resultobj
;
8047 wxFileTypeInfo
* _result
;
8048 char *_kwnames
[] = { NULL
};
8052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxNullFileTypeInfo",_kwnames
))
8055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8056 _result
= (wxFileTypeInfo
*)new_wxNullFileTypeInfo();
8058 wxPyEndAllowThreads(__tstate
);
8059 if (PyErr_Occurred()) return NULL
;
8061 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileTypeInfo_p");
8062 _resultobj
= Py_BuildValue("s",_ptemp
);
8065 _resultobj
= Py_None
;
8070 #define wxFileTypeInfo_IsValid(_swigobj) (_swigobj->IsValid())
8071 static PyObject
*_wrap_wxFileTypeInfo_IsValid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8072 PyObject
* _resultobj
;
8074 wxFileTypeInfo
* _arg0
;
8075 PyObject
* _argo0
= 0;
8076 char *_kwnames
[] = { "self", NULL
};
8079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_IsValid",_kwnames
,&_argo0
))
8082 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8083 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8084 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_IsValid. Expected _wxFileTypeInfo_p.");
8089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8090 _result
= (bool )wxFileTypeInfo_IsValid(_arg0
);
8092 wxPyEndAllowThreads(__tstate
);
8093 if (PyErr_Occurred()) return NULL
;
8094 } _resultobj
= Py_BuildValue("i",_result
);
8098 #define wxFileTypeInfo_SetIcon(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetIcon(_swigarg0,_swigarg1))
8099 static PyObject
*_wrap_wxFileTypeInfo_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8100 PyObject
* _resultobj
;
8101 wxFileTypeInfo
* _arg0
;
8103 int _arg2
= (int ) 0;
8104 PyObject
* _argo0
= 0;
8105 PyObject
* _obj1
= 0;
8106 char *_kwnames
[] = { "self","iconFile","iconIndex", NULL
};
8109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxFileTypeInfo_SetIcon",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
8112 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8113 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8114 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_SetIcon. Expected _wxFileTypeInfo_p.");
8119 _arg1
= wxString_in_helper(_obj1
);
8124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8125 wxFileTypeInfo_SetIcon(_arg0
,*_arg1
,_arg2
);
8127 wxPyEndAllowThreads(__tstate
);
8128 if (PyErr_Occurred()) return NULL
;
8129 } Py_INCREF(Py_None
);
8130 _resultobj
= Py_None
;
8138 #define wxFileTypeInfo_SetShortDesc(_swigobj,_swigarg0) (_swigobj->SetShortDesc(_swigarg0))
8139 static PyObject
*_wrap_wxFileTypeInfo_SetShortDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8140 PyObject
* _resultobj
;
8141 wxFileTypeInfo
* _arg0
;
8143 PyObject
* _argo0
= 0;
8144 PyObject
* _obj1
= 0;
8145 char *_kwnames
[] = { "self","shortDesc", NULL
};
8148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileTypeInfo_SetShortDesc",_kwnames
,&_argo0
,&_obj1
))
8151 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8152 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8153 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_SetShortDesc. Expected _wxFileTypeInfo_p.");
8158 _arg1
= wxString_in_helper(_obj1
);
8163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8164 wxFileTypeInfo_SetShortDesc(_arg0
,*_arg1
);
8166 wxPyEndAllowThreads(__tstate
);
8167 if (PyErr_Occurred()) return NULL
;
8168 } Py_INCREF(Py_None
);
8169 _resultobj
= Py_None
;
8177 #define wxFileTypeInfo_GetMimeType(_swigobj) (_swigobj->GetMimeType())
8178 static PyObject
*_wrap_wxFileTypeInfo_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8179 PyObject
* _resultobj
;
8181 wxFileTypeInfo
* _arg0
;
8182 PyObject
* _argo0
= 0;
8183 char *_kwnames
[] = { "self", NULL
};
8186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetMimeType",_kwnames
,&_argo0
))
8189 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8190 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8191 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetMimeType. Expected _wxFileTypeInfo_p.");
8196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8197 const wxString
& _result_ref
= wxFileTypeInfo_GetMimeType(_arg0
);
8198 _result
= (wxString
*) &_result_ref
;
8200 wxPyEndAllowThreads(__tstate
);
8201 if (PyErr_Occurred()) return NULL
;
8204 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
8206 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8212 #define wxFileTypeInfo_GetOpenCommand(_swigobj) (_swigobj->GetOpenCommand())
8213 static PyObject
*_wrap_wxFileTypeInfo_GetOpenCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8214 PyObject
* _resultobj
;
8216 wxFileTypeInfo
* _arg0
;
8217 PyObject
* _argo0
= 0;
8218 char *_kwnames
[] = { "self", NULL
};
8221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetOpenCommand",_kwnames
,&_argo0
))
8224 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8225 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8226 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetOpenCommand. Expected _wxFileTypeInfo_p.");
8231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8232 const wxString
& _result_ref
= wxFileTypeInfo_GetOpenCommand(_arg0
);
8233 _result
= (wxString
*) &_result_ref
;
8235 wxPyEndAllowThreads(__tstate
);
8236 if (PyErr_Occurred()) return NULL
;
8239 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
8241 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8247 #define wxFileTypeInfo_GetPrintCommand(_swigobj) (_swigobj->GetPrintCommand())
8248 static PyObject
*_wrap_wxFileTypeInfo_GetPrintCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8249 PyObject
* _resultobj
;
8251 wxFileTypeInfo
* _arg0
;
8252 PyObject
* _argo0
= 0;
8253 char *_kwnames
[] = { "self", NULL
};
8256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetPrintCommand",_kwnames
,&_argo0
))
8259 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8260 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8261 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetPrintCommand. Expected _wxFileTypeInfo_p.");
8266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8267 const wxString
& _result_ref
= wxFileTypeInfo_GetPrintCommand(_arg0
);
8268 _result
= (wxString
*) &_result_ref
;
8270 wxPyEndAllowThreads(__tstate
);
8271 if (PyErr_Occurred()) return NULL
;
8274 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
8276 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8282 #define wxFileTypeInfo_GetShortDesc(_swigobj) (_swigobj->GetShortDesc())
8283 static PyObject
*_wrap_wxFileTypeInfo_GetShortDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8284 PyObject
* _resultobj
;
8286 wxFileTypeInfo
* _arg0
;
8287 PyObject
* _argo0
= 0;
8288 char *_kwnames
[] = { "self", NULL
};
8291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetShortDesc",_kwnames
,&_argo0
))
8294 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8295 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8296 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetShortDesc. Expected _wxFileTypeInfo_p.");
8301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8302 const wxString
& _result_ref
= wxFileTypeInfo_GetShortDesc(_arg0
);
8303 _result
= (wxString
*) &_result_ref
;
8305 wxPyEndAllowThreads(__tstate
);
8306 if (PyErr_Occurred()) return NULL
;
8309 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
8311 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8317 #define wxFileTypeInfo_GetDescription(_swigobj) (_swigobj->GetDescription())
8318 static PyObject
*_wrap_wxFileTypeInfo_GetDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8319 PyObject
* _resultobj
;
8321 wxFileTypeInfo
* _arg0
;
8322 PyObject
* _argo0
= 0;
8323 char *_kwnames
[] = { "self", NULL
};
8326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetDescription",_kwnames
,&_argo0
))
8329 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8330 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8331 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetDescription. Expected _wxFileTypeInfo_p.");
8336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8337 const wxString
& _result_ref
= wxFileTypeInfo_GetDescription(_arg0
);
8338 _result
= (wxString
*) &_result_ref
;
8340 wxPyEndAllowThreads(__tstate
);
8341 if (PyErr_Occurred()) return NULL
;
8344 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
8346 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8352 static PyObject
* wxFileTypeInfo_GetExtensions(wxFileTypeInfo
*self
) {
8353 wxArrayString
& arr
= (wxArrayString
&)self
->GetExtensions();
8354 return wxArrayString2PyList_helper(arr
);
8356 static PyObject
*_wrap_wxFileTypeInfo_GetExtensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8357 PyObject
* _resultobj
;
8359 wxFileTypeInfo
* _arg0
;
8360 PyObject
* _argo0
= 0;
8361 char *_kwnames
[] = { "self", NULL
};
8364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetExtensions",_kwnames
,&_argo0
))
8367 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8368 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8369 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetExtensions. Expected _wxFileTypeInfo_p.");
8374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8375 _result
= (PyObject
*)wxFileTypeInfo_GetExtensions(_arg0
);
8377 wxPyEndAllowThreads(__tstate
);
8378 if (PyErr_Occurred()) return NULL
;
8380 _resultobj
= _result
;
8385 #define wxFileTypeInfo_GetExtensionsCount(_swigobj) (_swigobj->GetExtensionsCount())
8386 static PyObject
*_wrap_wxFileTypeInfo_GetExtensionsCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8387 PyObject
* _resultobj
;
8389 wxFileTypeInfo
* _arg0
;
8390 PyObject
* _argo0
= 0;
8391 char *_kwnames
[] = { "self", NULL
};
8394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetExtensionsCount",_kwnames
,&_argo0
))
8397 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8398 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8399 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetExtensionsCount. Expected _wxFileTypeInfo_p.");
8404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8405 _result
= (int )wxFileTypeInfo_GetExtensionsCount(_arg0
);
8407 wxPyEndAllowThreads(__tstate
);
8408 if (PyErr_Occurred()) return NULL
;
8409 } _resultobj
= Py_BuildValue("i",_result
);
8413 #define wxFileTypeInfo_GetIconFile(_swigobj) (_swigobj->GetIconFile())
8414 static PyObject
*_wrap_wxFileTypeInfo_GetIconFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8415 PyObject
* _resultobj
;
8417 wxFileTypeInfo
* _arg0
;
8418 PyObject
* _argo0
= 0;
8419 char *_kwnames
[] = { "self", NULL
};
8422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetIconFile",_kwnames
,&_argo0
))
8425 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8426 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8427 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetIconFile. Expected _wxFileTypeInfo_p.");
8432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8433 const wxString
& _result_ref
= wxFileTypeInfo_GetIconFile(_arg0
);
8434 _result
= (wxString
*) &_result_ref
;
8436 wxPyEndAllowThreads(__tstate
);
8437 if (PyErr_Occurred()) return NULL
;
8440 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
8442 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8448 #define wxFileTypeInfo_GetIconIndex(_swigobj) (_swigobj->GetIconIndex())
8449 static PyObject
*_wrap_wxFileTypeInfo_GetIconIndex(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_GetIconIndex",_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_GetIconIndex. Expected _wxFileTypeInfo_p.");
8467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8468 _result
= (int )wxFileTypeInfo_GetIconIndex(_arg0
);
8470 wxPyEndAllowThreads(__tstate
);
8471 if (PyErr_Occurred()) return NULL
;
8472 } _resultobj
= Py_BuildValue("i",_result
);
8476 #define new_wxFileType(_swigarg0) (new wxFileType(_swigarg0))
8477 static PyObject
*_wrap_new_wxFileType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8478 PyObject
* _resultobj
;
8479 wxFileType
* _result
;
8480 wxFileTypeInfo
* _arg0
;
8481 PyObject
* _argo0
= 0;
8482 char *_kwnames
[] = { "ftInfo", NULL
};
8486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxFileType",_kwnames
,&_argo0
))
8489 if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8490 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxFileType. Expected _wxFileTypeInfo_p.");
8495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8496 _result
= (wxFileType
*)new_wxFileType(*_arg0
);
8498 wxPyEndAllowThreads(__tstate
);
8499 if (PyErr_Occurred()) return NULL
;
8501 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileType_p");
8502 _resultobj
= Py_BuildValue("s",_ptemp
);
8505 _resultobj
= Py_None
;
8510 static PyObject
* wxFileType_GetMimeType(wxFileType
*self
) {
8512 if (self
->GetMimeType(&str
)) {
8514 return PyUnicode_FromWideChar(str
.c_str(), str
.Len());
8516 return PyString_FromStringAndSize(str
.c_str(), str
.Len());
8522 static PyObject
*_wrap_wxFileType_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8523 PyObject
* _resultobj
;
8526 PyObject
* _argo0
= 0;
8527 char *_kwnames
[] = { "self", NULL
};
8530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_GetMimeType",_kwnames
,&_argo0
))
8533 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8534 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8535 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetMimeType. Expected _wxFileType_p.");
8540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8541 _result
= (PyObject
*)wxFileType_GetMimeType(_arg0
);
8543 wxPyEndAllowThreads(__tstate
);
8544 if (PyErr_Occurred()) return NULL
;
8546 _resultobj
= _result
;
8551 static PyObject
* wxFileType_GetMimeTypes(wxFileType
*self
) {
8553 if (self
->GetMimeTypes(arr
))
8554 return wxArrayString2PyList_helper(arr
);
8558 static PyObject
*_wrap_wxFileType_GetMimeTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8559 PyObject
* _resultobj
;
8562 PyObject
* _argo0
= 0;
8563 char *_kwnames
[] = { "self", NULL
};
8566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_GetMimeTypes",_kwnames
,&_argo0
))
8569 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8570 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8571 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetMimeTypes. Expected _wxFileType_p.");
8576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8577 _result
= (PyObject
*)wxFileType_GetMimeTypes(_arg0
);
8579 wxPyEndAllowThreads(__tstate
);
8580 if (PyErr_Occurred()) return NULL
;
8582 _resultobj
= _result
;
8587 static PyObject
* wxFileType_GetExtensions(wxFileType
*self
) {
8589 if (self
->GetExtensions(arr
))
8590 return wxArrayString2PyList_helper(arr
);
8594 static PyObject
*_wrap_wxFileType_GetExtensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8595 PyObject
* _resultobj
;
8598 PyObject
* _argo0
= 0;
8599 char *_kwnames
[] = { "self", NULL
};
8602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_GetExtensions",_kwnames
,&_argo0
))
8605 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8606 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8607 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetExtensions. Expected _wxFileType_p.");
8612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8613 _result
= (PyObject
*)wxFileType_GetExtensions(_arg0
);
8615 wxPyEndAllowThreads(__tstate
);
8616 if (PyErr_Occurred()) return NULL
;
8618 _resultobj
= _result
;
8623 static wxIcon
* wxFileType_GetIcon(wxFileType
*self
) {
8625 if (self
->GetIcon(&icon
))
8626 return new wxIcon(icon
);
8630 static PyObject
*_wrap_wxFileType_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8631 PyObject
* _resultobj
;
8634 PyObject
* _argo0
= 0;
8635 char *_kwnames
[] = { "self", NULL
};
8639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_GetIcon",_kwnames
,&_argo0
))
8642 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8643 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8644 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetIcon. Expected _wxFileType_p.");
8649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8650 _result
= (wxIcon
*)wxFileType_GetIcon(_arg0
);
8652 wxPyEndAllowThreads(__tstate
);
8653 if (PyErr_Occurred()) return NULL
;
8655 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIcon_p");
8656 _resultobj
= Py_BuildValue("s",_ptemp
);
8659 _resultobj
= Py_None
;
8664 static PyObject
* wxFileType_GetIconInfo(wxFileType
*self
) {
8668 if (self
->GetIcon(&icon
, &iconFile
, &iconIndex
)) {
8669 wxPyBeginBlockThreads();
8670 PyObject
* tuple
= PyTuple_New(3);
8671 PyTuple_SetItem(tuple
, 0, wxPyConstructObject(new wxIcon(icon
),
8672 wxT("wxIcon"), TRUE
));
8674 PyTuple_SetItem(tuple
, 1, PyUnicode_FromWideChar(iconFile
.c_str(), iconFile
.Len()));
8676 PyTuple_SetItem(tuple
, 1, PyString_FromStringAndSize(iconFile
.c_str(), iconFile
.Len()));
8678 PyTuple_SetItem(tuple
, 2, PyInt_FromLong(iconIndex
));
8679 wxPyEndBlockThreads();
8685 static PyObject
*_wrap_wxFileType_GetIconInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8686 PyObject
* _resultobj
;
8689 PyObject
* _argo0
= 0;
8690 char *_kwnames
[] = { "self", NULL
};
8693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_GetIconInfo",_kwnames
,&_argo0
))
8696 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8697 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8698 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetIconInfo. Expected _wxFileType_p.");
8703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8704 _result
= (PyObject
*)wxFileType_GetIconInfo(_arg0
);
8706 wxPyEndAllowThreads(__tstate
);
8707 if (PyErr_Occurred()) return NULL
;
8709 _resultobj
= _result
;
8714 static PyObject
* wxFileType_GetDescription(wxFileType
*self
) {
8716 if (self
->GetDescription(&str
)) {
8718 return PyUnicode_FromWideChar(str
.c_str(), str
.Len());
8720 return PyString_FromStringAndSize(str
.c_str(), str
.Len());
8725 static PyObject
*_wrap_wxFileType_GetDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8726 PyObject
* _resultobj
;
8729 PyObject
* _argo0
= 0;
8730 char *_kwnames
[] = { "self", NULL
};
8733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_GetDescription",_kwnames
,&_argo0
))
8736 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8737 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8738 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetDescription. Expected _wxFileType_p.");
8743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8744 _result
= (PyObject
*)wxFileType_GetDescription(_arg0
);
8746 wxPyEndAllowThreads(__tstate
);
8747 if (PyErr_Occurred()) return NULL
;
8749 _resultobj
= _result
;
8754 static PyObject
* wxFileType_GetOpenCommand(wxFileType
*self
,const wxString
& filename
,const wxString
& mimetype
) {
8756 if (self
->GetOpenCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
))) {
8758 return PyUnicode_FromWideChar(str
.c_str(), str
.Len());
8760 return PyString_FromStringAndSize(str
.c_str(), str
.Len());
8765 static PyObject
*_wrap_wxFileType_GetOpenCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8766 PyObject
* _resultobj
;
8770 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
8771 PyObject
* _argo0
= 0;
8772 PyObject
* _obj1
= 0;
8773 PyObject
* _obj2
= 0;
8774 char *_kwnames
[] = { "self","filename","mimetype", NULL
};
8777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxFileType_GetOpenCommand",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
8780 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8781 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8782 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetOpenCommand. Expected _wxFileType_p.");
8787 _arg1
= wxString_in_helper(_obj1
);
8793 _arg2
= wxString_in_helper(_obj2
);
8798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8799 _result
= (PyObject
*)wxFileType_GetOpenCommand(_arg0
,*_arg1
,*_arg2
);
8801 wxPyEndAllowThreads(__tstate
);
8802 if (PyErr_Occurred()) return NULL
;
8804 _resultobj
= _result
;
8817 static PyObject
* wxFileType_GetPrintCommand(wxFileType
*self
,const wxString
& filename
,const wxString
& mimetype
) {
8819 if (self
->GetPrintCommand(&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_GetPrintCommand(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_GetPrintCommand",_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_GetPrintCommand. Expected _wxFileType_p.");
8850 _arg1
= wxString_in_helper(_obj1
);
8856 _arg2
= wxString_in_helper(_obj2
);
8861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8862 _result
= (PyObject
*)wxFileType_GetPrintCommand(_arg0
,*_arg1
,*_arg2
);
8864 wxPyEndAllowThreads(__tstate
);
8865 if (PyErr_Occurred()) return NULL
;
8867 _resultobj
= _result
;
8880 static PyObject
* wxFileType_GetAllCommands(wxFileType
*self
,const wxString
& filename
,const wxString
& mimetype
) {
8881 wxArrayString verbs
;
8882 wxArrayString commands
;
8883 if (self
->GetAllCommands(&verbs
, &commands
,
8884 wxFileType::MessageParameters(filename
, mimetype
))) {
8885 wxPyBeginBlockThreads();
8886 PyObject
* tuple
= PyTuple_New(2);
8887 PyTuple_SetItem(tuple
, 0, wxArrayString2PyList_helper(verbs
));
8888 PyTuple_SetItem(tuple
, 1, wxArrayString2PyList_helper(commands
));
8889 wxPyEndBlockThreads();
8895 static PyObject
*_wrap_wxFileType_GetAllCommands(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8896 PyObject
* _resultobj
;
8900 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
8901 PyObject
* _argo0
= 0;
8902 PyObject
* _obj1
= 0;
8903 PyObject
* _obj2
= 0;
8904 char *_kwnames
[] = { "self","filename","mimetype", NULL
};
8907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxFileType_GetAllCommands",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
8910 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8911 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8912 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetAllCommands. Expected _wxFileType_p.");
8917 _arg1
= wxString_in_helper(_obj1
);
8923 _arg2
= wxString_in_helper(_obj2
);
8928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8929 _result
= (PyObject
*)wxFileType_GetAllCommands(_arg0
,*_arg1
,*_arg2
);
8931 wxPyEndAllowThreads(__tstate
);
8932 if (PyErr_Occurred()) return NULL
;
8934 _resultobj
= _result
;
8947 #define wxFileType_SetCommand(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCommand(_swigarg0,_swigarg1,_swigarg2))
8948 static PyObject
*_wrap_wxFileType_SetCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8949 PyObject
* _resultobj
;
8954 bool _arg3
= (bool ) TRUE
;
8955 PyObject
* _argo0
= 0;
8956 PyObject
* _obj1
= 0;
8957 PyObject
* _obj2
= 0;
8958 int tempbool3
= (int) TRUE
;
8959 char *_kwnames
[] = { "self","cmd","verb","overwriteprompt", NULL
};
8962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|i:wxFileType_SetCommand",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&tempbool3
))
8965 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8966 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8967 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_SetCommand. Expected _wxFileType_p.");
8972 _arg1
= wxString_in_helper(_obj1
);
8977 _arg2
= wxString_in_helper(_obj2
);
8981 _arg3
= (bool ) tempbool3
;
8983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8984 _result
= (bool )wxFileType_SetCommand(_arg0
,*_arg1
,*_arg2
,_arg3
);
8986 wxPyEndAllowThreads(__tstate
);
8987 if (PyErr_Occurred()) return NULL
;
8988 } _resultobj
= Py_BuildValue("i",_result
);
9000 #define wxFileType_SetDefaultIcon(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDefaultIcon(_swigarg0,_swigarg1))
9001 static PyObject
*_wrap_wxFileType_SetDefaultIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9002 PyObject
* _resultobj
;
9005 wxString
* _arg1
= (wxString
*) &wxPyEmptyString
;
9006 int _arg2
= (int ) 0;
9007 PyObject
* _argo0
= 0;
9008 PyObject
* _obj1
= 0;
9009 char *_kwnames
[] = { "self","cmd","index", NULL
};
9012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|Oi:wxFileType_SetDefaultIcon",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
9015 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9016 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
9017 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_SetDefaultIcon. Expected _wxFileType_p.");
9023 _arg1
= wxString_in_helper(_obj1
);
9028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9029 _result
= (bool )wxFileType_SetDefaultIcon(_arg0
,*_arg1
,_arg2
);
9031 wxPyEndAllowThreads(__tstate
);
9032 if (PyErr_Occurred()) return NULL
;
9033 } _resultobj
= Py_BuildValue("i",_result
);
9041 #define wxFileType_Unassociate(_swigobj) (_swigobj->Unassociate())
9042 static PyObject
*_wrap_wxFileType_Unassociate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9043 PyObject
* _resultobj
;
9046 PyObject
* _argo0
= 0;
9047 char *_kwnames
[] = { "self", NULL
};
9050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_Unassociate",_kwnames
,&_argo0
))
9053 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9054 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
9055 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_Unassociate. Expected _wxFileType_p.");
9060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9061 _result
= (bool )wxFileType_Unassociate(_arg0
);
9063 wxPyEndAllowThreads(__tstate
);
9064 if (PyErr_Occurred()) return NULL
;
9065 } _resultobj
= Py_BuildValue("i",_result
);
9069 static PyObject
*_wrap_wxFileType_ExpandCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9070 PyObject
* _resultobj
;
9073 wxFileType::MessageParameters
* _arg1
;
9074 PyObject
* _obj0
= 0;
9075 PyObject
* _argo1
= 0;
9076 char *_kwnames
[] = { "command","params", NULL
};
9079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileType_ExpandCommand",_kwnames
,&_obj0
,&_argo1
))
9082 _arg0
= wxString_in_helper(_obj0
);
9087 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFileType::MessageParameters_p")) {
9088 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFileType_ExpandCommand. Expected _wxFileType::MessageParameters_p.");
9093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9094 _result
= new wxString (wxFileType::ExpandCommand(*_arg0
,*_arg1
));
9096 wxPyEndAllowThreads(__tstate
);
9097 if (PyErr_Occurred()) return NULL
;
9100 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
9102 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9115 #define delete_wxFileType(_swigobj) (delete _swigobj)
9116 static PyObject
*_wrap_delete_wxFileType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9117 PyObject
* _resultobj
;
9119 PyObject
* _argo0
= 0;
9120 char *_kwnames
[] = { "self", NULL
};
9123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxFileType",_kwnames
,&_argo0
))
9126 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9127 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
9128 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxFileType. Expected _wxFileType_p.");
9133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9134 delete_wxFileType(_arg0
);
9136 wxPyEndAllowThreads(__tstate
);
9137 if (PyErr_Occurred()) return NULL
;
9138 } Py_INCREF(Py_None
);
9139 _resultobj
= Py_None
;
9143 static PyObject
*_wrap_wxMimeTypesManager_IsOfType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9144 PyObject
* _resultobj
;
9148 PyObject
* _obj0
= 0;
9149 PyObject
* _obj1
= 0;
9150 char *_kwnames
[] = { "mimeType","wildcard", NULL
};
9153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_IsOfType",_kwnames
,&_obj0
,&_obj1
))
9156 _arg0
= wxString_in_helper(_obj0
);
9161 _arg1
= wxString_in_helper(_obj1
);
9166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9167 _result
= (bool )wxMimeTypesManager::IsOfType(*_arg0
,*_arg1
);
9169 wxPyEndAllowThreads(__tstate
);
9170 if (PyErr_Occurred()) return NULL
;
9171 } _resultobj
= Py_BuildValue("i",_result
);
9183 #define new_wxMimeTypesManager() (new wxMimeTypesManager())
9184 static PyObject
*_wrap_new_wxMimeTypesManager(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9185 PyObject
* _resultobj
;
9186 wxMimeTypesManager
* _result
;
9187 char *_kwnames
[] = { NULL
};
9191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxMimeTypesManager",_kwnames
))
9194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9195 _result
= (wxMimeTypesManager
*)new_wxMimeTypesManager();
9197 wxPyEndAllowThreads(__tstate
);
9198 if (PyErr_Occurred()) return NULL
;
9200 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMimeTypesManager_p");
9201 _resultobj
= Py_BuildValue("s",_ptemp
);
9204 _resultobj
= Py_None
;
9209 #define wxMimeTypesManager_Initialize(_swigobj,_swigarg0,_swigarg1) (_swigobj->Initialize(_swigarg0,_swigarg1))
9210 static PyObject
*_wrap_wxMimeTypesManager_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9211 PyObject
* _resultobj
;
9212 wxMimeTypesManager
* _arg0
;
9213 int _arg1
= (int ) (wxMAILCAP_STANDARD
);
9214 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
9215 PyObject
* _argo0
= 0;
9216 PyObject
* _obj2
= 0;
9217 char *_kwnames
[] = { "self","mailcapStyle","extraDir", NULL
};
9220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iO:wxMimeTypesManager_Initialize",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
9223 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9224 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9225 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_Initialize. Expected _wxMimeTypesManager_p.");
9231 _arg2
= wxString_in_helper(_obj2
);
9236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9237 wxMimeTypesManager_Initialize(_arg0
,_arg1
,*_arg2
);
9239 wxPyEndAllowThreads(__tstate
);
9240 if (PyErr_Occurred()) return NULL
;
9241 } Py_INCREF(Py_None
);
9242 _resultobj
= Py_None
;
9250 #define wxMimeTypesManager_ClearData(_swigobj) (_swigobj->ClearData())
9251 static PyObject
*_wrap_wxMimeTypesManager_ClearData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9252 PyObject
* _resultobj
;
9253 wxMimeTypesManager
* _arg0
;
9254 PyObject
* _argo0
= 0;
9255 char *_kwnames
[] = { "self", NULL
};
9258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMimeTypesManager_ClearData",_kwnames
,&_argo0
))
9261 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9262 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9263 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_ClearData. Expected _wxMimeTypesManager_p.");
9268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9269 wxMimeTypesManager_ClearData(_arg0
);
9271 wxPyEndAllowThreads(__tstate
);
9272 if (PyErr_Occurred()) return NULL
;
9273 } Py_INCREF(Py_None
);
9274 _resultobj
= Py_None
;
9278 #define wxMimeTypesManager_GetFileTypeFromExtension(_swigobj,_swigarg0) (_swigobj->GetFileTypeFromExtension(_swigarg0))
9279 static PyObject
*_wrap_wxMimeTypesManager_GetFileTypeFromExtension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9280 PyObject
* _resultobj
;
9281 wxFileType
* _result
;
9282 wxMimeTypesManager
* _arg0
;
9284 PyObject
* _argo0
= 0;
9285 PyObject
* _obj1
= 0;
9286 char *_kwnames
[] = { "self","ext", NULL
};
9290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_GetFileTypeFromExtension",_kwnames
,&_argo0
,&_obj1
))
9293 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9294 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9295 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_GetFileTypeFromExtension. Expected _wxMimeTypesManager_p.");
9300 _arg1
= wxString_in_helper(_obj1
);
9305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9306 _result
= (wxFileType
*)wxMimeTypesManager_GetFileTypeFromExtension(_arg0
,*_arg1
);
9308 wxPyEndAllowThreads(__tstate
);
9309 if (PyErr_Occurred()) return NULL
;
9311 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileType_p");
9312 _resultobj
= Py_BuildValue("s",_ptemp
);
9315 _resultobj
= Py_None
;
9324 #define wxMimeTypesManager_GetFileTypeFromMimeType(_swigobj,_swigarg0) (_swigobj->GetFileTypeFromMimeType(_swigarg0))
9325 static PyObject
*_wrap_wxMimeTypesManager_GetFileTypeFromMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9326 PyObject
* _resultobj
;
9327 wxFileType
* _result
;
9328 wxMimeTypesManager
* _arg0
;
9330 PyObject
* _argo0
= 0;
9331 PyObject
* _obj1
= 0;
9332 char *_kwnames
[] = { "self","mimeType", NULL
};
9336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_GetFileTypeFromMimeType",_kwnames
,&_argo0
,&_obj1
))
9339 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9340 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9341 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_GetFileTypeFromMimeType. Expected _wxMimeTypesManager_p.");
9346 _arg1
= wxString_in_helper(_obj1
);
9351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9352 _result
= (wxFileType
*)wxMimeTypesManager_GetFileTypeFromMimeType(_arg0
,*_arg1
);
9354 wxPyEndAllowThreads(__tstate
);
9355 if (PyErr_Occurred()) return NULL
;
9357 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileType_p");
9358 _resultobj
= Py_BuildValue("s",_ptemp
);
9361 _resultobj
= Py_None
;
9370 #define wxMimeTypesManager_ReadMailcap(_swigobj,_swigarg0,_swigarg1) (_swigobj->ReadMailcap(_swigarg0,_swigarg1))
9371 static PyObject
*_wrap_wxMimeTypesManager_ReadMailcap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9372 PyObject
* _resultobj
;
9374 wxMimeTypesManager
* _arg0
;
9376 bool _arg2
= (bool ) FALSE
;
9377 PyObject
* _argo0
= 0;
9378 PyObject
* _obj1
= 0;
9379 int tempbool2
= (int) FALSE
;
9380 char *_kwnames
[] = { "self","filename","fallback", NULL
};
9383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxMimeTypesManager_ReadMailcap",_kwnames
,&_argo0
,&_obj1
,&tempbool2
))
9386 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9387 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9388 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_ReadMailcap. Expected _wxMimeTypesManager_p.");
9393 _arg1
= wxString_in_helper(_obj1
);
9397 _arg2
= (bool ) tempbool2
;
9399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9400 _result
= (bool )wxMimeTypesManager_ReadMailcap(_arg0
,*_arg1
,_arg2
);
9402 wxPyEndAllowThreads(__tstate
);
9403 if (PyErr_Occurred()) return NULL
;
9404 } _resultobj
= Py_BuildValue("i",_result
);
9412 #define wxMimeTypesManager_ReadMimeTypes(_swigobj,_swigarg0) (_swigobj->ReadMimeTypes(_swigarg0))
9413 static PyObject
*_wrap_wxMimeTypesManager_ReadMimeTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9414 PyObject
* _resultobj
;
9416 wxMimeTypesManager
* _arg0
;
9418 PyObject
* _argo0
= 0;
9419 PyObject
* _obj1
= 0;
9420 char *_kwnames
[] = { "self","filename", NULL
};
9423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_ReadMimeTypes",_kwnames
,&_argo0
,&_obj1
))
9426 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9427 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9428 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_ReadMimeTypes. Expected _wxMimeTypesManager_p.");
9433 _arg1
= wxString_in_helper(_obj1
);
9438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9439 _result
= (bool )wxMimeTypesManager_ReadMimeTypes(_arg0
,*_arg1
);
9441 wxPyEndAllowThreads(__tstate
);
9442 if (PyErr_Occurred()) return NULL
;
9443 } _resultobj
= Py_BuildValue("i",_result
);
9451 static PyObject
* wxMimeTypesManager_EnumAllFileTypes(wxMimeTypesManager
*self
) {
9453 self
->EnumAllFileTypes(arr
);
9454 return wxArrayString2PyList_helper(arr
);
9456 static PyObject
*_wrap_wxMimeTypesManager_EnumAllFileTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9457 PyObject
* _resultobj
;
9459 wxMimeTypesManager
* _arg0
;
9460 PyObject
* _argo0
= 0;
9461 char *_kwnames
[] = { "self", NULL
};
9464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMimeTypesManager_EnumAllFileTypes",_kwnames
,&_argo0
))
9467 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9468 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9469 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_EnumAllFileTypes. Expected _wxMimeTypesManager_p.");
9474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9475 _result
= (PyObject
*)wxMimeTypesManager_EnumAllFileTypes(_arg0
);
9477 wxPyEndAllowThreads(__tstate
);
9478 if (PyErr_Occurred()) return NULL
;
9480 _resultobj
= _result
;
9485 #define wxMimeTypesManager_AddFallback(_swigobj,_swigarg0) (_swigobj->AddFallback(_swigarg0))
9486 static PyObject
*_wrap_wxMimeTypesManager_AddFallback(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9487 PyObject
* _resultobj
;
9488 wxMimeTypesManager
* _arg0
;
9489 wxFileTypeInfo
* _arg1
;
9490 PyObject
* _argo0
= 0;
9491 PyObject
* _argo1
= 0;
9492 char *_kwnames
[] = { "self","ft", NULL
};
9495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_AddFallback",_kwnames
,&_argo0
,&_argo1
))
9498 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9499 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9500 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_AddFallback. Expected _wxMimeTypesManager_p.");
9505 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFileTypeInfo_p")) {
9506 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMimeTypesManager_AddFallback. Expected _wxFileTypeInfo_p.");
9511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9512 wxMimeTypesManager_AddFallback(_arg0
,*_arg1
);
9514 wxPyEndAllowThreads(__tstate
);
9515 if (PyErr_Occurred()) return NULL
;
9516 } Py_INCREF(Py_None
);
9517 _resultobj
= Py_None
;
9521 #define wxMimeTypesManager_Associate(_swigobj,_swigarg0) (_swigobj->Associate(_swigarg0))
9522 static PyObject
*_wrap_wxMimeTypesManager_Associate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9523 PyObject
* _resultobj
;
9524 wxFileType
* _result
;
9525 wxMimeTypesManager
* _arg0
;
9526 wxFileTypeInfo
* _arg1
;
9527 PyObject
* _argo0
= 0;
9528 PyObject
* _argo1
= 0;
9529 char *_kwnames
[] = { "self","ftInfo", NULL
};
9533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_Associate",_kwnames
,&_argo0
,&_argo1
))
9536 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9537 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9538 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_Associate. Expected _wxMimeTypesManager_p.");
9543 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFileTypeInfo_p")) {
9544 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMimeTypesManager_Associate. Expected _wxFileTypeInfo_p.");
9549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9550 _result
= (wxFileType
*)wxMimeTypesManager_Associate(_arg0
,*_arg1
);
9552 wxPyEndAllowThreads(__tstate
);
9553 if (PyErr_Occurred()) return NULL
;
9555 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileType_p");
9556 _resultobj
= Py_BuildValue("s",_ptemp
);
9559 _resultobj
= Py_None
;
9564 #define wxMimeTypesManager_Unassociate(_swigobj,_swigarg0) (_swigobj->Unassociate(_swigarg0))
9565 static PyObject
*_wrap_wxMimeTypesManager_Unassociate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9566 PyObject
* _resultobj
;
9568 wxMimeTypesManager
* _arg0
;
9570 PyObject
* _argo0
= 0;
9571 PyObject
* _argo1
= 0;
9572 char *_kwnames
[] = { "self","ft", NULL
};
9575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_Unassociate",_kwnames
,&_argo0
,&_argo1
))
9578 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9579 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9580 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_Unassociate. Expected _wxMimeTypesManager_p.");
9585 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9586 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFileType_p")) {
9587 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMimeTypesManager_Unassociate. Expected _wxFileType_p.");
9592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9593 _result
= (bool )wxMimeTypesManager_Unassociate(_arg0
,_arg1
);
9595 wxPyEndAllowThreads(__tstate
);
9596 if (PyErr_Occurred()) return NULL
;
9597 } _resultobj
= Py_BuildValue("i",_result
);
9601 #define delete_wxMimeTypesManager(_swigobj) (delete _swigobj)
9602 static PyObject
*_wrap_delete_wxMimeTypesManager(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9603 PyObject
* _resultobj
;
9604 wxMimeTypesManager
* _arg0
;
9605 PyObject
* _argo0
= 0;
9606 char *_kwnames
[] = { "self", NULL
};
9609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxMimeTypesManager",_kwnames
,&_argo0
))
9612 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9613 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9614 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxMimeTypesManager. Expected _wxMimeTypesManager_p.");
9619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9620 delete_wxMimeTypesManager(_arg0
);
9622 wxPyEndAllowThreads(__tstate
);
9623 if (PyErr_Occurred()) return NULL
;
9624 } Py_INCREF(Py_None
);
9625 _resultobj
= Py_None
;
9629 static void *SwigwxPyArtProviderTowxObject(void *ptr
) {
9630 wxPyArtProvider
*src
;
9632 src
= (wxPyArtProvider
*) ptr
;
9633 dest
= (wxObject
*) src
;
9634 return (void *) dest
;
9637 #define new_wxArtProvider() (new wxPyArtProvider())
9638 static PyObject
*_wrap_new_wxArtProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9639 PyObject
* _resultobj
;
9640 wxPyArtProvider
* _result
;
9641 char *_kwnames
[] = { NULL
};
9645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxArtProvider",_kwnames
))
9648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9649 _result
= (wxPyArtProvider
*)new_wxArtProvider();
9651 wxPyEndAllowThreads(__tstate
);
9652 if (PyErr_Occurred()) return NULL
;
9654 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyArtProvider_p");
9655 _resultobj
= Py_BuildValue("s",_ptemp
);
9658 _resultobj
= Py_None
;
9663 #define wxArtProvider__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
9664 static PyObject
*_wrap_wxArtProvider__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9665 PyObject
* _resultobj
;
9666 wxPyArtProvider
* _arg0
;
9669 PyObject
* _argo0
= 0;
9670 PyObject
* _obj1
= 0;
9671 PyObject
* _obj2
= 0;
9672 char *_kwnames
[] = { "self","self","_class", NULL
};
9675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxArtProvider__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
9678 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9679 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyArtProvider_p")) {
9680 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxArtProvider__setCallbackInfo. Expected _wxPyArtProvider_p.");
9691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9692 wxArtProvider__setCallbackInfo(_arg0
,_arg1
,_arg2
);
9694 wxPyEndAllowThreads(__tstate
);
9695 if (PyErr_Occurred()) return NULL
;
9696 } Py_INCREF(Py_None
);
9697 _resultobj
= Py_None
;
9701 static PyObject
*_wrap_wxArtProvider_PushProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9702 PyObject
* _resultobj
;
9703 wxPyArtProvider
* _arg0
;
9704 PyObject
* _argo0
= 0;
9705 char *_kwnames
[] = { "provider", NULL
};
9708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxArtProvider_PushProvider",_kwnames
,&_argo0
))
9711 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9712 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyArtProvider_p")) {
9713 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxArtProvider_PushProvider. Expected _wxPyArtProvider_p.");
9718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9719 wxPyArtProvider::PushProvider(_arg0
);
9721 wxPyEndAllowThreads(__tstate
);
9722 if (PyErr_Occurred()) return NULL
;
9723 } Py_INCREF(Py_None
);
9724 _resultobj
= Py_None
;
9728 static PyObject
*_wrap_wxArtProvider_PopProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9729 PyObject
* _resultobj
;
9731 char *_kwnames
[] = { NULL
};
9734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxArtProvider_PopProvider",_kwnames
))
9737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9738 _result
= (bool )wxPyArtProvider::PopProvider();
9740 wxPyEndAllowThreads(__tstate
);
9741 if (PyErr_Occurred()) return NULL
;
9742 } _resultobj
= Py_BuildValue("i",_result
);
9746 static PyObject
*_wrap_wxArtProvider_RemoveProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9747 PyObject
* _resultobj
;
9749 wxPyArtProvider
* _arg0
;
9750 PyObject
* _argo0
= 0;
9751 char *_kwnames
[] = { "provider", NULL
};
9754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxArtProvider_RemoveProvider",_kwnames
,&_argo0
))
9757 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9758 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyArtProvider_p")) {
9759 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxArtProvider_RemoveProvider. Expected _wxPyArtProvider_p.");
9764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9765 _result
= (bool )wxPyArtProvider::RemoveProvider(_arg0
);
9767 wxPyEndAllowThreads(__tstate
);
9768 if (PyErr_Occurred()) return NULL
;
9769 } _resultobj
= Py_BuildValue("i",_result
);
9773 static PyObject
*_wrap_wxArtProvider_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9774 PyObject
* _resultobj
;
9777 wxString
* _arg1
= (wxString
*) &wxPyART_OTHER
;
9778 wxSize
* _arg2
= (wxSize
*) &wxDefaultSize
;
9779 PyObject
* _obj0
= 0;
9780 PyObject
* _obj1
= 0;
9782 PyObject
* _obj2
= 0;
9783 char *_kwnames
[] = { "id","client","size", NULL
};
9787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|OO:wxArtProvider_GetBitmap",_kwnames
,&_obj0
,&_obj1
,&_obj2
))
9790 _arg0
= wxString_in_helper(_obj0
);
9796 _arg1
= wxString_in_helper(_obj1
);
9803 if (! wxSize_helper(_obj2
, &_arg2
))
9807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9808 _result
= new wxBitmap (wxPyArtProvider::GetBitmap(*_arg0
,*_arg1
,*_arg2
));
9810 wxPyEndAllowThreads(__tstate
);
9811 if (PyErr_Occurred()) return NULL
;
9812 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBitmap_p");
9813 _resultobj
= Py_BuildValue("s",_ptemp
);
9825 static PyObject
*_wrap_wxArtProvider_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9826 PyObject
* _resultobj
;
9829 wxString
* _arg1
= (wxString
*) &wxPyART_OTHER
;
9830 wxSize
* _arg2
= (wxSize
*) &wxDefaultSize
;
9831 PyObject
* _obj0
= 0;
9832 PyObject
* _obj1
= 0;
9834 PyObject
* _obj2
= 0;
9835 char *_kwnames
[] = { "id","client","size", NULL
};
9839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|OO:wxArtProvider_GetIcon",_kwnames
,&_obj0
,&_obj1
,&_obj2
))
9842 _arg0
= wxString_in_helper(_obj0
);
9848 _arg1
= wxString_in_helper(_obj1
);
9855 if (! wxSize_helper(_obj2
, &_arg2
))
9859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9860 _result
= new wxIcon (wxPyArtProvider::GetIcon(*_arg0
,*_arg1
,*_arg2
));
9862 wxPyEndAllowThreads(__tstate
);
9863 if (PyErr_Occurred()) return NULL
;
9864 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxIcon_p");
9865 _resultobj
= Py_BuildValue("s",_ptemp
);
9877 static void *SwigwxFileHistoryTowxObject(void *ptr
) {
9880 src
= (wxFileHistory
*) ptr
;
9881 dest
= (wxObject
*) src
;
9882 return (void *) dest
;
9885 #define new_wxFileHistory(_swigarg0) (new wxFileHistory(_swigarg0))
9886 static PyObject
*_wrap_new_wxFileHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9887 PyObject
* _resultobj
;
9888 wxFileHistory
* _result
;
9889 int _arg0
= (int ) 9;
9890 char *_kwnames
[] = { "maxFiles", NULL
};
9894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxFileHistory",_kwnames
,&_arg0
))
9897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9898 _result
= (wxFileHistory
*)new_wxFileHistory(_arg0
);
9900 wxPyEndAllowThreads(__tstate
);
9901 if (PyErr_Occurred()) return NULL
;
9903 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileHistory_p");
9904 _resultobj
= Py_BuildValue("s",_ptemp
);
9907 _resultobj
= Py_None
;
9912 #define delete_wxFileHistory(_swigobj) (delete _swigobj)
9913 static PyObject
*_wrap_delete_wxFileHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9914 PyObject
* _resultobj
;
9915 wxFileHistory
* _arg0
;
9916 PyObject
* _argo0
= 0;
9917 char *_kwnames
[] = { "self", NULL
};
9920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxFileHistory",_kwnames
,&_argo0
))
9923 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9924 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9925 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxFileHistory. Expected _wxFileHistory_p.");
9930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9931 delete_wxFileHistory(_arg0
);
9933 wxPyEndAllowThreads(__tstate
);
9934 if (PyErr_Occurred()) return NULL
;
9935 } Py_INCREF(Py_None
);
9936 _resultobj
= Py_None
;
9940 #define wxFileHistory_AddFileToHistory(_swigobj,_swigarg0) (_swigobj->AddFileToHistory(_swigarg0))
9941 static PyObject
*_wrap_wxFileHistory_AddFileToHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9942 PyObject
* _resultobj
;
9943 wxFileHistory
* _arg0
;
9945 PyObject
* _argo0
= 0;
9946 PyObject
* _obj1
= 0;
9947 char *_kwnames
[] = { "self","file", NULL
};
9950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileHistory_AddFileToHistory",_kwnames
,&_argo0
,&_obj1
))
9953 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9954 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9955 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_AddFileToHistory. Expected _wxFileHistory_p.");
9960 _arg1
= wxString_in_helper(_obj1
);
9965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9966 wxFileHistory_AddFileToHistory(_arg0
,*_arg1
);
9968 wxPyEndAllowThreads(__tstate
);
9969 if (PyErr_Occurred()) return NULL
;
9970 } Py_INCREF(Py_None
);
9971 _resultobj
= Py_None
;
9979 #define wxFileHistory_RemoveFileFromHistory(_swigobj,_swigarg0) (_swigobj->RemoveFileFromHistory(_swigarg0))
9980 static PyObject
*_wrap_wxFileHistory_RemoveFileFromHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9981 PyObject
* _resultobj
;
9982 wxFileHistory
* _arg0
;
9984 PyObject
* _argo0
= 0;
9985 char *_kwnames
[] = { "self","i", NULL
};
9988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFileHistory_RemoveFileFromHistory",_kwnames
,&_argo0
,&_arg1
))
9991 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9992 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9993 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_RemoveFileFromHistory. Expected _wxFileHistory_p.");
9998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9999 wxFileHistory_RemoveFileFromHistory(_arg0
,_arg1
);
10001 wxPyEndAllowThreads(__tstate
);
10002 if (PyErr_Occurred()) return NULL
;
10003 } Py_INCREF(Py_None
);
10004 _resultobj
= Py_None
;
10008 #define wxFileHistory_GetMaxFiles(_swigobj) (_swigobj->GetMaxFiles())
10009 static PyObject
*_wrap_wxFileHistory_GetMaxFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10010 PyObject
* _resultobj
;
10012 wxFileHistory
* _arg0
;
10013 PyObject
* _argo0
= 0;
10014 char *_kwnames
[] = { "self", NULL
};
10017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileHistory_GetMaxFiles",_kwnames
,&_argo0
))
10020 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10021 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
10022 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_GetMaxFiles. Expected _wxFileHistory_p.");
10027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10028 _result
= (int )wxFileHistory_GetMaxFiles(_arg0
);
10030 wxPyEndAllowThreads(__tstate
);
10031 if (PyErr_Occurred()) return NULL
;
10032 } _resultobj
= Py_BuildValue("i",_result
);
10036 #define wxFileHistory_UseMenu(_swigobj,_swigarg0) (_swigobj->UseMenu(_swigarg0))
10037 static PyObject
*_wrap_wxFileHistory_UseMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10038 PyObject
* _resultobj
;
10039 wxFileHistory
* _arg0
;
10041 PyObject
* _argo0
= 0;
10042 PyObject
* _argo1
= 0;
10043 char *_kwnames
[] = { "self","menu", NULL
};
10046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileHistory_UseMenu",_kwnames
,&_argo0
,&_argo1
))
10049 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10050 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
10051 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_UseMenu. Expected _wxFileHistory_p.");
10056 if (_argo1
== Py_None
) { _arg1
= NULL
; }
10057 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
10058 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFileHistory_UseMenu. Expected _wxMenu_p.");
10063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10064 wxFileHistory_UseMenu(_arg0
,_arg1
);
10066 wxPyEndAllowThreads(__tstate
);
10067 if (PyErr_Occurred()) return NULL
;
10068 } Py_INCREF(Py_None
);
10069 _resultobj
= Py_None
;
10073 #define wxFileHistory_RemoveMenu(_swigobj,_swigarg0) (_swigobj->RemoveMenu(_swigarg0))
10074 static PyObject
*_wrap_wxFileHistory_RemoveMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10075 PyObject
* _resultobj
;
10076 wxFileHistory
* _arg0
;
10078 PyObject
* _argo0
= 0;
10079 PyObject
* _argo1
= 0;
10080 char *_kwnames
[] = { "self","menu", NULL
};
10083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileHistory_RemoveMenu",_kwnames
,&_argo0
,&_argo1
))
10086 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10087 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
10088 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_RemoveMenu. Expected _wxFileHistory_p.");
10093 if (_argo1
== Py_None
) { _arg1
= NULL
; }
10094 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
10095 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFileHistory_RemoveMenu. Expected _wxMenu_p.");
10100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10101 wxFileHistory_RemoveMenu(_arg0
,_arg1
);
10103 wxPyEndAllowThreads(__tstate
);
10104 if (PyErr_Occurred()) return NULL
;
10105 } Py_INCREF(Py_None
);
10106 _resultobj
= Py_None
;
10110 #define wxFileHistory_Load(_swigobj,_swigarg0) (_swigobj->Load(_swigarg0))
10111 static PyObject
*_wrap_wxFileHistory_Load(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10112 PyObject
* _resultobj
;
10113 wxFileHistory
* _arg0
;
10114 wxConfigBase
* _arg1
;
10115 PyObject
* _argo0
= 0;
10116 PyObject
* _argo1
= 0;
10117 char *_kwnames
[] = { "self","config", NULL
};
10120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileHistory_Load",_kwnames
,&_argo0
,&_argo1
))
10123 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10124 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
10125 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_Load. Expected _wxFileHistory_p.");
10130 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxConfigBase_p")) {
10131 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFileHistory_Load. Expected _wxConfigBase_p.");
10136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10137 wxFileHistory_Load(_arg0
,*_arg1
);
10139 wxPyEndAllowThreads(__tstate
);
10140 if (PyErr_Occurred()) return NULL
;
10141 } Py_INCREF(Py_None
);
10142 _resultobj
= Py_None
;
10146 #define wxFileHistory_Save(_swigobj,_swigarg0) (_swigobj->Save(_swigarg0))
10147 static PyObject
*_wrap_wxFileHistory_Save(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10148 PyObject
* _resultobj
;
10149 wxFileHistory
* _arg0
;
10150 wxConfigBase
* _arg1
;
10151 PyObject
* _argo0
= 0;
10152 PyObject
* _argo1
= 0;
10153 char *_kwnames
[] = { "self","config", NULL
};
10156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileHistory_Save",_kwnames
,&_argo0
,&_argo1
))
10159 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10160 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
10161 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_Save. Expected _wxFileHistory_p.");
10166 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxConfigBase_p")) {
10167 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFileHistory_Save. Expected _wxConfigBase_p.");
10172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10173 wxFileHistory_Save(_arg0
,*_arg1
);
10175 wxPyEndAllowThreads(__tstate
);
10176 if (PyErr_Occurred()) return NULL
;
10177 } Py_INCREF(Py_None
);
10178 _resultobj
= Py_None
;
10182 #define wxFileHistory_AddFilesToMenu(_swigobj) (_swigobj->AddFilesToMenu())
10183 static PyObject
*_wrap_wxFileHistory_AddFilesToMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10184 PyObject
* _resultobj
;
10185 wxFileHistory
* _arg0
;
10186 PyObject
* _argo0
= 0;
10187 char *_kwnames
[] = { "self", NULL
};
10190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileHistory_AddFilesToMenu",_kwnames
,&_argo0
))
10193 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10194 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
10195 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_AddFilesToMenu. Expected _wxFileHistory_p.");
10200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10201 wxFileHistory_AddFilesToMenu(_arg0
);
10203 wxPyEndAllowThreads(__tstate
);
10204 if (PyErr_Occurred()) return NULL
;
10205 } Py_INCREF(Py_None
);
10206 _resultobj
= Py_None
;
10210 #define wxFileHistory_AddFilesToThisMenu(_swigobj,_swigarg0) (_swigobj->AddFilesToMenu(_swigarg0))
10211 static PyObject
*_wrap_wxFileHistory_AddFilesToThisMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10212 PyObject
* _resultobj
;
10213 wxFileHistory
* _arg0
;
10215 PyObject
* _argo0
= 0;
10216 PyObject
* _argo1
= 0;
10217 char *_kwnames
[] = { "self","menu", NULL
};
10220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileHistory_AddFilesToThisMenu",_kwnames
,&_argo0
,&_argo1
))
10223 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10224 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
10225 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_AddFilesToThisMenu. Expected _wxFileHistory_p.");
10230 if (_argo1
== Py_None
) { _arg1
= NULL
; }
10231 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
10232 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFileHistory_AddFilesToThisMenu. Expected _wxMenu_p.");
10237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10238 wxFileHistory_AddFilesToThisMenu(_arg0
,_arg1
);
10240 wxPyEndAllowThreads(__tstate
);
10241 if (PyErr_Occurred()) return NULL
;
10242 } Py_INCREF(Py_None
);
10243 _resultobj
= Py_None
;
10247 #define wxFileHistory_GetHistoryFile(_swigobj,_swigarg0) (_swigobj->GetHistoryFile(_swigarg0))
10248 static PyObject
*_wrap_wxFileHistory_GetHistoryFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10249 PyObject
* _resultobj
;
10250 wxString
* _result
;
10251 wxFileHistory
* _arg0
;
10253 PyObject
* _argo0
= 0;
10254 char *_kwnames
[] = { "self","i", NULL
};
10257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFileHistory_GetHistoryFile",_kwnames
,&_argo0
,&_arg1
))
10260 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10261 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
10262 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_GetHistoryFile. Expected _wxFileHistory_p.");
10267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10268 _result
= new wxString (wxFileHistory_GetHistoryFile(_arg0
,_arg1
));
10270 wxPyEndAllowThreads(__tstate
);
10271 if (PyErr_Occurred()) return NULL
;
10274 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
10276 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
10285 #define wxFileHistory_GetCount(_swigobj) (_swigobj->GetCount())
10286 static PyObject
*_wrap_wxFileHistory_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10287 PyObject
* _resultobj
;
10289 wxFileHistory
* _arg0
;
10290 PyObject
* _argo0
= 0;
10291 char *_kwnames
[] = { "self", NULL
};
10294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileHistory_GetCount",_kwnames
,&_argo0
))
10297 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10298 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
10299 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_GetCount. Expected _wxFileHistory_p.");
10304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10305 _result
= (int )wxFileHistory_GetCount(_arg0
);
10307 wxPyEndAllowThreads(__tstate
);
10308 if (PyErr_Occurred()) return NULL
;
10309 } _resultobj
= Py_BuildValue("i",_result
);
10313 #define wxFileHistory_GetNoHistoryFiles(_swigobj) (_swigobj->GetNoHistoryFiles())
10314 static PyObject
*_wrap_wxFileHistory_GetNoHistoryFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10315 PyObject
* _resultobj
;
10317 wxFileHistory
* _arg0
;
10318 PyObject
* _argo0
= 0;
10319 char *_kwnames
[] = { "self", NULL
};
10322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileHistory_GetNoHistoryFiles",_kwnames
,&_argo0
))
10325 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10326 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
10327 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_GetNoHistoryFiles. Expected _wxFileHistory_p.");
10332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10333 _result
= (int )wxFileHistory_GetNoHistoryFiles(_arg0
);
10335 wxPyEndAllowThreads(__tstate
);
10336 if (PyErr_Occurred()) return NULL
;
10337 } _resultobj
= Py_BuildValue("i",_result
);
10341 static void *SwigwxEffectsTowxObject(void *ptr
) {
10344 src
= (wxEffects
*) ptr
;
10345 dest
= (wxObject
*) src
;
10346 return (void *) dest
;
10349 #define new_wxEffects() (new wxEffects())
10350 static PyObject
*_wrap_new_wxEffects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10351 PyObject
* _resultobj
;
10352 wxEffects
* _result
;
10353 char *_kwnames
[] = { NULL
};
10357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxEffects",_kwnames
))
10360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10361 _result
= (wxEffects
*)new_wxEffects();
10363 wxPyEndAllowThreads(__tstate
);
10364 if (PyErr_Occurred()) return NULL
;
10366 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxEffects_p");
10367 _resultobj
= Py_BuildValue("s",_ptemp
);
10369 Py_INCREF(Py_None
);
10370 _resultobj
= Py_None
;
10375 #define wxEffects_GetHighlightColour(_swigobj) (_swigobj->GetHighlightColour())
10376 static PyObject
*_wrap_wxEffects_GetHighlightColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10377 PyObject
* _resultobj
;
10378 wxColour
* _result
;
10380 PyObject
* _argo0
= 0;
10381 char *_kwnames
[] = { "self", NULL
};
10385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEffects_GetHighlightColour",_kwnames
,&_argo0
))
10388 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10389 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEffects_p")) {
10390 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEffects_GetHighlightColour. Expected _wxEffects_p.");
10395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10396 _result
= new wxColour (wxEffects_GetHighlightColour(_arg0
));
10398 wxPyEndAllowThreads(__tstate
);
10399 if (PyErr_Occurred()) return NULL
;
10400 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
10401 _resultobj
= Py_BuildValue("s",_ptemp
);
10405 #define wxEffects_GetLightShadow(_swigobj) (_swigobj->GetLightShadow())
10406 static PyObject
*_wrap_wxEffects_GetLightShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10407 PyObject
* _resultobj
;
10408 wxColour
* _result
;
10410 PyObject
* _argo0
= 0;
10411 char *_kwnames
[] = { "self", NULL
};
10415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEffects_GetLightShadow",_kwnames
,&_argo0
))
10418 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10419 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEffects_p")) {
10420 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEffects_GetLightShadow. Expected _wxEffects_p.");
10425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10426 _result
= new wxColour (wxEffects_GetLightShadow(_arg0
));
10428 wxPyEndAllowThreads(__tstate
);
10429 if (PyErr_Occurred()) return NULL
;
10430 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
10431 _resultobj
= Py_BuildValue("s",_ptemp
);
10435 #define wxEffects_GetFaceColour(_swigobj) (_swigobj->GetFaceColour())
10436 static PyObject
*_wrap_wxEffects_GetFaceColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10437 PyObject
* _resultobj
;
10438 wxColour
* _result
;
10440 PyObject
* _argo0
= 0;
10441 char *_kwnames
[] = { "self", NULL
};
10445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEffects_GetFaceColour",_kwnames
,&_argo0
))
10448 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10449 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEffects_p")) {
10450 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEffects_GetFaceColour. Expected _wxEffects_p.");
10455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10456 _result
= new wxColour (wxEffects_GetFaceColour(_arg0
));
10458 wxPyEndAllowThreads(__tstate
);
10459 if (PyErr_Occurred()) return NULL
;
10460 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
10461 _resultobj
= Py_BuildValue("s",_ptemp
);
10465 #define wxEffects_GetMediumShadow(_swigobj) (_swigobj->GetMediumShadow())
10466 static PyObject
*_wrap_wxEffects_GetMediumShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10467 PyObject
* _resultobj
;
10468 wxColour
* _result
;
10470 PyObject
* _argo0
= 0;
10471 char *_kwnames
[] = { "self", NULL
};
10475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEffects_GetMediumShadow",_kwnames
,&_argo0
))
10478 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10479 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEffects_p")) {
10480 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEffects_GetMediumShadow. Expected _wxEffects_p.");
10485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10486 _result
= new wxColour (wxEffects_GetMediumShadow(_arg0
));
10488 wxPyEndAllowThreads(__tstate
);
10489 if (PyErr_Occurred()) return NULL
;
10490 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
10491 _resultobj
= Py_BuildValue("s",_ptemp
);
10495 #define wxEffects_GetDarkShadow(_swigobj) (_swigobj->GetDarkShadow())
10496 static PyObject
*_wrap_wxEffects_GetDarkShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10497 PyObject
* _resultobj
;
10498 wxColour
* _result
;
10500 PyObject
* _argo0
= 0;
10501 char *_kwnames
[] = { "self", NULL
};
10505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEffects_GetDarkShadow",_kwnames
,&_argo0
))
10508 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10509 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEffects_p")) {
10510 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEffects_GetDarkShadow. Expected _wxEffects_p.");
10515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10516 _result
= new wxColour (wxEffects_GetDarkShadow(_arg0
));
10518 wxPyEndAllowThreads(__tstate
);
10519 if (PyErr_Occurred()) return NULL
;
10520 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
10521 _resultobj
= Py_BuildValue("s",_ptemp
);
10525 #define wxEffects_SetHighlightColour(_swigobj,_swigarg0) (_swigobj->SetHighlightColour(_swigarg0))
10526 static PyObject
*_wrap_wxEffects_SetHighlightColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10527 PyObject
* _resultobj
;
10530 PyObject
* _argo0
= 0;
10532 PyObject
* _obj1
= 0;
10533 char *_kwnames
[] = { "self","c", NULL
};
10536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxEffects_SetHighlightColour",_kwnames
,&_argo0
,&_obj1
))
10539 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10540 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEffects_p")) {
10541 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEffects_SetHighlightColour. Expected _wxEffects_p.");
10547 if (! wxColour_helper(_obj1
, &_arg1
))
10551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10552 wxEffects_SetHighlightColour(_arg0
,*_arg1
);
10554 wxPyEndAllowThreads(__tstate
);
10555 if (PyErr_Occurred()) return NULL
;
10556 } Py_INCREF(Py_None
);
10557 _resultobj
= Py_None
;
10561 #define wxEffects_SetLightShadow(_swigobj,_swigarg0) (_swigobj->SetLightShadow(_swigarg0))
10562 static PyObject
*_wrap_wxEffects_SetLightShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10563 PyObject
* _resultobj
;
10566 PyObject
* _argo0
= 0;
10568 PyObject
* _obj1
= 0;
10569 char *_kwnames
[] = { "self","c", NULL
};
10572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxEffects_SetLightShadow",_kwnames
,&_argo0
,&_obj1
))
10575 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10576 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEffects_p")) {
10577 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEffects_SetLightShadow. Expected _wxEffects_p.");
10583 if (! wxColour_helper(_obj1
, &_arg1
))
10587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10588 wxEffects_SetLightShadow(_arg0
,*_arg1
);
10590 wxPyEndAllowThreads(__tstate
);
10591 if (PyErr_Occurred()) return NULL
;
10592 } Py_INCREF(Py_None
);
10593 _resultobj
= Py_None
;
10597 #define wxEffects_SetFaceColour(_swigobj,_swigarg0) (_swigobj->SetFaceColour(_swigarg0))
10598 static PyObject
*_wrap_wxEffects_SetFaceColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10599 PyObject
* _resultobj
;
10602 PyObject
* _argo0
= 0;
10604 PyObject
* _obj1
= 0;
10605 char *_kwnames
[] = { "self","c", NULL
};
10608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxEffects_SetFaceColour",_kwnames
,&_argo0
,&_obj1
))
10611 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10612 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEffects_p")) {
10613 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEffects_SetFaceColour. Expected _wxEffects_p.");
10619 if (! wxColour_helper(_obj1
, &_arg1
))
10623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10624 wxEffects_SetFaceColour(_arg0
,*_arg1
);
10626 wxPyEndAllowThreads(__tstate
);
10627 if (PyErr_Occurred()) return NULL
;
10628 } Py_INCREF(Py_None
);
10629 _resultobj
= Py_None
;
10633 #define wxEffects_SetMediumShadow(_swigobj,_swigarg0) (_swigobj->SetMediumShadow(_swigarg0))
10634 static PyObject
*_wrap_wxEffects_SetMediumShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10635 PyObject
* _resultobj
;
10638 PyObject
* _argo0
= 0;
10640 PyObject
* _obj1
= 0;
10641 char *_kwnames
[] = { "self","c", NULL
};
10644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxEffects_SetMediumShadow",_kwnames
,&_argo0
,&_obj1
))
10647 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10648 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEffects_p")) {
10649 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEffects_SetMediumShadow. Expected _wxEffects_p.");
10655 if (! wxColour_helper(_obj1
, &_arg1
))
10659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10660 wxEffects_SetMediumShadow(_arg0
,*_arg1
);
10662 wxPyEndAllowThreads(__tstate
);
10663 if (PyErr_Occurred()) return NULL
;
10664 } Py_INCREF(Py_None
);
10665 _resultobj
= Py_None
;
10669 #define wxEffects_SetDarkShadow(_swigobj,_swigarg0) (_swigobj->SetDarkShadow(_swigarg0))
10670 static PyObject
*_wrap_wxEffects_SetDarkShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10671 PyObject
* _resultobj
;
10674 PyObject
* _argo0
= 0;
10676 PyObject
* _obj1
= 0;
10677 char *_kwnames
[] = { "self","c", NULL
};
10680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxEffects_SetDarkShadow",_kwnames
,&_argo0
,&_obj1
))
10683 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10684 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEffects_p")) {
10685 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEffects_SetDarkShadow. Expected _wxEffects_p.");
10691 if (! wxColour_helper(_obj1
, &_arg1
))
10695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10696 wxEffects_SetDarkShadow(_arg0
,*_arg1
);
10698 wxPyEndAllowThreads(__tstate
);
10699 if (PyErr_Occurred()) return NULL
;
10700 } Py_INCREF(Py_None
);
10701 _resultobj
= Py_None
;
10705 #define wxEffects_Set(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->Set(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
10706 static PyObject
*_wrap_wxEffects_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10707 PyObject
* _resultobj
;
10714 PyObject
* _argo0
= 0;
10716 PyObject
* _obj1
= 0;
10718 PyObject
* _obj2
= 0;
10720 PyObject
* _obj3
= 0;
10722 PyObject
* _obj4
= 0;
10724 PyObject
* _obj5
= 0;
10725 char *_kwnames
[] = { "self","highlightColour","lightShadow","faceColour","mediumShadow","darkShadow", NULL
};
10728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOOOO:wxEffects_Set",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&_obj3
,&_obj4
,&_obj5
))
10731 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10732 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEffects_p")) {
10733 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEffects_Set. Expected _wxEffects_p.");
10739 if (! wxColour_helper(_obj1
, &_arg1
))
10744 if (! wxColour_helper(_obj2
, &_arg2
))
10749 if (! wxColour_helper(_obj3
, &_arg3
))
10754 if (! wxColour_helper(_obj4
, &_arg4
))
10759 if (! wxColour_helper(_obj5
, &_arg5
))
10763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10764 wxEffects_Set(_arg0
,*_arg1
,*_arg2
,*_arg3
,*_arg4
,*_arg5
);
10766 wxPyEndAllowThreads(__tstate
);
10767 if (PyErr_Occurred()) return NULL
;
10768 } Py_INCREF(Py_None
);
10769 _resultobj
= Py_None
;
10773 #define wxEffects_DrawSunkenEdge(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawSunkenEdge(_swigarg0,_swigarg1,_swigarg2))
10774 static PyObject
*_wrap_wxEffects_DrawSunkenEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10775 PyObject
* _resultobj
;
10779 int _arg3
= (int ) 1;
10780 PyObject
* _argo0
= 0;
10781 PyObject
* _argo1
= 0;
10783 PyObject
* _obj2
= 0;
10784 char *_kwnames
[] = { "self","dc","rect","borderSize", NULL
};
10787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|i:wxEffects_DrawSunkenEdge",_kwnames
,&_argo0
,&_argo1
,&_obj2
,&_arg3
))
10790 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10791 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEffects_p")) {
10792 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEffects_DrawSunkenEdge. Expected _wxEffects_p.");
10797 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
10798 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxEffects_DrawSunkenEdge. Expected _wxDC_p.");
10804 if (! wxRect_helper(_obj2
, &_arg2
))
10808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10809 wxEffects_DrawSunkenEdge(_arg0
,*_arg1
,*_arg2
,_arg3
);
10811 wxPyEndAllowThreads(__tstate
);
10812 if (PyErr_Occurred()) return NULL
;
10813 } Py_INCREF(Py_None
);
10814 _resultobj
= Py_None
;
10818 #define wxEffects_TileBitmap(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->TileBitmap(_swigarg0,_swigarg1,_swigarg2))
10819 static PyObject
*_wrap_wxEffects_TileBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10820 PyObject
* _resultobj
;
10826 PyObject
* _argo0
= 0;
10828 PyObject
* _obj1
= 0;
10829 PyObject
* _argo2
= 0;
10830 PyObject
* _argo3
= 0;
10831 char *_kwnames
[] = { "self","rect","dc","bitmap", NULL
};
10834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO:wxEffects_TileBitmap",_kwnames
,&_argo0
,&_obj1
,&_argo2
,&_argo3
))
10837 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10838 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEffects_p")) {
10839 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEffects_TileBitmap. Expected _wxEffects_p.");
10845 if (! wxRect_helper(_obj1
, &_arg1
))
10849 if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxDC_p")) {
10850 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxEffects_TileBitmap. Expected _wxDC_p.");
10855 if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxBitmap_p")) {
10856 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxEffects_TileBitmap. Expected _wxBitmap_p.");
10861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10862 _result
= (bool )wxEffects_TileBitmap(_arg0
,*_arg1
,*_arg2
,*_arg3
);
10864 wxPyEndAllowThreads(__tstate
);
10865 if (PyErr_Occurred()) return NULL
;
10866 } _resultobj
= Py_BuildValue("i",_result
);
10870 #define new_wxSingleInstanceChecker(_swigarg0,_swigarg1) (new wxSingleInstanceChecker(_swigarg0,_swigarg1))
10871 static PyObject
*_wrap_new_wxSingleInstanceChecker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10872 PyObject
* _resultobj
;
10873 wxSingleInstanceChecker
* _result
;
10875 wxString
* _arg1
= (wxString
*) &wxPyEmptyString
;
10876 PyObject
* _obj0
= 0;
10877 PyObject
* _obj1
= 0;
10878 char *_kwnames
[] = { "name","path", NULL
};
10882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:new_wxSingleInstanceChecker",_kwnames
,&_obj0
,&_obj1
))
10885 _arg0
= wxString_in_helper(_obj0
);
10891 _arg1
= wxString_in_helper(_obj1
);
10896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10897 _result
= (wxSingleInstanceChecker
*)new_wxSingleInstanceChecker(*_arg0
,*_arg1
);
10899 wxPyEndAllowThreads(__tstate
);
10900 if (PyErr_Occurred()) return NULL
;
10902 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSingleInstanceChecker_p");
10903 _resultobj
= Py_BuildValue("s",_ptemp
);
10905 Py_INCREF(Py_None
);
10906 _resultobj
= Py_None
;
10919 #define new_wxPreSingleInstanceChecker() (new wxSingleInstanceChecker())
10920 static PyObject
*_wrap_new_wxPreSingleInstanceChecker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10921 PyObject
* _resultobj
;
10922 wxSingleInstanceChecker
* _result
;
10923 char *_kwnames
[] = { NULL
};
10927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreSingleInstanceChecker",_kwnames
))
10930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10931 _result
= (wxSingleInstanceChecker
*)new_wxPreSingleInstanceChecker();
10933 wxPyEndAllowThreads(__tstate
);
10934 if (PyErr_Occurred()) return NULL
;
10936 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSingleInstanceChecker_p");
10937 _resultobj
= Py_BuildValue("s",_ptemp
);
10939 Py_INCREF(Py_None
);
10940 _resultobj
= Py_None
;
10945 #define delete_wxSingleInstanceChecker(_swigobj) (delete _swigobj)
10946 static PyObject
*_wrap_delete_wxSingleInstanceChecker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10947 PyObject
* _resultobj
;
10948 wxSingleInstanceChecker
* _arg0
;
10949 PyObject
* _argo0
= 0;
10950 char *_kwnames
[] = { "self", NULL
};
10953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxSingleInstanceChecker",_kwnames
,&_argo0
))
10956 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10957 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSingleInstanceChecker_p")) {
10958 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxSingleInstanceChecker. Expected _wxSingleInstanceChecker_p.");
10963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10964 delete_wxSingleInstanceChecker(_arg0
);
10966 wxPyEndAllowThreads(__tstate
);
10967 if (PyErr_Occurred()) return NULL
;
10968 } Py_INCREF(Py_None
);
10969 _resultobj
= Py_None
;
10973 #define wxSingleInstanceChecker_Create(_swigobj,_swigarg0,_swigarg1) (_swigobj->Create(_swigarg0,_swigarg1))
10974 static PyObject
*_wrap_wxSingleInstanceChecker_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10975 PyObject
* _resultobj
;
10977 wxSingleInstanceChecker
* _arg0
;
10979 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
10980 PyObject
* _argo0
= 0;
10981 PyObject
* _obj1
= 0;
10982 PyObject
* _obj2
= 0;
10983 char *_kwnames
[] = { "self","name","path", NULL
};
10986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxSingleInstanceChecker_Create",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
10989 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10990 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSingleInstanceChecker_p")) {
10991 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSingleInstanceChecker_Create. Expected _wxSingleInstanceChecker_p.");
10996 _arg1
= wxString_in_helper(_obj1
);
11002 _arg2
= wxString_in_helper(_obj2
);
11007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11008 _result
= (bool )wxSingleInstanceChecker_Create(_arg0
,*_arg1
,*_arg2
);
11010 wxPyEndAllowThreads(__tstate
);
11011 if (PyErr_Occurred()) return NULL
;
11012 } _resultobj
= Py_BuildValue("i",_result
);
11024 #define wxSingleInstanceChecker_IsAnotherRunning(_swigobj) (_swigobj->IsAnotherRunning())
11025 static PyObject
*_wrap_wxSingleInstanceChecker_IsAnotherRunning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11026 PyObject
* _resultobj
;
11028 wxSingleInstanceChecker
* _arg0
;
11029 PyObject
* _argo0
= 0;
11030 char *_kwnames
[] = { "self", NULL
};
11033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSingleInstanceChecker_IsAnotherRunning",_kwnames
,&_argo0
))
11036 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11037 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSingleInstanceChecker_p")) {
11038 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSingleInstanceChecker_IsAnotherRunning. Expected _wxSingleInstanceChecker_p.");
11043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11044 _result
= (bool )wxSingleInstanceChecker_IsAnotherRunning(_arg0
);
11046 wxPyEndAllowThreads(__tstate
);
11047 if (PyErr_Occurred()) return NULL
;
11048 } _resultobj
= Py_BuildValue("i",_result
);
11052 static PyMethodDef misc2cMethods
[] = {
11053 { "wxSingleInstanceChecker_IsAnotherRunning", (PyCFunction
) _wrap_wxSingleInstanceChecker_IsAnotherRunning
, METH_VARARGS
| METH_KEYWORDS
},
11054 { "wxSingleInstanceChecker_Create", (PyCFunction
) _wrap_wxSingleInstanceChecker_Create
, METH_VARARGS
| METH_KEYWORDS
},
11055 { "delete_wxSingleInstanceChecker", (PyCFunction
) _wrap_delete_wxSingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
},
11056 { "new_wxPreSingleInstanceChecker", (PyCFunction
) _wrap_new_wxPreSingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
},
11057 { "new_wxSingleInstanceChecker", (PyCFunction
) _wrap_new_wxSingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
},
11058 { "wxEffects_TileBitmap", (PyCFunction
) _wrap_wxEffects_TileBitmap
, METH_VARARGS
| METH_KEYWORDS
},
11059 { "wxEffects_DrawSunkenEdge", (PyCFunction
) _wrap_wxEffects_DrawSunkenEdge
, METH_VARARGS
| METH_KEYWORDS
},
11060 { "wxEffects_Set", (PyCFunction
) _wrap_wxEffects_Set
, METH_VARARGS
| METH_KEYWORDS
},
11061 { "wxEffects_SetDarkShadow", (PyCFunction
) _wrap_wxEffects_SetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
},
11062 { "wxEffects_SetMediumShadow", (PyCFunction
) _wrap_wxEffects_SetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
},
11063 { "wxEffects_SetFaceColour", (PyCFunction
) _wrap_wxEffects_SetFaceColour
, METH_VARARGS
| METH_KEYWORDS
},
11064 { "wxEffects_SetLightShadow", (PyCFunction
) _wrap_wxEffects_SetLightShadow
, METH_VARARGS
| METH_KEYWORDS
},
11065 { "wxEffects_SetHighlightColour", (PyCFunction
) _wrap_wxEffects_SetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
},
11066 { "wxEffects_GetDarkShadow", (PyCFunction
) _wrap_wxEffects_GetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
},
11067 { "wxEffects_GetMediumShadow", (PyCFunction
) _wrap_wxEffects_GetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
},
11068 { "wxEffects_GetFaceColour", (PyCFunction
) _wrap_wxEffects_GetFaceColour
, METH_VARARGS
| METH_KEYWORDS
},
11069 { "wxEffects_GetLightShadow", (PyCFunction
) _wrap_wxEffects_GetLightShadow
, METH_VARARGS
| METH_KEYWORDS
},
11070 { "wxEffects_GetHighlightColour", (PyCFunction
) _wrap_wxEffects_GetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
},
11071 { "new_wxEffects", (PyCFunction
) _wrap_new_wxEffects
, METH_VARARGS
| METH_KEYWORDS
},
11072 { "wxFileHistory_GetNoHistoryFiles", (PyCFunction
) _wrap_wxFileHistory_GetNoHistoryFiles
, METH_VARARGS
| METH_KEYWORDS
},
11073 { "wxFileHistory_GetCount", (PyCFunction
) _wrap_wxFileHistory_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
11074 { "wxFileHistory_GetHistoryFile", (PyCFunction
) _wrap_wxFileHistory_GetHistoryFile
, METH_VARARGS
| METH_KEYWORDS
},
11075 { "wxFileHistory_AddFilesToThisMenu", (PyCFunction
) _wrap_wxFileHistory_AddFilesToThisMenu
, METH_VARARGS
| METH_KEYWORDS
},
11076 { "wxFileHistory_AddFilesToMenu", (PyCFunction
) _wrap_wxFileHistory_AddFilesToMenu
, METH_VARARGS
| METH_KEYWORDS
},
11077 { "wxFileHistory_Save", (PyCFunction
) _wrap_wxFileHistory_Save
, METH_VARARGS
| METH_KEYWORDS
},
11078 { "wxFileHistory_Load", (PyCFunction
) _wrap_wxFileHistory_Load
, METH_VARARGS
| METH_KEYWORDS
},
11079 { "wxFileHistory_RemoveMenu", (PyCFunction
) _wrap_wxFileHistory_RemoveMenu
, METH_VARARGS
| METH_KEYWORDS
},
11080 { "wxFileHistory_UseMenu", (PyCFunction
) _wrap_wxFileHistory_UseMenu
, METH_VARARGS
| METH_KEYWORDS
},
11081 { "wxFileHistory_GetMaxFiles", (PyCFunction
) _wrap_wxFileHistory_GetMaxFiles
, METH_VARARGS
| METH_KEYWORDS
},
11082 { "wxFileHistory_RemoveFileFromHistory", (PyCFunction
) _wrap_wxFileHistory_RemoveFileFromHistory
, METH_VARARGS
| METH_KEYWORDS
},
11083 { "wxFileHistory_AddFileToHistory", (PyCFunction
) _wrap_wxFileHistory_AddFileToHistory
, METH_VARARGS
| METH_KEYWORDS
},
11084 { "delete_wxFileHistory", (PyCFunction
) _wrap_delete_wxFileHistory
, METH_VARARGS
| METH_KEYWORDS
},
11085 { "new_wxFileHistory", (PyCFunction
) _wrap_new_wxFileHistory
, METH_VARARGS
| METH_KEYWORDS
},
11086 { "wxArtProvider_GetIcon", (PyCFunction
) _wrap_wxArtProvider_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
11087 { "wxArtProvider_GetBitmap", (PyCFunction
) _wrap_wxArtProvider_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
11088 { "wxArtProvider_RemoveProvider", (PyCFunction
) _wrap_wxArtProvider_RemoveProvider
, METH_VARARGS
| METH_KEYWORDS
},
11089 { "wxArtProvider_PopProvider", (PyCFunction
) _wrap_wxArtProvider_PopProvider
, METH_VARARGS
| METH_KEYWORDS
},
11090 { "wxArtProvider_PushProvider", (PyCFunction
) _wrap_wxArtProvider_PushProvider
, METH_VARARGS
| METH_KEYWORDS
},
11091 { "wxArtProvider__setCallbackInfo", (PyCFunction
) _wrap_wxArtProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
11092 { "new_wxArtProvider", (PyCFunction
) _wrap_new_wxArtProvider
, METH_VARARGS
| METH_KEYWORDS
},
11093 { "delete_wxMimeTypesManager", (PyCFunction
) _wrap_delete_wxMimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
},
11094 { "wxMimeTypesManager_Unassociate", (PyCFunction
) _wrap_wxMimeTypesManager_Unassociate
, METH_VARARGS
| METH_KEYWORDS
},
11095 { "wxMimeTypesManager_Associate", (PyCFunction
) _wrap_wxMimeTypesManager_Associate
, METH_VARARGS
| METH_KEYWORDS
},
11096 { "wxMimeTypesManager_AddFallback", (PyCFunction
) _wrap_wxMimeTypesManager_AddFallback
, METH_VARARGS
| METH_KEYWORDS
},
11097 { "wxMimeTypesManager_EnumAllFileTypes", (PyCFunction
) _wrap_wxMimeTypesManager_EnumAllFileTypes
, METH_VARARGS
| METH_KEYWORDS
},
11098 { "wxMimeTypesManager_ReadMimeTypes", (PyCFunction
) _wrap_wxMimeTypesManager_ReadMimeTypes
, METH_VARARGS
| METH_KEYWORDS
},
11099 { "wxMimeTypesManager_ReadMailcap", (PyCFunction
) _wrap_wxMimeTypesManager_ReadMailcap
, METH_VARARGS
| METH_KEYWORDS
},
11100 { "wxMimeTypesManager_GetFileTypeFromMimeType", (PyCFunction
) _wrap_wxMimeTypesManager_GetFileTypeFromMimeType
, METH_VARARGS
| METH_KEYWORDS
},
11101 { "wxMimeTypesManager_GetFileTypeFromExtension", (PyCFunction
) _wrap_wxMimeTypesManager_GetFileTypeFromExtension
, METH_VARARGS
| METH_KEYWORDS
},
11102 { "wxMimeTypesManager_ClearData", (PyCFunction
) _wrap_wxMimeTypesManager_ClearData
, METH_VARARGS
| METH_KEYWORDS
},
11103 { "wxMimeTypesManager_Initialize", (PyCFunction
) _wrap_wxMimeTypesManager_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
11104 { "new_wxMimeTypesManager", (PyCFunction
) _wrap_new_wxMimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
},
11105 { "wxMimeTypesManager_IsOfType", (PyCFunction
) _wrap_wxMimeTypesManager_IsOfType
, METH_VARARGS
| METH_KEYWORDS
},
11106 { "delete_wxFileType", (PyCFunction
) _wrap_delete_wxFileType
, METH_VARARGS
| METH_KEYWORDS
},
11107 { "wxFileType_ExpandCommand", (PyCFunction
) _wrap_wxFileType_ExpandCommand
, METH_VARARGS
| METH_KEYWORDS
},
11108 { "wxFileType_Unassociate", (PyCFunction
) _wrap_wxFileType_Unassociate
, METH_VARARGS
| METH_KEYWORDS
},
11109 { "wxFileType_SetDefaultIcon", (PyCFunction
) _wrap_wxFileType_SetDefaultIcon
, METH_VARARGS
| METH_KEYWORDS
},
11110 { "wxFileType_SetCommand", (PyCFunction
) _wrap_wxFileType_SetCommand
, METH_VARARGS
| METH_KEYWORDS
},
11111 { "wxFileType_GetAllCommands", (PyCFunction
) _wrap_wxFileType_GetAllCommands
, METH_VARARGS
| METH_KEYWORDS
},
11112 { "wxFileType_GetPrintCommand", (PyCFunction
) _wrap_wxFileType_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
},
11113 { "wxFileType_GetOpenCommand", (PyCFunction
) _wrap_wxFileType_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
},
11114 { "wxFileType_GetDescription", (PyCFunction
) _wrap_wxFileType_GetDescription
, METH_VARARGS
| METH_KEYWORDS
},
11115 { "wxFileType_GetIconInfo", (PyCFunction
) _wrap_wxFileType_GetIconInfo
, METH_VARARGS
| METH_KEYWORDS
},
11116 { "wxFileType_GetIcon", (PyCFunction
) _wrap_wxFileType_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
11117 { "wxFileType_GetExtensions", (PyCFunction
) _wrap_wxFileType_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
},
11118 { "wxFileType_GetMimeTypes", (PyCFunction
) _wrap_wxFileType_GetMimeTypes
, METH_VARARGS
| METH_KEYWORDS
},
11119 { "wxFileType_GetMimeType", (PyCFunction
) _wrap_wxFileType_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
11120 { "new_wxFileType", (PyCFunction
) _wrap_new_wxFileType
, METH_VARARGS
| METH_KEYWORDS
},
11121 { "wxFileTypeInfo_GetIconIndex", (PyCFunction
) _wrap_wxFileTypeInfo_GetIconIndex
, METH_VARARGS
| METH_KEYWORDS
},
11122 { "wxFileTypeInfo_GetIconFile", (PyCFunction
) _wrap_wxFileTypeInfo_GetIconFile
, METH_VARARGS
| METH_KEYWORDS
},
11123 { "wxFileTypeInfo_GetExtensionsCount", (PyCFunction
) _wrap_wxFileTypeInfo_GetExtensionsCount
, METH_VARARGS
| METH_KEYWORDS
},
11124 { "wxFileTypeInfo_GetExtensions", (PyCFunction
) _wrap_wxFileTypeInfo_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
},
11125 { "wxFileTypeInfo_GetDescription", (PyCFunction
) _wrap_wxFileTypeInfo_GetDescription
, METH_VARARGS
| METH_KEYWORDS
},
11126 { "wxFileTypeInfo_GetShortDesc", (PyCFunction
) _wrap_wxFileTypeInfo_GetShortDesc
, METH_VARARGS
| METH_KEYWORDS
},
11127 { "wxFileTypeInfo_GetPrintCommand", (PyCFunction
) _wrap_wxFileTypeInfo_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
},
11128 { "wxFileTypeInfo_GetOpenCommand", (PyCFunction
) _wrap_wxFileTypeInfo_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
},
11129 { "wxFileTypeInfo_GetMimeType", (PyCFunction
) _wrap_wxFileTypeInfo_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
11130 { "wxFileTypeInfo_SetShortDesc", (PyCFunction
) _wrap_wxFileTypeInfo_SetShortDesc
, METH_VARARGS
| METH_KEYWORDS
},
11131 { "wxFileTypeInfo_SetIcon", (PyCFunction
) _wrap_wxFileTypeInfo_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
11132 { "wxFileTypeInfo_IsValid", (PyCFunction
) _wrap_wxFileTypeInfo_IsValid
, METH_VARARGS
| METH_KEYWORDS
},
11133 { "new_wxNullFileTypeInfo", (PyCFunction
) _wrap_new_wxNullFileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
},
11134 { "new_wxFileTypeInfoSequence", (PyCFunction
) _wrap_new_wxFileTypeInfoSequence
, METH_VARARGS
| METH_KEYWORDS
},
11135 { "new_wxFileTypeInfo", (PyCFunction
) _wrap_new_wxFileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
},
11136 { "wxWave_Play", (PyCFunction
) _wrap_wxWave_Play
, METH_VARARGS
| METH_KEYWORDS
},
11137 { "wxWave_IsOk", (PyCFunction
) _wrap_wxWave_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
11138 { "delete_wxWave", (PyCFunction
) _wrap_delete_wxWave
, METH_VARARGS
| METH_KEYWORDS
},
11139 { "new_wxWave", (PyCFunction
) _wrap_new_wxWave
, METH_VARARGS
| METH_KEYWORDS
},
11140 { "wxJoystick_ReleaseCapture", (PyCFunction
) _wrap_wxJoystick_ReleaseCapture
, METH_VARARGS
| METH_KEYWORDS
},
11141 { "wxJoystick_SetCapture", (PyCFunction
) _wrap_wxJoystick_SetCapture
, METH_VARARGS
| METH_KEYWORDS
},
11142 { "wxJoystick_HasPOVCTS", (PyCFunction
) _wrap_wxJoystick_HasPOVCTS
, METH_VARARGS
| METH_KEYWORDS
},
11143 { "wxJoystick_HasPOV4Dir", (PyCFunction
) _wrap_wxJoystick_HasPOV4Dir
, METH_VARARGS
| METH_KEYWORDS
},
11144 { "wxJoystick_HasPOV", (PyCFunction
) _wrap_wxJoystick_HasPOV
, METH_VARARGS
| METH_KEYWORDS
},
11145 { "wxJoystick_HasV", (PyCFunction
) _wrap_wxJoystick_HasV
, METH_VARARGS
| METH_KEYWORDS
},
11146 { "wxJoystick_HasU", (PyCFunction
) _wrap_wxJoystick_HasU
, METH_VARARGS
| METH_KEYWORDS
},
11147 { "wxJoystick_HasZ", (PyCFunction
) _wrap_wxJoystick_HasZ
, METH_VARARGS
| METH_KEYWORDS
},
11148 { "wxJoystick_HasRudder", (PyCFunction
) _wrap_wxJoystick_HasRudder
, METH_VARARGS
| METH_KEYWORDS
},
11149 { "wxJoystick_GetVMax", (PyCFunction
) _wrap_wxJoystick_GetVMax
, METH_VARARGS
| METH_KEYWORDS
},
11150 { "wxJoystick_GetVMin", (PyCFunction
) _wrap_wxJoystick_GetVMin
, METH_VARARGS
| METH_KEYWORDS
},
11151 { "wxJoystick_GetUMax", (PyCFunction
) _wrap_wxJoystick_GetUMax
, METH_VARARGS
| METH_KEYWORDS
},
11152 { "wxJoystick_GetUMin", (PyCFunction
) _wrap_wxJoystick_GetUMin
, METH_VARARGS
| METH_KEYWORDS
},
11153 { "wxJoystick_GetRudderMax", (PyCFunction
) _wrap_wxJoystick_GetRudderMax
, METH_VARARGS
| METH_KEYWORDS
},
11154 { "wxJoystick_GetRudderMin", (PyCFunction
) _wrap_wxJoystick_GetRudderMin
, METH_VARARGS
| METH_KEYWORDS
},
11155 { "wxJoystick_GetPollingMax", (PyCFunction
) _wrap_wxJoystick_GetPollingMax
, METH_VARARGS
| METH_KEYWORDS
},
11156 { "wxJoystick_GetPollingMin", (PyCFunction
) _wrap_wxJoystick_GetPollingMin
, METH_VARARGS
| METH_KEYWORDS
},
11157 { "wxJoystick_GetMaxAxes", (PyCFunction
) _wrap_wxJoystick_GetMaxAxes
, METH_VARARGS
| METH_KEYWORDS
},
11158 { "wxJoystick_GetMaxButtons", (PyCFunction
) _wrap_wxJoystick_GetMaxButtons
, METH_VARARGS
| METH_KEYWORDS
},
11159 { "wxJoystick_GetNumberAxes", (PyCFunction
) _wrap_wxJoystick_GetNumberAxes
, METH_VARARGS
| METH_KEYWORDS
},
11160 { "wxJoystick_GetNumberButtons", (PyCFunction
) _wrap_wxJoystick_GetNumberButtons
, METH_VARARGS
| METH_KEYWORDS
},
11161 { "wxJoystick_GetZMax", (PyCFunction
) _wrap_wxJoystick_GetZMax
, METH_VARARGS
| METH_KEYWORDS
},
11162 { "wxJoystick_GetYMax", (PyCFunction
) _wrap_wxJoystick_GetYMax
, METH_VARARGS
| METH_KEYWORDS
},
11163 { "wxJoystick_GetXMax", (PyCFunction
) _wrap_wxJoystick_GetXMax
, METH_VARARGS
| METH_KEYWORDS
},
11164 { "wxJoystick_GetZMin", (PyCFunction
) _wrap_wxJoystick_GetZMin
, METH_VARARGS
| METH_KEYWORDS
},
11165 { "wxJoystick_GetYMin", (PyCFunction
) _wrap_wxJoystick_GetYMin
, METH_VARARGS
| METH_KEYWORDS
},
11166 { "wxJoystick_GetXMin", (PyCFunction
) _wrap_wxJoystick_GetXMin
, METH_VARARGS
| METH_KEYWORDS
},
11167 { "wxJoystick_GetProductName", (PyCFunction
) _wrap_wxJoystick_GetProductName
, METH_VARARGS
| METH_KEYWORDS
},
11168 { "wxJoystick_GetProductId", (PyCFunction
) _wrap_wxJoystick_GetProductId
, METH_VARARGS
| METH_KEYWORDS
},
11169 { "wxJoystick_GetManufacturerId", (PyCFunction
) _wrap_wxJoystick_GetManufacturerId
, METH_VARARGS
| METH_KEYWORDS
},
11170 { "wxJoystick_GetNumberJoysticks", (PyCFunction
) _wrap_wxJoystick_GetNumberJoysticks
, METH_VARARGS
| METH_KEYWORDS
},
11171 { "wxJoystick_IsOk", (PyCFunction
) _wrap_wxJoystick_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
11172 { "wxJoystick_SetMovementThreshold", (PyCFunction
) _wrap_wxJoystick_SetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
},
11173 { "wxJoystick_GetMovementThreshold", (PyCFunction
) _wrap_wxJoystick_GetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
},
11174 { "wxJoystick_GetVPosition", (PyCFunction
) _wrap_wxJoystick_GetVPosition
, METH_VARARGS
| METH_KEYWORDS
},
11175 { "wxJoystick_GetUPosition", (PyCFunction
) _wrap_wxJoystick_GetUPosition
, METH_VARARGS
| METH_KEYWORDS
},
11176 { "wxJoystick_GetRudderPosition", (PyCFunction
) _wrap_wxJoystick_GetRudderPosition
, METH_VARARGS
| METH_KEYWORDS
},
11177 { "wxJoystick_GetPOVCTSPosition", (PyCFunction
) _wrap_wxJoystick_GetPOVCTSPosition
, METH_VARARGS
| METH_KEYWORDS
},
11178 { "wxJoystick_GetPOVPosition", (PyCFunction
) _wrap_wxJoystick_GetPOVPosition
, METH_VARARGS
| METH_KEYWORDS
},
11179 { "wxJoystick_GetButtonState", (PyCFunction
) _wrap_wxJoystick_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
},
11180 { "wxJoystick_GetZPosition", (PyCFunction
) _wrap_wxJoystick_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
},
11181 { "wxJoystick_GetPosition", (PyCFunction
) _wrap_wxJoystick_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
11182 { "delete_wxJoystick", (PyCFunction
) _wrap_delete_wxJoystick
, METH_VARARGS
| METH_KEYWORDS
},
11183 { "new_wxJoystick", (PyCFunction
) _wrap_new_wxJoystick
, METH_VARARGS
| METH_KEYWORDS
},
11184 { "wxProcess_IsErrorAvailable", (PyCFunction
) _wrap_wxProcess_IsErrorAvailable
, METH_VARARGS
| METH_KEYWORDS
},
11185 { "wxProcess_IsInputAvailable", (PyCFunction
) _wrap_wxProcess_IsInputAvailable
, METH_VARARGS
| METH_KEYWORDS
},
11186 { "wxProcess_IsInputOpened", (PyCFunction
) _wrap_wxProcess_IsInputOpened
, METH_VARARGS
| METH_KEYWORDS
},
11187 { "wxProcess_CloseOutput", (PyCFunction
) _wrap_wxProcess_CloseOutput
, METH_VARARGS
| METH_KEYWORDS
},
11188 { "wxProcess_GetOutputStream", (PyCFunction
) _wrap_wxProcess_GetOutputStream
, METH_VARARGS
| METH_KEYWORDS
},
11189 { "wxProcess_GetErrorStream", (PyCFunction
) _wrap_wxProcess_GetErrorStream
, METH_VARARGS
| METH_KEYWORDS
},
11190 { "wxProcess_GetInputStream", (PyCFunction
) _wrap_wxProcess_GetInputStream
, METH_VARARGS
| METH_KEYWORDS
},
11191 { "wxProcess_Detach", (PyCFunction
) _wrap_wxProcess_Detach
, METH_VARARGS
| METH_KEYWORDS
},
11192 { "wxProcess_IsRedirected", (PyCFunction
) _wrap_wxProcess_IsRedirected
, METH_VARARGS
| METH_KEYWORDS
},
11193 { "wxProcess_Redirect", (PyCFunction
) _wrap_wxProcess_Redirect
, METH_VARARGS
| METH_KEYWORDS
},
11194 { "wxProcess_base_OnTerminate", (PyCFunction
) _wrap_wxProcess_base_OnTerminate
, METH_VARARGS
| METH_KEYWORDS
},
11195 { "wxProcess__setCallbackInfo", (PyCFunction
) _wrap_wxProcess__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
11196 { "wxProcess_Destroy", (PyCFunction
) _wrap_wxProcess_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
11197 { "new_wxProcess", (PyCFunction
) _wrap_new_wxProcess
, METH_VARARGS
| METH_KEYWORDS
},
11198 { "wxProcess_Open", (PyCFunction
) _wrap_wxProcess_Open
, METH_VARARGS
| METH_KEYWORDS
},
11199 { "wxProcess_Exists", (PyCFunction
) _wrap_wxProcess_Exists
, METH_VARARGS
| METH_KEYWORDS
},
11200 { "wxProcess_Kill", (PyCFunction
) _wrap_wxProcess_Kill
, METH_VARARGS
| METH_KEYWORDS
},
11201 { "wxProcessEvent_m_exitcode_get", (PyCFunction
) _wrap_wxProcessEvent_m_exitcode_get
, METH_VARARGS
| METH_KEYWORDS
},
11202 { "wxProcessEvent_m_exitcode_set", (PyCFunction
) _wrap_wxProcessEvent_m_exitcode_set
, METH_VARARGS
| METH_KEYWORDS
},
11203 { "wxProcessEvent_m_pid_get", (PyCFunction
) _wrap_wxProcessEvent_m_pid_get
, METH_VARARGS
| METH_KEYWORDS
},
11204 { "wxProcessEvent_m_pid_set", (PyCFunction
) _wrap_wxProcessEvent_m_pid_set
, METH_VARARGS
| METH_KEYWORDS
},
11205 { "wxProcessEvent_GetExitCode", (PyCFunction
) _wrap_wxProcessEvent_GetExitCode
, METH_VARARGS
| METH_KEYWORDS
},
11206 { "wxProcessEvent_GetPid", (PyCFunction
) _wrap_wxProcessEvent_GetPid
, METH_VARARGS
| METH_KEYWORDS
},
11207 { "new_wxProcessEvent", (PyCFunction
) _wrap_new_wxProcessEvent
, METH_VARARGS
| METH_KEYWORDS
},
11208 { "wxPyLog_Destroy", (PyCFunction
) _wrap_wxPyLog_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
11209 { "wxPyLog__setCallbackInfo", (PyCFunction
) _wrap_wxPyLog__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
11210 { "new_wxPyLog", (PyCFunction
) _wrap_new_wxPyLog
, METH_VARARGS
| METH_KEYWORDS
},
11211 { "delete_wxLogNull", (PyCFunction
) _wrap_delete_wxLogNull
, METH_VARARGS
| METH_KEYWORDS
},
11212 { "new_wxLogNull", (PyCFunction
) _wrap_new_wxLogNull
, METH_VARARGS
| METH_KEYWORDS
},
11213 { "wxLogChain_GetOldLog", (PyCFunction
) _wrap_wxLogChain_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
},
11214 { "wxLogChain_IsPassingMessages", (PyCFunction
) _wrap_wxLogChain_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
},
11215 { "wxLogChain_PassMessages", (PyCFunction
) _wrap_wxLogChain_PassMessages
, METH_VARARGS
| METH_KEYWORDS
},
11216 { "wxLogChain_SetLog", (PyCFunction
) _wrap_wxLogChain_SetLog
, METH_VARARGS
| METH_KEYWORDS
},
11217 { "new_wxLogChain", (PyCFunction
) _wrap_new_wxLogChain
, METH_VARARGS
| METH_KEYWORDS
},
11218 { "wxLogWindow_PassMessages", (PyCFunction
) _wrap_wxLogWindow_PassMessages
, METH_VARARGS
| METH_KEYWORDS
},
11219 { "wxLogWindow_IsPassingMessages", (PyCFunction
) _wrap_wxLogWindow_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
},
11220 { "wxLogWindow_GetOldLog", (PyCFunction
) _wrap_wxLogWindow_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
},
11221 { "wxLogWindow_GetFrame", (PyCFunction
) _wrap_wxLogWindow_GetFrame
, METH_VARARGS
| METH_KEYWORDS
},
11222 { "wxLogWindow_Show", (PyCFunction
) _wrap_wxLogWindow_Show
, METH_VARARGS
| METH_KEYWORDS
},
11223 { "new_wxLogWindow", (PyCFunction
) _wrap_new_wxLogWindow
, METH_VARARGS
| METH_KEYWORDS
},
11224 { "new_wxLogGui", (PyCFunction
) _wrap_new_wxLogGui
, METH_VARARGS
| METH_KEYWORDS
},
11225 { "new_wxLogTextCtrl", (PyCFunction
) _wrap_new_wxLogTextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
11226 { "new_wxLogStderr", (PyCFunction
) _wrap_new_wxLogStderr
, METH_VARARGS
| METH_KEYWORDS
},
11227 { "wxLog_TimeStamp", (PyCFunction
) _wrap_wxLog_TimeStamp
, METH_VARARGS
| METH_KEYWORDS
},
11228 { "wxLog_GetLogLevel", (PyCFunction
) _wrap_wxLog_GetLogLevel
, METH_VARARGS
| METH_KEYWORDS
},
11229 { "wxLog_SetLogLevel", (PyCFunction
) _wrap_wxLog_SetLogLevel
, METH_VARARGS
| METH_KEYWORDS
},
11230 { "wxLog_IsAllowedTraceMask", (PyCFunction
) _wrap_wxLog_IsAllowedTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
11231 { "wxLog_GetTraceMask", (PyCFunction
) _wrap_wxLog_GetTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
11232 { "wxLog_GetVerbose", (PyCFunction
) _wrap_wxLog_GetVerbose
, METH_VARARGS
| METH_KEYWORDS
},
11233 { "wxLog_GetTimestamp", (PyCFunction
) _wrap_wxLog_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
11234 { "wxLog_SetTimestamp", (PyCFunction
) _wrap_wxLog_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
11235 { "wxLog_GetTraceMasks", (PyCFunction
) _wrap_wxLog_GetTraceMasks
, METH_VARARGS
| METH_KEYWORDS
},
11236 { "wxLog_ClearTraceMasks", (PyCFunction
) _wrap_wxLog_ClearTraceMasks
, METH_VARARGS
| METH_KEYWORDS
},
11237 { "wxLog_RemoveTraceMask", (PyCFunction
) _wrap_wxLog_RemoveTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
11238 { "wxLog_AddTraceMask", (PyCFunction
) _wrap_wxLog_AddTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
11239 { "wxLog_SetTraceMask", (PyCFunction
) _wrap_wxLog_SetTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
11240 { "wxLog_DontCreateOnDemand", (PyCFunction
) _wrap_wxLog_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
},
11241 { "wxLog_SetVerbose", (PyCFunction
) _wrap_wxLog_SetVerbose
, METH_VARARGS
| METH_KEYWORDS
},
11242 { "wxLog_Resume", (PyCFunction
) _wrap_wxLog_Resume
, METH_VARARGS
| METH_KEYWORDS
},
11243 { "wxLog_Suspend", (PyCFunction
) _wrap_wxLog_Suspend
, METH_VARARGS
| METH_KEYWORDS
},
11244 { "wxLog_SetActiveTarget", (PyCFunction
) _wrap_wxLog_SetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
},
11245 { "wxLog_GetActiveTarget", (PyCFunction
) _wrap_wxLog_GetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
},
11246 { "wxLog_FlushActive", (PyCFunction
) _wrap_wxLog_FlushActive
, METH_VARARGS
| METH_KEYWORDS
},
11247 { "wxLog_HasPendingMessages", (PyCFunction
) _wrap_wxLog_HasPendingMessages
, METH_VARARGS
| METH_KEYWORDS
},
11248 { "wxLog_Flush", (PyCFunction
) _wrap_wxLog_Flush
, METH_VARARGS
| METH_KEYWORDS
},
11249 { "wxLog_OnLog", (PyCFunction
) _wrap_wxLog_OnLog
, METH_VARARGS
| METH_KEYWORDS
},
11250 { "wxLog_EnableLogging", (PyCFunction
) _wrap_wxLog_EnableLogging
, METH_VARARGS
| METH_KEYWORDS
},
11251 { "wxLog_IsEnabled", (PyCFunction
) _wrap_wxLog_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
11252 { "new_wxLog", (PyCFunction
) _wrap_new_wxLog
, METH_VARARGS
| METH_KEYWORDS
},
11253 { "wxStopWatch_Time", (PyCFunction
) _wrap_wxStopWatch_Time
, METH_VARARGS
| METH_KEYWORDS
},
11254 { "wxStopWatch_Resume", (PyCFunction
) _wrap_wxStopWatch_Resume
, METH_VARARGS
| METH_KEYWORDS
},
11255 { "wxStopWatch_Pause", (PyCFunction
) _wrap_wxStopWatch_Pause
, METH_VARARGS
| METH_KEYWORDS
},
11256 { "wxStopWatch_Start", (PyCFunction
) _wrap_wxStopWatch_Start
, METH_VARARGS
| METH_KEYWORDS
},
11257 { "delete_wxStopWatch", (PyCFunction
) _wrap_delete_wxStopWatch
, METH_VARARGS
| METH_KEYWORDS
},
11258 { "new_wxStopWatch", (PyCFunction
) _wrap_new_wxStopWatch
, METH_VARARGS
| METH_KEYWORDS
},
11259 { "wxPyTimer_Stop", (PyCFunction
) _wrap_wxPyTimer_Stop
, METH_VARARGS
| METH_KEYWORDS
},
11260 { "wxPyTimer_Start", (PyCFunction
) _wrap_wxPyTimer_Start
, METH_VARARGS
| METH_KEYWORDS
},
11261 { "wxPyTimer_SetOwner", (PyCFunction
) _wrap_wxPyTimer_SetOwner
, METH_VARARGS
| METH_KEYWORDS
},
11262 { "wxPyTimer_IsRunning", (PyCFunction
) _wrap_wxPyTimer_IsRunning
, METH_VARARGS
| METH_KEYWORDS
},
11263 { "wxPyTimer_IsOneShot", (PyCFunction
) _wrap_wxPyTimer_IsOneShot
, METH_VARARGS
| METH_KEYWORDS
},
11264 { "wxPyTimer_GetInterval", (PyCFunction
) _wrap_wxPyTimer_GetInterval
, METH_VARARGS
| METH_KEYWORDS
},
11265 { "delete_wxPyTimer", (PyCFunction
) _wrap_delete_wxPyTimer
, METH_VARARGS
| METH_KEYWORDS
},
11266 { "new_wxPyTimer", (PyCFunction
) _wrap_new_wxPyTimer
, METH_VARARGS
| METH_KEYWORDS
},
11267 { "wxDragImage_RedrawImage", (PyCFunction
) _wrap_wxDragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
},
11268 { "wxDragImage_GetImageRect", (PyCFunction
) _wrap_wxDragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
},
11269 { "wxDragImage_Hide", (PyCFunction
) _wrap_wxDragImage_Hide
, METH_VARARGS
| METH_KEYWORDS
},
11270 { "wxDragImage_Show", (PyCFunction
) _wrap_wxDragImage_Show
, METH_VARARGS
| METH_KEYWORDS
},
11271 { "wxDragImage_Move", (PyCFunction
) _wrap_wxDragImage_Move
, METH_VARARGS
| METH_KEYWORDS
},
11272 { "wxDragImage_EndDrag", (PyCFunction
) _wrap_wxDragImage_EndDrag
, METH_VARARGS
| METH_KEYWORDS
},
11273 { "wxDragImage_BeginDragBounded", (PyCFunction
) _wrap_wxDragImage_BeginDragBounded
, METH_VARARGS
| METH_KEYWORDS
},
11274 { "wxDragImage_BeginDrag", (PyCFunction
) _wrap_wxDragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
},
11275 { "wxDragImage_SetBackingBitmap", (PyCFunction
) _wrap_wxDragImage_SetBackingBitmap
, METH_VARARGS
| METH_KEYWORDS
},
11276 { "delete_wxDragImage", (PyCFunction
) _wrap_delete_wxDragImage
, METH_VARARGS
| METH_KEYWORDS
},
11277 { "new_wxDragListItem", (PyCFunction
) _wrap_new_wxDragListItem
, METH_VARARGS
| METH_KEYWORDS
},
11278 { "new_wxDragTreeItem", (PyCFunction
) _wrap_new_wxDragTreeItem
, METH_VARARGS
| METH_KEYWORDS
},
11279 { "new_wxDragString", (PyCFunction
) _wrap_new_wxDragString
, METH_VARARGS
| METH_KEYWORDS
},
11280 { "new_wxDragIcon", (PyCFunction
) _wrap_new_wxDragIcon
, METH_VARARGS
| METH_KEYWORDS
},
11281 { "new_wxDragImage", (PyCFunction
) _wrap_new_wxDragImage
, METH_VARARGS
| METH_KEYWORDS
},
11282 { "wxPyTipProvider__setCallbackInfo", (PyCFunction
) _wrap_wxPyTipProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
11283 { "new_wxPyTipProvider", (PyCFunction
) _wrap_new_wxPyTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
11284 { "wxTipProvider_PreprocessTip", (PyCFunction
) _wrap_wxTipProvider_PreprocessTip
, METH_VARARGS
| METH_KEYWORDS
},
11285 { "wxTipProvider_GetCurrentTip", (PyCFunction
) _wrap_wxTipProvider_GetCurrentTip
, METH_VARARGS
| METH_KEYWORDS
},
11286 { "wxTipProvider_GetTip", (PyCFunction
) _wrap_wxTipProvider_GetTip
, METH_VARARGS
| METH_KEYWORDS
},
11287 { "delete_wxTipProvider", (PyCFunction
) _wrap_delete_wxTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
11288 { "delete_wxMutexGuiLocker", (PyCFunction
) _wrap_delete_wxMutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
},
11289 { "new_wxMutexGuiLocker", (PyCFunction
) _wrap_new_wxMutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
},
11290 { "delete_wxWindowDisabler", (PyCFunction
) _wrap_delete_wxWindowDisabler
, METH_VARARGS
| METH_KEYWORDS
},
11291 { "new_wxWindowDisabler", (PyCFunction
) _wrap_new_wxWindowDisabler
, METH_VARARGS
| METH_KEYWORDS
},
11292 { "delete_wxBusyCursor", (PyCFunction
) _wrap_delete_wxBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
11293 { "new_wxBusyCursor", (PyCFunction
) _wrap_new_wxBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
11294 { "wxCaret_Hide", (PyCFunction
) _wrap_wxCaret_Hide
, METH_VARARGS
| METH_KEYWORDS
},
11295 { "wxCaret_Show", (PyCFunction
) _wrap_wxCaret_Show
, METH_VARARGS
| METH_KEYWORDS
},
11296 { "wxCaret_SetSize", (PyCFunction
) _wrap_wxCaret_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
11297 { "wxCaret_SetSizeWH", (PyCFunction
) _wrap_wxCaret_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
11298 { "wxCaret_Move", (PyCFunction
) _wrap_wxCaret_Move
, METH_VARARGS
| METH_KEYWORDS
},
11299 { "wxCaret_MoveXY", (PyCFunction
) _wrap_wxCaret_MoveXY
, METH_VARARGS
| METH_KEYWORDS
},
11300 { "wxCaret_GetWindow", (PyCFunction
) _wrap_wxCaret_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
11301 { "wxCaret_GetSize", (PyCFunction
) _wrap_wxCaret_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
11302 { "wxCaret_GetSizeTuple", (PyCFunction
) _wrap_wxCaret_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
11303 { "wxCaret_GetPosition", (PyCFunction
) _wrap_wxCaret_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
11304 { "wxCaret_GetPositionTuple", (PyCFunction
) _wrap_wxCaret_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
11305 { "wxCaret_IsVisible", (PyCFunction
) _wrap_wxCaret_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
11306 { "wxCaret_IsOk", (PyCFunction
) _wrap_wxCaret_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
11307 { "delete_wxCaret", (PyCFunction
) _wrap_delete_wxCaret
, METH_VARARGS
| METH_KEYWORDS
},
11308 { "new_wxCaret", (PyCFunction
) _wrap_new_wxCaret
, METH_VARARGS
| METH_KEYWORDS
},
11309 { "wxToolTip_SetDelay", (PyCFunction
) _wrap_wxToolTip_SetDelay
, METH_VARARGS
| METH_KEYWORDS
},
11310 { "wxToolTip_Enable", (PyCFunction
) _wrap_wxToolTip_Enable
, METH_VARARGS
| METH_KEYWORDS
},
11311 { "wxToolTip_GetWindow", (PyCFunction
) _wrap_wxToolTip_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
11312 { "wxToolTip_GetTip", (PyCFunction
) _wrap_wxToolTip_GetTip
, METH_VARARGS
| METH_KEYWORDS
},
11313 { "wxToolTip_SetTip", (PyCFunction
) _wrap_wxToolTip_SetTip
, METH_VARARGS
| METH_KEYWORDS
},
11314 { "new_wxToolTip", (PyCFunction
) _wrap_new_wxToolTip
, METH_VARARGS
| METH_KEYWORDS
},
11315 { "wxSystemSettings_SetScreenType", (PyCFunction
) _wrap_wxSystemSettings_SetScreenType
, METH_VARARGS
| METH_KEYWORDS
},
11316 { "wxSystemSettings_GetScreenType", (PyCFunction
) _wrap_wxSystemSettings_GetScreenType
, METH_VARARGS
| METH_KEYWORDS
},
11317 { "wxSystemSettings_HasFeature", (PyCFunction
) _wrap_wxSystemSettings_HasFeature
, METH_VARARGS
| METH_KEYWORDS
},
11318 { "wxSystemSettings_GetMetric", (PyCFunction
) _wrap_wxSystemSettings_GetMetric
, METH_VARARGS
| METH_KEYWORDS
},
11319 { "wxSystemSettings_GetFont", (PyCFunction
) _wrap_wxSystemSettings_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
11320 { "wxSystemSettings_GetColour", (PyCFunction
) _wrap_wxSystemSettings_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
11321 { "wxWaveData", (PyCFunction
) _wrap_wxWaveData
, METH_VARARGS
| METH_KEYWORDS
},
11322 { "wxExecute", (PyCFunction
) _wrap_wxExecute
, METH_VARARGS
| METH_KEYWORDS
},
11323 { "wxSafeShowMessage", (PyCFunction
) _wrap_wxSafeShowMessage
, METH_VARARGS
| METH_KEYWORDS
},
11324 { "wxLogGeneric", (PyCFunction
) _wrap_wxLogGeneric
, METH_VARARGS
| METH_KEYWORDS
},
11325 { "wxLogTraceMask", (PyCFunction
) _wrap_wxLogTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
11326 { "wxLogTrace", (PyCFunction
) _wrap_wxLogTrace
, METH_VARARGS
| METH_KEYWORDS
},
11327 { "wxLogSysError", (PyCFunction
) _wrap_wxLogSysError
, METH_VARARGS
| METH_KEYWORDS
},
11328 { "wxLogStatusFrame", (PyCFunction
) _wrap_wxLogStatusFrame
, METH_VARARGS
| METH_KEYWORDS
},
11329 { "wxLogStatus", (PyCFunction
) _wrap_wxLogStatus
, METH_VARARGS
| METH_KEYWORDS
},
11330 { "wxLogVerbose", (PyCFunction
) _wrap_wxLogVerbose
, METH_VARARGS
| METH_KEYWORDS
},
11331 { "wxLogDebug", (PyCFunction
) _wrap_wxLogDebug
, METH_VARARGS
| METH_KEYWORDS
},
11332 { "wxLogInfo", (PyCFunction
) _wrap_wxLogInfo
, METH_VARARGS
| METH_KEYWORDS
},
11333 { "wxLogMessage", (PyCFunction
) _wrap_wxLogMessage
, METH_VARARGS
| METH_KEYWORDS
},
11334 { "wxLogWarning", (PyCFunction
) _wrap_wxLogWarning
, METH_VARARGS
| METH_KEYWORDS
},
11335 { "wxLogError", (PyCFunction
) _wrap_wxLogError
, METH_VARARGS
| METH_KEYWORDS
},
11336 { "wxLogFatalError", (PyCFunction
) _wrap_wxLogFatalError
, METH_VARARGS
| METH_KEYWORDS
},
11337 { "wxSysErrorMsg", (PyCFunction
) _wrap_wxSysErrorMsg
, METH_VARARGS
| METH_KEYWORDS
},
11338 { "wxSysErrorCode", (PyCFunction
) _wrap_wxSysErrorCode
, METH_VARARGS
| METH_KEYWORDS
},
11339 { "wxCreateFileTipProvider", (PyCFunction
) _wrap_wxCreateFileTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
11340 { "wxShowTip", (PyCFunction
) _wrap_wxShowTip
, METH_VARARGS
| METH_KEYWORDS
},
11341 { "wxThread_IsMain", (PyCFunction
) _wrap_wxThread_IsMain
, METH_VARARGS
| METH_KEYWORDS
},
11342 { "wxMutexGuiLeave", (PyCFunction
) _wrap_wxMutexGuiLeave
, METH_VARARGS
| METH_KEYWORDS
},
11343 { "wxMutexGuiEnter", (PyCFunction
) _wrap_wxMutexGuiEnter
, METH_VARARGS
| METH_KEYWORDS
},
11344 { "wxWakeUpIdle", (PyCFunction
) _wrap_wxWakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
},
11345 { "wxPostEvent", (PyCFunction
) _wrap_wxPostEvent
, METH_VARARGS
| METH_KEYWORDS
},
11346 { "wxSafeYield", (PyCFunction
) _wrap_wxSafeYield
, METH_VARARGS
| METH_KEYWORDS
},
11347 { "wxCaret_SetBlinkTime", (PyCFunction
) _wrap_wxCaret_SetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
},
11348 { "wxCaret_GetBlinkTime", (PyCFunction
) _wrap_wxCaret_GetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
},
11349 { "wxGetTopLevelParent", (PyCFunction
) _wrap_wxGetTopLevelParent
, METH_VARARGS
| METH_KEYWORDS
},
11350 { "wxFindWindowAtPoint", (PyCFunction
) _wrap_wxFindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
},
11351 { "wxGenericFindWindowAtPoint", (PyCFunction
) _wrap_wxGenericFindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
},
11352 { "wxGetActiveWindow", (PyCFunction
) _wrap_wxGetActiveWindow
, METH_VARARGS
| METH_KEYWORDS
},
11353 { "wxBeginBusyCursor", (PyCFunction
) _wrap_wxBeginBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
11354 { "wxSetCursor", (PyCFunction
) _wrap_wxSetCursor
, METH_VARARGS
| METH_KEYWORDS
},
11355 { "wxGetClientDisplayRect", (PyCFunction
) _wrap_wxGetClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
},
11356 { "wxClientDisplayRect", (PyCFunction
) _wrap_wxClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
},
11357 { "wxGetDisplaySizeMM", (PyCFunction
) _wrap_wxGetDisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
},
11358 { "wxDisplaySizeMM", (PyCFunction
) _wrap_wxDisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
},
11359 { "wxGetDisplaySize", (PyCFunction
) _wrap_wxGetDisplaySize
, METH_VARARGS
| METH_KEYWORDS
},
11360 { "wxDisplaySize", (PyCFunction
) _wrap_wxDisplaySize
, METH_VARARGS
| METH_KEYWORDS
},
11361 { "wxGetDisplayDepth", (PyCFunction
) _wrap_wxGetDisplayDepth
, METH_VARARGS
| METH_KEYWORDS
},
11362 { "wxDisplayDepth", (PyCFunction
) _wrap_wxDisplayDepth
, METH_VARARGS
| METH_KEYWORDS
},
11363 { "wxColourDisplay", (PyCFunction
) _wrap_wxColourDisplay
, METH_VARARGS
| METH_KEYWORDS
},
11364 { "wxGetNumberFromUser", (PyCFunction
) _wrap_wxGetNumberFromUser
, METH_VARARGS
| METH_KEYWORDS
},
11365 { "wxMessageBox", (PyCFunction
) _wrap_wxMessageBox
, METH_VARARGS
| METH_KEYWORDS
},
11366 { "wxGetSingleChoiceIndex", (PyCFunction
) _wrap_wxGetSingleChoiceIndex
, METH_VARARGS
| METH_KEYWORDS
},
11367 { "wxGetSingleChoice", (PyCFunction
) _wrap_wxGetSingleChoice
, METH_VARARGS
| METH_KEYWORDS
},
11368 { "wxGetPasswordFromUser", (PyCFunction
) _wrap_wxGetPasswordFromUser
, METH_VARARGS
| METH_KEYWORDS
},
11369 { "wxGetTextFromUser", (PyCFunction
) _wrap_wxGetTextFromUser
, METH_VARARGS
| METH_KEYWORDS
},
11370 { "wxDirSelector", (PyCFunction
) _wrap_wxDirSelector
, METH_VARARGS
| METH_KEYWORDS
},
11371 { "wxSaveFileSelector", (PyCFunction
) _wrap_wxSaveFileSelector
, METH_VARARGS
| METH_KEYWORDS
},
11372 { "wxLoadFileSelector", (PyCFunction
) _wrap_wxLoadFileSelector
, METH_VARARGS
| METH_KEYWORDS
},
11373 { "wxFileSelector", (PyCFunction
) _wrap_wxFileSelector
, METH_VARARGS
| METH_KEYWORDS
},
11380 * This table is used by the pointer type-checker
11382 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
11383 { "_wxEvent","_wxProcessEvent",SwigwxProcessEventTowxEvent
},
11384 { "_signed_long","_long",0},
11385 { "_wxPrintQuality","_wxCoord",0},
11386 { "_wxPrintQuality","_int",0},
11387 { "_wxPrintQuality","_signed_int",0},
11388 { "_wxPrintQuality","_unsigned_int",0},
11389 { "_wxPrintQuality","_wxWindowID",0},
11390 { "_wxPrintQuality","_uint",0},
11391 { "_wxPrintQuality","_EBool",0},
11392 { "_wxPrintQuality","_size_t",0},
11393 { "_wxPrintQuality","_time_t",0},
11394 { "_wxLog","_wxPyLog",SwigwxPyLogTowxLog
},
11395 { "_wxLog","_wxLogChain",SwigwxLogChainTowxLog
},
11396 { "_wxLog","_wxLogWindow",SwigwxLogWindowTowxLog
},
11397 { "_wxLog","_wxLogGui",SwigwxLogGuiTowxLog
},
11398 { "_wxLog","_wxLogTextCtrl",SwigwxLogTextCtrlTowxLog
},
11399 { "_wxLog","_wxLogStderr",SwigwxLogStderrTowxLog
},
11400 { "_byte","_unsigned_char",0},
11401 { "_long","_unsigned_long",0},
11402 { "_long","_signed_long",0},
11403 { "_size_t","_wxCoord",0},
11404 { "_size_t","_wxPrintQuality",0},
11405 { "_size_t","_time_t",0},
11406 { "_size_t","_unsigned_int",0},
11407 { "_size_t","_int",0},
11408 { "_size_t","_wxWindowID",0},
11409 { "_size_t","_uint",0},
11410 { "_uint","_wxCoord",0},
11411 { "_uint","_wxPrintQuality",0},
11412 { "_uint","_time_t",0},
11413 { "_uint","_size_t",0},
11414 { "_uint","_unsigned_int",0},
11415 { "_uint","_int",0},
11416 { "_uint","_wxWindowID",0},
11417 { "_wxChar","_char",0},
11418 { "_char","_wxChar",0},
11419 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
11420 { "_EBool","_wxCoord",0},
11421 { "_EBool","_wxPrintQuality",0},
11422 { "_EBool","_signed_int",0},
11423 { "_EBool","_int",0},
11424 { "_EBool","_wxWindowID",0},
11425 { "_unsigned_long","_long",0},
11426 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
11427 { "_signed_int","_wxCoord",0},
11428 { "_signed_int","_wxPrintQuality",0},
11429 { "_signed_int","_EBool",0},
11430 { "_signed_int","_wxWindowID",0},
11431 { "_signed_int","_int",0},
11432 { "_WXTYPE","_wxDateTime_t",0},
11433 { "_WXTYPE","_short",0},
11434 { "_WXTYPE","_signed_short",0},
11435 { "_WXTYPE","_unsigned_short",0},
11436 { "_wxTipProvider","_wxPyTipProvider",SwigwxPyTipProviderTowxTipProvider
},
11437 { "_unsigned_short","_wxDateTime_t",0},
11438 { "_unsigned_short","_WXTYPE",0},
11439 { "_unsigned_short","_short",0},
11440 { "_wxObject","_wxEffects",SwigwxEffectsTowxObject
},
11441 { "_wxObject","_wxFileHistory",SwigwxFileHistoryTowxObject
},
11442 { "_wxObject","_wxPyArtProvider",SwigwxPyArtProviderTowxObject
},
11443 { "_wxObject","_wxWave",SwigwxWaveTowxObject
},
11444 { "_wxObject","_wxJoystick",SwigwxJoystickTowxObject
},
11445 { "_wxObject","_wxPyProcess",SwigwxPyProcessTowxObject
},
11446 { "_wxObject","_wxProcessEvent",SwigwxProcessEventTowxObject
},
11447 { "_wxObject","_wxPyTimer",SwigwxPyTimerTowxObject
},
11448 { "_wxObject","_wxGenericDragImage",SwigwxGenericDragImageTowxObject
},
11449 { "_wxObject","_wxToolTip",SwigwxToolTipTowxObject
},
11450 { "_signed_short","_WXTYPE",0},
11451 { "_signed_short","_short",0},
11452 { "_unsigned_char","_byte",0},
11453 { "_unsigned_int","_wxCoord",0},
11454 { "_unsigned_int","_wxPrintQuality",0},
11455 { "_unsigned_int","_time_t",0},
11456 { "_unsigned_int","_size_t",0},
11457 { "_unsigned_int","_uint",0},
11458 { "_unsigned_int","_wxWindowID",0},
11459 { "_unsigned_int","_int",0},
11460 { "_short","_wxDateTime_t",0},
11461 { "_short","_WXTYPE",0},
11462 { "_short","_unsigned_short",0},
11463 { "_short","_signed_short",0},
11464 { "_wxWindowID","_wxCoord",0},
11465 { "_wxWindowID","_wxPrintQuality",0},
11466 { "_wxWindowID","_time_t",0},
11467 { "_wxWindowID","_size_t",0},
11468 { "_wxWindowID","_EBool",0},
11469 { "_wxWindowID","_uint",0},
11470 { "_wxWindowID","_int",0},
11471 { "_wxWindowID","_signed_int",0},
11472 { "_wxWindowID","_unsigned_int",0},
11473 { "_int","_wxCoord",0},
11474 { "_int","_wxPrintQuality",0},
11475 { "_int","_time_t",0},
11476 { "_int","_size_t",0},
11477 { "_int","_EBool",0},
11478 { "_int","_uint",0},
11479 { "_int","_wxWindowID",0},
11480 { "_int","_unsigned_int",0},
11481 { "_int","_signed_int",0},
11482 { "_wxDateTime_t","_unsigned_short",0},
11483 { "_wxDateTime_t","_short",0},
11484 { "_wxDateTime_t","_WXTYPE",0},
11485 { "_time_t","_wxCoord",0},
11486 { "_time_t","_wxPrintQuality",0},
11487 { "_time_t","_unsigned_int",0},
11488 { "_time_t","_int",0},
11489 { "_time_t","_wxWindowID",0},
11490 { "_time_t","_uint",0},
11491 { "_time_t","_size_t",0},
11492 { "_wxCoord","_int",0},
11493 { "_wxCoord","_signed_int",0},
11494 { "_wxCoord","_unsigned_int",0},
11495 { "_wxCoord","_wxWindowID",0},
11496 { "_wxCoord","_uint",0},
11497 { "_wxCoord","_EBool",0},
11498 { "_wxCoord","_size_t",0},
11499 { "_wxCoord","_time_t",0},
11500 { "_wxCoord","_wxPrintQuality",0},
11501 { "_wxEvtHandler","_wxPyProcess",SwigwxPyProcessTowxEvtHandler
},
11504 static PyObject
*SWIG_globals
;
11508 SWIGEXPORT(void) initmisc2c() {
11510 SWIG_globals
= SWIG_newvarlink();
11511 m
= Py_InitModule("misc2c", misc2cMethods
);
11512 d
= PyModule_GetDict(m
);
11513 PyDict_SetItemString(d
,"wxSYS_OEM_FIXED_FONT", PyInt_FromLong((long) wxSYS_OEM_FIXED_FONT
));
11514 PyDict_SetItemString(d
,"wxSYS_ANSI_FIXED_FONT", PyInt_FromLong((long) wxSYS_ANSI_FIXED_FONT
));
11515 PyDict_SetItemString(d
,"wxSYS_ANSI_VAR_FONT", PyInt_FromLong((long) wxSYS_ANSI_VAR_FONT
));
11516 PyDict_SetItemString(d
,"wxSYS_SYSTEM_FONT", PyInt_FromLong((long) wxSYS_SYSTEM_FONT
));
11517 PyDict_SetItemString(d
,"wxSYS_DEVICE_DEFAULT_FONT", PyInt_FromLong((long) wxSYS_DEVICE_DEFAULT_FONT
));
11518 PyDict_SetItemString(d
,"wxSYS_DEFAULT_PALETTE", PyInt_FromLong((long) wxSYS_DEFAULT_PALETTE
));
11519 PyDict_SetItemString(d
,"wxSYS_SYSTEM_FIXED_FONT", PyInt_FromLong((long) wxSYS_SYSTEM_FIXED_FONT
));
11520 PyDict_SetItemString(d
,"wxSYS_DEFAULT_GUI_FONT", PyInt_FromLong((long) wxSYS_DEFAULT_GUI_FONT
));
11521 PyDict_SetItemString(d
,"wxSYS_COLOUR_SCROLLBAR", PyInt_FromLong((long) wxSYS_COLOUR_SCROLLBAR
));
11522 PyDict_SetItemString(d
,"wxSYS_COLOUR_BACKGROUND", PyInt_FromLong((long) wxSYS_COLOUR_BACKGROUND
));
11523 PyDict_SetItemString(d
,"wxSYS_COLOUR_DESKTOP", PyInt_FromLong((long) wxSYS_COLOUR_DESKTOP
));
11524 PyDict_SetItemString(d
,"wxSYS_COLOUR_ACTIVECAPTION", PyInt_FromLong((long) wxSYS_COLOUR_ACTIVECAPTION
));
11525 PyDict_SetItemString(d
,"wxSYS_COLOUR_INACTIVECAPTION", PyInt_FromLong((long) wxSYS_COLOUR_INACTIVECAPTION
));
11526 PyDict_SetItemString(d
,"wxSYS_COLOUR_MENU", PyInt_FromLong((long) wxSYS_COLOUR_MENU
));
11527 PyDict_SetItemString(d
,"wxSYS_COLOUR_WINDOW", PyInt_FromLong((long) wxSYS_COLOUR_WINDOW
));
11528 PyDict_SetItemString(d
,"wxSYS_COLOUR_WINDOWFRAME", PyInt_FromLong((long) wxSYS_COLOUR_WINDOWFRAME
));
11529 PyDict_SetItemString(d
,"wxSYS_COLOUR_MENUTEXT", PyInt_FromLong((long) wxSYS_COLOUR_MENUTEXT
));
11530 PyDict_SetItemString(d
,"wxSYS_COLOUR_WINDOWTEXT", PyInt_FromLong((long) wxSYS_COLOUR_WINDOWTEXT
));
11531 PyDict_SetItemString(d
,"wxSYS_COLOUR_CAPTIONTEXT", PyInt_FromLong((long) wxSYS_COLOUR_CAPTIONTEXT
));
11532 PyDict_SetItemString(d
,"wxSYS_COLOUR_ACTIVEBORDER", PyInt_FromLong((long) wxSYS_COLOUR_ACTIVEBORDER
));
11533 PyDict_SetItemString(d
,"wxSYS_COLOUR_INACTIVEBORDER", PyInt_FromLong((long) wxSYS_COLOUR_INACTIVEBORDER
));
11534 PyDict_SetItemString(d
,"wxSYS_COLOUR_APPWORKSPACE", PyInt_FromLong((long) wxSYS_COLOUR_APPWORKSPACE
));
11535 PyDict_SetItemString(d
,"wxSYS_COLOUR_HIGHLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_HIGHLIGHT
));
11536 PyDict_SetItemString(d
,"wxSYS_COLOUR_HIGHLIGHTTEXT", PyInt_FromLong((long) wxSYS_COLOUR_HIGHLIGHTTEXT
));
11537 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNFACE", PyInt_FromLong((long) wxSYS_COLOUR_BTNFACE
));
11538 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DFACE", PyInt_FromLong((long) wxSYS_COLOUR_3DFACE
));
11539 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNSHADOW", PyInt_FromLong((long) wxSYS_COLOUR_BTNSHADOW
));
11540 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DSHADOW", PyInt_FromLong((long) wxSYS_COLOUR_3DSHADOW
));
11541 PyDict_SetItemString(d
,"wxSYS_COLOUR_GRAYTEXT", PyInt_FromLong((long) wxSYS_COLOUR_GRAYTEXT
));
11542 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNTEXT", PyInt_FromLong((long) wxSYS_COLOUR_BTNTEXT
));
11543 PyDict_SetItemString(d
,"wxSYS_COLOUR_INACTIVECAPTIONTEXT", PyInt_FromLong((long) wxSYS_COLOUR_INACTIVECAPTIONTEXT
));
11544 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNHIGHLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_BTNHIGHLIGHT
));
11545 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNHILIGHT", PyInt_FromLong((long) wxSYS_COLOUR_BTNHILIGHT
));
11546 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DHIGHLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_3DHIGHLIGHT
));
11547 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DHILIGHT", PyInt_FromLong((long) wxSYS_COLOUR_3DHILIGHT
));
11548 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DDKSHADOW", PyInt_FromLong((long) wxSYS_COLOUR_3DDKSHADOW
));
11549 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_3DLIGHT
));
11550 PyDict_SetItemString(d
,"wxSYS_COLOUR_INFOTEXT", PyInt_FromLong((long) wxSYS_COLOUR_INFOTEXT
));
11551 PyDict_SetItemString(d
,"wxSYS_COLOUR_INFOBK", PyInt_FromLong((long) wxSYS_COLOUR_INFOBK
));
11552 PyDict_SetItemString(d
,"wxSYS_COLOUR_LISTBOX", PyInt_FromLong((long) wxSYS_COLOUR_LISTBOX
));
11553 PyDict_SetItemString(d
,"wxSYS_COLOUR_HOTLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_HOTLIGHT
));
11554 PyDict_SetItemString(d
,"wxSYS_COLOUR_GRADIENTACTIVECAPTION", PyInt_FromLong((long) wxSYS_COLOUR_GRADIENTACTIVECAPTION
));
11555 PyDict_SetItemString(d
,"wxSYS_COLOUR_GRADIENTINACTIVECAPTION", PyInt_FromLong((long) wxSYS_COLOUR_GRADIENTINACTIVECAPTION
));
11556 PyDict_SetItemString(d
,"wxSYS_COLOUR_MENUHILIGHT", PyInt_FromLong((long) wxSYS_COLOUR_MENUHILIGHT
));
11557 PyDict_SetItemString(d
,"wxSYS_COLOUR_MENUBAR", PyInt_FromLong((long) wxSYS_COLOUR_MENUBAR
));
11558 PyDict_SetItemString(d
,"wxSYS_COLOUR_MAX", PyInt_FromLong((long) wxSYS_COLOUR_MAX
));
11559 PyDict_SetItemString(d
,"wxSYS_MOUSE_BUTTONS", PyInt_FromLong((long) wxSYS_MOUSE_BUTTONS
));
11560 PyDict_SetItemString(d
,"wxSYS_BORDER_X", PyInt_FromLong((long) wxSYS_BORDER_X
));
11561 PyDict_SetItemString(d
,"wxSYS_BORDER_Y", PyInt_FromLong((long) wxSYS_BORDER_Y
));
11562 PyDict_SetItemString(d
,"wxSYS_CURSOR_X", PyInt_FromLong((long) wxSYS_CURSOR_X
));
11563 PyDict_SetItemString(d
,"wxSYS_CURSOR_Y", PyInt_FromLong((long) wxSYS_CURSOR_Y
));
11564 PyDict_SetItemString(d
,"wxSYS_DCLICK_X", PyInt_FromLong((long) wxSYS_DCLICK_X
));
11565 PyDict_SetItemString(d
,"wxSYS_DCLICK_Y", PyInt_FromLong((long) wxSYS_DCLICK_Y
));
11566 PyDict_SetItemString(d
,"wxSYS_DRAG_X", PyInt_FromLong((long) wxSYS_DRAG_X
));
11567 PyDict_SetItemString(d
,"wxSYS_DRAG_Y", PyInt_FromLong((long) wxSYS_DRAG_Y
));
11568 PyDict_SetItemString(d
,"wxSYS_EDGE_X", PyInt_FromLong((long) wxSYS_EDGE_X
));
11569 PyDict_SetItemString(d
,"wxSYS_EDGE_Y", PyInt_FromLong((long) wxSYS_EDGE_Y
));
11570 PyDict_SetItemString(d
,"wxSYS_HSCROLL_ARROW_X", PyInt_FromLong((long) wxSYS_HSCROLL_ARROW_X
));
11571 PyDict_SetItemString(d
,"wxSYS_HSCROLL_ARROW_Y", PyInt_FromLong((long) wxSYS_HSCROLL_ARROW_Y
));
11572 PyDict_SetItemString(d
,"wxSYS_HTHUMB_X", PyInt_FromLong((long) wxSYS_HTHUMB_X
));
11573 PyDict_SetItemString(d
,"wxSYS_ICON_X", PyInt_FromLong((long) wxSYS_ICON_X
));
11574 PyDict_SetItemString(d
,"wxSYS_ICON_Y", PyInt_FromLong((long) wxSYS_ICON_Y
));
11575 PyDict_SetItemString(d
,"wxSYS_ICONSPACING_X", PyInt_FromLong((long) wxSYS_ICONSPACING_X
));
11576 PyDict_SetItemString(d
,"wxSYS_ICONSPACING_Y", PyInt_FromLong((long) wxSYS_ICONSPACING_Y
));
11577 PyDict_SetItemString(d
,"wxSYS_WINDOWMIN_X", PyInt_FromLong((long) wxSYS_WINDOWMIN_X
));
11578 PyDict_SetItemString(d
,"wxSYS_WINDOWMIN_Y", PyInt_FromLong((long) wxSYS_WINDOWMIN_Y
));
11579 PyDict_SetItemString(d
,"wxSYS_SCREEN_X", PyInt_FromLong((long) wxSYS_SCREEN_X
));
11580 PyDict_SetItemString(d
,"wxSYS_SCREEN_Y", PyInt_FromLong((long) wxSYS_SCREEN_Y
));
11581 PyDict_SetItemString(d
,"wxSYS_FRAMESIZE_X", PyInt_FromLong((long) wxSYS_FRAMESIZE_X
));
11582 PyDict_SetItemString(d
,"wxSYS_FRAMESIZE_Y", PyInt_FromLong((long) wxSYS_FRAMESIZE_Y
));
11583 PyDict_SetItemString(d
,"wxSYS_SMALLICON_X", PyInt_FromLong((long) wxSYS_SMALLICON_X
));
11584 PyDict_SetItemString(d
,"wxSYS_SMALLICON_Y", PyInt_FromLong((long) wxSYS_SMALLICON_Y
));
11585 PyDict_SetItemString(d
,"wxSYS_HSCROLL_Y", PyInt_FromLong((long) wxSYS_HSCROLL_Y
));
11586 PyDict_SetItemString(d
,"wxSYS_VSCROLL_X", PyInt_FromLong((long) wxSYS_VSCROLL_X
));
11587 PyDict_SetItemString(d
,"wxSYS_VSCROLL_ARROW_X", PyInt_FromLong((long) wxSYS_VSCROLL_ARROW_X
));
11588 PyDict_SetItemString(d
,"wxSYS_VSCROLL_ARROW_Y", PyInt_FromLong((long) wxSYS_VSCROLL_ARROW_Y
));
11589 PyDict_SetItemString(d
,"wxSYS_VTHUMB_Y", PyInt_FromLong((long) wxSYS_VTHUMB_Y
));
11590 PyDict_SetItemString(d
,"wxSYS_CAPTION_Y", PyInt_FromLong((long) wxSYS_CAPTION_Y
));
11591 PyDict_SetItemString(d
,"wxSYS_MENU_Y", PyInt_FromLong((long) wxSYS_MENU_Y
));
11592 PyDict_SetItemString(d
,"wxSYS_NETWORK_PRESENT", PyInt_FromLong((long) wxSYS_NETWORK_PRESENT
));
11593 PyDict_SetItemString(d
,"wxSYS_PENWINDOWS_PRESENT", PyInt_FromLong((long) wxSYS_PENWINDOWS_PRESENT
));
11594 PyDict_SetItemString(d
,"wxSYS_SHOW_SOUNDS", PyInt_FromLong((long) wxSYS_SHOW_SOUNDS
));
11595 PyDict_SetItemString(d
,"wxSYS_SWAP_BUTTONS", PyInt_FromLong((long) wxSYS_SWAP_BUTTONS
));
11596 PyDict_SetItemString(d
,"wxSYS_CAN_DRAW_FRAME_DECORATIONS", PyInt_FromLong((long) wxSYS_CAN_DRAW_FRAME_DECORATIONS
));
11597 PyDict_SetItemString(d
,"wxSYS_CAN_ICONIZE_FRAME", PyInt_FromLong((long) wxSYS_CAN_ICONIZE_FRAME
));
11598 PyDict_SetItemString(d
,"wxSYS_SCREEN_NONE", PyInt_FromLong((long) wxSYS_SCREEN_NONE
));
11599 PyDict_SetItemString(d
,"wxSYS_SCREEN_TINY", PyInt_FromLong((long) wxSYS_SCREEN_TINY
));
11600 PyDict_SetItemString(d
,"wxSYS_SCREEN_PDA", PyInt_FromLong((long) wxSYS_SCREEN_PDA
));
11601 PyDict_SetItemString(d
,"wxSYS_SCREEN_SMALL", PyInt_FromLong((long) wxSYS_SCREEN_SMALL
));
11602 PyDict_SetItemString(d
,"wxSYS_SCREEN_DESKTOP", PyInt_FromLong((long) wxSYS_SCREEN_DESKTOP
));
11603 PyDict_SetItemString(d
,"wxLOG_FatalError", PyInt_FromLong((long) wxLOG_FatalError
));
11604 PyDict_SetItemString(d
,"wxLOG_Error", PyInt_FromLong((long) wxLOG_Error
));
11605 PyDict_SetItemString(d
,"wxLOG_Warning", PyInt_FromLong((long) wxLOG_Warning
));
11606 PyDict_SetItemString(d
,"wxLOG_Message", PyInt_FromLong((long) wxLOG_Message
));
11607 PyDict_SetItemString(d
,"wxLOG_Info", PyInt_FromLong((long) wxLOG_Info
));
11608 PyDict_SetItemString(d
,"wxLOG_Status", PyInt_FromLong((long) wxLOG_Status
));
11609 PyDict_SetItemString(d
,"wxLOG_Debug", PyInt_FromLong((long) wxLOG_Debug
));
11610 PyDict_SetItemString(d
,"wxLOG_Trace", PyInt_FromLong((long) wxLOG_Trace
));
11611 PyDict_SetItemString(d
,"wxLOG_Progress", PyInt_FromLong((long) wxLOG_Progress
));
11612 PyDict_SetItemString(d
,"wxLOG_User", PyInt_FromLong((long) wxLOG_User
));
11613 PyDict_SetItemString(d
,"wxTRACE_MemAlloc", PyString_FromString("memalloc"));
11614 PyDict_SetItemString(d
,"wxTRACE_Messages", PyString_FromString("messages"));
11615 PyDict_SetItemString(d
,"wxTRACE_ResAlloc", PyString_FromString("resalloc"));
11616 PyDict_SetItemString(d
,"wxTRACE_RefCount", PyString_FromString("refcount"));
11617 PyDict_SetItemString(d
,"wxTraceMemAlloc", PyInt_FromLong((long) wxTraceMemAlloc
));
11618 PyDict_SetItemString(d
,"wxTraceMessages", PyInt_FromLong((long) wxTraceMessages
));
11619 PyDict_SetItemString(d
,"wxTraceResAlloc", PyInt_FromLong((long) wxTraceResAlloc
));
11620 PyDict_SetItemString(d
,"wxTraceRefCount", PyInt_FromLong((long) wxTraceRefCount
));
11621 PyDict_SetItemString(d
,"wxKILL_OK", PyInt_FromLong((long) wxKILL_OK
));
11622 PyDict_SetItemString(d
,"wxKILL_BAD_SIGNAL", PyInt_FromLong((long) wxKILL_BAD_SIGNAL
));
11623 PyDict_SetItemString(d
,"wxKILL_ACCESS_DENIED", PyInt_FromLong((long) wxKILL_ACCESS_DENIED
));
11624 PyDict_SetItemString(d
,"wxKILL_NO_PROCESS", PyInt_FromLong((long) wxKILL_NO_PROCESS
));
11625 PyDict_SetItemString(d
,"wxKILL_ERROR", PyInt_FromLong((long) wxKILL_ERROR
));
11626 PyDict_SetItemString(d
,"wxSIGNONE", PyInt_FromLong((long) wxSIGNONE
));
11627 PyDict_SetItemString(d
,"wxSIGHUP", PyInt_FromLong((long) wxSIGHUP
));
11628 PyDict_SetItemString(d
,"wxSIGINT", PyInt_FromLong((long) wxSIGINT
));
11629 PyDict_SetItemString(d
,"wxSIGQUIT", PyInt_FromLong((long) wxSIGQUIT
));
11630 PyDict_SetItemString(d
,"wxSIGILL", PyInt_FromLong((long) wxSIGILL
));
11631 PyDict_SetItemString(d
,"wxSIGTRAP", PyInt_FromLong((long) wxSIGTRAP
));
11632 PyDict_SetItemString(d
,"wxSIGABRT", PyInt_FromLong((long) wxSIGABRT
));
11633 PyDict_SetItemString(d
,"wxSIGIOT", PyInt_FromLong((long) wxSIGIOT
));
11634 PyDict_SetItemString(d
,"wxSIGEMT", PyInt_FromLong((long) wxSIGEMT
));
11635 PyDict_SetItemString(d
,"wxSIGFPE", PyInt_FromLong((long) wxSIGFPE
));
11636 PyDict_SetItemString(d
,"wxSIGKILL", PyInt_FromLong((long) wxSIGKILL
));
11637 PyDict_SetItemString(d
,"wxSIGBUS", PyInt_FromLong((long) wxSIGBUS
));
11638 PyDict_SetItemString(d
,"wxSIGSEGV", PyInt_FromLong((long) wxSIGSEGV
));
11639 PyDict_SetItemString(d
,"wxSIGSYS", PyInt_FromLong((long) wxSIGSYS
));
11640 PyDict_SetItemString(d
,"wxSIGPIPE", PyInt_FromLong((long) wxSIGPIPE
));
11641 PyDict_SetItemString(d
,"wxSIGALRM", PyInt_FromLong((long) wxSIGALRM
));
11642 PyDict_SetItemString(d
,"wxSIGTERM", PyInt_FromLong((long) wxSIGTERM
));
11643 PyDict_SetItemString(d
,"wxEVT_END_PROCESS", PyInt_FromLong((long) wxEVT_END_PROCESS
));
11644 PyDict_SetItemString(d
,"wxEXEC_ASYNC", PyInt_FromLong((long) wxEXEC_ASYNC
));
11645 PyDict_SetItemString(d
,"wxEXEC_SYNC", PyInt_FromLong((long) wxEXEC_SYNC
));
11646 PyDict_SetItemString(d
,"wxEXEC_NOHIDE", PyInt_FromLong((long) wxEXEC_NOHIDE
));
11647 PyDict_SetItemString(d
,"wxEXEC_MAKE_GROUP_LEADER", PyInt_FromLong((long) wxEXEC_MAKE_GROUP_LEADER
));
11648 PyDict_SetItemString(d
,"wxJOYSTICK1", PyInt_FromLong((long) wxJOYSTICK1
));
11649 PyDict_SetItemString(d
,"wxJOYSTICK2", PyInt_FromLong((long) wxJOYSTICK2
));
11650 PyDict_SetItemString(d
,"wxJOY_BUTTON_ANY", PyInt_FromLong((long) wxJOY_BUTTON_ANY
));
11651 PyDict_SetItemString(d
,"wxJOY_BUTTON1", PyInt_FromLong((long) wxJOY_BUTTON1
));
11652 PyDict_SetItemString(d
,"wxJOY_BUTTON2", PyInt_FromLong((long) wxJOY_BUTTON2
));
11653 PyDict_SetItemString(d
,"wxJOY_BUTTON3", PyInt_FromLong((long) wxJOY_BUTTON3
));
11654 PyDict_SetItemString(d
,"wxJOY_BUTTON4", PyInt_FromLong((long) wxJOY_BUTTON4
));
11655 PyDict_SetItemString(d
,"wxMAILCAP_STANDARD", PyInt_FromLong((long) wxMAILCAP_STANDARD
));
11656 PyDict_SetItemString(d
,"wxMAILCAP_NETSCAPE", PyInt_FromLong((long) wxMAILCAP_NETSCAPE
));
11657 PyDict_SetItemString(d
,"wxMAILCAP_KDE", PyInt_FromLong((long) wxMAILCAP_KDE
));
11658 PyDict_SetItemString(d
,"wxMAILCAP_GNOME", PyInt_FromLong((long) wxMAILCAP_GNOME
));
11659 PyDict_SetItemString(d
,"wxMAILCAP_ALL", PyInt_FromLong((long) wxMAILCAP_ALL
));
11660 PyDict_SetItemString(d
,"cvar", SWIG_globals
);
11661 SWIG_addvarlink(SWIG_globals
,"wxTheMimeTypesManager",_wrap_wxTheMimeTypesManager_get
, _wrap_wxTheMimeTypesManager_set
);
11663 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
11664 wxPyPtrTypeMap_Add("wxProcess", "wxPyProcess");
11665 wxPyPtrTypeMap_Add("wxArtProvider", "wxPyArtProvider");
11669 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
11670 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);