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 */
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
32 # define SWIGEXPORT(a) a
36 # define SWIGEXPORT(a) a
45 extern void SWIG_MakePtr(char *, void *, char *);
46 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
47 extern char *SWIG_GetPtr(char *, void **, char *);
48 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
49 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
50 extern PyObject
*SWIG_newvarlink(void);
54 #define SWIG_init initmisc2c
56 #define SWIG_name "misc2c"
59 #include "pyistream.h"
60 #include <wx/resource.h>
61 #include <wx/tooltip.h>
63 #include <wx/tipdlg.h>
64 #include <wx/process.h>
66 #if wxUSE_JOYSTICK || defined(__WXMSW__)
67 #include <wx/joystick.h>
70 #if wxUSE_WAVE || defined(__WXMSW__)
74 #include <wx/mimetype.h>
75 #include <wx/snglinst.h>
76 #include <wx/effects.h>
77 //#include <wx/spawnbrowser.h>
80 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
86 } else if (target
== Py_None
) {
90 if (!PyTuple_Check(target
)) {
92 target
= PyTuple_New(1);
93 PyTuple_SetItem(target
, 0, o2
);
96 PyTuple_SetItem(o3
, 0, o
);
99 target
= PySequence_Concat(o2
, o3
);
106 // Put some wx default wxChar* values into wxStrings.
107 DECLARE_DEF_STRING(FileSelectorPromptStr
);
108 DECLARE_DEF_STRING(FileSelectorDefaultWildcardStr
);
109 DECLARE_DEF_STRING(DirSelectorPromptStr
);
110 static const wxString
wxPyEmptyString(wxT(""));
112 int wxCaret_GetBlinkTime() {
113 return wxCaret::GetBlinkTime();
116 void wxCaret_SetBlinkTime(int milliseconds
) {
117 wxCaret::SetBlinkTime(milliseconds
);
120 bool wxThread_IsMain() {
121 #ifdef WXP_WITH_THREAD
122 return wxThread::IsMain();
128 class wxPyTipProvider
: public wxTipProvider
{
130 wxPyTipProvider(size_t currentTip
)
131 : wxTipProvider(currentTip
) {}
133 DEC_PYCALLBACK_STRING__pure(GetTip
);
134 DEC_PYCALLBACK_STRING_STRING(PreprocessTip
);
138 IMP_PYCALLBACK_STRING__pure( wxPyTipProvider
, wxTipProvider
, GetTip
);
139 IMP_PYCALLBACK_STRING_STRING(wxPyTipProvider
, wxTipProvider
, PreprocessTip
);
141 #include <wx/generic/dragimgg.h>
143 // A wxLog class that can be derived from in wxPython
144 class wxPyLog
: public wxLog
{
146 wxPyLog() : wxLog() {}
148 virtual void DoLog(wxLogLevel level
, const wxChar
*szString
, time_t t
) {
150 wxPyBeginBlockThreads();
151 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLog"))) {
152 PyObject
* s
= wx2PyString(szString
);
153 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iOi)", level
, s
, t
));
156 wxPyEndBlockThreads();
158 wxLog::DoLog(level
, szString
, t
);
161 virtual void DoLogString(const wxChar
*szString
, time_t t
) {
163 wxPyBeginBlockThreads();
164 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLogString"))) {
165 PyObject
* s
= wx2PyString(szString
);
166 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(Oi)", s
, t
));
169 wxPyEndBlockThreads();
171 wxLog::DoLogString(szString
, t
);
176 // C++ version of wxProcess derived class
178 class wxPyProcess
: public wxProcess
{
180 wxPyProcess(wxEvtHandler
*parent
= NULL
, int id
= -1)
181 : wxProcess(parent
, id
)
184 DEC_PYCALLBACK_VOID_INTINT(OnTerminate
);
189 IMP_PYCALLBACK_VOID_INTINT( wxPyProcess
, wxProcess
, OnTerminate
);
192 #if !wxUSE_JOYSTICK && !defined(__WXMSW__)
193 // A C++ stub class for wxJoystick for platforms that don't have it.
194 class wxJoystick
: public wxObject
{
196 wxJoystick(int joystick
= wxJOYSTICK1
) {
197 wxPyBeginBlockThreads();
198 PyErr_SetString(PyExc_NotImplementedError
, "wxJoystick is not available on this platform.");
199 wxPyEndBlockThreads();
201 wxPoint
GetPosition() { return wxPoint(-1,-1); }
202 int GetZPosition() { return -1; }
203 int GetButtonState() { return -1; }
204 int GetPOVPosition() { return -1; }
205 int GetPOVCTSPosition() { return -1; }
206 int GetRudderPosition() { return -1; }
207 int GetUPosition() { return -1; }
208 int GetVPosition() { return -1; }
209 int GetMovementThreshold() { return -1; }
210 void SetMovementThreshold(int threshold
) {}
212 bool IsOk(void) { return FALSE
; }
213 int GetNumberJoysticks() { return -1; }
214 int GetManufacturerId() { return -1; }
215 int GetProductId() { return -1; }
216 wxString
GetProductName() { return ""; }
217 int GetXMin() { return -1; }
218 int GetYMin() { return -1; }
219 int GetZMin() { return -1; }
220 int GetXMax() { return -1; }
221 int GetYMax() { return -1; }
222 int GetZMax() { return -1; }
223 int GetNumberButtons() { return -1; }
224 int GetNumberAxes() { return -1; }
225 int GetMaxButtons() { return -1; }
226 int GetMaxAxes() { return -1; }
227 int GetPollingMin() { return -1; }
228 int GetPollingMax() { return -1; }
229 int GetRudderMin() { return -1; }
230 int GetRudderMax() { return -1; }
231 int GetUMin() { return -1; }
232 int GetUMax() { return -1; }
233 int GetVMin() { return -1; }
234 int GetVMax() { return -1; }
236 bool HasRudder() { return FALSE
; }
237 bool HasZ() { return FALSE
; }
238 bool HasU() { return FALSE
; }
239 bool HasV() { return FALSE
; }
240 bool HasPOV() { return FALSE
; }
241 bool HasPOV4Dir() { return FALSE
; }
242 bool HasPOVCTS() { return FALSE
; }
244 bool SetCapture(wxWindow
* win
, int pollingFreq
= 0) { return FALSE
; }
245 bool ReleaseCapture() { return FALSE
; }
250 // A C++ stub class for wxWave for platforms that don't have it.
251 class wxWave
: public wxObject
254 wxWave(const wxString
& fileName
, bool isResource
= FALSE
) {
255 wxPyBeginBlockThreads();
256 PyErr_SetString(PyExc_NotImplementedError
, "wxWave is not available on this platform.");
257 wxPyEndBlockThreads();
259 wxWave(int size
, const wxByte
* data
) {
260 wxPyBeginBlockThreads();
261 PyErr_SetString(PyExc_NotImplementedError
, "wxWave is not available on this platform.");
262 wxPyEndBlockThreads();
267 bool IsOk() const { return FALSE
; }
268 bool Play(bool async
= TRUE
, bool looped
= FALSE
) const { return FALSE
; }
272 // Implementations of some alternate "constructors"
273 wxWave
* wxWaveData(const wxString
& data
) {
274 return new wxWave(data
.Len(), (wxByte
*)data
.c_str());
278 extern wxMimeTypesManager
* wxTheMimeTypesManager
;
282 #include <wx/artprov.h>
284 DECLARE_DEF_STRING(ART_OTHER
);
286 // Python aware wxArtProvider
287 class wxPyArtProvider
: public wxArtProvider
{
290 virtual wxBitmap
CreateBitmap(const wxArtID
& id
,
291 const wxArtClient
& client
,
292 const wxSize
& size
) {
293 wxBitmap rval
= wxNullBitmap
;
294 wxPyBeginBlockThreads();
295 if ((wxPyCBH_findCallback(m_myInst
, "CreateBitmap"))) {
296 PyObject
* so
= wxPyConstructObject((void*)&size
, "wxSize", 0);
300 s1
= wx2PyString(id
);
301 s2
= wx2PyString(client
);
302 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OOO)", s1
, s2
, so
));
307 if (!SWIG_GetPtrObj(ro
, (void**)&ptr
, "_wxBitmap_p"))
312 wxPyEndBlockThreads();
319 #include <wx/docview.h>
323 static PyObject
*_wrap_wxFileSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
324 PyObject
* _resultobj
;
326 wxString
* _arg0
= (wxString
*) &wxPyFileSelectorPromptStr
;
327 wxString
* _arg1
= (wxString
*) &wxPyEmptyString
;
328 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
329 wxString
* _arg3
= (wxString
*) &wxPyEmptyString
;
330 wxString
* _arg4
= (wxString
*) &wxPyFileSelectorDefaultWildcardStr
;
331 int _arg5
= (int ) 0;
332 wxWindow
* _arg6
= (wxWindow
*) NULL
;
333 int _arg7
= (int ) -1;
334 int _arg8
= (int ) -1;
335 PyObject
* _obj0
= 0;
336 PyObject
* _obj1
= 0;
337 PyObject
* _obj2
= 0;
338 PyObject
* _obj3
= 0;
339 PyObject
* _obj4
= 0;
340 PyObject
* _argo6
= 0;
341 char *_kwnames
[] = { "message","default_path","default_filename","default_extension","wildcard","flags","parent","x","y", NULL
};
344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|OOOOOiOii:wxFileSelector",_kwnames
,&_obj0
,&_obj1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_arg7
,&_arg8
))
348 _arg0
= wxString_in_helper(_obj0
);
354 _arg1
= wxString_in_helper(_obj1
);
360 _arg2
= wxString_in_helper(_obj2
);
366 _arg3
= wxString_in_helper(_obj3
);
372 _arg4
= wxString_in_helper(_obj4
);
377 if (_argo6
== Py_None
) { _arg6
= NULL
; }
378 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxWindow_p")) {
379 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxFileSelector. Expected _wxWindow_p.");
384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
385 _result
= new wxString (wxFileSelector(*_arg0
,*_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
,_arg7
,_arg8
));
387 wxPyEndAllowThreads(__tstate
);
388 if (PyErr_Occurred()) return NULL
;
391 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
393 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
422 static PyObject
*_wrap_wxLoadFileSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
423 PyObject
* _resultobj
;
427 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
428 wxWindow
* _arg3
= (wxWindow
*) NULL
;
429 PyObject
* _obj0
= 0;
430 PyObject
* _obj1
= 0;
431 PyObject
* _obj2
= 0;
432 PyObject
* _argo3
= 0;
433 char *_kwnames
[] = { "what","extension","default_name","parent", NULL
};
436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|OO:wxLoadFileSelector",_kwnames
,&_obj0
,&_obj1
,&_obj2
,&_argo3
))
439 _arg0
= wxString_in_helper(_obj0
);
444 _arg1
= wxString_in_helper(_obj1
);
450 _arg2
= wxString_in_helper(_obj2
);
455 if (_argo3
== Py_None
) { _arg3
= NULL
; }
456 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxWindow_p")) {
457 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxLoadFileSelector. Expected _wxWindow_p.");
462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
463 _result
= new wxString (wxLoadFileSelector(*_arg0
,*_arg1
,*_arg2
,_arg3
));
465 wxPyEndAllowThreads(__tstate
);
466 if (PyErr_Occurred()) return NULL
;
469 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
471 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
492 static PyObject
*_wrap_wxSaveFileSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
493 PyObject
* _resultobj
;
497 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
498 wxWindow
* _arg3
= (wxWindow
*) NULL
;
499 PyObject
* _obj0
= 0;
500 PyObject
* _obj1
= 0;
501 PyObject
* _obj2
= 0;
502 PyObject
* _argo3
= 0;
503 char *_kwnames
[] = { "what","extension","default_name","parent", NULL
};
506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|OO:wxSaveFileSelector",_kwnames
,&_obj0
,&_obj1
,&_obj2
,&_argo3
))
509 _arg0
= wxString_in_helper(_obj0
);
514 _arg1
= wxString_in_helper(_obj1
);
520 _arg2
= wxString_in_helper(_obj2
);
525 if (_argo3
== Py_None
) { _arg3
= NULL
; }
526 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxWindow_p")) {
527 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxSaveFileSelector. Expected _wxWindow_p.");
532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
533 _result
= new wxString (wxSaveFileSelector(*_arg0
,*_arg1
,*_arg2
,_arg3
));
535 wxPyEndAllowThreads(__tstate
);
536 if (PyErr_Occurred()) return NULL
;
539 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
541 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
562 static PyObject
*_wrap_wxDirSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
563 PyObject
* _resultobj
;
565 wxString
* _arg0
= (wxString
*) &wxPyDirSelectorPromptStr
;
566 wxString
* _arg1
= (wxString
*) &wxPyEmptyString
;
567 long _arg2
= (long ) wxDD_DEFAULT_STYLE
;
568 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
569 wxWindow
* _arg4
= (wxWindow
*) NULL
;
570 PyObject
* _obj0
= 0;
571 PyObject
* _obj1
= 0;
573 PyObject
* _obj3
= 0;
574 PyObject
* _argo4
= 0;
575 char *_kwnames
[] = { "message","defaultPath","style","pos","parent", NULL
};
578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|OOlOO:wxDirSelector",_kwnames
,&_obj0
,&_obj1
,&_arg2
,&_obj3
,&_argo4
))
582 _arg0
= wxString_in_helper(_obj0
);
588 _arg1
= wxString_in_helper(_obj1
);
595 if (! wxPoint_helper(_obj3
, &_arg3
))
599 if (_argo4
== Py_None
) { _arg4
= NULL
; }
600 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_wxWindow_p")) {
601 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxDirSelector. Expected _wxWindow_p.");
606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
607 _result
= new wxString (wxDirSelector(*_arg0
,*_arg1
,_arg2
,*_arg3
,_arg4
));
609 wxPyEndAllowThreads(__tstate
);
610 if (PyErr_Occurred()) return NULL
;
613 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
615 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
632 static PyObject
*_wrap_wxGetTextFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
633 PyObject
* _resultobj
;
636 wxString
* _arg1
= (wxString
*) &wxPyEmptyString
;
637 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
638 wxWindow
* _arg3
= (wxWindow
*) NULL
;
639 int _arg4
= (int ) -1;
640 int _arg5
= (int ) -1;
641 bool _arg6
= (bool ) TRUE
;
642 PyObject
* _obj0
= 0;
643 PyObject
* _obj1
= 0;
644 PyObject
* _obj2
= 0;
645 PyObject
* _argo3
= 0;
646 int tempbool6
= (int) TRUE
;
647 char *_kwnames
[] = { "message","caption","default_value","parent","x","y","centre", NULL
};
650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|OOOiii:wxGetTextFromUser",_kwnames
,&_obj0
,&_obj1
,&_obj2
,&_argo3
,&_arg4
,&_arg5
,&tempbool6
))
653 _arg0
= wxString_in_helper(_obj0
);
659 _arg1
= wxString_in_helper(_obj1
);
665 _arg2
= wxString_in_helper(_obj2
);
670 if (_argo3
== Py_None
) { _arg3
= NULL
; }
671 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxWindow_p")) {
672 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGetTextFromUser. Expected _wxWindow_p.");
676 _arg6
= (bool ) tempbool6
;
678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
679 _result
= new wxString (wxGetTextFromUser(*_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
,_arg6
));
681 wxPyEndAllowThreads(__tstate
);
682 if (PyErr_Occurred()) return NULL
;
685 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
687 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
708 static PyObject
*_wrap_wxGetPasswordFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
709 PyObject
* _resultobj
;
712 wxString
* _arg1
= (wxString
*) &wxPyEmptyString
;
713 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
714 wxWindow
* _arg3
= (wxWindow
*) NULL
;
715 PyObject
* _obj0
= 0;
716 PyObject
* _obj1
= 0;
717 PyObject
* _obj2
= 0;
718 PyObject
* _argo3
= 0;
719 char *_kwnames
[] = { "message","caption","default_value","parent", NULL
};
722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|OOO:wxGetPasswordFromUser",_kwnames
,&_obj0
,&_obj1
,&_obj2
,&_argo3
))
725 _arg0
= wxString_in_helper(_obj0
);
731 _arg1
= wxString_in_helper(_obj1
);
737 _arg2
= wxString_in_helper(_obj2
);
742 if (_argo3
== Py_None
) { _arg3
= NULL
; }
743 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxWindow_p")) {
744 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGetPasswordFromUser. Expected _wxWindow_p.");
749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
750 _result
= new wxString (wxGetPasswordFromUser(*_arg0
,*_arg1
,*_arg2
,_arg3
));
752 wxPyEndAllowThreads(__tstate
);
753 if (PyErr_Occurred()) return NULL
;
756 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
758 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
779 static PyObject
*_wrap_wxGetSingleChoice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
780 PyObject
* _resultobj
;
786 wxWindow
* _arg4
= (wxWindow
*) NULL
;
787 int _arg5
= (int ) -1;
788 int _arg6
= (int ) -1;
789 bool _arg7
= (bool ) TRUE
;
790 int _arg8
= (int ) 150;
791 int _arg9
= (int ) 200;
792 PyObject
* _obj0
= 0;
793 PyObject
* _obj1
= 0;
794 PyObject
* _obj3
= 0;
795 PyObject
* _argo4
= 0;
796 int tempbool7
= (int) TRUE
;
797 char *_kwnames
[] = { "message","caption","choices","parent","x","y","centre","width","height", NULL
};
800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|Oiiiii:wxGetSingleChoice",_kwnames
,&_obj0
,&_obj1
,&_obj3
,&_argo4
,&_arg5
,&_arg6
,&tempbool7
,&_arg8
,&_arg9
))
803 _arg0
= wxString_in_helper(_obj0
);
808 _arg1
= wxString_in_helper(_obj1
);
814 _arg3
= wxString_LIST_helper(_obj3
);
820 if (_argo4
== Py_None
) { _arg4
= NULL
; }
821 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_wxWindow_p")) {
822 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxGetSingleChoice. Expected _wxWindow_p.");
826 _arg7
= (bool ) tempbool7
;
829 _arg2
= PyList_Size(_obj3
);
836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
837 _result
= new wxString (wxGetSingleChoice(*_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,_arg9
));
839 wxPyEndAllowThreads(__tstate
);
840 if (PyErr_Occurred()) return NULL
;
843 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
845 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
865 static PyObject
*_wrap_wxGetSingleChoiceIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
866 PyObject
* _resultobj
;
872 wxWindow
* _arg4
= (wxWindow
*) NULL
;
873 int _arg5
= (int ) -1;
874 int _arg6
= (int ) -1;
875 bool _arg7
= (bool ) TRUE
;
876 int _arg8
= (int ) 150;
877 int _arg9
= (int ) 200;
878 PyObject
* _obj0
= 0;
879 PyObject
* _obj1
= 0;
880 PyObject
* _obj3
= 0;
881 PyObject
* _argo4
= 0;
882 int tempbool7
= (int) TRUE
;
883 char *_kwnames
[] = { "message","caption","choices","parent","x","y","centre","width","height", NULL
};
886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|Oiiiii:wxGetSingleChoiceIndex",_kwnames
,&_obj0
,&_obj1
,&_obj3
,&_argo4
,&_arg5
,&_arg6
,&tempbool7
,&_arg8
,&_arg9
))
889 _arg0
= wxString_in_helper(_obj0
);
894 _arg1
= wxString_in_helper(_obj1
);
900 _arg3
= wxString_LIST_helper(_obj3
);
906 if (_argo4
== Py_None
) { _arg4
= NULL
; }
907 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_wxWindow_p")) {
908 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxGetSingleChoiceIndex. Expected _wxWindow_p.");
912 _arg7
= (bool ) tempbool7
;
915 _arg2
= PyList_Size(_obj3
);
922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
923 _result
= (int )wxGetSingleChoiceIndex(*_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,_arg9
);
925 wxPyEndAllowThreads(__tstate
);
926 if (PyErr_Occurred()) return NULL
;
927 } _resultobj
= Py_BuildValue("i",_result
);
942 static PyObject
*_wrap_wxMessageBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
943 PyObject
* _resultobj
;
946 wxString
* _arg1
= (wxString
*) &wxPyEmptyString
;
947 int _arg2
= (int ) wxOK
|wxCENTRE
;
948 wxWindow
* _arg3
= (wxWindow
*) NULL
;
949 int _arg4
= (int ) -1;
950 int _arg5
= (int ) -1;
951 PyObject
* _obj0
= 0;
952 PyObject
* _obj1
= 0;
953 PyObject
* _argo3
= 0;
954 char *_kwnames
[] = { "message","caption","style","parent","x","y", NULL
};
957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|OiOii:wxMessageBox",_kwnames
,&_obj0
,&_obj1
,&_arg2
,&_argo3
,&_arg4
,&_arg5
))
960 _arg0
= wxString_in_helper(_obj0
);
966 _arg1
= wxString_in_helper(_obj1
);
971 if (_argo3
== Py_None
) { _arg3
= NULL
; }
972 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxWindow_p")) {
973 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxMessageBox. Expected _wxWindow_p.");
978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
979 _result
= (int )wxMessageBox(*_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
981 wxPyEndAllowThreads(__tstate
);
982 if (PyErr_Occurred()) return NULL
;
983 } _resultobj
= Py_BuildValue("i",_result
);
995 static PyObject
*_wrap_wxGetNumberFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
996 PyObject
* _resultobj
;
1002 long _arg4
= (long ) 0;
1003 long _arg5
= (long ) 100;
1004 wxWindow
* _arg6
= (wxWindow
*) NULL
;
1005 wxPoint
* _arg7
= (wxPoint
*) &wxDefaultPosition
;
1006 PyObject
* _obj0
= 0;
1007 PyObject
* _obj1
= 0;
1008 PyObject
* _obj2
= 0;
1009 PyObject
* _argo6
= 0;
1011 PyObject
* _obj7
= 0;
1012 char *_kwnames
[] = { "message","prompt","caption","value","min","max","parent","pos", NULL
};
1015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOl|llOO:wxGetNumberFromUser",_kwnames
,&_obj0
,&_obj1
,&_obj2
,&_arg3
,&_arg4
,&_arg5
,&_argo6
,&_obj7
))
1018 _arg0
= wxString_in_helper(_obj0
);
1023 _arg1
= wxString_in_helper(_obj1
);
1028 _arg2
= wxString_in_helper(_obj2
);
1033 if (_argo6
== Py_None
) { _arg6
= NULL
; }
1034 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxWindow_p")) {
1035 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxGetNumberFromUser. Expected _wxWindow_p.");
1042 if (! wxPoint_helper(_obj7
, &_arg7
))
1046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1047 _result
= (long )wxGetNumberFromUser(*_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,*_arg7
);
1049 wxPyEndAllowThreads(__tstate
);
1050 if (PyErr_Occurred()) return NULL
;
1051 } _resultobj
= Py_BuildValue("l",_result
);
1067 static PyObject
*_wrap_wxColourDisplay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1068 PyObject
* _resultobj
;
1070 char *_kwnames
[] = { NULL
};
1073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxColourDisplay",_kwnames
))
1076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1077 _result
= (bool )wxColourDisplay();
1079 wxPyEndAllowThreads(__tstate
);
1080 if (PyErr_Occurred()) return NULL
;
1081 } _resultobj
= Py_BuildValue("i",_result
);
1085 static PyObject
*_wrap_wxDisplayDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1086 PyObject
* _resultobj
;
1088 char *_kwnames
[] = { NULL
};
1091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxDisplayDepth",_kwnames
))
1094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1095 _result
= (int )wxDisplayDepth();
1097 wxPyEndAllowThreads(__tstate
);
1098 if (PyErr_Occurred()) return NULL
;
1099 } _resultobj
= Py_BuildValue("i",_result
);
1103 static PyObject
*_wrap_wxGetDisplayDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1104 PyObject
* _resultobj
;
1106 char *_kwnames
[] = { NULL
};
1109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetDisplayDepth",_kwnames
))
1112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1113 _result
= (int )wxGetDisplayDepth();
1115 wxPyEndAllowThreads(__tstate
);
1116 if (PyErr_Occurred()) return NULL
;
1117 } _resultobj
= Py_BuildValue("i",_result
);
1121 static PyObject
*_wrap_wxDisplaySize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1122 PyObject
* _resultobj
;
1127 char *_kwnames
[] = { NULL
};
1136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxDisplaySize",_kwnames
))
1139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1140 wxDisplaySize(_arg0
,_arg1
);
1142 wxPyEndAllowThreads(__tstate
);
1143 if (PyErr_Occurred()) return NULL
;
1144 } Py_INCREF(Py_None
);
1145 _resultobj
= Py_None
;
1148 o
= PyInt_FromLong((long) (*_arg0
));
1149 _resultobj
= t_output_helper(_resultobj
, o
);
1153 o
= PyInt_FromLong((long) (*_arg1
));
1154 _resultobj
= t_output_helper(_resultobj
, o
);
1159 static PyObject
*_wrap_wxGetDisplaySize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1160 PyObject
* _resultobj
;
1162 char *_kwnames
[] = { NULL
};
1166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetDisplaySize",_kwnames
))
1169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1170 _result
= new wxSize (wxGetDisplaySize());
1172 wxPyEndAllowThreads(__tstate
);
1173 if (PyErr_Occurred()) return NULL
;
1174 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
1175 _resultobj
= Py_BuildValue("s",_ptemp
);
1179 static PyObject
*_wrap_wxDisplaySizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1180 PyObject
* _resultobj
;
1185 char *_kwnames
[] = { NULL
};
1194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxDisplaySizeMM",_kwnames
))
1197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1198 wxDisplaySizeMM(_arg0
,_arg1
);
1200 wxPyEndAllowThreads(__tstate
);
1201 if (PyErr_Occurred()) return NULL
;
1202 } Py_INCREF(Py_None
);
1203 _resultobj
= Py_None
;
1206 o
= PyInt_FromLong((long) (*_arg0
));
1207 _resultobj
= t_output_helper(_resultobj
, o
);
1211 o
= PyInt_FromLong((long) (*_arg1
));
1212 _resultobj
= t_output_helper(_resultobj
, o
);
1217 static PyObject
*_wrap_wxGetDisplaySizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1218 PyObject
* _resultobj
;
1220 char *_kwnames
[] = { NULL
};
1224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetDisplaySizeMM",_kwnames
))
1227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1228 _result
= new wxSize (wxGetDisplaySizeMM());
1230 wxPyEndAllowThreads(__tstate
);
1231 if (PyErr_Occurred()) return NULL
;
1232 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
1233 _resultobj
= Py_BuildValue("s",_ptemp
);
1237 static PyObject
*_wrap_wxClientDisplayRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1238 PyObject
* _resultobj
;
1247 char *_kwnames
[] = { NULL
};
1262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxClientDisplayRect",_kwnames
))
1265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1266 wxClientDisplayRect(_arg0
,_arg1
,_arg2
,_arg3
);
1268 wxPyEndAllowThreads(__tstate
);
1269 if (PyErr_Occurred()) return NULL
;
1270 } Py_INCREF(Py_None
);
1271 _resultobj
= Py_None
;
1274 o
= PyInt_FromLong((long) (*_arg0
));
1275 _resultobj
= t_output_helper(_resultobj
, o
);
1279 o
= PyInt_FromLong((long) (*_arg1
));
1280 _resultobj
= t_output_helper(_resultobj
, o
);
1284 o
= PyInt_FromLong((long) (*_arg2
));
1285 _resultobj
= t_output_helper(_resultobj
, o
);
1289 o
= PyInt_FromLong((long) (*_arg3
));
1290 _resultobj
= t_output_helper(_resultobj
, o
);
1295 static PyObject
*_wrap_wxGetClientDisplayRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1296 PyObject
* _resultobj
;
1298 char *_kwnames
[] = { NULL
};
1302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetClientDisplayRect",_kwnames
))
1305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1306 _result
= new wxRect (wxGetClientDisplayRect());
1308 wxPyEndAllowThreads(__tstate
);
1309 if (PyErr_Occurred()) return NULL
;
1310 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
1311 _resultobj
= Py_BuildValue("s",_ptemp
);
1315 static PyObject
*_wrap_wxSetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1316 PyObject
* _resultobj
;
1318 PyObject
* _argo0
= 0;
1319 char *_kwnames
[] = { "cursor", NULL
};
1322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSetCursor",_kwnames
,&_argo0
))
1325 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1326 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
1327 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSetCursor. Expected _wxCursor_p.");
1332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1333 wxSetCursor(*_arg0
);
1335 wxPyEndAllowThreads(__tstate
);
1336 if (PyErr_Occurred()) return NULL
;
1337 } Py_INCREF(Py_None
);
1338 _resultobj
= Py_None
;
1342 static PyObject
*_wrap_wxBeginBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1343 PyObject
* _resultobj
;
1344 wxCursor
* _arg0
= (wxCursor
*) wxHOURGLASS_CURSOR
;
1345 PyObject
* _argo0
= 0;
1346 char *_kwnames
[] = { "cursor", NULL
};
1349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:wxBeginBusyCursor",_kwnames
,&_argo0
))
1352 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1353 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
1354 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBeginBusyCursor. Expected _wxCursor_p.");
1359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1360 wxBeginBusyCursor(_arg0
);
1362 wxPyEndAllowThreads(__tstate
);
1363 if (PyErr_Occurred()) return NULL
;
1364 } Py_INCREF(Py_None
);
1365 _resultobj
= Py_None
;
1369 static PyObject
*_wrap_wxGetActiveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1370 PyObject
* _resultobj
;
1372 char *_kwnames
[] = { NULL
};
1375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetActiveWindow",_kwnames
))
1378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1379 _result
= (wxWindow
*)wxGetActiveWindow();
1381 wxPyEndAllowThreads(__tstate
);
1382 if (PyErr_Occurred()) return NULL
;
1383 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1387 static PyObject
*_wrap_wxGenericFindWindowAtPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1388 PyObject
* _resultobj
;
1392 PyObject
* _obj0
= 0;
1393 char *_kwnames
[] = { "pt", NULL
};
1396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGenericFindWindowAtPoint",_kwnames
,&_obj0
))
1400 if (! wxPoint_helper(_obj0
, &_arg0
))
1404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1405 _result
= (wxWindow
*)wxGenericFindWindowAtPoint(*_arg0
);
1407 wxPyEndAllowThreads(__tstate
);
1408 if (PyErr_Occurred()) return NULL
;
1409 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1413 static PyObject
*_wrap_wxFindWindowAtPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1414 PyObject
* _resultobj
;
1418 PyObject
* _obj0
= 0;
1419 char *_kwnames
[] = { "pt", NULL
};
1422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFindWindowAtPoint",_kwnames
,&_obj0
))
1426 if (! wxPoint_helper(_obj0
, &_arg0
))
1430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1431 _result
= (wxWindow
*)wxFindWindowAtPoint(*_arg0
);
1433 wxPyEndAllowThreads(__tstate
);
1434 if (PyErr_Occurred()) return NULL
;
1435 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1439 static PyObject
*_wrap_wxGetTopLevelParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1440 PyObject
* _resultobj
;
1443 PyObject
* _argo0
= 0;
1444 char *_kwnames
[] = { "win", NULL
};
1447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGetTopLevelParent",_kwnames
,&_argo0
))
1450 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1451 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1452 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGetTopLevelParent. Expected _wxWindow_p.");
1457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1458 _result
= (wxWindow
*)wxGetTopLevelParent(_arg0
);
1460 wxPyEndAllowThreads(__tstate
);
1461 if (PyErr_Occurred()) return NULL
;
1462 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1466 static PyObject
*_wrap_wxResourceAddIdentifier(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1467 PyObject
* _resultobj
;
1471 char *_kwnames
[] = { "name","value", NULL
};
1474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"si:wxResourceAddIdentifier",_kwnames
,&_arg0
,&_arg1
))
1477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1478 _result
= (bool )wxResourceAddIdentifier(_arg0
,_arg1
);
1480 wxPyEndAllowThreads(__tstate
);
1481 if (PyErr_Occurred()) return NULL
;
1482 } _resultobj
= Py_BuildValue("i",_result
);
1486 static PyObject
*_wrap_wxResourceClear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1487 PyObject
* _resultobj
;
1488 char *_kwnames
[] = { NULL
};
1491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxResourceClear",_kwnames
))
1494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1497 wxPyEndAllowThreads(__tstate
);
1498 if (PyErr_Occurred()) return NULL
;
1499 } Py_INCREF(Py_None
);
1500 _resultobj
= Py_None
;
1504 static PyObject
*_wrap_wxResourceCreateBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1505 PyObject
* _resultobj
;
1508 char *_kwnames
[] = { "resource", NULL
};
1512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxResourceCreateBitmap",_kwnames
,&_arg0
))
1515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1516 _result
= new wxBitmap (wxResourceCreateBitmap(_arg0
));
1518 wxPyEndAllowThreads(__tstate
);
1519 if (PyErr_Occurred()) return NULL
;
1520 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBitmap_p");
1521 _resultobj
= Py_BuildValue("s",_ptemp
);
1525 static PyObject
*_wrap_wxResourceCreateIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1526 PyObject
* _resultobj
;
1529 char *_kwnames
[] = { "resource", NULL
};
1533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxResourceCreateIcon",_kwnames
,&_arg0
))
1536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1537 _result
= new wxIcon (wxResourceCreateIcon(_arg0
));
1539 wxPyEndAllowThreads(__tstate
);
1540 if (PyErr_Occurred()) return NULL
;
1541 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxIcon_p");
1542 _resultobj
= Py_BuildValue("s",_ptemp
);
1546 static PyObject
*_wrap_wxResourceCreateMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1547 PyObject
* _resultobj
;
1548 wxMenuBar
* _result
;
1550 char *_kwnames
[] = { "resource", NULL
};
1553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxResourceCreateMenuBar",_kwnames
,&_arg0
))
1556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1557 _result
= (wxMenuBar
*)wxResourceCreateMenuBar(_arg0
);
1559 wxPyEndAllowThreads(__tstate
);
1560 if (PyErr_Occurred()) return NULL
;
1561 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1565 static PyObject
*_wrap_wxResourceGetIdentifier(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1566 PyObject
* _resultobj
;
1569 char *_kwnames
[] = { "name", NULL
};
1572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxResourceGetIdentifier",_kwnames
,&_arg0
))
1575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1576 _result
= (int )wxResourceGetIdentifier(_arg0
);
1578 wxPyEndAllowThreads(__tstate
);
1579 if (PyErr_Occurred()) return NULL
;
1580 } _resultobj
= Py_BuildValue("i",_result
);
1584 static PyObject
*_wrap_wxResourceParseData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1585 PyObject
* _resultobj
;
1588 wxResourceTable
* _arg1
= (wxResourceTable
*) NULL
;
1589 PyObject
* _argo1
= 0;
1590 char *_kwnames
[] = { "resource","table", NULL
};
1593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s|O:wxResourceParseData",_kwnames
,&_arg0
,&_argo1
))
1596 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1597 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxResourceTable_p")) {
1598 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxResourceParseData. Expected _wxResourceTable_p.");
1603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1604 _result
= (bool )wxResourceParseData(_arg0
,_arg1
);
1606 wxPyEndAllowThreads(__tstate
);
1607 if (PyErr_Occurred()) return NULL
;
1608 } _resultobj
= Py_BuildValue("i",_result
);
1612 static PyObject
*_wrap_wxResourceParseFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1613 PyObject
* _resultobj
;
1616 wxResourceTable
* _arg1
= (wxResourceTable
*) NULL
;
1617 PyObject
* _argo1
= 0;
1618 char *_kwnames
[] = { "filename","table", NULL
};
1621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s|O:wxResourceParseFile",_kwnames
,&_arg0
,&_argo1
))
1624 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1625 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxResourceTable_p")) {
1626 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxResourceParseFile. Expected _wxResourceTable_p.");
1631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1632 _result
= (bool )wxResourceParseFile(_arg0
,_arg1
);
1634 wxPyEndAllowThreads(__tstate
);
1635 if (PyErr_Occurred()) return NULL
;
1636 } _resultobj
= Py_BuildValue("i",_result
);
1640 static PyObject
*_wrap_wxResourceParseString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1641 PyObject
* _resultobj
;
1644 wxResourceTable
* _arg1
= (wxResourceTable
*) NULL
;
1645 PyObject
* _argo1
= 0;
1646 char *_kwnames
[] = { "resource","table", NULL
};
1649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s|O:wxResourceParseString",_kwnames
,&_arg0
,&_argo1
))
1652 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1653 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxResourceTable_p")) {
1654 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxResourceParseString. Expected _wxResourceTable_p.");
1659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1660 _result
= (bool )wxResourceParseString(_arg0
,_arg1
);
1662 wxPyEndAllowThreads(__tstate
);
1663 if (PyErr_Occurred()) return NULL
;
1664 } _resultobj
= Py_BuildValue("i",_result
);
1668 static PyObject
*_wrap_wxCaret_GetBlinkTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1669 PyObject
* _resultobj
;
1671 char *_kwnames
[] = { NULL
};
1674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxCaret_GetBlinkTime",_kwnames
))
1677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1678 _result
= (int )wxCaret_GetBlinkTime();
1680 wxPyEndAllowThreads(__tstate
);
1681 if (PyErr_Occurred()) return NULL
;
1682 } _resultobj
= Py_BuildValue("i",_result
);
1686 static PyObject
*_wrap_wxCaret_SetBlinkTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1687 PyObject
* _resultobj
;
1689 char *_kwnames
[] = { "milliseconds", NULL
};
1692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxCaret_SetBlinkTime",_kwnames
,&_arg0
))
1695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1696 wxCaret_SetBlinkTime(_arg0
);
1698 wxPyEndAllowThreads(__tstate
);
1699 if (PyErr_Occurred()) return NULL
;
1700 } Py_INCREF(Py_None
);
1701 _resultobj
= Py_None
;
1705 static PyObject
*_wrap_wxSafeYield(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1706 PyObject
* _resultobj
;
1708 wxWindow
* _arg0
= (wxWindow
*) NULL
;
1709 PyObject
* _argo0
= 0;
1710 char *_kwnames
[] = { "win", NULL
};
1713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:wxSafeYield",_kwnames
,&_argo0
))
1716 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1717 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1718 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSafeYield. Expected _wxWindow_p.");
1723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1724 _result
= (bool )wxSafeYield(_arg0
);
1726 wxPyEndAllowThreads(__tstate
);
1727 if (PyErr_Occurred()) return NULL
;
1728 } _resultobj
= Py_BuildValue("i",_result
);
1732 static PyObject
*_wrap_wxPostEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1733 PyObject
* _resultobj
;
1734 wxEvtHandler
* _arg0
;
1736 PyObject
* _argo0
= 0;
1737 PyObject
* _argo1
= 0;
1738 char *_kwnames
[] = { "dest","event", NULL
};
1741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPostEvent",_kwnames
,&_argo0
,&_argo1
))
1744 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1745 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
1746 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPostEvent. Expected _wxEvtHandler_p.");
1751 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1752 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvent_p")) {
1753 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPostEvent. Expected _wxEvent_p.");
1758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1759 wxPostEvent(_arg0
,*_arg1
);
1761 wxPyEndAllowThreads(__tstate
);
1762 if (PyErr_Occurred()) return NULL
;
1763 } Py_INCREF(Py_None
);
1764 _resultobj
= Py_None
;
1768 static PyObject
*_wrap_wxWakeUpIdle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1769 PyObject
* _resultobj
;
1770 char *_kwnames
[] = { NULL
};
1773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxWakeUpIdle",_kwnames
))
1776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1779 wxPyEndAllowThreads(__tstate
);
1780 if (PyErr_Occurred()) return NULL
;
1781 } Py_INCREF(Py_None
);
1782 _resultobj
= Py_None
;
1786 static PyObject
*_wrap_wxMutexGuiEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1787 PyObject
* _resultobj
;
1788 char *_kwnames
[] = { NULL
};
1791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxMutexGuiEnter",_kwnames
))
1794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1797 wxPyEndAllowThreads(__tstate
);
1798 if (PyErr_Occurred()) return NULL
;
1799 } Py_INCREF(Py_None
);
1800 _resultobj
= Py_None
;
1804 static PyObject
*_wrap_wxMutexGuiLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1805 PyObject
* _resultobj
;
1806 char *_kwnames
[] = { NULL
};
1809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxMutexGuiLeave",_kwnames
))
1812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1815 wxPyEndAllowThreads(__tstate
);
1816 if (PyErr_Occurred()) return NULL
;
1817 } Py_INCREF(Py_None
);
1818 _resultobj
= Py_None
;
1822 static PyObject
*_wrap_wxThread_IsMain(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1823 PyObject
* _resultobj
;
1825 char *_kwnames
[] = { NULL
};
1828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxThread_IsMain",_kwnames
))
1831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1832 _result
= (bool )wxThread_IsMain();
1834 wxPyEndAllowThreads(__tstate
);
1835 if (PyErr_Occurred()) return NULL
;
1836 } _resultobj
= Py_BuildValue("i",_result
);
1840 static PyObject
*_wrap_wxShowTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1841 PyObject
* _resultobj
;
1844 wxTipProvider
* _arg1
;
1845 bool _arg2
= (bool ) TRUE
;
1846 PyObject
* _argo0
= 0;
1847 PyObject
* _argo1
= 0;
1848 int tempbool2
= (int) TRUE
;
1849 char *_kwnames
[] = { "parent","tipProvider","showAtStartup", NULL
};
1852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxShowTip",_kwnames
,&_argo0
,&_argo1
,&tempbool2
))
1855 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1856 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1857 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShowTip. Expected _wxWindow_p.");
1862 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1863 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTipProvider_p")) {
1864 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxShowTip. Expected _wxTipProvider_p.");
1868 _arg2
= (bool ) tempbool2
;
1870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1871 _result
= (bool )wxShowTip(_arg0
,_arg1
,_arg2
);
1873 wxPyEndAllowThreads(__tstate
);
1874 if (PyErr_Occurred()) return NULL
;
1875 } _resultobj
= Py_BuildValue("i",_result
);
1879 static PyObject
*_wrap_wxCreateFileTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1880 PyObject
* _resultobj
;
1881 wxTipProvider
* _result
;
1884 PyObject
* _obj0
= 0;
1885 char *_kwnames
[] = { "filename","currentTip", NULL
};
1889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxCreateFileTipProvider",_kwnames
,&_obj0
,&_arg1
))
1892 _arg0
= wxString_in_helper(_obj0
);
1897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1898 _result
= (wxTipProvider
*)wxCreateFileTipProvider(*_arg0
,_arg1
);
1900 wxPyEndAllowThreads(__tstate
);
1901 if (PyErr_Occurred()) return NULL
;
1903 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTipProvider_p");
1904 _resultobj
= Py_BuildValue("s",_ptemp
);
1907 _resultobj
= Py_None
;
1916 static PyObject
*_wrap_wxSysErrorCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1917 PyObject
* _resultobj
;
1918 unsigned long _result
;
1919 char *_kwnames
[] = { NULL
};
1922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxSysErrorCode",_kwnames
))
1925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1926 _result
= (unsigned long )wxSysErrorCode();
1928 wxPyEndAllowThreads(__tstate
);
1929 if (PyErr_Occurred()) return NULL
;
1930 } _resultobj
= Py_BuildValue("l",_result
);
1934 static PyObject
*_wrap_wxSysErrorMsg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1935 PyObject
* _resultobj
;
1937 unsigned long _arg0
= (unsigned long ) 0;
1938 char *_kwnames
[] = { "nErrCode", NULL
};
1941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|l:wxSysErrorMsg",_kwnames
,&_arg0
))
1944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1945 _result
= new wxString (wxSysErrorMsg(_arg0
));
1947 wxPyEndAllowThreads(__tstate
);
1948 if (PyErr_Occurred()) return NULL
;
1951 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
1953 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1962 static PyObject
*_wrap_wxLogFatalError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1963 PyObject
* _resultobj
;
1965 PyObject
* _obj0
= 0;
1966 char *_kwnames
[] = { "msg", NULL
};
1969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogFatalError",_kwnames
,&_obj0
))
1972 _arg0
= wxString_in_helper(_obj0
);
1977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1978 wxLogFatalError(*_arg0
);
1980 wxPyEndAllowThreads(__tstate
);
1981 if (PyErr_Occurred()) return NULL
;
1982 } Py_INCREF(Py_None
);
1983 _resultobj
= Py_None
;
1991 static PyObject
*_wrap_wxLogError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1992 PyObject
* _resultobj
;
1994 PyObject
* _obj0
= 0;
1995 char *_kwnames
[] = { "msg", NULL
};
1998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogError",_kwnames
,&_obj0
))
2001 _arg0
= wxString_in_helper(_obj0
);
2006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2009 wxPyEndAllowThreads(__tstate
);
2010 if (PyErr_Occurred()) return NULL
;
2011 } Py_INCREF(Py_None
);
2012 _resultobj
= Py_None
;
2020 static PyObject
*_wrap_wxLogWarning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2021 PyObject
* _resultobj
;
2023 PyObject
* _obj0
= 0;
2024 char *_kwnames
[] = { "msg", NULL
};
2027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogWarning",_kwnames
,&_obj0
))
2030 _arg0
= wxString_in_helper(_obj0
);
2035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2036 wxLogWarning(*_arg0
);
2038 wxPyEndAllowThreads(__tstate
);
2039 if (PyErr_Occurred()) return NULL
;
2040 } Py_INCREF(Py_None
);
2041 _resultobj
= Py_None
;
2049 static PyObject
*_wrap_wxLogMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2050 PyObject
* _resultobj
;
2052 PyObject
* _obj0
= 0;
2053 char *_kwnames
[] = { "msg", NULL
};
2056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogMessage",_kwnames
,&_obj0
))
2059 _arg0
= wxString_in_helper(_obj0
);
2064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2065 wxLogMessage(*_arg0
);
2067 wxPyEndAllowThreads(__tstate
);
2068 if (PyErr_Occurred()) return NULL
;
2069 } Py_INCREF(Py_None
);
2070 _resultobj
= Py_None
;
2078 static PyObject
*_wrap_wxLogInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2079 PyObject
* _resultobj
;
2081 PyObject
* _obj0
= 0;
2082 char *_kwnames
[] = { "msg", NULL
};
2085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogInfo",_kwnames
,&_obj0
))
2088 _arg0
= wxString_in_helper(_obj0
);
2093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2096 wxPyEndAllowThreads(__tstate
);
2097 if (PyErr_Occurred()) return NULL
;
2098 } Py_INCREF(Py_None
);
2099 _resultobj
= Py_None
;
2107 static PyObject
*_wrap_wxLogVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2108 PyObject
* _resultobj
;
2110 PyObject
* _obj0
= 0;
2111 char *_kwnames
[] = { "msg", NULL
};
2114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogVerbose",_kwnames
,&_obj0
))
2117 _arg0
= wxString_in_helper(_obj0
);
2122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2123 wxLogVerbose(*_arg0
);
2125 wxPyEndAllowThreads(__tstate
);
2126 if (PyErr_Occurred()) return NULL
;
2127 } Py_INCREF(Py_None
);
2128 _resultobj
= Py_None
;
2136 static PyObject
*_wrap_wxLogStatus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2137 PyObject
* _resultobj
;
2139 PyObject
* _obj0
= 0;
2140 char *_kwnames
[] = { "msg", NULL
};
2143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogStatus",_kwnames
,&_obj0
))
2146 _arg0
= wxString_in_helper(_obj0
);
2151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2152 wxLogStatus(*_arg0
);
2154 wxPyEndAllowThreads(__tstate
);
2155 if (PyErr_Occurred()) return NULL
;
2156 } Py_INCREF(Py_None
);
2157 _resultobj
= Py_None
;
2165 static PyObject
*_wrap_wxLogStatusFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2166 PyObject
* _resultobj
;
2169 PyObject
* _argo0
= 0;
2170 PyObject
* _obj1
= 0;
2171 char *_kwnames
[] = { "pFrame","msg", NULL
};
2174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxLogStatusFrame",_kwnames
,&_argo0
,&_obj1
))
2177 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2178 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
2179 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogStatusFrame. Expected _wxFrame_p.");
2184 _arg1
= wxString_in_helper(_obj1
);
2189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2190 wxLogStatus(_arg0
,*_arg1
);
2192 wxPyEndAllowThreads(__tstate
);
2193 if (PyErr_Occurred()) return NULL
;
2194 } Py_INCREF(Py_None
);
2195 _resultobj
= Py_None
;
2203 static PyObject
*_wrap_wxLogSysError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2204 PyObject
* _resultobj
;
2206 PyObject
* _obj0
= 0;
2207 char *_kwnames
[] = { "msg", NULL
};
2210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogSysError",_kwnames
,&_obj0
))
2213 _arg0
= wxString_in_helper(_obj0
);
2218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2219 wxLogSysError(*_arg0
);
2221 wxPyEndAllowThreads(__tstate
);
2222 if (PyErr_Occurred()) return NULL
;
2223 } Py_INCREF(Py_None
);
2224 _resultobj
= Py_None
;
2232 static PyObject
*_wrap_wxLogTrace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2233 PyObject
* _resultobj
;
2235 PyObject
* _obj0
= 0;
2236 char *_kwnames
[] = { "msg", NULL
};
2239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogTrace",_kwnames
,&_obj0
))
2242 _arg0
= wxString_in_helper(_obj0
);
2247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2250 wxPyEndAllowThreads(__tstate
);
2251 if (PyErr_Occurred()) return NULL
;
2252 } Py_INCREF(Py_None
);
2253 _resultobj
= Py_None
;
2261 static PyObject
*_wrap_wxLogTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2262 PyObject
* _resultobj
;
2265 PyObject
* _obj0
= 0;
2266 PyObject
* _obj1
= 0;
2267 char *_kwnames
[] = { "mask","msg", NULL
};
2270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxLogTraceMask",_kwnames
,&_obj0
,&_obj1
))
2273 _arg0
= wxString_in_helper(_obj0
);
2278 _arg1
= wxString_in_helper(_obj1
);
2283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2284 wxLogTrace(*_arg0
,*_arg1
);
2286 wxPyEndAllowThreads(__tstate
);
2287 if (PyErr_Occurred()) return NULL
;
2288 } Py_INCREF(Py_None
);
2289 _resultobj
= Py_None
;
2301 static PyObject
*_wrap_wxLogGeneric(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2302 PyObject
* _resultobj
;
2303 unsigned long _arg0
;
2305 PyObject
* _obj1
= 0;
2306 char *_kwnames
[] = { "level","msg", NULL
};
2309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"lO:wxLogGeneric",_kwnames
,&_arg0
,&_obj1
))
2312 _arg1
= wxString_in_helper(_obj1
);
2317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2318 wxLogGeneric(_arg0
,*_arg1
);
2320 wxPyEndAllowThreads(__tstate
);
2321 if (PyErr_Occurred()) return NULL
;
2322 } Py_INCREF(Py_None
);
2323 _resultobj
= Py_None
;
2331 static PyObject
*_wrap_wxSafeShowMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2332 PyObject
* _resultobj
;
2335 PyObject
* _obj0
= 0;
2336 PyObject
* _obj1
= 0;
2337 char *_kwnames
[] = { "title","text", NULL
};
2340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxSafeShowMessage",_kwnames
,&_obj0
,&_obj1
))
2343 _arg0
= wxString_in_helper(_obj0
);
2348 _arg1
= wxString_in_helper(_obj1
);
2353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2354 wxSafeShowMessage(*_arg0
,*_arg1
);
2356 wxPyEndAllowThreads(__tstate
);
2357 if (PyErr_Occurred()) return NULL
;
2358 } Py_INCREF(Py_None
);
2359 _resultobj
= Py_None
;
2371 static PyObject
*_wrap_wxExecute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2372 PyObject
* _resultobj
;
2375 int _arg1
= (int ) (wxEXEC_ASYNC
);
2376 wxPyProcess
* _arg2
= (wxPyProcess
*) NULL
;
2377 PyObject
* _obj0
= 0;
2378 PyObject
* _argo2
= 0;
2379 char *_kwnames
[] = { "command","flags","process", NULL
};
2382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iO:wxExecute",_kwnames
,&_obj0
,&_arg1
,&_argo2
))
2385 _arg0
= wxString_in_helper(_obj0
);
2390 if (_argo2
== Py_None
) { _arg2
= NULL
; }
2391 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPyProcess_p")) {
2392 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxExecute. Expected _wxPyProcess_p.");
2397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2398 _result
= (long )wxExecute(*_arg0
,_arg1
,_arg2
);
2400 wxPyEndAllowThreads(__tstate
);
2401 if (PyErr_Occurred()) return NULL
;
2402 } _resultobj
= Py_BuildValue("l",_result
);
2410 static PyObject
*_wrap_wxWaveData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2411 PyObject
* _resultobj
;
2414 PyObject
* _obj0
= 0;
2415 char *_kwnames
[] = { "data", NULL
};
2419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWaveData",_kwnames
,&_obj0
))
2422 _arg0
= wxString_in_helper(_obj0
);
2427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2428 _result
= (wxWave
*)wxWaveData(*_arg0
);
2430 wxPyEndAllowThreads(__tstate
);
2431 if (PyErr_Occurred()) return NULL
;
2433 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWave_p");
2434 _resultobj
= Py_BuildValue("s",_ptemp
);
2437 _resultobj
= Py_None
;
2446 static int _wrap_wxTheMimeTypesManager_set(PyObject
*val
) {
2448 PyErr_SetString(PyExc_TypeError
,"Variable wxTheMimeTypesManager is read-only.");
2452 static PyObject
*_wrap_wxTheMimeTypesManager_get() {
2456 SWIG_MakePtr(ptemp
, (char *) wxTheMimeTypesManager
,"_wxMimeTypesManager_p");
2457 pyobj
= PyString_FromString(ptemp
);
2461 static PyObject
*_wrap_wxSystemSettings_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2462 PyObject
* _resultobj
;
2464 wxSystemColour _arg0
;
2465 char *_kwnames
[] = { "index", NULL
};
2469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSystemSettings_GetColour",_kwnames
,&_arg0
))
2472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2473 _result
= new wxColour (wxSystemSettings::GetColour(_arg0
));
2475 wxPyEndAllowThreads(__tstate
);
2476 if (PyErr_Occurred()) return NULL
;
2477 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
2478 _resultobj
= Py_BuildValue("s",_ptemp
);
2482 static PyObject
*_wrap_wxSystemSettings_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2483 PyObject
* _resultobj
;
2486 char *_kwnames
[] = { "index", NULL
};
2490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSystemSettings_GetFont",_kwnames
,&_arg0
))
2493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2494 _result
= new wxFont (wxSystemSettings::GetFont(_arg0
));
2496 wxPyEndAllowThreads(__tstate
);
2497 if (PyErr_Occurred()) return NULL
;
2498 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
2499 _resultobj
= Py_BuildValue("s",_ptemp
);
2503 static PyObject
*_wrap_wxSystemSettings_GetMetric(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2504 PyObject
* _resultobj
;
2506 wxSystemMetric _arg0
;
2507 char *_kwnames
[] = { "index", NULL
};
2510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSystemSettings_GetMetric",_kwnames
,&_arg0
))
2513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2514 _result
= (int )wxSystemSettings::GetMetric(_arg0
);
2516 wxPyEndAllowThreads(__tstate
);
2517 if (PyErr_Occurred()) return NULL
;
2518 } _resultobj
= Py_BuildValue("i",_result
);
2522 static PyObject
*_wrap_wxSystemSettings_HasFeature(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2523 PyObject
* _resultobj
;
2525 wxSystemFeature _arg0
;
2526 char *_kwnames
[] = { "index", NULL
};
2529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSystemSettings_HasFeature",_kwnames
,&_arg0
))
2532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2533 _result
= (bool )wxSystemSettings::HasFeature(_arg0
);
2535 wxPyEndAllowThreads(__tstate
);
2536 if (PyErr_Occurred()) return NULL
;
2537 } _resultobj
= Py_BuildValue("i",_result
);
2541 static PyObject
*_wrap_wxSystemSettings_GetScreenType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2542 PyObject
* _resultobj
;
2543 wxSystemScreenType _result
;
2544 char *_kwnames
[] = { NULL
};
2547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxSystemSettings_GetScreenType",_kwnames
))
2550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2551 _result
= (wxSystemScreenType
)wxSystemSettings::GetScreenType();
2553 wxPyEndAllowThreads(__tstate
);
2554 if (PyErr_Occurred()) return NULL
;
2555 } _resultobj
= Py_BuildValue("i",_result
);
2559 static PyObject
*_wrap_wxSystemSettings_SetScreenType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2560 PyObject
* _resultobj
;
2561 wxSystemScreenType _arg0
;
2562 char *_kwnames
[] = { "screen", NULL
};
2565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSystemSettings_SetScreenType",_kwnames
,&_arg0
))
2568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2569 wxSystemSettings::SetScreenType(_arg0
);
2571 wxPyEndAllowThreads(__tstate
);
2572 if (PyErr_Occurred()) return NULL
;
2573 } Py_INCREF(Py_None
);
2574 _resultobj
= Py_None
;
2578 static void *SwigwxToolTipTowxObject(void *ptr
) {
2581 src
= (wxToolTip
*) ptr
;
2582 dest
= (wxObject
*) src
;
2583 return (void *) dest
;
2586 #define new_wxToolTip(_swigarg0) (new wxToolTip(_swigarg0))
2587 static PyObject
*_wrap_new_wxToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2588 PyObject
* _resultobj
;
2589 wxToolTip
* _result
;
2591 PyObject
* _obj0
= 0;
2592 char *_kwnames
[] = { "tip", NULL
};
2596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxToolTip",_kwnames
,&_obj0
))
2599 _arg0
= wxString_in_helper(_obj0
);
2604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2605 _result
= (wxToolTip
*)new_wxToolTip(*_arg0
);
2607 wxPyEndAllowThreads(__tstate
);
2608 if (PyErr_Occurred()) return NULL
;
2610 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToolTip_p");
2611 _resultobj
= Py_BuildValue("s",_ptemp
);
2614 _resultobj
= Py_None
;
2623 #define wxToolTip_SetTip(_swigobj,_swigarg0) (_swigobj->SetTip(_swigarg0))
2624 static PyObject
*_wrap_wxToolTip_SetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2625 PyObject
* _resultobj
;
2628 PyObject
* _argo0
= 0;
2629 PyObject
* _obj1
= 0;
2630 char *_kwnames
[] = { "self","tip", NULL
};
2633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxToolTip_SetTip",_kwnames
,&_argo0
,&_obj1
))
2636 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2637 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolTip_p")) {
2638 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolTip_SetTip. Expected _wxToolTip_p.");
2643 _arg1
= wxString_in_helper(_obj1
);
2648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2649 wxToolTip_SetTip(_arg0
,*_arg1
);
2651 wxPyEndAllowThreads(__tstate
);
2652 if (PyErr_Occurred()) return NULL
;
2653 } Py_INCREF(Py_None
);
2654 _resultobj
= Py_None
;
2662 #define wxToolTip_GetTip(_swigobj) (_swigobj->GetTip())
2663 static PyObject
*_wrap_wxToolTip_GetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2664 PyObject
* _resultobj
;
2667 PyObject
* _argo0
= 0;
2668 char *_kwnames
[] = { "self", NULL
};
2671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolTip_GetTip",_kwnames
,&_argo0
))
2674 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2675 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolTip_p")) {
2676 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolTip_GetTip. Expected _wxToolTip_p.");
2681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2682 _result
= new wxString (wxToolTip_GetTip(_arg0
));
2684 wxPyEndAllowThreads(__tstate
);
2685 if (PyErr_Occurred()) return NULL
;
2688 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
2690 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2699 #define wxToolTip_GetWindow(_swigobj) (_swigobj->GetWindow())
2700 static PyObject
*_wrap_wxToolTip_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2701 PyObject
* _resultobj
;
2704 PyObject
* _argo0
= 0;
2705 char *_kwnames
[] = { "self", NULL
};
2708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolTip_GetWindow",_kwnames
,&_argo0
))
2711 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2712 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolTip_p")) {
2713 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolTip_GetWindow. Expected _wxToolTip_p.");
2718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2719 _result
= (wxWindow
*)wxToolTip_GetWindow(_arg0
);
2721 wxPyEndAllowThreads(__tstate
);
2722 if (PyErr_Occurred()) return NULL
;
2723 }{ _resultobj
= wxPyMake_wxObject(_result
); }
2727 static PyObject
*_wrap_wxToolTip_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2728 PyObject
* _resultobj
;
2731 char *_kwnames
[] = { "flag", NULL
};
2734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxToolTip_Enable",_kwnames
,&tempbool0
))
2736 _arg0
= (bool ) tempbool0
;
2738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2739 wxToolTip::Enable(_arg0
);
2741 wxPyEndAllowThreads(__tstate
);
2742 if (PyErr_Occurred()) return NULL
;
2743 } Py_INCREF(Py_None
);
2744 _resultobj
= Py_None
;
2748 static PyObject
*_wrap_wxToolTip_SetDelay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2749 PyObject
* _resultobj
;
2751 char *_kwnames
[] = { "milliseconds", NULL
};
2754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:wxToolTip_SetDelay",_kwnames
,&_arg0
))
2757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2758 wxToolTip::SetDelay(_arg0
);
2760 wxPyEndAllowThreads(__tstate
);
2761 if (PyErr_Occurred()) return NULL
;
2762 } Py_INCREF(Py_None
);
2763 _resultobj
= Py_None
;
2767 #define new_wxCaret(_swigarg0,_swigarg1) (new wxCaret(_swigarg0,_swigarg1))
2768 static PyObject
*_wrap_new_wxCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2769 PyObject
* _resultobj
;
2773 PyObject
* _argo0
= 0;
2775 PyObject
* _obj1
= 0;
2776 char *_kwnames
[] = { "window","size", NULL
};
2780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:new_wxCaret",_kwnames
,&_argo0
,&_obj1
))
2783 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2784 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2785 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxCaret. Expected _wxWindow_p.");
2791 if (! wxSize_helper(_obj1
, &_arg1
))
2795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2796 _result
= (wxCaret
*)new_wxCaret(_arg0
,*_arg1
);
2798 wxPyEndAllowThreads(__tstate
);
2799 if (PyErr_Occurred()) return NULL
;
2801 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCaret_p");
2802 _resultobj
= Py_BuildValue("s",_ptemp
);
2805 _resultobj
= Py_None
;
2810 #define delete_wxCaret(_swigobj) (delete _swigobj)
2811 static PyObject
*_wrap_delete_wxCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2812 PyObject
* _resultobj
;
2814 PyObject
* _argo0
= 0;
2815 char *_kwnames
[] = { "self", NULL
};
2818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxCaret",_kwnames
,&_argo0
))
2821 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2822 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2823 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxCaret. Expected _wxCaret_p.");
2828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2829 delete_wxCaret(_arg0
);
2831 wxPyEndAllowThreads(__tstate
);
2832 if (PyErr_Occurred()) return NULL
;
2833 } Py_INCREF(Py_None
);
2834 _resultobj
= Py_None
;
2838 #define wxCaret_IsOk(_swigobj) (_swigobj->IsOk())
2839 static PyObject
*_wrap_wxCaret_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2840 PyObject
* _resultobj
;
2843 PyObject
* _argo0
= 0;
2844 char *_kwnames
[] = { "self", NULL
};
2847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_IsOk",_kwnames
,&_argo0
))
2850 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2851 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2852 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_IsOk. Expected _wxCaret_p.");
2857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2858 _result
= (bool )wxCaret_IsOk(_arg0
);
2860 wxPyEndAllowThreads(__tstate
);
2861 if (PyErr_Occurred()) return NULL
;
2862 } _resultobj
= Py_BuildValue("i",_result
);
2866 #define wxCaret_IsVisible(_swigobj) (_swigobj->IsVisible())
2867 static PyObject
*_wrap_wxCaret_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2868 PyObject
* _resultobj
;
2871 PyObject
* _argo0
= 0;
2872 char *_kwnames
[] = { "self", NULL
};
2875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_IsVisible",_kwnames
,&_argo0
))
2878 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2879 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2880 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_IsVisible. Expected _wxCaret_p.");
2885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2886 _result
= (bool )wxCaret_IsVisible(_arg0
);
2888 wxPyEndAllowThreads(__tstate
);
2889 if (PyErr_Occurred()) return NULL
;
2890 } _resultobj
= Py_BuildValue("i",_result
);
2894 #define wxCaret_GetPositionTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPosition(_swigarg0,_swigarg1))
2895 static PyObject
*_wrap_wxCaret_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2896 PyObject
* _resultobj
;
2902 PyObject
* _argo0
= 0;
2903 char *_kwnames
[] = { "self", NULL
};
2912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetPositionTuple",_kwnames
,&_argo0
))
2915 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2916 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2917 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetPositionTuple. Expected _wxCaret_p.");
2922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2923 wxCaret_GetPositionTuple(_arg0
,_arg1
,_arg2
);
2925 wxPyEndAllowThreads(__tstate
);
2926 if (PyErr_Occurred()) return NULL
;
2927 } Py_INCREF(Py_None
);
2928 _resultobj
= Py_None
;
2931 o
= PyInt_FromLong((long) (*_arg1
));
2932 _resultobj
= t_output_helper(_resultobj
, o
);
2936 o
= PyInt_FromLong((long) (*_arg2
));
2937 _resultobj
= t_output_helper(_resultobj
, o
);
2942 #define wxCaret_GetPosition(_swigobj) (_swigobj->GetPosition())
2943 static PyObject
*_wrap_wxCaret_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2944 PyObject
* _resultobj
;
2947 PyObject
* _argo0
= 0;
2948 char *_kwnames
[] = { "self", NULL
};
2952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetPosition",_kwnames
,&_argo0
))
2955 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2956 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2957 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetPosition. Expected _wxCaret_p.");
2962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2963 _result
= new wxPoint (wxCaret_GetPosition(_arg0
));
2965 wxPyEndAllowThreads(__tstate
);
2966 if (PyErr_Occurred()) return NULL
;
2967 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2968 _resultobj
= Py_BuildValue("s",_ptemp
);
2972 #define wxCaret_GetSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSize(_swigarg0,_swigarg1))
2973 static PyObject
*_wrap_wxCaret_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2974 PyObject
* _resultobj
;
2980 PyObject
* _argo0
= 0;
2981 char *_kwnames
[] = { "self", NULL
};
2990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetSizeTuple",_kwnames
,&_argo0
))
2993 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2994 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2995 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetSizeTuple. Expected _wxCaret_p.");
3000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3001 wxCaret_GetSizeTuple(_arg0
,_arg1
,_arg2
);
3003 wxPyEndAllowThreads(__tstate
);
3004 if (PyErr_Occurred()) return NULL
;
3005 } Py_INCREF(Py_None
);
3006 _resultobj
= Py_None
;
3009 o
= PyInt_FromLong((long) (*_arg1
));
3010 _resultobj
= t_output_helper(_resultobj
, o
);
3014 o
= PyInt_FromLong((long) (*_arg2
));
3015 _resultobj
= t_output_helper(_resultobj
, o
);
3020 #define wxCaret_GetSize(_swigobj) (_swigobj->GetSize())
3021 static PyObject
*_wrap_wxCaret_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3022 PyObject
* _resultobj
;
3025 PyObject
* _argo0
= 0;
3026 char *_kwnames
[] = { "self", NULL
};
3030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetSize",_kwnames
,&_argo0
))
3033 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3034 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
3035 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetSize. Expected _wxCaret_p.");
3040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3041 _result
= new wxSize (wxCaret_GetSize(_arg0
));
3043 wxPyEndAllowThreads(__tstate
);
3044 if (PyErr_Occurred()) return NULL
;
3045 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
3046 _resultobj
= Py_BuildValue("s",_ptemp
);
3050 #define wxCaret_GetWindow(_swigobj) (_swigobj->GetWindow())
3051 static PyObject
*_wrap_wxCaret_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3052 PyObject
* _resultobj
;
3055 PyObject
* _argo0
= 0;
3056 char *_kwnames
[] = { "self", NULL
};
3059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetWindow",_kwnames
,&_argo0
))
3062 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3063 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
3064 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetWindow. Expected _wxCaret_p.");
3069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3070 _result
= (wxWindow
*)wxCaret_GetWindow(_arg0
);
3072 wxPyEndAllowThreads(__tstate
);
3073 if (PyErr_Occurred()) return NULL
;
3074 }{ _resultobj
= wxPyMake_wxObject(_result
); }
3078 #define wxCaret_MoveXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->Move(_swigarg0,_swigarg1))
3079 static PyObject
*_wrap_wxCaret_MoveXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3080 PyObject
* _resultobj
;
3084 PyObject
* _argo0
= 0;
3085 char *_kwnames
[] = { "self","x","y", NULL
};
3088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxCaret_MoveXY",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3091 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3092 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
3093 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_MoveXY. Expected _wxCaret_p.");
3098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3099 wxCaret_MoveXY(_arg0
,_arg1
,_arg2
);
3101 wxPyEndAllowThreads(__tstate
);
3102 if (PyErr_Occurred()) return NULL
;
3103 } Py_INCREF(Py_None
);
3104 _resultobj
= Py_None
;
3108 #define wxCaret_Move(_swigobj,_swigarg0) (_swigobj->Move(_swigarg0))
3109 static PyObject
*_wrap_wxCaret_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3110 PyObject
* _resultobj
;
3113 PyObject
* _argo0
= 0;
3115 PyObject
* _obj1
= 0;
3116 char *_kwnames
[] = { "self","pt", NULL
};
3119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxCaret_Move",_kwnames
,&_argo0
,&_obj1
))
3122 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3123 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
3124 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_Move. Expected _wxCaret_p.");
3130 if (! wxPoint_helper(_obj1
, &_arg1
))
3134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3135 wxCaret_Move(_arg0
,*_arg1
);
3137 wxPyEndAllowThreads(__tstate
);
3138 if (PyErr_Occurred()) return NULL
;
3139 } Py_INCREF(Py_None
);
3140 _resultobj
= Py_None
;
3144 #define wxCaret_SetSizeWH(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSize(_swigarg0,_swigarg1))
3145 static PyObject
*_wrap_wxCaret_SetSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3146 PyObject
* _resultobj
;
3150 PyObject
* _argo0
= 0;
3151 char *_kwnames
[] = { "self","width","height", NULL
};
3154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxCaret_SetSizeWH",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3157 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3158 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
3159 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_SetSizeWH. Expected _wxCaret_p.");
3164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3165 wxCaret_SetSizeWH(_arg0
,_arg1
,_arg2
);
3167 wxPyEndAllowThreads(__tstate
);
3168 if (PyErr_Occurred()) return NULL
;
3169 } Py_INCREF(Py_None
);
3170 _resultobj
= Py_None
;
3174 #define wxCaret_SetSize(_swigobj,_swigarg0) (_swigobj->SetSize(_swigarg0))
3175 static PyObject
*_wrap_wxCaret_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3176 PyObject
* _resultobj
;
3179 PyObject
* _argo0
= 0;
3181 PyObject
* _obj1
= 0;
3182 char *_kwnames
[] = { "self","size", NULL
};
3185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxCaret_SetSize",_kwnames
,&_argo0
,&_obj1
))
3188 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3189 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
3190 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_SetSize. Expected _wxCaret_p.");
3196 if (! wxSize_helper(_obj1
, &_arg1
))
3200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3201 wxCaret_SetSize(_arg0
,*_arg1
);
3203 wxPyEndAllowThreads(__tstate
);
3204 if (PyErr_Occurred()) return NULL
;
3205 } Py_INCREF(Py_None
);
3206 _resultobj
= Py_None
;
3210 #define wxCaret_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
3211 static PyObject
*_wrap_wxCaret_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3212 PyObject
* _resultobj
;
3214 int _arg1
= (int ) TRUE
;
3215 PyObject
* _argo0
= 0;
3216 char *_kwnames
[] = { "self","show", NULL
};
3219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxCaret_Show",_kwnames
,&_argo0
,&_arg1
))
3222 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3223 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
3224 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_Show. Expected _wxCaret_p.");
3229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3230 wxCaret_Show(_arg0
,_arg1
);
3232 wxPyEndAllowThreads(__tstate
);
3233 if (PyErr_Occurred()) return NULL
;
3234 } Py_INCREF(Py_None
);
3235 _resultobj
= Py_None
;
3239 #define wxCaret_Hide(_swigobj) (_swigobj->Hide())
3240 static PyObject
*_wrap_wxCaret_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3241 PyObject
* _resultobj
;
3243 PyObject
* _argo0
= 0;
3244 char *_kwnames
[] = { "self", NULL
};
3247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_Hide",_kwnames
,&_argo0
))
3250 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3251 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
3252 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_Hide. Expected _wxCaret_p.");
3257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3258 wxCaret_Hide(_arg0
);
3260 wxPyEndAllowThreads(__tstate
);
3261 if (PyErr_Occurred()) return NULL
;
3262 } Py_INCREF(Py_None
);
3263 _resultobj
= Py_None
;
3267 #define new_wxBusyCursor(_swigarg0) (new wxBusyCursor(_swigarg0))
3268 static PyObject
*_wrap_new_wxBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3269 PyObject
* _resultobj
;
3270 wxBusyCursor
* _result
;
3271 wxCursor
* _arg0
= (wxCursor
*) wxHOURGLASS_CURSOR
;
3272 PyObject
* _argo0
= 0;
3273 char *_kwnames
[] = { "cursor", NULL
};
3277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxBusyCursor",_kwnames
,&_argo0
))
3280 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3281 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
3282 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxBusyCursor. Expected _wxCursor_p.");
3287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3288 _result
= (wxBusyCursor
*)new_wxBusyCursor(_arg0
);
3290 wxPyEndAllowThreads(__tstate
);
3291 if (PyErr_Occurred()) return NULL
;
3293 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBusyCursor_p");
3294 _resultobj
= Py_BuildValue("s",_ptemp
);
3297 _resultobj
= Py_None
;
3302 #define delete_wxBusyCursor(_swigobj) (delete _swigobj)
3303 static PyObject
*_wrap_delete_wxBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3304 PyObject
* _resultobj
;
3305 wxBusyCursor
* _arg0
;
3306 PyObject
* _argo0
= 0;
3307 char *_kwnames
[] = { "self", NULL
};
3310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxBusyCursor",_kwnames
,&_argo0
))
3313 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3314 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBusyCursor_p")) {
3315 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxBusyCursor. Expected _wxBusyCursor_p.");
3320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3321 delete_wxBusyCursor(_arg0
);
3323 wxPyEndAllowThreads(__tstate
);
3324 if (PyErr_Occurred()) return NULL
;
3325 } Py_INCREF(Py_None
);
3326 _resultobj
= Py_None
;
3330 #define new_wxWindowDisabler(_swigarg0) (new wxWindowDisabler(_swigarg0))
3331 static PyObject
*_wrap_new_wxWindowDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3332 PyObject
* _resultobj
;
3333 wxWindowDisabler
* _result
;
3334 wxWindow
* _arg0
= (wxWindow
*) NULL
;
3335 PyObject
* _argo0
= 0;
3336 char *_kwnames
[] = { "winToSkip", NULL
};
3340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxWindowDisabler",_kwnames
,&_argo0
))
3343 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3344 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3345 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxWindowDisabler. Expected _wxWindow_p.");
3350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3351 _result
= (wxWindowDisabler
*)new_wxWindowDisabler(_arg0
);
3353 wxPyEndAllowThreads(__tstate
);
3354 if (PyErr_Occurred()) return NULL
;
3356 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindowDisabler_p");
3357 _resultobj
= Py_BuildValue("s",_ptemp
);
3360 _resultobj
= Py_None
;
3365 #define delete_wxWindowDisabler(_swigobj) (delete _swigobj)
3366 static PyObject
*_wrap_delete_wxWindowDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3367 PyObject
* _resultobj
;
3368 wxWindowDisabler
* _arg0
;
3369 PyObject
* _argo0
= 0;
3370 char *_kwnames
[] = { "self", NULL
};
3373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxWindowDisabler",_kwnames
,&_argo0
))
3376 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3377 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindowDisabler_p")) {
3378 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxWindowDisabler. Expected _wxWindowDisabler_p.");
3383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3384 delete_wxWindowDisabler(_arg0
);
3386 wxPyEndAllowThreads(__tstate
);
3387 if (PyErr_Occurred()) return NULL
;
3388 } Py_INCREF(Py_None
);
3389 _resultobj
= Py_None
;
3393 #define new_wxMutexGuiLocker() (new wxMutexGuiLocker())
3394 static PyObject
*_wrap_new_wxMutexGuiLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3395 PyObject
* _resultobj
;
3396 wxMutexGuiLocker
* _result
;
3397 char *_kwnames
[] = { NULL
};
3401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxMutexGuiLocker",_kwnames
))
3404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3405 _result
= (wxMutexGuiLocker
*)new_wxMutexGuiLocker();
3407 wxPyEndAllowThreads(__tstate
);
3408 if (PyErr_Occurred()) return NULL
;
3410 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMutexGuiLocker_p");
3411 _resultobj
= Py_BuildValue("s",_ptemp
);
3414 _resultobj
= Py_None
;
3419 #define delete_wxMutexGuiLocker(_swigobj) (delete _swigobj)
3420 static PyObject
*_wrap_delete_wxMutexGuiLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3421 PyObject
* _resultobj
;
3422 wxMutexGuiLocker
* _arg0
;
3423 PyObject
* _argo0
= 0;
3424 char *_kwnames
[] = { "self", NULL
};
3427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxMutexGuiLocker",_kwnames
,&_argo0
))
3430 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3431 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMutexGuiLocker_p")) {
3432 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxMutexGuiLocker. Expected _wxMutexGuiLocker_p.");
3437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3438 delete_wxMutexGuiLocker(_arg0
);
3440 wxPyEndAllowThreads(__tstate
);
3441 if (PyErr_Occurred()) return NULL
;
3442 } Py_INCREF(Py_None
);
3443 _resultobj
= Py_None
;
3447 #define delete_wxTipProvider(_swigobj) (delete _swigobj)
3448 static PyObject
*_wrap_delete_wxTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3449 PyObject
* _resultobj
;
3450 wxTipProvider
* _arg0
;
3451 PyObject
* _argo0
= 0;
3452 char *_kwnames
[] = { "self", NULL
};
3455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxTipProvider",_kwnames
,&_argo0
))
3458 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3459 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTipProvider_p")) {
3460 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxTipProvider. Expected _wxTipProvider_p.");
3465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3466 delete_wxTipProvider(_arg0
);
3468 wxPyEndAllowThreads(__tstate
);
3469 if (PyErr_Occurred()) return NULL
;
3470 } Py_INCREF(Py_None
);
3471 _resultobj
= Py_None
;
3475 #define wxTipProvider_GetTip(_swigobj) (_swigobj->GetTip())
3476 static PyObject
*_wrap_wxTipProvider_GetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3477 PyObject
* _resultobj
;
3479 wxTipProvider
* _arg0
;
3480 PyObject
* _argo0
= 0;
3481 char *_kwnames
[] = { "self", NULL
};
3484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTipProvider_GetTip",_kwnames
,&_argo0
))
3487 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3488 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTipProvider_p")) {
3489 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTipProvider_GetTip. Expected _wxTipProvider_p.");
3494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3495 _result
= new wxString (wxTipProvider_GetTip(_arg0
));
3497 wxPyEndAllowThreads(__tstate
);
3498 if (PyErr_Occurred()) return NULL
;
3501 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
3503 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3512 #define wxTipProvider_GetCurrentTip(_swigobj) (_swigobj->GetCurrentTip())
3513 static PyObject
*_wrap_wxTipProvider_GetCurrentTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3514 PyObject
* _resultobj
;
3516 wxTipProvider
* _arg0
;
3517 PyObject
* _argo0
= 0;
3518 char *_kwnames
[] = { "self", NULL
};
3521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTipProvider_GetCurrentTip",_kwnames
,&_argo0
))
3524 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3525 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTipProvider_p")) {
3526 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTipProvider_GetCurrentTip. Expected _wxTipProvider_p.");
3531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3532 _result
= (size_t )wxTipProvider_GetCurrentTip(_arg0
);
3534 wxPyEndAllowThreads(__tstate
);
3535 if (PyErr_Occurred()) return NULL
;
3536 } _resultobj
= Py_BuildValue("i",_result
);
3540 #define wxTipProvider_PreprocessTip(_swigobj,_swigarg0) (_swigobj->PreprocessTip(_swigarg0))
3541 static PyObject
*_wrap_wxTipProvider_PreprocessTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3542 PyObject
* _resultobj
;
3544 wxTipProvider
* _arg0
;
3546 PyObject
* _argo0
= 0;
3547 PyObject
* _obj1
= 0;
3548 char *_kwnames
[] = { "self","tip", NULL
};
3551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTipProvider_PreprocessTip",_kwnames
,&_argo0
,&_obj1
))
3554 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3555 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTipProvider_p")) {
3556 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTipProvider_PreprocessTip. Expected _wxTipProvider_p.");
3561 _arg1
= wxString_in_helper(_obj1
);
3566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3567 _result
= new wxString (wxTipProvider_PreprocessTip(_arg0
,*_arg1
));
3569 wxPyEndAllowThreads(__tstate
);
3570 if (PyErr_Occurred()) return NULL
;
3573 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
3575 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3588 static void *SwigwxPyTipProviderTowxTipProvider(void *ptr
) {
3589 wxPyTipProvider
*src
;
3590 wxTipProvider
*dest
;
3591 src
= (wxPyTipProvider
*) ptr
;
3592 dest
= (wxTipProvider
*) src
;
3593 return (void *) dest
;
3596 #define new_wxPyTipProvider(_swigarg0) (new wxPyTipProvider(_swigarg0))
3597 static PyObject
*_wrap_new_wxPyTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3598 PyObject
* _resultobj
;
3599 wxPyTipProvider
* _result
;
3601 char *_kwnames
[] = { "currentTip", NULL
};
3605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:new_wxPyTipProvider",_kwnames
,&_arg0
))
3608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3609 _result
= (wxPyTipProvider
*)new_wxPyTipProvider(_arg0
);
3611 wxPyEndAllowThreads(__tstate
);
3612 if (PyErr_Occurred()) return NULL
;
3614 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTipProvider_p");
3615 _resultobj
= Py_BuildValue("s",_ptemp
);
3618 _resultobj
= Py_None
;
3623 #define wxPyTipProvider__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
3624 static PyObject
*_wrap_wxPyTipProvider__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3625 PyObject
* _resultobj
;
3626 wxPyTipProvider
* _arg0
;
3629 PyObject
* _argo0
= 0;
3630 PyObject
* _obj1
= 0;
3631 PyObject
* _obj2
= 0;
3632 char *_kwnames
[] = { "self","self","_class", NULL
};
3635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyTipProvider__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
3638 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3639 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTipProvider_p")) {
3640 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTipProvider__setCallbackInfo. Expected _wxPyTipProvider_p.");
3651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3652 wxPyTipProvider__setCallbackInfo(_arg0
,_arg1
,_arg2
);
3654 wxPyEndAllowThreads(__tstate
);
3655 if (PyErr_Occurred()) return NULL
;
3656 } Py_INCREF(Py_None
);
3657 _resultobj
= Py_None
;
3661 static void *SwigwxGenericDragImageTowxObject(void *ptr
) {
3662 wxGenericDragImage
*src
;
3664 src
= (wxGenericDragImage
*) ptr
;
3665 dest
= (wxObject
*) src
;
3666 return (void *) dest
;
3669 #define new_wxDragImage(_swigarg0,_swigarg1) (new wxGenericDragImage(_swigarg0,_swigarg1))
3670 static PyObject
*_wrap_new_wxDragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3671 PyObject
* _resultobj
;
3672 wxGenericDragImage
* _result
;
3674 wxCursor
* _arg1
= (wxCursor
*) &wxNullCursor
;
3675 PyObject
* _argo0
= 0;
3676 PyObject
* _argo1
= 0;
3677 char *_kwnames
[] = { "image","cursor", NULL
};
3681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:new_wxDragImage",_kwnames
,&_argo0
,&_argo1
))
3684 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3685 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
3686 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDragImage. Expected _wxBitmap_p.");
3691 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3692 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCursor_p")) {
3693 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxDragImage. Expected _wxCursor_p.");
3698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3699 _result
= (wxGenericDragImage
*)new_wxDragImage(*_arg0
,*_arg1
);
3701 wxPyEndAllowThreads(__tstate
);
3702 if (PyErr_Occurred()) return NULL
;
3704 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
3705 _resultobj
= Py_BuildValue("s",_ptemp
);
3708 _resultobj
= Py_None
;
3713 #define new_wxDragIcon(_swigarg0,_swigarg1) (new wxGenericDragImage(_swigarg0,_swigarg1))
3714 static PyObject
*_wrap_new_wxDragIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3715 PyObject
* _resultobj
;
3716 wxGenericDragImage
* _result
;
3718 wxCursor
* _arg1
= (wxCursor
*) &wxNullCursor
;
3719 PyObject
* _argo0
= 0;
3720 PyObject
* _argo1
= 0;
3721 char *_kwnames
[] = { "image","cursor", NULL
};
3725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:new_wxDragIcon",_kwnames
,&_argo0
,&_argo1
))
3728 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3729 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
3730 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDragIcon. Expected _wxIcon_p.");
3735 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3736 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCursor_p")) {
3737 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxDragIcon. Expected _wxCursor_p.");
3742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3743 _result
= (wxGenericDragImage
*)new_wxDragIcon(*_arg0
,*_arg1
);
3745 wxPyEndAllowThreads(__tstate
);
3746 if (PyErr_Occurred()) return NULL
;
3748 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
3749 _resultobj
= Py_BuildValue("s",_ptemp
);
3752 _resultobj
= Py_None
;
3757 #define new_wxDragString(_swigarg0,_swigarg1) (new wxGenericDragImage(_swigarg0,_swigarg1))
3758 static PyObject
*_wrap_new_wxDragString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3759 PyObject
* _resultobj
;
3760 wxGenericDragImage
* _result
;
3762 wxCursor
* _arg1
= (wxCursor
*) &wxNullCursor
;
3763 PyObject
* _obj0
= 0;
3764 PyObject
* _argo1
= 0;
3765 char *_kwnames
[] = { "str","cursor", NULL
};
3769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:new_wxDragString",_kwnames
,&_obj0
,&_argo1
))
3772 _arg0
= wxString_in_helper(_obj0
);
3777 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3778 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCursor_p")) {
3779 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxDragString. Expected _wxCursor_p.");
3784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3785 _result
= (wxGenericDragImage
*)new_wxDragString(*_arg0
,*_arg1
);
3787 wxPyEndAllowThreads(__tstate
);
3788 if (PyErr_Occurred()) return NULL
;
3790 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
3791 _resultobj
= Py_BuildValue("s",_ptemp
);
3794 _resultobj
= Py_None
;
3803 #define new_wxDragTreeItem(_swigarg0,_swigarg1) (new wxGenericDragImage(_swigarg0,_swigarg1))
3804 static PyObject
*_wrap_new_wxDragTreeItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3805 PyObject
* _resultobj
;
3806 wxGenericDragImage
* _result
;
3808 wxTreeItemId
* _arg1
;
3809 PyObject
* _argo0
= 0;
3810 PyObject
* _argo1
= 0;
3811 char *_kwnames
[] = { "treeCtrl","id", NULL
};
3815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:new_wxDragTreeItem",_kwnames
,&_argo0
,&_argo1
))
3818 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3819 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3820 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDragTreeItem. Expected _wxTreeCtrl_p.");
3825 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3826 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3827 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxDragTreeItem. Expected _wxTreeItemId_p.");
3832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3833 _result
= (wxGenericDragImage
*)new_wxDragTreeItem(*_arg0
,*_arg1
);
3835 wxPyEndAllowThreads(__tstate
);
3836 if (PyErr_Occurred()) return NULL
;
3838 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
3839 _resultobj
= Py_BuildValue("s",_ptemp
);
3842 _resultobj
= Py_None
;
3847 #define new_wxDragListItem(_swigarg0,_swigarg1) (new wxGenericDragImage(_swigarg0,_swigarg1))
3848 static PyObject
*_wrap_new_wxDragListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3849 PyObject
* _resultobj
;
3850 wxGenericDragImage
* _result
;
3853 PyObject
* _argo0
= 0;
3854 char *_kwnames
[] = { "listCtrl","id", NULL
};
3858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:new_wxDragListItem",_kwnames
,&_argo0
,&_arg1
))
3861 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3862 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3863 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDragListItem. Expected _wxListCtrl_p.");
3868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3869 _result
= (wxGenericDragImage
*)new_wxDragListItem(*_arg0
,_arg1
);
3871 wxPyEndAllowThreads(__tstate
);
3872 if (PyErr_Occurred()) return NULL
;
3874 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
3875 _resultobj
= Py_BuildValue("s",_ptemp
);
3878 _resultobj
= Py_None
;
3883 #define delete_wxGenericDragImage(_swigobj) (delete _swigobj)
3884 static PyObject
*_wrap_delete_wxDragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3885 PyObject
* _resultobj
;
3886 wxGenericDragImage
* _arg0
;
3887 PyObject
* _argo0
= 0;
3888 char *_kwnames
[] = { "self", NULL
};
3891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxDragImage",_kwnames
,&_argo0
))
3894 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3895 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3896 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxDragImage. Expected _wxGenericDragImage_p.");
3901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3902 delete_wxGenericDragImage(_arg0
);
3904 wxPyEndAllowThreads(__tstate
);
3905 if (PyErr_Occurred()) return NULL
;
3906 } Py_INCREF(Py_None
);
3907 _resultobj
= Py_None
;
3911 #define wxDragImage_SetBackingBitmap(_swigobj,_swigarg0) (_swigobj->SetBackingBitmap(_swigarg0))
3912 static PyObject
*_wrap_wxDragImage_SetBackingBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3913 PyObject
* _resultobj
;
3914 wxGenericDragImage
* _arg0
;
3916 PyObject
* _argo0
= 0;
3917 PyObject
* _argo1
= 0;
3918 char *_kwnames
[] = { "self","bitmap", NULL
};
3921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDragImage_SetBackingBitmap",_kwnames
,&_argo0
,&_argo1
))
3924 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3925 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3926 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_SetBackingBitmap. Expected _wxGenericDragImage_p.");
3931 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3932 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
3933 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDragImage_SetBackingBitmap. Expected _wxBitmap_p.");
3938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3939 wxDragImage_SetBackingBitmap(_arg0
,_arg1
);
3941 wxPyEndAllowThreads(__tstate
);
3942 if (PyErr_Occurred()) return NULL
;
3943 } Py_INCREF(Py_None
);
3944 _resultobj
= Py_None
;
3948 #define wxDragImage_BeginDrag(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->BeginDrag(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3949 static PyObject
*_wrap_wxDragImage_BeginDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3950 PyObject
* _resultobj
;
3952 wxGenericDragImage
* _arg0
;
3955 bool _arg3
= (bool ) FALSE
;
3956 wxRect
* _arg4
= (wxRect
*) NULL
;
3957 PyObject
* _argo0
= 0;
3959 PyObject
* _obj1
= 0;
3960 PyObject
* _argo2
= 0;
3961 int tempbool3
= (int) FALSE
;
3963 PyObject
* _obj4
= 0;
3964 char *_kwnames
[] = { "self","hotspot","window","fullScreen","rect", NULL
};
3967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|iO:wxDragImage_BeginDrag",_kwnames
,&_argo0
,&_obj1
,&_argo2
,&tempbool3
,&_obj4
))
3970 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3971 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3972 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_BeginDrag. Expected _wxGenericDragImage_p.");
3978 if (! wxPoint_helper(_obj1
, &_arg1
))
3982 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3983 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
3984 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxDragImage_BeginDrag. Expected _wxWindow_p.");
3988 _arg3
= (bool ) tempbool3
;
3992 if (! wxRect_helper(_obj4
, &_arg4
))
3996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3997 _result
= (bool )wxDragImage_BeginDrag(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
);
3999 wxPyEndAllowThreads(__tstate
);
4000 if (PyErr_Occurred()) return NULL
;
4001 } _resultobj
= Py_BuildValue("i",_result
);
4005 #define wxDragImage_BeginDrag2(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->BeginDrag(_swigarg0,_swigarg1,_swigarg2))
4006 static PyObject
*_wrap_wxDragImage_BeginDrag2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4007 PyObject
* _resultobj
;
4009 wxGenericDragImage
* _arg0
;
4013 PyObject
* _argo0
= 0;
4015 PyObject
* _obj1
= 0;
4016 PyObject
* _argo2
= 0;
4017 PyObject
* _argo3
= 0;
4018 char *_kwnames
[] = { "self","hotspot","window","fullScreenRect", NULL
};
4021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO:wxDragImage_BeginDrag2",_kwnames
,&_argo0
,&_obj1
,&_argo2
,&_argo3
))
4024 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4025 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
4026 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_BeginDrag2. Expected _wxGenericDragImage_p.");
4032 if (! wxPoint_helper(_obj1
, &_arg1
))
4036 if (_argo2
== Py_None
) { _arg2
= NULL
; }
4037 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
4038 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxDragImage_BeginDrag2. Expected _wxWindow_p.");
4043 if (_argo3
== Py_None
) { _arg3
= NULL
; }
4044 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxWindow_p")) {
4045 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxDragImage_BeginDrag2. Expected _wxWindow_p.");
4050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4051 _result
= (bool )wxDragImage_BeginDrag2(_arg0
,*_arg1
,_arg2
,_arg3
);
4053 wxPyEndAllowThreads(__tstate
);
4054 if (PyErr_Occurred()) return NULL
;
4055 } _resultobj
= Py_BuildValue("i",_result
);
4059 #define wxDragImage_EndDrag(_swigobj) (_swigobj->EndDrag())
4060 static PyObject
*_wrap_wxDragImage_EndDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4061 PyObject
* _resultobj
;
4063 wxGenericDragImage
* _arg0
;
4064 PyObject
* _argo0
= 0;
4065 char *_kwnames
[] = { "self", NULL
};
4068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDragImage_EndDrag",_kwnames
,&_argo0
))
4071 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4072 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
4073 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_EndDrag. Expected _wxGenericDragImage_p.");
4078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4079 _result
= (bool )wxDragImage_EndDrag(_arg0
);
4081 wxPyEndAllowThreads(__tstate
);
4082 if (PyErr_Occurred()) return NULL
;
4083 } _resultobj
= Py_BuildValue("i",_result
);
4087 #define wxDragImage_Move(_swigobj,_swigarg0) (_swigobj->Move(_swigarg0))
4088 static PyObject
*_wrap_wxDragImage_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4089 PyObject
* _resultobj
;
4091 wxGenericDragImage
* _arg0
;
4093 PyObject
* _argo0
= 0;
4095 PyObject
* _obj1
= 0;
4096 char *_kwnames
[] = { "self","pt", NULL
};
4099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDragImage_Move",_kwnames
,&_argo0
,&_obj1
))
4102 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4103 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
4104 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_Move. Expected _wxGenericDragImage_p.");
4110 if (! wxPoint_helper(_obj1
, &_arg1
))
4114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4115 _result
= (bool )wxDragImage_Move(_arg0
,*_arg1
);
4117 wxPyEndAllowThreads(__tstate
);
4118 if (PyErr_Occurred()) return NULL
;
4119 } _resultobj
= Py_BuildValue("i",_result
);
4123 #define wxDragImage_Show(_swigobj) (_swigobj->Show())
4124 static PyObject
*_wrap_wxDragImage_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4125 PyObject
* _resultobj
;
4127 wxGenericDragImage
* _arg0
;
4128 PyObject
* _argo0
= 0;
4129 char *_kwnames
[] = { "self", NULL
};
4132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDragImage_Show",_kwnames
,&_argo0
))
4135 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4136 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
4137 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_Show. Expected _wxGenericDragImage_p.");
4142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4143 _result
= (bool )wxDragImage_Show(_arg0
);
4145 wxPyEndAllowThreads(__tstate
);
4146 if (PyErr_Occurred()) return NULL
;
4147 } _resultobj
= Py_BuildValue("i",_result
);
4151 #define wxDragImage_Hide(_swigobj) (_swigobj->Hide())
4152 static PyObject
*_wrap_wxDragImage_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4153 PyObject
* _resultobj
;
4155 wxGenericDragImage
* _arg0
;
4156 PyObject
* _argo0
= 0;
4157 char *_kwnames
[] = { "self", NULL
};
4160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDragImage_Hide",_kwnames
,&_argo0
))
4163 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4164 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
4165 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_Hide. Expected _wxGenericDragImage_p.");
4170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4171 _result
= (bool )wxDragImage_Hide(_arg0
);
4173 wxPyEndAllowThreads(__tstate
);
4174 if (PyErr_Occurred()) return NULL
;
4175 } _resultobj
= Py_BuildValue("i",_result
);
4179 #define wxDragImage_GetImageRect(_swigobj,_swigarg0) (_swigobj->GetImageRect(_swigarg0))
4180 static PyObject
*_wrap_wxDragImage_GetImageRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4181 PyObject
* _resultobj
;
4183 wxGenericDragImage
* _arg0
;
4185 PyObject
* _argo0
= 0;
4187 PyObject
* _obj1
= 0;
4188 char *_kwnames
[] = { "self","pos", NULL
};
4192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDragImage_GetImageRect",_kwnames
,&_argo0
,&_obj1
))
4195 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4196 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
4197 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_GetImageRect. Expected _wxGenericDragImage_p.");
4203 if (! wxPoint_helper(_obj1
, &_arg1
))
4207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4208 _result
= new wxRect (wxDragImage_GetImageRect(_arg0
,*_arg1
));
4210 wxPyEndAllowThreads(__tstate
);
4211 if (PyErr_Occurred()) return NULL
;
4212 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
4213 _resultobj
= Py_BuildValue("s",_ptemp
);
4217 #define wxDragImage_RedrawImage(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->RedrawImage(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4218 static PyObject
*_wrap_wxDragImage_RedrawImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4219 PyObject
* _resultobj
;
4221 wxGenericDragImage
* _arg0
;
4226 PyObject
* _argo0
= 0;
4228 PyObject
* _obj1
= 0;
4230 PyObject
* _obj2
= 0;
4233 char *_kwnames
[] = { "self","oldPos","newPos","eraseOld","drawNew", NULL
};
4236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOii:wxDragImage_RedrawImage",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&tempbool3
,&tempbool4
))
4239 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4240 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
4241 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_RedrawImage. Expected _wxGenericDragImage_p.");
4247 if (! wxPoint_helper(_obj1
, &_arg1
))
4252 if (! wxPoint_helper(_obj2
, &_arg2
))
4255 _arg3
= (bool ) tempbool3
;
4256 _arg4
= (bool ) tempbool4
;
4258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4259 _result
= (bool )wxDragImage_RedrawImage(_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
);
4261 wxPyEndAllowThreads(__tstate
);
4262 if (PyErr_Occurred()) return NULL
;
4263 } _resultobj
= Py_BuildValue("i",_result
);
4267 static void *SwigwxPyTimerTowxObject(void *ptr
) {
4270 src
= (wxPyTimer
*) ptr
;
4271 dest
= (wxObject
*) src
;
4272 return (void *) dest
;
4275 #define new_wxPyTimer(_swigarg0) (new wxPyTimer(_swigarg0))
4276 static PyObject
*_wrap_new_wxPyTimer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4277 PyObject
* _resultobj
;
4278 wxPyTimer
* _result
;
4280 PyObject
* _obj0
= 0;
4281 char *_kwnames
[] = { "notify", NULL
};
4285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxPyTimer",_kwnames
,&_obj0
))
4291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4292 _result
= (wxPyTimer
*)new_wxPyTimer(_arg0
);
4294 wxPyEndAllowThreads(__tstate
);
4295 if (PyErr_Occurred()) return NULL
;
4297 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTimer_p");
4298 _resultobj
= Py_BuildValue("s",_ptemp
);
4301 _resultobj
= Py_None
;
4306 #define delete_wxPyTimer(_swigobj) (delete _swigobj)
4307 static PyObject
*_wrap_delete_wxPyTimer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4308 PyObject
* _resultobj
;
4310 PyObject
* _argo0
= 0;
4311 char *_kwnames
[] = { "self", NULL
};
4314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPyTimer",_kwnames
,&_argo0
))
4317 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4318 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4319 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPyTimer. Expected _wxPyTimer_p.");
4324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4325 delete_wxPyTimer(_arg0
);
4327 wxPyEndAllowThreads(__tstate
);
4328 if (PyErr_Occurred()) return NULL
;
4329 } Py_INCREF(Py_None
);
4330 _resultobj
= Py_None
;
4334 #define wxPyTimer_GetInterval(_swigobj) (_swigobj->GetInterval())
4335 static PyObject
*_wrap_wxPyTimer_GetInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4336 PyObject
* _resultobj
;
4339 PyObject
* _argo0
= 0;
4340 char *_kwnames
[] = { "self", NULL
};
4343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_GetInterval",_kwnames
,&_argo0
))
4346 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4347 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4348 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_GetInterval. Expected _wxPyTimer_p.");
4353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4354 _result
= (int )wxPyTimer_GetInterval(_arg0
);
4356 wxPyEndAllowThreads(__tstate
);
4357 if (PyErr_Occurred()) return NULL
;
4358 } _resultobj
= Py_BuildValue("i",_result
);
4362 #define wxPyTimer_IsOneShot(_swigobj) (_swigobj->IsOneShot())
4363 static PyObject
*_wrap_wxPyTimer_IsOneShot(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4364 PyObject
* _resultobj
;
4367 PyObject
* _argo0
= 0;
4368 char *_kwnames
[] = { "self", NULL
};
4371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_IsOneShot",_kwnames
,&_argo0
))
4374 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4375 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4376 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_IsOneShot. Expected _wxPyTimer_p.");
4381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4382 _result
= (bool )wxPyTimer_IsOneShot(_arg0
);
4384 wxPyEndAllowThreads(__tstate
);
4385 if (PyErr_Occurred()) return NULL
;
4386 } _resultobj
= Py_BuildValue("i",_result
);
4390 #define wxPyTimer_IsRunning(_swigobj) (_swigobj->IsRunning())
4391 static PyObject
*_wrap_wxPyTimer_IsRunning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4392 PyObject
* _resultobj
;
4395 PyObject
* _argo0
= 0;
4396 char *_kwnames
[] = { "self", NULL
};
4399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_IsRunning",_kwnames
,&_argo0
))
4402 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4403 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4404 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_IsRunning. Expected _wxPyTimer_p.");
4409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4410 _result
= (bool )wxPyTimer_IsRunning(_arg0
);
4412 wxPyEndAllowThreads(__tstate
);
4413 if (PyErr_Occurred()) return NULL
;
4414 } _resultobj
= Py_BuildValue("i",_result
);
4418 #define wxPyTimer_SetOwner(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetOwner(_swigarg0,_swigarg1))
4419 static PyObject
*_wrap_wxPyTimer_SetOwner(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4420 PyObject
* _resultobj
;
4422 wxEvtHandler
* _arg1
;
4423 int _arg2
= (int ) -1;
4424 PyObject
* _argo0
= 0;
4425 PyObject
* _argo1
= 0;
4426 char *_kwnames
[] = { "self","owner","id", NULL
};
4429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxPyTimer_SetOwner",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
4432 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4433 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4434 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_SetOwner. Expected _wxPyTimer_p.");
4439 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4440 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
4441 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyTimer_SetOwner. Expected _wxEvtHandler_p.");
4446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4447 wxPyTimer_SetOwner(_arg0
,_arg1
,_arg2
);
4449 wxPyEndAllowThreads(__tstate
);
4450 if (PyErr_Occurred()) return NULL
;
4451 } Py_INCREF(Py_None
);
4452 _resultobj
= Py_None
;
4456 #define wxPyTimer_Start(_swigobj,_swigarg0,_swigarg1) (_swigobj->Start(_swigarg0,_swigarg1))
4457 static PyObject
*_wrap_wxPyTimer_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4458 PyObject
* _resultobj
;
4460 int _arg1
= (int ) -1;
4461 int _arg2
= (int ) FALSE
;
4462 PyObject
* _argo0
= 0;
4463 char *_kwnames
[] = { "self","milliseconds","oneShot", NULL
};
4466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxPyTimer_Start",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4469 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4470 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4471 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_Start. Expected _wxPyTimer_p.");
4476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4477 wxPyTimer_Start(_arg0
,_arg1
,_arg2
);
4479 wxPyEndAllowThreads(__tstate
);
4480 if (PyErr_Occurred()) return NULL
;
4481 } Py_INCREF(Py_None
);
4482 _resultobj
= Py_None
;
4486 #define wxPyTimer_Stop(_swigobj) (_swigobj->Stop())
4487 static PyObject
*_wrap_wxPyTimer_Stop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4488 PyObject
* _resultobj
;
4490 PyObject
* _argo0
= 0;
4491 char *_kwnames
[] = { "self", NULL
};
4494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_Stop",_kwnames
,&_argo0
))
4497 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4498 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4499 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_Stop. Expected _wxPyTimer_p.");
4504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4505 wxPyTimer_Stop(_arg0
);
4507 wxPyEndAllowThreads(__tstate
);
4508 if (PyErr_Occurred()) return NULL
;
4509 } Py_INCREF(Py_None
);
4510 _resultobj
= Py_None
;
4514 #define new_wxStopWatch() (new wxStopWatch())
4515 static PyObject
*_wrap_new_wxStopWatch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4516 PyObject
* _resultobj
;
4517 wxStopWatch
* _result
;
4518 char *_kwnames
[] = { NULL
};
4522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxStopWatch",_kwnames
))
4525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4526 _result
= (wxStopWatch
*)new_wxStopWatch();
4528 wxPyEndAllowThreads(__tstate
);
4529 if (PyErr_Occurred()) return NULL
;
4531 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStopWatch_p");
4532 _resultobj
= Py_BuildValue("s",_ptemp
);
4535 _resultobj
= Py_None
;
4540 #define delete_wxStopWatch(_swigobj) (delete _swigobj)
4541 static PyObject
*_wrap_delete_wxStopWatch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4542 PyObject
* _resultobj
;
4543 wxStopWatch
* _arg0
;
4544 PyObject
* _argo0
= 0;
4545 char *_kwnames
[] = { "self", NULL
};
4548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxStopWatch",_kwnames
,&_argo0
))
4551 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4552 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStopWatch_p")) {
4553 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxStopWatch. Expected _wxStopWatch_p.");
4558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4559 delete_wxStopWatch(_arg0
);
4561 wxPyEndAllowThreads(__tstate
);
4562 if (PyErr_Occurred()) return NULL
;
4563 } Py_INCREF(Py_None
);
4564 _resultobj
= Py_None
;
4568 #define wxStopWatch_Start(_swigobj,_swigarg0) (_swigobj->Start(_swigarg0))
4569 static PyObject
*_wrap_wxStopWatch_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4570 PyObject
* _resultobj
;
4571 wxStopWatch
* _arg0
;
4572 long _arg1
= (long ) 0;
4573 PyObject
* _argo0
= 0;
4574 char *_kwnames
[] = { "self","t", NULL
};
4577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|l:wxStopWatch_Start",_kwnames
,&_argo0
,&_arg1
))
4580 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4581 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStopWatch_p")) {
4582 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStopWatch_Start. Expected _wxStopWatch_p.");
4587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4588 wxStopWatch_Start(_arg0
,_arg1
);
4590 wxPyEndAllowThreads(__tstate
);
4591 if (PyErr_Occurred()) return NULL
;
4592 } Py_INCREF(Py_None
);
4593 _resultobj
= Py_None
;
4597 #define wxStopWatch_Pause(_swigobj) (_swigobj->Pause())
4598 static PyObject
*_wrap_wxStopWatch_Pause(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4599 PyObject
* _resultobj
;
4600 wxStopWatch
* _arg0
;
4601 PyObject
* _argo0
= 0;
4602 char *_kwnames
[] = { "self", NULL
};
4605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStopWatch_Pause",_kwnames
,&_argo0
))
4608 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4609 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStopWatch_p")) {
4610 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStopWatch_Pause. Expected _wxStopWatch_p.");
4615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4616 wxStopWatch_Pause(_arg0
);
4618 wxPyEndAllowThreads(__tstate
);
4619 if (PyErr_Occurred()) return NULL
;
4620 } Py_INCREF(Py_None
);
4621 _resultobj
= Py_None
;
4625 #define wxStopWatch_Resume(_swigobj) (_swigobj->Resume())
4626 static PyObject
*_wrap_wxStopWatch_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4627 PyObject
* _resultobj
;
4628 wxStopWatch
* _arg0
;
4629 PyObject
* _argo0
= 0;
4630 char *_kwnames
[] = { "self", NULL
};
4633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStopWatch_Resume",_kwnames
,&_argo0
))
4636 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4637 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStopWatch_p")) {
4638 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStopWatch_Resume. Expected _wxStopWatch_p.");
4643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4644 wxStopWatch_Resume(_arg0
);
4646 wxPyEndAllowThreads(__tstate
);
4647 if (PyErr_Occurred()) return NULL
;
4648 } Py_INCREF(Py_None
);
4649 _resultobj
= Py_None
;
4653 #define wxStopWatch_Time(_swigobj) (_swigobj->Time())
4654 static PyObject
*_wrap_wxStopWatch_Time(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4655 PyObject
* _resultobj
;
4657 wxStopWatch
* _arg0
;
4658 PyObject
* _argo0
= 0;
4659 char *_kwnames
[] = { "self", NULL
};
4662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStopWatch_Time",_kwnames
,&_argo0
))
4665 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4666 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStopWatch_p")) {
4667 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStopWatch_Time. Expected _wxStopWatch_p.");
4672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4673 _result
= (long )wxStopWatch_Time(_arg0
);
4675 wxPyEndAllowThreads(__tstate
);
4676 if (PyErr_Occurred()) return NULL
;
4677 } _resultobj
= Py_BuildValue("l",_result
);
4681 #define new_wxLog() (new wxLog())
4682 static PyObject
*_wrap_new_wxLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4683 PyObject
* _resultobj
;
4685 char *_kwnames
[] = { NULL
};
4689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLog",_kwnames
))
4692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4693 _result
= (wxLog
*)new_wxLog();
4695 wxPyEndAllowThreads(__tstate
);
4696 if (PyErr_Occurred()) return NULL
;
4698 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
4699 _resultobj
= Py_BuildValue("s",_ptemp
);
4702 _resultobj
= Py_None
;
4707 static PyObject
*_wrap_wxLog_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4708 PyObject
* _resultobj
;
4710 char *_kwnames
[] = { NULL
};
4713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_IsEnabled",_kwnames
))
4716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4717 _result
= (bool )wxLog::IsEnabled();
4719 wxPyEndAllowThreads(__tstate
);
4720 if (PyErr_Occurred()) return NULL
;
4721 } _resultobj
= Py_BuildValue("i",_result
);
4725 static PyObject
*_wrap_wxLog_EnableLogging(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4726 PyObject
* _resultobj
;
4728 bool _arg0
= (bool ) TRUE
;
4729 int tempbool0
= (int) TRUE
;
4730 char *_kwnames
[] = { "doIt", NULL
};
4733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:wxLog_EnableLogging",_kwnames
,&tempbool0
))
4735 _arg0
= (bool ) tempbool0
;
4737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4738 _result
= (bool )wxLog::EnableLogging(_arg0
);
4740 wxPyEndAllowThreads(__tstate
);
4741 if (PyErr_Occurred()) return NULL
;
4742 } _resultobj
= Py_BuildValue("i",_result
);
4746 static PyObject
*_wrap_wxLog_OnLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4747 PyObject
* _resultobj
;
4748 unsigned long _arg0
;
4750 int _arg2
= (int ) 0;
4751 PyObject
* _obj1
= 0;
4752 char *_kwnames
[] = { "level","szString","t", NULL
};
4755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"lO|i:wxLog_OnLog",_kwnames
,&_arg0
,&_obj1
,&_arg2
))
4758 _arg1
= wxString_in_helper(_obj1
);
4763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4764 wxLog::OnLog(_arg0
,*_arg1
,_arg2
);
4766 wxPyEndAllowThreads(__tstate
);
4767 if (PyErr_Occurred()) return NULL
;
4768 } Py_INCREF(Py_None
);
4769 _resultobj
= Py_None
;
4777 #define wxLog_Flush(_swigobj) (_swigobj->Flush())
4778 static PyObject
*_wrap_wxLog_Flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4779 PyObject
* _resultobj
;
4781 PyObject
* _argo0
= 0;
4782 char *_kwnames
[] = { "self", NULL
};
4785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_Flush",_kwnames
,&_argo0
))
4788 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4789 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
4790 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_Flush. Expected _wxLog_p.");
4795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4798 wxPyEndAllowThreads(__tstate
);
4799 if (PyErr_Occurred()) return NULL
;
4800 } Py_INCREF(Py_None
);
4801 _resultobj
= Py_None
;
4805 #define wxLog_HasPendingMessages(_swigobj) (_swigobj->HasPendingMessages())
4806 static PyObject
*_wrap_wxLog_HasPendingMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4807 PyObject
* _resultobj
;
4810 PyObject
* _argo0
= 0;
4811 char *_kwnames
[] = { "self", NULL
};
4814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_HasPendingMessages",_kwnames
,&_argo0
))
4817 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4818 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
4819 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_HasPendingMessages. Expected _wxLog_p.");
4824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4825 _result
= (bool )wxLog_HasPendingMessages(_arg0
);
4827 wxPyEndAllowThreads(__tstate
);
4828 if (PyErr_Occurred()) return NULL
;
4829 } _resultobj
= Py_BuildValue("i",_result
);
4833 static PyObject
*_wrap_wxLog_FlushActive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4834 PyObject
* _resultobj
;
4835 char *_kwnames
[] = { NULL
};
4838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_FlushActive",_kwnames
))
4841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4842 wxLog::FlushActive();
4844 wxPyEndAllowThreads(__tstate
);
4845 if (PyErr_Occurred()) return NULL
;
4846 } Py_INCREF(Py_None
);
4847 _resultobj
= Py_None
;
4851 static PyObject
*_wrap_wxLog_GetActiveTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4852 PyObject
* _resultobj
;
4854 char *_kwnames
[] = { NULL
};
4858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_GetActiveTarget",_kwnames
))
4861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4862 _result
= (wxLog
*)wxLog::GetActiveTarget();
4864 wxPyEndAllowThreads(__tstate
);
4865 if (PyErr_Occurred()) return NULL
;
4867 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
4868 _resultobj
= Py_BuildValue("s",_ptemp
);
4871 _resultobj
= Py_None
;
4876 static PyObject
*_wrap_wxLog_SetActiveTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4877 PyObject
* _resultobj
;
4880 PyObject
* _argo0
= 0;
4881 char *_kwnames
[] = { "pLogger", NULL
};
4885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_SetActiveTarget",_kwnames
,&_argo0
))
4888 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4889 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
4890 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_SetActiveTarget. Expected _wxLog_p.");
4895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4896 _result
= (wxLog
*)wxLog::SetActiveTarget(_arg0
);
4898 wxPyEndAllowThreads(__tstate
);
4899 if (PyErr_Occurred()) return NULL
;
4901 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
4902 _resultobj
= Py_BuildValue("s",_ptemp
);
4905 _resultobj
= Py_None
;
4910 static PyObject
*_wrap_wxLog_Suspend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4911 PyObject
* _resultobj
;
4912 char *_kwnames
[] = { NULL
};
4915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_Suspend",_kwnames
))
4918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4921 wxPyEndAllowThreads(__tstate
);
4922 if (PyErr_Occurred()) return NULL
;
4923 } Py_INCREF(Py_None
);
4924 _resultobj
= Py_None
;
4928 static PyObject
*_wrap_wxLog_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4929 PyObject
* _resultobj
;
4930 char *_kwnames
[] = { NULL
};
4933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_Resume",_kwnames
))
4936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4939 wxPyEndAllowThreads(__tstate
);
4940 if (PyErr_Occurred()) return NULL
;
4941 } Py_INCREF(Py_None
);
4942 _resultobj
= Py_None
;
4946 static PyObject
*_wrap_wxLog_SetVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4947 PyObject
* _resultobj
;
4948 bool _arg0
= (bool ) TRUE
;
4949 int tempbool0
= (int) TRUE
;
4950 char *_kwnames
[] = { "bVerbose", NULL
};
4953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:wxLog_SetVerbose",_kwnames
,&tempbool0
))
4955 _arg0
= (bool ) tempbool0
;
4957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4958 wxLog::SetVerbose(_arg0
);
4960 wxPyEndAllowThreads(__tstate
);
4961 if (PyErr_Occurred()) return NULL
;
4962 } Py_INCREF(Py_None
);
4963 _resultobj
= Py_None
;
4967 static PyObject
*_wrap_wxLog_DontCreateOnDemand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4968 PyObject
* _resultobj
;
4969 char *_kwnames
[] = { NULL
};
4972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_DontCreateOnDemand",_kwnames
))
4975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4976 wxLog::DontCreateOnDemand();
4978 wxPyEndAllowThreads(__tstate
);
4979 if (PyErr_Occurred()) return NULL
;
4980 } Py_INCREF(Py_None
);
4981 _resultobj
= Py_None
;
4985 static PyObject
*_wrap_wxLog_SetTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4986 PyObject
* _resultobj
;
4988 char *_kwnames
[] = { "ulMask", NULL
};
4991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:wxLog_SetTraceMask",_kwnames
,&_arg0
))
4994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4995 wxLog::SetTraceMask(_arg0
);
4997 wxPyEndAllowThreads(__tstate
);
4998 if (PyErr_Occurred()) return NULL
;
4999 } Py_INCREF(Py_None
);
5000 _resultobj
= Py_None
;
5004 static PyObject
*_wrap_wxLog_AddTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5005 PyObject
* _resultobj
;
5007 PyObject
* _obj0
= 0;
5008 char *_kwnames
[] = { "str", NULL
};
5011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_AddTraceMask",_kwnames
,&_obj0
))
5014 _arg0
= wxString_in_helper(_obj0
);
5019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5020 wxLog::AddTraceMask(*_arg0
);
5022 wxPyEndAllowThreads(__tstate
);
5023 if (PyErr_Occurred()) return NULL
;
5024 } Py_INCREF(Py_None
);
5025 _resultobj
= Py_None
;
5033 static PyObject
*_wrap_wxLog_RemoveTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5034 PyObject
* _resultobj
;
5036 PyObject
* _obj0
= 0;
5037 char *_kwnames
[] = { "str", NULL
};
5040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_RemoveTraceMask",_kwnames
,&_obj0
))
5043 _arg0
= wxString_in_helper(_obj0
);
5048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5049 wxLog::RemoveTraceMask(*_arg0
);
5051 wxPyEndAllowThreads(__tstate
);
5052 if (PyErr_Occurred()) return NULL
;
5053 } Py_INCREF(Py_None
);
5054 _resultobj
= Py_None
;
5062 static PyObject
*_wrap_wxLog_ClearTraceMasks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5063 PyObject
* _resultobj
;
5064 char *_kwnames
[] = { NULL
};
5067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_ClearTraceMasks",_kwnames
))
5070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5071 wxLog::ClearTraceMasks();
5073 wxPyEndAllowThreads(__tstate
);
5074 if (PyErr_Occurred()) return NULL
;
5075 } Py_INCREF(Py_None
);
5076 _resultobj
= Py_None
;
5080 static PyObject
*_wrap_wxLog_GetTraceMasks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5081 PyObject
* _resultobj
;
5082 wxArrayString
* _result
;
5083 char *_kwnames
[] = { NULL
};
5087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_GetTraceMasks",_kwnames
))
5090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5091 const wxArrayString
& _result_ref
= wxLog::GetTraceMasks();
5092 _result
= (wxArrayString
*) &_result_ref
;
5094 wxPyEndAllowThreads(__tstate
);
5095 if (PyErr_Occurred()) return NULL
;
5097 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxArrayString_p");
5098 _resultobj
= Py_BuildValue("s",_ptemp
);
5101 _resultobj
= Py_None
;
5106 static PyObject
*_wrap_wxLog_SetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5107 PyObject
* _resultobj
;
5109 PyObject
* _obj0
= 0;
5110 char *_kwnames
[] = { "ts", NULL
};
5113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_SetTimestamp",_kwnames
,&_obj0
))
5116 _arg0
= wxString_in_helper(_obj0
);
5121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5122 wxLog::SetTimestamp(*_arg0
);
5124 wxPyEndAllowThreads(__tstate
);
5125 if (PyErr_Occurred()) return NULL
;
5126 } Py_INCREF(Py_None
);
5127 _resultobj
= Py_None
;
5135 static PyObject
*_wrap_wxLog_GetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5136 PyObject
* _resultobj
;
5138 char *_kwnames
[] = { NULL
};
5141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_GetTimestamp",_kwnames
))
5144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5145 const wxString
& _result_ref
= wxLog::GetTimestamp();
5146 _result
= (wxString
*) &_result_ref
;
5148 wxPyEndAllowThreads(__tstate
);
5149 if (PyErr_Occurred()) return NULL
;
5152 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
5154 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5160 #define wxLog_GetVerbose(_swigobj) (_swigobj->GetVerbose())
5161 static PyObject
*_wrap_wxLog_GetVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5162 PyObject
* _resultobj
;
5165 PyObject
* _argo0
= 0;
5166 char *_kwnames
[] = { "self", NULL
};
5169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_GetVerbose",_kwnames
,&_argo0
))
5172 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5173 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
5174 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_GetVerbose. Expected _wxLog_p.");
5179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5180 _result
= (bool )wxLog_GetVerbose(_arg0
);
5182 wxPyEndAllowThreads(__tstate
);
5183 if (PyErr_Occurred()) return NULL
;
5184 } _resultobj
= Py_BuildValue("i",_result
);
5188 static PyObject
*_wrap_wxLog_GetTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5189 PyObject
* _resultobj
;
5190 unsigned long _result
;
5191 char *_kwnames
[] = { NULL
};
5194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_GetTraceMask",_kwnames
))
5197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5198 _result
= (unsigned long )wxLog::GetTraceMask();
5200 wxPyEndAllowThreads(__tstate
);
5201 if (PyErr_Occurred()) return NULL
;
5202 } _resultobj
= Py_BuildValue("l",_result
);
5206 static PyObject
*_wrap_wxLog_IsAllowedTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5207 PyObject
* _resultobj
;
5210 PyObject
* _obj0
= 0;
5211 char *_kwnames
[] = { "mask", NULL
};
5214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_IsAllowedTraceMask",_kwnames
,&_obj0
))
5217 _arg0
= wxString_in_helper(_obj0
);
5222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5223 _result
= (bool )wxLog::IsAllowedTraceMask(*_arg0
);
5225 wxPyEndAllowThreads(__tstate
);
5226 if (PyErr_Occurred()) return NULL
;
5227 } _resultobj
= Py_BuildValue("i",_result
);
5235 static wxString
wxLog_TimeStamp(wxLog
*self
) {
5237 wxLog::TimeStamp(&msg
);
5240 static PyObject
*_wrap_wxLog_TimeStamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5241 PyObject
* _resultobj
;
5244 PyObject
* _argo0
= 0;
5245 char *_kwnames
[] = { "self", NULL
};
5248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_TimeStamp",_kwnames
,&_argo0
))
5251 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5252 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
5253 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_TimeStamp. Expected _wxLog_p.");
5258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5259 _result
= new wxString (wxLog_TimeStamp(_arg0
));
5261 wxPyEndAllowThreads(__tstate
);
5262 if (PyErr_Occurred()) return NULL
;
5265 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
5267 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5276 static void *SwigwxLogStderrTowxLog(void *ptr
) {
5279 src
= (wxLogStderr
*) ptr
;
5280 dest
= (wxLog
*) src
;
5281 return (void *) dest
;
5284 #define new_wxLogStderr() (new wxLogStderr())
5285 static PyObject
*_wrap_new_wxLogStderr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5286 PyObject
* _resultobj
;
5287 wxLogStderr
* _result
;
5288 char *_kwnames
[] = { NULL
};
5292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLogStderr",_kwnames
))
5295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5296 _result
= (wxLogStderr
*)new_wxLogStderr();
5298 wxPyEndAllowThreads(__tstate
);
5299 if (PyErr_Occurred()) return NULL
;
5301 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogStderr_p");
5302 _resultobj
= Py_BuildValue("s",_ptemp
);
5305 _resultobj
= Py_None
;
5310 static void *SwigwxLogTextCtrlTowxLog(void *ptr
) {
5313 src
= (wxLogTextCtrl
*) ptr
;
5314 dest
= (wxLog
*) src
;
5315 return (void *) dest
;
5318 #define new_wxLogTextCtrl(_swigarg0) (new wxLogTextCtrl(_swigarg0))
5319 static PyObject
*_wrap_new_wxLogTextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5320 PyObject
* _resultobj
;
5321 wxLogTextCtrl
* _result
;
5323 PyObject
* _argo0
= 0;
5324 char *_kwnames
[] = { "pTextCtrl", NULL
};
5328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxLogTextCtrl",_kwnames
,&_argo0
))
5331 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5332 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
5333 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxLogTextCtrl. Expected _wxTextCtrl_p.");
5338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5339 _result
= (wxLogTextCtrl
*)new_wxLogTextCtrl(_arg0
);
5341 wxPyEndAllowThreads(__tstate
);
5342 if (PyErr_Occurred()) return NULL
;
5344 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogTextCtrl_p");
5345 _resultobj
= Py_BuildValue("s",_ptemp
);
5348 _resultobj
= Py_None
;
5353 static void *SwigwxLogGuiTowxLog(void *ptr
) {
5356 src
= (wxLogGui
*) ptr
;
5357 dest
= (wxLog
*) src
;
5358 return (void *) dest
;
5361 #define new_wxLogGui() (new wxLogGui())
5362 static PyObject
*_wrap_new_wxLogGui(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5363 PyObject
* _resultobj
;
5365 char *_kwnames
[] = { NULL
};
5369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLogGui",_kwnames
))
5372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5373 _result
= (wxLogGui
*)new_wxLogGui();
5375 wxPyEndAllowThreads(__tstate
);
5376 if (PyErr_Occurred()) return NULL
;
5378 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogGui_p");
5379 _resultobj
= Py_BuildValue("s",_ptemp
);
5382 _resultobj
= Py_None
;
5387 static void *SwigwxLogWindowTowxLog(void *ptr
) {
5390 src
= (wxLogWindow
*) ptr
;
5391 dest
= (wxLog
*) src
;
5392 return (void *) dest
;
5395 #define new_wxLogWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxLogWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5396 static PyObject
*_wrap_new_wxLogWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5397 PyObject
* _resultobj
;
5398 wxLogWindow
* _result
;
5401 bool _arg2
= (bool ) TRUE
;
5402 bool _arg3
= (bool ) TRUE
;
5403 PyObject
* _argo0
= 0;
5404 PyObject
* _obj1
= 0;
5405 int tempbool2
= (int) TRUE
;
5406 int tempbool3
= (int) TRUE
;
5407 char *_kwnames
[] = { "pParent","szTitle","bShow","bPassToOld", NULL
};
5411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|ii:new_wxLogWindow",_kwnames
,&_argo0
,&_obj1
,&tempbool2
,&tempbool3
))
5414 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5415 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
5416 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxLogWindow. Expected _wxFrame_p.");
5421 _arg1
= wxString_in_helper(_obj1
);
5425 _arg2
= (bool ) tempbool2
;
5426 _arg3
= (bool ) tempbool3
;
5428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5429 _result
= (wxLogWindow
*)new_wxLogWindow(_arg0
,*_arg1
,_arg2
,_arg3
);
5431 wxPyEndAllowThreads(__tstate
);
5432 if (PyErr_Occurred()) return NULL
;
5434 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogWindow_p");
5435 _resultobj
= Py_BuildValue("s",_ptemp
);
5438 _resultobj
= Py_None
;
5447 #define wxLogWindow_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
5448 static PyObject
*_wrap_wxLogWindow_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5449 PyObject
* _resultobj
;
5450 wxLogWindow
* _arg0
;
5451 bool _arg1
= (bool ) TRUE
;
5452 PyObject
* _argo0
= 0;
5453 int tempbool1
= (int) TRUE
;
5454 char *_kwnames
[] = { "self","bShow", NULL
};
5457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxLogWindow_Show",_kwnames
,&_argo0
,&tempbool1
))
5460 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5461 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
5462 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_Show. Expected _wxLogWindow_p.");
5466 _arg1
= (bool ) tempbool1
;
5468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5469 wxLogWindow_Show(_arg0
,_arg1
);
5471 wxPyEndAllowThreads(__tstate
);
5472 if (PyErr_Occurred()) return NULL
;
5473 } Py_INCREF(Py_None
);
5474 _resultobj
= Py_None
;
5478 #define wxLogWindow_GetFrame(_swigobj) (_swigobj->GetFrame())
5479 static PyObject
*_wrap_wxLogWindow_GetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5480 PyObject
* _resultobj
;
5482 wxLogWindow
* _arg0
;
5483 PyObject
* _argo0
= 0;
5484 char *_kwnames
[] = { "self", NULL
};
5487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogWindow_GetFrame",_kwnames
,&_argo0
))
5490 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5491 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
5492 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_GetFrame. Expected _wxLogWindow_p.");
5497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5498 _result
= (wxFrame
*)wxLogWindow_GetFrame(_arg0
);
5500 wxPyEndAllowThreads(__tstate
);
5501 if (PyErr_Occurred()) return NULL
;
5502 }{ _resultobj
= wxPyMake_wxObject(_result
); }
5506 #define wxLogWindow_GetOldLog(_swigobj) (_swigobj->GetOldLog())
5507 static PyObject
*_wrap_wxLogWindow_GetOldLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5508 PyObject
* _resultobj
;
5510 wxLogWindow
* _arg0
;
5511 PyObject
* _argo0
= 0;
5512 char *_kwnames
[] = { "self", NULL
};
5516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogWindow_GetOldLog",_kwnames
,&_argo0
))
5519 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5520 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
5521 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_GetOldLog. Expected _wxLogWindow_p.");
5526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5527 _result
= (wxLog
*)wxLogWindow_GetOldLog(_arg0
);
5529 wxPyEndAllowThreads(__tstate
);
5530 if (PyErr_Occurred()) return NULL
;
5532 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
5533 _resultobj
= Py_BuildValue("s",_ptemp
);
5536 _resultobj
= Py_None
;
5541 #define wxLogWindow_IsPassingMessages(_swigobj) (_swigobj->IsPassingMessages())
5542 static PyObject
*_wrap_wxLogWindow_IsPassingMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5543 PyObject
* _resultobj
;
5545 wxLogWindow
* _arg0
;
5546 PyObject
* _argo0
= 0;
5547 char *_kwnames
[] = { "self", NULL
};
5550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogWindow_IsPassingMessages",_kwnames
,&_argo0
))
5553 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5554 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
5555 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_IsPassingMessages. Expected _wxLogWindow_p.");
5560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5561 _result
= (bool )wxLogWindow_IsPassingMessages(_arg0
);
5563 wxPyEndAllowThreads(__tstate
);
5564 if (PyErr_Occurred()) return NULL
;
5565 } _resultobj
= Py_BuildValue("i",_result
);
5569 #define wxLogWindow_PassMessages(_swigobj,_swigarg0) (_swigobj->PassMessages(_swigarg0))
5570 static PyObject
*_wrap_wxLogWindow_PassMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5571 PyObject
* _resultobj
;
5572 wxLogWindow
* _arg0
;
5574 PyObject
* _argo0
= 0;
5576 char *_kwnames
[] = { "self","bDoPass", NULL
};
5579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxLogWindow_PassMessages",_kwnames
,&_argo0
,&tempbool1
))
5582 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5583 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
5584 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_PassMessages. Expected _wxLogWindow_p.");
5588 _arg1
= (bool ) tempbool1
;
5590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5591 wxLogWindow_PassMessages(_arg0
,_arg1
);
5593 wxPyEndAllowThreads(__tstate
);
5594 if (PyErr_Occurred()) return NULL
;
5595 } Py_INCREF(Py_None
);
5596 _resultobj
= Py_None
;
5600 static void *SwigwxLogChainTowxLog(void *ptr
) {
5603 src
= (wxLogChain
*) ptr
;
5604 dest
= (wxLog
*) src
;
5605 return (void *) dest
;
5608 #define new_wxLogChain(_swigarg0) (new wxLogChain(_swigarg0))
5609 static PyObject
*_wrap_new_wxLogChain(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5610 PyObject
* _resultobj
;
5611 wxLogChain
* _result
;
5613 PyObject
* _argo0
= 0;
5614 char *_kwnames
[] = { "logger", NULL
};
5618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxLogChain",_kwnames
,&_argo0
))
5621 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5622 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
5623 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxLogChain. Expected _wxLog_p.");
5628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5629 _result
= (wxLogChain
*)new_wxLogChain(_arg0
);
5631 wxPyEndAllowThreads(__tstate
);
5632 if (PyErr_Occurred()) return NULL
;
5634 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogChain_p");
5635 _resultobj
= Py_BuildValue("s",_ptemp
);
5638 _resultobj
= Py_None
;
5643 #define wxLogChain_SetLog(_swigobj,_swigarg0) (_swigobj->SetLog(_swigarg0))
5644 static PyObject
*_wrap_wxLogChain_SetLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5645 PyObject
* _resultobj
;
5648 PyObject
* _argo0
= 0;
5649 PyObject
* _argo1
= 0;
5650 char *_kwnames
[] = { "self","logger", NULL
};
5653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxLogChain_SetLog",_kwnames
,&_argo0
,&_argo1
))
5656 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5657 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogChain_p")) {
5658 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogChain_SetLog. Expected _wxLogChain_p.");
5663 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5664 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxLog_p")) {
5665 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxLogChain_SetLog. Expected _wxLog_p.");
5670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5671 wxLogChain_SetLog(_arg0
,_arg1
);
5673 wxPyEndAllowThreads(__tstate
);
5674 if (PyErr_Occurred()) return NULL
;
5675 } Py_INCREF(Py_None
);
5676 _resultobj
= Py_None
;
5680 #define wxLogChain_PassMessages(_swigobj,_swigarg0) (_swigobj->PassMessages(_swigarg0))
5681 static PyObject
*_wrap_wxLogChain_PassMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5682 PyObject
* _resultobj
;
5685 PyObject
* _argo0
= 0;
5687 char *_kwnames
[] = { "self","bDoPass", NULL
};
5690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxLogChain_PassMessages",_kwnames
,&_argo0
,&tempbool1
))
5693 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5694 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogChain_p")) {
5695 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogChain_PassMessages. Expected _wxLogChain_p.");
5699 _arg1
= (bool ) tempbool1
;
5701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5702 wxLogChain_PassMessages(_arg0
,_arg1
);
5704 wxPyEndAllowThreads(__tstate
);
5705 if (PyErr_Occurred()) return NULL
;
5706 } Py_INCREF(Py_None
);
5707 _resultobj
= Py_None
;
5711 #define wxLogChain_IsPassingMessages(_swigobj) (_swigobj->IsPassingMessages())
5712 static PyObject
*_wrap_wxLogChain_IsPassingMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5713 PyObject
* _resultobj
;
5716 PyObject
* _argo0
= 0;
5717 char *_kwnames
[] = { "self", NULL
};
5720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogChain_IsPassingMessages",_kwnames
,&_argo0
))
5723 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5724 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogChain_p")) {
5725 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogChain_IsPassingMessages. Expected _wxLogChain_p.");
5730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5731 _result
= (bool )wxLogChain_IsPassingMessages(_arg0
);
5733 wxPyEndAllowThreads(__tstate
);
5734 if (PyErr_Occurred()) return NULL
;
5735 } _resultobj
= Py_BuildValue("i",_result
);
5739 #define wxLogChain_GetOldLog(_swigobj) (_swigobj->GetOldLog())
5740 static PyObject
*_wrap_wxLogChain_GetOldLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5741 PyObject
* _resultobj
;
5744 PyObject
* _argo0
= 0;
5745 char *_kwnames
[] = { "self", NULL
};
5749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogChain_GetOldLog",_kwnames
,&_argo0
))
5752 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5753 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogChain_p")) {
5754 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogChain_GetOldLog. Expected _wxLogChain_p.");
5759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5760 _result
= (wxLog
*)wxLogChain_GetOldLog(_arg0
);
5762 wxPyEndAllowThreads(__tstate
);
5763 if (PyErr_Occurred()) return NULL
;
5765 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
5766 _resultobj
= Py_BuildValue("s",_ptemp
);
5769 _resultobj
= Py_None
;
5774 #define new_wxLogNull() (new wxLogNull())
5775 static PyObject
*_wrap_new_wxLogNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5776 PyObject
* _resultobj
;
5777 wxLogNull
* _result
;
5778 char *_kwnames
[] = { NULL
};
5782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLogNull",_kwnames
))
5785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5786 _result
= (wxLogNull
*)new_wxLogNull();
5788 wxPyEndAllowThreads(__tstate
);
5789 if (PyErr_Occurred()) return NULL
;
5791 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogNull_p");
5792 _resultobj
= Py_BuildValue("s",_ptemp
);
5795 _resultobj
= Py_None
;
5800 #define delete_wxLogNull(_swigobj) (delete _swigobj)
5801 static PyObject
*_wrap_delete_wxLogNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5802 PyObject
* _resultobj
;
5804 PyObject
* _argo0
= 0;
5805 char *_kwnames
[] = { "self", NULL
};
5808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxLogNull",_kwnames
,&_argo0
))
5811 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5812 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogNull_p")) {
5813 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxLogNull. Expected _wxLogNull_p.");
5818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5819 delete_wxLogNull(_arg0
);
5821 wxPyEndAllowThreads(__tstate
);
5822 if (PyErr_Occurred()) return NULL
;
5823 } Py_INCREF(Py_None
);
5824 _resultobj
= Py_None
;
5828 static void *SwigwxPyLogTowxLog(void *ptr
) {
5831 src
= (wxPyLog
*) ptr
;
5832 dest
= (wxLog
*) src
;
5833 return (void *) dest
;
5836 #define new_wxPyLog() (new wxPyLog())
5837 static PyObject
*_wrap_new_wxPyLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5838 PyObject
* _resultobj
;
5840 char *_kwnames
[] = { NULL
};
5844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPyLog",_kwnames
))
5847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5848 _result
= (wxPyLog
*)new_wxPyLog();
5850 wxPyEndAllowThreads(__tstate
);
5851 if (PyErr_Occurred()) return NULL
;
5853 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyLog_p");
5854 _resultobj
= Py_BuildValue("s",_ptemp
);
5857 _resultobj
= Py_None
;
5862 #define wxPyLog__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
5863 static PyObject
*_wrap_wxPyLog__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5864 PyObject
* _resultobj
;
5868 PyObject
* _argo0
= 0;
5869 PyObject
* _obj1
= 0;
5870 PyObject
* _obj2
= 0;
5871 char *_kwnames
[] = { "self","self","_class", NULL
};
5874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyLog__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
5877 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5878 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLog_p")) {
5879 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLog__setCallbackInfo. Expected _wxPyLog_p.");
5890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5891 wxPyLog__setCallbackInfo(_arg0
,_arg1
,_arg2
);
5893 wxPyEndAllowThreads(__tstate
);
5894 if (PyErr_Occurred()) return NULL
;
5895 } Py_INCREF(Py_None
);
5896 _resultobj
= Py_None
;
5900 static void wxPyLog_Destroy(wxPyLog
*self
) { delete self
; }
5901 static PyObject
*_wrap_wxPyLog_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5902 PyObject
* _resultobj
;
5904 PyObject
* _argo0
= 0;
5905 char *_kwnames
[] = { "self", NULL
};
5908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyLog_Destroy",_kwnames
,&_argo0
))
5911 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5912 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLog_p")) {
5913 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLog_Destroy. Expected _wxPyLog_p.");
5918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5919 wxPyLog_Destroy(_arg0
);
5921 wxPyEndAllowThreads(__tstate
);
5922 if (PyErr_Occurred()) return NULL
;
5923 } Py_INCREF(Py_None
);
5924 _resultobj
= Py_None
;
5928 static void *SwigwxProcessEventTowxEvent(void *ptr
) {
5929 wxProcessEvent
*src
;
5931 src
= (wxProcessEvent
*) ptr
;
5932 dest
= (wxEvent
*) src
;
5933 return (void *) dest
;
5936 static void *SwigwxProcessEventTowxObject(void *ptr
) {
5937 wxProcessEvent
*src
;
5939 src
= (wxProcessEvent
*) ptr
;
5940 dest
= (wxObject
*) src
;
5941 return (void *) dest
;
5944 #define new_wxProcessEvent(_swigarg0,_swigarg1,_swigarg2) (new wxProcessEvent(_swigarg0,_swigarg1,_swigarg2))
5945 static PyObject
*_wrap_new_wxProcessEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5946 PyObject
* _resultobj
;
5947 wxProcessEvent
* _result
;
5948 int _arg0
= (int ) 0;
5949 int _arg1
= (int ) 0;
5950 int _arg2
= (int ) 0;
5951 char *_kwnames
[] = { "id","pid","exitcode", NULL
};
5955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iii:new_wxProcessEvent",_kwnames
,&_arg0
,&_arg1
,&_arg2
))
5958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5959 _result
= (wxProcessEvent
*)new_wxProcessEvent(_arg0
,_arg1
,_arg2
);
5961 wxPyEndAllowThreads(__tstate
);
5962 if (PyErr_Occurred()) return NULL
;
5964 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxProcessEvent_p");
5965 _resultobj
= Py_BuildValue("s",_ptemp
);
5968 _resultobj
= Py_None
;
5973 #define wxProcessEvent_GetPid(_swigobj) (_swigobj->GetPid())
5974 static PyObject
*_wrap_wxProcessEvent_GetPid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5975 PyObject
* _resultobj
;
5977 wxProcessEvent
* _arg0
;
5978 PyObject
* _argo0
= 0;
5979 char *_kwnames
[] = { "self", NULL
};
5982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcessEvent_GetPid",_kwnames
,&_argo0
))
5985 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5986 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
5987 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_GetPid. Expected _wxProcessEvent_p.");
5992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5993 _result
= (int )wxProcessEvent_GetPid(_arg0
);
5995 wxPyEndAllowThreads(__tstate
);
5996 if (PyErr_Occurred()) return NULL
;
5997 } _resultobj
= Py_BuildValue("i",_result
);
6001 #define wxProcessEvent_GetExitCode(_swigobj) (_swigobj->GetExitCode())
6002 static PyObject
*_wrap_wxProcessEvent_GetExitCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6003 PyObject
* _resultobj
;
6005 wxProcessEvent
* _arg0
;
6006 PyObject
* _argo0
= 0;
6007 char *_kwnames
[] = { "self", NULL
};
6010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcessEvent_GetExitCode",_kwnames
,&_argo0
))
6013 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6014 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
6015 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_GetExitCode. Expected _wxProcessEvent_p.");
6020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6021 _result
= (int )wxProcessEvent_GetExitCode(_arg0
);
6023 wxPyEndAllowThreads(__tstate
);
6024 if (PyErr_Occurred()) return NULL
;
6025 } _resultobj
= Py_BuildValue("i",_result
);
6029 #define wxProcessEvent_m_pid_set(_swigobj,_swigval) (_swigobj->m_pid = _swigval,_swigval)
6030 static PyObject
*_wrap_wxProcessEvent_m_pid_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6031 PyObject
* _resultobj
;
6033 wxProcessEvent
* _arg0
;
6035 PyObject
* _argo0
= 0;
6036 char *_kwnames
[] = { "self","m_pid", NULL
};
6039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxProcessEvent_m_pid_set",_kwnames
,&_argo0
,&_arg1
))
6042 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6043 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
6044 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_m_pid_set. Expected _wxProcessEvent_p.");
6049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6050 _result
= (int )wxProcessEvent_m_pid_set(_arg0
,_arg1
);
6052 wxPyEndAllowThreads(__tstate
);
6053 if (PyErr_Occurred()) return NULL
;
6054 } _resultobj
= Py_BuildValue("i",_result
);
6058 #define wxProcessEvent_m_pid_get(_swigobj) ((int ) _swigobj->m_pid)
6059 static PyObject
*_wrap_wxProcessEvent_m_pid_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6060 PyObject
* _resultobj
;
6062 wxProcessEvent
* _arg0
;
6063 PyObject
* _argo0
= 0;
6064 char *_kwnames
[] = { "self", NULL
};
6067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcessEvent_m_pid_get",_kwnames
,&_argo0
))
6070 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6071 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
6072 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_m_pid_get. Expected _wxProcessEvent_p.");
6077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6078 _result
= (int )wxProcessEvent_m_pid_get(_arg0
);
6080 wxPyEndAllowThreads(__tstate
);
6081 if (PyErr_Occurred()) return NULL
;
6082 } _resultobj
= Py_BuildValue("i",_result
);
6086 #define wxProcessEvent_m_exitcode_set(_swigobj,_swigval) (_swigobj->m_exitcode = _swigval,_swigval)
6087 static PyObject
*_wrap_wxProcessEvent_m_exitcode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6088 PyObject
* _resultobj
;
6090 wxProcessEvent
* _arg0
;
6092 PyObject
* _argo0
= 0;
6093 char *_kwnames
[] = { "self","m_exitcode", NULL
};
6096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxProcessEvent_m_exitcode_set",_kwnames
,&_argo0
,&_arg1
))
6099 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6100 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
6101 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_m_exitcode_set. Expected _wxProcessEvent_p.");
6106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6107 _result
= (int )wxProcessEvent_m_exitcode_set(_arg0
,_arg1
);
6109 wxPyEndAllowThreads(__tstate
);
6110 if (PyErr_Occurred()) return NULL
;
6111 } _resultobj
= Py_BuildValue("i",_result
);
6115 #define wxProcessEvent_m_exitcode_get(_swigobj) ((int ) _swigobj->m_exitcode)
6116 static PyObject
*_wrap_wxProcessEvent_m_exitcode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6117 PyObject
* _resultobj
;
6119 wxProcessEvent
* _arg0
;
6120 PyObject
* _argo0
= 0;
6121 char *_kwnames
[] = { "self", NULL
};
6124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcessEvent_m_exitcode_get",_kwnames
,&_argo0
))
6127 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6128 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
6129 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_m_exitcode_get. Expected _wxProcessEvent_p.");
6134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6135 _result
= (int )wxProcessEvent_m_exitcode_get(_arg0
);
6137 wxPyEndAllowThreads(__tstate
);
6138 if (PyErr_Occurred()) return NULL
;
6139 } _resultobj
= Py_BuildValue("i",_result
);
6143 static void *SwigwxPyProcessTowxEvtHandler(void *ptr
) {
6146 src
= (wxPyProcess
*) ptr
;
6147 dest
= (wxEvtHandler
*) src
;
6148 return (void *) dest
;
6151 static void *SwigwxPyProcessTowxObject(void *ptr
) {
6154 src
= (wxPyProcess
*) ptr
;
6155 dest
= (wxObject
*) src
;
6156 return (void *) dest
;
6159 static PyObject
*_wrap_wxProcess_Kill(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6160 PyObject
* _resultobj
;
6161 wxKillError _result
;
6163 wxSignal _arg1
= (wxSignal
) (wxSIGTERM
);
6164 char *_kwnames
[] = { "pid","sig", NULL
};
6167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i|i:wxProcess_Kill",_kwnames
,&_arg0
,&_arg1
))
6170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6171 _result
= (wxKillError
)wxPyProcess::Kill(_arg0
,_arg1
);
6173 wxPyEndAllowThreads(__tstate
);
6174 if (PyErr_Occurred()) return NULL
;
6175 } _resultobj
= Py_BuildValue("i",_result
);
6179 static PyObject
*_wrap_wxProcess_Exists(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6180 PyObject
* _resultobj
;
6183 char *_kwnames
[] = { "pid", NULL
};
6186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxProcess_Exists",_kwnames
,&_arg0
))
6189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6190 _result
= (bool )wxPyProcess::Exists(_arg0
);
6192 wxPyEndAllowThreads(__tstate
);
6193 if (PyErr_Occurred()) return NULL
;
6194 } _resultobj
= Py_BuildValue("i",_result
);
6198 static PyObject
*_wrap_wxProcess_Open(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6199 PyObject
* _resultobj
;
6200 wxPyProcess
* _result
;
6202 int _arg1
= (int ) wxEXEC_ASYNC
;
6203 PyObject
* _obj0
= 0;
6204 char *_kwnames
[] = { "cmd","flags", NULL
};
6208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxProcess_Open",_kwnames
,&_obj0
,&_arg1
))
6211 _arg0
= wxString_in_helper(_obj0
);
6216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6217 _result
= (wxPyProcess
*)wxPyProcess::Open(*_arg0
,_arg1
);
6219 wxPyEndAllowThreads(__tstate
);
6220 if (PyErr_Occurred()) return NULL
;
6222 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyProcess_p");
6223 _resultobj
= Py_BuildValue("s",_ptemp
);
6226 _resultobj
= Py_None
;
6235 #define new_wxProcess(_swigarg0,_swigarg1) (new wxPyProcess(_swigarg0,_swigarg1))
6236 static PyObject
*_wrap_new_wxProcess(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6237 PyObject
* _resultobj
;
6238 wxPyProcess
* _result
;
6239 wxEvtHandler
* _arg0
= (wxEvtHandler
*) NULL
;
6240 int _arg1
= (int ) -1;
6241 PyObject
* _argo0
= 0;
6242 char *_kwnames
[] = { "parent","id", NULL
};
6246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|Oi:new_wxProcess",_kwnames
,&_argo0
,&_arg1
))
6249 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6250 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
6251 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxProcess. Expected _wxEvtHandler_p.");
6256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6257 _result
= (wxPyProcess
*)new_wxProcess(_arg0
,_arg1
);
6259 wxPyEndAllowThreads(__tstate
);
6260 if (PyErr_Occurred()) return NULL
;
6262 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyProcess_p");
6263 _resultobj
= Py_BuildValue("s",_ptemp
);
6266 _resultobj
= Py_None
;
6271 static void wxPyProcess_Destroy(wxPyProcess
*self
) { delete self
; }
6272 static PyObject
*_wrap_wxProcess_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6273 PyObject
* _resultobj
;
6274 wxPyProcess
* _arg0
;
6275 PyObject
* _argo0
= 0;
6276 char *_kwnames
[] = { "self", NULL
};
6279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_Destroy",_kwnames
,&_argo0
))
6282 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6283 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6284 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_Destroy. Expected _wxPyProcess_p.");
6289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6290 wxPyProcess_Destroy(_arg0
);
6292 wxPyEndAllowThreads(__tstate
);
6293 if (PyErr_Occurred()) return NULL
;
6294 } Py_INCREF(Py_None
);
6295 _resultobj
= Py_None
;
6299 #define wxProcess__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
6300 static PyObject
*_wrap_wxProcess__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6301 PyObject
* _resultobj
;
6302 wxPyProcess
* _arg0
;
6305 PyObject
* _argo0
= 0;
6306 PyObject
* _obj1
= 0;
6307 PyObject
* _obj2
= 0;
6308 char *_kwnames
[] = { "self","self","_class", NULL
};
6311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxProcess__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
6314 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6315 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6316 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess__setCallbackInfo. Expected _wxPyProcess_p.");
6327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6328 wxProcess__setCallbackInfo(_arg0
,_arg1
,_arg2
);
6330 wxPyEndAllowThreads(__tstate
);
6331 if (PyErr_Occurred()) return NULL
;
6332 } Py_INCREF(Py_None
);
6333 _resultobj
= Py_None
;
6337 #define wxProcess_base_OnTerminate(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnTerminate(_swigarg0,_swigarg1))
6338 static PyObject
*_wrap_wxProcess_base_OnTerminate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6339 PyObject
* _resultobj
;
6340 wxPyProcess
* _arg0
;
6343 PyObject
* _argo0
= 0;
6344 char *_kwnames
[] = { "self","pid","status", NULL
};
6347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxProcess_base_OnTerminate",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6350 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6351 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6352 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_base_OnTerminate. Expected _wxPyProcess_p.");
6357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6358 wxProcess_base_OnTerminate(_arg0
,_arg1
,_arg2
);
6360 wxPyEndAllowThreads(__tstate
);
6361 if (PyErr_Occurred()) return NULL
;
6362 } Py_INCREF(Py_None
);
6363 _resultobj
= Py_None
;
6367 #define wxProcess_Redirect(_swigobj) (_swigobj->Redirect())
6368 static PyObject
*_wrap_wxProcess_Redirect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6369 PyObject
* _resultobj
;
6370 wxPyProcess
* _arg0
;
6371 PyObject
* _argo0
= 0;
6372 char *_kwnames
[] = { "self", NULL
};
6375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_Redirect",_kwnames
,&_argo0
))
6378 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6379 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6380 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_Redirect. Expected _wxPyProcess_p.");
6385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6386 wxProcess_Redirect(_arg0
);
6388 wxPyEndAllowThreads(__tstate
);
6389 if (PyErr_Occurred()) return NULL
;
6390 } Py_INCREF(Py_None
);
6391 _resultobj
= Py_None
;
6395 #define wxProcess_IsRedirected(_swigobj) (_swigobj->IsRedirected())
6396 static PyObject
*_wrap_wxProcess_IsRedirected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6397 PyObject
* _resultobj
;
6399 wxPyProcess
* _arg0
;
6400 PyObject
* _argo0
= 0;
6401 char *_kwnames
[] = { "self", NULL
};
6404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_IsRedirected",_kwnames
,&_argo0
))
6407 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6408 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6409 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_IsRedirected. Expected _wxPyProcess_p.");
6414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6415 _result
= (bool )wxProcess_IsRedirected(_arg0
);
6417 wxPyEndAllowThreads(__tstate
);
6418 if (PyErr_Occurred()) return NULL
;
6419 } _resultobj
= Py_BuildValue("i",_result
);
6423 #define wxProcess_Detach(_swigobj) (_swigobj->Detach())
6424 static PyObject
*_wrap_wxProcess_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6425 PyObject
* _resultobj
;
6426 wxPyProcess
* _arg0
;
6427 PyObject
* _argo0
= 0;
6428 char *_kwnames
[] = { "self", NULL
};
6431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_Detach",_kwnames
,&_argo0
))
6434 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6435 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6436 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_Detach. Expected _wxPyProcess_p.");
6441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6442 wxProcess_Detach(_arg0
);
6444 wxPyEndAllowThreads(__tstate
);
6445 if (PyErr_Occurred()) return NULL
;
6446 } Py_INCREF(Py_None
);
6447 _resultobj
= Py_None
;
6451 #define wxProcess_GetInputStream(_swigobj) (_swigobj->GetInputStream())
6452 static PyObject
*_wrap_wxProcess_GetInputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6453 PyObject
* _resultobj
;
6454 wxInputStream
* _result
;
6455 wxPyProcess
* _arg0
;
6456 PyObject
* _argo0
= 0;
6457 char *_kwnames
[] = { "self", NULL
};
6460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_GetInputStream",_kwnames
,&_argo0
))
6463 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6464 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6465 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_GetInputStream. Expected _wxPyProcess_p.");
6470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6471 _result
= (wxInputStream
*)wxProcess_GetInputStream(_arg0
);
6473 wxPyEndAllowThreads(__tstate
);
6474 if (PyErr_Occurred()) return NULL
;
6476 wxPyInputStream
* _ptr
= NULL
;
6479 _ptr
= new wxPyInputStream(_result
);
6481 _resultobj
= wxPyConstructObject(_ptr
, "wxInputStream", TRUE
);
6486 #define wxProcess_GetErrorStream(_swigobj) (_swigobj->GetErrorStream())
6487 static PyObject
*_wrap_wxProcess_GetErrorStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6488 PyObject
* _resultobj
;
6489 wxInputStream
* _result
;
6490 wxPyProcess
* _arg0
;
6491 PyObject
* _argo0
= 0;
6492 char *_kwnames
[] = { "self", NULL
};
6495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_GetErrorStream",_kwnames
,&_argo0
))
6498 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6499 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6500 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_GetErrorStream. Expected _wxPyProcess_p.");
6505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6506 _result
= (wxInputStream
*)wxProcess_GetErrorStream(_arg0
);
6508 wxPyEndAllowThreads(__tstate
);
6509 if (PyErr_Occurred()) return NULL
;
6511 wxPyInputStream
* _ptr
= NULL
;
6514 _ptr
= new wxPyInputStream(_result
);
6516 _resultobj
= wxPyConstructObject(_ptr
, "wxInputStream", TRUE
);
6521 #define wxProcess_GetOutputStream(_swigobj) (_swigobj->GetOutputStream())
6522 static PyObject
*_wrap_wxProcess_GetOutputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6523 PyObject
* _resultobj
;
6524 wxOutputStream
* _result
;
6525 wxPyProcess
* _arg0
;
6526 PyObject
* _argo0
= 0;
6527 char *_kwnames
[] = { "self", NULL
};
6531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_GetOutputStream",_kwnames
,&_argo0
))
6534 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6535 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6536 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_GetOutputStream. Expected _wxPyProcess_p.");
6541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6542 _result
= (wxOutputStream
*)wxProcess_GetOutputStream(_arg0
);
6544 wxPyEndAllowThreads(__tstate
);
6545 if (PyErr_Occurred()) return NULL
;
6547 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxOutputStream_p");
6548 _resultobj
= Py_BuildValue("s",_ptemp
);
6551 _resultobj
= Py_None
;
6556 #define wxProcess_CloseOutput(_swigobj) (_swigobj->CloseOutput())
6557 static PyObject
*_wrap_wxProcess_CloseOutput(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6558 PyObject
* _resultobj
;
6559 wxPyProcess
* _arg0
;
6560 PyObject
* _argo0
= 0;
6561 char *_kwnames
[] = { "self", NULL
};
6564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_CloseOutput",_kwnames
,&_argo0
))
6567 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6568 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6569 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_CloseOutput. Expected _wxPyProcess_p.");
6574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6575 wxProcess_CloseOutput(_arg0
);
6577 wxPyEndAllowThreads(__tstate
);
6578 if (PyErr_Occurred()) return NULL
;
6579 } Py_INCREF(Py_None
);
6580 _resultobj
= Py_None
;
6584 #define wxProcess_IsInputOpened(_swigobj) (_swigobj->IsInputOpened())
6585 static PyObject
*_wrap_wxProcess_IsInputOpened(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6586 PyObject
* _resultobj
;
6588 wxPyProcess
* _arg0
;
6589 PyObject
* _argo0
= 0;
6590 char *_kwnames
[] = { "self", NULL
};
6593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_IsInputOpened",_kwnames
,&_argo0
))
6596 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6597 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6598 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_IsInputOpened. Expected _wxPyProcess_p.");
6603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6604 _result
= (bool )wxProcess_IsInputOpened(_arg0
);
6606 wxPyEndAllowThreads(__tstate
);
6607 if (PyErr_Occurred()) return NULL
;
6608 } _resultobj
= Py_BuildValue("i",_result
);
6612 #define wxProcess_IsInputAvailable(_swigobj) (_swigobj->IsInputAvailable())
6613 static PyObject
*_wrap_wxProcess_IsInputAvailable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6614 PyObject
* _resultobj
;
6616 wxPyProcess
* _arg0
;
6617 PyObject
* _argo0
= 0;
6618 char *_kwnames
[] = { "self", NULL
};
6621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_IsInputAvailable",_kwnames
,&_argo0
))
6624 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6625 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6626 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_IsInputAvailable. Expected _wxPyProcess_p.");
6631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6632 _result
= (bool )wxProcess_IsInputAvailable(_arg0
);
6634 wxPyEndAllowThreads(__tstate
);
6635 if (PyErr_Occurred()) return NULL
;
6636 } _resultobj
= Py_BuildValue("i",_result
);
6640 #define wxProcess_IsErrorAvailable(_swigobj) (_swigobj->IsErrorAvailable())
6641 static PyObject
*_wrap_wxProcess_IsErrorAvailable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6642 PyObject
* _resultobj
;
6644 wxPyProcess
* _arg0
;
6645 PyObject
* _argo0
= 0;
6646 char *_kwnames
[] = { "self", NULL
};
6649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_IsErrorAvailable",_kwnames
,&_argo0
))
6652 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6653 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6654 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_IsErrorAvailable. Expected _wxPyProcess_p.");
6659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6660 _result
= (bool )wxProcess_IsErrorAvailable(_arg0
);
6662 wxPyEndAllowThreads(__tstate
);
6663 if (PyErr_Occurred()) return NULL
;
6664 } _resultobj
= Py_BuildValue("i",_result
);
6668 static void *SwigwxJoystickTowxObject(void *ptr
) {
6671 src
= (wxJoystick
*) ptr
;
6672 dest
= (wxObject
*) src
;
6673 return (void *) dest
;
6676 #define new_wxJoystick(_swigarg0) (new wxJoystick(_swigarg0))
6677 static PyObject
*_wrap_new_wxJoystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6678 PyObject
* _resultobj
;
6679 wxJoystick
* _result
;
6680 int _arg0
= (int ) (wxJOYSTICK1
);
6681 char *_kwnames
[] = { "joystick", NULL
};
6685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxJoystick",_kwnames
,&_arg0
))
6688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6689 _result
= (wxJoystick
*)new_wxJoystick(_arg0
);
6691 wxPyEndAllowThreads(__tstate
);
6692 if (PyErr_Occurred()) return NULL
;
6694 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxJoystick_p");
6695 _resultobj
= Py_BuildValue("s",_ptemp
);
6698 _resultobj
= Py_None
;
6703 #define delete_wxJoystick(_swigobj) (delete _swigobj)
6704 static PyObject
*_wrap_delete_wxJoystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6705 PyObject
* _resultobj
;
6707 PyObject
* _argo0
= 0;
6708 char *_kwnames
[] = { "self", NULL
};
6711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxJoystick",_kwnames
,&_argo0
))
6714 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6715 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6716 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxJoystick. Expected _wxJoystick_p.");
6721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6722 delete_wxJoystick(_arg0
);
6724 wxPyEndAllowThreads(__tstate
);
6725 if (PyErr_Occurred()) return NULL
;
6726 } Py_INCREF(Py_None
);
6727 _resultobj
= Py_None
;
6731 #define wxJoystick_GetPosition(_swigobj) (_swigobj->GetPosition())
6732 static PyObject
*_wrap_wxJoystick_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6733 PyObject
* _resultobj
;
6736 PyObject
* _argo0
= 0;
6737 char *_kwnames
[] = { "self", NULL
};
6741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPosition",_kwnames
,&_argo0
))
6744 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6745 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6746 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPosition. Expected _wxJoystick_p.");
6751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6752 _result
= new wxPoint (wxJoystick_GetPosition(_arg0
));
6754 wxPyEndAllowThreads(__tstate
);
6755 if (PyErr_Occurred()) return NULL
;
6756 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
6757 _resultobj
= Py_BuildValue("s",_ptemp
);
6761 #define wxJoystick_GetZPosition(_swigobj) (_swigobj->GetZPosition())
6762 static PyObject
*_wrap_wxJoystick_GetZPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6763 PyObject
* _resultobj
;
6766 PyObject
* _argo0
= 0;
6767 char *_kwnames
[] = { "self", NULL
};
6770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetZPosition",_kwnames
,&_argo0
))
6773 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6774 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6775 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetZPosition. Expected _wxJoystick_p.");
6780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6781 _result
= (int )wxJoystick_GetZPosition(_arg0
);
6783 wxPyEndAllowThreads(__tstate
);
6784 if (PyErr_Occurred()) return NULL
;
6785 } _resultobj
= Py_BuildValue("i",_result
);
6789 #define wxJoystick_GetButtonState(_swigobj) (_swigobj->GetButtonState())
6790 static PyObject
*_wrap_wxJoystick_GetButtonState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6791 PyObject
* _resultobj
;
6794 PyObject
* _argo0
= 0;
6795 char *_kwnames
[] = { "self", NULL
};
6798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetButtonState",_kwnames
,&_argo0
))
6801 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6802 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6803 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetButtonState. Expected _wxJoystick_p.");
6808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6809 _result
= (int )wxJoystick_GetButtonState(_arg0
);
6811 wxPyEndAllowThreads(__tstate
);
6812 if (PyErr_Occurred()) return NULL
;
6813 } _resultobj
= Py_BuildValue("i",_result
);
6817 #define wxJoystick_GetPOVPosition(_swigobj) (_swigobj->GetPOVPosition())
6818 static PyObject
*_wrap_wxJoystick_GetPOVPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6819 PyObject
* _resultobj
;
6822 PyObject
* _argo0
= 0;
6823 char *_kwnames
[] = { "self", NULL
};
6826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPOVPosition",_kwnames
,&_argo0
))
6829 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6830 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6831 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPOVPosition. Expected _wxJoystick_p.");
6836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6837 _result
= (int )wxJoystick_GetPOVPosition(_arg0
);
6839 wxPyEndAllowThreads(__tstate
);
6840 if (PyErr_Occurred()) return NULL
;
6841 } _resultobj
= Py_BuildValue("i",_result
);
6845 #define wxJoystick_GetPOVCTSPosition(_swigobj) (_swigobj->GetPOVCTSPosition())
6846 static PyObject
*_wrap_wxJoystick_GetPOVCTSPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6847 PyObject
* _resultobj
;
6850 PyObject
* _argo0
= 0;
6851 char *_kwnames
[] = { "self", NULL
};
6854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPOVCTSPosition",_kwnames
,&_argo0
))
6857 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6858 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6859 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPOVCTSPosition. Expected _wxJoystick_p.");
6864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6865 _result
= (int )wxJoystick_GetPOVCTSPosition(_arg0
);
6867 wxPyEndAllowThreads(__tstate
);
6868 if (PyErr_Occurred()) return NULL
;
6869 } _resultobj
= Py_BuildValue("i",_result
);
6873 #define wxJoystick_GetRudderPosition(_swigobj) (_swigobj->GetRudderPosition())
6874 static PyObject
*_wrap_wxJoystick_GetRudderPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6875 PyObject
* _resultobj
;
6878 PyObject
* _argo0
= 0;
6879 char *_kwnames
[] = { "self", NULL
};
6882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetRudderPosition",_kwnames
,&_argo0
))
6885 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6886 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6887 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetRudderPosition. Expected _wxJoystick_p.");
6892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6893 _result
= (int )wxJoystick_GetRudderPosition(_arg0
);
6895 wxPyEndAllowThreads(__tstate
);
6896 if (PyErr_Occurred()) return NULL
;
6897 } _resultobj
= Py_BuildValue("i",_result
);
6901 #define wxJoystick_GetUPosition(_swigobj) (_swigobj->GetUPosition())
6902 static PyObject
*_wrap_wxJoystick_GetUPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6903 PyObject
* _resultobj
;
6906 PyObject
* _argo0
= 0;
6907 char *_kwnames
[] = { "self", NULL
};
6910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetUPosition",_kwnames
,&_argo0
))
6913 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6914 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6915 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetUPosition. Expected _wxJoystick_p.");
6920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6921 _result
= (int )wxJoystick_GetUPosition(_arg0
);
6923 wxPyEndAllowThreads(__tstate
);
6924 if (PyErr_Occurred()) return NULL
;
6925 } _resultobj
= Py_BuildValue("i",_result
);
6929 #define wxJoystick_GetVPosition(_swigobj) (_swigobj->GetVPosition())
6930 static PyObject
*_wrap_wxJoystick_GetVPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6931 PyObject
* _resultobj
;
6934 PyObject
* _argo0
= 0;
6935 char *_kwnames
[] = { "self", NULL
};
6938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetVPosition",_kwnames
,&_argo0
))
6941 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6942 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6943 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetVPosition. Expected _wxJoystick_p.");
6948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6949 _result
= (int )wxJoystick_GetVPosition(_arg0
);
6951 wxPyEndAllowThreads(__tstate
);
6952 if (PyErr_Occurred()) return NULL
;
6953 } _resultobj
= Py_BuildValue("i",_result
);
6957 #define wxJoystick_GetMovementThreshold(_swigobj) (_swigobj->GetMovementThreshold())
6958 static PyObject
*_wrap_wxJoystick_GetMovementThreshold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6959 PyObject
* _resultobj
;
6962 PyObject
* _argo0
= 0;
6963 char *_kwnames
[] = { "self", NULL
};
6966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetMovementThreshold",_kwnames
,&_argo0
))
6969 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6970 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6971 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetMovementThreshold. Expected _wxJoystick_p.");
6976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6977 _result
= (int )wxJoystick_GetMovementThreshold(_arg0
);
6979 wxPyEndAllowThreads(__tstate
);
6980 if (PyErr_Occurred()) return NULL
;
6981 } _resultobj
= Py_BuildValue("i",_result
);
6985 #define wxJoystick_SetMovementThreshold(_swigobj,_swigarg0) (_swigobj->SetMovementThreshold(_swigarg0))
6986 static PyObject
*_wrap_wxJoystick_SetMovementThreshold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6987 PyObject
* _resultobj
;
6990 PyObject
* _argo0
= 0;
6991 char *_kwnames
[] = { "self","threshold", NULL
};
6994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxJoystick_SetMovementThreshold",_kwnames
,&_argo0
,&_arg1
))
6997 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6998 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6999 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_SetMovementThreshold. Expected _wxJoystick_p.");
7004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7005 wxJoystick_SetMovementThreshold(_arg0
,_arg1
);
7007 wxPyEndAllowThreads(__tstate
);
7008 if (PyErr_Occurred()) return NULL
;
7009 } Py_INCREF(Py_None
);
7010 _resultobj
= Py_None
;
7014 #define wxJoystick_IsOk(_swigobj) (_swigobj->IsOk())
7015 static PyObject
*_wrap_wxJoystick_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7016 PyObject
* _resultobj
;
7019 PyObject
* _argo0
= 0;
7020 char *_kwnames
[] = { "self", NULL
};
7023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_IsOk",_kwnames
,&_argo0
))
7026 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7027 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7028 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_IsOk. Expected _wxJoystick_p.");
7033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7034 _result
= (bool )wxJoystick_IsOk(_arg0
);
7036 wxPyEndAllowThreads(__tstate
);
7037 if (PyErr_Occurred()) return NULL
;
7038 } _resultobj
= Py_BuildValue("i",_result
);
7042 #define wxJoystick_GetNumberJoysticks(_swigobj) (_swigobj->GetNumberJoysticks())
7043 static PyObject
*_wrap_wxJoystick_GetNumberJoysticks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7044 PyObject
* _resultobj
;
7047 PyObject
* _argo0
= 0;
7048 char *_kwnames
[] = { "self", NULL
};
7051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetNumberJoysticks",_kwnames
,&_argo0
))
7054 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7055 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7056 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetNumberJoysticks. Expected _wxJoystick_p.");
7061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7062 _result
= (int )wxJoystick_GetNumberJoysticks(_arg0
);
7064 wxPyEndAllowThreads(__tstate
);
7065 if (PyErr_Occurred()) return NULL
;
7066 } _resultobj
= Py_BuildValue("i",_result
);
7070 #define wxJoystick_GetManufacturerId(_swigobj) (_swigobj->GetManufacturerId())
7071 static PyObject
*_wrap_wxJoystick_GetManufacturerId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7072 PyObject
* _resultobj
;
7075 PyObject
* _argo0
= 0;
7076 char *_kwnames
[] = { "self", NULL
};
7079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetManufacturerId",_kwnames
,&_argo0
))
7082 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7083 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7084 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetManufacturerId. Expected _wxJoystick_p.");
7089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7090 _result
= (int )wxJoystick_GetManufacturerId(_arg0
);
7092 wxPyEndAllowThreads(__tstate
);
7093 if (PyErr_Occurred()) return NULL
;
7094 } _resultobj
= Py_BuildValue("i",_result
);
7098 #define wxJoystick_GetProductId(_swigobj) (_swigobj->GetProductId())
7099 static PyObject
*_wrap_wxJoystick_GetProductId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7100 PyObject
* _resultobj
;
7103 PyObject
* _argo0
= 0;
7104 char *_kwnames
[] = { "self", NULL
};
7107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetProductId",_kwnames
,&_argo0
))
7110 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7111 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7112 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetProductId. Expected _wxJoystick_p.");
7117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7118 _result
= (int )wxJoystick_GetProductId(_arg0
);
7120 wxPyEndAllowThreads(__tstate
);
7121 if (PyErr_Occurred()) return NULL
;
7122 } _resultobj
= Py_BuildValue("i",_result
);
7126 #define wxJoystick_GetProductName(_swigobj) (_swigobj->GetProductName())
7127 static PyObject
*_wrap_wxJoystick_GetProductName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7128 PyObject
* _resultobj
;
7131 PyObject
* _argo0
= 0;
7132 char *_kwnames
[] = { "self", NULL
};
7135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetProductName",_kwnames
,&_argo0
))
7138 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7139 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7140 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetProductName. Expected _wxJoystick_p.");
7145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7146 _result
= new wxString (wxJoystick_GetProductName(_arg0
));
7148 wxPyEndAllowThreads(__tstate
);
7149 if (PyErr_Occurred()) return NULL
;
7152 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
7154 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
7163 #define wxJoystick_GetXMin(_swigobj) (_swigobj->GetXMin())
7164 static PyObject
*_wrap_wxJoystick_GetXMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7165 PyObject
* _resultobj
;
7168 PyObject
* _argo0
= 0;
7169 char *_kwnames
[] = { "self", NULL
};
7172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetXMin",_kwnames
,&_argo0
))
7175 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7176 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7177 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetXMin. Expected _wxJoystick_p.");
7182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7183 _result
= (int )wxJoystick_GetXMin(_arg0
);
7185 wxPyEndAllowThreads(__tstate
);
7186 if (PyErr_Occurred()) return NULL
;
7187 } _resultobj
= Py_BuildValue("i",_result
);
7191 #define wxJoystick_GetYMin(_swigobj) (_swigobj->GetYMin())
7192 static PyObject
*_wrap_wxJoystick_GetYMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7193 PyObject
* _resultobj
;
7196 PyObject
* _argo0
= 0;
7197 char *_kwnames
[] = { "self", NULL
};
7200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetYMin",_kwnames
,&_argo0
))
7203 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7204 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7205 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetYMin. Expected _wxJoystick_p.");
7210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7211 _result
= (int )wxJoystick_GetYMin(_arg0
);
7213 wxPyEndAllowThreads(__tstate
);
7214 if (PyErr_Occurred()) return NULL
;
7215 } _resultobj
= Py_BuildValue("i",_result
);
7219 #define wxJoystick_GetZMin(_swigobj) (_swigobj->GetZMin())
7220 static PyObject
*_wrap_wxJoystick_GetZMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7221 PyObject
* _resultobj
;
7224 PyObject
* _argo0
= 0;
7225 char *_kwnames
[] = { "self", NULL
};
7228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetZMin",_kwnames
,&_argo0
))
7231 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7232 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7233 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetZMin. Expected _wxJoystick_p.");
7238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7239 _result
= (int )wxJoystick_GetZMin(_arg0
);
7241 wxPyEndAllowThreads(__tstate
);
7242 if (PyErr_Occurred()) return NULL
;
7243 } _resultobj
= Py_BuildValue("i",_result
);
7247 #define wxJoystick_GetXMax(_swigobj) (_swigobj->GetXMax())
7248 static PyObject
*_wrap_wxJoystick_GetXMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7249 PyObject
* _resultobj
;
7252 PyObject
* _argo0
= 0;
7253 char *_kwnames
[] = { "self", NULL
};
7256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetXMax",_kwnames
,&_argo0
))
7259 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7260 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7261 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetXMax. Expected _wxJoystick_p.");
7266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7267 _result
= (int )wxJoystick_GetXMax(_arg0
);
7269 wxPyEndAllowThreads(__tstate
);
7270 if (PyErr_Occurred()) return NULL
;
7271 } _resultobj
= Py_BuildValue("i",_result
);
7275 #define wxJoystick_GetYMax(_swigobj) (_swigobj->GetYMax())
7276 static PyObject
*_wrap_wxJoystick_GetYMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7277 PyObject
* _resultobj
;
7280 PyObject
* _argo0
= 0;
7281 char *_kwnames
[] = { "self", NULL
};
7284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetYMax",_kwnames
,&_argo0
))
7287 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7288 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7289 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetYMax. Expected _wxJoystick_p.");
7294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7295 _result
= (int )wxJoystick_GetYMax(_arg0
);
7297 wxPyEndAllowThreads(__tstate
);
7298 if (PyErr_Occurred()) return NULL
;
7299 } _resultobj
= Py_BuildValue("i",_result
);
7303 #define wxJoystick_GetZMax(_swigobj) (_swigobj->GetZMax())
7304 static PyObject
*_wrap_wxJoystick_GetZMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7305 PyObject
* _resultobj
;
7308 PyObject
* _argo0
= 0;
7309 char *_kwnames
[] = { "self", NULL
};
7312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetZMax",_kwnames
,&_argo0
))
7315 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7316 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7317 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetZMax. Expected _wxJoystick_p.");
7322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7323 _result
= (int )wxJoystick_GetZMax(_arg0
);
7325 wxPyEndAllowThreads(__tstate
);
7326 if (PyErr_Occurred()) return NULL
;
7327 } _resultobj
= Py_BuildValue("i",_result
);
7331 #define wxJoystick_GetNumberButtons(_swigobj) (_swigobj->GetNumberButtons())
7332 static PyObject
*_wrap_wxJoystick_GetNumberButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7333 PyObject
* _resultobj
;
7336 PyObject
* _argo0
= 0;
7337 char *_kwnames
[] = { "self", NULL
};
7340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetNumberButtons",_kwnames
,&_argo0
))
7343 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7344 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7345 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetNumberButtons. Expected _wxJoystick_p.");
7350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7351 _result
= (int )wxJoystick_GetNumberButtons(_arg0
);
7353 wxPyEndAllowThreads(__tstate
);
7354 if (PyErr_Occurred()) return NULL
;
7355 } _resultobj
= Py_BuildValue("i",_result
);
7359 #define wxJoystick_GetNumberAxes(_swigobj) (_swigobj->GetNumberAxes())
7360 static PyObject
*_wrap_wxJoystick_GetNumberAxes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7361 PyObject
* _resultobj
;
7364 PyObject
* _argo0
= 0;
7365 char *_kwnames
[] = { "self", NULL
};
7368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetNumberAxes",_kwnames
,&_argo0
))
7371 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7372 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7373 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetNumberAxes. Expected _wxJoystick_p.");
7378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7379 _result
= (int )wxJoystick_GetNumberAxes(_arg0
);
7381 wxPyEndAllowThreads(__tstate
);
7382 if (PyErr_Occurred()) return NULL
;
7383 } _resultobj
= Py_BuildValue("i",_result
);
7387 #define wxJoystick_GetMaxButtons(_swigobj) (_swigobj->GetMaxButtons())
7388 static PyObject
*_wrap_wxJoystick_GetMaxButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7389 PyObject
* _resultobj
;
7392 PyObject
* _argo0
= 0;
7393 char *_kwnames
[] = { "self", NULL
};
7396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetMaxButtons",_kwnames
,&_argo0
))
7399 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7400 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7401 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetMaxButtons. Expected _wxJoystick_p.");
7406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7407 _result
= (int )wxJoystick_GetMaxButtons(_arg0
);
7409 wxPyEndAllowThreads(__tstate
);
7410 if (PyErr_Occurred()) return NULL
;
7411 } _resultobj
= Py_BuildValue("i",_result
);
7415 #define wxJoystick_GetMaxAxes(_swigobj) (_swigobj->GetMaxAxes())
7416 static PyObject
*_wrap_wxJoystick_GetMaxAxes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7417 PyObject
* _resultobj
;
7420 PyObject
* _argo0
= 0;
7421 char *_kwnames
[] = { "self", NULL
};
7424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetMaxAxes",_kwnames
,&_argo0
))
7427 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7428 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7429 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetMaxAxes. Expected _wxJoystick_p.");
7434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7435 _result
= (int )wxJoystick_GetMaxAxes(_arg0
);
7437 wxPyEndAllowThreads(__tstate
);
7438 if (PyErr_Occurred()) return NULL
;
7439 } _resultobj
= Py_BuildValue("i",_result
);
7443 #define wxJoystick_GetPollingMin(_swigobj) (_swigobj->GetPollingMin())
7444 static PyObject
*_wrap_wxJoystick_GetPollingMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7445 PyObject
* _resultobj
;
7448 PyObject
* _argo0
= 0;
7449 char *_kwnames
[] = { "self", NULL
};
7452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPollingMin",_kwnames
,&_argo0
))
7455 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7456 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7457 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPollingMin. Expected _wxJoystick_p.");
7462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7463 _result
= (int )wxJoystick_GetPollingMin(_arg0
);
7465 wxPyEndAllowThreads(__tstate
);
7466 if (PyErr_Occurred()) return NULL
;
7467 } _resultobj
= Py_BuildValue("i",_result
);
7471 #define wxJoystick_GetPollingMax(_swigobj) (_swigobj->GetPollingMax())
7472 static PyObject
*_wrap_wxJoystick_GetPollingMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7473 PyObject
* _resultobj
;
7476 PyObject
* _argo0
= 0;
7477 char *_kwnames
[] = { "self", NULL
};
7480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPollingMax",_kwnames
,&_argo0
))
7483 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7484 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7485 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPollingMax. Expected _wxJoystick_p.");
7490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7491 _result
= (int )wxJoystick_GetPollingMax(_arg0
);
7493 wxPyEndAllowThreads(__tstate
);
7494 if (PyErr_Occurred()) return NULL
;
7495 } _resultobj
= Py_BuildValue("i",_result
);
7499 #define wxJoystick_GetRudderMin(_swigobj) (_swigobj->GetRudderMin())
7500 static PyObject
*_wrap_wxJoystick_GetRudderMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7501 PyObject
* _resultobj
;
7504 PyObject
* _argo0
= 0;
7505 char *_kwnames
[] = { "self", NULL
};
7508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetRudderMin",_kwnames
,&_argo0
))
7511 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7512 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7513 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetRudderMin. Expected _wxJoystick_p.");
7518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7519 _result
= (int )wxJoystick_GetRudderMin(_arg0
);
7521 wxPyEndAllowThreads(__tstate
);
7522 if (PyErr_Occurred()) return NULL
;
7523 } _resultobj
= Py_BuildValue("i",_result
);
7527 #define wxJoystick_GetRudderMax(_swigobj) (_swigobj->GetRudderMax())
7528 static PyObject
*_wrap_wxJoystick_GetRudderMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7529 PyObject
* _resultobj
;
7532 PyObject
* _argo0
= 0;
7533 char *_kwnames
[] = { "self", NULL
};
7536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetRudderMax",_kwnames
,&_argo0
))
7539 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7540 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7541 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetRudderMax. Expected _wxJoystick_p.");
7546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7547 _result
= (int )wxJoystick_GetRudderMax(_arg0
);
7549 wxPyEndAllowThreads(__tstate
);
7550 if (PyErr_Occurred()) return NULL
;
7551 } _resultobj
= Py_BuildValue("i",_result
);
7555 #define wxJoystick_GetUMin(_swigobj) (_swigobj->GetUMin())
7556 static PyObject
*_wrap_wxJoystick_GetUMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7557 PyObject
* _resultobj
;
7560 PyObject
* _argo0
= 0;
7561 char *_kwnames
[] = { "self", NULL
};
7564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetUMin",_kwnames
,&_argo0
))
7567 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7568 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7569 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetUMin. Expected _wxJoystick_p.");
7574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7575 _result
= (int )wxJoystick_GetUMin(_arg0
);
7577 wxPyEndAllowThreads(__tstate
);
7578 if (PyErr_Occurred()) return NULL
;
7579 } _resultobj
= Py_BuildValue("i",_result
);
7583 #define wxJoystick_GetUMax(_swigobj) (_swigobj->GetUMax())
7584 static PyObject
*_wrap_wxJoystick_GetUMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7585 PyObject
* _resultobj
;
7588 PyObject
* _argo0
= 0;
7589 char *_kwnames
[] = { "self", NULL
};
7592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetUMax",_kwnames
,&_argo0
))
7595 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7596 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7597 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetUMax. Expected _wxJoystick_p.");
7602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7603 _result
= (int )wxJoystick_GetUMax(_arg0
);
7605 wxPyEndAllowThreads(__tstate
);
7606 if (PyErr_Occurred()) return NULL
;
7607 } _resultobj
= Py_BuildValue("i",_result
);
7611 #define wxJoystick_GetVMin(_swigobj) (_swigobj->GetVMin())
7612 static PyObject
*_wrap_wxJoystick_GetVMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7613 PyObject
* _resultobj
;
7616 PyObject
* _argo0
= 0;
7617 char *_kwnames
[] = { "self", NULL
};
7620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetVMin",_kwnames
,&_argo0
))
7623 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7624 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7625 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetVMin. Expected _wxJoystick_p.");
7630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7631 _result
= (int )wxJoystick_GetVMin(_arg0
);
7633 wxPyEndAllowThreads(__tstate
);
7634 if (PyErr_Occurred()) return NULL
;
7635 } _resultobj
= Py_BuildValue("i",_result
);
7639 #define wxJoystick_GetVMax(_swigobj) (_swigobj->GetVMax())
7640 static PyObject
*_wrap_wxJoystick_GetVMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7641 PyObject
* _resultobj
;
7644 PyObject
* _argo0
= 0;
7645 char *_kwnames
[] = { "self", NULL
};
7648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetVMax",_kwnames
,&_argo0
))
7651 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7652 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7653 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetVMax. Expected _wxJoystick_p.");
7658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7659 _result
= (int )wxJoystick_GetVMax(_arg0
);
7661 wxPyEndAllowThreads(__tstate
);
7662 if (PyErr_Occurred()) return NULL
;
7663 } _resultobj
= Py_BuildValue("i",_result
);
7667 #define wxJoystick_HasRudder(_swigobj) (_swigobj->HasRudder())
7668 static PyObject
*_wrap_wxJoystick_HasRudder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7669 PyObject
* _resultobj
;
7672 PyObject
* _argo0
= 0;
7673 char *_kwnames
[] = { "self", NULL
};
7676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasRudder",_kwnames
,&_argo0
))
7679 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7680 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7681 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasRudder. Expected _wxJoystick_p.");
7686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7687 _result
= (bool )wxJoystick_HasRudder(_arg0
);
7689 wxPyEndAllowThreads(__tstate
);
7690 if (PyErr_Occurred()) return NULL
;
7691 } _resultobj
= Py_BuildValue("i",_result
);
7695 #define wxJoystick_HasZ(_swigobj) (_swigobj->HasZ())
7696 static PyObject
*_wrap_wxJoystick_HasZ(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7697 PyObject
* _resultobj
;
7700 PyObject
* _argo0
= 0;
7701 char *_kwnames
[] = { "self", NULL
};
7704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasZ",_kwnames
,&_argo0
))
7707 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7708 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7709 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasZ. Expected _wxJoystick_p.");
7714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7715 _result
= (bool )wxJoystick_HasZ(_arg0
);
7717 wxPyEndAllowThreads(__tstate
);
7718 if (PyErr_Occurred()) return NULL
;
7719 } _resultobj
= Py_BuildValue("i",_result
);
7723 #define wxJoystick_HasU(_swigobj) (_swigobj->HasU())
7724 static PyObject
*_wrap_wxJoystick_HasU(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7725 PyObject
* _resultobj
;
7728 PyObject
* _argo0
= 0;
7729 char *_kwnames
[] = { "self", NULL
};
7732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasU",_kwnames
,&_argo0
))
7735 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7736 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7737 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasU. Expected _wxJoystick_p.");
7742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7743 _result
= (bool )wxJoystick_HasU(_arg0
);
7745 wxPyEndAllowThreads(__tstate
);
7746 if (PyErr_Occurred()) return NULL
;
7747 } _resultobj
= Py_BuildValue("i",_result
);
7751 #define wxJoystick_HasV(_swigobj) (_swigobj->HasV())
7752 static PyObject
*_wrap_wxJoystick_HasV(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7753 PyObject
* _resultobj
;
7756 PyObject
* _argo0
= 0;
7757 char *_kwnames
[] = { "self", NULL
};
7760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasV",_kwnames
,&_argo0
))
7763 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7764 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7765 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasV. Expected _wxJoystick_p.");
7770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7771 _result
= (bool )wxJoystick_HasV(_arg0
);
7773 wxPyEndAllowThreads(__tstate
);
7774 if (PyErr_Occurred()) return NULL
;
7775 } _resultobj
= Py_BuildValue("i",_result
);
7779 #define wxJoystick_HasPOV(_swigobj) (_swigobj->HasPOV())
7780 static PyObject
*_wrap_wxJoystick_HasPOV(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7781 PyObject
* _resultobj
;
7784 PyObject
* _argo0
= 0;
7785 char *_kwnames
[] = { "self", NULL
};
7788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasPOV",_kwnames
,&_argo0
))
7791 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7792 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7793 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasPOV. Expected _wxJoystick_p.");
7798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7799 _result
= (bool )wxJoystick_HasPOV(_arg0
);
7801 wxPyEndAllowThreads(__tstate
);
7802 if (PyErr_Occurred()) return NULL
;
7803 } _resultobj
= Py_BuildValue("i",_result
);
7807 #define wxJoystick_HasPOV4Dir(_swigobj) (_swigobj->HasPOV4Dir())
7808 static PyObject
*_wrap_wxJoystick_HasPOV4Dir(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7809 PyObject
* _resultobj
;
7812 PyObject
* _argo0
= 0;
7813 char *_kwnames
[] = { "self", NULL
};
7816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasPOV4Dir",_kwnames
,&_argo0
))
7819 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7820 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7821 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasPOV4Dir. Expected _wxJoystick_p.");
7826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7827 _result
= (bool )wxJoystick_HasPOV4Dir(_arg0
);
7829 wxPyEndAllowThreads(__tstate
);
7830 if (PyErr_Occurred()) return NULL
;
7831 } _resultobj
= Py_BuildValue("i",_result
);
7835 #define wxJoystick_HasPOVCTS(_swigobj) (_swigobj->HasPOVCTS())
7836 static PyObject
*_wrap_wxJoystick_HasPOVCTS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7837 PyObject
* _resultobj
;
7840 PyObject
* _argo0
= 0;
7841 char *_kwnames
[] = { "self", NULL
};
7844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasPOVCTS",_kwnames
,&_argo0
))
7847 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7848 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7849 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasPOVCTS. Expected _wxJoystick_p.");
7854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7855 _result
= (bool )wxJoystick_HasPOVCTS(_arg0
);
7857 wxPyEndAllowThreads(__tstate
);
7858 if (PyErr_Occurred()) return NULL
;
7859 } _resultobj
= Py_BuildValue("i",_result
);
7863 #define wxJoystick_SetCapture(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetCapture(_swigarg0,_swigarg1))
7864 static PyObject
*_wrap_wxJoystick_SetCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7865 PyObject
* _resultobj
;
7869 int _arg2
= (int ) 0;
7870 PyObject
* _argo0
= 0;
7871 PyObject
* _argo1
= 0;
7872 char *_kwnames
[] = { "self","win","pollingFreq", NULL
};
7875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxJoystick_SetCapture",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
7878 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7879 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7880 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_SetCapture. Expected _wxJoystick_p.");
7885 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7886 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
7887 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxJoystick_SetCapture. Expected _wxWindow_p.");
7892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7893 _result
= (bool )wxJoystick_SetCapture(_arg0
,_arg1
,_arg2
);
7895 wxPyEndAllowThreads(__tstate
);
7896 if (PyErr_Occurred()) return NULL
;
7897 } _resultobj
= Py_BuildValue("i",_result
);
7901 #define wxJoystick_ReleaseCapture(_swigobj) (_swigobj->ReleaseCapture())
7902 static PyObject
*_wrap_wxJoystick_ReleaseCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7903 PyObject
* _resultobj
;
7906 PyObject
* _argo0
= 0;
7907 char *_kwnames
[] = { "self", NULL
};
7910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_ReleaseCapture",_kwnames
,&_argo0
))
7913 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7914 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7915 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_ReleaseCapture. Expected _wxJoystick_p.");
7920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7921 _result
= (bool )wxJoystick_ReleaseCapture(_arg0
);
7923 wxPyEndAllowThreads(__tstate
);
7924 if (PyErr_Occurred()) return NULL
;
7925 } _resultobj
= Py_BuildValue("i",_result
);
7929 static void *SwigwxWaveTowxObject(void *ptr
) {
7932 src
= (wxWave
*) ptr
;
7933 dest
= (wxObject
*) src
;
7934 return (void *) dest
;
7937 #define new_wxWave(_swigarg0,_swigarg1) (new wxWave(_swigarg0,_swigarg1))
7938 static PyObject
*_wrap_new_wxWave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7939 PyObject
* _resultobj
;
7942 bool _arg1
= (bool ) FALSE
;
7943 PyObject
* _obj0
= 0;
7944 int tempbool1
= (int) FALSE
;
7945 char *_kwnames
[] = { "fileName","isResource", NULL
};
7949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:new_wxWave",_kwnames
,&_obj0
,&tempbool1
))
7952 _arg0
= wxString_in_helper(_obj0
);
7956 _arg1
= (bool ) tempbool1
;
7958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7959 _result
= (wxWave
*)new_wxWave(*_arg0
,_arg1
);
7961 wxPyEndAllowThreads(__tstate
);
7962 if (PyErr_Occurred()) return NULL
;
7964 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWave_p");
7965 _resultobj
= Py_BuildValue("s",_ptemp
);
7968 _resultobj
= Py_None
;
7977 #define delete_wxWave(_swigobj) (delete _swigobj)
7978 static PyObject
*_wrap_delete_wxWave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7979 PyObject
* _resultobj
;
7981 PyObject
* _argo0
= 0;
7982 char *_kwnames
[] = { "self", NULL
};
7985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxWave",_kwnames
,&_argo0
))
7988 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7989 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWave_p")) {
7990 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxWave. Expected _wxWave_p.");
7995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7996 delete_wxWave(_arg0
);
7998 wxPyEndAllowThreads(__tstate
);
7999 if (PyErr_Occurred()) return NULL
;
8000 } Py_INCREF(Py_None
);
8001 _resultobj
= Py_None
;
8005 #define wxWave_IsOk(_swigobj) (_swigobj->IsOk())
8006 static PyObject
*_wrap_wxWave_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8007 PyObject
* _resultobj
;
8010 PyObject
* _argo0
= 0;
8011 char *_kwnames
[] = { "self", NULL
};
8014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWave_IsOk",_kwnames
,&_argo0
))
8017 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8018 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWave_p")) {
8019 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWave_IsOk. Expected _wxWave_p.");
8024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8025 _result
= (bool )wxWave_IsOk(_arg0
);
8027 wxPyEndAllowThreads(__tstate
);
8028 if (PyErr_Occurred()) return NULL
;
8029 } _resultobj
= Py_BuildValue("i",_result
);
8033 #define wxWave_Play(_swigobj,_swigarg0,_swigarg1) (_swigobj->Play(_swigarg0,_swigarg1))
8034 static PyObject
*_wrap_wxWave_Play(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8035 PyObject
* _resultobj
;
8038 bool _arg1
= (bool ) TRUE
;
8039 bool _arg2
= (bool ) FALSE
;
8040 PyObject
* _argo0
= 0;
8041 int tempbool1
= (int) TRUE
;
8042 int tempbool2
= (int) FALSE
;
8043 char *_kwnames
[] = { "self","async","looped", NULL
};
8046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxWave_Play",_kwnames
,&_argo0
,&tempbool1
,&tempbool2
))
8049 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8050 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWave_p")) {
8051 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWave_Play. Expected _wxWave_p.");
8055 _arg1
= (bool ) tempbool1
;
8056 _arg2
= (bool ) tempbool2
;
8058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8059 _result
= (bool )wxWave_Play(_arg0
,_arg1
,_arg2
);
8061 wxPyEndAllowThreads(__tstate
);
8062 if (PyErr_Occurred()) return NULL
;
8063 } _resultobj
= Py_BuildValue("i",_result
);
8067 #define new_wxFileTypeInfo(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxFileTypeInfo(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
8068 static PyObject
*_wrap_new_wxFileTypeInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8069 PyObject
* _resultobj
;
8070 wxFileTypeInfo
* _result
;
8075 char *_kwnames
[] = { "mimeType","openCmd","printCmd","desc", NULL
};
8079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"ssss:new_wxFileTypeInfo",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
))
8082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8083 _result
= (wxFileTypeInfo
*)new_wxFileTypeInfo(_arg0
,_arg1
,_arg2
,_arg3
);
8085 wxPyEndAllowThreads(__tstate
);
8086 if (PyErr_Occurred()) return NULL
;
8088 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileTypeInfo_p");
8089 _resultobj
= Py_BuildValue("s",_ptemp
);
8092 _resultobj
= Py_None
;
8097 #define new_wxFileTypeInfoSequence(_swigarg0) (new wxFileTypeInfo(_swigarg0))
8098 static PyObject
*_wrap_new_wxFileTypeInfoSequence(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8099 PyObject
* _resultobj
;
8100 wxFileTypeInfo
* _result
;
8101 wxArrayString
* _arg0
;
8102 PyObject
* _obj0
= 0;
8103 char *_kwnames
[] = { "sArray", NULL
};
8107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxFileTypeInfoSequence",_kwnames
,&_obj0
))
8110 if (! PySequence_Check(_obj0
)) {
8111 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
8114 _arg0
= new wxArrayString
;
8115 int i
, len
=PySequence_Length(_obj0
);
8116 for (i
=0; i
<len
; i
++) {
8117 PyObject
* item
= PySequence_GetItem(_obj0
, i
);
8119 PyObject
* str
= PyObject_Unicode(item
);
8120 _arg0
->Add(PyUnicode_AsUnicode(str
));
8122 PyObject
* str
= PyObject_Str(item
);
8123 _arg0
->Add(PyString_AsString(str
));
8130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8131 _result
= (wxFileTypeInfo
*)new_wxFileTypeInfoSequence(*_arg0
);
8133 wxPyEndAllowThreads(__tstate
);
8134 if (PyErr_Occurred()) return NULL
;
8136 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileTypeInfo_p");
8137 _resultobj
= Py_BuildValue("s",_ptemp
);
8140 _resultobj
= Py_None
;
8149 #define new_wxNullFileTypeInfo() (new wxFileTypeInfo())
8150 static PyObject
*_wrap_new_wxNullFileTypeInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8151 PyObject
* _resultobj
;
8152 wxFileTypeInfo
* _result
;
8153 char *_kwnames
[] = { NULL
};
8157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxNullFileTypeInfo",_kwnames
))
8160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8161 _result
= (wxFileTypeInfo
*)new_wxNullFileTypeInfo();
8163 wxPyEndAllowThreads(__tstate
);
8164 if (PyErr_Occurred()) return NULL
;
8166 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileTypeInfo_p");
8167 _resultobj
= Py_BuildValue("s",_ptemp
);
8170 _resultobj
= Py_None
;
8175 #define wxFileTypeInfo_IsValid(_swigobj) (_swigobj->IsValid())
8176 static PyObject
*_wrap_wxFileTypeInfo_IsValid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8177 PyObject
* _resultobj
;
8179 wxFileTypeInfo
* _arg0
;
8180 PyObject
* _argo0
= 0;
8181 char *_kwnames
[] = { "self", NULL
};
8184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_IsValid",_kwnames
,&_argo0
))
8187 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8188 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8189 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_IsValid. Expected _wxFileTypeInfo_p.");
8194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8195 _result
= (bool )wxFileTypeInfo_IsValid(_arg0
);
8197 wxPyEndAllowThreads(__tstate
);
8198 if (PyErr_Occurred()) return NULL
;
8199 } _resultobj
= Py_BuildValue("i",_result
);
8203 #define wxFileTypeInfo_SetIcon(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetIcon(_swigarg0,_swigarg1))
8204 static PyObject
*_wrap_wxFileTypeInfo_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8205 PyObject
* _resultobj
;
8206 wxFileTypeInfo
* _arg0
;
8208 int _arg2
= (int ) 0;
8209 PyObject
* _argo0
= 0;
8210 PyObject
* _obj1
= 0;
8211 char *_kwnames
[] = { "self","iconFile","iconIndex", NULL
};
8214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxFileTypeInfo_SetIcon",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
8217 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8218 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8219 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_SetIcon. Expected _wxFileTypeInfo_p.");
8224 _arg1
= wxString_in_helper(_obj1
);
8229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8230 wxFileTypeInfo_SetIcon(_arg0
,*_arg1
,_arg2
);
8232 wxPyEndAllowThreads(__tstate
);
8233 if (PyErr_Occurred()) return NULL
;
8234 } Py_INCREF(Py_None
);
8235 _resultobj
= Py_None
;
8243 #define wxFileTypeInfo_SetShortDesc(_swigobj,_swigarg0) (_swigobj->SetShortDesc(_swigarg0))
8244 static PyObject
*_wrap_wxFileTypeInfo_SetShortDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8245 PyObject
* _resultobj
;
8246 wxFileTypeInfo
* _arg0
;
8248 PyObject
* _argo0
= 0;
8249 PyObject
* _obj1
= 0;
8250 char *_kwnames
[] = { "self","shortDesc", NULL
};
8253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileTypeInfo_SetShortDesc",_kwnames
,&_argo0
,&_obj1
))
8256 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8257 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8258 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_SetShortDesc. Expected _wxFileTypeInfo_p.");
8263 _arg1
= wxString_in_helper(_obj1
);
8268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8269 wxFileTypeInfo_SetShortDesc(_arg0
,*_arg1
);
8271 wxPyEndAllowThreads(__tstate
);
8272 if (PyErr_Occurred()) return NULL
;
8273 } Py_INCREF(Py_None
);
8274 _resultobj
= Py_None
;
8282 #define wxFileTypeInfo_GetMimeType(_swigobj) (_swigobj->GetMimeType())
8283 static PyObject
*_wrap_wxFileTypeInfo_GetMimeType(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_GetMimeType",_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_GetMimeType. Expected _wxFileTypeInfo_p.");
8301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8302 const wxString
& _result_ref
= wxFileTypeInfo_GetMimeType(_arg0
);
8303 _result
= (wxString
*) &_result_ref
;
8305 wxPyEndAllowThreads(__tstate
);
8306 if (PyErr_Occurred()) return NULL
;
8309 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
8311 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8317 #define wxFileTypeInfo_GetOpenCommand(_swigobj) (_swigobj->GetOpenCommand())
8318 static PyObject
*_wrap_wxFileTypeInfo_GetOpenCommand(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_GetOpenCommand",_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_GetOpenCommand. Expected _wxFileTypeInfo_p.");
8336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8337 const wxString
& _result_ref
= wxFileTypeInfo_GetOpenCommand(_arg0
);
8338 _result
= (wxString
*) &_result_ref
;
8340 wxPyEndAllowThreads(__tstate
);
8341 if (PyErr_Occurred()) return NULL
;
8344 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
8346 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8352 #define wxFileTypeInfo_GetPrintCommand(_swigobj) (_swigobj->GetPrintCommand())
8353 static PyObject
*_wrap_wxFileTypeInfo_GetPrintCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8354 PyObject
* _resultobj
;
8356 wxFileTypeInfo
* _arg0
;
8357 PyObject
* _argo0
= 0;
8358 char *_kwnames
[] = { "self", NULL
};
8361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetPrintCommand",_kwnames
,&_argo0
))
8364 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8365 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8366 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetPrintCommand. Expected _wxFileTypeInfo_p.");
8371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8372 const wxString
& _result_ref
= wxFileTypeInfo_GetPrintCommand(_arg0
);
8373 _result
= (wxString
*) &_result_ref
;
8375 wxPyEndAllowThreads(__tstate
);
8376 if (PyErr_Occurred()) return NULL
;
8379 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
8381 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8387 #define wxFileTypeInfo_GetShortDesc(_swigobj) (_swigobj->GetShortDesc())
8388 static PyObject
*_wrap_wxFileTypeInfo_GetShortDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8389 PyObject
* _resultobj
;
8391 wxFileTypeInfo
* _arg0
;
8392 PyObject
* _argo0
= 0;
8393 char *_kwnames
[] = { "self", NULL
};
8396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetShortDesc",_kwnames
,&_argo0
))
8399 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8400 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8401 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetShortDesc. Expected _wxFileTypeInfo_p.");
8406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8407 const wxString
& _result_ref
= wxFileTypeInfo_GetShortDesc(_arg0
);
8408 _result
= (wxString
*) &_result_ref
;
8410 wxPyEndAllowThreads(__tstate
);
8411 if (PyErr_Occurred()) return NULL
;
8414 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
8416 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8422 #define wxFileTypeInfo_GetDescription(_swigobj) (_swigobj->GetDescription())
8423 static PyObject
*_wrap_wxFileTypeInfo_GetDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8424 PyObject
* _resultobj
;
8426 wxFileTypeInfo
* _arg0
;
8427 PyObject
* _argo0
= 0;
8428 char *_kwnames
[] = { "self", NULL
};
8431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetDescription",_kwnames
,&_argo0
))
8434 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8435 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8436 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetDescription. Expected _wxFileTypeInfo_p.");
8441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8442 const wxString
& _result_ref
= wxFileTypeInfo_GetDescription(_arg0
);
8443 _result
= (wxString
*) &_result_ref
;
8445 wxPyEndAllowThreads(__tstate
);
8446 if (PyErr_Occurred()) return NULL
;
8449 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
8451 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8457 static PyObject
* wxFileTypeInfo_GetExtensions(wxFileTypeInfo
*self
) {
8458 wxArrayString
& arr
= (wxArrayString
&)self
->GetExtensions();
8459 return wxArrayString2PyList_helper(arr
);
8461 static PyObject
*_wrap_wxFileTypeInfo_GetExtensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8462 PyObject
* _resultobj
;
8464 wxFileTypeInfo
* _arg0
;
8465 PyObject
* _argo0
= 0;
8466 char *_kwnames
[] = { "self", NULL
};
8469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetExtensions",_kwnames
,&_argo0
))
8472 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8473 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8474 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetExtensions. Expected _wxFileTypeInfo_p.");
8479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8480 _result
= (PyObject
*)wxFileTypeInfo_GetExtensions(_arg0
);
8482 wxPyEndAllowThreads(__tstate
);
8483 if (PyErr_Occurred()) return NULL
;
8485 _resultobj
= _result
;
8490 #define wxFileTypeInfo_GetExtensionsCount(_swigobj) (_swigobj->GetExtensionsCount())
8491 static PyObject
*_wrap_wxFileTypeInfo_GetExtensionsCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8492 PyObject
* _resultobj
;
8494 wxFileTypeInfo
* _arg0
;
8495 PyObject
* _argo0
= 0;
8496 char *_kwnames
[] = { "self", NULL
};
8499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetExtensionsCount",_kwnames
,&_argo0
))
8502 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8503 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8504 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetExtensionsCount. Expected _wxFileTypeInfo_p.");
8509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8510 _result
= (int )wxFileTypeInfo_GetExtensionsCount(_arg0
);
8512 wxPyEndAllowThreads(__tstate
);
8513 if (PyErr_Occurred()) return NULL
;
8514 } _resultobj
= Py_BuildValue("i",_result
);
8518 #define wxFileTypeInfo_GetIconFile(_swigobj) (_swigobj->GetIconFile())
8519 static PyObject
*_wrap_wxFileTypeInfo_GetIconFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8520 PyObject
* _resultobj
;
8522 wxFileTypeInfo
* _arg0
;
8523 PyObject
* _argo0
= 0;
8524 char *_kwnames
[] = { "self", NULL
};
8527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetIconFile",_kwnames
,&_argo0
))
8530 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8531 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8532 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetIconFile. Expected _wxFileTypeInfo_p.");
8537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8538 const wxString
& _result_ref
= wxFileTypeInfo_GetIconFile(_arg0
);
8539 _result
= (wxString
*) &_result_ref
;
8541 wxPyEndAllowThreads(__tstate
);
8542 if (PyErr_Occurred()) return NULL
;
8545 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
8547 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8553 #define wxFileTypeInfo_GetIconIndex(_swigobj) (_swigobj->GetIconIndex())
8554 static PyObject
*_wrap_wxFileTypeInfo_GetIconIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8555 PyObject
* _resultobj
;
8557 wxFileTypeInfo
* _arg0
;
8558 PyObject
* _argo0
= 0;
8559 char *_kwnames
[] = { "self", NULL
};
8562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetIconIndex",_kwnames
,&_argo0
))
8565 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8566 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8567 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetIconIndex. Expected _wxFileTypeInfo_p.");
8572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8573 _result
= (int )wxFileTypeInfo_GetIconIndex(_arg0
);
8575 wxPyEndAllowThreads(__tstate
);
8576 if (PyErr_Occurred()) return NULL
;
8577 } _resultobj
= Py_BuildValue("i",_result
);
8581 #define new_wxFileType(_swigarg0) (new wxFileType(_swigarg0))
8582 static PyObject
*_wrap_new_wxFileType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8583 PyObject
* _resultobj
;
8584 wxFileType
* _result
;
8585 wxFileTypeInfo
* _arg0
;
8586 PyObject
* _argo0
= 0;
8587 char *_kwnames
[] = { "ftInfo", NULL
};
8591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxFileType",_kwnames
,&_argo0
))
8594 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8595 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8596 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxFileType. Expected _wxFileTypeInfo_p.");
8601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8602 _result
= (wxFileType
*)new_wxFileType(*_arg0
);
8604 wxPyEndAllowThreads(__tstate
);
8605 if (PyErr_Occurred()) return NULL
;
8607 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileType_p");
8608 _resultobj
= Py_BuildValue("s",_ptemp
);
8611 _resultobj
= Py_None
;
8616 static PyObject
* wxFileType_GetMimeType(wxFileType
*self
) {
8618 if (self
->GetMimeType(&str
)) {
8620 return PyUnicode_FromUnicode(str
.c_str(), str
.Len());
8622 return PyString_FromStringAndSize(str
.c_str(), str
.Len());
8628 static PyObject
*_wrap_wxFileType_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8629 PyObject
* _resultobj
;
8632 PyObject
* _argo0
= 0;
8633 char *_kwnames
[] = { "self", NULL
};
8636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_GetMimeType",_kwnames
,&_argo0
))
8639 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8640 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8641 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetMimeType. Expected _wxFileType_p.");
8646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8647 _result
= (PyObject
*)wxFileType_GetMimeType(_arg0
);
8649 wxPyEndAllowThreads(__tstate
);
8650 if (PyErr_Occurred()) return NULL
;
8652 _resultobj
= _result
;
8657 static PyObject
* wxFileType_GetMimeTypes(wxFileType
*self
) {
8659 if (self
->GetMimeTypes(arr
))
8660 return wxArrayString2PyList_helper(arr
);
8664 static PyObject
*_wrap_wxFileType_GetMimeTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8665 PyObject
* _resultobj
;
8668 PyObject
* _argo0
= 0;
8669 char *_kwnames
[] = { "self", NULL
};
8672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_GetMimeTypes",_kwnames
,&_argo0
))
8675 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8676 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8677 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetMimeTypes. Expected _wxFileType_p.");
8682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8683 _result
= (PyObject
*)wxFileType_GetMimeTypes(_arg0
);
8685 wxPyEndAllowThreads(__tstate
);
8686 if (PyErr_Occurred()) return NULL
;
8688 _resultobj
= _result
;
8693 static PyObject
* wxFileType_GetExtensions(wxFileType
*self
) {
8695 if (self
->GetExtensions(arr
))
8696 return wxArrayString2PyList_helper(arr
);
8700 static PyObject
*_wrap_wxFileType_GetExtensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8701 PyObject
* _resultobj
;
8704 PyObject
* _argo0
= 0;
8705 char *_kwnames
[] = { "self", NULL
};
8708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_GetExtensions",_kwnames
,&_argo0
))
8711 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8712 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8713 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetExtensions. Expected _wxFileType_p.");
8718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8719 _result
= (PyObject
*)wxFileType_GetExtensions(_arg0
);
8721 wxPyEndAllowThreads(__tstate
);
8722 if (PyErr_Occurred()) return NULL
;
8724 _resultobj
= _result
;
8729 static wxIcon
* wxFileType_GetIcon(wxFileType
*self
) {
8731 if (self
->GetIcon(&icon
))
8732 return new wxIcon(icon
);
8736 static PyObject
*_wrap_wxFileType_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8737 PyObject
* _resultobj
;
8740 PyObject
* _argo0
= 0;
8741 char *_kwnames
[] = { "self", NULL
};
8745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_GetIcon",_kwnames
,&_argo0
))
8748 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8749 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8750 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetIcon. Expected _wxFileType_p.");
8755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8756 _result
= (wxIcon
*)wxFileType_GetIcon(_arg0
);
8758 wxPyEndAllowThreads(__tstate
);
8759 if (PyErr_Occurred()) return NULL
;
8761 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIcon_p");
8762 _resultobj
= Py_BuildValue("s",_ptemp
);
8765 _resultobj
= Py_None
;
8770 static PyObject
* wxFileType_GetIconInfo(wxFileType
*self
) {
8774 if (self
->GetIcon(&icon
, &iconFile
, &iconIndex
)) {
8775 wxPyBeginBlockThreads();
8776 PyObject
* tuple
= PyTuple_New(3);
8777 PyTuple_SetItem(tuple
, 0, wxPyConstructObject(new wxIcon(icon
),
8780 PyTuple_SetItem(tuple
, 1, PyUnicode_FromUnicode(iconFile
.c_str(), iconFile
.Len()));
8782 PyTuple_SetItem(tuple
, 1, PyString_FromStringAndSize(iconFile
.c_str(), iconFile
.Len()));
8784 PyTuple_SetItem(tuple
, 2, PyInt_FromLong(iconIndex
));
8785 wxPyEndBlockThreads();
8791 static PyObject
*_wrap_wxFileType_GetIconInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8792 PyObject
* _resultobj
;
8795 PyObject
* _argo0
= 0;
8796 char *_kwnames
[] = { "self", NULL
};
8799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_GetIconInfo",_kwnames
,&_argo0
))
8802 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8803 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8804 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetIconInfo. Expected _wxFileType_p.");
8809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8810 _result
= (PyObject
*)wxFileType_GetIconInfo(_arg0
);
8812 wxPyEndAllowThreads(__tstate
);
8813 if (PyErr_Occurred()) return NULL
;
8815 _resultobj
= _result
;
8820 static PyObject
* wxFileType_GetDescription(wxFileType
*self
) {
8822 if (self
->GetDescription(&str
)) {
8824 return PyUnicode_FromUnicode(str
.c_str(), str
.Len());
8826 return PyString_FromStringAndSize(str
.c_str(), str
.Len());
8831 static PyObject
*_wrap_wxFileType_GetDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8832 PyObject
* _resultobj
;
8835 PyObject
* _argo0
= 0;
8836 char *_kwnames
[] = { "self", NULL
};
8839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_GetDescription",_kwnames
,&_argo0
))
8842 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8843 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8844 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetDescription. Expected _wxFileType_p.");
8849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8850 _result
= (PyObject
*)wxFileType_GetDescription(_arg0
);
8852 wxPyEndAllowThreads(__tstate
);
8853 if (PyErr_Occurred()) return NULL
;
8855 _resultobj
= _result
;
8860 static PyObject
* wxFileType_GetOpenCommand(wxFileType
*self
,const wxString
& filename
,const wxString
& mimetype
) {
8862 if (self
->GetOpenCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
))) {
8864 return PyUnicode_FromUnicode(str
.c_str(), str
.Len());
8866 return PyString_FromStringAndSize(str
.c_str(), str
.Len());
8871 static PyObject
*_wrap_wxFileType_GetOpenCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8872 PyObject
* _resultobj
;
8876 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
8877 PyObject
* _argo0
= 0;
8878 PyObject
* _obj1
= 0;
8879 PyObject
* _obj2
= 0;
8880 char *_kwnames
[] = { "self","filename","mimetype", NULL
};
8883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxFileType_GetOpenCommand",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
8886 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8887 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8888 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetOpenCommand. Expected _wxFileType_p.");
8893 _arg1
= wxString_in_helper(_obj1
);
8899 _arg2
= wxString_in_helper(_obj2
);
8904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8905 _result
= (PyObject
*)wxFileType_GetOpenCommand(_arg0
,*_arg1
,*_arg2
);
8907 wxPyEndAllowThreads(__tstate
);
8908 if (PyErr_Occurred()) return NULL
;
8910 _resultobj
= _result
;
8923 static PyObject
* wxFileType_GetPrintCommand(wxFileType
*self
,const wxString
& filename
,const wxString
& mimetype
) {
8925 if (self
->GetPrintCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
))) {
8927 return PyUnicode_FromUnicode(str
.c_str(), str
.Len());
8929 return PyString_FromStringAndSize(str
.c_str(), str
.Len());
8934 static PyObject
*_wrap_wxFileType_GetPrintCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8935 PyObject
* _resultobj
;
8939 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
8940 PyObject
* _argo0
= 0;
8941 PyObject
* _obj1
= 0;
8942 PyObject
* _obj2
= 0;
8943 char *_kwnames
[] = { "self","filename","mimetype", NULL
};
8946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxFileType_GetPrintCommand",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
8949 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8950 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8951 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetPrintCommand. Expected _wxFileType_p.");
8956 _arg1
= wxString_in_helper(_obj1
);
8962 _arg2
= wxString_in_helper(_obj2
);
8967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8968 _result
= (PyObject
*)wxFileType_GetPrintCommand(_arg0
,*_arg1
,*_arg2
);
8970 wxPyEndAllowThreads(__tstate
);
8971 if (PyErr_Occurred()) return NULL
;
8973 _resultobj
= _result
;
8986 static PyObject
* wxFileType_GetAllCommands(wxFileType
*self
,const wxString
& filename
,const wxString
& mimetype
) {
8987 wxArrayString verbs
;
8988 wxArrayString commands
;
8989 if (self
->GetAllCommands(&verbs
, &commands
,
8990 wxFileType::MessageParameters(filename
, mimetype
))) {
8991 wxPyBeginBlockThreads();
8992 PyObject
* tuple
= PyTuple_New(2);
8993 PyTuple_SetItem(tuple
, 0, wxArrayString2PyList_helper(verbs
));
8994 PyTuple_SetItem(tuple
, 1, wxArrayString2PyList_helper(commands
));
8995 wxPyEndBlockThreads();
9001 static PyObject
*_wrap_wxFileType_GetAllCommands(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9002 PyObject
* _resultobj
;
9006 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
9007 PyObject
* _argo0
= 0;
9008 PyObject
* _obj1
= 0;
9009 PyObject
* _obj2
= 0;
9010 char *_kwnames
[] = { "self","filename","mimetype", NULL
};
9013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxFileType_GetAllCommands",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
9016 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9017 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
9018 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetAllCommands. Expected _wxFileType_p.");
9023 _arg1
= wxString_in_helper(_obj1
);
9029 _arg2
= wxString_in_helper(_obj2
);
9034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9035 _result
= (PyObject
*)wxFileType_GetAllCommands(_arg0
,*_arg1
,*_arg2
);
9037 wxPyEndAllowThreads(__tstate
);
9038 if (PyErr_Occurred()) return NULL
;
9040 _resultobj
= _result
;
9053 #define wxFileType_SetCommand(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCommand(_swigarg0,_swigarg1,_swigarg2))
9054 static PyObject
*_wrap_wxFileType_SetCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9055 PyObject
* _resultobj
;
9060 bool _arg3
= (bool ) TRUE
;
9061 PyObject
* _argo0
= 0;
9062 PyObject
* _obj1
= 0;
9063 PyObject
* _obj2
= 0;
9064 int tempbool3
= (int) TRUE
;
9065 char *_kwnames
[] = { "self","cmd","verb","overwriteprompt", NULL
};
9068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|i:wxFileType_SetCommand",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&tempbool3
))
9071 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9072 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
9073 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_SetCommand. Expected _wxFileType_p.");
9078 _arg1
= wxString_in_helper(_obj1
);
9083 _arg2
= wxString_in_helper(_obj2
);
9087 _arg3
= (bool ) tempbool3
;
9089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9090 _result
= (bool )wxFileType_SetCommand(_arg0
,*_arg1
,*_arg2
,_arg3
);
9092 wxPyEndAllowThreads(__tstate
);
9093 if (PyErr_Occurred()) return NULL
;
9094 } _resultobj
= Py_BuildValue("i",_result
);
9106 #define wxFileType_SetDefaultIcon(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDefaultIcon(_swigarg0,_swigarg1))
9107 static PyObject
*_wrap_wxFileType_SetDefaultIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9108 PyObject
* _resultobj
;
9111 wxString
* _arg1
= (wxString
*) &wxPyEmptyString
;
9112 int _arg2
= (int ) 0;
9113 PyObject
* _argo0
= 0;
9114 PyObject
* _obj1
= 0;
9115 char *_kwnames
[] = { "self","cmd","index", NULL
};
9118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|Oi:wxFileType_SetDefaultIcon",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
9121 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9122 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
9123 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_SetDefaultIcon. Expected _wxFileType_p.");
9129 _arg1
= wxString_in_helper(_obj1
);
9134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9135 _result
= (bool )wxFileType_SetDefaultIcon(_arg0
,*_arg1
,_arg2
);
9137 wxPyEndAllowThreads(__tstate
);
9138 if (PyErr_Occurred()) return NULL
;
9139 } _resultobj
= Py_BuildValue("i",_result
);
9147 #define wxFileType_Unassociate(_swigobj) (_swigobj->Unassociate())
9148 static PyObject
*_wrap_wxFileType_Unassociate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9149 PyObject
* _resultobj
;
9152 PyObject
* _argo0
= 0;
9153 char *_kwnames
[] = { "self", NULL
};
9156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_Unassociate",_kwnames
,&_argo0
))
9159 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9160 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
9161 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_Unassociate. Expected _wxFileType_p.");
9166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9167 _result
= (bool )wxFileType_Unassociate(_arg0
);
9169 wxPyEndAllowThreads(__tstate
);
9170 if (PyErr_Occurred()) return NULL
;
9171 } _resultobj
= Py_BuildValue("i",_result
);
9175 static PyObject
*_wrap_wxFileType_ExpandCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9176 PyObject
* _resultobj
;
9179 wxFileType::MessageParameters
* _arg1
;
9180 PyObject
* _obj0
= 0;
9181 PyObject
* _argo1
= 0;
9182 char *_kwnames
[] = { "command","params", NULL
};
9185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileType_ExpandCommand",_kwnames
,&_obj0
,&_argo1
))
9188 _arg0
= wxString_in_helper(_obj0
);
9193 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9194 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFileType::MessageParameters_p")) {
9195 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFileType_ExpandCommand. Expected _wxFileType::MessageParameters_p.");
9200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9201 _result
= new wxString (wxFileType::ExpandCommand(*_arg0
,*_arg1
));
9203 wxPyEndAllowThreads(__tstate
);
9204 if (PyErr_Occurred()) return NULL
;
9207 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
9209 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9222 #define delete_wxFileType(_swigobj) (delete _swigobj)
9223 static PyObject
*_wrap_delete_wxFileType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9224 PyObject
* _resultobj
;
9226 PyObject
* _argo0
= 0;
9227 char *_kwnames
[] = { "self", NULL
};
9230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxFileType",_kwnames
,&_argo0
))
9233 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9234 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
9235 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxFileType. Expected _wxFileType_p.");
9240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9241 delete_wxFileType(_arg0
);
9243 wxPyEndAllowThreads(__tstate
);
9244 if (PyErr_Occurred()) return NULL
;
9245 } Py_INCREF(Py_None
);
9246 _resultobj
= Py_None
;
9250 static PyObject
*_wrap_wxMimeTypesManager_IsOfType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9251 PyObject
* _resultobj
;
9255 PyObject
* _obj0
= 0;
9256 PyObject
* _obj1
= 0;
9257 char *_kwnames
[] = { "mimeType","wildcard", NULL
};
9260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_IsOfType",_kwnames
,&_obj0
,&_obj1
))
9263 _arg0
= wxString_in_helper(_obj0
);
9268 _arg1
= wxString_in_helper(_obj1
);
9273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9274 _result
= (bool )wxMimeTypesManager::IsOfType(*_arg0
,*_arg1
);
9276 wxPyEndAllowThreads(__tstate
);
9277 if (PyErr_Occurred()) return NULL
;
9278 } _resultobj
= Py_BuildValue("i",_result
);
9290 #define new_wxMimeTypesManager() (new wxMimeTypesManager())
9291 static PyObject
*_wrap_new_wxMimeTypesManager(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9292 PyObject
* _resultobj
;
9293 wxMimeTypesManager
* _result
;
9294 char *_kwnames
[] = { NULL
};
9298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxMimeTypesManager",_kwnames
))
9301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9302 _result
= (wxMimeTypesManager
*)new_wxMimeTypesManager();
9304 wxPyEndAllowThreads(__tstate
);
9305 if (PyErr_Occurred()) return NULL
;
9307 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMimeTypesManager_p");
9308 _resultobj
= Py_BuildValue("s",_ptemp
);
9311 _resultobj
= Py_None
;
9316 #define wxMimeTypesManager_Initialize(_swigobj,_swigarg0,_swigarg1) (_swigobj->Initialize(_swigarg0,_swigarg1))
9317 static PyObject
*_wrap_wxMimeTypesManager_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9318 PyObject
* _resultobj
;
9319 wxMimeTypesManager
* _arg0
;
9320 int _arg1
= (int ) (wxMAILCAP_STANDARD
);
9321 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
9322 PyObject
* _argo0
= 0;
9323 PyObject
* _obj2
= 0;
9324 char *_kwnames
[] = { "self","mailcapStyle","extraDir", NULL
};
9327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iO:wxMimeTypesManager_Initialize",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
9330 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9331 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9332 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_Initialize. Expected _wxMimeTypesManager_p.");
9338 _arg2
= wxString_in_helper(_obj2
);
9343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9344 wxMimeTypesManager_Initialize(_arg0
,_arg1
,*_arg2
);
9346 wxPyEndAllowThreads(__tstate
);
9347 if (PyErr_Occurred()) return NULL
;
9348 } Py_INCREF(Py_None
);
9349 _resultobj
= Py_None
;
9357 #define wxMimeTypesManager_ClearData(_swigobj) (_swigobj->ClearData())
9358 static PyObject
*_wrap_wxMimeTypesManager_ClearData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9359 PyObject
* _resultobj
;
9360 wxMimeTypesManager
* _arg0
;
9361 PyObject
* _argo0
= 0;
9362 char *_kwnames
[] = { "self", NULL
};
9365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMimeTypesManager_ClearData",_kwnames
,&_argo0
))
9368 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9369 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9370 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_ClearData. Expected _wxMimeTypesManager_p.");
9375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9376 wxMimeTypesManager_ClearData(_arg0
);
9378 wxPyEndAllowThreads(__tstate
);
9379 if (PyErr_Occurred()) return NULL
;
9380 } Py_INCREF(Py_None
);
9381 _resultobj
= Py_None
;
9385 #define wxMimeTypesManager_GetFileTypeFromExtension(_swigobj,_swigarg0) (_swigobj->GetFileTypeFromExtension(_swigarg0))
9386 static PyObject
*_wrap_wxMimeTypesManager_GetFileTypeFromExtension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9387 PyObject
* _resultobj
;
9388 wxFileType
* _result
;
9389 wxMimeTypesManager
* _arg0
;
9391 PyObject
* _argo0
= 0;
9392 PyObject
* _obj1
= 0;
9393 char *_kwnames
[] = { "self","ext", NULL
};
9397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_GetFileTypeFromExtension",_kwnames
,&_argo0
,&_obj1
))
9400 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9401 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9402 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_GetFileTypeFromExtension. Expected _wxMimeTypesManager_p.");
9407 _arg1
= wxString_in_helper(_obj1
);
9412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9413 _result
= (wxFileType
*)wxMimeTypesManager_GetFileTypeFromExtension(_arg0
,*_arg1
);
9415 wxPyEndAllowThreads(__tstate
);
9416 if (PyErr_Occurred()) return NULL
;
9418 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileType_p");
9419 _resultobj
= Py_BuildValue("s",_ptemp
);
9422 _resultobj
= Py_None
;
9431 #define wxMimeTypesManager_GetFileTypeFromMimeType(_swigobj,_swigarg0) (_swigobj->GetFileTypeFromMimeType(_swigarg0))
9432 static PyObject
*_wrap_wxMimeTypesManager_GetFileTypeFromMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9433 PyObject
* _resultobj
;
9434 wxFileType
* _result
;
9435 wxMimeTypesManager
* _arg0
;
9437 PyObject
* _argo0
= 0;
9438 PyObject
* _obj1
= 0;
9439 char *_kwnames
[] = { "self","mimeType", NULL
};
9443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_GetFileTypeFromMimeType",_kwnames
,&_argo0
,&_obj1
))
9446 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9447 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9448 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_GetFileTypeFromMimeType. Expected _wxMimeTypesManager_p.");
9453 _arg1
= wxString_in_helper(_obj1
);
9458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9459 _result
= (wxFileType
*)wxMimeTypesManager_GetFileTypeFromMimeType(_arg0
,*_arg1
);
9461 wxPyEndAllowThreads(__tstate
);
9462 if (PyErr_Occurred()) return NULL
;
9464 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileType_p");
9465 _resultobj
= Py_BuildValue("s",_ptemp
);
9468 _resultobj
= Py_None
;
9477 #define wxMimeTypesManager_ReadMailcap(_swigobj,_swigarg0,_swigarg1) (_swigobj->ReadMailcap(_swigarg0,_swigarg1))
9478 static PyObject
*_wrap_wxMimeTypesManager_ReadMailcap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9479 PyObject
* _resultobj
;
9481 wxMimeTypesManager
* _arg0
;
9483 bool _arg2
= (bool ) FALSE
;
9484 PyObject
* _argo0
= 0;
9485 PyObject
* _obj1
= 0;
9486 int tempbool2
= (int) FALSE
;
9487 char *_kwnames
[] = { "self","filename","fallback", NULL
};
9490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxMimeTypesManager_ReadMailcap",_kwnames
,&_argo0
,&_obj1
,&tempbool2
))
9493 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9494 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9495 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_ReadMailcap. Expected _wxMimeTypesManager_p.");
9500 _arg1
= wxString_in_helper(_obj1
);
9504 _arg2
= (bool ) tempbool2
;
9506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9507 _result
= (bool )wxMimeTypesManager_ReadMailcap(_arg0
,*_arg1
,_arg2
);
9509 wxPyEndAllowThreads(__tstate
);
9510 if (PyErr_Occurred()) return NULL
;
9511 } _resultobj
= Py_BuildValue("i",_result
);
9519 #define wxMimeTypesManager_ReadMimeTypes(_swigobj,_swigarg0) (_swigobj->ReadMimeTypes(_swigarg0))
9520 static PyObject
*_wrap_wxMimeTypesManager_ReadMimeTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9521 PyObject
* _resultobj
;
9523 wxMimeTypesManager
* _arg0
;
9525 PyObject
* _argo0
= 0;
9526 PyObject
* _obj1
= 0;
9527 char *_kwnames
[] = { "self","filename", NULL
};
9530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_ReadMimeTypes",_kwnames
,&_argo0
,&_obj1
))
9533 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9534 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9535 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_ReadMimeTypes. Expected _wxMimeTypesManager_p.");
9540 _arg1
= wxString_in_helper(_obj1
);
9545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9546 _result
= (bool )wxMimeTypesManager_ReadMimeTypes(_arg0
,*_arg1
);
9548 wxPyEndAllowThreads(__tstate
);
9549 if (PyErr_Occurred()) return NULL
;
9550 } _resultobj
= Py_BuildValue("i",_result
);
9558 static PyObject
* wxMimeTypesManager_EnumAllFileTypes(wxMimeTypesManager
*self
) {
9560 self
->EnumAllFileTypes(arr
);
9561 return wxArrayString2PyList_helper(arr
);
9563 static PyObject
*_wrap_wxMimeTypesManager_EnumAllFileTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9564 PyObject
* _resultobj
;
9566 wxMimeTypesManager
* _arg0
;
9567 PyObject
* _argo0
= 0;
9568 char *_kwnames
[] = { "self", NULL
};
9571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMimeTypesManager_EnumAllFileTypes",_kwnames
,&_argo0
))
9574 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9575 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9576 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_EnumAllFileTypes. Expected _wxMimeTypesManager_p.");
9581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9582 _result
= (PyObject
*)wxMimeTypesManager_EnumAllFileTypes(_arg0
);
9584 wxPyEndAllowThreads(__tstate
);
9585 if (PyErr_Occurred()) return NULL
;
9587 _resultobj
= _result
;
9592 #define wxMimeTypesManager_AddFallback(_swigobj,_swigarg0) (_swigobj->AddFallback(_swigarg0))
9593 static PyObject
*_wrap_wxMimeTypesManager_AddFallback(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9594 PyObject
* _resultobj
;
9595 wxMimeTypesManager
* _arg0
;
9596 wxFileTypeInfo
* _arg1
;
9597 PyObject
* _argo0
= 0;
9598 PyObject
* _argo1
= 0;
9599 char *_kwnames
[] = { "self","ft", NULL
};
9602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_AddFallback",_kwnames
,&_argo0
,&_argo1
))
9605 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9606 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9607 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_AddFallback. Expected _wxMimeTypesManager_p.");
9612 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9613 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFileTypeInfo_p")) {
9614 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMimeTypesManager_AddFallback. Expected _wxFileTypeInfo_p.");
9619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9620 wxMimeTypesManager_AddFallback(_arg0
,*_arg1
);
9622 wxPyEndAllowThreads(__tstate
);
9623 if (PyErr_Occurred()) return NULL
;
9624 } Py_INCREF(Py_None
);
9625 _resultobj
= Py_None
;
9629 #define wxMimeTypesManager_Associate(_swigobj,_swigarg0) (_swigobj->Associate(_swigarg0))
9630 static PyObject
*_wrap_wxMimeTypesManager_Associate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9631 PyObject
* _resultobj
;
9632 wxFileType
* _result
;
9633 wxMimeTypesManager
* _arg0
;
9634 wxFileTypeInfo
* _arg1
;
9635 PyObject
* _argo0
= 0;
9636 PyObject
* _argo1
= 0;
9637 char *_kwnames
[] = { "self","ftInfo", NULL
};
9641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_Associate",_kwnames
,&_argo0
,&_argo1
))
9644 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9645 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9646 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_Associate. Expected _wxMimeTypesManager_p.");
9651 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9652 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFileTypeInfo_p")) {
9653 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMimeTypesManager_Associate. Expected _wxFileTypeInfo_p.");
9658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9659 _result
= (wxFileType
*)wxMimeTypesManager_Associate(_arg0
,*_arg1
);
9661 wxPyEndAllowThreads(__tstate
);
9662 if (PyErr_Occurred()) return NULL
;
9664 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileType_p");
9665 _resultobj
= Py_BuildValue("s",_ptemp
);
9668 _resultobj
= Py_None
;
9673 #define wxMimeTypesManager_Unassociate(_swigobj,_swigarg0) (_swigobj->Unassociate(_swigarg0))
9674 static PyObject
*_wrap_wxMimeTypesManager_Unassociate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9675 PyObject
* _resultobj
;
9677 wxMimeTypesManager
* _arg0
;
9679 PyObject
* _argo0
= 0;
9680 PyObject
* _argo1
= 0;
9681 char *_kwnames
[] = { "self","ft", NULL
};
9684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_Unassociate",_kwnames
,&_argo0
,&_argo1
))
9687 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9688 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9689 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_Unassociate. Expected _wxMimeTypesManager_p.");
9694 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9695 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFileType_p")) {
9696 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMimeTypesManager_Unassociate. Expected _wxFileType_p.");
9701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9702 _result
= (bool )wxMimeTypesManager_Unassociate(_arg0
,_arg1
);
9704 wxPyEndAllowThreads(__tstate
);
9705 if (PyErr_Occurred()) return NULL
;
9706 } _resultobj
= Py_BuildValue("i",_result
);
9710 #define delete_wxMimeTypesManager(_swigobj) (delete _swigobj)
9711 static PyObject
*_wrap_delete_wxMimeTypesManager(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9712 PyObject
* _resultobj
;
9713 wxMimeTypesManager
* _arg0
;
9714 PyObject
* _argo0
= 0;
9715 char *_kwnames
[] = { "self", NULL
};
9718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxMimeTypesManager",_kwnames
,&_argo0
))
9721 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9722 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9723 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxMimeTypesManager. Expected _wxMimeTypesManager_p.");
9728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9729 delete_wxMimeTypesManager(_arg0
);
9731 wxPyEndAllowThreads(__tstate
);
9732 if (PyErr_Occurred()) return NULL
;
9733 } Py_INCREF(Py_None
);
9734 _resultobj
= Py_None
;
9738 static void *SwigwxPyArtProviderTowxObject(void *ptr
) {
9739 wxPyArtProvider
*src
;
9741 src
= (wxPyArtProvider
*) ptr
;
9742 dest
= (wxObject
*) src
;
9743 return (void *) dest
;
9746 #define new_wxArtProvider() (new wxPyArtProvider())
9747 static PyObject
*_wrap_new_wxArtProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9748 PyObject
* _resultobj
;
9749 wxPyArtProvider
* _result
;
9750 char *_kwnames
[] = { NULL
};
9754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxArtProvider",_kwnames
))
9757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9758 _result
= (wxPyArtProvider
*)new_wxArtProvider();
9760 wxPyEndAllowThreads(__tstate
);
9761 if (PyErr_Occurred()) return NULL
;
9763 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyArtProvider_p");
9764 _resultobj
= Py_BuildValue("s",_ptemp
);
9767 _resultobj
= Py_None
;
9772 #define wxArtProvider__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
9773 static PyObject
*_wrap_wxArtProvider__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9774 PyObject
* _resultobj
;
9775 wxPyArtProvider
* _arg0
;
9778 PyObject
* _argo0
= 0;
9779 PyObject
* _obj1
= 0;
9780 PyObject
* _obj2
= 0;
9781 char *_kwnames
[] = { "self","self","_class", NULL
};
9784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxArtProvider__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
9787 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9788 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyArtProvider_p")) {
9789 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxArtProvider__setCallbackInfo. Expected _wxPyArtProvider_p.");
9800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9801 wxArtProvider__setCallbackInfo(_arg0
,_arg1
,_arg2
);
9803 wxPyEndAllowThreads(__tstate
);
9804 if (PyErr_Occurred()) return NULL
;
9805 } Py_INCREF(Py_None
);
9806 _resultobj
= Py_None
;
9810 static PyObject
*_wrap_wxArtProvider_PushProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9811 PyObject
* _resultobj
;
9812 wxPyArtProvider
* _arg0
;
9813 PyObject
* _argo0
= 0;
9814 char *_kwnames
[] = { "provider", NULL
};
9817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxArtProvider_PushProvider",_kwnames
,&_argo0
))
9820 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9821 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyArtProvider_p")) {
9822 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxArtProvider_PushProvider. Expected _wxPyArtProvider_p.");
9827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9828 wxPyArtProvider::PushProvider(_arg0
);
9830 wxPyEndAllowThreads(__tstate
);
9831 if (PyErr_Occurred()) return NULL
;
9832 } Py_INCREF(Py_None
);
9833 _resultobj
= Py_None
;
9837 static PyObject
*_wrap_wxArtProvider_PopProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9838 PyObject
* _resultobj
;
9840 char *_kwnames
[] = { NULL
};
9843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxArtProvider_PopProvider",_kwnames
))
9846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9847 _result
= (bool )wxPyArtProvider::PopProvider();
9849 wxPyEndAllowThreads(__tstate
);
9850 if (PyErr_Occurred()) return NULL
;
9851 } _resultobj
= Py_BuildValue("i",_result
);
9855 static PyObject
*_wrap_wxArtProvider_RemoveProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9856 PyObject
* _resultobj
;
9858 wxPyArtProvider
* _arg0
;
9859 PyObject
* _argo0
= 0;
9860 char *_kwnames
[] = { "provider", NULL
};
9863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxArtProvider_RemoveProvider",_kwnames
,&_argo0
))
9866 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9867 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyArtProvider_p")) {
9868 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxArtProvider_RemoveProvider. Expected _wxPyArtProvider_p.");
9873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9874 _result
= (bool )wxPyArtProvider::RemoveProvider(_arg0
);
9876 wxPyEndAllowThreads(__tstate
);
9877 if (PyErr_Occurred()) return NULL
;
9878 } _resultobj
= Py_BuildValue("i",_result
);
9882 static PyObject
*_wrap_wxArtProvider_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9883 PyObject
* _resultobj
;
9886 wxString
* _arg1
= (wxString
*) &wxPyART_OTHER
;
9887 wxSize
* _arg2
= (wxSize
*) &wxDefaultSize
;
9888 PyObject
* _obj0
= 0;
9889 PyObject
* _obj1
= 0;
9891 PyObject
* _obj2
= 0;
9892 char *_kwnames
[] = { "id","client","size", NULL
};
9896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|OO:wxArtProvider_GetBitmap",_kwnames
,&_obj0
,&_obj1
,&_obj2
))
9899 _arg0
= wxString_in_helper(_obj0
);
9905 _arg1
= wxString_in_helper(_obj1
);
9912 if (! wxSize_helper(_obj2
, &_arg2
))
9916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9917 _result
= new wxBitmap (wxPyArtProvider::GetBitmap(*_arg0
,*_arg1
,*_arg2
));
9919 wxPyEndAllowThreads(__tstate
);
9920 if (PyErr_Occurred()) return NULL
;
9921 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBitmap_p");
9922 _resultobj
= Py_BuildValue("s",_ptemp
);
9934 static PyObject
*_wrap_wxArtProvider_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9935 PyObject
* _resultobj
;
9938 wxString
* _arg1
= (wxString
*) &wxPyART_OTHER
;
9939 wxSize
* _arg2
= (wxSize
*) &wxDefaultSize
;
9940 PyObject
* _obj0
= 0;
9941 PyObject
* _obj1
= 0;
9943 PyObject
* _obj2
= 0;
9944 char *_kwnames
[] = { "id","client","size", NULL
};
9948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|OO:wxArtProvider_GetIcon",_kwnames
,&_obj0
,&_obj1
,&_obj2
))
9951 _arg0
= wxString_in_helper(_obj0
);
9957 _arg1
= wxString_in_helper(_obj1
);
9964 if (! wxSize_helper(_obj2
, &_arg2
))
9968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9969 _result
= new wxIcon (wxPyArtProvider::GetIcon(*_arg0
,*_arg1
,*_arg2
));
9971 wxPyEndAllowThreads(__tstate
);
9972 if (PyErr_Occurred()) return NULL
;
9973 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxIcon_p");
9974 _resultobj
= Py_BuildValue("s",_ptemp
);
9986 static PyObject
*_wrap_wxArtProvider_CleanUpProviders(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9987 PyObject
* _resultobj
;
9988 char *_kwnames
[] = { NULL
};
9991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxArtProvider_CleanUpProviders",_kwnames
))
9994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9995 wxPyArtProvider::CleanUpProviders();
9997 wxPyEndAllowThreads(__tstate
);
9998 if (PyErr_Occurred()) return NULL
;
9999 } Py_INCREF(Py_None
);
10000 _resultobj
= Py_None
;
10004 static void *SwigwxFileHistoryTowxObject(void *ptr
) {
10005 wxFileHistory
*src
;
10007 src
= (wxFileHistory
*) ptr
;
10008 dest
= (wxObject
*) src
;
10009 return (void *) dest
;
10012 #define new_wxFileHistory(_swigarg0) (new wxFileHistory(_swigarg0))
10013 static PyObject
*_wrap_new_wxFileHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10014 PyObject
* _resultobj
;
10015 wxFileHistory
* _result
;
10016 int _arg0
= (int ) 9;
10017 char *_kwnames
[] = { "maxFiles", NULL
};
10021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxFileHistory",_kwnames
,&_arg0
))
10024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10025 _result
= (wxFileHistory
*)new_wxFileHistory(_arg0
);
10027 wxPyEndAllowThreads(__tstate
);
10028 if (PyErr_Occurred()) return NULL
;
10030 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileHistory_p");
10031 _resultobj
= Py_BuildValue("s",_ptemp
);
10033 Py_INCREF(Py_None
);
10034 _resultobj
= Py_None
;
10039 #define delete_wxFileHistory(_swigobj) (delete _swigobj)
10040 static PyObject
*_wrap_delete_wxFileHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10041 PyObject
* _resultobj
;
10042 wxFileHistory
* _arg0
;
10043 PyObject
* _argo0
= 0;
10044 char *_kwnames
[] = { "self", NULL
};
10047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxFileHistory",_kwnames
,&_argo0
))
10050 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10051 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
10052 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxFileHistory. Expected _wxFileHistory_p.");
10057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10058 delete_wxFileHistory(_arg0
);
10060 wxPyEndAllowThreads(__tstate
);
10061 if (PyErr_Occurred()) return NULL
;
10062 } Py_INCREF(Py_None
);
10063 _resultobj
= Py_None
;
10067 #define wxFileHistory_AddFileToHistory(_swigobj,_swigarg0) (_swigobj->AddFileToHistory(_swigarg0))
10068 static PyObject
*_wrap_wxFileHistory_AddFileToHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10069 PyObject
* _resultobj
;
10070 wxFileHistory
* _arg0
;
10072 PyObject
* _argo0
= 0;
10073 PyObject
* _obj1
= 0;
10074 char *_kwnames
[] = { "self","file", NULL
};
10077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileHistory_AddFileToHistory",_kwnames
,&_argo0
,&_obj1
))
10080 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10081 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
10082 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_AddFileToHistory. Expected _wxFileHistory_p.");
10087 _arg1
= wxString_in_helper(_obj1
);
10092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10093 wxFileHistory_AddFileToHistory(_arg0
,*_arg1
);
10095 wxPyEndAllowThreads(__tstate
);
10096 if (PyErr_Occurred()) return NULL
;
10097 } Py_INCREF(Py_None
);
10098 _resultobj
= Py_None
;
10106 #define wxFileHistory_RemoveFileFromHistory(_swigobj,_swigarg0) (_swigobj->RemoveFileFromHistory(_swigarg0))
10107 static PyObject
*_wrap_wxFileHistory_RemoveFileFromHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10108 PyObject
* _resultobj
;
10109 wxFileHistory
* _arg0
;
10111 PyObject
* _argo0
= 0;
10112 char *_kwnames
[] = { "self","i", NULL
};
10115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFileHistory_RemoveFileFromHistory",_kwnames
,&_argo0
,&_arg1
))
10118 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10119 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
10120 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_RemoveFileFromHistory. Expected _wxFileHistory_p.");
10125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10126 wxFileHistory_RemoveFileFromHistory(_arg0
,_arg1
);
10128 wxPyEndAllowThreads(__tstate
);
10129 if (PyErr_Occurred()) return NULL
;
10130 } Py_INCREF(Py_None
);
10131 _resultobj
= Py_None
;
10135 #define wxFileHistory_GetMaxFiles(_swigobj) (_swigobj->GetMaxFiles())
10136 static PyObject
*_wrap_wxFileHistory_GetMaxFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10137 PyObject
* _resultobj
;
10139 wxFileHistory
* _arg0
;
10140 PyObject
* _argo0
= 0;
10141 char *_kwnames
[] = { "self", NULL
};
10144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileHistory_GetMaxFiles",_kwnames
,&_argo0
))
10147 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10148 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
10149 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_GetMaxFiles. Expected _wxFileHistory_p.");
10154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10155 _result
= (int )wxFileHistory_GetMaxFiles(_arg0
);
10157 wxPyEndAllowThreads(__tstate
);
10158 if (PyErr_Occurred()) return NULL
;
10159 } _resultobj
= Py_BuildValue("i",_result
);
10163 #define wxFileHistory_UseMenu(_swigobj,_swigarg0) (_swigobj->UseMenu(_swigarg0))
10164 static PyObject
*_wrap_wxFileHistory_UseMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10165 PyObject
* _resultobj
;
10166 wxFileHistory
* _arg0
;
10168 PyObject
* _argo0
= 0;
10169 PyObject
* _argo1
= 0;
10170 char *_kwnames
[] = { "self","menu", NULL
};
10173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileHistory_UseMenu",_kwnames
,&_argo0
,&_argo1
))
10176 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10177 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
10178 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_UseMenu. Expected _wxFileHistory_p.");
10183 if (_argo1
== Py_None
) { _arg1
= NULL
; }
10184 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
10185 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFileHistory_UseMenu. Expected _wxMenu_p.");
10190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10191 wxFileHistory_UseMenu(_arg0
,_arg1
);
10193 wxPyEndAllowThreads(__tstate
);
10194 if (PyErr_Occurred()) return NULL
;
10195 } Py_INCREF(Py_None
);
10196 _resultobj
= Py_None
;
10200 #define wxFileHistory_RemoveMenu(_swigobj,_swigarg0) (_swigobj->RemoveMenu(_swigarg0))
10201 static PyObject
*_wrap_wxFileHistory_RemoveMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10202 PyObject
* _resultobj
;
10203 wxFileHistory
* _arg0
;
10205 PyObject
* _argo0
= 0;
10206 PyObject
* _argo1
= 0;
10207 char *_kwnames
[] = { "self","menu", NULL
};
10210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileHistory_RemoveMenu",_kwnames
,&_argo0
,&_argo1
))
10213 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10214 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
10215 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_RemoveMenu. Expected _wxFileHistory_p.");
10220 if (_argo1
== Py_None
) { _arg1
= NULL
; }
10221 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
10222 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFileHistory_RemoveMenu. Expected _wxMenu_p.");
10227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10228 wxFileHistory_RemoveMenu(_arg0
,_arg1
);
10230 wxPyEndAllowThreads(__tstate
);
10231 if (PyErr_Occurred()) return NULL
;
10232 } Py_INCREF(Py_None
);
10233 _resultobj
= Py_None
;
10237 #define wxFileHistory_Load(_swigobj,_swigarg0) (_swigobj->Load(_swigarg0))
10238 static PyObject
*_wrap_wxFileHistory_Load(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10239 PyObject
* _resultobj
;
10240 wxFileHistory
* _arg0
;
10241 wxConfigBase
* _arg1
;
10242 PyObject
* _argo0
= 0;
10243 PyObject
* _argo1
= 0;
10244 char *_kwnames
[] = { "self","config", NULL
};
10247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileHistory_Load",_kwnames
,&_argo0
,&_argo1
))
10250 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10251 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
10252 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_Load. Expected _wxFileHistory_p.");
10257 if (_argo1
== Py_None
) { _arg1
= NULL
; }
10258 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxConfigBase_p")) {
10259 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFileHistory_Load. Expected _wxConfigBase_p.");
10264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10265 wxFileHistory_Load(_arg0
,*_arg1
);
10267 wxPyEndAllowThreads(__tstate
);
10268 if (PyErr_Occurred()) return NULL
;
10269 } Py_INCREF(Py_None
);
10270 _resultobj
= Py_None
;
10274 #define wxFileHistory_Save(_swigobj,_swigarg0) (_swigobj->Save(_swigarg0))
10275 static PyObject
*_wrap_wxFileHistory_Save(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10276 PyObject
* _resultobj
;
10277 wxFileHistory
* _arg0
;
10278 wxConfigBase
* _arg1
;
10279 PyObject
* _argo0
= 0;
10280 PyObject
* _argo1
= 0;
10281 char *_kwnames
[] = { "self","config", NULL
};
10284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileHistory_Save",_kwnames
,&_argo0
,&_argo1
))
10287 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10288 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
10289 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_Save. Expected _wxFileHistory_p.");
10294 if (_argo1
== Py_None
) { _arg1
= NULL
; }
10295 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxConfigBase_p")) {
10296 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFileHistory_Save. Expected _wxConfigBase_p.");
10301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10302 wxFileHistory_Save(_arg0
,*_arg1
);
10304 wxPyEndAllowThreads(__tstate
);
10305 if (PyErr_Occurred()) return NULL
;
10306 } Py_INCREF(Py_None
);
10307 _resultobj
= Py_None
;
10311 #define wxFileHistory_AddFilesToMenu(_swigobj) (_swigobj->AddFilesToMenu())
10312 static PyObject
*_wrap_wxFileHistory_AddFilesToMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10313 PyObject
* _resultobj
;
10314 wxFileHistory
* _arg0
;
10315 PyObject
* _argo0
= 0;
10316 char *_kwnames
[] = { "self", NULL
};
10319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileHistory_AddFilesToMenu",_kwnames
,&_argo0
))
10322 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10323 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
10324 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_AddFilesToMenu. Expected _wxFileHistory_p.");
10329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10330 wxFileHistory_AddFilesToMenu(_arg0
);
10332 wxPyEndAllowThreads(__tstate
);
10333 if (PyErr_Occurred()) return NULL
;
10334 } Py_INCREF(Py_None
);
10335 _resultobj
= Py_None
;
10339 #define wxFileHistory_AddFilesToThisMenu(_swigobj,_swigarg0) (_swigobj->AddFilesToMenu(_swigarg0))
10340 static PyObject
*_wrap_wxFileHistory_AddFilesToThisMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10341 PyObject
* _resultobj
;
10342 wxFileHistory
* _arg0
;
10344 PyObject
* _argo0
= 0;
10345 PyObject
* _argo1
= 0;
10346 char *_kwnames
[] = { "self","menu", NULL
};
10349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileHistory_AddFilesToThisMenu",_kwnames
,&_argo0
,&_argo1
))
10352 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10353 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
10354 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_AddFilesToThisMenu. Expected _wxFileHistory_p.");
10359 if (_argo1
== Py_None
) { _arg1
= NULL
; }
10360 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
10361 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFileHistory_AddFilesToThisMenu. Expected _wxMenu_p.");
10366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10367 wxFileHistory_AddFilesToThisMenu(_arg0
,_arg1
);
10369 wxPyEndAllowThreads(__tstate
);
10370 if (PyErr_Occurred()) return NULL
;
10371 } Py_INCREF(Py_None
);
10372 _resultobj
= Py_None
;
10376 #define wxFileHistory_GetHistoryFile(_swigobj,_swigarg0) (_swigobj->GetHistoryFile(_swigarg0))
10377 static PyObject
*_wrap_wxFileHistory_GetHistoryFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10378 PyObject
* _resultobj
;
10379 wxString
* _result
;
10380 wxFileHistory
* _arg0
;
10382 PyObject
* _argo0
= 0;
10383 char *_kwnames
[] = { "self","i", NULL
};
10386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFileHistory_GetHistoryFile",_kwnames
,&_argo0
,&_arg1
))
10389 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10390 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
10391 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_GetHistoryFile. Expected _wxFileHistory_p.");
10396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10397 _result
= new wxString (wxFileHistory_GetHistoryFile(_arg0
,_arg1
));
10399 wxPyEndAllowThreads(__tstate
);
10400 if (PyErr_Occurred()) return NULL
;
10403 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
10405 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
10414 #define wxFileHistory_GetCount(_swigobj) (_swigobj->GetCount())
10415 static PyObject
*_wrap_wxFileHistory_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10416 PyObject
* _resultobj
;
10418 wxFileHistory
* _arg0
;
10419 PyObject
* _argo0
= 0;
10420 char *_kwnames
[] = { "self", NULL
};
10423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileHistory_GetCount",_kwnames
,&_argo0
))
10426 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10427 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
10428 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_GetCount. Expected _wxFileHistory_p.");
10433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10434 _result
= (int )wxFileHistory_GetCount(_arg0
);
10436 wxPyEndAllowThreads(__tstate
);
10437 if (PyErr_Occurred()) return NULL
;
10438 } _resultobj
= Py_BuildValue("i",_result
);
10442 #define wxFileHistory_GetNoHistoryFiles(_swigobj) (_swigobj->GetNoHistoryFiles())
10443 static PyObject
*_wrap_wxFileHistory_GetNoHistoryFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10444 PyObject
* _resultobj
;
10446 wxFileHistory
* _arg0
;
10447 PyObject
* _argo0
= 0;
10448 char *_kwnames
[] = { "self", NULL
};
10451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileHistory_GetNoHistoryFiles",_kwnames
,&_argo0
))
10454 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10455 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
10456 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_GetNoHistoryFiles. Expected _wxFileHistory_p.");
10461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10462 _result
= (int )wxFileHistory_GetNoHistoryFiles(_arg0
);
10464 wxPyEndAllowThreads(__tstate
);
10465 if (PyErr_Occurred()) return NULL
;
10466 } _resultobj
= Py_BuildValue("i",_result
);
10470 static void *SwigwxEffectsTowxObject(void *ptr
) {
10473 src
= (wxEffects
*) ptr
;
10474 dest
= (wxObject
*) src
;
10475 return (void *) dest
;
10478 #define new_wxEffects() (new wxEffects())
10479 static PyObject
*_wrap_new_wxEffects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10480 PyObject
* _resultobj
;
10481 wxEffects
* _result
;
10482 char *_kwnames
[] = { NULL
};
10486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxEffects",_kwnames
))
10489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10490 _result
= (wxEffects
*)new_wxEffects();
10492 wxPyEndAllowThreads(__tstate
);
10493 if (PyErr_Occurred()) return NULL
;
10495 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxEffects_p");
10496 _resultobj
= Py_BuildValue("s",_ptemp
);
10498 Py_INCREF(Py_None
);
10499 _resultobj
= Py_None
;
10504 #define wxEffects_GetHighlightColour(_swigobj) (_swigobj->GetHighlightColour())
10505 static PyObject
*_wrap_wxEffects_GetHighlightColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10506 PyObject
* _resultobj
;
10507 wxColour
* _result
;
10509 PyObject
* _argo0
= 0;
10510 char *_kwnames
[] = { "self", NULL
};
10514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEffects_GetHighlightColour",_kwnames
,&_argo0
))
10517 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10518 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEffects_p")) {
10519 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEffects_GetHighlightColour. Expected _wxEffects_p.");
10524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10525 _result
= new wxColour (wxEffects_GetHighlightColour(_arg0
));
10527 wxPyEndAllowThreads(__tstate
);
10528 if (PyErr_Occurred()) return NULL
;
10529 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
10530 _resultobj
= Py_BuildValue("s",_ptemp
);
10534 #define wxEffects_GetLightShadow(_swigobj) (_swigobj->GetLightShadow())
10535 static PyObject
*_wrap_wxEffects_GetLightShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10536 PyObject
* _resultobj
;
10537 wxColour
* _result
;
10539 PyObject
* _argo0
= 0;
10540 char *_kwnames
[] = { "self", NULL
};
10544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEffects_GetLightShadow",_kwnames
,&_argo0
))
10547 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10548 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEffects_p")) {
10549 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEffects_GetLightShadow. Expected _wxEffects_p.");
10554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10555 _result
= new wxColour (wxEffects_GetLightShadow(_arg0
));
10557 wxPyEndAllowThreads(__tstate
);
10558 if (PyErr_Occurred()) return NULL
;
10559 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
10560 _resultobj
= Py_BuildValue("s",_ptemp
);
10564 #define wxEffects_GetFaceColour(_swigobj) (_swigobj->GetFaceColour())
10565 static PyObject
*_wrap_wxEffects_GetFaceColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10566 PyObject
* _resultobj
;
10567 wxColour
* _result
;
10569 PyObject
* _argo0
= 0;
10570 char *_kwnames
[] = { "self", NULL
};
10574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEffects_GetFaceColour",_kwnames
,&_argo0
))
10577 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10578 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEffects_p")) {
10579 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEffects_GetFaceColour. Expected _wxEffects_p.");
10584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10585 _result
= new wxColour (wxEffects_GetFaceColour(_arg0
));
10587 wxPyEndAllowThreads(__tstate
);
10588 if (PyErr_Occurred()) return NULL
;
10589 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
10590 _resultobj
= Py_BuildValue("s",_ptemp
);
10594 #define wxEffects_GetMediumShadow(_swigobj) (_swigobj->GetMediumShadow())
10595 static PyObject
*_wrap_wxEffects_GetMediumShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10596 PyObject
* _resultobj
;
10597 wxColour
* _result
;
10599 PyObject
* _argo0
= 0;
10600 char *_kwnames
[] = { "self", NULL
};
10604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEffects_GetMediumShadow",_kwnames
,&_argo0
))
10607 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10608 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEffects_p")) {
10609 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEffects_GetMediumShadow. Expected _wxEffects_p.");
10614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10615 _result
= new wxColour (wxEffects_GetMediumShadow(_arg0
));
10617 wxPyEndAllowThreads(__tstate
);
10618 if (PyErr_Occurred()) return NULL
;
10619 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
10620 _resultobj
= Py_BuildValue("s",_ptemp
);
10624 #define wxEffects_GetDarkShadow(_swigobj) (_swigobj->GetDarkShadow())
10625 static PyObject
*_wrap_wxEffects_GetDarkShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10626 PyObject
* _resultobj
;
10627 wxColour
* _result
;
10629 PyObject
* _argo0
= 0;
10630 char *_kwnames
[] = { "self", NULL
};
10634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEffects_GetDarkShadow",_kwnames
,&_argo0
))
10637 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10638 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEffects_p")) {
10639 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEffects_GetDarkShadow. Expected _wxEffects_p.");
10644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10645 _result
= new wxColour (wxEffects_GetDarkShadow(_arg0
));
10647 wxPyEndAllowThreads(__tstate
);
10648 if (PyErr_Occurred()) return NULL
;
10649 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
10650 _resultobj
= Py_BuildValue("s",_ptemp
);
10654 #define wxEffects_SetHighlightColour(_swigobj,_swigarg0) (_swigobj->SetHighlightColour(_swigarg0))
10655 static PyObject
*_wrap_wxEffects_SetHighlightColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10656 PyObject
* _resultobj
;
10659 PyObject
* _argo0
= 0;
10661 PyObject
* _obj1
= 0;
10662 char *_kwnames
[] = { "self","c", NULL
};
10665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxEffects_SetHighlightColour",_kwnames
,&_argo0
,&_obj1
))
10668 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10669 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEffects_p")) {
10670 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEffects_SetHighlightColour. Expected _wxEffects_p.");
10676 if (! wxColour_helper(_obj1
, &_arg1
))
10680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10681 wxEffects_SetHighlightColour(_arg0
,*_arg1
);
10683 wxPyEndAllowThreads(__tstate
);
10684 if (PyErr_Occurred()) return NULL
;
10685 } Py_INCREF(Py_None
);
10686 _resultobj
= Py_None
;
10690 #define wxEffects_SetLightShadow(_swigobj,_swigarg0) (_swigobj->SetLightShadow(_swigarg0))
10691 static PyObject
*_wrap_wxEffects_SetLightShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10692 PyObject
* _resultobj
;
10695 PyObject
* _argo0
= 0;
10697 PyObject
* _obj1
= 0;
10698 char *_kwnames
[] = { "self","c", NULL
};
10701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxEffects_SetLightShadow",_kwnames
,&_argo0
,&_obj1
))
10704 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10705 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEffects_p")) {
10706 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEffects_SetLightShadow. Expected _wxEffects_p.");
10712 if (! wxColour_helper(_obj1
, &_arg1
))
10716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10717 wxEffects_SetLightShadow(_arg0
,*_arg1
);
10719 wxPyEndAllowThreads(__tstate
);
10720 if (PyErr_Occurred()) return NULL
;
10721 } Py_INCREF(Py_None
);
10722 _resultobj
= Py_None
;
10726 #define wxEffects_SetFaceColour(_swigobj,_swigarg0) (_swigobj->SetFaceColour(_swigarg0))
10727 static PyObject
*_wrap_wxEffects_SetFaceColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10728 PyObject
* _resultobj
;
10731 PyObject
* _argo0
= 0;
10733 PyObject
* _obj1
= 0;
10734 char *_kwnames
[] = { "self","c", NULL
};
10737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxEffects_SetFaceColour",_kwnames
,&_argo0
,&_obj1
))
10740 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10741 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEffects_p")) {
10742 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEffects_SetFaceColour. Expected _wxEffects_p.");
10748 if (! wxColour_helper(_obj1
, &_arg1
))
10752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10753 wxEffects_SetFaceColour(_arg0
,*_arg1
);
10755 wxPyEndAllowThreads(__tstate
);
10756 if (PyErr_Occurred()) return NULL
;
10757 } Py_INCREF(Py_None
);
10758 _resultobj
= Py_None
;
10762 #define wxEffects_SetMediumShadow(_swigobj,_swigarg0) (_swigobj->SetMediumShadow(_swigarg0))
10763 static PyObject
*_wrap_wxEffects_SetMediumShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10764 PyObject
* _resultobj
;
10767 PyObject
* _argo0
= 0;
10769 PyObject
* _obj1
= 0;
10770 char *_kwnames
[] = { "self","c", NULL
};
10773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxEffects_SetMediumShadow",_kwnames
,&_argo0
,&_obj1
))
10776 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10777 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEffects_p")) {
10778 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEffects_SetMediumShadow. Expected _wxEffects_p.");
10784 if (! wxColour_helper(_obj1
, &_arg1
))
10788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10789 wxEffects_SetMediumShadow(_arg0
,*_arg1
);
10791 wxPyEndAllowThreads(__tstate
);
10792 if (PyErr_Occurred()) return NULL
;
10793 } Py_INCREF(Py_None
);
10794 _resultobj
= Py_None
;
10798 #define wxEffects_SetDarkShadow(_swigobj,_swigarg0) (_swigobj->SetDarkShadow(_swigarg0))
10799 static PyObject
*_wrap_wxEffects_SetDarkShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10800 PyObject
* _resultobj
;
10803 PyObject
* _argo0
= 0;
10805 PyObject
* _obj1
= 0;
10806 char *_kwnames
[] = { "self","c", NULL
};
10809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxEffects_SetDarkShadow",_kwnames
,&_argo0
,&_obj1
))
10812 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10813 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEffects_p")) {
10814 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEffects_SetDarkShadow. Expected _wxEffects_p.");
10820 if (! wxColour_helper(_obj1
, &_arg1
))
10824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10825 wxEffects_SetDarkShadow(_arg0
,*_arg1
);
10827 wxPyEndAllowThreads(__tstate
);
10828 if (PyErr_Occurred()) return NULL
;
10829 } Py_INCREF(Py_None
);
10830 _resultobj
= Py_None
;
10834 #define wxEffects_Set(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->Set(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
10835 static PyObject
*_wrap_wxEffects_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10836 PyObject
* _resultobj
;
10843 PyObject
* _argo0
= 0;
10845 PyObject
* _obj1
= 0;
10847 PyObject
* _obj2
= 0;
10849 PyObject
* _obj3
= 0;
10851 PyObject
* _obj4
= 0;
10853 PyObject
* _obj5
= 0;
10854 char *_kwnames
[] = { "self","highlightColour","lightShadow","faceColour","mediumShadow","darkShadow", NULL
};
10857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOOOO:wxEffects_Set",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&_obj3
,&_obj4
,&_obj5
))
10860 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10861 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEffects_p")) {
10862 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEffects_Set. Expected _wxEffects_p.");
10868 if (! wxColour_helper(_obj1
, &_arg1
))
10873 if (! wxColour_helper(_obj2
, &_arg2
))
10878 if (! wxColour_helper(_obj3
, &_arg3
))
10883 if (! wxColour_helper(_obj4
, &_arg4
))
10888 if (! wxColour_helper(_obj5
, &_arg5
))
10892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10893 wxEffects_Set(_arg0
,*_arg1
,*_arg2
,*_arg3
,*_arg4
,*_arg5
);
10895 wxPyEndAllowThreads(__tstate
);
10896 if (PyErr_Occurred()) return NULL
;
10897 } Py_INCREF(Py_None
);
10898 _resultobj
= Py_None
;
10902 #define wxEffects_DrawSunkenEdge(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawSunkenEdge(_swigarg0,_swigarg1,_swigarg2))
10903 static PyObject
*_wrap_wxEffects_DrawSunkenEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10904 PyObject
* _resultobj
;
10908 int _arg3
= (int ) 1;
10909 PyObject
* _argo0
= 0;
10910 PyObject
* _argo1
= 0;
10912 PyObject
* _obj2
= 0;
10913 char *_kwnames
[] = { "self","dc","rect","borderSize", NULL
};
10916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|i:wxEffects_DrawSunkenEdge",_kwnames
,&_argo0
,&_argo1
,&_obj2
,&_arg3
))
10919 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10920 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEffects_p")) {
10921 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEffects_DrawSunkenEdge. Expected _wxEffects_p.");
10926 if (_argo1
== Py_None
) { _arg1
= NULL
; }
10927 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
10928 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxEffects_DrawSunkenEdge. Expected _wxDC_p.");
10934 if (! wxRect_helper(_obj2
, &_arg2
))
10938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10939 wxEffects_DrawSunkenEdge(_arg0
,*_arg1
,*_arg2
,_arg3
);
10941 wxPyEndAllowThreads(__tstate
);
10942 if (PyErr_Occurred()) return NULL
;
10943 } Py_INCREF(Py_None
);
10944 _resultobj
= Py_None
;
10948 #define wxEffects_TileBitmap(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->TileBitmap(_swigarg0,_swigarg1,_swigarg2))
10949 static PyObject
*_wrap_wxEffects_TileBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10950 PyObject
* _resultobj
;
10956 PyObject
* _argo0
= 0;
10958 PyObject
* _obj1
= 0;
10959 PyObject
* _argo2
= 0;
10960 PyObject
* _argo3
= 0;
10961 char *_kwnames
[] = { "self","rect","dc","bitmap", NULL
};
10964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO:wxEffects_TileBitmap",_kwnames
,&_argo0
,&_obj1
,&_argo2
,&_argo3
))
10967 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10968 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEffects_p")) {
10969 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEffects_TileBitmap. Expected _wxEffects_p.");
10975 if (! wxRect_helper(_obj1
, &_arg1
))
10979 if (_argo2
== Py_None
) { _arg2
= NULL
; }
10980 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxDC_p")) {
10981 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxEffects_TileBitmap. Expected _wxDC_p.");
10986 if (_argo3
== Py_None
) { _arg3
= NULL
; }
10987 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxBitmap_p")) {
10988 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxEffects_TileBitmap. Expected _wxBitmap_p.");
10993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10994 _result
= (bool )wxEffects_TileBitmap(_arg0
,*_arg1
,*_arg2
,*_arg3
);
10996 wxPyEndAllowThreads(__tstate
);
10997 if (PyErr_Occurred()) return NULL
;
10998 } _resultobj
= Py_BuildValue("i",_result
);
11002 #define new_wxSingleInstanceChecker(_swigarg0,_swigarg1) (new wxSingleInstanceChecker(_swigarg0,_swigarg1))
11003 static PyObject
*_wrap_new_wxSingleInstanceChecker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11004 PyObject
* _resultobj
;
11005 wxSingleInstanceChecker
* _result
;
11007 wxString
* _arg1
= (wxString
*) &wxPyEmptyString
;
11008 PyObject
* _obj0
= 0;
11009 PyObject
* _obj1
= 0;
11010 char *_kwnames
[] = { "name","path", NULL
};
11014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:new_wxSingleInstanceChecker",_kwnames
,&_obj0
,&_obj1
))
11017 _arg0
= wxString_in_helper(_obj0
);
11023 _arg1
= wxString_in_helper(_obj1
);
11028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11029 _result
= (wxSingleInstanceChecker
*)new_wxSingleInstanceChecker(*_arg0
,*_arg1
);
11031 wxPyEndAllowThreads(__tstate
);
11032 if (PyErr_Occurred()) return NULL
;
11034 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSingleInstanceChecker_p");
11035 _resultobj
= Py_BuildValue("s",_ptemp
);
11037 Py_INCREF(Py_None
);
11038 _resultobj
= Py_None
;
11051 #define new_wxPreSingleInstanceChecker() (new wxSingleInstanceChecker())
11052 static PyObject
*_wrap_new_wxPreSingleInstanceChecker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11053 PyObject
* _resultobj
;
11054 wxSingleInstanceChecker
* _result
;
11055 char *_kwnames
[] = { NULL
};
11059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreSingleInstanceChecker",_kwnames
))
11062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11063 _result
= (wxSingleInstanceChecker
*)new_wxPreSingleInstanceChecker();
11065 wxPyEndAllowThreads(__tstate
);
11066 if (PyErr_Occurred()) return NULL
;
11068 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSingleInstanceChecker_p");
11069 _resultobj
= Py_BuildValue("s",_ptemp
);
11071 Py_INCREF(Py_None
);
11072 _resultobj
= Py_None
;
11077 #define delete_wxSingleInstanceChecker(_swigobj) (delete _swigobj)
11078 static PyObject
*_wrap_delete_wxSingleInstanceChecker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11079 PyObject
* _resultobj
;
11080 wxSingleInstanceChecker
* _arg0
;
11081 PyObject
* _argo0
= 0;
11082 char *_kwnames
[] = { "self", NULL
};
11085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxSingleInstanceChecker",_kwnames
,&_argo0
))
11088 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11089 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSingleInstanceChecker_p")) {
11090 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxSingleInstanceChecker. Expected _wxSingleInstanceChecker_p.");
11095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11096 delete_wxSingleInstanceChecker(_arg0
);
11098 wxPyEndAllowThreads(__tstate
);
11099 if (PyErr_Occurred()) return NULL
;
11100 } Py_INCREF(Py_None
);
11101 _resultobj
= Py_None
;
11105 #define wxSingleInstanceChecker_Create(_swigobj,_swigarg0,_swigarg1) (_swigobj->Create(_swigarg0,_swigarg1))
11106 static PyObject
*_wrap_wxSingleInstanceChecker_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11107 PyObject
* _resultobj
;
11109 wxSingleInstanceChecker
* _arg0
;
11111 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
11112 PyObject
* _argo0
= 0;
11113 PyObject
* _obj1
= 0;
11114 PyObject
* _obj2
= 0;
11115 char *_kwnames
[] = { "self","name","path", NULL
};
11118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxSingleInstanceChecker_Create",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
11121 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11122 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSingleInstanceChecker_p")) {
11123 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSingleInstanceChecker_Create. Expected _wxSingleInstanceChecker_p.");
11128 _arg1
= wxString_in_helper(_obj1
);
11134 _arg2
= wxString_in_helper(_obj2
);
11139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11140 _result
= (bool )wxSingleInstanceChecker_Create(_arg0
,*_arg1
,*_arg2
);
11142 wxPyEndAllowThreads(__tstate
);
11143 if (PyErr_Occurred()) return NULL
;
11144 } _resultobj
= Py_BuildValue("i",_result
);
11156 #define wxSingleInstanceChecker_IsAnotherRunning(_swigobj) (_swigobj->IsAnotherRunning())
11157 static PyObject
*_wrap_wxSingleInstanceChecker_IsAnotherRunning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11158 PyObject
* _resultobj
;
11160 wxSingleInstanceChecker
* _arg0
;
11161 PyObject
* _argo0
= 0;
11162 char *_kwnames
[] = { "self", NULL
};
11165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSingleInstanceChecker_IsAnotherRunning",_kwnames
,&_argo0
))
11168 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11169 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSingleInstanceChecker_p")) {
11170 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSingleInstanceChecker_IsAnotherRunning. Expected _wxSingleInstanceChecker_p.");
11175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11176 _result
= (bool )wxSingleInstanceChecker_IsAnotherRunning(_arg0
);
11178 wxPyEndAllowThreads(__tstate
);
11179 if (PyErr_Occurred()) return NULL
;
11180 } _resultobj
= Py_BuildValue("i",_result
);
11184 static PyMethodDef misc2cMethods
[] = {
11185 { "wxSingleInstanceChecker_IsAnotherRunning", (PyCFunction
) _wrap_wxSingleInstanceChecker_IsAnotherRunning
, METH_VARARGS
| METH_KEYWORDS
},
11186 { "wxSingleInstanceChecker_Create", (PyCFunction
) _wrap_wxSingleInstanceChecker_Create
, METH_VARARGS
| METH_KEYWORDS
},
11187 { "delete_wxSingleInstanceChecker", (PyCFunction
) _wrap_delete_wxSingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
},
11188 { "new_wxPreSingleInstanceChecker", (PyCFunction
) _wrap_new_wxPreSingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
},
11189 { "new_wxSingleInstanceChecker", (PyCFunction
) _wrap_new_wxSingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
},
11190 { "wxEffects_TileBitmap", (PyCFunction
) _wrap_wxEffects_TileBitmap
, METH_VARARGS
| METH_KEYWORDS
},
11191 { "wxEffects_DrawSunkenEdge", (PyCFunction
) _wrap_wxEffects_DrawSunkenEdge
, METH_VARARGS
| METH_KEYWORDS
},
11192 { "wxEffects_Set", (PyCFunction
) _wrap_wxEffects_Set
, METH_VARARGS
| METH_KEYWORDS
},
11193 { "wxEffects_SetDarkShadow", (PyCFunction
) _wrap_wxEffects_SetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
},
11194 { "wxEffects_SetMediumShadow", (PyCFunction
) _wrap_wxEffects_SetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
},
11195 { "wxEffects_SetFaceColour", (PyCFunction
) _wrap_wxEffects_SetFaceColour
, METH_VARARGS
| METH_KEYWORDS
},
11196 { "wxEffects_SetLightShadow", (PyCFunction
) _wrap_wxEffects_SetLightShadow
, METH_VARARGS
| METH_KEYWORDS
},
11197 { "wxEffects_SetHighlightColour", (PyCFunction
) _wrap_wxEffects_SetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
},
11198 { "wxEffects_GetDarkShadow", (PyCFunction
) _wrap_wxEffects_GetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
},
11199 { "wxEffects_GetMediumShadow", (PyCFunction
) _wrap_wxEffects_GetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
},
11200 { "wxEffects_GetFaceColour", (PyCFunction
) _wrap_wxEffects_GetFaceColour
, METH_VARARGS
| METH_KEYWORDS
},
11201 { "wxEffects_GetLightShadow", (PyCFunction
) _wrap_wxEffects_GetLightShadow
, METH_VARARGS
| METH_KEYWORDS
},
11202 { "wxEffects_GetHighlightColour", (PyCFunction
) _wrap_wxEffects_GetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
},
11203 { "new_wxEffects", (PyCFunction
) _wrap_new_wxEffects
, METH_VARARGS
| METH_KEYWORDS
},
11204 { "wxFileHistory_GetNoHistoryFiles", (PyCFunction
) _wrap_wxFileHistory_GetNoHistoryFiles
, METH_VARARGS
| METH_KEYWORDS
},
11205 { "wxFileHistory_GetCount", (PyCFunction
) _wrap_wxFileHistory_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
11206 { "wxFileHistory_GetHistoryFile", (PyCFunction
) _wrap_wxFileHistory_GetHistoryFile
, METH_VARARGS
| METH_KEYWORDS
},
11207 { "wxFileHistory_AddFilesToThisMenu", (PyCFunction
) _wrap_wxFileHistory_AddFilesToThisMenu
, METH_VARARGS
| METH_KEYWORDS
},
11208 { "wxFileHistory_AddFilesToMenu", (PyCFunction
) _wrap_wxFileHistory_AddFilesToMenu
, METH_VARARGS
| METH_KEYWORDS
},
11209 { "wxFileHistory_Save", (PyCFunction
) _wrap_wxFileHistory_Save
, METH_VARARGS
| METH_KEYWORDS
},
11210 { "wxFileHistory_Load", (PyCFunction
) _wrap_wxFileHistory_Load
, METH_VARARGS
| METH_KEYWORDS
},
11211 { "wxFileHistory_RemoveMenu", (PyCFunction
) _wrap_wxFileHistory_RemoveMenu
, METH_VARARGS
| METH_KEYWORDS
},
11212 { "wxFileHistory_UseMenu", (PyCFunction
) _wrap_wxFileHistory_UseMenu
, METH_VARARGS
| METH_KEYWORDS
},
11213 { "wxFileHistory_GetMaxFiles", (PyCFunction
) _wrap_wxFileHistory_GetMaxFiles
, METH_VARARGS
| METH_KEYWORDS
},
11214 { "wxFileHistory_RemoveFileFromHistory", (PyCFunction
) _wrap_wxFileHistory_RemoveFileFromHistory
, METH_VARARGS
| METH_KEYWORDS
},
11215 { "wxFileHistory_AddFileToHistory", (PyCFunction
) _wrap_wxFileHistory_AddFileToHistory
, METH_VARARGS
| METH_KEYWORDS
},
11216 { "delete_wxFileHistory", (PyCFunction
) _wrap_delete_wxFileHistory
, METH_VARARGS
| METH_KEYWORDS
},
11217 { "new_wxFileHistory", (PyCFunction
) _wrap_new_wxFileHistory
, METH_VARARGS
| METH_KEYWORDS
},
11218 { "wxArtProvider_CleanUpProviders", (PyCFunction
) _wrap_wxArtProvider_CleanUpProviders
, METH_VARARGS
| METH_KEYWORDS
},
11219 { "wxArtProvider_GetIcon", (PyCFunction
) _wrap_wxArtProvider_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
11220 { "wxArtProvider_GetBitmap", (PyCFunction
) _wrap_wxArtProvider_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
11221 { "wxArtProvider_RemoveProvider", (PyCFunction
) _wrap_wxArtProvider_RemoveProvider
, METH_VARARGS
| METH_KEYWORDS
},
11222 { "wxArtProvider_PopProvider", (PyCFunction
) _wrap_wxArtProvider_PopProvider
, METH_VARARGS
| METH_KEYWORDS
},
11223 { "wxArtProvider_PushProvider", (PyCFunction
) _wrap_wxArtProvider_PushProvider
, METH_VARARGS
| METH_KEYWORDS
},
11224 { "wxArtProvider__setCallbackInfo", (PyCFunction
) _wrap_wxArtProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
11225 { "new_wxArtProvider", (PyCFunction
) _wrap_new_wxArtProvider
, METH_VARARGS
| METH_KEYWORDS
},
11226 { "delete_wxMimeTypesManager", (PyCFunction
) _wrap_delete_wxMimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
},
11227 { "wxMimeTypesManager_Unassociate", (PyCFunction
) _wrap_wxMimeTypesManager_Unassociate
, METH_VARARGS
| METH_KEYWORDS
},
11228 { "wxMimeTypesManager_Associate", (PyCFunction
) _wrap_wxMimeTypesManager_Associate
, METH_VARARGS
| METH_KEYWORDS
},
11229 { "wxMimeTypesManager_AddFallback", (PyCFunction
) _wrap_wxMimeTypesManager_AddFallback
, METH_VARARGS
| METH_KEYWORDS
},
11230 { "wxMimeTypesManager_EnumAllFileTypes", (PyCFunction
) _wrap_wxMimeTypesManager_EnumAllFileTypes
, METH_VARARGS
| METH_KEYWORDS
},
11231 { "wxMimeTypesManager_ReadMimeTypes", (PyCFunction
) _wrap_wxMimeTypesManager_ReadMimeTypes
, METH_VARARGS
| METH_KEYWORDS
},
11232 { "wxMimeTypesManager_ReadMailcap", (PyCFunction
) _wrap_wxMimeTypesManager_ReadMailcap
, METH_VARARGS
| METH_KEYWORDS
},
11233 { "wxMimeTypesManager_GetFileTypeFromMimeType", (PyCFunction
) _wrap_wxMimeTypesManager_GetFileTypeFromMimeType
, METH_VARARGS
| METH_KEYWORDS
},
11234 { "wxMimeTypesManager_GetFileTypeFromExtension", (PyCFunction
) _wrap_wxMimeTypesManager_GetFileTypeFromExtension
, METH_VARARGS
| METH_KEYWORDS
},
11235 { "wxMimeTypesManager_ClearData", (PyCFunction
) _wrap_wxMimeTypesManager_ClearData
, METH_VARARGS
| METH_KEYWORDS
},
11236 { "wxMimeTypesManager_Initialize", (PyCFunction
) _wrap_wxMimeTypesManager_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
11237 { "new_wxMimeTypesManager", (PyCFunction
) _wrap_new_wxMimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
},
11238 { "wxMimeTypesManager_IsOfType", (PyCFunction
) _wrap_wxMimeTypesManager_IsOfType
, METH_VARARGS
| METH_KEYWORDS
},
11239 { "delete_wxFileType", (PyCFunction
) _wrap_delete_wxFileType
, METH_VARARGS
| METH_KEYWORDS
},
11240 { "wxFileType_ExpandCommand", (PyCFunction
) _wrap_wxFileType_ExpandCommand
, METH_VARARGS
| METH_KEYWORDS
},
11241 { "wxFileType_Unassociate", (PyCFunction
) _wrap_wxFileType_Unassociate
, METH_VARARGS
| METH_KEYWORDS
},
11242 { "wxFileType_SetDefaultIcon", (PyCFunction
) _wrap_wxFileType_SetDefaultIcon
, METH_VARARGS
| METH_KEYWORDS
},
11243 { "wxFileType_SetCommand", (PyCFunction
) _wrap_wxFileType_SetCommand
, METH_VARARGS
| METH_KEYWORDS
},
11244 { "wxFileType_GetAllCommands", (PyCFunction
) _wrap_wxFileType_GetAllCommands
, METH_VARARGS
| METH_KEYWORDS
},
11245 { "wxFileType_GetPrintCommand", (PyCFunction
) _wrap_wxFileType_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
},
11246 { "wxFileType_GetOpenCommand", (PyCFunction
) _wrap_wxFileType_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
},
11247 { "wxFileType_GetDescription", (PyCFunction
) _wrap_wxFileType_GetDescription
, METH_VARARGS
| METH_KEYWORDS
},
11248 { "wxFileType_GetIconInfo", (PyCFunction
) _wrap_wxFileType_GetIconInfo
, METH_VARARGS
| METH_KEYWORDS
},
11249 { "wxFileType_GetIcon", (PyCFunction
) _wrap_wxFileType_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
11250 { "wxFileType_GetExtensions", (PyCFunction
) _wrap_wxFileType_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
},
11251 { "wxFileType_GetMimeTypes", (PyCFunction
) _wrap_wxFileType_GetMimeTypes
, METH_VARARGS
| METH_KEYWORDS
},
11252 { "wxFileType_GetMimeType", (PyCFunction
) _wrap_wxFileType_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
11253 { "new_wxFileType", (PyCFunction
) _wrap_new_wxFileType
, METH_VARARGS
| METH_KEYWORDS
},
11254 { "wxFileTypeInfo_GetIconIndex", (PyCFunction
) _wrap_wxFileTypeInfo_GetIconIndex
, METH_VARARGS
| METH_KEYWORDS
},
11255 { "wxFileTypeInfo_GetIconFile", (PyCFunction
) _wrap_wxFileTypeInfo_GetIconFile
, METH_VARARGS
| METH_KEYWORDS
},
11256 { "wxFileTypeInfo_GetExtensionsCount", (PyCFunction
) _wrap_wxFileTypeInfo_GetExtensionsCount
, METH_VARARGS
| METH_KEYWORDS
},
11257 { "wxFileTypeInfo_GetExtensions", (PyCFunction
) _wrap_wxFileTypeInfo_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
},
11258 { "wxFileTypeInfo_GetDescription", (PyCFunction
) _wrap_wxFileTypeInfo_GetDescription
, METH_VARARGS
| METH_KEYWORDS
},
11259 { "wxFileTypeInfo_GetShortDesc", (PyCFunction
) _wrap_wxFileTypeInfo_GetShortDesc
, METH_VARARGS
| METH_KEYWORDS
},
11260 { "wxFileTypeInfo_GetPrintCommand", (PyCFunction
) _wrap_wxFileTypeInfo_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
},
11261 { "wxFileTypeInfo_GetOpenCommand", (PyCFunction
) _wrap_wxFileTypeInfo_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
},
11262 { "wxFileTypeInfo_GetMimeType", (PyCFunction
) _wrap_wxFileTypeInfo_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
11263 { "wxFileTypeInfo_SetShortDesc", (PyCFunction
) _wrap_wxFileTypeInfo_SetShortDesc
, METH_VARARGS
| METH_KEYWORDS
},
11264 { "wxFileTypeInfo_SetIcon", (PyCFunction
) _wrap_wxFileTypeInfo_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
11265 { "wxFileTypeInfo_IsValid", (PyCFunction
) _wrap_wxFileTypeInfo_IsValid
, METH_VARARGS
| METH_KEYWORDS
},
11266 { "new_wxNullFileTypeInfo", (PyCFunction
) _wrap_new_wxNullFileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
},
11267 { "new_wxFileTypeInfoSequence", (PyCFunction
) _wrap_new_wxFileTypeInfoSequence
, METH_VARARGS
| METH_KEYWORDS
},
11268 { "new_wxFileTypeInfo", (PyCFunction
) _wrap_new_wxFileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
},
11269 { "wxWave_Play", (PyCFunction
) _wrap_wxWave_Play
, METH_VARARGS
| METH_KEYWORDS
},
11270 { "wxWave_IsOk", (PyCFunction
) _wrap_wxWave_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
11271 { "delete_wxWave", (PyCFunction
) _wrap_delete_wxWave
, METH_VARARGS
| METH_KEYWORDS
},
11272 { "new_wxWave", (PyCFunction
) _wrap_new_wxWave
, METH_VARARGS
| METH_KEYWORDS
},
11273 { "wxJoystick_ReleaseCapture", (PyCFunction
) _wrap_wxJoystick_ReleaseCapture
, METH_VARARGS
| METH_KEYWORDS
},
11274 { "wxJoystick_SetCapture", (PyCFunction
) _wrap_wxJoystick_SetCapture
, METH_VARARGS
| METH_KEYWORDS
},
11275 { "wxJoystick_HasPOVCTS", (PyCFunction
) _wrap_wxJoystick_HasPOVCTS
, METH_VARARGS
| METH_KEYWORDS
},
11276 { "wxJoystick_HasPOV4Dir", (PyCFunction
) _wrap_wxJoystick_HasPOV4Dir
, METH_VARARGS
| METH_KEYWORDS
},
11277 { "wxJoystick_HasPOV", (PyCFunction
) _wrap_wxJoystick_HasPOV
, METH_VARARGS
| METH_KEYWORDS
},
11278 { "wxJoystick_HasV", (PyCFunction
) _wrap_wxJoystick_HasV
, METH_VARARGS
| METH_KEYWORDS
},
11279 { "wxJoystick_HasU", (PyCFunction
) _wrap_wxJoystick_HasU
, METH_VARARGS
| METH_KEYWORDS
},
11280 { "wxJoystick_HasZ", (PyCFunction
) _wrap_wxJoystick_HasZ
, METH_VARARGS
| METH_KEYWORDS
},
11281 { "wxJoystick_HasRudder", (PyCFunction
) _wrap_wxJoystick_HasRudder
, METH_VARARGS
| METH_KEYWORDS
},
11282 { "wxJoystick_GetVMax", (PyCFunction
) _wrap_wxJoystick_GetVMax
, METH_VARARGS
| METH_KEYWORDS
},
11283 { "wxJoystick_GetVMin", (PyCFunction
) _wrap_wxJoystick_GetVMin
, METH_VARARGS
| METH_KEYWORDS
},
11284 { "wxJoystick_GetUMax", (PyCFunction
) _wrap_wxJoystick_GetUMax
, METH_VARARGS
| METH_KEYWORDS
},
11285 { "wxJoystick_GetUMin", (PyCFunction
) _wrap_wxJoystick_GetUMin
, METH_VARARGS
| METH_KEYWORDS
},
11286 { "wxJoystick_GetRudderMax", (PyCFunction
) _wrap_wxJoystick_GetRudderMax
, METH_VARARGS
| METH_KEYWORDS
},
11287 { "wxJoystick_GetRudderMin", (PyCFunction
) _wrap_wxJoystick_GetRudderMin
, METH_VARARGS
| METH_KEYWORDS
},
11288 { "wxJoystick_GetPollingMax", (PyCFunction
) _wrap_wxJoystick_GetPollingMax
, METH_VARARGS
| METH_KEYWORDS
},
11289 { "wxJoystick_GetPollingMin", (PyCFunction
) _wrap_wxJoystick_GetPollingMin
, METH_VARARGS
| METH_KEYWORDS
},
11290 { "wxJoystick_GetMaxAxes", (PyCFunction
) _wrap_wxJoystick_GetMaxAxes
, METH_VARARGS
| METH_KEYWORDS
},
11291 { "wxJoystick_GetMaxButtons", (PyCFunction
) _wrap_wxJoystick_GetMaxButtons
, METH_VARARGS
| METH_KEYWORDS
},
11292 { "wxJoystick_GetNumberAxes", (PyCFunction
) _wrap_wxJoystick_GetNumberAxes
, METH_VARARGS
| METH_KEYWORDS
},
11293 { "wxJoystick_GetNumberButtons", (PyCFunction
) _wrap_wxJoystick_GetNumberButtons
, METH_VARARGS
| METH_KEYWORDS
},
11294 { "wxJoystick_GetZMax", (PyCFunction
) _wrap_wxJoystick_GetZMax
, METH_VARARGS
| METH_KEYWORDS
},
11295 { "wxJoystick_GetYMax", (PyCFunction
) _wrap_wxJoystick_GetYMax
, METH_VARARGS
| METH_KEYWORDS
},
11296 { "wxJoystick_GetXMax", (PyCFunction
) _wrap_wxJoystick_GetXMax
, METH_VARARGS
| METH_KEYWORDS
},
11297 { "wxJoystick_GetZMin", (PyCFunction
) _wrap_wxJoystick_GetZMin
, METH_VARARGS
| METH_KEYWORDS
},
11298 { "wxJoystick_GetYMin", (PyCFunction
) _wrap_wxJoystick_GetYMin
, METH_VARARGS
| METH_KEYWORDS
},
11299 { "wxJoystick_GetXMin", (PyCFunction
) _wrap_wxJoystick_GetXMin
, METH_VARARGS
| METH_KEYWORDS
},
11300 { "wxJoystick_GetProductName", (PyCFunction
) _wrap_wxJoystick_GetProductName
, METH_VARARGS
| METH_KEYWORDS
},
11301 { "wxJoystick_GetProductId", (PyCFunction
) _wrap_wxJoystick_GetProductId
, METH_VARARGS
| METH_KEYWORDS
},
11302 { "wxJoystick_GetManufacturerId", (PyCFunction
) _wrap_wxJoystick_GetManufacturerId
, METH_VARARGS
| METH_KEYWORDS
},
11303 { "wxJoystick_GetNumberJoysticks", (PyCFunction
) _wrap_wxJoystick_GetNumberJoysticks
, METH_VARARGS
| METH_KEYWORDS
},
11304 { "wxJoystick_IsOk", (PyCFunction
) _wrap_wxJoystick_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
11305 { "wxJoystick_SetMovementThreshold", (PyCFunction
) _wrap_wxJoystick_SetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
},
11306 { "wxJoystick_GetMovementThreshold", (PyCFunction
) _wrap_wxJoystick_GetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
},
11307 { "wxJoystick_GetVPosition", (PyCFunction
) _wrap_wxJoystick_GetVPosition
, METH_VARARGS
| METH_KEYWORDS
},
11308 { "wxJoystick_GetUPosition", (PyCFunction
) _wrap_wxJoystick_GetUPosition
, METH_VARARGS
| METH_KEYWORDS
},
11309 { "wxJoystick_GetRudderPosition", (PyCFunction
) _wrap_wxJoystick_GetRudderPosition
, METH_VARARGS
| METH_KEYWORDS
},
11310 { "wxJoystick_GetPOVCTSPosition", (PyCFunction
) _wrap_wxJoystick_GetPOVCTSPosition
, METH_VARARGS
| METH_KEYWORDS
},
11311 { "wxJoystick_GetPOVPosition", (PyCFunction
) _wrap_wxJoystick_GetPOVPosition
, METH_VARARGS
| METH_KEYWORDS
},
11312 { "wxJoystick_GetButtonState", (PyCFunction
) _wrap_wxJoystick_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
},
11313 { "wxJoystick_GetZPosition", (PyCFunction
) _wrap_wxJoystick_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
},
11314 { "wxJoystick_GetPosition", (PyCFunction
) _wrap_wxJoystick_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
11315 { "delete_wxJoystick", (PyCFunction
) _wrap_delete_wxJoystick
, METH_VARARGS
| METH_KEYWORDS
},
11316 { "new_wxJoystick", (PyCFunction
) _wrap_new_wxJoystick
, METH_VARARGS
| METH_KEYWORDS
},
11317 { "wxProcess_IsErrorAvailable", (PyCFunction
) _wrap_wxProcess_IsErrorAvailable
, METH_VARARGS
| METH_KEYWORDS
},
11318 { "wxProcess_IsInputAvailable", (PyCFunction
) _wrap_wxProcess_IsInputAvailable
, METH_VARARGS
| METH_KEYWORDS
},
11319 { "wxProcess_IsInputOpened", (PyCFunction
) _wrap_wxProcess_IsInputOpened
, METH_VARARGS
| METH_KEYWORDS
},
11320 { "wxProcess_CloseOutput", (PyCFunction
) _wrap_wxProcess_CloseOutput
, METH_VARARGS
| METH_KEYWORDS
},
11321 { "wxProcess_GetOutputStream", (PyCFunction
) _wrap_wxProcess_GetOutputStream
, METH_VARARGS
| METH_KEYWORDS
},
11322 { "wxProcess_GetErrorStream", (PyCFunction
) _wrap_wxProcess_GetErrorStream
, METH_VARARGS
| METH_KEYWORDS
},
11323 { "wxProcess_GetInputStream", (PyCFunction
) _wrap_wxProcess_GetInputStream
, METH_VARARGS
| METH_KEYWORDS
},
11324 { "wxProcess_Detach", (PyCFunction
) _wrap_wxProcess_Detach
, METH_VARARGS
| METH_KEYWORDS
},
11325 { "wxProcess_IsRedirected", (PyCFunction
) _wrap_wxProcess_IsRedirected
, METH_VARARGS
| METH_KEYWORDS
},
11326 { "wxProcess_Redirect", (PyCFunction
) _wrap_wxProcess_Redirect
, METH_VARARGS
| METH_KEYWORDS
},
11327 { "wxProcess_base_OnTerminate", (PyCFunction
) _wrap_wxProcess_base_OnTerminate
, METH_VARARGS
| METH_KEYWORDS
},
11328 { "wxProcess__setCallbackInfo", (PyCFunction
) _wrap_wxProcess__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
11329 { "wxProcess_Destroy", (PyCFunction
) _wrap_wxProcess_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
11330 { "new_wxProcess", (PyCFunction
) _wrap_new_wxProcess
, METH_VARARGS
| METH_KEYWORDS
},
11331 { "wxProcess_Open", (PyCFunction
) _wrap_wxProcess_Open
, METH_VARARGS
| METH_KEYWORDS
},
11332 { "wxProcess_Exists", (PyCFunction
) _wrap_wxProcess_Exists
, METH_VARARGS
| METH_KEYWORDS
},
11333 { "wxProcess_Kill", (PyCFunction
) _wrap_wxProcess_Kill
, METH_VARARGS
| METH_KEYWORDS
},
11334 { "wxProcessEvent_m_exitcode_get", (PyCFunction
) _wrap_wxProcessEvent_m_exitcode_get
, METH_VARARGS
| METH_KEYWORDS
},
11335 { "wxProcessEvent_m_exitcode_set", (PyCFunction
) _wrap_wxProcessEvent_m_exitcode_set
, METH_VARARGS
| METH_KEYWORDS
},
11336 { "wxProcessEvent_m_pid_get", (PyCFunction
) _wrap_wxProcessEvent_m_pid_get
, METH_VARARGS
| METH_KEYWORDS
},
11337 { "wxProcessEvent_m_pid_set", (PyCFunction
) _wrap_wxProcessEvent_m_pid_set
, METH_VARARGS
| METH_KEYWORDS
},
11338 { "wxProcessEvent_GetExitCode", (PyCFunction
) _wrap_wxProcessEvent_GetExitCode
, METH_VARARGS
| METH_KEYWORDS
},
11339 { "wxProcessEvent_GetPid", (PyCFunction
) _wrap_wxProcessEvent_GetPid
, METH_VARARGS
| METH_KEYWORDS
},
11340 { "new_wxProcessEvent", (PyCFunction
) _wrap_new_wxProcessEvent
, METH_VARARGS
| METH_KEYWORDS
},
11341 { "wxPyLog_Destroy", (PyCFunction
) _wrap_wxPyLog_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
11342 { "wxPyLog__setCallbackInfo", (PyCFunction
) _wrap_wxPyLog__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
11343 { "new_wxPyLog", (PyCFunction
) _wrap_new_wxPyLog
, METH_VARARGS
| METH_KEYWORDS
},
11344 { "delete_wxLogNull", (PyCFunction
) _wrap_delete_wxLogNull
, METH_VARARGS
| METH_KEYWORDS
},
11345 { "new_wxLogNull", (PyCFunction
) _wrap_new_wxLogNull
, METH_VARARGS
| METH_KEYWORDS
},
11346 { "wxLogChain_GetOldLog", (PyCFunction
) _wrap_wxLogChain_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
},
11347 { "wxLogChain_IsPassingMessages", (PyCFunction
) _wrap_wxLogChain_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
},
11348 { "wxLogChain_PassMessages", (PyCFunction
) _wrap_wxLogChain_PassMessages
, METH_VARARGS
| METH_KEYWORDS
},
11349 { "wxLogChain_SetLog", (PyCFunction
) _wrap_wxLogChain_SetLog
, METH_VARARGS
| METH_KEYWORDS
},
11350 { "new_wxLogChain", (PyCFunction
) _wrap_new_wxLogChain
, METH_VARARGS
| METH_KEYWORDS
},
11351 { "wxLogWindow_PassMessages", (PyCFunction
) _wrap_wxLogWindow_PassMessages
, METH_VARARGS
| METH_KEYWORDS
},
11352 { "wxLogWindow_IsPassingMessages", (PyCFunction
) _wrap_wxLogWindow_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
},
11353 { "wxLogWindow_GetOldLog", (PyCFunction
) _wrap_wxLogWindow_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
},
11354 { "wxLogWindow_GetFrame", (PyCFunction
) _wrap_wxLogWindow_GetFrame
, METH_VARARGS
| METH_KEYWORDS
},
11355 { "wxLogWindow_Show", (PyCFunction
) _wrap_wxLogWindow_Show
, METH_VARARGS
| METH_KEYWORDS
},
11356 { "new_wxLogWindow", (PyCFunction
) _wrap_new_wxLogWindow
, METH_VARARGS
| METH_KEYWORDS
},
11357 { "new_wxLogGui", (PyCFunction
) _wrap_new_wxLogGui
, METH_VARARGS
| METH_KEYWORDS
},
11358 { "new_wxLogTextCtrl", (PyCFunction
) _wrap_new_wxLogTextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
11359 { "new_wxLogStderr", (PyCFunction
) _wrap_new_wxLogStderr
, METH_VARARGS
| METH_KEYWORDS
},
11360 { "wxLog_TimeStamp", (PyCFunction
) _wrap_wxLog_TimeStamp
, METH_VARARGS
| METH_KEYWORDS
},
11361 { "wxLog_IsAllowedTraceMask", (PyCFunction
) _wrap_wxLog_IsAllowedTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
11362 { "wxLog_GetTraceMask", (PyCFunction
) _wrap_wxLog_GetTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
11363 { "wxLog_GetVerbose", (PyCFunction
) _wrap_wxLog_GetVerbose
, METH_VARARGS
| METH_KEYWORDS
},
11364 { "wxLog_GetTimestamp", (PyCFunction
) _wrap_wxLog_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
11365 { "wxLog_SetTimestamp", (PyCFunction
) _wrap_wxLog_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
11366 { "wxLog_GetTraceMasks", (PyCFunction
) _wrap_wxLog_GetTraceMasks
, METH_VARARGS
| METH_KEYWORDS
},
11367 { "wxLog_ClearTraceMasks", (PyCFunction
) _wrap_wxLog_ClearTraceMasks
, METH_VARARGS
| METH_KEYWORDS
},
11368 { "wxLog_RemoveTraceMask", (PyCFunction
) _wrap_wxLog_RemoveTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
11369 { "wxLog_AddTraceMask", (PyCFunction
) _wrap_wxLog_AddTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
11370 { "wxLog_SetTraceMask", (PyCFunction
) _wrap_wxLog_SetTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
11371 { "wxLog_DontCreateOnDemand", (PyCFunction
) _wrap_wxLog_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
},
11372 { "wxLog_SetVerbose", (PyCFunction
) _wrap_wxLog_SetVerbose
, METH_VARARGS
| METH_KEYWORDS
},
11373 { "wxLog_Resume", (PyCFunction
) _wrap_wxLog_Resume
, METH_VARARGS
| METH_KEYWORDS
},
11374 { "wxLog_Suspend", (PyCFunction
) _wrap_wxLog_Suspend
, METH_VARARGS
| METH_KEYWORDS
},
11375 { "wxLog_SetActiveTarget", (PyCFunction
) _wrap_wxLog_SetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
},
11376 { "wxLog_GetActiveTarget", (PyCFunction
) _wrap_wxLog_GetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
},
11377 { "wxLog_FlushActive", (PyCFunction
) _wrap_wxLog_FlushActive
, METH_VARARGS
| METH_KEYWORDS
},
11378 { "wxLog_HasPendingMessages", (PyCFunction
) _wrap_wxLog_HasPendingMessages
, METH_VARARGS
| METH_KEYWORDS
},
11379 { "wxLog_Flush", (PyCFunction
) _wrap_wxLog_Flush
, METH_VARARGS
| METH_KEYWORDS
},
11380 { "wxLog_OnLog", (PyCFunction
) _wrap_wxLog_OnLog
, METH_VARARGS
| METH_KEYWORDS
},
11381 { "wxLog_EnableLogging", (PyCFunction
) _wrap_wxLog_EnableLogging
, METH_VARARGS
| METH_KEYWORDS
},
11382 { "wxLog_IsEnabled", (PyCFunction
) _wrap_wxLog_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
11383 { "new_wxLog", (PyCFunction
) _wrap_new_wxLog
, METH_VARARGS
| METH_KEYWORDS
},
11384 { "wxStopWatch_Time", (PyCFunction
) _wrap_wxStopWatch_Time
, METH_VARARGS
| METH_KEYWORDS
},
11385 { "wxStopWatch_Resume", (PyCFunction
) _wrap_wxStopWatch_Resume
, METH_VARARGS
| METH_KEYWORDS
},
11386 { "wxStopWatch_Pause", (PyCFunction
) _wrap_wxStopWatch_Pause
, METH_VARARGS
| METH_KEYWORDS
},
11387 { "wxStopWatch_Start", (PyCFunction
) _wrap_wxStopWatch_Start
, METH_VARARGS
| METH_KEYWORDS
},
11388 { "delete_wxStopWatch", (PyCFunction
) _wrap_delete_wxStopWatch
, METH_VARARGS
| METH_KEYWORDS
},
11389 { "new_wxStopWatch", (PyCFunction
) _wrap_new_wxStopWatch
, METH_VARARGS
| METH_KEYWORDS
},
11390 { "wxPyTimer_Stop", (PyCFunction
) _wrap_wxPyTimer_Stop
, METH_VARARGS
| METH_KEYWORDS
},
11391 { "wxPyTimer_Start", (PyCFunction
) _wrap_wxPyTimer_Start
, METH_VARARGS
| METH_KEYWORDS
},
11392 { "wxPyTimer_SetOwner", (PyCFunction
) _wrap_wxPyTimer_SetOwner
, METH_VARARGS
| METH_KEYWORDS
},
11393 { "wxPyTimer_IsRunning", (PyCFunction
) _wrap_wxPyTimer_IsRunning
, METH_VARARGS
| METH_KEYWORDS
},
11394 { "wxPyTimer_IsOneShot", (PyCFunction
) _wrap_wxPyTimer_IsOneShot
, METH_VARARGS
| METH_KEYWORDS
},
11395 { "wxPyTimer_GetInterval", (PyCFunction
) _wrap_wxPyTimer_GetInterval
, METH_VARARGS
| METH_KEYWORDS
},
11396 { "delete_wxPyTimer", (PyCFunction
) _wrap_delete_wxPyTimer
, METH_VARARGS
| METH_KEYWORDS
},
11397 { "new_wxPyTimer", (PyCFunction
) _wrap_new_wxPyTimer
, METH_VARARGS
| METH_KEYWORDS
},
11398 { "wxDragImage_RedrawImage", (PyCFunction
) _wrap_wxDragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
},
11399 { "wxDragImage_GetImageRect", (PyCFunction
) _wrap_wxDragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
},
11400 { "wxDragImage_Hide", (PyCFunction
) _wrap_wxDragImage_Hide
, METH_VARARGS
| METH_KEYWORDS
},
11401 { "wxDragImage_Show", (PyCFunction
) _wrap_wxDragImage_Show
, METH_VARARGS
| METH_KEYWORDS
},
11402 { "wxDragImage_Move", (PyCFunction
) _wrap_wxDragImage_Move
, METH_VARARGS
| METH_KEYWORDS
},
11403 { "wxDragImage_EndDrag", (PyCFunction
) _wrap_wxDragImage_EndDrag
, METH_VARARGS
| METH_KEYWORDS
},
11404 { "wxDragImage_BeginDrag2", (PyCFunction
) _wrap_wxDragImage_BeginDrag2
, METH_VARARGS
| METH_KEYWORDS
},
11405 { "wxDragImage_BeginDrag", (PyCFunction
) _wrap_wxDragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
},
11406 { "wxDragImage_SetBackingBitmap", (PyCFunction
) _wrap_wxDragImage_SetBackingBitmap
, METH_VARARGS
| METH_KEYWORDS
},
11407 { "delete_wxDragImage", (PyCFunction
) _wrap_delete_wxDragImage
, METH_VARARGS
| METH_KEYWORDS
},
11408 { "new_wxDragListItem", (PyCFunction
) _wrap_new_wxDragListItem
, METH_VARARGS
| METH_KEYWORDS
},
11409 { "new_wxDragTreeItem", (PyCFunction
) _wrap_new_wxDragTreeItem
, METH_VARARGS
| METH_KEYWORDS
},
11410 { "new_wxDragString", (PyCFunction
) _wrap_new_wxDragString
, METH_VARARGS
| METH_KEYWORDS
},
11411 { "new_wxDragIcon", (PyCFunction
) _wrap_new_wxDragIcon
, METH_VARARGS
| METH_KEYWORDS
},
11412 { "new_wxDragImage", (PyCFunction
) _wrap_new_wxDragImage
, METH_VARARGS
| METH_KEYWORDS
},
11413 { "wxPyTipProvider__setCallbackInfo", (PyCFunction
) _wrap_wxPyTipProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
11414 { "new_wxPyTipProvider", (PyCFunction
) _wrap_new_wxPyTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
11415 { "wxTipProvider_PreprocessTip", (PyCFunction
) _wrap_wxTipProvider_PreprocessTip
, METH_VARARGS
| METH_KEYWORDS
},
11416 { "wxTipProvider_GetCurrentTip", (PyCFunction
) _wrap_wxTipProvider_GetCurrentTip
, METH_VARARGS
| METH_KEYWORDS
},
11417 { "wxTipProvider_GetTip", (PyCFunction
) _wrap_wxTipProvider_GetTip
, METH_VARARGS
| METH_KEYWORDS
},
11418 { "delete_wxTipProvider", (PyCFunction
) _wrap_delete_wxTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
11419 { "delete_wxMutexGuiLocker", (PyCFunction
) _wrap_delete_wxMutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
},
11420 { "new_wxMutexGuiLocker", (PyCFunction
) _wrap_new_wxMutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
},
11421 { "delete_wxWindowDisabler", (PyCFunction
) _wrap_delete_wxWindowDisabler
, METH_VARARGS
| METH_KEYWORDS
},
11422 { "new_wxWindowDisabler", (PyCFunction
) _wrap_new_wxWindowDisabler
, METH_VARARGS
| METH_KEYWORDS
},
11423 { "delete_wxBusyCursor", (PyCFunction
) _wrap_delete_wxBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
11424 { "new_wxBusyCursor", (PyCFunction
) _wrap_new_wxBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
11425 { "wxCaret_Hide", (PyCFunction
) _wrap_wxCaret_Hide
, METH_VARARGS
| METH_KEYWORDS
},
11426 { "wxCaret_Show", (PyCFunction
) _wrap_wxCaret_Show
, METH_VARARGS
| METH_KEYWORDS
},
11427 { "wxCaret_SetSize", (PyCFunction
) _wrap_wxCaret_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
11428 { "wxCaret_SetSizeWH", (PyCFunction
) _wrap_wxCaret_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
11429 { "wxCaret_Move", (PyCFunction
) _wrap_wxCaret_Move
, METH_VARARGS
| METH_KEYWORDS
},
11430 { "wxCaret_MoveXY", (PyCFunction
) _wrap_wxCaret_MoveXY
, METH_VARARGS
| METH_KEYWORDS
},
11431 { "wxCaret_GetWindow", (PyCFunction
) _wrap_wxCaret_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
11432 { "wxCaret_GetSize", (PyCFunction
) _wrap_wxCaret_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
11433 { "wxCaret_GetSizeTuple", (PyCFunction
) _wrap_wxCaret_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
11434 { "wxCaret_GetPosition", (PyCFunction
) _wrap_wxCaret_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
11435 { "wxCaret_GetPositionTuple", (PyCFunction
) _wrap_wxCaret_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
11436 { "wxCaret_IsVisible", (PyCFunction
) _wrap_wxCaret_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
11437 { "wxCaret_IsOk", (PyCFunction
) _wrap_wxCaret_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
11438 { "delete_wxCaret", (PyCFunction
) _wrap_delete_wxCaret
, METH_VARARGS
| METH_KEYWORDS
},
11439 { "new_wxCaret", (PyCFunction
) _wrap_new_wxCaret
, METH_VARARGS
| METH_KEYWORDS
},
11440 { "wxToolTip_SetDelay", (PyCFunction
) _wrap_wxToolTip_SetDelay
, METH_VARARGS
| METH_KEYWORDS
},
11441 { "wxToolTip_Enable", (PyCFunction
) _wrap_wxToolTip_Enable
, METH_VARARGS
| METH_KEYWORDS
},
11442 { "wxToolTip_GetWindow", (PyCFunction
) _wrap_wxToolTip_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
11443 { "wxToolTip_GetTip", (PyCFunction
) _wrap_wxToolTip_GetTip
, METH_VARARGS
| METH_KEYWORDS
},
11444 { "wxToolTip_SetTip", (PyCFunction
) _wrap_wxToolTip_SetTip
, METH_VARARGS
| METH_KEYWORDS
},
11445 { "new_wxToolTip", (PyCFunction
) _wrap_new_wxToolTip
, METH_VARARGS
| METH_KEYWORDS
},
11446 { "wxSystemSettings_SetScreenType", (PyCFunction
) _wrap_wxSystemSettings_SetScreenType
, METH_VARARGS
| METH_KEYWORDS
},
11447 { "wxSystemSettings_GetScreenType", (PyCFunction
) _wrap_wxSystemSettings_GetScreenType
, METH_VARARGS
| METH_KEYWORDS
},
11448 { "wxSystemSettings_HasFeature", (PyCFunction
) _wrap_wxSystemSettings_HasFeature
, METH_VARARGS
| METH_KEYWORDS
},
11449 { "wxSystemSettings_GetMetric", (PyCFunction
) _wrap_wxSystemSettings_GetMetric
, METH_VARARGS
| METH_KEYWORDS
},
11450 { "wxSystemSettings_GetFont", (PyCFunction
) _wrap_wxSystemSettings_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
11451 { "wxSystemSettings_GetColour", (PyCFunction
) _wrap_wxSystemSettings_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
11452 { "wxWaveData", (PyCFunction
) _wrap_wxWaveData
, METH_VARARGS
| METH_KEYWORDS
},
11453 { "wxExecute", (PyCFunction
) _wrap_wxExecute
, METH_VARARGS
| METH_KEYWORDS
},
11454 { "wxSafeShowMessage", (PyCFunction
) _wrap_wxSafeShowMessage
, METH_VARARGS
| METH_KEYWORDS
},
11455 { "wxLogGeneric", (PyCFunction
) _wrap_wxLogGeneric
, METH_VARARGS
| METH_KEYWORDS
},
11456 { "wxLogTraceMask", (PyCFunction
) _wrap_wxLogTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
11457 { "wxLogTrace", (PyCFunction
) _wrap_wxLogTrace
, METH_VARARGS
| METH_KEYWORDS
},
11458 { "wxLogSysError", (PyCFunction
) _wrap_wxLogSysError
, METH_VARARGS
| METH_KEYWORDS
},
11459 { "wxLogStatusFrame", (PyCFunction
) _wrap_wxLogStatusFrame
, METH_VARARGS
| METH_KEYWORDS
},
11460 { "wxLogStatus", (PyCFunction
) _wrap_wxLogStatus
, METH_VARARGS
| METH_KEYWORDS
},
11461 { "wxLogVerbose", (PyCFunction
) _wrap_wxLogVerbose
, METH_VARARGS
| METH_KEYWORDS
},
11462 { "wxLogInfo", (PyCFunction
) _wrap_wxLogInfo
, METH_VARARGS
| METH_KEYWORDS
},
11463 { "wxLogMessage", (PyCFunction
) _wrap_wxLogMessage
, METH_VARARGS
| METH_KEYWORDS
},
11464 { "wxLogWarning", (PyCFunction
) _wrap_wxLogWarning
, METH_VARARGS
| METH_KEYWORDS
},
11465 { "wxLogError", (PyCFunction
) _wrap_wxLogError
, METH_VARARGS
| METH_KEYWORDS
},
11466 { "wxLogFatalError", (PyCFunction
) _wrap_wxLogFatalError
, METH_VARARGS
| METH_KEYWORDS
},
11467 { "wxSysErrorMsg", (PyCFunction
) _wrap_wxSysErrorMsg
, METH_VARARGS
| METH_KEYWORDS
},
11468 { "wxSysErrorCode", (PyCFunction
) _wrap_wxSysErrorCode
, METH_VARARGS
| METH_KEYWORDS
},
11469 { "wxCreateFileTipProvider", (PyCFunction
) _wrap_wxCreateFileTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
11470 { "wxShowTip", (PyCFunction
) _wrap_wxShowTip
, METH_VARARGS
| METH_KEYWORDS
},
11471 { "wxThread_IsMain", (PyCFunction
) _wrap_wxThread_IsMain
, METH_VARARGS
| METH_KEYWORDS
},
11472 { "wxMutexGuiLeave", (PyCFunction
) _wrap_wxMutexGuiLeave
, METH_VARARGS
| METH_KEYWORDS
},
11473 { "wxMutexGuiEnter", (PyCFunction
) _wrap_wxMutexGuiEnter
, METH_VARARGS
| METH_KEYWORDS
},
11474 { "wxWakeUpIdle", (PyCFunction
) _wrap_wxWakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
},
11475 { "wxPostEvent", (PyCFunction
) _wrap_wxPostEvent
, METH_VARARGS
| METH_KEYWORDS
},
11476 { "wxSafeYield", (PyCFunction
) _wrap_wxSafeYield
, METH_VARARGS
| METH_KEYWORDS
},
11477 { "wxCaret_SetBlinkTime", (PyCFunction
) _wrap_wxCaret_SetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
},
11478 { "wxCaret_GetBlinkTime", (PyCFunction
) _wrap_wxCaret_GetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
},
11479 { "wxResourceParseString", (PyCFunction
) _wrap_wxResourceParseString
, METH_VARARGS
| METH_KEYWORDS
},
11480 { "wxResourceParseFile", (PyCFunction
) _wrap_wxResourceParseFile
, METH_VARARGS
| METH_KEYWORDS
},
11481 { "wxResourceParseData", (PyCFunction
) _wrap_wxResourceParseData
, METH_VARARGS
| METH_KEYWORDS
},
11482 { "wxResourceGetIdentifier", (PyCFunction
) _wrap_wxResourceGetIdentifier
, METH_VARARGS
| METH_KEYWORDS
},
11483 { "wxResourceCreateMenuBar", (PyCFunction
) _wrap_wxResourceCreateMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
11484 { "wxResourceCreateIcon", (PyCFunction
) _wrap_wxResourceCreateIcon
, METH_VARARGS
| METH_KEYWORDS
},
11485 { "wxResourceCreateBitmap", (PyCFunction
) _wrap_wxResourceCreateBitmap
, METH_VARARGS
| METH_KEYWORDS
},
11486 { "wxResourceClear", (PyCFunction
) _wrap_wxResourceClear
, METH_VARARGS
| METH_KEYWORDS
},
11487 { "wxResourceAddIdentifier", (PyCFunction
) _wrap_wxResourceAddIdentifier
, METH_VARARGS
| METH_KEYWORDS
},
11488 { "wxGetTopLevelParent", (PyCFunction
) _wrap_wxGetTopLevelParent
, METH_VARARGS
| METH_KEYWORDS
},
11489 { "wxFindWindowAtPoint", (PyCFunction
) _wrap_wxFindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
},
11490 { "wxGenericFindWindowAtPoint", (PyCFunction
) _wrap_wxGenericFindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
},
11491 { "wxGetActiveWindow", (PyCFunction
) _wrap_wxGetActiveWindow
, METH_VARARGS
| METH_KEYWORDS
},
11492 { "wxBeginBusyCursor", (PyCFunction
) _wrap_wxBeginBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
11493 { "wxSetCursor", (PyCFunction
) _wrap_wxSetCursor
, METH_VARARGS
| METH_KEYWORDS
},
11494 { "wxGetClientDisplayRect", (PyCFunction
) _wrap_wxGetClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
},
11495 { "wxClientDisplayRect", (PyCFunction
) _wrap_wxClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
},
11496 { "wxGetDisplaySizeMM", (PyCFunction
) _wrap_wxGetDisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
},
11497 { "wxDisplaySizeMM", (PyCFunction
) _wrap_wxDisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
},
11498 { "wxGetDisplaySize", (PyCFunction
) _wrap_wxGetDisplaySize
, METH_VARARGS
| METH_KEYWORDS
},
11499 { "wxDisplaySize", (PyCFunction
) _wrap_wxDisplaySize
, METH_VARARGS
| METH_KEYWORDS
},
11500 { "wxGetDisplayDepth", (PyCFunction
) _wrap_wxGetDisplayDepth
, METH_VARARGS
| METH_KEYWORDS
},
11501 { "wxDisplayDepth", (PyCFunction
) _wrap_wxDisplayDepth
, METH_VARARGS
| METH_KEYWORDS
},
11502 { "wxColourDisplay", (PyCFunction
) _wrap_wxColourDisplay
, METH_VARARGS
| METH_KEYWORDS
},
11503 { "wxGetNumberFromUser", (PyCFunction
) _wrap_wxGetNumberFromUser
, METH_VARARGS
| METH_KEYWORDS
},
11504 { "wxMessageBox", (PyCFunction
) _wrap_wxMessageBox
, METH_VARARGS
| METH_KEYWORDS
},
11505 { "wxGetSingleChoiceIndex", (PyCFunction
) _wrap_wxGetSingleChoiceIndex
, METH_VARARGS
| METH_KEYWORDS
},
11506 { "wxGetSingleChoice", (PyCFunction
) _wrap_wxGetSingleChoice
, METH_VARARGS
| METH_KEYWORDS
},
11507 { "wxGetPasswordFromUser", (PyCFunction
) _wrap_wxGetPasswordFromUser
, METH_VARARGS
| METH_KEYWORDS
},
11508 { "wxGetTextFromUser", (PyCFunction
) _wrap_wxGetTextFromUser
, METH_VARARGS
| METH_KEYWORDS
},
11509 { "wxDirSelector", (PyCFunction
) _wrap_wxDirSelector
, METH_VARARGS
| METH_KEYWORDS
},
11510 { "wxSaveFileSelector", (PyCFunction
) _wrap_wxSaveFileSelector
, METH_VARARGS
| METH_KEYWORDS
},
11511 { "wxLoadFileSelector", (PyCFunction
) _wrap_wxLoadFileSelector
, METH_VARARGS
| METH_KEYWORDS
},
11512 { "wxFileSelector", (PyCFunction
) _wrap_wxFileSelector
, METH_VARARGS
| METH_KEYWORDS
},
11519 * This table is used by the pointer type-checker
11521 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
11522 { "_wxEvent","_wxProcessEvent",SwigwxProcessEventTowxEvent
},
11523 { "_signed_long","_long",0},
11524 { "_wxPrintQuality","_wxCoord",0},
11525 { "_wxPrintQuality","_int",0},
11526 { "_wxPrintQuality","_signed_int",0},
11527 { "_wxPrintQuality","_unsigned_int",0},
11528 { "_wxPrintQuality","_wxWindowID",0},
11529 { "_wxPrintQuality","_uint",0},
11530 { "_wxPrintQuality","_EBool",0},
11531 { "_wxPrintQuality","_size_t",0},
11532 { "_wxPrintQuality","_time_t",0},
11533 { "_wxLog","_wxPyLog",SwigwxPyLogTowxLog
},
11534 { "_wxLog","_wxLogChain",SwigwxLogChainTowxLog
},
11535 { "_wxLog","_wxLogWindow",SwigwxLogWindowTowxLog
},
11536 { "_wxLog","_wxLogGui",SwigwxLogGuiTowxLog
},
11537 { "_wxLog","_wxLogTextCtrl",SwigwxLogTextCtrlTowxLog
},
11538 { "_wxLog","_wxLogStderr",SwigwxLogStderrTowxLog
},
11539 { "_byte","_unsigned_char",0},
11540 { "_long","_unsigned_long",0},
11541 { "_long","_signed_long",0},
11542 { "_size_t","_wxCoord",0},
11543 { "_size_t","_wxPrintQuality",0},
11544 { "_size_t","_time_t",0},
11545 { "_size_t","_unsigned_int",0},
11546 { "_size_t","_int",0},
11547 { "_size_t","_wxWindowID",0},
11548 { "_size_t","_uint",0},
11549 { "_uint","_wxCoord",0},
11550 { "_uint","_wxPrintQuality",0},
11551 { "_uint","_time_t",0},
11552 { "_uint","_size_t",0},
11553 { "_uint","_unsigned_int",0},
11554 { "_uint","_int",0},
11555 { "_uint","_wxWindowID",0},
11556 { "_wxChar","_char",0},
11557 { "_char","_wxChar",0},
11558 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
11559 { "_EBool","_wxCoord",0},
11560 { "_EBool","_wxPrintQuality",0},
11561 { "_EBool","_signed_int",0},
11562 { "_EBool","_int",0},
11563 { "_EBool","_wxWindowID",0},
11564 { "_unsigned_long","_long",0},
11565 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
11566 { "_signed_int","_wxCoord",0},
11567 { "_signed_int","_wxPrintQuality",0},
11568 { "_signed_int","_EBool",0},
11569 { "_signed_int","_wxWindowID",0},
11570 { "_signed_int","_int",0},
11571 { "_WXTYPE","_wxDateTime_t",0},
11572 { "_WXTYPE","_short",0},
11573 { "_WXTYPE","_signed_short",0},
11574 { "_WXTYPE","_unsigned_short",0},
11575 { "_wxTipProvider","_wxPyTipProvider",SwigwxPyTipProviderTowxTipProvider
},
11576 { "_unsigned_short","_wxDateTime_t",0},
11577 { "_unsigned_short","_WXTYPE",0},
11578 { "_unsigned_short","_short",0},
11579 { "_wxObject","_wxEffects",SwigwxEffectsTowxObject
},
11580 { "_wxObject","_wxFileHistory",SwigwxFileHistoryTowxObject
},
11581 { "_wxObject","_wxPyArtProvider",SwigwxPyArtProviderTowxObject
},
11582 { "_wxObject","_wxWave",SwigwxWaveTowxObject
},
11583 { "_wxObject","_wxJoystick",SwigwxJoystickTowxObject
},
11584 { "_wxObject","_wxPyProcess",SwigwxPyProcessTowxObject
},
11585 { "_wxObject","_wxProcessEvent",SwigwxProcessEventTowxObject
},
11586 { "_wxObject","_wxPyTimer",SwigwxPyTimerTowxObject
},
11587 { "_wxObject","_wxGenericDragImage",SwigwxGenericDragImageTowxObject
},
11588 { "_wxObject","_wxToolTip",SwigwxToolTipTowxObject
},
11589 { "_signed_short","_WXTYPE",0},
11590 { "_signed_short","_short",0},
11591 { "_unsigned_char","_byte",0},
11592 { "_unsigned_int","_wxCoord",0},
11593 { "_unsigned_int","_wxPrintQuality",0},
11594 { "_unsigned_int","_time_t",0},
11595 { "_unsigned_int","_size_t",0},
11596 { "_unsigned_int","_uint",0},
11597 { "_unsigned_int","_wxWindowID",0},
11598 { "_unsigned_int","_int",0},
11599 { "_short","_wxDateTime_t",0},
11600 { "_short","_WXTYPE",0},
11601 { "_short","_unsigned_short",0},
11602 { "_short","_signed_short",0},
11603 { "_wxWindowID","_wxCoord",0},
11604 { "_wxWindowID","_wxPrintQuality",0},
11605 { "_wxWindowID","_time_t",0},
11606 { "_wxWindowID","_size_t",0},
11607 { "_wxWindowID","_EBool",0},
11608 { "_wxWindowID","_uint",0},
11609 { "_wxWindowID","_int",0},
11610 { "_wxWindowID","_signed_int",0},
11611 { "_wxWindowID","_unsigned_int",0},
11612 { "_int","_wxCoord",0},
11613 { "_int","_wxPrintQuality",0},
11614 { "_int","_time_t",0},
11615 { "_int","_size_t",0},
11616 { "_int","_EBool",0},
11617 { "_int","_uint",0},
11618 { "_int","_wxWindowID",0},
11619 { "_int","_unsigned_int",0},
11620 { "_int","_signed_int",0},
11621 { "_wxDateTime_t","_unsigned_short",0},
11622 { "_wxDateTime_t","_short",0},
11623 { "_wxDateTime_t","_WXTYPE",0},
11624 { "_time_t","_wxCoord",0},
11625 { "_time_t","_wxPrintQuality",0},
11626 { "_time_t","_unsigned_int",0},
11627 { "_time_t","_int",0},
11628 { "_time_t","_wxWindowID",0},
11629 { "_time_t","_uint",0},
11630 { "_time_t","_size_t",0},
11631 { "_wxCoord","_int",0},
11632 { "_wxCoord","_signed_int",0},
11633 { "_wxCoord","_unsigned_int",0},
11634 { "_wxCoord","_wxWindowID",0},
11635 { "_wxCoord","_uint",0},
11636 { "_wxCoord","_EBool",0},
11637 { "_wxCoord","_size_t",0},
11638 { "_wxCoord","_time_t",0},
11639 { "_wxCoord","_wxPrintQuality",0},
11640 { "_wxEvtHandler","_wxPyProcess",SwigwxPyProcessTowxEvtHandler
},
11643 static PyObject
*SWIG_globals
;
11647 SWIGEXPORT(void) initmisc2c() {
11649 SWIG_globals
= SWIG_newvarlink();
11650 m
= Py_InitModule("misc2c", misc2cMethods
);
11651 d
= PyModule_GetDict(m
);
11652 PyDict_SetItemString(d
,"wxSYS_OEM_FIXED_FONT", PyInt_FromLong((long) wxSYS_OEM_FIXED_FONT
));
11653 PyDict_SetItemString(d
,"wxSYS_ANSI_FIXED_FONT", PyInt_FromLong((long) wxSYS_ANSI_FIXED_FONT
));
11654 PyDict_SetItemString(d
,"wxSYS_ANSI_VAR_FONT", PyInt_FromLong((long) wxSYS_ANSI_VAR_FONT
));
11655 PyDict_SetItemString(d
,"wxSYS_SYSTEM_FONT", PyInt_FromLong((long) wxSYS_SYSTEM_FONT
));
11656 PyDict_SetItemString(d
,"wxSYS_DEVICE_DEFAULT_FONT", PyInt_FromLong((long) wxSYS_DEVICE_DEFAULT_FONT
));
11657 PyDict_SetItemString(d
,"wxSYS_DEFAULT_PALETTE", PyInt_FromLong((long) wxSYS_DEFAULT_PALETTE
));
11658 PyDict_SetItemString(d
,"wxSYS_SYSTEM_FIXED_FONT", PyInt_FromLong((long) wxSYS_SYSTEM_FIXED_FONT
));
11659 PyDict_SetItemString(d
,"wxSYS_DEFAULT_GUI_FONT", PyInt_FromLong((long) wxSYS_DEFAULT_GUI_FONT
));
11660 PyDict_SetItemString(d
,"wxSYS_COLOUR_SCROLLBAR", PyInt_FromLong((long) wxSYS_COLOUR_SCROLLBAR
));
11661 PyDict_SetItemString(d
,"wxSYS_COLOUR_BACKGROUND", PyInt_FromLong((long) wxSYS_COLOUR_BACKGROUND
));
11662 PyDict_SetItemString(d
,"wxSYS_COLOUR_DESKTOP", PyInt_FromLong((long) wxSYS_COLOUR_DESKTOP
));
11663 PyDict_SetItemString(d
,"wxSYS_COLOUR_ACTIVECAPTION", PyInt_FromLong((long) wxSYS_COLOUR_ACTIVECAPTION
));
11664 PyDict_SetItemString(d
,"wxSYS_COLOUR_INACTIVECAPTION", PyInt_FromLong((long) wxSYS_COLOUR_INACTIVECAPTION
));
11665 PyDict_SetItemString(d
,"wxSYS_COLOUR_MENU", PyInt_FromLong((long) wxSYS_COLOUR_MENU
));
11666 PyDict_SetItemString(d
,"wxSYS_COLOUR_WINDOW", PyInt_FromLong((long) wxSYS_COLOUR_WINDOW
));
11667 PyDict_SetItemString(d
,"wxSYS_COLOUR_WINDOWFRAME", PyInt_FromLong((long) wxSYS_COLOUR_WINDOWFRAME
));
11668 PyDict_SetItemString(d
,"wxSYS_COLOUR_MENUTEXT", PyInt_FromLong((long) wxSYS_COLOUR_MENUTEXT
));
11669 PyDict_SetItemString(d
,"wxSYS_COLOUR_WINDOWTEXT", PyInt_FromLong((long) wxSYS_COLOUR_WINDOWTEXT
));
11670 PyDict_SetItemString(d
,"wxSYS_COLOUR_CAPTIONTEXT", PyInt_FromLong((long) wxSYS_COLOUR_CAPTIONTEXT
));
11671 PyDict_SetItemString(d
,"wxSYS_COLOUR_ACTIVEBORDER", PyInt_FromLong((long) wxSYS_COLOUR_ACTIVEBORDER
));
11672 PyDict_SetItemString(d
,"wxSYS_COLOUR_INACTIVEBORDER", PyInt_FromLong((long) wxSYS_COLOUR_INACTIVEBORDER
));
11673 PyDict_SetItemString(d
,"wxSYS_COLOUR_APPWORKSPACE", PyInt_FromLong((long) wxSYS_COLOUR_APPWORKSPACE
));
11674 PyDict_SetItemString(d
,"wxSYS_COLOUR_HIGHLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_HIGHLIGHT
));
11675 PyDict_SetItemString(d
,"wxSYS_COLOUR_HIGHLIGHTTEXT", PyInt_FromLong((long) wxSYS_COLOUR_HIGHLIGHTTEXT
));
11676 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNFACE", PyInt_FromLong((long) wxSYS_COLOUR_BTNFACE
));
11677 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DFACE", PyInt_FromLong((long) wxSYS_COLOUR_3DFACE
));
11678 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNSHADOW", PyInt_FromLong((long) wxSYS_COLOUR_BTNSHADOW
));
11679 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DSHADOW", PyInt_FromLong((long) wxSYS_COLOUR_3DSHADOW
));
11680 PyDict_SetItemString(d
,"wxSYS_COLOUR_GRAYTEXT", PyInt_FromLong((long) wxSYS_COLOUR_GRAYTEXT
));
11681 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNTEXT", PyInt_FromLong((long) wxSYS_COLOUR_BTNTEXT
));
11682 PyDict_SetItemString(d
,"wxSYS_COLOUR_INACTIVECAPTIONTEXT", PyInt_FromLong((long) wxSYS_COLOUR_INACTIVECAPTIONTEXT
));
11683 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNHIGHLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_BTNHIGHLIGHT
));
11684 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNHILIGHT", PyInt_FromLong((long) wxSYS_COLOUR_BTNHILIGHT
));
11685 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DHIGHLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_3DHIGHLIGHT
));
11686 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DHILIGHT", PyInt_FromLong((long) wxSYS_COLOUR_3DHILIGHT
));
11687 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DDKSHADOW", PyInt_FromLong((long) wxSYS_COLOUR_3DDKSHADOW
));
11688 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_3DLIGHT
));
11689 PyDict_SetItemString(d
,"wxSYS_COLOUR_INFOTEXT", PyInt_FromLong((long) wxSYS_COLOUR_INFOTEXT
));
11690 PyDict_SetItemString(d
,"wxSYS_COLOUR_INFOBK", PyInt_FromLong((long) wxSYS_COLOUR_INFOBK
));
11691 PyDict_SetItemString(d
,"wxSYS_COLOUR_LISTBOX", PyInt_FromLong((long) wxSYS_COLOUR_LISTBOX
));
11692 PyDict_SetItemString(d
,"wxSYS_COLOUR_HOTLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_HOTLIGHT
));
11693 PyDict_SetItemString(d
,"wxSYS_COLOUR_GRADIENTACTIVECAPTION", PyInt_FromLong((long) wxSYS_COLOUR_GRADIENTACTIVECAPTION
));
11694 PyDict_SetItemString(d
,"wxSYS_COLOUR_GRADIENTINACTIVECAPTION", PyInt_FromLong((long) wxSYS_COLOUR_GRADIENTINACTIVECAPTION
));
11695 PyDict_SetItemString(d
,"wxSYS_COLOUR_MENUHILIGHT", PyInt_FromLong((long) wxSYS_COLOUR_MENUHILIGHT
));
11696 PyDict_SetItemString(d
,"wxSYS_COLOUR_MENUBAR", PyInt_FromLong((long) wxSYS_COLOUR_MENUBAR
));
11697 PyDict_SetItemString(d
,"wxSYS_COLOUR_MAX", PyInt_FromLong((long) wxSYS_COLOUR_MAX
));
11698 PyDict_SetItemString(d
,"wxSYS_MOUSE_BUTTONS", PyInt_FromLong((long) wxSYS_MOUSE_BUTTONS
));
11699 PyDict_SetItemString(d
,"wxSYS_BORDER_X", PyInt_FromLong((long) wxSYS_BORDER_X
));
11700 PyDict_SetItemString(d
,"wxSYS_BORDER_Y", PyInt_FromLong((long) wxSYS_BORDER_Y
));
11701 PyDict_SetItemString(d
,"wxSYS_CURSOR_X", PyInt_FromLong((long) wxSYS_CURSOR_X
));
11702 PyDict_SetItemString(d
,"wxSYS_CURSOR_Y", PyInt_FromLong((long) wxSYS_CURSOR_Y
));
11703 PyDict_SetItemString(d
,"wxSYS_DCLICK_X", PyInt_FromLong((long) wxSYS_DCLICK_X
));
11704 PyDict_SetItemString(d
,"wxSYS_DCLICK_Y", PyInt_FromLong((long) wxSYS_DCLICK_Y
));
11705 PyDict_SetItemString(d
,"wxSYS_DRAG_X", PyInt_FromLong((long) wxSYS_DRAG_X
));
11706 PyDict_SetItemString(d
,"wxSYS_DRAG_Y", PyInt_FromLong((long) wxSYS_DRAG_Y
));
11707 PyDict_SetItemString(d
,"wxSYS_EDGE_X", PyInt_FromLong((long) wxSYS_EDGE_X
));
11708 PyDict_SetItemString(d
,"wxSYS_EDGE_Y", PyInt_FromLong((long) wxSYS_EDGE_Y
));
11709 PyDict_SetItemString(d
,"wxSYS_HSCROLL_ARROW_X", PyInt_FromLong((long) wxSYS_HSCROLL_ARROW_X
));
11710 PyDict_SetItemString(d
,"wxSYS_HSCROLL_ARROW_Y", PyInt_FromLong((long) wxSYS_HSCROLL_ARROW_Y
));
11711 PyDict_SetItemString(d
,"wxSYS_HTHUMB_X", PyInt_FromLong((long) wxSYS_HTHUMB_X
));
11712 PyDict_SetItemString(d
,"wxSYS_ICON_X", PyInt_FromLong((long) wxSYS_ICON_X
));
11713 PyDict_SetItemString(d
,"wxSYS_ICON_Y", PyInt_FromLong((long) wxSYS_ICON_Y
));
11714 PyDict_SetItemString(d
,"wxSYS_ICONSPACING_X", PyInt_FromLong((long) wxSYS_ICONSPACING_X
));
11715 PyDict_SetItemString(d
,"wxSYS_ICONSPACING_Y", PyInt_FromLong((long) wxSYS_ICONSPACING_Y
));
11716 PyDict_SetItemString(d
,"wxSYS_WINDOWMIN_X", PyInt_FromLong((long) wxSYS_WINDOWMIN_X
));
11717 PyDict_SetItemString(d
,"wxSYS_WINDOWMIN_Y", PyInt_FromLong((long) wxSYS_WINDOWMIN_Y
));
11718 PyDict_SetItemString(d
,"wxSYS_SCREEN_X", PyInt_FromLong((long) wxSYS_SCREEN_X
));
11719 PyDict_SetItemString(d
,"wxSYS_SCREEN_Y", PyInt_FromLong((long) wxSYS_SCREEN_Y
));
11720 PyDict_SetItemString(d
,"wxSYS_FRAMESIZE_X", PyInt_FromLong((long) wxSYS_FRAMESIZE_X
));
11721 PyDict_SetItemString(d
,"wxSYS_FRAMESIZE_Y", PyInt_FromLong((long) wxSYS_FRAMESIZE_Y
));
11722 PyDict_SetItemString(d
,"wxSYS_SMALLICON_X", PyInt_FromLong((long) wxSYS_SMALLICON_X
));
11723 PyDict_SetItemString(d
,"wxSYS_SMALLICON_Y", PyInt_FromLong((long) wxSYS_SMALLICON_Y
));
11724 PyDict_SetItemString(d
,"wxSYS_HSCROLL_Y", PyInt_FromLong((long) wxSYS_HSCROLL_Y
));
11725 PyDict_SetItemString(d
,"wxSYS_VSCROLL_X", PyInt_FromLong((long) wxSYS_VSCROLL_X
));
11726 PyDict_SetItemString(d
,"wxSYS_VSCROLL_ARROW_X", PyInt_FromLong((long) wxSYS_VSCROLL_ARROW_X
));
11727 PyDict_SetItemString(d
,"wxSYS_VSCROLL_ARROW_Y", PyInt_FromLong((long) wxSYS_VSCROLL_ARROW_Y
));
11728 PyDict_SetItemString(d
,"wxSYS_VTHUMB_Y", PyInt_FromLong((long) wxSYS_VTHUMB_Y
));
11729 PyDict_SetItemString(d
,"wxSYS_CAPTION_Y", PyInt_FromLong((long) wxSYS_CAPTION_Y
));
11730 PyDict_SetItemString(d
,"wxSYS_MENU_Y", PyInt_FromLong((long) wxSYS_MENU_Y
));
11731 PyDict_SetItemString(d
,"wxSYS_NETWORK_PRESENT", PyInt_FromLong((long) wxSYS_NETWORK_PRESENT
));
11732 PyDict_SetItemString(d
,"wxSYS_PENWINDOWS_PRESENT", PyInt_FromLong((long) wxSYS_PENWINDOWS_PRESENT
));
11733 PyDict_SetItemString(d
,"wxSYS_SHOW_SOUNDS", PyInt_FromLong((long) wxSYS_SHOW_SOUNDS
));
11734 PyDict_SetItemString(d
,"wxSYS_SWAP_BUTTONS", PyInt_FromLong((long) wxSYS_SWAP_BUTTONS
));
11735 PyDict_SetItemString(d
,"wxSYS_CAN_DRAW_FRAME_DECORATIONS", PyInt_FromLong((long) wxSYS_CAN_DRAW_FRAME_DECORATIONS
));
11736 PyDict_SetItemString(d
,"wxSYS_CAN_ICONIZE_FRAME", PyInt_FromLong((long) wxSYS_CAN_ICONIZE_FRAME
));
11737 PyDict_SetItemString(d
,"wxSYS_SCREEN_NONE", PyInt_FromLong((long) wxSYS_SCREEN_NONE
));
11738 PyDict_SetItemString(d
,"wxSYS_SCREEN_TINY", PyInt_FromLong((long) wxSYS_SCREEN_TINY
));
11739 PyDict_SetItemString(d
,"wxSYS_SCREEN_PDA", PyInt_FromLong((long) wxSYS_SCREEN_PDA
));
11740 PyDict_SetItemString(d
,"wxSYS_SCREEN_SMALL", PyInt_FromLong((long) wxSYS_SCREEN_SMALL
));
11741 PyDict_SetItemString(d
,"wxSYS_SCREEN_DESKTOP", PyInt_FromLong((long) wxSYS_SCREEN_DESKTOP
));
11742 PyDict_SetItemString(d
,"wxLOG_FatalError", PyInt_FromLong((long) wxLOG_FatalError
));
11743 PyDict_SetItemString(d
,"wxLOG_Error", PyInt_FromLong((long) wxLOG_Error
));
11744 PyDict_SetItemString(d
,"wxLOG_Warning", PyInt_FromLong((long) wxLOG_Warning
));
11745 PyDict_SetItemString(d
,"wxLOG_Message", PyInt_FromLong((long) wxLOG_Message
));
11746 PyDict_SetItemString(d
,"wxLOG_Info", PyInt_FromLong((long) wxLOG_Info
));
11747 PyDict_SetItemString(d
,"wxLOG_Status", PyInt_FromLong((long) wxLOG_Status
));
11748 PyDict_SetItemString(d
,"wxLOG_Debug", PyInt_FromLong((long) wxLOG_Debug
));
11749 PyDict_SetItemString(d
,"wxLOG_Trace", PyInt_FromLong((long) wxLOG_Trace
));
11750 PyDict_SetItemString(d
,"wxLOG_Progress", PyInt_FromLong((long) wxLOG_Progress
));
11751 PyDict_SetItemString(d
,"wxLOG_User", PyInt_FromLong((long) wxLOG_User
));
11752 PyDict_SetItemString(d
,"wxTRACE_MemAlloc", PyString_FromString("memalloc"));
11753 PyDict_SetItemString(d
,"wxTRACE_Messages", PyString_FromString("messages"));
11754 PyDict_SetItemString(d
,"wxTRACE_ResAlloc", PyString_FromString("resalloc"));
11755 PyDict_SetItemString(d
,"wxTRACE_RefCount", PyString_FromString("refcount"));
11756 PyDict_SetItemString(d
,"wxTraceMemAlloc", PyInt_FromLong((long) wxTraceMemAlloc
));
11757 PyDict_SetItemString(d
,"wxTraceMessages", PyInt_FromLong((long) wxTraceMessages
));
11758 PyDict_SetItemString(d
,"wxTraceResAlloc", PyInt_FromLong((long) wxTraceResAlloc
));
11759 PyDict_SetItemString(d
,"wxTraceRefCount", PyInt_FromLong((long) wxTraceRefCount
));
11760 PyDict_SetItemString(d
,"wxKILL_OK", PyInt_FromLong((long) wxKILL_OK
));
11761 PyDict_SetItemString(d
,"wxKILL_BAD_SIGNAL", PyInt_FromLong((long) wxKILL_BAD_SIGNAL
));
11762 PyDict_SetItemString(d
,"wxKILL_ACCESS_DENIED", PyInt_FromLong((long) wxKILL_ACCESS_DENIED
));
11763 PyDict_SetItemString(d
,"wxKILL_NO_PROCESS", PyInt_FromLong((long) wxKILL_NO_PROCESS
));
11764 PyDict_SetItemString(d
,"wxKILL_ERROR", PyInt_FromLong((long) wxKILL_ERROR
));
11765 PyDict_SetItemString(d
,"wxSIGNONE", PyInt_FromLong((long) wxSIGNONE
));
11766 PyDict_SetItemString(d
,"wxSIGHUP", PyInt_FromLong((long) wxSIGHUP
));
11767 PyDict_SetItemString(d
,"wxSIGINT", PyInt_FromLong((long) wxSIGINT
));
11768 PyDict_SetItemString(d
,"wxSIGQUIT", PyInt_FromLong((long) wxSIGQUIT
));
11769 PyDict_SetItemString(d
,"wxSIGILL", PyInt_FromLong((long) wxSIGILL
));
11770 PyDict_SetItemString(d
,"wxSIGTRAP", PyInt_FromLong((long) wxSIGTRAP
));
11771 PyDict_SetItemString(d
,"wxSIGABRT", PyInt_FromLong((long) wxSIGABRT
));
11772 PyDict_SetItemString(d
,"wxSIGIOT", PyInt_FromLong((long) wxSIGIOT
));
11773 PyDict_SetItemString(d
,"wxSIGEMT", PyInt_FromLong((long) wxSIGEMT
));
11774 PyDict_SetItemString(d
,"wxSIGFPE", PyInt_FromLong((long) wxSIGFPE
));
11775 PyDict_SetItemString(d
,"wxSIGKILL", PyInt_FromLong((long) wxSIGKILL
));
11776 PyDict_SetItemString(d
,"wxSIGBUS", PyInt_FromLong((long) wxSIGBUS
));
11777 PyDict_SetItemString(d
,"wxSIGSEGV", PyInt_FromLong((long) wxSIGSEGV
));
11778 PyDict_SetItemString(d
,"wxSIGSYS", PyInt_FromLong((long) wxSIGSYS
));
11779 PyDict_SetItemString(d
,"wxSIGPIPE", PyInt_FromLong((long) wxSIGPIPE
));
11780 PyDict_SetItemString(d
,"wxSIGALRM", PyInt_FromLong((long) wxSIGALRM
));
11781 PyDict_SetItemString(d
,"wxSIGTERM", PyInt_FromLong((long) wxSIGTERM
));
11782 PyDict_SetItemString(d
,"wxEVT_END_PROCESS", PyInt_FromLong((long) wxEVT_END_PROCESS
));
11783 PyDict_SetItemString(d
,"wxEXEC_ASYNC", PyInt_FromLong((long) wxEXEC_ASYNC
));
11784 PyDict_SetItemString(d
,"wxEXEC_SYNC", PyInt_FromLong((long) wxEXEC_SYNC
));
11785 PyDict_SetItemString(d
,"wxEXEC_NOHIDE", PyInt_FromLong((long) wxEXEC_NOHIDE
));
11786 PyDict_SetItemString(d
,"wxEXEC_MAKE_GROUP_LEADER", PyInt_FromLong((long) wxEXEC_MAKE_GROUP_LEADER
));
11787 PyDict_SetItemString(d
,"wxJOYSTICK1", PyInt_FromLong((long) wxJOYSTICK1
));
11788 PyDict_SetItemString(d
,"wxJOYSTICK2", PyInt_FromLong((long) wxJOYSTICK2
));
11789 PyDict_SetItemString(d
,"wxJOY_BUTTON_ANY", PyInt_FromLong((long) wxJOY_BUTTON_ANY
));
11790 PyDict_SetItemString(d
,"wxJOY_BUTTON1", PyInt_FromLong((long) wxJOY_BUTTON1
));
11791 PyDict_SetItemString(d
,"wxJOY_BUTTON2", PyInt_FromLong((long) wxJOY_BUTTON2
));
11792 PyDict_SetItemString(d
,"wxJOY_BUTTON3", PyInt_FromLong((long) wxJOY_BUTTON3
));
11793 PyDict_SetItemString(d
,"wxJOY_BUTTON4", PyInt_FromLong((long) wxJOY_BUTTON4
));
11794 PyDict_SetItemString(d
,"wxMAILCAP_STANDARD", PyInt_FromLong((long) wxMAILCAP_STANDARD
));
11795 PyDict_SetItemString(d
,"wxMAILCAP_NETSCAPE", PyInt_FromLong((long) wxMAILCAP_NETSCAPE
));
11796 PyDict_SetItemString(d
,"wxMAILCAP_KDE", PyInt_FromLong((long) wxMAILCAP_KDE
));
11797 PyDict_SetItemString(d
,"wxMAILCAP_GNOME", PyInt_FromLong((long) wxMAILCAP_GNOME
));
11798 PyDict_SetItemString(d
,"wxMAILCAP_ALL", PyInt_FromLong((long) wxMAILCAP_ALL
));
11799 PyDict_SetItemString(d
,"cvar", SWIG_globals
);
11800 SWIG_addvarlink(SWIG_globals
,"wxTheMimeTypesManager",_wrap_wxTheMimeTypesManager_get
, _wrap_wxTheMimeTypesManager_set
);
11802 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
11803 wxPyPtrTypeMap_Add("wxProcess", "wxPyProcess");
11804 wxPyPtrTypeMap_Add("wxArtProvider", "wxPyArtProvider");
11808 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
11809 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);