2 * FILE : src/msw/misc2.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
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_wxCheckForInterrupt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1440 PyObject
* _resultobj
;
1443 PyObject
* _argo0
= 0;
1444 char *_kwnames
[] = { "wnd", NULL
};
1447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCheckForInterrupt",_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 wxCheckForInterrupt. Expected _wxWindow_p.");
1457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1458 _result
= (bool )wxCheckForInterrupt(_arg0
);
1460 wxPyEndAllowThreads(__tstate
);
1461 if (PyErr_Occurred()) return NULL
;
1462 } _resultobj
= Py_BuildValue("i",_result
);
1466 static PyObject
*_wrap_wxFlushEvents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1467 PyObject
* _resultobj
;
1468 char *_kwnames
[] = { NULL
};
1471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxFlushEvents",_kwnames
))
1474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1477 wxPyEndAllowThreads(__tstate
);
1478 if (PyErr_Occurred()) return NULL
;
1479 } Py_INCREF(Py_None
);
1480 _resultobj
= Py_None
;
1484 static PyObject
*_wrap_wxGetTopLevelParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1485 PyObject
* _resultobj
;
1488 PyObject
* _argo0
= 0;
1489 char *_kwnames
[] = { "win", NULL
};
1492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGetTopLevelParent",_kwnames
,&_argo0
))
1495 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1496 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1497 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGetTopLevelParent. Expected _wxWindow_p.");
1502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1503 _result
= (wxWindow
*)wxGetTopLevelParent(_arg0
);
1505 wxPyEndAllowThreads(__tstate
);
1506 if (PyErr_Occurred()) return NULL
;
1507 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1511 static PyObject
*_wrap_wxResourceAddIdentifier(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1512 PyObject
* _resultobj
;
1516 char *_kwnames
[] = { "name","value", NULL
};
1519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"si:wxResourceAddIdentifier",_kwnames
,&_arg0
,&_arg1
))
1522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1523 _result
= (bool )wxResourceAddIdentifier(_arg0
,_arg1
);
1525 wxPyEndAllowThreads(__tstate
);
1526 if (PyErr_Occurred()) return NULL
;
1527 } _resultobj
= Py_BuildValue("i",_result
);
1531 static PyObject
*_wrap_wxResourceClear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1532 PyObject
* _resultobj
;
1533 char *_kwnames
[] = { NULL
};
1536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxResourceClear",_kwnames
))
1539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1542 wxPyEndAllowThreads(__tstate
);
1543 if (PyErr_Occurred()) return NULL
;
1544 } Py_INCREF(Py_None
);
1545 _resultobj
= Py_None
;
1549 static PyObject
*_wrap_wxResourceCreateBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1550 PyObject
* _resultobj
;
1553 char *_kwnames
[] = { "resource", NULL
};
1557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxResourceCreateBitmap",_kwnames
,&_arg0
))
1560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1561 _result
= new wxBitmap (wxResourceCreateBitmap(_arg0
));
1563 wxPyEndAllowThreads(__tstate
);
1564 if (PyErr_Occurred()) return NULL
;
1565 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBitmap_p");
1566 _resultobj
= Py_BuildValue("s",_ptemp
);
1570 static PyObject
*_wrap_wxResourceCreateIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1571 PyObject
* _resultobj
;
1574 char *_kwnames
[] = { "resource", NULL
};
1578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxResourceCreateIcon",_kwnames
,&_arg0
))
1581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1582 _result
= new wxIcon (wxResourceCreateIcon(_arg0
));
1584 wxPyEndAllowThreads(__tstate
);
1585 if (PyErr_Occurred()) return NULL
;
1586 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxIcon_p");
1587 _resultobj
= Py_BuildValue("s",_ptemp
);
1591 static PyObject
*_wrap_wxResourceCreateMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1592 PyObject
* _resultobj
;
1593 wxMenuBar
* _result
;
1595 char *_kwnames
[] = { "resource", NULL
};
1598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxResourceCreateMenuBar",_kwnames
,&_arg0
))
1601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1602 _result
= (wxMenuBar
*)wxResourceCreateMenuBar(_arg0
);
1604 wxPyEndAllowThreads(__tstate
);
1605 if (PyErr_Occurred()) return NULL
;
1606 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1610 static PyObject
*_wrap_wxResourceGetIdentifier(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1611 PyObject
* _resultobj
;
1614 char *_kwnames
[] = { "name", NULL
};
1617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxResourceGetIdentifier",_kwnames
,&_arg0
))
1620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1621 _result
= (int )wxResourceGetIdentifier(_arg0
);
1623 wxPyEndAllowThreads(__tstate
);
1624 if (PyErr_Occurred()) return NULL
;
1625 } _resultobj
= Py_BuildValue("i",_result
);
1629 static PyObject
*_wrap_wxResourceParseData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1630 PyObject
* _resultobj
;
1633 wxResourceTable
* _arg1
= (wxResourceTable
*) NULL
;
1634 PyObject
* _argo1
= 0;
1635 char *_kwnames
[] = { "resource","table", NULL
};
1638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s|O:wxResourceParseData",_kwnames
,&_arg0
,&_argo1
))
1641 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1642 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxResourceTable_p")) {
1643 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxResourceParseData. Expected _wxResourceTable_p.");
1648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1649 _result
= (bool )wxResourceParseData(_arg0
,_arg1
);
1651 wxPyEndAllowThreads(__tstate
);
1652 if (PyErr_Occurred()) return NULL
;
1653 } _resultobj
= Py_BuildValue("i",_result
);
1657 static PyObject
*_wrap_wxResourceParseFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1658 PyObject
* _resultobj
;
1661 wxResourceTable
* _arg1
= (wxResourceTable
*) NULL
;
1662 PyObject
* _argo1
= 0;
1663 char *_kwnames
[] = { "filename","table", NULL
};
1666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s|O:wxResourceParseFile",_kwnames
,&_arg0
,&_argo1
))
1669 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1670 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxResourceTable_p")) {
1671 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxResourceParseFile. Expected _wxResourceTable_p.");
1676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1677 _result
= (bool )wxResourceParseFile(_arg0
,_arg1
);
1679 wxPyEndAllowThreads(__tstate
);
1680 if (PyErr_Occurred()) return NULL
;
1681 } _resultobj
= Py_BuildValue("i",_result
);
1685 static PyObject
*_wrap_wxResourceParseString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1686 PyObject
* _resultobj
;
1689 wxResourceTable
* _arg1
= (wxResourceTable
*) NULL
;
1690 PyObject
* _argo1
= 0;
1691 char *_kwnames
[] = { "resource","table", NULL
};
1694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s|O:wxResourceParseString",_kwnames
,&_arg0
,&_argo1
))
1697 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1698 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxResourceTable_p")) {
1699 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxResourceParseString. Expected _wxResourceTable_p.");
1704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1705 _result
= (bool )wxResourceParseString(_arg0
,_arg1
);
1707 wxPyEndAllowThreads(__tstate
);
1708 if (PyErr_Occurred()) return NULL
;
1709 } _resultobj
= Py_BuildValue("i",_result
);
1713 static PyObject
*_wrap_wxCaret_GetBlinkTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1714 PyObject
* _resultobj
;
1716 char *_kwnames
[] = { NULL
};
1719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxCaret_GetBlinkTime",_kwnames
))
1722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1723 _result
= (int )wxCaret_GetBlinkTime();
1725 wxPyEndAllowThreads(__tstate
);
1726 if (PyErr_Occurred()) return NULL
;
1727 } _resultobj
= Py_BuildValue("i",_result
);
1731 static PyObject
*_wrap_wxCaret_SetBlinkTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1732 PyObject
* _resultobj
;
1734 char *_kwnames
[] = { "milliseconds", NULL
};
1737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxCaret_SetBlinkTime",_kwnames
,&_arg0
))
1740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1741 wxCaret_SetBlinkTime(_arg0
);
1743 wxPyEndAllowThreads(__tstate
);
1744 if (PyErr_Occurred()) return NULL
;
1745 } Py_INCREF(Py_None
);
1746 _resultobj
= Py_None
;
1750 static PyObject
*_wrap_wxSafeYield(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1751 PyObject
* _resultobj
;
1753 wxWindow
* _arg0
= (wxWindow
*) NULL
;
1754 PyObject
* _argo0
= 0;
1755 char *_kwnames
[] = { "win", NULL
};
1758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:wxSafeYield",_kwnames
,&_argo0
))
1761 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1762 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1763 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSafeYield. Expected _wxWindow_p.");
1768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1769 _result
= (bool )wxSafeYield(_arg0
);
1771 wxPyEndAllowThreads(__tstate
);
1772 if (PyErr_Occurred()) return NULL
;
1773 } _resultobj
= Py_BuildValue("i",_result
);
1777 static PyObject
*_wrap_wxPostEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1778 PyObject
* _resultobj
;
1779 wxEvtHandler
* _arg0
;
1781 PyObject
* _argo0
= 0;
1782 PyObject
* _argo1
= 0;
1783 char *_kwnames
[] = { "dest","event", NULL
};
1786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPostEvent",_kwnames
,&_argo0
,&_argo1
))
1789 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1790 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
1791 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPostEvent. Expected _wxEvtHandler_p.");
1796 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1797 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvent_p")) {
1798 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPostEvent. Expected _wxEvent_p.");
1803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1804 wxPostEvent(_arg0
,*_arg1
);
1806 wxPyEndAllowThreads(__tstate
);
1807 if (PyErr_Occurred()) return NULL
;
1808 } Py_INCREF(Py_None
);
1809 _resultobj
= Py_None
;
1813 static PyObject
*_wrap_wxWakeUpIdle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1814 PyObject
* _resultobj
;
1815 char *_kwnames
[] = { NULL
};
1818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxWakeUpIdle",_kwnames
))
1821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1824 wxPyEndAllowThreads(__tstate
);
1825 if (PyErr_Occurred()) return NULL
;
1826 } Py_INCREF(Py_None
);
1827 _resultobj
= Py_None
;
1831 static PyObject
*_wrap_wxWakeUpMainThread(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1832 PyObject
* _resultobj
;
1833 char *_kwnames
[] = { NULL
};
1836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxWakeUpMainThread",_kwnames
))
1839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1840 wxWakeUpMainThread();
1842 wxPyEndAllowThreads(__tstate
);
1843 if (PyErr_Occurred()) return NULL
;
1844 } Py_INCREF(Py_None
);
1845 _resultobj
= Py_None
;
1849 static PyObject
*_wrap_wxMutexGuiEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1850 PyObject
* _resultobj
;
1851 char *_kwnames
[] = { NULL
};
1854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxMutexGuiEnter",_kwnames
))
1857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1860 wxPyEndAllowThreads(__tstate
);
1861 if (PyErr_Occurred()) return NULL
;
1862 } Py_INCREF(Py_None
);
1863 _resultobj
= Py_None
;
1867 static PyObject
*_wrap_wxMutexGuiLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1868 PyObject
* _resultobj
;
1869 char *_kwnames
[] = { NULL
};
1872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxMutexGuiLeave",_kwnames
))
1875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1878 wxPyEndAllowThreads(__tstate
);
1879 if (PyErr_Occurred()) return NULL
;
1880 } Py_INCREF(Py_None
);
1881 _resultobj
= Py_None
;
1885 static PyObject
*_wrap_wxThread_IsMain(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1886 PyObject
* _resultobj
;
1888 char *_kwnames
[] = { NULL
};
1891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxThread_IsMain",_kwnames
))
1894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1895 _result
= (bool )wxThread_IsMain();
1897 wxPyEndAllowThreads(__tstate
);
1898 if (PyErr_Occurred()) return NULL
;
1899 } _resultobj
= Py_BuildValue("i",_result
);
1903 static PyObject
*_wrap_wxShowTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1904 PyObject
* _resultobj
;
1907 wxTipProvider
* _arg1
;
1908 bool _arg2
= (bool ) TRUE
;
1909 PyObject
* _argo0
= 0;
1910 PyObject
* _argo1
= 0;
1911 int tempbool2
= (int) TRUE
;
1912 char *_kwnames
[] = { "parent","tipProvider","showAtStartup", NULL
};
1915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxShowTip",_kwnames
,&_argo0
,&_argo1
,&tempbool2
))
1918 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1919 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1920 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShowTip. Expected _wxWindow_p.");
1925 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1926 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTipProvider_p")) {
1927 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxShowTip. Expected _wxTipProvider_p.");
1931 _arg2
= (bool ) tempbool2
;
1933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1934 _result
= (bool )wxShowTip(_arg0
,_arg1
,_arg2
);
1936 wxPyEndAllowThreads(__tstate
);
1937 if (PyErr_Occurred()) return NULL
;
1938 } _resultobj
= Py_BuildValue("i",_result
);
1942 static PyObject
*_wrap_wxCreateFileTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1943 PyObject
* _resultobj
;
1944 wxTipProvider
* _result
;
1947 PyObject
* _obj0
= 0;
1948 char *_kwnames
[] = { "filename","currentTip", NULL
};
1952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxCreateFileTipProvider",_kwnames
,&_obj0
,&_arg1
))
1955 _arg0
= wxString_in_helper(_obj0
);
1960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1961 _result
= (wxTipProvider
*)wxCreateFileTipProvider(*_arg0
,_arg1
);
1963 wxPyEndAllowThreads(__tstate
);
1964 if (PyErr_Occurred()) return NULL
;
1966 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTipProvider_p");
1967 _resultobj
= Py_BuildValue("s",_ptemp
);
1970 _resultobj
= Py_None
;
1979 static PyObject
*_wrap_wxSysErrorCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1980 PyObject
* _resultobj
;
1981 unsigned long _result
;
1982 char *_kwnames
[] = { NULL
};
1985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxSysErrorCode",_kwnames
))
1988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1989 _result
= (unsigned long )wxSysErrorCode();
1991 wxPyEndAllowThreads(__tstate
);
1992 if (PyErr_Occurred()) return NULL
;
1993 } _resultobj
= Py_BuildValue("l",_result
);
1997 static PyObject
*_wrap_wxSysErrorMsg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1998 PyObject
* _resultobj
;
2000 unsigned long _arg0
= (unsigned long ) 0;
2001 char *_kwnames
[] = { "nErrCode", NULL
};
2004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|l:wxSysErrorMsg",_kwnames
,&_arg0
))
2007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2008 _result
= new wxString (wxSysErrorMsg(_arg0
));
2010 wxPyEndAllowThreads(__tstate
);
2011 if (PyErr_Occurred()) return NULL
;
2014 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
2016 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2025 static PyObject
*_wrap_wxLogFatalError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2026 PyObject
* _resultobj
;
2028 PyObject
* _obj0
= 0;
2029 char *_kwnames
[] = { "msg", NULL
};
2032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogFatalError",_kwnames
,&_obj0
))
2035 _arg0
= wxString_in_helper(_obj0
);
2040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2041 wxLogFatalError(*_arg0
);
2043 wxPyEndAllowThreads(__tstate
);
2044 if (PyErr_Occurred()) return NULL
;
2045 } Py_INCREF(Py_None
);
2046 _resultobj
= Py_None
;
2054 static PyObject
*_wrap_wxLogError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2055 PyObject
* _resultobj
;
2057 PyObject
* _obj0
= 0;
2058 char *_kwnames
[] = { "msg", NULL
};
2061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogError",_kwnames
,&_obj0
))
2064 _arg0
= wxString_in_helper(_obj0
);
2069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2072 wxPyEndAllowThreads(__tstate
);
2073 if (PyErr_Occurred()) return NULL
;
2074 } Py_INCREF(Py_None
);
2075 _resultobj
= Py_None
;
2083 static PyObject
*_wrap_wxLogWarning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2084 PyObject
* _resultobj
;
2086 PyObject
* _obj0
= 0;
2087 char *_kwnames
[] = { "msg", NULL
};
2090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogWarning",_kwnames
,&_obj0
))
2093 _arg0
= wxString_in_helper(_obj0
);
2098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2099 wxLogWarning(*_arg0
);
2101 wxPyEndAllowThreads(__tstate
);
2102 if (PyErr_Occurred()) return NULL
;
2103 } Py_INCREF(Py_None
);
2104 _resultobj
= Py_None
;
2112 static PyObject
*_wrap_wxLogMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2113 PyObject
* _resultobj
;
2115 PyObject
* _obj0
= 0;
2116 char *_kwnames
[] = { "msg", NULL
};
2119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogMessage",_kwnames
,&_obj0
))
2122 _arg0
= wxString_in_helper(_obj0
);
2127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2128 wxLogMessage(*_arg0
);
2130 wxPyEndAllowThreads(__tstate
);
2131 if (PyErr_Occurred()) return NULL
;
2132 } Py_INCREF(Py_None
);
2133 _resultobj
= Py_None
;
2141 static PyObject
*_wrap_wxLogInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2142 PyObject
* _resultobj
;
2144 PyObject
* _obj0
= 0;
2145 char *_kwnames
[] = { "msg", NULL
};
2148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogInfo",_kwnames
,&_obj0
))
2151 _arg0
= wxString_in_helper(_obj0
);
2156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2159 wxPyEndAllowThreads(__tstate
);
2160 if (PyErr_Occurred()) return NULL
;
2161 } Py_INCREF(Py_None
);
2162 _resultobj
= Py_None
;
2170 static PyObject
*_wrap_wxLogVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2171 PyObject
* _resultobj
;
2173 PyObject
* _obj0
= 0;
2174 char *_kwnames
[] = { "msg", NULL
};
2177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogVerbose",_kwnames
,&_obj0
))
2180 _arg0
= wxString_in_helper(_obj0
);
2185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2186 wxLogVerbose(*_arg0
);
2188 wxPyEndAllowThreads(__tstate
);
2189 if (PyErr_Occurred()) return NULL
;
2190 } Py_INCREF(Py_None
);
2191 _resultobj
= Py_None
;
2199 static PyObject
*_wrap_wxLogStatus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2200 PyObject
* _resultobj
;
2202 PyObject
* _obj0
= 0;
2203 char *_kwnames
[] = { "msg", NULL
};
2206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogStatus",_kwnames
,&_obj0
))
2209 _arg0
= wxString_in_helper(_obj0
);
2214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2215 wxLogStatus(*_arg0
);
2217 wxPyEndAllowThreads(__tstate
);
2218 if (PyErr_Occurred()) return NULL
;
2219 } Py_INCREF(Py_None
);
2220 _resultobj
= Py_None
;
2228 static PyObject
*_wrap_wxLogStatusFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2229 PyObject
* _resultobj
;
2232 PyObject
* _argo0
= 0;
2233 PyObject
* _obj1
= 0;
2234 char *_kwnames
[] = { "pFrame","msg", NULL
};
2237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxLogStatusFrame",_kwnames
,&_argo0
,&_obj1
))
2240 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2241 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
2242 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogStatusFrame. Expected _wxFrame_p.");
2247 _arg1
= wxString_in_helper(_obj1
);
2252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2253 wxLogStatus(_arg0
,*_arg1
);
2255 wxPyEndAllowThreads(__tstate
);
2256 if (PyErr_Occurred()) return NULL
;
2257 } Py_INCREF(Py_None
);
2258 _resultobj
= Py_None
;
2266 static PyObject
*_wrap_wxLogSysError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2267 PyObject
* _resultobj
;
2269 PyObject
* _obj0
= 0;
2270 char *_kwnames
[] = { "msg", NULL
};
2273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogSysError",_kwnames
,&_obj0
))
2276 _arg0
= wxString_in_helper(_obj0
);
2281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2282 wxLogSysError(*_arg0
);
2284 wxPyEndAllowThreads(__tstate
);
2285 if (PyErr_Occurred()) return NULL
;
2286 } Py_INCREF(Py_None
);
2287 _resultobj
= Py_None
;
2295 static PyObject
*_wrap_wxLogTrace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2296 PyObject
* _resultobj
;
2298 PyObject
* _obj0
= 0;
2299 char *_kwnames
[] = { "msg", NULL
};
2302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogTrace",_kwnames
,&_obj0
))
2305 _arg0
= wxString_in_helper(_obj0
);
2310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2313 wxPyEndAllowThreads(__tstate
);
2314 if (PyErr_Occurred()) return NULL
;
2315 } Py_INCREF(Py_None
);
2316 _resultobj
= Py_None
;
2324 static PyObject
*_wrap_wxLogTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2325 PyObject
* _resultobj
;
2328 PyObject
* _obj0
= 0;
2329 PyObject
* _obj1
= 0;
2330 char *_kwnames
[] = { "mask","msg", NULL
};
2333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxLogTraceMask",_kwnames
,&_obj0
,&_obj1
))
2336 _arg0
= wxString_in_helper(_obj0
);
2341 _arg1
= wxString_in_helper(_obj1
);
2346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2347 wxLogTrace(*_arg0
,*_arg1
);
2349 wxPyEndAllowThreads(__tstate
);
2350 if (PyErr_Occurred()) return NULL
;
2351 } Py_INCREF(Py_None
);
2352 _resultobj
= Py_None
;
2364 static PyObject
*_wrap_wxLogGeneric(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2365 PyObject
* _resultobj
;
2366 unsigned long _arg0
;
2368 PyObject
* _obj1
= 0;
2369 char *_kwnames
[] = { "level","msg", NULL
};
2372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"lO:wxLogGeneric",_kwnames
,&_arg0
,&_obj1
))
2375 _arg1
= wxString_in_helper(_obj1
);
2380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2381 wxLogGeneric(_arg0
,*_arg1
);
2383 wxPyEndAllowThreads(__tstate
);
2384 if (PyErr_Occurred()) return NULL
;
2385 } Py_INCREF(Py_None
);
2386 _resultobj
= Py_None
;
2394 static PyObject
*_wrap_wxSafeShowMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2395 PyObject
* _resultobj
;
2398 PyObject
* _obj0
= 0;
2399 PyObject
* _obj1
= 0;
2400 char *_kwnames
[] = { "title","text", NULL
};
2403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxSafeShowMessage",_kwnames
,&_obj0
,&_obj1
))
2406 _arg0
= wxString_in_helper(_obj0
);
2411 _arg1
= wxString_in_helper(_obj1
);
2416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2417 wxSafeShowMessage(*_arg0
,*_arg1
);
2419 wxPyEndAllowThreads(__tstate
);
2420 if (PyErr_Occurred()) return NULL
;
2421 } Py_INCREF(Py_None
);
2422 _resultobj
= Py_None
;
2434 static PyObject
*_wrap_wxExecute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2435 PyObject
* _resultobj
;
2438 int _arg1
= (int ) (wxEXEC_ASYNC
);
2439 wxPyProcess
* _arg2
= (wxPyProcess
*) NULL
;
2440 PyObject
* _obj0
= 0;
2441 PyObject
* _argo2
= 0;
2442 char *_kwnames
[] = { "command","flags","process", NULL
};
2445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iO:wxExecute",_kwnames
,&_obj0
,&_arg1
,&_argo2
))
2448 _arg0
= wxString_in_helper(_obj0
);
2453 if (_argo2
== Py_None
) { _arg2
= NULL
; }
2454 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPyProcess_p")) {
2455 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxExecute. Expected _wxPyProcess_p.");
2460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2461 _result
= (long )wxExecute(*_arg0
,_arg1
,_arg2
);
2463 wxPyEndAllowThreads(__tstate
);
2464 if (PyErr_Occurred()) return NULL
;
2465 } _resultobj
= Py_BuildValue("l",_result
);
2473 static PyObject
*_wrap_wxWaveData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2474 PyObject
* _resultobj
;
2477 PyObject
* _obj0
= 0;
2478 char *_kwnames
[] = { "data", NULL
};
2482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWaveData",_kwnames
,&_obj0
))
2485 _arg0
= wxString_in_helper(_obj0
);
2490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2491 _result
= (wxWave
*)wxWaveData(*_arg0
);
2493 wxPyEndAllowThreads(__tstate
);
2494 if (PyErr_Occurred()) return NULL
;
2496 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWave_p");
2497 _resultobj
= Py_BuildValue("s",_ptemp
);
2500 _resultobj
= Py_None
;
2509 static int _wrap_wxTheMimeTypesManager_set(PyObject
*val
) {
2511 PyErr_SetString(PyExc_TypeError
,"Variable wxTheMimeTypesManager is read-only.");
2515 static PyObject
*_wrap_wxTheMimeTypesManager_get() {
2519 SWIG_MakePtr(ptemp
, (char *) wxTheMimeTypesManager
,"_wxMimeTypesManager_p");
2520 pyobj
= PyString_FromString(ptemp
);
2524 static PyObject
*_wrap_wxSystemSettings_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2525 PyObject
* _resultobj
;
2527 wxSystemColour _arg0
;
2528 char *_kwnames
[] = { "index", NULL
};
2532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSystemSettings_GetColour",_kwnames
,&_arg0
))
2535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2536 _result
= new wxColour (wxSystemSettings::GetColour(_arg0
));
2538 wxPyEndAllowThreads(__tstate
);
2539 if (PyErr_Occurred()) return NULL
;
2540 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
2541 _resultobj
= Py_BuildValue("s",_ptemp
);
2545 static PyObject
*_wrap_wxSystemSettings_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2546 PyObject
* _resultobj
;
2549 char *_kwnames
[] = { "index", NULL
};
2553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSystemSettings_GetFont",_kwnames
,&_arg0
))
2556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2557 _result
= new wxFont (wxSystemSettings::GetFont(_arg0
));
2559 wxPyEndAllowThreads(__tstate
);
2560 if (PyErr_Occurred()) return NULL
;
2561 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
2562 _resultobj
= Py_BuildValue("s",_ptemp
);
2566 static PyObject
*_wrap_wxSystemSettings_GetMetric(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2567 PyObject
* _resultobj
;
2569 wxSystemMetric _arg0
;
2570 char *_kwnames
[] = { "index", NULL
};
2573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSystemSettings_GetMetric",_kwnames
,&_arg0
))
2576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2577 _result
= (int )wxSystemSettings::GetMetric(_arg0
);
2579 wxPyEndAllowThreads(__tstate
);
2580 if (PyErr_Occurred()) return NULL
;
2581 } _resultobj
= Py_BuildValue("i",_result
);
2585 static PyObject
*_wrap_wxSystemSettings_HasFeature(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2586 PyObject
* _resultobj
;
2588 wxSystemFeature _arg0
;
2589 char *_kwnames
[] = { "index", NULL
};
2592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSystemSettings_HasFeature",_kwnames
,&_arg0
))
2595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2596 _result
= (bool )wxSystemSettings::HasFeature(_arg0
);
2598 wxPyEndAllowThreads(__tstate
);
2599 if (PyErr_Occurred()) return NULL
;
2600 } _resultobj
= Py_BuildValue("i",_result
);
2604 static PyObject
*_wrap_wxSystemSettings_GetScreenType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2605 PyObject
* _resultobj
;
2606 wxSystemScreenType _result
;
2607 char *_kwnames
[] = { NULL
};
2610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxSystemSettings_GetScreenType",_kwnames
))
2613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2614 _result
= (wxSystemScreenType
)wxSystemSettings::GetScreenType();
2616 wxPyEndAllowThreads(__tstate
);
2617 if (PyErr_Occurred()) return NULL
;
2618 } _resultobj
= Py_BuildValue("i",_result
);
2622 static PyObject
*_wrap_wxSystemSettings_SetScreenType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2623 PyObject
* _resultobj
;
2624 wxSystemScreenType _arg0
;
2625 char *_kwnames
[] = { "screen", NULL
};
2628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSystemSettings_SetScreenType",_kwnames
,&_arg0
))
2631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2632 wxSystemSettings::SetScreenType(_arg0
);
2634 wxPyEndAllowThreads(__tstate
);
2635 if (PyErr_Occurred()) return NULL
;
2636 } Py_INCREF(Py_None
);
2637 _resultobj
= Py_None
;
2641 static void *SwigwxToolTipTowxObject(void *ptr
) {
2644 src
= (wxToolTip
*) ptr
;
2645 dest
= (wxObject
*) src
;
2646 return (void *) dest
;
2649 #define new_wxToolTip(_swigarg0) (new wxToolTip(_swigarg0))
2650 static PyObject
*_wrap_new_wxToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2651 PyObject
* _resultobj
;
2652 wxToolTip
* _result
;
2654 PyObject
* _obj0
= 0;
2655 char *_kwnames
[] = { "tip", NULL
};
2659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxToolTip",_kwnames
,&_obj0
))
2662 _arg0
= wxString_in_helper(_obj0
);
2667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2668 _result
= (wxToolTip
*)new_wxToolTip(*_arg0
);
2670 wxPyEndAllowThreads(__tstate
);
2671 if (PyErr_Occurred()) return NULL
;
2673 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToolTip_p");
2674 _resultobj
= Py_BuildValue("s",_ptemp
);
2677 _resultobj
= Py_None
;
2686 #define wxToolTip_SetTip(_swigobj,_swigarg0) (_swigobj->SetTip(_swigarg0))
2687 static PyObject
*_wrap_wxToolTip_SetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2688 PyObject
* _resultobj
;
2691 PyObject
* _argo0
= 0;
2692 PyObject
* _obj1
= 0;
2693 char *_kwnames
[] = { "self","tip", NULL
};
2696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxToolTip_SetTip",_kwnames
,&_argo0
,&_obj1
))
2699 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2700 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolTip_p")) {
2701 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolTip_SetTip. Expected _wxToolTip_p.");
2706 _arg1
= wxString_in_helper(_obj1
);
2711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2712 wxToolTip_SetTip(_arg0
,*_arg1
);
2714 wxPyEndAllowThreads(__tstate
);
2715 if (PyErr_Occurred()) return NULL
;
2716 } Py_INCREF(Py_None
);
2717 _resultobj
= Py_None
;
2725 #define wxToolTip_GetTip(_swigobj) (_swigobj->GetTip())
2726 static PyObject
*_wrap_wxToolTip_GetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2727 PyObject
* _resultobj
;
2730 PyObject
* _argo0
= 0;
2731 char *_kwnames
[] = { "self", NULL
};
2734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolTip_GetTip",_kwnames
,&_argo0
))
2737 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2738 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolTip_p")) {
2739 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolTip_GetTip. Expected _wxToolTip_p.");
2744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2745 _result
= new wxString (wxToolTip_GetTip(_arg0
));
2747 wxPyEndAllowThreads(__tstate
);
2748 if (PyErr_Occurred()) return NULL
;
2751 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
2753 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2762 #define wxToolTip_GetWindow(_swigobj) (_swigobj->GetWindow())
2763 static PyObject
*_wrap_wxToolTip_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2764 PyObject
* _resultobj
;
2767 PyObject
* _argo0
= 0;
2768 char *_kwnames
[] = { "self", NULL
};
2771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolTip_GetWindow",_kwnames
,&_argo0
))
2774 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2775 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolTip_p")) {
2776 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolTip_GetWindow. Expected _wxToolTip_p.");
2781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2782 _result
= (wxWindow
*)wxToolTip_GetWindow(_arg0
);
2784 wxPyEndAllowThreads(__tstate
);
2785 if (PyErr_Occurred()) return NULL
;
2786 }{ _resultobj
= wxPyMake_wxObject(_result
); }
2790 static PyObject
*_wrap_wxToolTip_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2791 PyObject
* _resultobj
;
2794 char *_kwnames
[] = { "flag", NULL
};
2797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxToolTip_Enable",_kwnames
,&tempbool0
))
2799 _arg0
= (bool ) tempbool0
;
2801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2802 wxToolTip::Enable(_arg0
);
2804 wxPyEndAllowThreads(__tstate
);
2805 if (PyErr_Occurred()) return NULL
;
2806 } Py_INCREF(Py_None
);
2807 _resultobj
= Py_None
;
2811 static PyObject
*_wrap_wxToolTip_SetDelay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2812 PyObject
* _resultobj
;
2814 char *_kwnames
[] = { "milliseconds", NULL
};
2817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:wxToolTip_SetDelay",_kwnames
,&_arg0
))
2820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2821 wxToolTip::SetDelay(_arg0
);
2823 wxPyEndAllowThreads(__tstate
);
2824 if (PyErr_Occurred()) return NULL
;
2825 } Py_INCREF(Py_None
);
2826 _resultobj
= Py_None
;
2830 #define new_wxCaret(_swigarg0,_swigarg1) (new wxCaret(_swigarg0,_swigarg1))
2831 static PyObject
*_wrap_new_wxCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2832 PyObject
* _resultobj
;
2836 PyObject
* _argo0
= 0;
2838 PyObject
* _obj1
= 0;
2839 char *_kwnames
[] = { "window","size", NULL
};
2843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:new_wxCaret",_kwnames
,&_argo0
,&_obj1
))
2846 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2847 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2848 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxCaret. Expected _wxWindow_p.");
2854 if (! wxSize_helper(_obj1
, &_arg1
))
2858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2859 _result
= (wxCaret
*)new_wxCaret(_arg0
,*_arg1
);
2861 wxPyEndAllowThreads(__tstate
);
2862 if (PyErr_Occurred()) return NULL
;
2864 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCaret_p");
2865 _resultobj
= Py_BuildValue("s",_ptemp
);
2868 _resultobj
= Py_None
;
2873 #define delete_wxCaret(_swigobj) (delete _swigobj)
2874 static PyObject
*_wrap_delete_wxCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2875 PyObject
* _resultobj
;
2877 PyObject
* _argo0
= 0;
2878 char *_kwnames
[] = { "self", NULL
};
2881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxCaret",_kwnames
,&_argo0
))
2884 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2885 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2886 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxCaret. Expected _wxCaret_p.");
2891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2892 delete_wxCaret(_arg0
);
2894 wxPyEndAllowThreads(__tstate
);
2895 if (PyErr_Occurred()) return NULL
;
2896 } Py_INCREF(Py_None
);
2897 _resultobj
= Py_None
;
2901 #define wxCaret_IsOk(_swigobj) (_swigobj->IsOk())
2902 static PyObject
*_wrap_wxCaret_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2903 PyObject
* _resultobj
;
2906 PyObject
* _argo0
= 0;
2907 char *_kwnames
[] = { "self", NULL
};
2910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_IsOk",_kwnames
,&_argo0
))
2913 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2914 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2915 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_IsOk. Expected _wxCaret_p.");
2920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2921 _result
= (bool )wxCaret_IsOk(_arg0
);
2923 wxPyEndAllowThreads(__tstate
);
2924 if (PyErr_Occurred()) return NULL
;
2925 } _resultobj
= Py_BuildValue("i",_result
);
2929 #define wxCaret_IsVisible(_swigobj) (_swigobj->IsVisible())
2930 static PyObject
*_wrap_wxCaret_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2931 PyObject
* _resultobj
;
2934 PyObject
* _argo0
= 0;
2935 char *_kwnames
[] = { "self", NULL
};
2938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_IsVisible",_kwnames
,&_argo0
))
2941 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2942 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2943 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_IsVisible. Expected _wxCaret_p.");
2948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2949 _result
= (bool )wxCaret_IsVisible(_arg0
);
2951 wxPyEndAllowThreads(__tstate
);
2952 if (PyErr_Occurred()) return NULL
;
2953 } _resultobj
= Py_BuildValue("i",_result
);
2957 #define wxCaret_GetPositionTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPosition(_swigarg0,_swigarg1))
2958 static PyObject
*_wrap_wxCaret_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2959 PyObject
* _resultobj
;
2965 PyObject
* _argo0
= 0;
2966 char *_kwnames
[] = { "self", NULL
};
2975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetPositionTuple",_kwnames
,&_argo0
))
2978 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2979 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2980 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetPositionTuple. Expected _wxCaret_p.");
2985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2986 wxCaret_GetPositionTuple(_arg0
,_arg1
,_arg2
);
2988 wxPyEndAllowThreads(__tstate
);
2989 if (PyErr_Occurred()) return NULL
;
2990 } Py_INCREF(Py_None
);
2991 _resultobj
= Py_None
;
2994 o
= PyInt_FromLong((long) (*_arg1
));
2995 _resultobj
= t_output_helper(_resultobj
, o
);
2999 o
= PyInt_FromLong((long) (*_arg2
));
3000 _resultobj
= t_output_helper(_resultobj
, o
);
3005 #define wxCaret_GetPosition(_swigobj) (_swigobj->GetPosition())
3006 static PyObject
*_wrap_wxCaret_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3007 PyObject
* _resultobj
;
3010 PyObject
* _argo0
= 0;
3011 char *_kwnames
[] = { "self", NULL
};
3015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetPosition",_kwnames
,&_argo0
))
3018 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3019 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
3020 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetPosition. Expected _wxCaret_p.");
3025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3026 _result
= new wxPoint (wxCaret_GetPosition(_arg0
));
3028 wxPyEndAllowThreads(__tstate
);
3029 if (PyErr_Occurred()) return NULL
;
3030 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
3031 _resultobj
= Py_BuildValue("s",_ptemp
);
3035 #define wxCaret_GetSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSize(_swigarg0,_swigarg1))
3036 static PyObject
*_wrap_wxCaret_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3037 PyObject
* _resultobj
;
3043 PyObject
* _argo0
= 0;
3044 char *_kwnames
[] = { "self", NULL
};
3053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetSizeTuple",_kwnames
,&_argo0
))
3056 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3057 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
3058 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetSizeTuple. Expected _wxCaret_p.");
3063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3064 wxCaret_GetSizeTuple(_arg0
,_arg1
,_arg2
);
3066 wxPyEndAllowThreads(__tstate
);
3067 if (PyErr_Occurred()) return NULL
;
3068 } Py_INCREF(Py_None
);
3069 _resultobj
= Py_None
;
3072 o
= PyInt_FromLong((long) (*_arg1
));
3073 _resultobj
= t_output_helper(_resultobj
, o
);
3077 o
= PyInt_FromLong((long) (*_arg2
));
3078 _resultobj
= t_output_helper(_resultobj
, o
);
3083 #define wxCaret_GetSize(_swigobj) (_swigobj->GetSize())
3084 static PyObject
*_wrap_wxCaret_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3085 PyObject
* _resultobj
;
3088 PyObject
* _argo0
= 0;
3089 char *_kwnames
[] = { "self", NULL
};
3093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetSize",_kwnames
,&_argo0
))
3096 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3097 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
3098 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetSize. Expected _wxCaret_p.");
3103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3104 _result
= new wxSize (wxCaret_GetSize(_arg0
));
3106 wxPyEndAllowThreads(__tstate
);
3107 if (PyErr_Occurred()) return NULL
;
3108 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
3109 _resultobj
= Py_BuildValue("s",_ptemp
);
3113 #define wxCaret_GetWindow(_swigobj) (_swigobj->GetWindow())
3114 static PyObject
*_wrap_wxCaret_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3115 PyObject
* _resultobj
;
3118 PyObject
* _argo0
= 0;
3119 char *_kwnames
[] = { "self", NULL
};
3122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetWindow",_kwnames
,&_argo0
))
3125 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3126 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
3127 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetWindow. Expected _wxCaret_p.");
3132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3133 _result
= (wxWindow
*)wxCaret_GetWindow(_arg0
);
3135 wxPyEndAllowThreads(__tstate
);
3136 if (PyErr_Occurred()) return NULL
;
3137 }{ _resultobj
= wxPyMake_wxObject(_result
); }
3141 #define wxCaret_MoveXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->Move(_swigarg0,_swigarg1))
3142 static PyObject
*_wrap_wxCaret_MoveXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3143 PyObject
* _resultobj
;
3147 PyObject
* _argo0
= 0;
3148 char *_kwnames
[] = { "self","x","y", NULL
};
3151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxCaret_MoveXY",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3154 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3155 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
3156 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_MoveXY. Expected _wxCaret_p.");
3161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3162 wxCaret_MoveXY(_arg0
,_arg1
,_arg2
);
3164 wxPyEndAllowThreads(__tstate
);
3165 if (PyErr_Occurred()) return NULL
;
3166 } Py_INCREF(Py_None
);
3167 _resultobj
= Py_None
;
3171 #define wxCaret_Move(_swigobj,_swigarg0) (_swigobj->Move(_swigarg0))
3172 static PyObject
*_wrap_wxCaret_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3173 PyObject
* _resultobj
;
3176 PyObject
* _argo0
= 0;
3178 PyObject
* _obj1
= 0;
3179 char *_kwnames
[] = { "self","pt", NULL
};
3182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxCaret_Move",_kwnames
,&_argo0
,&_obj1
))
3185 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3186 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
3187 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_Move. Expected _wxCaret_p.");
3193 if (! wxPoint_helper(_obj1
, &_arg1
))
3197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3198 wxCaret_Move(_arg0
,*_arg1
);
3200 wxPyEndAllowThreads(__tstate
);
3201 if (PyErr_Occurred()) return NULL
;
3202 } Py_INCREF(Py_None
);
3203 _resultobj
= Py_None
;
3207 #define wxCaret_SetSizeWH(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSize(_swigarg0,_swigarg1))
3208 static PyObject
*_wrap_wxCaret_SetSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3209 PyObject
* _resultobj
;
3213 PyObject
* _argo0
= 0;
3214 char *_kwnames
[] = { "self","width","height", NULL
};
3217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxCaret_SetSizeWH",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3220 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3221 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
3222 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_SetSizeWH. Expected _wxCaret_p.");
3227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3228 wxCaret_SetSizeWH(_arg0
,_arg1
,_arg2
);
3230 wxPyEndAllowThreads(__tstate
);
3231 if (PyErr_Occurred()) return NULL
;
3232 } Py_INCREF(Py_None
);
3233 _resultobj
= Py_None
;
3237 #define wxCaret_SetSize(_swigobj,_swigarg0) (_swigobj->SetSize(_swigarg0))
3238 static PyObject
*_wrap_wxCaret_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3239 PyObject
* _resultobj
;
3242 PyObject
* _argo0
= 0;
3244 PyObject
* _obj1
= 0;
3245 char *_kwnames
[] = { "self","size", NULL
};
3248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxCaret_SetSize",_kwnames
,&_argo0
,&_obj1
))
3251 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3252 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
3253 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_SetSize. Expected _wxCaret_p.");
3259 if (! wxSize_helper(_obj1
, &_arg1
))
3263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3264 wxCaret_SetSize(_arg0
,*_arg1
);
3266 wxPyEndAllowThreads(__tstate
);
3267 if (PyErr_Occurred()) return NULL
;
3268 } Py_INCREF(Py_None
);
3269 _resultobj
= Py_None
;
3273 #define wxCaret_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
3274 static PyObject
*_wrap_wxCaret_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3275 PyObject
* _resultobj
;
3277 int _arg1
= (int ) TRUE
;
3278 PyObject
* _argo0
= 0;
3279 char *_kwnames
[] = { "self","show", NULL
};
3282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxCaret_Show",_kwnames
,&_argo0
,&_arg1
))
3285 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3286 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
3287 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_Show. Expected _wxCaret_p.");
3292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3293 wxCaret_Show(_arg0
,_arg1
);
3295 wxPyEndAllowThreads(__tstate
);
3296 if (PyErr_Occurred()) return NULL
;
3297 } Py_INCREF(Py_None
);
3298 _resultobj
= Py_None
;
3302 #define wxCaret_Hide(_swigobj) (_swigobj->Hide())
3303 static PyObject
*_wrap_wxCaret_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3304 PyObject
* _resultobj
;
3306 PyObject
* _argo0
= 0;
3307 char *_kwnames
[] = { "self", NULL
};
3310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_Hide",_kwnames
,&_argo0
))
3313 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3314 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
3315 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_Hide. Expected _wxCaret_p.");
3320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3321 wxCaret_Hide(_arg0
);
3323 wxPyEndAllowThreads(__tstate
);
3324 if (PyErr_Occurred()) return NULL
;
3325 } Py_INCREF(Py_None
);
3326 _resultobj
= Py_None
;
3330 #define new_wxBusyCursor(_swigarg0) (new wxBusyCursor(_swigarg0))
3331 static PyObject
*_wrap_new_wxBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3332 PyObject
* _resultobj
;
3333 wxBusyCursor
* _result
;
3334 wxCursor
* _arg0
= (wxCursor
*) wxHOURGLASS_CURSOR
;
3335 PyObject
* _argo0
= 0;
3336 char *_kwnames
[] = { "cursor", NULL
};
3340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxBusyCursor",_kwnames
,&_argo0
))
3343 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3344 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
3345 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxBusyCursor. Expected _wxCursor_p.");
3350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3351 _result
= (wxBusyCursor
*)new_wxBusyCursor(_arg0
);
3353 wxPyEndAllowThreads(__tstate
);
3354 if (PyErr_Occurred()) return NULL
;
3356 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBusyCursor_p");
3357 _resultobj
= Py_BuildValue("s",_ptemp
);
3360 _resultobj
= Py_None
;
3365 #define delete_wxBusyCursor(_swigobj) (delete _swigobj)
3366 static PyObject
*_wrap_delete_wxBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3367 PyObject
* _resultobj
;
3368 wxBusyCursor
* _arg0
;
3369 PyObject
* _argo0
= 0;
3370 char *_kwnames
[] = { "self", NULL
};
3373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxBusyCursor",_kwnames
,&_argo0
))
3376 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3377 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBusyCursor_p")) {
3378 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxBusyCursor. Expected _wxBusyCursor_p.");
3383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3384 delete_wxBusyCursor(_arg0
);
3386 wxPyEndAllowThreads(__tstate
);
3387 if (PyErr_Occurred()) return NULL
;
3388 } Py_INCREF(Py_None
);
3389 _resultobj
= Py_None
;
3393 #define new_wxWindowDisabler(_swigarg0) (new wxWindowDisabler(_swigarg0))
3394 static PyObject
*_wrap_new_wxWindowDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3395 PyObject
* _resultobj
;
3396 wxWindowDisabler
* _result
;
3397 wxWindow
* _arg0
= (wxWindow
*) NULL
;
3398 PyObject
* _argo0
= 0;
3399 char *_kwnames
[] = { "winToSkip", NULL
};
3403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxWindowDisabler",_kwnames
,&_argo0
))
3406 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3407 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3408 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxWindowDisabler. Expected _wxWindow_p.");
3413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3414 _result
= (wxWindowDisabler
*)new_wxWindowDisabler(_arg0
);
3416 wxPyEndAllowThreads(__tstate
);
3417 if (PyErr_Occurred()) return NULL
;
3419 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindowDisabler_p");
3420 _resultobj
= Py_BuildValue("s",_ptemp
);
3423 _resultobj
= Py_None
;
3428 #define delete_wxWindowDisabler(_swigobj) (delete _swigobj)
3429 static PyObject
*_wrap_delete_wxWindowDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3430 PyObject
* _resultobj
;
3431 wxWindowDisabler
* _arg0
;
3432 PyObject
* _argo0
= 0;
3433 char *_kwnames
[] = { "self", NULL
};
3436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxWindowDisabler",_kwnames
,&_argo0
))
3439 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3440 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindowDisabler_p")) {
3441 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxWindowDisabler. Expected _wxWindowDisabler_p.");
3446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3447 delete_wxWindowDisabler(_arg0
);
3449 wxPyEndAllowThreads(__tstate
);
3450 if (PyErr_Occurred()) return NULL
;
3451 } Py_INCREF(Py_None
);
3452 _resultobj
= Py_None
;
3456 #define new_wxMutexGuiLocker() (new wxMutexGuiLocker())
3457 static PyObject
*_wrap_new_wxMutexGuiLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3458 PyObject
* _resultobj
;
3459 wxMutexGuiLocker
* _result
;
3460 char *_kwnames
[] = { NULL
};
3464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxMutexGuiLocker",_kwnames
))
3467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3468 _result
= (wxMutexGuiLocker
*)new_wxMutexGuiLocker();
3470 wxPyEndAllowThreads(__tstate
);
3471 if (PyErr_Occurred()) return NULL
;
3473 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMutexGuiLocker_p");
3474 _resultobj
= Py_BuildValue("s",_ptemp
);
3477 _resultobj
= Py_None
;
3482 #define delete_wxMutexGuiLocker(_swigobj) (delete _swigobj)
3483 static PyObject
*_wrap_delete_wxMutexGuiLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3484 PyObject
* _resultobj
;
3485 wxMutexGuiLocker
* _arg0
;
3486 PyObject
* _argo0
= 0;
3487 char *_kwnames
[] = { "self", NULL
};
3490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxMutexGuiLocker",_kwnames
,&_argo0
))
3493 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3494 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMutexGuiLocker_p")) {
3495 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxMutexGuiLocker. Expected _wxMutexGuiLocker_p.");
3500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3501 delete_wxMutexGuiLocker(_arg0
);
3503 wxPyEndAllowThreads(__tstate
);
3504 if (PyErr_Occurred()) return NULL
;
3505 } Py_INCREF(Py_None
);
3506 _resultobj
= Py_None
;
3510 #define delete_wxTipProvider(_swigobj) (delete _swigobj)
3511 static PyObject
*_wrap_delete_wxTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3512 PyObject
* _resultobj
;
3513 wxTipProvider
* _arg0
;
3514 PyObject
* _argo0
= 0;
3515 char *_kwnames
[] = { "self", NULL
};
3518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxTipProvider",_kwnames
,&_argo0
))
3521 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3522 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTipProvider_p")) {
3523 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxTipProvider. Expected _wxTipProvider_p.");
3528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3529 delete_wxTipProvider(_arg0
);
3531 wxPyEndAllowThreads(__tstate
);
3532 if (PyErr_Occurred()) return NULL
;
3533 } Py_INCREF(Py_None
);
3534 _resultobj
= Py_None
;
3538 #define wxTipProvider_GetTip(_swigobj) (_swigobj->GetTip())
3539 static PyObject
*_wrap_wxTipProvider_GetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3540 PyObject
* _resultobj
;
3542 wxTipProvider
* _arg0
;
3543 PyObject
* _argo0
= 0;
3544 char *_kwnames
[] = { "self", NULL
};
3547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTipProvider_GetTip",_kwnames
,&_argo0
))
3550 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3551 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTipProvider_p")) {
3552 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTipProvider_GetTip. Expected _wxTipProvider_p.");
3557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3558 _result
= new wxString (wxTipProvider_GetTip(_arg0
));
3560 wxPyEndAllowThreads(__tstate
);
3561 if (PyErr_Occurred()) return NULL
;
3564 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
3566 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3575 #define wxTipProvider_GetCurrentTip(_swigobj) (_swigobj->GetCurrentTip())
3576 static PyObject
*_wrap_wxTipProvider_GetCurrentTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3577 PyObject
* _resultobj
;
3579 wxTipProvider
* _arg0
;
3580 PyObject
* _argo0
= 0;
3581 char *_kwnames
[] = { "self", NULL
};
3584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTipProvider_GetCurrentTip",_kwnames
,&_argo0
))
3587 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3588 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTipProvider_p")) {
3589 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTipProvider_GetCurrentTip. Expected _wxTipProvider_p.");
3594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3595 _result
= (size_t )wxTipProvider_GetCurrentTip(_arg0
);
3597 wxPyEndAllowThreads(__tstate
);
3598 if (PyErr_Occurred()) return NULL
;
3599 } _resultobj
= Py_BuildValue("i",_result
);
3603 #define wxTipProvider_PreprocessTip(_swigobj,_swigarg0) (_swigobj->PreprocessTip(_swigarg0))
3604 static PyObject
*_wrap_wxTipProvider_PreprocessTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3605 PyObject
* _resultobj
;
3607 wxTipProvider
* _arg0
;
3609 PyObject
* _argo0
= 0;
3610 PyObject
* _obj1
= 0;
3611 char *_kwnames
[] = { "self","tip", NULL
};
3614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTipProvider_PreprocessTip",_kwnames
,&_argo0
,&_obj1
))
3617 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3618 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTipProvider_p")) {
3619 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTipProvider_PreprocessTip. Expected _wxTipProvider_p.");
3624 _arg1
= wxString_in_helper(_obj1
);
3629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3630 _result
= new wxString (wxTipProvider_PreprocessTip(_arg0
,*_arg1
));
3632 wxPyEndAllowThreads(__tstate
);
3633 if (PyErr_Occurred()) return NULL
;
3636 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
3638 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3651 static void *SwigwxPyTipProviderTowxTipProvider(void *ptr
) {
3652 wxPyTipProvider
*src
;
3653 wxTipProvider
*dest
;
3654 src
= (wxPyTipProvider
*) ptr
;
3655 dest
= (wxTipProvider
*) src
;
3656 return (void *) dest
;
3659 #define new_wxPyTipProvider(_swigarg0) (new wxPyTipProvider(_swigarg0))
3660 static PyObject
*_wrap_new_wxPyTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3661 PyObject
* _resultobj
;
3662 wxPyTipProvider
* _result
;
3664 char *_kwnames
[] = { "currentTip", NULL
};
3668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:new_wxPyTipProvider",_kwnames
,&_arg0
))
3671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3672 _result
= (wxPyTipProvider
*)new_wxPyTipProvider(_arg0
);
3674 wxPyEndAllowThreads(__tstate
);
3675 if (PyErr_Occurred()) return NULL
;
3677 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTipProvider_p");
3678 _resultobj
= Py_BuildValue("s",_ptemp
);
3681 _resultobj
= Py_None
;
3686 #define wxPyTipProvider__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
3687 static PyObject
*_wrap_wxPyTipProvider__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3688 PyObject
* _resultobj
;
3689 wxPyTipProvider
* _arg0
;
3692 PyObject
* _argo0
= 0;
3693 PyObject
* _obj1
= 0;
3694 PyObject
* _obj2
= 0;
3695 char *_kwnames
[] = { "self","self","_class", NULL
};
3698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyTipProvider__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
3701 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3702 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTipProvider_p")) {
3703 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTipProvider__setCallbackInfo. Expected _wxPyTipProvider_p.");
3714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3715 wxPyTipProvider__setCallbackInfo(_arg0
,_arg1
,_arg2
);
3717 wxPyEndAllowThreads(__tstate
);
3718 if (PyErr_Occurred()) return NULL
;
3719 } Py_INCREF(Py_None
);
3720 _resultobj
= Py_None
;
3724 static void *SwigwxGenericDragImageTowxObject(void *ptr
) {
3725 wxGenericDragImage
*src
;
3727 src
= (wxGenericDragImage
*) ptr
;
3728 dest
= (wxObject
*) src
;
3729 return (void *) dest
;
3732 #define new_wxDragImage(_swigarg0,_swigarg1) (new wxGenericDragImage(_swigarg0,_swigarg1))
3733 static PyObject
*_wrap_new_wxDragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3734 PyObject
* _resultobj
;
3735 wxGenericDragImage
* _result
;
3737 wxCursor
* _arg1
= (wxCursor
*) &wxNullCursor
;
3738 PyObject
* _argo0
= 0;
3739 PyObject
* _argo1
= 0;
3740 char *_kwnames
[] = { "image","cursor", NULL
};
3744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:new_wxDragImage",_kwnames
,&_argo0
,&_argo1
))
3747 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3748 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
3749 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDragImage. Expected _wxBitmap_p.");
3754 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3755 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCursor_p")) {
3756 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxDragImage. Expected _wxCursor_p.");
3761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3762 _result
= (wxGenericDragImage
*)new_wxDragImage(*_arg0
,*_arg1
);
3764 wxPyEndAllowThreads(__tstate
);
3765 if (PyErr_Occurred()) return NULL
;
3767 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
3768 _resultobj
= Py_BuildValue("s",_ptemp
);
3771 _resultobj
= Py_None
;
3776 #define new_wxDragIcon(_swigarg0,_swigarg1) (new wxGenericDragImage(_swigarg0,_swigarg1))
3777 static PyObject
*_wrap_new_wxDragIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3778 PyObject
* _resultobj
;
3779 wxGenericDragImage
* _result
;
3781 wxCursor
* _arg1
= (wxCursor
*) &wxNullCursor
;
3782 PyObject
* _argo0
= 0;
3783 PyObject
* _argo1
= 0;
3784 char *_kwnames
[] = { "image","cursor", NULL
};
3788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:new_wxDragIcon",_kwnames
,&_argo0
,&_argo1
))
3791 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3792 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
3793 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDragIcon. Expected _wxIcon_p.");
3798 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3799 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCursor_p")) {
3800 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxDragIcon. Expected _wxCursor_p.");
3805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3806 _result
= (wxGenericDragImage
*)new_wxDragIcon(*_arg0
,*_arg1
);
3808 wxPyEndAllowThreads(__tstate
);
3809 if (PyErr_Occurred()) return NULL
;
3811 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
3812 _resultobj
= Py_BuildValue("s",_ptemp
);
3815 _resultobj
= Py_None
;
3820 #define new_wxDragString(_swigarg0,_swigarg1) (new wxGenericDragImage(_swigarg0,_swigarg1))
3821 static PyObject
*_wrap_new_wxDragString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3822 PyObject
* _resultobj
;
3823 wxGenericDragImage
* _result
;
3825 wxCursor
* _arg1
= (wxCursor
*) &wxNullCursor
;
3826 PyObject
* _obj0
= 0;
3827 PyObject
* _argo1
= 0;
3828 char *_kwnames
[] = { "str","cursor", NULL
};
3832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:new_wxDragString",_kwnames
,&_obj0
,&_argo1
))
3835 _arg0
= wxString_in_helper(_obj0
);
3840 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3841 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCursor_p")) {
3842 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxDragString. Expected _wxCursor_p.");
3847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3848 _result
= (wxGenericDragImage
*)new_wxDragString(*_arg0
,*_arg1
);
3850 wxPyEndAllowThreads(__tstate
);
3851 if (PyErr_Occurred()) return NULL
;
3853 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
3854 _resultobj
= Py_BuildValue("s",_ptemp
);
3857 _resultobj
= Py_None
;
3866 #define new_wxDragTreeItem(_swigarg0,_swigarg1) (new wxGenericDragImage(_swigarg0,_swigarg1))
3867 static PyObject
*_wrap_new_wxDragTreeItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3868 PyObject
* _resultobj
;
3869 wxGenericDragImage
* _result
;
3871 wxTreeItemId
* _arg1
;
3872 PyObject
* _argo0
= 0;
3873 PyObject
* _argo1
= 0;
3874 char *_kwnames
[] = { "treeCtrl","id", NULL
};
3878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:new_wxDragTreeItem",_kwnames
,&_argo0
,&_argo1
))
3881 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3882 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3883 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDragTreeItem. Expected _wxTreeCtrl_p.");
3888 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3889 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3890 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxDragTreeItem. Expected _wxTreeItemId_p.");
3895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3896 _result
= (wxGenericDragImage
*)new_wxDragTreeItem(*_arg0
,*_arg1
);
3898 wxPyEndAllowThreads(__tstate
);
3899 if (PyErr_Occurred()) return NULL
;
3901 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
3902 _resultobj
= Py_BuildValue("s",_ptemp
);
3905 _resultobj
= Py_None
;
3910 #define new_wxDragListItem(_swigarg0,_swigarg1) (new wxGenericDragImage(_swigarg0,_swigarg1))
3911 static PyObject
*_wrap_new_wxDragListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3912 PyObject
* _resultobj
;
3913 wxGenericDragImage
* _result
;
3916 PyObject
* _argo0
= 0;
3917 char *_kwnames
[] = { "listCtrl","id", NULL
};
3921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:new_wxDragListItem",_kwnames
,&_argo0
,&_arg1
))
3924 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3925 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3926 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDragListItem. Expected _wxListCtrl_p.");
3931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3932 _result
= (wxGenericDragImage
*)new_wxDragListItem(*_arg0
,_arg1
);
3934 wxPyEndAllowThreads(__tstate
);
3935 if (PyErr_Occurred()) return NULL
;
3937 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
3938 _resultobj
= Py_BuildValue("s",_ptemp
);
3941 _resultobj
= Py_None
;
3946 #define delete_wxGenericDragImage(_swigobj) (delete _swigobj)
3947 static PyObject
*_wrap_delete_wxDragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3948 PyObject
* _resultobj
;
3949 wxGenericDragImage
* _arg0
;
3950 PyObject
* _argo0
= 0;
3951 char *_kwnames
[] = { "self", NULL
};
3954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxDragImage",_kwnames
,&_argo0
))
3957 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3958 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3959 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxDragImage. Expected _wxGenericDragImage_p.");
3964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3965 delete_wxGenericDragImage(_arg0
);
3967 wxPyEndAllowThreads(__tstate
);
3968 if (PyErr_Occurred()) return NULL
;
3969 } Py_INCREF(Py_None
);
3970 _resultobj
= Py_None
;
3974 #define wxDragImage_SetBackingBitmap(_swigobj,_swigarg0) (_swigobj->SetBackingBitmap(_swigarg0))
3975 static PyObject
*_wrap_wxDragImage_SetBackingBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3976 PyObject
* _resultobj
;
3977 wxGenericDragImage
* _arg0
;
3979 PyObject
* _argo0
= 0;
3980 PyObject
* _argo1
= 0;
3981 char *_kwnames
[] = { "self","bitmap", NULL
};
3984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDragImage_SetBackingBitmap",_kwnames
,&_argo0
,&_argo1
))
3987 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3988 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3989 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_SetBackingBitmap. Expected _wxGenericDragImage_p.");
3994 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3995 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
3996 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDragImage_SetBackingBitmap. Expected _wxBitmap_p.");
4001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4002 wxDragImage_SetBackingBitmap(_arg0
,_arg1
);
4004 wxPyEndAllowThreads(__tstate
);
4005 if (PyErr_Occurred()) return NULL
;
4006 } Py_INCREF(Py_None
);
4007 _resultobj
= Py_None
;
4011 #define wxDragImage_BeginDrag(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->BeginDrag(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4012 static PyObject
*_wrap_wxDragImage_BeginDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4013 PyObject
* _resultobj
;
4015 wxGenericDragImage
* _arg0
;
4018 bool _arg3
= (bool ) FALSE
;
4019 wxRect
* _arg4
= (wxRect
*) NULL
;
4020 PyObject
* _argo0
= 0;
4022 PyObject
* _obj1
= 0;
4023 PyObject
* _argo2
= 0;
4024 int tempbool3
= (int) FALSE
;
4026 PyObject
* _obj4
= 0;
4027 char *_kwnames
[] = { "self","hotspot","window","fullScreen","rect", NULL
};
4030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|iO:wxDragImage_BeginDrag",_kwnames
,&_argo0
,&_obj1
,&_argo2
,&tempbool3
,&_obj4
))
4033 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4034 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
4035 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_BeginDrag. Expected _wxGenericDragImage_p.");
4041 if (! wxPoint_helper(_obj1
, &_arg1
))
4045 if (_argo2
== Py_None
) { _arg2
= NULL
; }
4046 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
4047 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxDragImage_BeginDrag. Expected _wxWindow_p.");
4051 _arg3
= (bool ) tempbool3
;
4055 if (! wxRect_helper(_obj4
, &_arg4
))
4059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4060 _result
= (bool )wxDragImage_BeginDrag(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
);
4062 wxPyEndAllowThreads(__tstate
);
4063 if (PyErr_Occurred()) return NULL
;
4064 } _resultobj
= Py_BuildValue("i",_result
);
4068 #define wxDragImage_BeginDrag2(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->BeginDrag(_swigarg0,_swigarg1,_swigarg2))
4069 static PyObject
*_wrap_wxDragImage_BeginDrag2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4070 PyObject
* _resultobj
;
4072 wxGenericDragImage
* _arg0
;
4076 PyObject
* _argo0
= 0;
4078 PyObject
* _obj1
= 0;
4079 PyObject
* _argo2
= 0;
4080 PyObject
* _argo3
= 0;
4081 char *_kwnames
[] = { "self","hotspot","window","fullScreenRect", NULL
};
4084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO:wxDragImage_BeginDrag2",_kwnames
,&_argo0
,&_obj1
,&_argo2
,&_argo3
))
4087 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4088 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
4089 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_BeginDrag2. Expected _wxGenericDragImage_p.");
4095 if (! wxPoint_helper(_obj1
, &_arg1
))
4099 if (_argo2
== Py_None
) { _arg2
= NULL
; }
4100 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
4101 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxDragImage_BeginDrag2. Expected _wxWindow_p.");
4106 if (_argo3
== Py_None
) { _arg3
= NULL
; }
4107 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxWindow_p")) {
4108 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxDragImage_BeginDrag2. Expected _wxWindow_p.");
4113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4114 _result
= (bool )wxDragImage_BeginDrag2(_arg0
,*_arg1
,_arg2
,_arg3
);
4116 wxPyEndAllowThreads(__tstate
);
4117 if (PyErr_Occurred()) return NULL
;
4118 } _resultobj
= Py_BuildValue("i",_result
);
4122 #define wxDragImage_EndDrag(_swigobj) (_swigobj->EndDrag())
4123 static PyObject
*_wrap_wxDragImage_EndDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4124 PyObject
* _resultobj
;
4126 wxGenericDragImage
* _arg0
;
4127 PyObject
* _argo0
= 0;
4128 char *_kwnames
[] = { "self", NULL
};
4131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDragImage_EndDrag",_kwnames
,&_argo0
))
4134 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4135 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
4136 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_EndDrag. Expected _wxGenericDragImage_p.");
4141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4142 _result
= (bool )wxDragImage_EndDrag(_arg0
);
4144 wxPyEndAllowThreads(__tstate
);
4145 if (PyErr_Occurred()) return NULL
;
4146 } _resultobj
= Py_BuildValue("i",_result
);
4150 #define wxDragImage_Move(_swigobj,_swigarg0) (_swigobj->Move(_swigarg0))
4151 static PyObject
*_wrap_wxDragImage_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4152 PyObject
* _resultobj
;
4154 wxGenericDragImage
* _arg0
;
4156 PyObject
* _argo0
= 0;
4158 PyObject
* _obj1
= 0;
4159 char *_kwnames
[] = { "self","pt", NULL
};
4162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDragImage_Move",_kwnames
,&_argo0
,&_obj1
))
4165 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4166 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
4167 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_Move. Expected _wxGenericDragImage_p.");
4173 if (! wxPoint_helper(_obj1
, &_arg1
))
4177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4178 _result
= (bool )wxDragImage_Move(_arg0
,*_arg1
);
4180 wxPyEndAllowThreads(__tstate
);
4181 if (PyErr_Occurred()) return NULL
;
4182 } _resultobj
= Py_BuildValue("i",_result
);
4186 #define wxDragImage_Show(_swigobj) (_swigobj->Show())
4187 static PyObject
*_wrap_wxDragImage_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4188 PyObject
* _resultobj
;
4190 wxGenericDragImage
* _arg0
;
4191 PyObject
* _argo0
= 0;
4192 char *_kwnames
[] = { "self", NULL
};
4195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDragImage_Show",_kwnames
,&_argo0
))
4198 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4199 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
4200 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_Show. Expected _wxGenericDragImage_p.");
4205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4206 _result
= (bool )wxDragImage_Show(_arg0
);
4208 wxPyEndAllowThreads(__tstate
);
4209 if (PyErr_Occurred()) return NULL
;
4210 } _resultobj
= Py_BuildValue("i",_result
);
4214 #define wxDragImage_Hide(_swigobj) (_swigobj->Hide())
4215 static PyObject
*_wrap_wxDragImage_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4216 PyObject
* _resultobj
;
4218 wxGenericDragImage
* _arg0
;
4219 PyObject
* _argo0
= 0;
4220 char *_kwnames
[] = { "self", NULL
};
4223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDragImage_Hide",_kwnames
,&_argo0
))
4226 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4227 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
4228 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_Hide. Expected _wxGenericDragImage_p.");
4233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4234 _result
= (bool )wxDragImage_Hide(_arg0
);
4236 wxPyEndAllowThreads(__tstate
);
4237 if (PyErr_Occurred()) return NULL
;
4238 } _resultobj
= Py_BuildValue("i",_result
);
4242 #define wxDragImage_GetImageRect(_swigobj,_swigarg0) (_swigobj->GetImageRect(_swigarg0))
4243 static PyObject
*_wrap_wxDragImage_GetImageRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4244 PyObject
* _resultobj
;
4246 wxGenericDragImage
* _arg0
;
4248 PyObject
* _argo0
= 0;
4250 PyObject
* _obj1
= 0;
4251 char *_kwnames
[] = { "self","pos", NULL
};
4255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDragImage_GetImageRect",_kwnames
,&_argo0
,&_obj1
))
4258 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4259 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
4260 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_GetImageRect. Expected _wxGenericDragImage_p.");
4266 if (! wxPoint_helper(_obj1
, &_arg1
))
4270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4271 _result
= new wxRect (wxDragImage_GetImageRect(_arg0
,*_arg1
));
4273 wxPyEndAllowThreads(__tstate
);
4274 if (PyErr_Occurred()) return NULL
;
4275 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
4276 _resultobj
= Py_BuildValue("s",_ptemp
);
4280 #define wxDragImage_RedrawImage(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->RedrawImage(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4281 static PyObject
*_wrap_wxDragImage_RedrawImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4282 PyObject
* _resultobj
;
4284 wxGenericDragImage
* _arg0
;
4289 PyObject
* _argo0
= 0;
4291 PyObject
* _obj1
= 0;
4293 PyObject
* _obj2
= 0;
4296 char *_kwnames
[] = { "self","oldPos","newPos","eraseOld","drawNew", NULL
};
4299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOii:wxDragImage_RedrawImage",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&tempbool3
,&tempbool4
))
4302 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4303 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
4304 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_RedrawImage. Expected _wxGenericDragImage_p.");
4310 if (! wxPoint_helper(_obj1
, &_arg1
))
4315 if (! wxPoint_helper(_obj2
, &_arg2
))
4318 _arg3
= (bool ) tempbool3
;
4319 _arg4
= (bool ) tempbool4
;
4321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4322 _result
= (bool )wxDragImage_RedrawImage(_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
);
4324 wxPyEndAllowThreads(__tstate
);
4325 if (PyErr_Occurred()) return NULL
;
4326 } _resultobj
= Py_BuildValue("i",_result
);
4330 static void *SwigwxPyTimerTowxObject(void *ptr
) {
4333 src
= (wxPyTimer
*) ptr
;
4334 dest
= (wxObject
*) src
;
4335 return (void *) dest
;
4338 #define new_wxPyTimer(_swigarg0) (new wxPyTimer(_swigarg0))
4339 static PyObject
*_wrap_new_wxPyTimer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4340 PyObject
* _resultobj
;
4341 wxPyTimer
* _result
;
4343 PyObject
* _obj0
= 0;
4344 char *_kwnames
[] = { "notify", NULL
};
4348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxPyTimer",_kwnames
,&_obj0
))
4354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4355 _result
= (wxPyTimer
*)new_wxPyTimer(_arg0
);
4357 wxPyEndAllowThreads(__tstate
);
4358 if (PyErr_Occurred()) return NULL
;
4360 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTimer_p");
4361 _resultobj
= Py_BuildValue("s",_ptemp
);
4364 _resultobj
= Py_None
;
4369 #define delete_wxPyTimer(_swigobj) (delete _swigobj)
4370 static PyObject
*_wrap_delete_wxPyTimer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4371 PyObject
* _resultobj
;
4373 PyObject
* _argo0
= 0;
4374 char *_kwnames
[] = { "self", NULL
};
4377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPyTimer",_kwnames
,&_argo0
))
4380 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4381 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4382 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPyTimer. Expected _wxPyTimer_p.");
4387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4388 delete_wxPyTimer(_arg0
);
4390 wxPyEndAllowThreads(__tstate
);
4391 if (PyErr_Occurred()) return NULL
;
4392 } Py_INCREF(Py_None
);
4393 _resultobj
= Py_None
;
4397 #define wxPyTimer_GetInterval(_swigobj) (_swigobj->GetInterval())
4398 static PyObject
*_wrap_wxPyTimer_GetInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4399 PyObject
* _resultobj
;
4402 PyObject
* _argo0
= 0;
4403 char *_kwnames
[] = { "self", NULL
};
4406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_GetInterval",_kwnames
,&_argo0
))
4409 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4410 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4411 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_GetInterval. Expected _wxPyTimer_p.");
4416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4417 _result
= (int )wxPyTimer_GetInterval(_arg0
);
4419 wxPyEndAllowThreads(__tstate
);
4420 if (PyErr_Occurred()) return NULL
;
4421 } _resultobj
= Py_BuildValue("i",_result
);
4425 #define wxPyTimer_IsOneShot(_swigobj) (_swigobj->IsOneShot())
4426 static PyObject
*_wrap_wxPyTimer_IsOneShot(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4427 PyObject
* _resultobj
;
4430 PyObject
* _argo0
= 0;
4431 char *_kwnames
[] = { "self", NULL
};
4434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_IsOneShot",_kwnames
,&_argo0
))
4437 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4438 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4439 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_IsOneShot. Expected _wxPyTimer_p.");
4444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4445 _result
= (bool )wxPyTimer_IsOneShot(_arg0
);
4447 wxPyEndAllowThreads(__tstate
);
4448 if (PyErr_Occurred()) return NULL
;
4449 } _resultobj
= Py_BuildValue("i",_result
);
4453 #define wxPyTimer_IsRunning(_swigobj) (_swigobj->IsRunning())
4454 static PyObject
*_wrap_wxPyTimer_IsRunning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4455 PyObject
* _resultobj
;
4458 PyObject
* _argo0
= 0;
4459 char *_kwnames
[] = { "self", NULL
};
4462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_IsRunning",_kwnames
,&_argo0
))
4465 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4466 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4467 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_IsRunning. Expected _wxPyTimer_p.");
4472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4473 _result
= (bool )wxPyTimer_IsRunning(_arg0
);
4475 wxPyEndAllowThreads(__tstate
);
4476 if (PyErr_Occurred()) return NULL
;
4477 } _resultobj
= Py_BuildValue("i",_result
);
4481 #define wxPyTimer_SetOwner(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetOwner(_swigarg0,_swigarg1))
4482 static PyObject
*_wrap_wxPyTimer_SetOwner(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4483 PyObject
* _resultobj
;
4485 wxEvtHandler
* _arg1
;
4486 int _arg2
= (int ) -1;
4487 PyObject
* _argo0
= 0;
4488 PyObject
* _argo1
= 0;
4489 char *_kwnames
[] = { "self","owner","id", NULL
};
4492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxPyTimer_SetOwner",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
4495 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4496 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4497 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_SetOwner. Expected _wxPyTimer_p.");
4502 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4503 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
4504 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyTimer_SetOwner. Expected _wxEvtHandler_p.");
4509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4510 wxPyTimer_SetOwner(_arg0
,_arg1
,_arg2
);
4512 wxPyEndAllowThreads(__tstate
);
4513 if (PyErr_Occurred()) return NULL
;
4514 } Py_INCREF(Py_None
);
4515 _resultobj
= Py_None
;
4519 #define wxPyTimer_Start(_swigobj,_swigarg0,_swigarg1) (_swigobj->Start(_swigarg0,_swigarg1))
4520 static PyObject
*_wrap_wxPyTimer_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4521 PyObject
* _resultobj
;
4523 int _arg1
= (int ) -1;
4524 int _arg2
= (int ) FALSE
;
4525 PyObject
* _argo0
= 0;
4526 char *_kwnames
[] = { "self","milliseconds","oneShot", NULL
};
4529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxPyTimer_Start",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4532 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4533 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4534 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_Start. Expected _wxPyTimer_p.");
4539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4540 wxPyTimer_Start(_arg0
,_arg1
,_arg2
);
4542 wxPyEndAllowThreads(__tstate
);
4543 if (PyErr_Occurred()) return NULL
;
4544 } Py_INCREF(Py_None
);
4545 _resultobj
= Py_None
;
4549 #define wxPyTimer_Stop(_swigobj) (_swigobj->Stop())
4550 static PyObject
*_wrap_wxPyTimer_Stop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4551 PyObject
* _resultobj
;
4553 PyObject
* _argo0
= 0;
4554 char *_kwnames
[] = { "self", NULL
};
4557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_Stop",_kwnames
,&_argo0
))
4560 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4561 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4562 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_Stop. Expected _wxPyTimer_p.");
4567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4568 wxPyTimer_Stop(_arg0
);
4570 wxPyEndAllowThreads(__tstate
);
4571 if (PyErr_Occurred()) return NULL
;
4572 } Py_INCREF(Py_None
);
4573 _resultobj
= Py_None
;
4577 #define new_wxStopWatch() (new wxStopWatch())
4578 static PyObject
*_wrap_new_wxStopWatch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4579 PyObject
* _resultobj
;
4580 wxStopWatch
* _result
;
4581 char *_kwnames
[] = { NULL
};
4585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxStopWatch",_kwnames
))
4588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4589 _result
= (wxStopWatch
*)new_wxStopWatch();
4591 wxPyEndAllowThreads(__tstate
);
4592 if (PyErr_Occurred()) return NULL
;
4594 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStopWatch_p");
4595 _resultobj
= Py_BuildValue("s",_ptemp
);
4598 _resultobj
= Py_None
;
4603 #define delete_wxStopWatch(_swigobj) (delete _swigobj)
4604 static PyObject
*_wrap_delete_wxStopWatch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4605 PyObject
* _resultobj
;
4606 wxStopWatch
* _arg0
;
4607 PyObject
* _argo0
= 0;
4608 char *_kwnames
[] = { "self", NULL
};
4611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxStopWatch",_kwnames
,&_argo0
))
4614 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4615 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStopWatch_p")) {
4616 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxStopWatch. Expected _wxStopWatch_p.");
4621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4622 delete_wxStopWatch(_arg0
);
4624 wxPyEndAllowThreads(__tstate
);
4625 if (PyErr_Occurred()) return NULL
;
4626 } Py_INCREF(Py_None
);
4627 _resultobj
= Py_None
;
4631 #define wxStopWatch_Start(_swigobj,_swigarg0) (_swigobj->Start(_swigarg0))
4632 static PyObject
*_wrap_wxStopWatch_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4633 PyObject
* _resultobj
;
4634 wxStopWatch
* _arg0
;
4635 long _arg1
= (long ) 0;
4636 PyObject
* _argo0
= 0;
4637 char *_kwnames
[] = { "self","t", NULL
};
4640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|l:wxStopWatch_Start",_kwnames
,&_argo0
,&_arg1
))
4643 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4644 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStopWatch_p")) {
4645 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStopWatch_Start. Expected _wxStopWatch_p.");
4650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4651 wxStopWatch_Start(_arg0
,_arg1
);
4653 wxPyEndAllowThreads(__tstate
);
4654 if (PyErr_Occurred()) return NULL
;
4655 } Py_INCREF(Py_None
);
4656 _resultobj
= Py_None
;
4660 #define wxStopWatch_Pause(_swigobj) (_swigobj->Pause())
4661 static PyObject
*_wrap_wxStopWatch_Pause(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4662 PyObject
* _resultobj
;
4663 wxStopWatch
* _arg0
;
4664 PyObject
* _argo0
= 0;
4665 char *_kwnames
[] = { "self", NULL
};
4668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStopWatch_Pause",_kwnames
,&_argo0
))
4671 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4672 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStopWatch_p")) {
4673 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStopWatch_Pause. Expected _wxStopWatch_p.");
4678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4679 wxStopWatch_Pause(_arg0
);
4681 wxPyEndAllowThreads(__tstate
);
4682 if (PyErr_Occurred()) return NULL
;
4683 } Py_INCREF(Py_None
);
4684 _resultobj
= Py_None
;
4688 #define wxStopWatch_Resume(_swigobj) (_swigobj->Resume())
4689 static PyObject
*_wrap_wxStopWatch_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4690 PyObject
* _resultobj
;
4691 wxStopWatch
* _arg0
;
4692 PyObject
* _argo0
= 0;
4693 char *_kwnames
[] = { "self", NULL
};
4696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStopWatch_Resume",_kwnames
,&_argo0
))
4699 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4700 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStopWatch_p")) {
4701 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStopWatch_Resume. Expected _wxStopWatch_p.");
4706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4707 wxStopWatch_Resume(_arg0
);
4709 wxPyEndAllowThreads(__tstate
);
4710 if (PyErr_Occurred()) return NULL
;
4711 } Py_INCREF(Py_None
);
4712 _resultobj
= Py_None
;
4716 #define wxStopWatch_Time(_swigobj) (_swigobj->Time())
4717 static PyObject
*_wrap_wxStopWatch_Time(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4718 PyObject
* _resultobj
;
4720 wxStopWatch
* _arg0
;
4721 PyObject
* _argo0
= 0;
4722 char *_kwnames
[] = { "self", NULL
};
4725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStopWatch_Time",_kwnames
,&_argo0
))
4728 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4729 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStopWatch_p")) {
4730 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStopWatch_Time. Expected _wxStopWatch_p.");
4735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4736 _result
= (long )wxStopWatch_Time(_arg0
);
4738 wxPyEndAllowThreads(__tstate
);
4739 if (PyErr_Occurred()) return NULL
;
4740 } _resultobj
= Py_BuildValue("l",_result
);
4744 #define new_wxLog() (new wxLog())
4745 static PyObject
*_wrap_new_wxLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4746 PyObject
* _resultobj
;
4748 char *_kwnames
[] = { NULL
};
4752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLog",_kwnames
))
4755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4756 _result
= (wxLog
*)new_wxLog();
4758 wxPyEndAllowThreads(__tstate
);
4759 if (PyErr_Occurred()) return NULL
;
4761 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
4762 _resultobj
= Py_BuildValue("s",_ptemp
);
4765 _resultobj
= Py_None
;
4770 static PyObject
*_wrap_wxLog_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4771 PyObject
* _resultobj
;
4773 char *_kwnames
[] = { NULL
};
4776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_IsEnabled",_kwnames
))
4779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4780 _result
= (bool )wxLog::IsEnabled();
4782 wxPyEndAllowThreads(__tstate
);
4783 if (PyErr_Occurred()) return NULL
;
4784 } _resultobj
= Py_BuildValue("i",_result
);
4788 static PyObject
*_wrap_wxLog_EnableLogging(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4789 PyObject
* _resultobj
;
4791 bool _arg0
= (bool ) TRUE
;
4792 int tempbool0
= (int) TRUE
;
4793 char *_kwnames
[] = { "doIt", NULL
};
4796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:wxLog_EnableLogging",_kwnames
,&tempbool0
))
4798 _arg0
= (bool ) tempbool0
;
4800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4801 _result
= (bool )wxLog::EnableLogging(_arg0
);
4803 wxPyEndAllowThreads(__tstate
);
4804 if (PyErr_Occurred()) return NULL
;
4805 } _resultobj
= Py_BuildValue("i",_result
);
4809 static PyObject
*_wrap_wxLog_OnLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4810 PyObject
* _resultobj
;
4811 unsigned long _arg0
;
4813 int _arg2
= (int ) 0;
4814 PyObject
* _obj1
= 0;
4815 char *_kwnames
[] = { "level","szString","t", NULL
};
4818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"lO|i:wxLog_OnLog",_kwnames
,&_arg0
,&_obj1
,&_arg2
))
4821 _arg1
= wxString_in_helper(_obj1
);
4826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4827 wxLog::OnLog(_arg0
,*_arg1
,_arg2
);
4829 wxPyEndAllowThreads(__tstate
);
4830 if (PyErr_Occurred()) return NULL
;
4831 } Py_INCREF(Py_None
);
4832 _resultobj
= Py_None
;
4840 #define wxLog_Flush(_swigobj) (_swigobj->Flush())
4841 static PyObject
*_wrap_wxLog_Flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4842 PyObject
* _resultobj
;
4844 PyObject
* _argo0
= 0;
4845 char *_kwnames
[] = { "self", NULL
};
4848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_Flush",_kwnames
,&_argo0
))
4851 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4852 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
4853 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_Flush. Expected _wxLog_p.");
4858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4861 wxPyEndAllowThreads(__tstate
);
4862 if (PyErr_Occurred()) return NULL
;
4863 } Py_INCREF(Py_None
);
4864 _resultobj
= Py_None
;
4868 #define wxLog_HasPendingMessages(_swigobj) (_swigobj->HasPendingMessages())
4869 static PyObject
*_wrap_wxLog_HasPendingMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4870 PyObject
* _resultobj
;
4873 PyObject
* _argo0
= 0;
4874 char *_kwnames
[] = { "self", NULL
};
4877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_HasPendingMessages",_kwnames
,&_argo0
))
4880 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4881 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
4882 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_HasPendingMessages. Expected _wxLog_p.");
4887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4888 _result
= (bool )wxLog_HasPendingMessages(_arg0
);
4890 wxPyEndAllowThreads(__tstate
);
4891 if (PyErr_Occurred()) return NULL
;
4892 } _resultobj
= Py_BuildValue("i",_result
);
4896 static PyObject
*_wrap_wxLog_FlushActive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4897 PyObject
* _resultobj
;
4898 char *_kwnames
[] = { NULL
};
4901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_FlushActive",_kwnames
))
4904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4905 wxLog::FlushActive();
4907 wxPyEndAllowThreads(__tstate
);
4908 if (PyErr_Occurred()) return NULL
;
4909 } Py_INCREF(Py_None
);
4910 _resultobj
= Py_None
;
4914 static PyObject
*_wrap_wxLog_GetActiveTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4915 PyObject
* _resultobj
;
4917 char *_kwnames
[] = { NULL
};
4921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_GetActiveTarget",_kwnames
))
4924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4925 _result
= (wxLog
*)wxLog::GetActiveTarget();
4927 wxPyEndAllowThreads(__tstate
);
4928 if (PyErr_Occurred()) return NULL
;
4930 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
4931 _resultobj
= Py_BuildValue("s",_ptemp
);
4934 _resultobj
= Py_None
;
4939 static PyObject
*_wrap_wxLog_SetActiveTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4940 PyObject
* _resultobj
;
4943 PyObject
* _argo0
= 0;
4944 char *_kwnames
[] = { "pLogger", NULL
};
4948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_SetActiveTarget",_kwnames
,&_argo0
))
4951 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4952 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
4953 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_SetActiveTarget. Expected _wxLog_p.");
4958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4959 _result
= (wxLog
*)wxLog::SetActiveTarget(_arg0
);
4961 wxPyEndAllowThreads(__tstate
);
4962 if (PyErr_Occurred()) return NULL
;
4964 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
4965 _resultobj
= Py_BuildValue("s",_ptemp
);
4968 _resultobj
= Py_None
;
4973 static PyObject
*_wrap_wxLog_Suspend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4974 PyObject
* _resultobj
;
4975 char *_kwnames
[] = { NULL
};
4978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_Suspend",_kwnames
))
4981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4984 wxPyEndAllowThreads(__tstate
);
4985 if (PyErr_Occurred()) return NULL
;
4986 } Py_INCREF(Py_None
);
4987 _resultobj
= Py_None
;
4991 static PyObject
*_wrap_wxLog_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4992 PyObject
* _resultobj
;
4993 char *_kwnames
[] = { NULL
};
4996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_Resume",_kwnames
))
4999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5002 wxPyEndAllowThreads(__tstate
);
5003 if (PyErr_Occurred()) return NULL
;
5004 } Py_INCREF(Py_None
);
5005 _resultobj
= Py_None
;
5009 static PyObject
*_wrap_wxLog_SetVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5010 PyObject
* _resultobj
;
5011 bool _arg0
= (bool ) TRUE
;
5012 int tempbool0
= (int) TRUE
;
5013 char *_kwnames
[] = { "bVerbose", NULL
};
5016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:wxLog_SetVerbose",_kwnames
,&tempbool0
))
5018 _arg0
= (bool ) tempbool0
;
5020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5021 wxLog::SetVerbose(_arg0
);
5023 wxPyEndAllowThreads(__tstate
);
5024 if (PyErr_Occurred()) return NULL
;
5025 } Py_INCREF(Py_None
);
5026 _resultobj
= Py_None
;
5030 static PyObject
*_wrap_wxLog_DontCreateOnDemand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5031 PyObject
* _resultobj
;
5032 char *_kwnames
[] = { NULL
};
5035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_DontCreateOnDemand",_kwnames
))
5038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5039 wxLog::DontCreateOnDemand();
5041 wxPyEndAllowThreads(__tstate
);
5042 if (PyErr_Occurred()) return NULL
;
5043 } Py_INCREF(Py_None
);
5044 _resultobj
= Py_None
;
5048 static PyObject
*_wrap_wxLog_SetTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5049 PyObject
* _resultobj
;
5051 char *_kwnames
[] = { "ulMask", NULL
};
5054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:wxLog_SetTraceMask",_kwnames
,&_arg0
))
5057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5058 wxLog::SetTraceMask(_arg0
);
5060 wxPyEndAllowThreads(__tstate
);
5061 if (PyErr_Occurred()) return NULL
;
5062 } Py_INCREF(Py_None
);
5063 _resultobj
= Py_None
;
5067 static PyObject
*_wrap_wxLog_AddTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5068 PyObject
* _resultobj
;
5070 PyObject
* _obj0
= 0;
5071 char *_kwnames
[] = { "str", NULL
};
5074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_AddTraceMask",_kwnames
,&_obj0
))
5077 _arg0
= wxString_in_helper(_obj0
);
5082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5083 wxLog::AddTraceMask(*_arg0
);
5085 wxPyEndAllowThreads(__tstate
);
5086 if (PyErr_Occurred()) return NULL
;
5087 } Py_INCREF(Py_None
);
5088 _resultobj
= Py_None
;
5096 static PyObject
*_wrap_wxLog_RemoveTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5097 PyObject
* _resultobj
;
5099 PyObject
* _obj0
= 0;
5100 char *_kwnames
[] = { "str", NULL
};
5103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_RemoveTraceMask",_kwnames
,&_obj0
))
5106 _arg0
= wxString_in_helper(_obj0
);
5111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5112 wxLog::RemoveTraceMask(*_arg0
);
5114 wxPyEndAllowThreads(__tstate
);
5115 if (PyErr_Occurred()) return NULL
;
5116 } Py_INCREF(Py_None
);
5117 _resultobj
= Py_None
;
5125 static PyObject
*_wrap_wxLog_ClearTraceMasks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5126 PyObject
* _resultobj
;
5127 char *_kwnames
[] = { NULL
};
5130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_ClearTraceMasks",_kwnames
))
5133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5134 wxLog::ClearTraceMasks();
5136 wxPyEndAllowThreads(__tstate
);
5137 if (PyErr_Occurred()) return NULL
;
5138 } Py_INCREF(Py_None
);
5139 _resultobj
= Py_None
;
5143 static PyObject
*_wrap_wxLog_GetTraceMasks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5144 PyObject
* _resultobj
;
5145 wxArrayString
* _result
;
5146 char *_kwnames
[] = { NULL
};
5150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_GetTraceMasks",_kwnames
))
5153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5154 const wxArrayString
& _result_ref
= wxLog::GetTraceMasks();
5155 _result
= (wxArrayString
*) &_result_ref
;
5157 wxPyEndAllowThreads(__tstate
);
5158 if (PyErr_Occurred()) return NULL
;
5160 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxArrayString_p");
5161 _resultobj
= Py_BuildValue("s",_ptemp
);
5164 _resultobj
= Py_None
;
5169 static PyObject
*_wrap_wxLog_SetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5170 PyObject
* _resultobj
;
5172 PyObject
* _obj0
= 0;
5173 char *_kwnames
[] = { "ts", NULL
};
5176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_SetTimestamp",_kwnames
,&_obj0
))
5179 _arg0
= wxString_in_helper(_obj0
);
5184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5185 wxLog::SetTimestamp(*_arg0
);
5187 wxPyEndAllowThreads(__tstate
);
5188 if (PyErr_Occurred()) return NULL
;
5189 } Py_INCREF(Py_None
);
5190 _resultobj
= Py_None
;
5198 static PyObject
*_wrap_wxLog_GetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5199 PyObject
* _resultobj
;
5201 char *_kwnames
[] = { NULL
};
5204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_GetTimestamp",_kwnames
))
5207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5208 const wxString
& _result_ref
= wxLog::GetTimestamp();
5209 _result
= (wxString
*) &_result_ref
;
5211 wxPyEndAllowThreads(__tstate
);
5212 if (PyErr_Occurred()) return NULL
;
5215 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
5217 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5223 #define wxLog_GetVerbose(_swigobj) (_swigobj->GetVerbose())
5224 static PyObject
*_wrap_wxLog_GetVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5225 PyObject
* _resultobj
;
5228 PyObject
* _argo0
= 0;
5229 char *_kwnames
[] = { "self", NULL
};
5232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_GetVerbose",_kwnames
,&_argo0
))
5235 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5236 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
5237 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_GetVerbose. Expected _wxLog_p.");
5242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5243 _result
= (bool )wxLog_GetVerbose(_arg0
);
5245 wxPyEndAllowThreads(__tstate
);
5246 if (PyErr_Occurred()) return NULL
;
5247 } _resultobj
= Py_BuildValue("i",_result
);
5251 static PyObject
*_wrap_wxLog_GetTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5252 PyObject
* _resultobj
;
5253 unsigned long _result
;
5254 char *_kwnames
[] = { NULL
};
5257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_GetTraceMask",_kwnames
))
5260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5261 _result
= (unsigned long )wxLog::GetTraceMask();
5263 wxPyEndAllowThreads(__tstate
);
5264 if (PyErr_Occurred()) return NULL
;
5265 } _resultobj
= Py_BuildValue("l",_result
);
5269 static PyObject
*_wrap_wxLog_IsAllowedTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5270 PyObject
* _resultobj
;
5273 PyObject
* _obj0
= 0;
5274 char *_kwnames
[] = { "mask", NULL
};
5277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_IsAllowedTraceMask",_kwnames
,&_obj0
))
5280 _arg0
= wxString_in_helper(_obj0
);
5285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5286 _result
= (bool )wxLog::IsAllowedTraceMask(*_arg0
);
5288 wxPyEndAllowThreads(__tstate
);
5289 if (PyErr_Occurred()) return NULL
;
5290 } _resultobj
= Py_BuildValue("i",_result
);
5298 static wxString
wxLog_TimeStamp(wxLog
*self
) {
5300 wxLog::TimeStamp(&msg
);
5303 static PyObject
*_wrap_wxLog_TimeStamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5304 PyObject
* _resultobj
;
5307 PyObject
* _argo0
= 0;
5308 char *_kwnames
[] = { "self", NULL
};
5311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_TimeStamp",_kwnames
,&_argo0
))
5314 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5315 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
5316 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_TimeStamp. Expected _wxLog_p.");
5321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5322 _result
= new wxString (wxLog_TimeStamp(_arg0
));
5324 wxPyEndAllowThreads(__tstate
);
5325 if (PyErr_Occurred()) return NULL
;
5328 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
5330 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5339 static void *SwigwxLogStderrTowxLog(void *ptr
) {
5342 src
= (wxLogStderr
*) ptr
;
5343 dest
= (wxLog
*) src
;
5344 return (void *) dest
;
5347 #define new_wxLogStderr() (new wxLogStderr())
5348 static PyObject
*_wrap_new_wxLogStderr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5349 PyObject
* _resultobj
;
5350 wxLogStderr
* _result
;
5351 char *_kwnames
[] = { NULL
};
5355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLogStderr",_kwnames
))
5358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5359 _result
= (wxLogStderr
*)new_wxLogStderr();
5361 wxPyEndAllowThreads(__tstate
);
5362 if (PyErr_Occurred()) return NULL
;
5364 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogStderr_p");
5365 _resultobj
= Py_BuildValue("s",_ptemp
);
5368 _resultobj
= Py_None
;
5373 static void *SwigwxLogTextCtrlTowxLog(void *ptr
) {
5376 src
= (wxLogTextCtrl
*) ptr
;
5377 dest
= (wxLog
*) src
;
5378 return (void *) dest
;
5381 #define new_wxLogTextCtrl(_swigarg0) (new wxLogTextCtrl(_swigarg0))
5382 static PyObject
*_wrap_new_wxLogTextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5383 PyObject
* _resultobj
;
5384 wxLogTextCtrl
* _result
;
5386 PyObject
* _argo0
= 0;
5387 char *_kwnames
[] = { "pTextCtrl", NULL
};
5391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxLogTextCtrl",_kwnames
,&_argo0
))
5394 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5395 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
5396 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxLogTextCtrl. Expected _wxTextCtrl_p.");
5401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5402 _result
= (wxLogTextCtrl
*)new_wxLogTextCtrl(_arg0
);
5404 wxPyEndAllowThreads(__tstate
);
5405 if (PyErr_Occurred()) return NULL
;
5407 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogTextCtrl_p");
5408 _resultobj
= Py_BuildValue("s",_ptemp
);
5411 _resultobj
= Py_None
;
5416 static void *SwigwxLogGuiTowxLog(void *ptr
) {
5419 src
= (wxLogGui
*) ptr
;
5420 dest
= (wxLog
*) src
;
5421 return (void *) dest
;
5424 #define new_wxLogGui() (new wxLogGui())
5425 static PyObject
*_wrap_new_wxLogGui(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5426 PyObject
* _resultobj
;
5428 char *_kwnames
[] = { NULL
};
5432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLogGui",_kwnames
))
5435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5436 _result
= (wxLogGui
*)new_wxLogGui();
5438 wxPyEndAllowThreads(__tstate
);
5439 if (PyErr_Occurred()) return NULL
;
5441 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogGui_p");
5442 _resultobj
= Py_BuildValue("s",_ptemp
);
5445 _resultobj
= Py_None
;
5450 static void *SwigwxLogWindowTowxLog(void *ptr
) {
5453 src
= (wxLogWindow
*) ptr
;
5454 dest
= (wxLog
*) src
;
5455 return (void *) dest
;
5458 #define new_wxLogWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxLogWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5459 static PyObject
*_wrap_new_wxLogWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5460 PyObject
* _resultobj
;
5461 wxLogWindow
* _result
;
5464 bool _arg2
= (bool ) TRUE
;
5465 bool _arg3
= (bool ) TRUE
;
5466 PyObject
* _argo0
= 0;
5467 PyObject
* _obj1
= 0;
5468 int tempbool2
= (int) TRUE
;
5469 int tempbool3
= (int) TRUE
;
5470 char *_kwnames
[] = { "pParent","szTitle","bShow","bPassToOld", NULL
};
5474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|ii:new_wxLogWindow",_kwnames
,&_argo0
,&_obj1
,&tempbool2
,&tempbool3
))
5477 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5478 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
5479 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxLogWindow. Expected _wxFrame_p.");
5484 _arg1
= wxString_in_helper(_obj1
);
5488 _arg2
= (bool ) tempbool2
;
5489 _arg3
= (bool ) tempbool3
;
5491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5492 _result
= (wxLogWindow
*)new_wxLogWindow(_arg0
,*_arg1
,_arg2
,_arg3
);
5494 wxPyEndAllowThreads(__tstate
);
5495 if (PyErr_Occurred()) return NULL
;
5497 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogWindow_p");
5498 _resultobj
= Py_BuildValue("s",_ptemp
);
5501 _resultobj
= Py_None
;
5510 #define wxLogWindow_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
5511 static PyObject
*_wrap_wxLogWindow_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5512 PyObject
* _resultobj
;
5513 wxLogWindow
* _arg0
;
5514 bool _arg1
= (bool ) TRUE
;
5515 PyObject
* _argo0
= 0;
5516 int tempbool1
= (int) TRUE
;
5517 char *_kwnames
[] = { "self","bShow", NULL
};
5520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxLogWindow_Show",_kwnames
,&_argo0
,&tempbool1
))
5523 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5524 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
5525 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_Show. Expected _wxLogWindow_p.");
5529 _arg1
= (bool ) tempbool1
;
5531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5532 wxLogWindow_Show(_arg0
,_arg1
);
5534 wxPyEndAllowThreads(__tstate
);
5535 if (PyErr_Occurred()) return NULL
;
5536 } Py_INCREF(Py_None
);
5537 _resultobj
= Py_None
;
5541 #define wxLogWindow_GetFrame(_swigobj) (_swigobj->GetFrame())
5542 static PyObject
*_wrap_wxLogWindow_GetFrame(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_GetFrame",_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_GetFrame. Expected _wxLogWindow_p.");
5560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5561 _result
= (wxFrame
*)wxLogWindow_GetFrame(_arg0
);
5563 wxPyEndAllowThreads(__tstate
);
5564 if (PyErr_Occurred()) return NULL
;
5565 }{ _resultobj
= wxPyMake_wxObject(_result
); }
5569 #define wxLogWindow_GetOldLog(_swigobj) (_swigobj->GetOldLog())
5570 static PyObject
*_wrap_wxLogWindow_GetOldLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5571 PyObject
* _resultobj
;
5573 wxLogWindow
* _arg0
;
5574 PyObject
* _argo0
= 0;
5575 char *_kwnames
[] = { "self", NULL
};
5579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogWindow_GetOldLog",_kwnames
,&_argo0
))
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_GetOldLog. Expected _wxLogWindow_p.");
5589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5590 _result
= (wxLog
*)wxLogWindow_GetOldLog(_arg0
);
5592 wxPyEndAllowThreads(__tstate
);
5593 if (PyErr_Occurred()) return NULL
;
5595 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
5596 _resultobj
= Py_BuildValue("s",_ptemp
);
5599 _resultobj
= Py_None
;
5604 #define wxLogWindow_IsPassingMessages(_swigobj) (_swigobj->IsPassingMessages())
5605 static PyObject
*_wrap_wxLogWindow_IsPassingMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5606 PyObject
* _resultobj
;
5608 wxLogWindow
* _arg0
;
5609 PyObject
* _argo0
= 0;
5610 char *_kwnames
[] = { "self", NULL
};
5613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogWindow_IsPassingMessages",_kwnames
,&_argo0
))
5616 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5617 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
5618 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_IsPassingMessages. Expected _wxLogWindow_p.");
5623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5624 _result
= (bool )wxLogWindow_IsPassingMessages(_arg0
);
5626 wxPyEndAllowThreads(__tstate
);
5627 if (PyErr_Occurred()) return NULL
;
5628 } _resultobj
= Py_BuildValue("i",_result
);
5632 #define wxLogWindow_PassMessages(_swigobj,_swigarg0) (_swigobj->PassMessages(_swigarg0))
5633 static PyObject
*_wrap_wxLogWindow_PassMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5634 PyObject
* _resultobj
;
5635 wxLogWindow
* _arg0
;
5637 PyObject
* _argo0
= 0;
5639 char *_kwnames
[] = { "self","bDoPass", NULL
};
5642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxLogWindow_PassMessages",_kwnames
,&_argo0
,&tempbool1
))
5645 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5646 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
5647 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_PassMessages. Expected _wxLogWindow_p.");
5651 _arg1
= (bool ) tempbool1
;
5653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5654 wxLogWindow_PassMessages(_arg0
,_arg1
);
5656 wxPyEndAllowThreads(__tstate
);
5657 if (PyErr_Occurred()) return NULL
;
5658 } Py_INCREF(Py_None
);
5659 _resultobj
= Py_None
;
5663 static void *SwigwxLogChainTowxLog(void *ptr
) {
5666 src
= (wxLogChain
*) ptr
;
5667 dest
= (wxLog
*) src
;
5668 return (void *) dest
;
5671 #define new_wxLogChain(_swigarg0) (new wxLogChain(_swigarg0))
5672 static PyObject
*_wrap_new_wxLogChain(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5673 PyObject
* _resultobj
;
5674 wxLogChain
* _result
;
5676 PyObject
* _argo0
= 0;
5677 char *_kwnames
[] = { "logger", NULL
};
5681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxLogChain",_kwnames
,&_argo0
))
5684 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5685 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
5686 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxLogChain. Expected _wxLog_p.");
5691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5692 _result
= (wxLogChain
*)new_wxLogChain(_arg0
);
5694 wxPyEndAllowThreads(__tstate
);
5695 if (PyErr_Occurred()) return NULL
;
5697 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogChain_p");
5698 _resultobj
= Py_BuildValue("s",_ptemp
);
5701 _resultobj
= Py_None
;
5706 #define wxLogChain_SetLog(_swigobj,_swigarg0) (_swigobj->SetLog(_swigarg0))
5707 static PyObject
*_wrap_wxLogChain_SetLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5708 PyObject
* _resultobj
;
5711 PyObject
* _argo0
= 0;
5712 PyObject
* _argo1
= 0;
5713 char *_kwnames
[] = { "self","logger", NULL
};
5716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxLogChain_SetLog",_kwnames
,&_argo0
,&_argo1
))
5719 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5720 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogChain_p")) {
5721 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogChain_SetLog. Expected _wxLogChain_p.");
5726 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5727 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxLog_p")) {
5728 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxLogChain_SetLog. Expected _wxLog_p.");
5733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5734 wxLogChain_SetLog(_arg0
,_arg1
);
5736 wxPyEndAllowThreads(__tstate
);
5737 if (PyErr_Occurred()) return NULL
;
5738 } Py_INCREF(Py_None
);
5739 _resultobj
= Py_None
;
5743 #define wxLogChain_PassMessages(_swigobj,_swigarg0) (_swigobj->PassMessages(_swigarg0))
5744 static PyObject
*_wrap_wxLogChain_PassMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5745 PyObject
* _resultobj
;
5748 PyObject
* _argo0
= 0;
5750 char *_kwnames
[] = { "self","bDoPass", NULL
};
5753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxLogChain_PassMessages",_kwnames
,&_argo0
,&tempbool1
))
5756 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5757 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogChain_p")) {
5758 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogChain_PassMessages. Expected _wxLogChain_p.");
5762 _arg1
= (bool ) tempbool1
;
5764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5765 wxLogChain_PassMessages(_arg0
,_arg1
);
5767 wxPyEndAllowThreads(__tstate
);
5768 if (PyErr_Occurred()) return NULL
;
5769 } Py_INCREF(Py_None
);
5770 _resultobj
= Py_None
;
5774 #define wxLogChain_IsPassingMessages(_swigobj) (_swigobj->IsPassingMessages())
5775 static PyObject
*_wrap_wxLogChain_IsPassingMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5776 PyObject
* _resultobj
;
5779 PyObject
* _argo0
= 0;
5780 char *_kwnames
[] = { "self", NULL
};
5783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogChain_IsPassingMessages",_kwnames
,&_argo0
))
5786 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5787 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogChain_p")) {
5788 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogChain_IsPassingMessages. Expected _wxLogChain_p.");
5793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5794 _result
= (bool )wxLogChain_IsPassingMessages(_arg0
);
5796 wxPyEndAllowThreads(__tstate
);
5797 if (PyErr_Occurred()) return NULL
;
5798 } _resultobj
= Py_BuildValue("i",_result
);
5802 #define wxLogChain_GetOldLog(_swigobj) (_swigobj->GetOldLog())
5803 static PyObject
*_wrap_wxLogChain_GetOldLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5804 PyObject
* _resultobj
;
5807 PyObject
* _argo0
= 0;
5808 char *_kwnames
[] = { "self", NULL
};
5812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogChain_GetOldLog",_kwnames
,&_argo0
))
5815 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5816 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogChain_p")) {
5817 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogChain_GetOldLog. Expected _wxLogChain_p.");
5822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5823 _result
= (wxLog
*)wxLogChain_GetOldLog(_arg0
);
5825 wxPyEndAllowThreads(__tstate
);
5826 if (PyErr_Occurred()) return NULL
;
5828 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
5829 _resultobj
= Py_BuildValue("s",_ptemp
);
5832 _resultobj
= Py_None
;
5837 #define new_wxLogNull() (new wxLogNull())
5838 static PyObject
*_wrap_new_wxLogNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5839 PyObject
* _resultobj
;
5840 wxLogNull
* _result
;
5841 char *_kwnames
[] = { NULL
};
5845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLogNull",_kwnames
))
5848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5849 _result
= (wxLogNull
*)new_wxLogNull();
5851 wxPyEndAllowThreads(__tstate
);
5852 if (PyErr_Occurred()) return NULL
;
5854 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogNull_p");
5855 _resultobj
= Py_BuildValue("s",_ptemp
);
5858 _resultobj
= Py_None
;
5863 #define delete_wxLogNull(_swigobj) (delete _swigobj)
5864 static PyObject
*_wrap_delete_wxLogNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5865 PyObject
* _resultobj
;
5867 PyObject
* _argo0
= 0;
5868 char *_kwnames
[] = { "self", NULL
};
5871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxLogNull",_kwnames
,&_argo0
))
5874 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5875 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogNull_p")) {
5876 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxLogNull. Expected _wxLogNull_p.");
5881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5882 delete_wxLogNull(_arg0
);
5884 wxPyEndAllowThreads(__tstate
);
5885 if (PyErr_Occurred()) return NULL
;
5886 } Py_INCREF(Py_None
);
5887 _resultobj
= Py_None
;
5891 static void *SwigwxPyLogTowxLog(void *ptr
) {
5894 src
= (wxPyLog
*) ptr
;
5895 dest
= (wxLog
*) src
;
5896 return (void *) dest
;
5899 #define new_wxPyLog() (new wxPyLog())
5900 static PyObject
*_wrap_new_wxPyLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5901 PyObject
* _resultobj
;
5903 char *_kwnames
[] = { NULL
};
5907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPyLog",_kwnames
))
5910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5911 _result
= (wxPyLog
*)new_wxPyLog();
5913 wxPyEndAllowThreads(__tstate
);
5914 if (PyErr_Occurred()) return NULL
;
5916 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyLog_p");
5917 _resultobj
= Py_BuildValue("s",_ptemp
);
5920 _resultobj
= Py_None
;
5925 #define wxPyLog__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
5926 static PyObject
*_wrap_wxPyLog__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5927 PyObject
* _resultobj
;
5931 PyObject
* _argo0
= 0;
5932 PyObject
* _obj1
= 0;
5933 PyObject
* _obj2
= 0;
5934 char *_kwnames
[] = { "self","self","_class", NULL
};
5937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyLog__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
5940 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5941 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLog_p")) {
5942 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLog__setCallbackInfo. Expected _wxPyLog_p.");
5953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5954 wxPyLog__setCallbackInfo(_arg0
,_arg1
,_arg2
);
5956 wxPyEndAllowThreads(__tstate
);
5957 if (PyErr_Occurred()) return NULL
;
5958 } Py_INCREF(Py_None
);
5959 _resultobj
= Py_None
;
5963 static void wxPyLog_Destroy(wxPyLog
*self
) { delete self
; }
5964 static PyObject
*_wrap_wxPyLog_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5965 PyObject
* _resultobj
;
5967 PyObject
* _argo0
= 0;
5968 char *_kwnames
[] = { "self", NULL
};
5971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyLog_Destroy",_kwnames
,&_argo0
))
5974 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5975 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLog_p")) {
5976 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLog_Destroy. Expected _wxPyLog_p.");
5981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5982 wxPyLog_Destroy(_arg0
);
5984 wxPyEndAllowThreads(__tstate
);
5985 if (PyErr_Occurred()) return NULL
;
5986 } Py_INCREF(Py_None
);
5987 _resultobj
= Py_None
;
5991 static void *SwigwxProcessEventTowxEvent(void *ptr
) {
5992 wxProcessEvent
*src
;
5994 src
= (wxProcessEvent
*) ptr
;
5995 dest
= (wxEvent
*) src
;
5996 return (void *) dest
;
5999 static void *SwigwxProcessEventTowxObject(void *ptr
) {
6000 wxProcessEvent
*src
;
6002 src
= (wxProcessEvent
*) ptr
;
6003 dest
= (wxObject
*) src
;
6004 return (void *) dest
;
6007 #define new_wxProcessEvent(_swigarg0,_swigarg1,_swigarg2) (new wxProcessEvent(_swigarg0,_swigarg1,_swigarg2))
6008 static PyObject
*_wrap_new_wxProcessEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6009 PyObject
* _resultobj
;
6010 wxProcessEvent
* _result
;
6011 int _arg0
= (int ) 0;
6012 int _arg1
= (int ) 0;
6013 int _arg2
= (int ) 0;
6014 char *_kwnames
[] = { "id","pid","exitcode", NULL
};
6018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iii:new_wxProcessEvent",_kwnames
,&_arg0
,&_arg1
,&_arg2
))
6021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6022 _result
= (wxProcessEvent
*)new_wxProcessEvent(_arg0
,_arg1
,_arg2
);
6024 wxPyEndAllowThreads(__tstate
);
6025 if (PyErr_Occurred()) return NULL
;
6027 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxProcessEvent_p");
6028 _resultobj
= Py_BuildValue("s",_ptemp
);
6031 _resultobj
= Py_None
;
6036 #define wxProcessEvent_GetPid(_swigobj) (_swigobj->GetPid())
6037 static PyObject
*_wrap_wxProcessEvent_GetPid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6038 PyObject
* _resultobj
;
6040 wxProcessEvent
* _arg0
;
6041 PyObject
* _argo0
= 0;
6042 char *_kwnames
[] = { "self", NULL
};
6045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcessEvent_GetPid",_kwnames
,&_argo0
))
6048 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6049 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
6050 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_GetPid. Expected _wxProcessEvent_p.");
6055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6056 _result
= (int )wxProcessEvent_GetPid(_arg0
);
6058 wxPyEndAllowThreads(__tstate
);
6059 if (PyErr_Occurred()) return NULL
;
6060 } _resultobj
= Py_BuildValue("i",_result
);
6064 #define wxProcessEvent_GetExitCode(_swigobj) (_swigobj->GetExitCode())
6065 static PyObject
*_wrap_wxProcessEvent_GetExitCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6066 PyObject
* _resultobj
;
6068 wxProcessEvent
* _arg0
;
6069 PyObject
* _argo0
= 0;
6070 char *_kwnames
[] = { "self", NULL
};
6073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcessEvent_GetExitCode",_kwnames
,&_argo0
))
6076 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6077 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
6078 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_GetExitCode. Expected _wxProcessEvent_p.");
6083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6084 _result
= (int )wxProcessEvent_GetExitCode(_arg0
);
6086 wxPyEndAllowThreads(__tstate
);
6087 if (PyErr_Occurred()) return NULL
;
6088 } _resultobj
= Py_BuildValue("i",_result
);
6092 #define wxProcessEvent_m_pid_set(_swigobj,_swigval) (_swigobj->m_pid = _swigval,_swigval)
6093 static PyObject
*_wrap_wxProcessEvent_m_pid_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6094 PyObject
* _resultobj
;
6096 wxProcessEvent
* _arg0
;
6098 PyObject
* _argo0
= 0;
6099 char *_kwnames
[] = { "self","m_pid", NULL
};
6102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxProcessEvent_m_pid_set",_kwnames
,&_argo0
,&_arg1
))
6105 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6106 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
6107 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_m_pid_set. Expected _wxProcessEvent_p.");
6112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6113 _result
= (int )wxProcessEvent_m_pid_set(_arg0
,_arg1
);
6115 wxPyEndAllowThreads(__tstate
);
6116 if (PyErr_Occurred()) return NULL
;
6117 } _resultobj
= Py_BuildValue("i",_result
);
6121 #define wxProcessEvent_m_pid_get(_swigobj) ((int ) _swigobj->m_pid)
6122 static PyObject
*_wrap_wxProcessEvent_m_pid_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6123 PyObject
* _resultobj
;
6125 wxProcessEvent
* _arg0
;
6126 PyObject
* _argo0
= 0;
6127 char *_kwnames
[] = { "self", NULL
};
6130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcessEvent_m_pid_get",_kwnames
,&_argo0
))
6133 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6134 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
6135 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_m_pid_get. Expected _wxProcessEvent_p.");
6140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6141 _result
= (int )wxProcessEvent_m_pid_get(_arg0
);
6143 wxPyEndAllowThreads(__tstate
);
6144 if (PyErr_Occurred()) return NULL
;
6145 } _resultobj
= Py_BuildValue("i",_result
);
6149 #define wxProcessEvent_m_exitcode_set(_swigobj,_swigval) (_swigobj->m_exitcode = _swigval,_swigval)
6150 static PyObject
*_wrap_wxProcessEvent_m_exitcode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6151 PyObject
* _resultobj
;
6153 wxProcessEvent
* _arg0
;
6155 PyObject
* _argo0
= 0;
6156 char *_kwnames
[] = { "self","m_exitcode", NULL
};
6159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxProcessEvent_m_exitcode_set",_kwnames
,&_argo0
,&_arg1
))
6162 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6163 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
6164 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_m_exitcode_set. Expected _wxProcessEvent_p.");
6169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6170 _result
= (int )wxProcessEvent_m_exitcode_set(_arg0
,_arg1
);
6172 wxPyEndAllowThreads(__tstate
);
6173 if (PyErr_Occurred()) return NULL
;
6174 } _resultobj
= Py_BuildValue("i",_result
);
6178 #define wxProcessEvent_m_exitcode_get(_swigobj) ((int ) _swigobj->m_exitcode)
6179 static PyObject
*_wrap_wxProcessEvent_m_exitcode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6180 PyObject
* _resultobj
;
6182 wxProcessEvent
* _arg0
;
6183 PyObject
* _argo0
= 0;
6184 char *_kwnames
[] = { "self", NULL
};
6187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcessEvent_m_exitcode_get",_kwnames
,&_argo0
))
6190 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6191 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
6192 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_m_exitcode_get. Expected _wxProcessEvent_p.");
6197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6198 _result
= (int )wxProcessEvent_m_exitcode_get(_arg0
);
6200 wxPyEndAllowThreads(__tstate
);
6201 if (PyErr_Occurred()) return NULL
;
6202 } _resultobj
= Py_BuildValue("i",_result
);
6206 static void *SwigwxPyProcessTowxEvtHandler(void *ptr
) {
6209 src
= (wxPyProcess
*) ptr
;
6210 dest
= (wxEvtHandler
*) src
;
6211 return (void *) dest
;
6214 static void *SwigwxPyProcessTowxObject(void *ptr
) {
6217 src
= (wxPyProcess
*) ptr
;
6218 dest
= (wxObject
*) src
;
6219 return (void *) dest
;
6222 static PyObject
*_wrap_wxProcess_Kill(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6223 PyObject
* _resultobj
;
6224 wxKillError _result
;
6226 wxSignal _arg1
= (wxSignal
) (wxSIGTERM
);
6227 char *_kwnames
[] = { "pid","sig", NULL
};
6230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i|i:wxProcess_Kill",_kwnames
,&_arg0
,&_arg1
))
6233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6234 _result
= (wxKillError
)wxPyProcess::Kill(_arg0
,_arg1
);
6236 wxPyEndAllowThreads(__tstate
);
6237 if (PyErr_Occurred()) return NULL
;
6238 } _resultobj
= Py_BuildValue("i",_result
);
6242 static PyObject
*_wrap_wxProcess_Exists(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6243 PyObject
* _resultobj
;
6246 char *_kwnames
[] = { "pid", NULL
};
6249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxProcess_Exists",_kwnames
,&_arg0
))
6252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6253 _result
= (bool )wxPyProcess::Exists(_arg0
);
6255 wxPyEndAllowThreads(__tstate
);
6256 if (PyErr_Occurred()) return NULL
;
6257 } _resultobj
= Py_BuildValue("i",_result
);
6261 static PyObject
*_wrap_wxProcess_Open(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6262 PyObject
* _resultobj
;
6263 wxPyProcess
* _result
;
6265 int _arg1
= (int ) wxEXEC_ASYNC
;
6266 PyObject
* _obj0
= 0;
6267 char *_kwnames
[] = { "cmd","flags", NULL
};
6271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxProcess_Open",_kwnames
,&_obj0
,&_arg1
))
6274 _arg0
= wxString_in_helper(_obj0
);
6279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6280 _result
= (wxPyProcess
*)wxPyProcess::Open(*_arg0
,_arg1
);
6282 wxPyEndAllowThreads(__tstate
);
6283 if (PyErr_Occurred()) return NULL
;
6285 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyProcess_p");
6286 _resultobj
= Py_BuildValue("s",_ptemp
);
6289 _resultobj
= Py_None
;
6298 #define new_wxProcess(_swigarg0,_swigarg1) (new wxPyProcess(_swigarg0,_swigarg1))
6299 static PyObject
*_wrap_new_wxProcess(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6300 PyObject
* _resultobj
;
6301 wxPyProcess
* _result
;
6302 wxEvtHandler
* _arg0
= (wxEvtHandler
*) NULL
;
6303 int _arg1
= (int ) -1;
6304 PyObject
* _argo0
= 0;
6305 char *_kwnames
[] = { "parent","id", NULL
};
6309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|Oi:new_wxProcess",_kwnames
,&_argo0
,&_arg1
))
6312 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6313 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
6314 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxProcess. Expected _wxEvtHandler_p.");
6319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6320 _result
= (wxPyProcess
*)new_wxProcess(_arg0
,_arg1
);
6322 wxPyEndAllowThreads(__tstate
);
6323 if (PyErr_Occurred()) return NULL
;
6325 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyProcess_p");
6326 _resultobj
= Py_BuildValue("s",_ptemp
);
6329 _resultobj
= Py_None
;
6334 static void wxPyProcess_Destroy(wxPyProcess
*self
) { delete self
; }
6335 static PyObject
*_wrap_wxProcess_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6336 PyObject
* _resultobj
;
6337 wxPyProcess
* _arg0
;
6338 PyObject
* _argo0
= 0;
6339 char *_kwnames
[] = { "self", NULL
};
6342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_Destroy",_kwnames
,&_argo0
))
6345 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6346 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6347 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_Destroy. Expected _wxPyProcess_p.");
6352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6353 wxPyProcess_Destroy(_arg0
);
6355 wxPyEndAllowThreads(__tstate
);
6356 if (PyErr_Occurred()) return NULL
;
6357 } Py_INCREF(Py_None
);
6358 _resultobj
= Py_None
;
6362 #define wxProcess__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
6363 static PyObject
*_wrap_wxProcess__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6364 PyObject
* _resultobj
;
6365 wxPyProcess
* _arg0
;
6368 PyObject
* _argo0
= 0;
6369 PyObject
* _obj1
= 0;
6370 PyObject
* _obj2
= 0;
6371 char *_kwnames
[] = { "self","self","_class", NULL
};
6374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxProcess__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
6377 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6378 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6379 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess__setCallbackInfo. Expected _wxPyProcess_p.");
6390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6391 wxProcess__setCallbackInfo(_arg0
,_arg1
,_arg2
);
6393 wxPyEndAllowThreads(__tstate
);
6394 if (PyErr_Occurred()) return NULL
;
6395 } Py_INCREF(Py_None
);
6396 _resultobj
= Py_None
;
6400 #define wxProcess_base_OnTerminate(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnTerminate(_swigarg0,_swigarg1))
6401 static PyObject
*_wrap_wxProcess_base_OnTerminate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6402 PyObject
* _resultobj
;
6403 wxPyProcess
* _arg0
;
6406 PyObject
* _argo0
= 0;
6407 char *_kwnames
[] = { "self","pid","status", NULL
};
6410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxProcess_base_OnTerminate",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6413 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6414 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6415 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_base_OnTerminate. Expected _wxPyProcess_p.");
6420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6421 wxProcess_base_OnTerminate(_arg0
,_arg1
,_arg2
);
6423 wxPyEndAllowThreads(__tstate
);
6424 if (PyErr_Occurred()) return NULL
;
6425 } Py_INCREF(Py_None
);
6426 _resultobj
= Py_None
;
6430 #define wxProcess_Redirect(_swigobj) (_swigobj->Redirect())
6431 static PyObject
*_wrap_wxProcess_Redirect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6432 PyObject
* _resultobj
;
6433 wxPyProcess
* _arg0
;
6434 PyObject
* _argo0
= 0;
6435 char *_kwnames
[] = { "self", NULL
};
6438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_Redirect",_kwnames
,&_argo0
))
6441 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6442 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6443 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_Redirect. Expected _wxPyProcess_p.");
6448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6449 wxProcess_Redirect(_arg0
);
6451 wxPyEndAllowThreads(__tstate
);
6452 if (PyErr_Occurred()) return NULL
;
6453 } Py_INCREF(Py_None
);
6454 _resultobj
= Py_None
;
6458 #define wxProcess_IsRedirected(_swigobj) (_swigobj->IsRedirected())
6459 static PyObject
*_wrap_wxProcess_IsRedirected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6460 PyObject
* _resultobj
;
6462 wxPyProcess
* _arg0
;
6463 PyObject
* _argo0
= 0;
6464 char *_kwnames
[] = { "self", NULL
};
6467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_IsRedirected",_kwnames
,&_argo0
))
6470 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6471 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6472 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_IsRedirected. Expected _wxPyProcess_p.");
6477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6478 _result
= (bool )wxProcess_IsRedirected(_arg0
);
6480 wxPyEndAllowThreads(__tstate
);
6481 if (PyErr_Occurred()) return NULL
;
6482 } _resultobj
= Py_BuildValue("i",_result
);
6486 #define wxProcess_Detach(_swigobj) (_swigobj->Detach())
6487 static PyObject
*_wrap_wxProcess_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6488 PyObject
* _resultobj
;
6489 wxPyProcess
* _arg0
;
6490 PyObject
* _argo0
= 0;
6491 char *_kwnames
[] = { "self", NULL
};
6494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_Detach",_kwnames
,&_argo0
))
6497 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6498 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6499 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_Detach. Expected _wxPyProcess_p.");
6504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6505 wxProcess_Detach(_arg0
);
6507 wxPyEndAllowThreads(__tstate
);
6508 if (PyErr_Occurred()) return NULL
;
6509 } Py_INCREF(Py_None
);
6510 _resultobj
= Py_None
;
6514 #define wxProcess_GetInputStream(_swigobj) (_swigobj->GetInputStream())
6515 static PyObject
*_wrap_wxProcess_GetInputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6516 PyObject
* _resultobj
;
6517 wxInputStream
* _result
;
6518 wxPyProcess
* _arg0
;
6519 PyObject
* _argo0
= 0;
6520 char *_kwnames
[] = { "self", NULL
};
6523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_GetInputStream",_kwnames
,&_argo0
))
6526 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6527 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6528 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_GetInputStream. Expected _wxPyProcess_p.");
6533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6534 _result
= (wxInputStream
*)wxProcess_GetInputStream(_arg0
);
6536 wxPyEndAllowThreads(__tstate
);
6537 if (PyErr_Occurred()) return NULL
;
6539 wxPyInputStream
* _ptr
= NULL
;
6542 _ptr
= new wxPyInputStream(_result
);
6544 _resultobj
= wxPyConstructObject(_ptr
, "wxInputStream", TRUE
);
6549 #define wxProcess_GetErrorStream(_swigobj) (_swigobj->GetErrorStream())
6550 static PyObject
*_wrap_wxProcess_GetErrorStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6551 PyObject
* _resultobj
;
6552 wxInputStream
* _result
;
6553 wxPyProcess
* _arg0
;
6554 PyObject
* _argo0
= 0;
6555 char *_kwnames
[] = { "self", NULL
};
6558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_GetErrorStream",_kwnames
,&_argo0
))
6561 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6562 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6563 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_GetErrorStream. Expected _wxPyProcess_p.");
6568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6569 _result
= (wxInputStream
*)wxProcess_GetErrorStream(_arg0
);
6571 wxPyEndAllowThreads(__tstate
);
6572 if (PyErr_Occurred()) return NULL
;
6574 wxPyInputStream
* _ptr
= NULL
;
6577 _ptr
= new wxPyInputStream(_result
);
6579 _resultobj
= wxPyConstructObject(_ptr
, "wxInputStream", TRUE
);
6584 #define wxProcess_GetOutputStream(_swigobj) (_swigobj->GetOutputStream())
6585 static PyObject
*_wrap_wxProcess_GetOutputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6586 PyObject
* _resultobj
;
6587 wxOutputStream
* _result
;
6588 wxPyProcess
* _arg0
;
6589 PyObject
* _argo0
= 0;
6590 char *_kwnames
[] = { "self", NULL
};
6594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_GetOutputStream",_kwnames
,&_argo0
))
6597 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6598 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6599 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_GetOutputStream. Expected _wxPyProcess_p.");
6604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6605 _result
= (wxOutputStream
*)wxProcess_GetOutputStream(_arg0
);
6607 wxPyEndAllowThreads(__tstate
);
6608 if (PyErr_Occurred()) return NULL
;
6610 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxOutputStream_p");
6611 _resultobj
= Py_BuildValue("s",_ptemp
);
6614 _resultobj
= Py_None
;
6619 #define wxProcess_CloseOutput(_swigobj) (_swigobj->CloseOutput())
6620 static PyObject
*_wrap_wxProcess_CloseOutput(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6621 PyObject
* _resultobj
;
6622 wxPyProcess
* _arg0
;
6623 PyObject
* _argo0
= 0;
6624 char *_kwnames
[] = { "self", NULL
};
6627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_CloseOutput",_kwnames
,&_argo0
))
6630 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6631 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6632 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_CloseOutput. Expected _wxPyProcess_p.");
6637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6638 wxProcess_CloseOutput(_arg0
);
6640 wxPyEndAllowThreads(__tstate
);
6641 if (PyErr_Occurred()) return NULL
;
6642 } Py_INCREF(Py_None
);
6643 _resultobj
= Py_None
;
6647 #define wxProcess_IsInputOpened(_swigobj) (_swigobj->IsInputOpened())
6648 static PyObject
*_wrap_wxProcess_IsInputOpened(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6649 PyObject
* _resultobj
;
6651 wxPyProcess
* _arg0
;
6652 PyObject
* _argo0
= 0;
6653 char *_kwnames
[] = { "self", NULL
};
6656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_IsInputOpened",_kwnames
,&_argo0
))
6659 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6660 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6661 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_IsInputOpened. Expected _wxPyProcess_p.");
6666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6667 _result
= (bool )wxProcess_IsInputOpened(_arg0
);
6669 wxPyEndAllowThreads(__tstate
);
6670 if (PyErr_Occurred()) return NULL
;
6671 } _resultobj
= Py_BuildValue("i",_result
);
6675 #define wxProcess_IsInputAvailable(_swigobj) (_swigobj->IsInputAvailable())
6676 static PyObject
*_wrap_wxProcess_IsInputAvailable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6677 PyObject
* _resultobj
;
6679 wxPyProcess
* _arg0
;
6680 PyObject
* _argo0
= 0;
6681 char *_kwnames
[] = { "self", NULL
};
6684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_IsInputAvailable",_kwnames
,&_argo0
))
6687 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6688 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6689 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_IsInputAvailable. Expected _wxPyProcess_p.");
6694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6695 _result
= (bool )wxProcess_IsInputAvailable(_arg0
);
6697 wxPyEndAllowThreads(__tstate
);
6698 if (PyErr_Occurred()) return NULL
;
6699 } _resultobj
= Py_BuildValue("i",_result
);
6703 #define wxProcess_IsErrorAvailable(_swigobj) (_swigobj->IsErrorAvailable())
6704 static PyObject
*_wrap_wxProcess_IsErrorAvailable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6705 PyObject
* _resultobj
;
6707 wxPyProcess
* _arg0
;
6708 PyObject
* _argo0
= 0;
6709 char *_kwnames
[] = { "self", NULL
};
6712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_IsErrorAvailable",_kwnames
,&_argo0
))
6715 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6716 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6717 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_IsErrorAvailable. Expected _wxPyProcess_p.");
6722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6723 _result
= (bool )wxProcess_IsErrorAvailable(_arg0
);
6725 wxPyEndAllowThreads(__tstate
);
6726 if (PyErr_Occurred()) return NULL
;
6727 } _resultobj
= Py_BuildValue("i",_result
);
6731 static void *SwigwxJoystickTowxObject(void *ptr
) {
6734 src
= (wxJoystick
*) ptr
;
6735 dest
= (wxObject
*) src
;
6736 return (void *) dest
;
6739 #define new_wxJoystick(_swigarg0) (new wxJoystick(_swigarg0))
6740 static PyObject
*_wrap_new_wxJoystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6741 PyObject
* _resultobj
;
6742 wxJoystick
* _result
;
6743 int _arg0
= (int ) (wxJOYSTICK1
);
6744 char *_kwnames
[] = { "joystick", NULL
};
6748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxJoystick",_kwnames
,&_arg0
))
6751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6752 _result
= (wxJoystick
*)new_wxJoystick(_arg0
);
6754 wxPyEndAllowThreads(__tstate
);
6755 if (PyErr_Occurred()) return NULL
;
6757 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxJoystick_p");
6758 _resultobj
= Py_BuildValue("s",_ptemp
);
6761 _resultobj
= Py_None
;
6766 #define delete_wxJoystick(_swigobj) (delete _swigobj)
6767 static PyObject
*_wrap_delete_wxJoystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6768 PyObject
* _resultobj
;
6770 PyObject
* _argo0
= 0;
6771 char *_kwnames
[] = { "self", NULL
};
6774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxJoystick",_kwnames
,&_argo0
))
6777 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6778 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6779 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxJoystick. Expected _wxJoystick_p.");
6784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6785 delete_wxJoystick(_arg0
);
6787 wxPyEndAllowThreads(__tstate
);
6788 if (PyErr_Occurred()) return NULL
;
6789 } Py_INCREF(Py_None
);
6790 _resultobj
= Py_None
;
6794 #define wxJoystick_GetPosition(_swigobj) (_swigobj->GetPosition())
6795 static PyObject
*_wrap_wxJoystick_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6796 PyObject
* _resultobj
;
6799 PyObject
* _argo0
= 0;
6800 char *_kwnames
[] = { "self", NULL
};
6804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPosition",_kwnames
,&_argo0
))
6807 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6808 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6809 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPosition. Expected _wxJoystick_p.");
6814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6815 _result
= new wxPoint (wxJoystick_GetPosition(_arg0
));
6817 wxPyEndAllowThreads(__tstate
);
6818 if (PyErr_Occurred()) return NULL
;
6819 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
6820 _resultobj
= Py_BuildValue("s",_ptemp
);
6824 #define wxJoystick_GetZPosition(_swigobj) (_swigobj->GetZPosition())
6825 static PyObject
*_wrap_wxJoystick_GetZPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6826 PyObject
* _resultobj
;
6829 PyObject
* _argo0
= 0;
6830 char *_kwnames
[] = { "self", NULL
};
6833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetZPosition",_kwnames
,&_argo0
))
6836 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6837 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6838 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetZPosition. Expected _wxJoystick_p.");
6843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6844 _result
= (int )wxJoystick_GetZPosition(_arg0
);
6846 wxPyEndAllowThreads(__tstate
);
6847 if (PyErr_Occurred()) return NULL
;
6848 } _resultobj
= Py_BuildValue("i",_result
);
6852 #define wxJoystick_GetButtonState(_swigobj) (_swigobj->GetButtonState())
6853 static PyObject
*_wrap_wxJoystick_GetButtonState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6854 PyObject
* _resultobj
;
6857 PyObject
* _argo0
= 0;
6858 char *_kwnames
[] = { "self", NULL
};
6861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetButtonState",_kwnames
,&_argo0
))
6864 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6865 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6866 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetButtonState. Expected _wxJoystick_p.");
6871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6872 _result
= (int )wxJoystick_GetButtonState(_arg0
);
6874 wxPyEndAllowThreads(__tstate
);
6875 if (PyErr_Occurred()) return NULL
;
6876 } _resultobj
= Py_BuildValue("i",_result
);
6880 #define wxJoystick_GetPOVPosition(_swigobj) (_swigobj->GetPOVPosition())
6881 static PyObject
*_wrap_wxJoystick_GetPOVPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6882 PyObject
* _resultobj
;
6885 PyObject
* _argo0
= 0;
6886 char *_kwnames
[] = { "self", NULL
};
6889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPOVPosition",_kwnames
,&_argo0
))
6892 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6893 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6894 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPOVPosition. Expected _wxJoystick_p.");
6899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6900 _result
= (int )wxJoystick_GetPOVPosition(_arg0
);
6902 wxPyEndAllowThreads(__tstate
);
6903 if (PyErr_Occurred()) return NULL
;
6904 } _resultobj
= Py_BuildValue("i",_result
);
6908 #define wxJoystick_GetPOVCTSPosition(_swigobj) (_swigobj->GetPOVCTSPosition())
6909 static PyObject
*_wrap_wxJoystick_GetPOVCTSPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6910 PyObject
* _resultobj
;
6913 PyObject
* _argo0
= 0;
6914 char *_kwnames
[] = { "self", NULL
};
6917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPOVCTSPosition",_kwnames
,&_argo0
))
6920 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6921 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6922 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPOVCTSPosition. Expected _wxJoystick_p.");
6927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6928 _result
= (int )wxJoystick_GetPOVCTSPosition(_arg0
);
6930 wxPyEndAllowThreads(__tstate
);
6931 if (PyErr_Occurred()) return NULL
;
6932 } _resultobj
= Py_BuildValue("i",_result
);
6936 #define wxJoystick_GetRudderPosition(_swigobj) (_swigobj->GetRudderPosition())
6937 static PyObject
*_wrap_wxJoystick_GetRudderPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6938 PyObject
* _resultobj
;
6941 PyObject
* _argo0
= 0;
6942 char *_kwnames
[] = { "self", NULL
};
6945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetRudderPosition",_kwnames
,&_argo0
))
6948 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6949 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6950 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetRudderPosition. Expected _wxJoystick_p.");
6955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6956 _result
= (int )wxJoystick_GetRudderPosition(_arg0
);
6958 wxPyEndAllowThreads(__tstate
);
6959 if (PyErr_Occurred()) return NULL
;
6960 } _resultobj
= Py_BuildValue("i",_result
);
6964 #define wxJoystick_GetUPosition(_swigobj) (_swigobj->GetUPosition())
6965 static PyObject
*_wrap_wxJoystick_GetUPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6966 PyObject
* _resultobj
;
6969 PyObject
* _argo0
= 0;
6970 char *_kwnames
[] = { "self", NULL
};
6973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetUPosition",_kwnames
,&_argo0
))
6976 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6977 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6978 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetUPosition. Expected _wxJoystick_p.");
6983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6984 _result
= (int )wxJoystick_GetUPosition(_arg0
);
6986 wxPyEndAllowThreads(__tstate
);
6987 if (PyErr_Occurred()) return NULL
;
6988 } _resultobj
= Py_BuildValue("i",_result
);
6992 #define wxJoystick_GetVPosition(_swigobj) (_swigobj->GetVPosition())
6993 static PyObject
*_wrap_wxJoystick_GetVPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6994 PyObject
* _resultobj
;
6997 PyObject
* _argo0
= 0;
6998 char *_kwnames
[] = { "self", NULL
};
7001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetVPosition",_kwnames
,&_argo0
))
7004 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7005 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7006 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetVPosition. Expected _wxJoystick_p.");
7011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7012 _result
= (int )wxJoystick_GetVPosition(_arg0
);
7014 wxPyEndAllowThreads(__tstate
);
7015 if (PyErr_Occurred()) return NULL
;
7016 } _resultobj
= Py_BuildValue("i",_result
);
7020 #define wxJoystick_GetMovementThreshold(_swigobj) (_swigobj->GetMovementThreshold())
7021 static PyObject
*_wrap_wxJoystick_GetMovementThreshold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7022 PyObject
* _resultobj
;
7025 PyObject
* _argo0
= 0;
7026 char *_kwnames
[] = { "self", NULL
};
7029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetMovementThreshold",_kwnames
,&_argo0
))
7032 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7033 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7034 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetMovementThreshold. Expected _wxJoystick_p.");
7039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7040 _result
= (int )wxJoystick_GetMovementThreshold(_arg0
);
7042 wxPyEndAllowThreads(__tstate
);
7043 if (PyErr_Occurred()) return NULL
;
7044 } _resultobj
= Py_BuildValue("i",_result
);
7048 #define wxJoystick_SetMovementThreshold(_swigobj,_swigarg0) (_swigobj->SetMovementThreshold(_swigarg0))
7049 static PyObject
*_wrap_wxJoystick_SetMovementThreshold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7050 PyObject
* _resultobj
;
7053 PyObject
* _argo0
= 0;
7054 char *_kwnames
[] = { "self","threshold", NULL
};
7057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxJoystick_SetMovementThreshold",_kwnames
,&_argo0
,&_arg1
))
7060 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7061 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7062 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_SetMovementThreshold. Expected _wxJoystick_p.");
7067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7068 wxJoystick_SetMovementThreshold(_arg0
,_arg1
);
7070 wxPyEndAllowThreads(__tstate
);
7071 if (PyErr_Occurred()) return NULL
;
7072 } Py_INCREF(Py_None
);
7073 _resultobj
= Py_None
;
7077 #define wxJoystick_IsOk(_swigobj) (_swigobj->IsOk())
7078 static PyObject
*_wrap_wxJoystick_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7079 PyObject
* _resultobj
;
7082 PyObject
* _argo0
= 0;
7083 char *_kwnames
[] = { "self", NULL
};
7086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_IsOk",_kwnames
,&_argo0
))
7089 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7090 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7091 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_IsOk. Expected _wxJoystick_p.");
7096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7097 _result
= (bool )wxJoystick_IsOk(_arg0
);
7099 wxPyEndAllowThreads(__tstate
);
7100 if (PyErr_Occurred()) return NULL
;
7101 } _resultobj
= Py_BuildValue("i",_result
);
7105 #define wxJoystick_GetNumberJoysticks(_swigobj) (_swigobj->GetNumberJoysticks())
7106 static PyObject
*_wrap_wxJoystick_GetNumberJoysticks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7107 PyObject
* _resultobj
;
7110 PyObject
* _argo0
= 0;
7111 char *_kwnames
[] = { "self", NULL
};
7114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetNumberJoysticks",_kwnames
,&_argo0
))
7117 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7118 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7119 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetNumberJoysticks. Expected _wxJoystick_p.");
7124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7125 _result
= (int )wxJoystick_GetNumberJoysticks(_arg0
);
7127 wxPyEndAllowThreads(__tstate
);
7128 if (PyErr_Occurred()) return NULL
;
7129 } _resultobj
= Py_BuildValue("i",_result
);
7133 #define wxJoystick_GetManufacturerId(_swigobj) (_swigobj->GetManufacturerId())
7134 static PyObject
*_wrap_wxJoystick_GetManufacturerId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7135 PyObject
* _resultobj
;
7138 PyObject
* _argo0
= 0;
7139 char *_kwnames
[] = { "self", NULL
};
7142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetManufacturerId",_kwnames
,&_argo0
))
7145 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7146 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7147 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetManufacturerId. Expected _wxJoystick_p.");
7152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7153 _result
= (int )wxJoystick_GetManufacturerId(_arg0
);
7155 wxPyEndAllowThreads(__tstate
);
7156 if (PyErr_Occurred()) return NULL
;
7157 } _resultobj
= Py_BuildValue("i",_result
);
7161 #define wxJoystick_GetProductId(_swigobj) (_swigobj->GetProductId())
7162 static PyObject
*_wrap_wxJoystick_GetProductId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7163 PyObject
* _resultobj
;
7166 PyObject
* _argo0
= 0;
7167 char *_kwnames
[] = { "self", NULL
};
7170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetProductId",_kwnames
,&_argo0
))
7173 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7174 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7175 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetProductId. Expected _wxJoystick_p.");
7180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7181 _result
= (int )wxJoystick_GetProductId(_arg0
);
7183 wxPyEndAllowThreads(__tstate
);
7184 if (PyErr_Occurred()) return NULL
;
7185 } _resultobj
= Py_BuildValue("i",_result
);
7189 #define wxJoystick_GetProductName(_swigobj) (_swigobj->GetProductName())
7190 static PyObject
*_wrap_wxJoystick_GetProductName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7191 PyObject
* _resultobj
;
7194 PyObject
* _argo0
= 0;
7195 char *_kwnames
[] = { "self", NULL
};
7198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetProductName",_kwnames
,&_argo0
))
7201 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7202 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7203 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetProductName. Expected _wxJoystick_p.");
7208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7209 _result
= new wxString (wxJoystick_GetProductName(_arg0
));
7211 wxPyEndAllowThreads(__tstate
);
7212 if (PyErr_Occurred()) return NULL
;
7215 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
7217 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
7226 #define wxJoystick_GetXMin(_swigobj) (_swigobj->GetXMin())
7227 static PyObject
*_wrap_wxJoystick_GetXMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7228 PyObject
* _resultobj
;
7231 PyObject
* _argo0
= 0;
7232 char *_kwnames
[] = { "self", NULL
};
7235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetXMin",_kwnames
,&_argo0
))
7238 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7239 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7240 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetXMin. Expected _wxJoystick_p.");
7245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7246 _result
= (int )wxJoystick_GetXMin(_arg0
);
7248 wxPyEndAllowThreads(__tstate
);
7249 if (PyErr_Occurred()) return NULL
;
7250 } _resultobj
= Py_BuildValue("i",_result
);
7254 #define wxJoystick_GetYMin(_swigobj) (_swigobj->GetYMin())
7255 static PyObject
*_wrap_wxJoystick_GetYMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7256 PyObject
* _resultobj
;
7259 PyObject
* _argo0
= 0;
7260 char *_kwnames
[] = { "self", NULL
};
7263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetYMin",_kwnames
,&_argo0
))
7266 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7267 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7268 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetYMin. Expected _wxJoystick_p.");
7273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7274 _result
= (int )wxJoystick_GetYMin(_arg0
);
7276 wxPyEndAllowThreads(__tstate
);
7277 if (PyErr_Occurred()) return NULL
;
7278 } _resultobj
= Py_BuildValue("i",_result
);
7282 #define wxJoystick_GetZMin(_swigobj) (_swigobj->GetZMin())
7283 static PyObject
*_wrap_wxJoystick_GetZMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7284 PyObject
* _resultobj
;
7287 PyObject
* _argo0
= 0;
7288 char *_kwnames
[] = { "self", NULL
};
7291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetZMin",_kwnames
,&_argo0
))
7294 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7295 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7296 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetZMin. Expected _wxJoystick_p.");
7301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7302 _result
= (int )wxJoystick_GetZMin(_arg0
);
7304 wxPyEndAllowThreads(__tstate
);
7305 if (PyErr_Occurred()) return NULL
;
7306 } _resultobj
= Py_BuildValue("i",_result
);
7310 #define wxJoystick_GetXMax(_swigobj) (_swigobj->GetXMax())
7311 static PyObject
*_wrap_wxJoystick_GetXMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7312 PyObject
* _resultobj
;
7315 PyObject
* _argo0
= 0;
7316 char *_kwnames
[] = { "self", NULL
};
7319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetXMax",_kwnames
,&_argo0
))
7322 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7323 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7324 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetXMax. Expected _wxJoystick_p.");
7329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7330 _result
= (int )wxJoystick_GetXMax(_arg0
);
7332 wxPyEndAllowThreads(__tstate
);
7333 if (PyErr_Occurred()) return NULL
;
7334 } _resultobj
= Py_BuildValue("i",_result
);
7338 #define wxJoystick_GetYMax(_swigobj) (_swigobj->GetYMax())
7339 static PyObject
*_wrap_wxJoystick_GetYMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7340 PyObject
* _resultobj
;
7343 PyObject
* _argo0
= 0;
7344 char *_kwnames
[] = { "self", NULL
};
7347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetYMax",_kwnames
,&_argo0
))
7350 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7351 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7352 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetYMax. Expected _wxJoystick_p.");
7357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7358 _result
= (int )wxJoystick_GetYMax(_arg0
);
7360 wxPyEndAllowThreads(__tstate
);
7361 if (PyErr_Occurred()) return NULL
;
7362 } _resultobj
= Py_BuildValue("i",_result
);
7366 #define wxJoystick_GetZMax(_swigobj) (_swigobj->GetZMax())
7367 static PyObject
*_wrap_wxJoystick_GetZMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7368 PyObject
* _resultobj
;
7371 PyObject
* _argo0
= 0;
7372 char *_kwnames
[] = { "self", NULL
};
7375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetZMax",_kwnames
,&_argo0
))
7378 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7379 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7380 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetZMax. Expected _wxJoystick_p.");
7385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7386 _result
= (int )wxJoystick_GetZMax(_arg0
);
7388 wxPyEndAllowThreads(__tstate
);
7389 if (PyErr_Occurred()) return NULL
;
7390 } _resultobj
= Py_BuildValue("i",_result
);
7394 #define wxJoystick_GetNumberButtons(_swigobj) (_swigobj->GetNumberButtons())
7395 static PyObject
*_wrap_wxJoystick_GetNumberButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7396 PyObject
* _resultobj
;
7399 PyObject
* _argo0
= 0;
7400 char *_kwnames
[] = { "self", NULL
};
7403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetNumberButtons",_kwnames
,&_argo0
))
7406 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7407 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7408 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetNumberButtons. Expected _wxJoystick_p.");
7413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7414 _result
= (int )wxJoystick_GetNumberButtons(_arg0
);
7416 wxPyEndAllowThreads(__tstate
);
7417 if (PyErr_Occurred()) return NULL
;
7418 } _resultobj
= Py_BuildValue("i",_result
);
7422 #define wxJoystick_GetNumberAxes(_swigobj) (_swigobj->GetNumberAxes())
7423 static PyObject
*_wrap_wxJoystick_GetNumberAxes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7424 PyObject
* _resultobj
;
7427 PyObject
* _argo0
= 0;
7428 char *_kwnames
[] = { "self", NULL
};
7431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetNumberAxes",_kwnames
,&_argo0
))
7434 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7435 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7436 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetNumberAxes. Expected _wxJoystick_p.");
7441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7442 _result
= (int )wxJoystick_GetNumberAxes(_arg0
);
7444 wxPyEndAllowThreads(__tstate
);
7445 if (PyErr_Occurred()) return NULL
;
7446 } _resultobj
= Py_BuildValue("i",_result
);
7450 #define wxJoystick_GetMaxButtons(_swigobj) (_swigobj->GetMaxButtons())
7451 static PyObject
*_wrap_wxJoystick_GetMaxButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7452 PyObject
* _resultobj
;
7455 PyObject
* _argo0
= 0;
7456 char *_kwnames
[] = { "self", NULL
};
7459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetMaxButtons",_kwnames
,&_argo0
))
7462 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7463 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7464 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetMaxButtons. Expected _wxJoystick_p.");
7469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7470 _result
= (int )wxJoystick_GetMaxButtons(_arg0
);
7472 wxPyEndAllowThreads(__tstate
);
7473 if (PyErr_Occurred()) return NULL
;
7474 } _resultobj
= Py_BuildValue("i",_result
);
7478 #define wxJoystick_GetMaxAxes(_swigobj) (_swigobj->GetMaxAxes())
7479 static PyObject
*_wrap_wxJoystick_GetMaxAxes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7480 PyObject
* _resultobj
;
7483 PyObject
* _argo0
= 0;
7484 char *_kwnames
[] = { "self", NULL
};
7487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetMaxAxes",_kwnames
,&_argo0
))
7490 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7491 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7492 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetMaxAxes. Expected _wxJoystick_p.");
7497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7498 _result
= (int )wxJoystick_GetMaxAxes(_arg0
);
7500 wxPyEndAllowThreads(__tstate
);
7501 if (PyErr_Occurred()) return NULL
;
7502 } _resultobj
= Py_BuildValue("i",_result
);
7506 #define wxJoystick_GetPollingMin(_swigobj) (_swigobj->GetPollingMin())
7507 static PyObject
*_wrap_wxJoystick_GetPollingMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7508 PyObject
* _resultobj
;
7511 PyObject
* _argo0
= 0;
7512 char *_kwnames
[] = { "self", NULL
};
7515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPollingMin",_kwnames
,&_argo0
))
7518 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7519 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7520 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPollingMin. Expected _wxJoystick_p.");
7525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7526 _result
= (int )wxJoystick_GetPollingMin(_arg0
);
7528 wxPyEndAllowThreads(__tstate
);
7529 if (PyErr_Occurred()) return NULL
;
7530 } _resultobj
= Py_BuildValue("i",_result
);
7534 #define wxJoystick_GetPollingMax(_swigobj) (_swigobj->GetPollingMax())
7535 static PyObject
*_wrap_wxJoystick_GetPollingMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7536 PyObject
* _resultobj
;
7539 PyObject
* _argo0
= 0;
7540 char *_kwnames
[] = { "self", NULL
};
7543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPollingMax",_kwnames
,&_argo0
))
7546 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7547 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7548 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPollingMax. Expected _wxJoystick_p.");
7553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7554 _result
= (int )wxJoystick_GetPollingMax(_arg0
);
7556 wxPyEndAllowThreads(__tstate
);
7557 if (PyErr_Occurred()) return NULL
;
7558 } _resultobj
= Py_BuildValue("i",_result
);
7562 #define wxJoystick_GetRudderMin(_swigobj) (_swigobj->GetRudderMin())
7563 static PyObject
*_wrap_wxJoystick_GetRudderMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7564 PyObject
* _resultobj
;
7567 PyObject
* _argo0
= 0;
7568 char *_kwnames
[] = { "self", NULL
};
7571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetRudderMin",_kwnames
,&_argo0
))
7574 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7575 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7576 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetRudderMin. Expected _wxJoystick_p.");
7581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7582 _result
= (int )wxJoystick_GetRudderMin(_arg0
);
7584 wxPyEndAllowThreads(__tstate
);
7585 if (PyErr_Occurred()) return NULL
;
7586 } _resultobj
= Py_BuildValue("i",_result
);
7590 #define wxJoystick_GetRudderMax(_swigobj) (_swigobj->GetRudderMax())
7591 static PyObject
*_wrap_wxJoystick_GetRudderMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7592 PyObject
* _resultobj
;
7595 PyObject
* _argo0
= 0;
7596 char *_kwnames
[] = { "self", NULL
};
7599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetRudderMax",_kwnames
,&_argo0
))
7602 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7603 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7604 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetRudderMax. Expected _wxJoystick_p.");
7609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7610 _result
= (int )wxJoystick_GetRudderMax(_arg0
);
7612 wxPyEndAllowThreads(__tstate
);
7613 if (PyErr_Occurred()) return NULL
;
7614 } _resultobj
= Py_BuildValue("i",_result
);
7618 #define wxJoystick_GetUMin(_swigobj) (_swigobj->GetUMin())
7619 static PyObject
*_wrap_wxJoystick_GetUMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7620 PyObject
* _resultobj
;
7623 PyObject
* _argo0
= 0;
7624 char *_kwnames
[] = { "self", NULL
};
7627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetUMin",_kwnames
,&_argo0
))
7630 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7631 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7632 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetUMin. Expected _wxJoystick_p.");
7637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7638 _result
= (int )wxJoystick_GetUMin(_arg0
);
7640 wxPyEndAllowThreads(__tstate
);
7641 if (PyErr_Occurred()) return NULL
;
7642 } _resultobj
= Py_BuildValue("i",_result
);
7646 #define wxJoystick_GetUMax(_swigobj) (_swigobj->GetUMax())
7647 static PyObject
*_wrap_wxJoystick_GetUMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7648 PyObject
* _resultobj
;
7651 PyObject
* _argo0
= 0;
7652 char *_kwnames
[] = { "self", NULL
};
7655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetUMax",_kwnames
,&_argo0
))
7658 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7659 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7660 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetUMax. Expected _wxJoystick_p.");
7665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7666 _result
= (int )wxJoystick_GetUMax(_arg0
);
7668 wxPyEndAllowThreads(__tstate
);
7669 if (PyErr_Occurred()) return NULL
;
7670 } _resultobj
= Py_BuildValue("i",_result
);
7674 #define wxJoystick_GetVMin(_swigobj) (_swigobj->GetVMin())
7675 static PyObject
*_wrap_wxJoystick_GetVMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7676 PyObject
* _resultobj
;
7679 PyObject
* _argo0
= 0;
7680 char *_kwnames
[] = { "self", NULL
};
7683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetVMin",_kwnames
,&_argo0
))
7686 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7687 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7688 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetVMin. Expected _wxJoystick_p.");
7693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7694 _result
= (int )wxJoystick_GetVMin(_arg0
);
7696 wxPyEndAllowThreads(__tstate
);
7697 if (PyErr_Occurred()) return NULL
;
7698 } _resultobj
= Py_BuildValue("i",_result
);
7702 #define wxJoystick_GetVMax(_swigobj) (_swigobj->GetVMax())
7703 static PyObject
*_wrap_wxJoystick_GetVMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7704 PyObject
* _resultobj
;
7707 PyObject
* _argo0
= 0;
7708 char *_kwnames
[] = { "self", NULL
};
7711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetVMax",_kwnames
,&_argo0
))
7714 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7715 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7716 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetVMax. Expected _wxJoystick_p.");
7721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7722 _result
= (int )wxJoystick_GetVMax(_arg0
);
7724 wxPyEndAllowThreads(__tstate
);
7725 if (PyErr_Occurred()) return NULL
;
7726 } _resultobj
= Py_BuildValue("i",_result
);
7730 #define wxJoystick_HasRudder(_swigobj) (_swigobj->HasRudder())
7731 static PyObject
*_wrap_wxJoystick_HasRudder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7732 PyObject
* _resultobj
;
7735 PyObject
* _argo0
= 0;
7736 char *_kwnames
[] = { "self", NULL
};
7739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasRudder",_kwnames
,&_argo0
))
7742 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7743 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7744 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasRudder. Expected _wxJoystick_p.");
7749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7750 _result
= (bool )wxJoystick_HasRudder(_arg0
);
7752 wxPyEndAllowThreads(__tstate
);
7753 if (PyErr_Occurred()) return NULL
;
7754 } _resultobj
= Py_BuildValue("i",_result
);
7758 #define wxJoystick_HasZ(_swigobj) (_swigobj->HasZ())
7759 static PyObject
*_wrap_wxJoystick_HasZ(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7760 PyObject
* _resultobj
;
7763 PyObject
* _argo0
= 0;
7764 char *_kwnames
[] = { "self", NULL
};
7767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasZ",_kwnames
,&_argo0
))
7770 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7771 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7772 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasZ. Expected _wxJoystick_p.");
7777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7778 _result
= (bool )wxJoystick_HasZ(_arg0
);
7780 wxPyEndAllowThreads(__tstate
);
7781 if (PyErr_Occurred()) return NULL
;
7782 } _resultobj
= Py_BuildValue("i",_result
);
7786 #define wxJoystick_HasU(_swigobj) (_swigobj->HasU())
7787 static PyObject
*_wrap_wxJoystick_HasU(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7788 PyObject
* _resultobj
;
7791 PyObject
* _argo0
= 0;
7792 char *_kwnames
[] = { "self", NULL
};
7795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasU",_kwnames
,&_argo0
))
7798 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7799 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7800 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasU. Expected _wxJoystick_p.");
7805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7806 _result
= (bool )wxJoystick_HasU(_arg0
);
7808 wxPyEndAllowThreads(__tstate
);
7809 if (PyErr_Occurred()) return NULL
;
7810 } _resultobj
= Py_BuildValue("i",_result
);
7814 #define wxJoystick_HasV(_swigobj) (_swigobj->HasV())
7815 static PyObject
*_wrap_wxJoystick_HasV(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7816 PyObject
* _resultobj
;
7819 PyObject
* _argo0
= 0;
7820 char *_kwnames
[] = { "self", NULL
};
7823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasV",_kwnames
,&_argo0
))
7826 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7827 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7828 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasV. Expected _wxJoystick_p.");
7833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7834 _result
= (bool )wxJoystick_HasV(_arg0
);
7836 wxPyEndAllowThreads(__tstate
);
7837 if (PyErr_Occurred()) return NULL
;
7838 } _resultobj
= Py_BuildValue("i",_result
);
7842 #define wxJoystick_HasPOV(_swigobj) (_swigobj->HasPOV())
7843 static PyObject
*_wrap_wxJoystick_HasPOV(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7844 PyObject
* _resultobj
;
7847 PyObject
* _argo0
= 0;
7848 char *_kwnames
[] = { "self", NULL
};
7851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasPOV",_kwnames
,&_argo0
))
7854 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7855 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7856 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasPOV. Expected _wxJoystick_p.");
7861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7862 _result
= (bool )wxJoystick_HasPOV(_arg0
);
7864 wxPyEndAllowThreads(__tstate
);
7865 if (PyErr_Occurred()) return NULL
;
7866 } _resultobj
= Py_BuildValue("i",_result
);
7870 #define wxJoystick_HasPOV4Dir(_swigobj) (_swigobj->HasPOV4Dir())
7871 static PyObject
*_wrap_wxJoystick_HasPOV4Dir(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7872 PyObject
* _resultobj
;
7875 PyObject
* _argo0
= 0;
7876 char *_kwnames
[] = { "self", NULL
};
7879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasPOV4Dir",_kwnames
,&_argo0
))
7882 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7883 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7884 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasPOV4Dir. Expected _wxJoystick_p.");
7889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7890 _result
= (bool )wxJoystick_HasPOV4Dir(_arg0
);
7892 wxPyEndAllowThreads(__tstate
);
7893 if (PyErr_Occurred()) return NULL
;
7894 } _resultobj
= Py_BuildValue("i",_result
);
7898 #define wxJoystick_HasPOVCTS(_swigobj) (_swigobj->HasPOVCTS())
7899 static PyObject
*_wrap_wxJoystick_HasPOVCTS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7900 PyObject
* _resultobj
;
7903 PyObject
* _argo0
= 0;
7904 char *_kwnames
[] = { "self", NULL
};
7907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasPOVCTS",_kwnames
,&_argo0
))
7910 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7911 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7912 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasPOVCTS. Expected _wxJoystick_p.");
7917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7918 _result
= (bool )wxJoystick_HasPOVCTS(_arg0
);
7920 wxPyEndAllowThreads(__tstate
);
7921 if (PyErr_Occurred()) return NULL
;
7922 } _resultobj
= Py_BuildValue("i",_result
);
7926 #define wxJoystick_SetCapture(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetCapture(_swigarg0,_swigarg1))
7927 static PyObject
*_wrap_wxJoystick_SetCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7928 PyObject
* _resultobj
;
7932 int _arg2
= (int ) 0;
7933 PyObject
* _argo0
= 0;
7934 PyObject
* _argo1
= 0;
7935 char *_kwnames
[] = { "self","win","pollingFreq", NULL
};
7938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxJoystick_SetCapture",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
7941 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7942 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7943 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_SetCapture. Expected _wxJoystick_p.");
7948 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7949 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
7950 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxJoystick_SetCapture. Expected _wxWindow_p.");
7955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7956 _result
= (bool )wxJoystick_SetCapture(_arg0
,_arg1
,_arg2
);
7958 wxPyEndAllowThreads(__tstate
);
7959 if (PyErr_Occurred()) return NULL
;
7960 } _resultobj
= Py_BuildValue("i",_result
);
7964 #define wxJoystick_ReleaseCapture(_swigobj) (_swigobj->ReleaseCapture())
7965 static PyObject
*_wrap_wxJoystick_ReleaseCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7966 PyObject
* _resultobj
;
7969 PyObject
* _argo0
= 0;
7970 char *_kwnames
[] = { "self", NULL
};
7973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_ReleaseCapture",_kwnames
,&_argo0
))
7976 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7977 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7978 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_ReleaseCapture. Expected _wxJoystick_p.");
7983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7984 _result
= (bool )wxJoystick_ReleaseCapture(_arg0
);
7986 wxPyEndAllowThreads(__tstate
);
7987 if (PyErr_Occurred()) return NULL
;
7988 } _resultobj
= Py_BuildValue("i",_result
);
7992 static void *SwigwxWaveTowxObject(void *ptr
) {
7995 src
= (wxWave
*) ptr
;
7996 dest
= (wxObject
*) src
;
7997 return (void *) dest
;
8000 #define new_wxWave(_swigarg0,_swigarg1) (new wxWave(_swigarg0,_swigarg1))
8001 static PyObject
*_wrap_new_wxWave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8002 PyObject
* _resultobj
;
8005 bool _arg1
= (bool ) FALSE
;
8006 PyObject
* _obj0
= 0;
8007 int tempbool1
= (int) FALSE
;
8008 char *_kwnames
[] = { "fileName","isResource", NULL
};
8012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:new_wxWave",_kwnames
,&_obj0
,&tempbool1
))
8015 _arg0
= wxString_in_helper(_obj0
);
8019 _arg1
= (bool ) tempbool1
;
8021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8022 _result
= (wxWave
*)new_wxWave(*_arg0
,_arg1
);
8024 wxPyEndAllowThreads(__tstate
);
8025 if (PyErr_Occurred()) return NULL
;
8027 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWave_p");
8028 _resultobj
= Py_BuildValue("s",_ptemp
);
8031 _resultobj
= Py_None
;
8040 #define delete_wxWave(_swigobj) (delete _swigobj)
8041 static PyObject
*_wrap_delete_wxWave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8042 PyObject
* _resultobj
;
8044 PyObject
* _argo0
= 0;
8045 char *_kwnames
[] = { "self", NULL
};
8048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxWave",_kwnames
,&_argo0
))
8051 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8052 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWave_p")) {
8053 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxWave. Expected _wxWave_p.");
8058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8059 delete_wxWave(_arg0
);
8061 wxPyEndAllowThreads(__tstate
);
8062 if (PyErr_Occurred()) return NULL
;
8063 } Py_INCREF(Py_None
);
8064 _resultobj
= Py_None
;
8068 #define wxWave_IsOk(_swigobj) (_swigobj->IsOk())
8069 static PyObject
*_wrap_wxWave_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8070 PyObject
* _resultobj
;
8073 PyObject
* _argo0
= 0;
8074 char *_kwnames
[] = { "self", NULL
};
8077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWave_IsOk",_kwnames
,&_argo0
))
8080 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8081 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWave_p")) {
8082 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWave_IsOk. Expected _wxWave_p.");
8087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8088 _result
= (bool )wxWave_IsOk(_arg0
);
8090 wxPyEndAllowThreads(__tstate
);
8091 if (PyErr_Occurred()) return NULL
;
8092 } _resultobj
= Py_BuildValue("i",_result
);
8096 #define wxWave_Play(_swigobj,_swigarg0,_swigarg1) (_swigobj->Play(_swigarg0,_swigarg1))
8097 static PyObject
*_wrap_wxWave_Play(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8098 PyObject
* _resultobj
;
8101 bool _arg1
= (bool ) TRUE
;
8102 bool _arg2
= (bool ) FALSE
;
8103 PyObject
* _argo0
= 0;
8104 int tempbool1
= (int) TRUE
;
8105 int tempbool2
= (int) FALSE
;
8106 char *_kwnames
[] = { "self","async","looped", NULL
};
8109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxWave_Play",_kwnames
,&_argo0
,&tempbool1
,&tempbool2
))
8112 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8113 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWave_p")) {
8114 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWave_Play. Expected _wxWave_p.");
8118 _arg1
= (bool ) tempbool1
;
8119 _arg2
= (bool ) tempbool2
;
8121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8122 _result
= (bool )wxWave_Play(_arg0
,_arg1
,_arg2
);
8124 wxPyEndAllowThreads(__tstate
);
8125 if (PyErr_Occurred()) return NULL
;
8126 } _resultobj
= Py_BuildValue("i",_result
);
8130 #define new_wxFileTypeInfo(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxFileTypeInfo(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
8131 static PyObject
*_wrap_new_wxFileTypeInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8132 PyObject
* _resultobj
;
8133 wxFileTypeInfo
* _result
;
8138 char *_kwnames
[] = { "mimeType","openCmd","printCmd","desc", NULL
};
8142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"ssss:new_wxFileTypeInfo",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
))
8145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8146 _result
= (wxFileTypeInfo
*)new_wxFileTypeInfo(_arg0
,_arg1
,_arg2
,_arg3
);
8148 wxPyEndAllowThreads(__tstate
);
8149 if (PyErr_Occurred()) return NULL
;
8151 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileTypeInfo_p");
8152 _resultobj
= Py_BuildValue("s",_ptemp
);
8155 _resultobj
= Py_None
;
8160 #define new_wxFileTypeInfoSequence(_swigarg0) (new wxFileTypeInfo(_swigarg0))
8161 static PyObject
*_wrap_new_wxFileTypeInfoSequence(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8162 PyObject
* _resultobj
;
8163 wxFileTypeInfo
* _result
;
8164 wxArrayString
* _arg0
;
8165 PyObject
* _obj0
= 0;
8166 char *_kwnames
[] = { "sArray", NULL
};
8170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxFileTypeInfoSequence",_kwnames
,&_obj0
))
8173 if (! PySequence_Check(_obj0
)) {
8174 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
8177 _arg0
= new wxArrayString
;
8178 int i
, len
=PySequence_Length(_obj0
);
8179 for (i
=0; i
<len
; i
++) {
8180 PyObject
* item
= PySequence_GetItem(_obj0
, i
);
8182 PyObject
* str
= PyObject_Unicode(item
);
8183 _arg0
->Add(PyUnicode_AsUnicode(str
));
8185 PyObject
* str
= PyObject_Str(item
);
8186 _arg0
->Add(PyString_AsString(str
));
8193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8194 _result
= (wxFileTypeInfo
*)new_wxFileTypeInfoSequence(*_arg0
);
8196 wxPyEndAllowThreads(__tstate
);
8197 if (PyErr_Occurred()) return NULL
;
8199 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileTypeInfo_p");
8200 _resultobj
= Py_BuildValue("s",_ptemp
);
8203 _resultobj
= Py_None
;
8212 #define new_wxNullFileTypeInfo() (new wxFileTypeInfo())
8213 static PyObject
*_wrap_new_wxNullFileTypeInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8214 PyObject
* _resultobj
;
8215 wxFileTypeInfo
* _result
;
8216 char *_kwnames
[] = { NULL
};
8220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxNullFileTypeInfo",_kwnames
))
8223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8224 _result
= (wxFileTypeInfo
*)new_wxNullFileTypeInfo();
8226 wxPyEndAllowThreads(__tstate
);
8227 if (PyErr_Occurred()) return NULL
;
8229 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileTypeInfo_p");
8230 _resultobj
= Py_BuildValue("s",_ptemp
);
8233 _resultobj
= Py_None
;
8238 #define wxFileTypeInfo_IsValid(_swigobj) (_swigobj->IsValid())
8239 static PyObject
*_wrap_wxFileTypeInfo_IsValid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8240 PyObject
* _resultobj
;
8242 wxFileTypeInfo
* _arg0
;
8243 PyObject
* _argo0
= 0;
8244 char *_kwnames
[] = { "self", NULL
};
8247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_IsValid",_kwnames
,&_argo0
))
8250 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8251 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8252 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_IsValid. Expected _wxFileTypeInfo_p.");
8257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8258 _result
= (bool )wxFileTypeInfo_IsValid(_arg0
);
8260 wxPyEndAllowThreads(__tstate
);
8261 if (PyErr_Occurred()) return NULL
;
8262 } _resultobj
= Py_BuildValue("i",_result
);
8266 #define wxFileTypeInfo_SetIcon(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetIcon(_swigarg0,_swigarg1))
8267 static PyObject
*_wrap_wxFileTypeInfo_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8268 PyObject
* _resultobj
;
8269 wxFileTypeInfo
* _arg0
;
8271 int _arg2
= (int ) 0;
8272 PyObject
* _argo0
= 0;
8273 PyObject
* _obj1
= 0;
8274 char *_kwnames
[] = { "self","iconFile","iconIndex", NULL
};
8277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxFileTypeInfo_SetIcon",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
8280 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8281 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8282 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_SetIcon. Expected _wxFileTypeInfo_p.");
8287 _arg1
= wxString_in_helper(_obj1
);
8292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8293 wxFileTypeInfo_SetIcon(_arg0
,*_arg1
,_arg2
);
8295 wxPyEndAllowThreads(__tstate
);
8296 if (PyErr_Occurred()) return NULL
;
8297 } Py_INCREF(Py_None
);
8298 _resultobj
= Py_None
;
8306 #define wxFileTypeInfo_SetShortDesc(_swigobj,_swigarg0) (_swigobj->SetShortDesc(_swigarg0))
8307 static PyObject
*_wrap_wxFileTypeInfo_SetShortDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8308 PyObject
* _resultobj
;
8309 wxFileTypeInfo
* _arg0
;
8311 PyObject
* _argo0
= 0;
8312 PyObject
* _obj1
= 0;
8313 char *_kwnames
[] = { "self","shortDesc", NULL
};
8316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileTypeInfo_SetShortDesc",_kwnames
,&_argo0
,&_obj1
))
8319 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8320 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8321 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_SetShortDesc. Expected _wxFileTypeInfo_p.");
8326 _arg1
= wxString_in_helper(_obj1
);
8331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8332 wxFileTypeInfo_SetShortDesc(_arg0
,*_arg1
);
8334 wxPyEndAllowThreads(__tstate
);
8335 if (PyErr_Occurred()) return NULL
;
8336 } Py_INCREF(Py_None
);
8337 _resultobj
= Py_None
;
8345 #define wxFileTypeInfo_GetMimeType(_swigobj) (_swigobj->GetMimeType())
8346 static PyObject
*_wrap_wxFileTypeInfo_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8347 PyObject
* _resultobj
;
8349 wxFileTypeInfo
* _arg0
;
8350 PyObject
* _argo0
= 0;
8351 char *_kwnames
[] = { "self", NULL
};
8354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetMimeType",_kwnames
,&_argo0
))
8357 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8358 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8359 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetMimeType. Expected _wxFileTypeInfo_p.");
8364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8365 const wxString
& _result_ref
= wxFileTypeInfo_GetMimeType(_arg0
);
8366 _result
= (wxString
*) &_result_ref
;
8368 wxPyEndAllowThreads(__tstate
);
8369 if (PyErr_Occurred()) return NULL
;
8372 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
8374 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8380 #define wxFileTypeInfo_GetOpenCommand(_swigobj) (_swigobj->GetOpenCommand())
8381 static PyObject
*_wrap_wxFileTypeInfo_GetOpenCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8382 PyObject
* _resultobj
;
8384 wxFileTypeInfo
* _arg0
;
8385 PyObject
* _argo0
= 0;
8386 char *_kwnames
[] = { "self", NULL
};
8389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetOpenCommand",_kwnames
,&_argo0
))
8392 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8393 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8394 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetOpenCommand. Expected _wxFileTypeInfo_p.");
8399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8400 const wxString
& _result_ref
= wxFileTypeInfo_GetOpenCommand(_arg0
);
8401 _result
= (wxString
*) &_result_ref
;
8403 wxPyEndAllowThreads(__tstate
);
8404 if (PyErr_Occurred()) return NULL
;
8407 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
8409 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8415 #define wxFileTypeInfo_GetPrintCommand(_swigobj) (_swigobj->GetPrintCommand())
8416 static PyObject
*_wrap_wxFileTypeInfo_GetPrintCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8417 PyObject
* _resultobj
;
8419 wxFileTypeInfo
* _arg0
;
8420 PyObject
* _argo0
= 0;
8421 char *_kwnames
[] = { "self", NULL
};
8424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetPrintCommand",_kwnames
,&_argo0
))
8427 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8428 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8429 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetPrintCommand. Expected _wxFileTypeInfo_p.");
8434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8435 const wxString
& _result_ref
= wxFileTypeInfo_GetPrintCommand(_arg0
);
8436 _result
= (wxString
*) &_result_ref
;
8438 wxPyEndAllowThreads(__tstate
);
8439 if (PyErr_Occurred()) return NULL
;
8442 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
8444 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8450 #define wxFileTypeInfo_GetShortDesc(_swigobj) (_swigobj->GetShortDesc())
8451 static PyObject
*_wrap_wxFileTypeInfo_GetShortDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8452 PyObject
* _resultobj
;
8454 wxFileTypeInfo
* _arg0
;
8455 PyObject
* _argo0
= 0;
8456 char *_kwnames
[] = { "self", NULL
};
8459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetShortDesc",_kwnames
,&_argo0
))
8462 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8463 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8464 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetShortDesc. Expected _wxFileTypeInfo_p.");
8469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8470 const wxString
& _result_ref
= wxFileTypeInfo_GetShortDesc(_arg0
);
8471 _result
= (wxString
*) &_result_ref
;
8473 wxPyEndAllowThreads(__tstate
);
8474 if (PyErr_Occurred()) return NULL
;
8477 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
8479 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8485 #define wxFileTypeInfo_GetDescription(_swigobj) (_swigobj->GetDescription())
8486 static PyObject
*_wrap_wxFileTypeInfo_GetDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8487 PyObject
* _resultobj
;
8489 wxFileTypeInfo
* _arg0
;
8490 PyObject
* _argo0
= 0;
8491 char *_kwnames
[] = { "self", NULL
};
8494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetDescription",_kwnames
,&_argo0
))
8497 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8498 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8499 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetDescription. Expected _wxFileTypeInfo_p.");
8504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8505 const wxString
& _result_ref
= wxFileTypeInfo_GetDescription(_arg0
);
8506 _result
= (wxString
*) &_result_ref
;
8508 wxPyEndAllowThreads(__tstate
);
8509 if (PyErr_Occurred()) return NULL
;
8512 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
8514 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8520 static PyObject
* wxFileTypeInfo_GetExtensions(wxFileTypeInfo
*self
) {
8521 wxArrayString
& arr
= (wxArrayString
&)self
->GetExtensions();
8522 return wxArrayString2PyList_helper(arr
);
8524 static PyObject
*_wrap_wxFileTypeInfo_GetExtensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8525 PyObject
* _resultobj
;
8527 wxFileTypeInfo
* _arg0
;
8528 PyObject
* _argo0
= 0;
8529 char *_kwnames
[] = { "self", NULL
};
8532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetExtensions",_kwnames
,&_argo0
))
8535 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8536 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8537 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetExtensions. Expected _wxFileTypeInfo_p.");
8542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8543 _result
= (PyObject
*)wxFileTypeInfo_GetExtensions(_arg0
);
8545 wxPyEndAllowThreads(__tstate
);
8546 if (PyErr_Occurred()) return NULL
;
8548 _resultobj
= _result
;
8553 #define wxFileTypeInfo_GetExtensionsCount(_swigobj) (_swigobj->GetExtensionsCount())
8554 static PyObject
*_wrap_wxFileTypeInfo_GetExtensionsCount(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_GetExtensionsCount",_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_GetExtensionsCount. Expected _wxFileTypeInfo_p.");
8572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8573 _result
= (int )wxFileTypeInfo_GetExtensionsCount(_arg0
);
8575 wxPyEndAllowThreads(__tstate
);
8576 if (PyErr_Occurred()) return NULL
;
8577 } _resultobj
= Py_BuildValue("i",_result
);
8581 #define wxFileTypeInfo_GetIconFile(_swigobj) (_swigobj->GetIconFile())
8582 static PyObject
*_wrap_wxFileTypeInfo_GetIconFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8583 PyObject
* _resultobj
;
8585 wxFileTypeInfo
* _arg0
;
8586 PyObject
* _argo0
= 0;
8587 char *_kwnames
[] = { "self", NULL
};
8590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetIconFile",_kwnames
,&_argo0
))
8593 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8594 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8595 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetIconFile. Expected _wxFileTypeInfo_p.");
8600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8601 const wxString
& _result_ref
= wxFileTypeInfo_GetIconFile(_arg0
);
8602 _result
= (wxString
*) &_result_ref
;
8604 wxPyEndAllowThreads(__tstate
);
8605 if (PyErr_Occurred()) return NULL
;
8608 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
8610 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8616 #define wxFileTypeInfo_GetIconIndex(_swigobj) (_swigobj->GetIconIndex())
8617 static PyObject
*_wrap_wxFileTypeInfo_GetIconIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8618 PyObject
* _resultobj
;
8620 wxFileTypeInfo
* _arg0
;
8621 PyObject
* _argo0
= 0;
8622 char *_kwnames
[] = { "self", NULL
};
8625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetIconIndex",_kwnames
,&_argo0
))
8628 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8629 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8630 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetIconIndex. Expected _wxFileTypeInfo_p.");
8635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8636 _result
= (int )wxFileTypeInfo_GetIconIndex(_arg0
);
8638 wxPyEndAllowThreads(__tstate
);
8639 if (PyErr_Occurred()) return NULL
;
8640 } _resultobj
= Py_BuildValue("i",_result
);
8644 #define new_wxFileType(_swigarg0) (new wxFileType(_swigarg0))
8645 static PyObject
*_wrap_new_wxFileType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8646 PyObject
* _resultobj
;
8647 wxFileType
* _result
;
8648 wxFileTypeInfo
* _arg0
;
8649 PyObject
* _argo0
= 0;
8650 char *_kwnames
[] = { "ftInfo", NULL
};
8654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxFileType",_kwnames
,&_argo0
))
8657 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8658 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8659 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxFileType. Expected _wxFileTypeInfo_p.");
8664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8665 _result
= (wxFileType
*)new_wxFileType(*_arg0
);
8667 wxPyEndAllowThreads(__tstate
);
8668 if (PyErr_Occurred()) return NULL
;
8670 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileType_p");
8671 _resultobj
= Py_BuildValue("s",_ptemp
);
8674 _resultobj
= Py_None
;
8679 static PyObject
* wxFileType_GetMimeType(wxFileType
*self
) {
8681 if (self
->GetMimeType(&str
)) {
8683 return PyUnicode_FromUnicode(str
.c_str(), str
.Len());
8685 return PyString_FromStringAndSize(str
.c_str(), str
.Len());
8691 static PyObject
*_wrap_wxFileType_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8692 PyObject
* _resultobj
;
8695 PyObject
* _argo0
= 0;
8696 char *_kwnames
[] = { "self", NULL
};
8699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_GetMimeType",_kwnames
,&_argo0
))
8702 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8703 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8704 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetMimeType. Expected _wxFileType_p.");
8709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8710 _result
= (PyObject
*)wxFileType_GetMimeType(_arg0
);
8712 wxPyEndAllowThreads(__tstate
);
8713 if (PyErr_Occurred()) return NULL
;
8715 _resultobj
= _result
;
8720 static PyObject
* wxFileType_GetMimeTypes(wxFileType
*self
) {
8722 if (self
->GetMimeTypes(arr
))
8723 return wxArrayString2PyList_helper(arr
);
8727 static PyObject
*_wrap_wxFileType_GetMimeTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8728 PyObject
* _resultobj
;
8731 PyObject
* _argo0
= 0;
8732 char *_kwnames
[] = { "self", NULL
};
8735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_GetMimeTypes",_kwnames
,&_argo0
))
8738 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8739 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8740 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetMimeTypes. Expected _wxFileType_p.");
8745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8746 _result
= (PyObject
*)wxFileType_GetMimeTypes(_arg0
);
8748 wxPyEndAllowThreads(__tstate
);
8749 if (PyErr_Occurred()) return NULL
;
8751 _resultobj
= _result
;
8756 static PyObject
* wxFileType_GetExtensions(wxFileType
*self
) {
8758 if (self
->GetExtensions(arr
))
8759 return wxArrayString2PyList_helper(arr
);
8763 static PyObject
*_wrap_wxFileType_GetExtensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8764 PyObject
* _resultobj
;
8767 PyObject
* _argo0
= 0;
8768 char *_kwnames
[] = { "self", NULL
};
8771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_GetExtensions",_kwnames
,&_argo0
))
8774 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8775 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8776 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetExtensions. Expected _wxFileType_p.");
8781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8782 _result
= (PyObject
*)wxFileType_GetExtensions(_arg0
);
8784 wxPyEndAllowThreads(__tstate
);
8785 if (PyErr_Occurred()) return NULL
;
8787 _resultobj
= _result
;
8792 static wxIcon
* wxFileType_GetIcon(wxFileType
*self
) {
8794 if (self
->GetIcon(&icon
))
8795 return new wxIcon(icon
);
8799 static PyObject
*_wrap_wxFileType_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8800 PyObject
* _resultobj
;
8803 PyObject
* _argo0
= 0;
8804 char *_kwnames
[] = { "self", NULL
};
8808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_GetIcon",_kwnames
,&_argo0
))
8811 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8812 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8813 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetIcon. Expected _wxFileType_p.");
8818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8819 _result
= (wxIcon
*)wxFileType_GetIcon(_arg0
);
8821 wxPyEndAllowThreads(__tstate
);
8822 if (PyErr_Occurred()) return NULL
;
8824 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIcon_p");
8825 _resultobj
= Py_BuildValue("s",_ptemp
);
8828 _resultobj
= Py_None
;
8833 static PyObject
* wxFileType_GetIconInfo(wxFileType
*self
) {
8837 if (self
->GetIcon(&icon
, &iconFile
, &iconIndex
)) {
8838 wxPyBeginBlockThreads();
8839 PyObject
* tuple
= PyTuple_New(3);
8840 PyTuple_SetItem(tuple
, 0, wxPyConstructObject(new wxIcon(icon
),
8843 PyTuple_SetItem(tuple
, 1, PyUnicode_FromUnicode(iconFile
.c_str(), iconFile
.Len()));
8845 PyTuple_SetItem(tuple
, 1, PyString_FromStringAndSize(iconFile
.c_str(), iconFile
.Len()));
8847 PyTuple_SetItem(tuple
, 2, PyInt_FromLong(iconIndex
));
8848 wxPyEndBlockThreads();
8854 static PyObject
*_wrap_wxFileType_GetIconInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8855 PyObject
* _resultobj
;
8858 PyObject
* _argo0
= 0;
8859 char *_kwnames
[] = { "self", NULL
};
8862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_GetIconInfo",_kwnames
,&_argo0
))
8865 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8866 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8867 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetIconInfo. Expected _wxFileType_p.");
8872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8873 _result
= (PyObject
*)wxFileType_GetIconInfo(_arg0
);
8875 wxPyEndAllowThreads(__tstate
);
8876 if (PyErr_Occurred()) return NULL
;
8878 _resultobj
= _result
;
8883 static PyObject
* wxFileType_GetDescription(wxFileType
*self
) {
8885 if (self
->GetDescription(&str
)) {
8887 return PyUnicode_FromUnicode(str
.c_str(), str
.Len());
8889 return PyString_FromStringAndSize(str
.c_str(), str
.Len());
8894 static PyObject
*_wrap_wxFileType_GetDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8895 PyObject
* _resultobj
;
8898 PyObject
* _argo0
= 0;
8899 char *_kwnames
[] = { "self", NULL
};
8902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_GetDescription",_kwnames
,&_argo0
))
8905 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8906 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8907 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetDescription. Expected _wxFileType_p.");
8912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8913 _result
= (PyObject
*)wxFileType_GetDescription(_arg0
);
8915 wxPyEndAllowThreads(__tstate
);
8916 if (PyErr_Occurred()) return NULL
;
8918 _resultobj
= _result
;
8923 static PyObject
* wxFileType_GetOpenCommand(wxFileType
*self
,const wxString
& filename
,const wxString
& mimetype
) {
8925 if (self
->GetOpenCommand(&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_GetOpenCommand(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_GetOpenCommand",_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_GetOpenCommand. Expected _wxFileType_p.");
8956 _arg1
= wxString_in_helper(_obj1
);
8962 _arg2
= wxString_in_helper(_obj2
);
8967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8968 _result
= (PyObject
*)wxFileType_GetOpenCommand(_arg0
,*_arg1
,*_arg2
);
8970 wxPyEndAllowThreads(__tstate
);
8971 if (PyErr_Occurred()) return NULL
;
8973 _resultobj
= _result
;
8986 static PyObject
* wxFileType_GetPrintCommand(wxFileType
*self
,const wxString
& filename
,const wxString
& mimetype
) {
8988 if (self
->GetPrintCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
))) {
8990 return PyUnicode_FromUnicode(str
.c_str(), str
.Len());
8992 return PyString_FromStringAndSize(str
.c_str(), str
.Len());
8997 static PyObject
*_wrap_wxFileType_GetPrintCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8998 PyObject
* _resultobj
;
9002 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
9003 PyObject
* _argo0
= 0;
9004 PyObject
* _obj1
= 0;
9005 PyObject
* _obj2
= 0;
9006 char *_kwnames
[] = { "self","filename","mimetype", NULL
};
9009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxFileType_GetPrintCommand",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
9012 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9013 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
9014 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetPrintCommand. Expected _wxFileType_p.");
9019 _arg1
= wxString_in_helper(_obj1
);
9025 _arg2
= wxString_in_helper(_obj2
);
9030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9031 _result
= (PyObject
*)wxFileType_GetPrintCommand(_arg0
,*_arg1
,*_arg2
);
9033 wxPyEndAllowThreads(__tstate
);
9034 if (PyErr_Occurred()) return NULL
;
9036 _resultobj
= _result
;
9049 static PyObject
* wxFileType_GetAllCommands(wxFileType
*self
,const wxString
& filename
,const wxString
& mimetype
) {
9050 wxArrayString verbs
;
9051 wxArrayString commands
;
9052 if (self
->GetAllCommands(&verbs
, &commands
,
9053 wxFileType::MessageParameters(filename
, mimetype
))) {
9054 wxPyBeginBlockThreads();
9055 PyObject
* tuple
= PyTuple_New(2);
9056 PyTuple_SetItem(tuple
, 0, wxArrayString2PyList_helper(verbs
));
9057 PyTuple_SetItem(tuple
, 1, wxArrayString2PyList_helper(commands
));
9058 wxPyEndBlockThreads();
9064 static PyObject
*_wrap_wxFileType_GetAllCommands(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9065 PyObject
* _resultobj
;
9069 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
9070 PyObject
* _argo0
= 0;
9071 PyObject
* _obj1
= 0;
9072 PyObject
* _obj2
= 0;
9073 char *_kwnames
[] = { "self","filename","mimetype", NULL
};
9076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxFileType_GetAllCommands",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
9079 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9080 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
9081 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetAllCommands. Expected _wxFileType_p.");
9086 _arg1
= wxString_in_helper(_obj1
);
9092 _arg2
= wxString_in_helper(_obj2
);
9097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9098 _result
= (PyObject
*)wxFileType_GetAllCommands(_arg0
,*_arg1
,*_arg2
);
9100 wxPyEndAllowThreads(__tstate
);
9101 if (PyErr_Occurred()) return NULL
;
9103 _resultobj
= _result
;
9116 #define wxFileType_SetCommand(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCommand(_swigarg0,_swigarg1,_swigarg2))
9117 static PyObject
*_wrap_wxFileType_SetCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9118 PyObject
* _resultobj
;
9123 bool _arg3
= (bool ) TRUE
;
9124 PyObject
* _argo0
= 0;
9125 PyObject
* _obj1
= 0;
9126 PyObject
* _obj2
= 0;
9127 int tempbool3
= (int) TRUE
;
9128 char *_kwnames
[] = { "self","cmd","verb","overwriteprompt", NULL
};
9131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|i:wxFileType_SetCommand",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&tempbool3
))
9134 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9135 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
9136 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_SetCommand. Expected _wxFileType_p.");
9141 _arg1
= wxString_in_helper(_obj1
);
9146 _arg2
= wxString_in_helper(_obj2
);
9150 _arg3
= (bool ) tempbool3
;
9152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9153 _result
= (bool )wxFileType_SetCommand(_arg0
,*_arg1
,*_arg2
,_arg3
);
9155 wxPyEndAllowThreads(__tstate
);
9156 if (PyErr_Occurred()) return NULL
;
9157 } _resultobj
= Py_BuildValue("i",_result
);
9169 #define wxFileType_SetDefaultIcon(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDefaultIcon(_swigarg0,_swigarg1))
9170 static PyObject
*_wrap_wxFileType_SetDefaultIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9171 PyObject
* _resultobj
;
9174 wxString
* _arg1
= (wxString
*) &wxPyEmptyString
;
9175 int _arg2
= (int ) 0;
9176 PyObject
* _argo0
= 0;
9177 PyObject
* _obj1
= 0;
9178 char *_kwnames
[] = { "self","cmd","index", NULL
};
9181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|Oi:wxFileType_SetDefaultIcon",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
9184 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9185 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
9186 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_SetDefaultIcon. Expected _wxFileType_p.");
9192 _arg1
= wxString_in_helper(_obj1
);
9197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9198 _result
= (bool )wxFileType_SetDefaultIcon(_arg0
,*_arg1
,_arg2
);
9200 wxPyEndAllowThreads(__tstate
);
9201 if (PyErr_Occurred()) return NULL
;
9202 } _resultobj
= Py_BuildValue("i",_result
);
9210 #define wxFileType_Unassociate(_swigobj) (_swigobj->Unassociate())
9211 static PyObject
*_wrap_wxFileType_Unassociate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9212 PyObject
* _resultobj
;
9215 PyObject
* _argo0
= 0;
9216 char *_kwnames
[] = { "self", NULL
};
9219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_Unassociate",_kwnames
,&_argo0
))
9222 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9223 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
9224 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_Unassociate. Expected _wxFileType_p.");
9229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9230 _result
= (bool )wxFileType_Unassociate(_arg0
);
9232 wxPyEndAllowThreads(__tstate
);
9233 if (PyErr_Occurred()) return NULL
;
9234 } _resultobj
= Py_BuildValue("i",_result
);
9238 static PyObject
*_wrap_wxFileType_ExpandCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9239 PyObject
* _resultobj
;
9242 wxFileType::MessageParameters
* _arg1
;
9243 PyObject
* _obj0
= 0;
9244 PyObject
* _argo1
= 0;
9245 char *_kwnames
[] = { "command","params", NULL
};
9248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileType_ExpandCommand",_kwnames
,&_obj0
,&_argo1
))
9251 _arg0
= wxString_in_helper(_obj0
);
9256 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9257 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFileType::MessageParameters_p")) {
9258 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFileType_ExpandCommand. Expected _wxFileType::MessageParameters_p.");
9263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9264 _result
= new wxString (wxFileType::ExpandCommand(*_arg0
,*_arg1
));
9266 wxPyEndAllowThreads(__tstate
);
9267 if (PyErr_Occurred()) return NULL
;
9270 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
9272 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9285 #define delete_wxFileType(_swigobj) (delete _swigobj)
9286 static PyObject
*_wrap_delete_wxFileType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9287 PyObject
* _resultobj
;
9289 PyObject
* _argo0
= 0;
9290 char *_kwnames
[] = { "self", NULL
};
9293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxFileType",_kwnames
,&_argo0
))
9296 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9297 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
9298 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxFileType. Expected _wxFileType_p.");
9303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9304 delete_wxFileType(_arg0
);
9306 wxPyEndAllowThreads(__tstate
);
9307 if (PyErr_Occurred()) return NULL
;
9308 } Py_INCREF(Py_None
);
9309 _resultobj
= Py_None
;
9313 static PyObject
*_wrap_wxMimeTypesManager_IsOfType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9314 PyObject
* _resultobj
;
9318 PyObject
* _obj0
= 0;
9319 PyObject
* _obj1
= 0;
9320 char *_kwnames
[] = { "mimeType","wildcard", NULL
};
9323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_IsOfType",_kwnames
,&_obj0
,&_obj1
))
9326 _arg0
= wxString_in_helper(_obj0
);
9331 _arg1
= wxString_in_helper(_obj1
);
9336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9337 _result
= (bool )wxMimeTypesManager::IsOfType(*_arg0
,*_arg1
);
9339 wxPyEndAllowThreads(__tstate
);
9340 if (PyErr_Occurred()) return NULL
;
9341 } _resultobj
= Py_BuildValue("i",_result
);
9353 #define new_wxMimeTypesManager() (new wxMimeTypesManager())
9354 static PyObject
*_wrap_new_wxMimeTypesManager(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9355 PyObject
* _resultobj
;
9356 wxMimeTypesManager
* _result
;
9357 char *_kwnames
[] = { NULL
};
9361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxMimeTypesManager",_kwnames
))
9364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9365 _result
= (wxMimeTypesManager
*)new_wxMimeTypesManager();
9367 wxPyEndAllowThreads(__tstate
);
9368 if (PyErr_Occurred()) return NULL
;
9370 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMimeTypesManager_p");
9371 _resultobj
= Py_BuildValue("s",_ptemp
);
9374 _resultobj
= Py_None
;
9379 #define wxMimeTypesManager_Initialize(_swigobj,_swigarg0,_swigarg1) (_swigobj->Initialize(_swigarg0,_swigarg1))
9380 static PyObject
*_wrap_wxMimeTypesManager_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9381 PyObject
* _resultobj
;
9382 wxMimeTypesManager
* _arg0
;
9383 int _arg1
= (int ) (wxMAILCAP_STANDARD
);
9384 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
9385 PyObject
* _argo0
= 0;
9386 PyObject
* _obj2
= 0;
9387 char *_kwnames
[] = { "self","mailcapStyle","extraDir", NULL
};
9390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iO:wxMimeTypesManager_Initialize",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
9393 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9394 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9395 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_Initialize. Expected _wxMimeTypesManager_p.");
9401 _arg2
= wxString_in_helper(_obj2
);
9406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9407 wxMimeTypesManager_Initialize(_arg0
,_arg1
,*_arg2
);
9409 wxPyEndAllowThreads(__tstate
);
9410 if (PyErr_Occurred()) return NULL
;
9411 } Py_INCREF(Py_None
);
9412 _resultobj
= Py_None
;
9420 #define wxMimeTypesManager_ClearData(_swigobj) (_swigobj->ClearData())
9421 static PyObject
*_wrap_wxMimeTypesManager_ClearData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9422 PyObject
* _resultobj
;
9423 wxMimeTypesManager
* _arg0
;
9424 PyObject
* _argo0
= 0;
9425 char *_kwnames
[] = { "self", NULL
};
9428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMimeTypesManager_ClearData",_kwnames
,&_argo0
))
9431 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9432 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9433 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_ClearData. Expected _wxMimeTypesManager_p.");
9438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9439 wxMimeTypesManager_ClearData(_arg0
);
9441 wxPyEndAllowThreads(__tstate
);
9442 if (PyErr_Occurred()) return NULL
;
9443 } Py_INCREF(Py_None
);
9444 _resultobj
= Py_None
;
9448 #define wxMimeTypesManager_GetFileTypeFromExtension(_swigobj,_swigarg0) (_swigobj->GetFileTypeFromExtension(_swigarg0))
9449 static PyObject
*_wrap_wxMimeTypesManager_GetFileTypeFromExtension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9450 PyObject
* _resultobj
;
9451 wxFileType
* _result
;
9452 wxMimeTypesManager
* _arg0
;
9454 PyObject
* _argo0
= 0;
9455 PyObject
* _obj1
= 0;
9456 char *_kwnames
[] = { "self","ext", NULL
};
9460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_GetFileTypeFromExtension",_kwnames
,&_argo0
,&_obj1
))
9463 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9464 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9465 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_GetFileTypeFromExtension. Expected _wxMimeTypesManager_p.");
9470 _arg1
= wxString_in_helper(_obj1
);
9475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9476 _result
= (wxFileType
*)wxMimeTypesManager_GetFileTypeFromExtension(_arg0
,*_arg1
);
9478 wxPyEndAllowThreads(__tstate
);
9479 if (PyErr_Occurred()) return NULL
;
9481 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileType_p");
9482 _resultobj
= Py_BuildValue("s",_ptemp
);
9485 _resultobj
= Py_None
;
9494 #define wxMimeTypesManager_GetFileTypeFromMimeType(_swigobj,_swigarg0) (_swigobj->GetFileTypeFromMimeType(_swigarg0))
9495 static PyObject
*_wrap_wxMimeTypesManager_GetFileTypeFromMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9496 PyObject
* _resultobj
;
9497 wxFileType
* _result
;
9498 wxMimeTypesManager
* _arg0
;
9500 PyObject
* _argo0
= 0;
9501 PyObject
* _obj1
= 0;
9502 char *_kwnames
[] = { "self","mimeType", NULL
};
9506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_GetFileTypeFromMimeType",_kwnames
,&_argo0
,&_obj1
))
9509 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9510 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9511 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_GetFileTypeFromMimeType. Expected _wxMimeTypesManager_p.");
9516 _arg1
= wxString_in_helper(_obj1
);
9521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9522 _result
= (wxFileType
*)wxMimeTypesManager_GetFileTypeFromMimeType(_arg0
,*_arg1
);
9524 wxPyEndAllowThreads(__tstate
);
9525 if (PyErr_Occurred()) return NULL
;
9527 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileType_p");
9528 _resultobj
= Py_BuildValue("s",_ptemp
);
9531 _resultobj
= Py_None
;
9540 #define wxMimeTypesManager_ReadMailcap(_swigobj,_swigarg0,_swigarg1) (_swigobj->ReadMailcap(_swigarg0,_swigarg1))
9541 static PyObject
*_wrap_wxMimeTypesManager_ReadMailcap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9542 PyObject
* _resultobj
;
9544 wxMimeTypesManager
* _arg0
;
9546 bool _arg2
= (bool ) FALSE
;
9547 PyObject
* _argo0
= 0;
9548 PyObject
* _obj1
= 0;
9549 int tempbool2
= (int) FALSE
;
9550 char *_kwnames
[] = { "self","filename","fallback", NULL
};
9553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxMimeTypesManager_ReadMailcap",_kwnames
,&_argo0
,&_obj1
,&tempbool2
))
9556 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9557 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9558 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_ReadMailcap. Expected _wxMimeTypesManager_p.");
9563 _arg1
= wxString_in_helper(_obj1
);
9567 _arg2
= (bool ) tempbool2
;
9569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9570 _result
= (bool )wxMimeTypesManager_ReadMailcap(_arg0
,*_arg1
,_arg2
);
9572 wxPyEndAllowThreads(__tstate
);
9573 if (PyErr_Occurred()) return NULL
;
9574 } _resultobj
= Py_BuildValue("i",_result
);
9582 #define wxMimeTypesManager_ReadMimeTypes(_swigobj,_swigarg0) (_swigobj->ReadMimeTypes(_swigarg0))
9583 static PyObject
*_wrap_wxMimeTypesManager_ReadMimeTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9584 PyObject
* _resultobj
;
9586 wxMimeTypesManager
* _arg0
;
9588 PyObject
* _argo0
= 0;
9589 PyObject
* _obj1
= 0;
9590 char *_kwnames
[] = { "self","filename", NULL
};
9593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_ReadMimeTypes",_kwnames
,&_argo0
,&_obj1
))
9596 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9597 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9598 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_ReadMimeTypes. Expected _wxMimeTypesManager_p.");
9603 _arg1
= wxString_in_helper(_obj1
);
9608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9609 _result
= (bool )wxMimeTypesManager_ReadMimeTypes(_arg0
,*_arg1
);
9611 wxPyEndAllowThreads(__tstate
);
9612 if (PyErr_Occurred()) return NULL
;
9613 } _resultobj
= Py_BuildValue("i",_result
);
9621 static PyObject
* wxMimeTypesManager_EnumAllFileTypes(wxMimeTypesManager
*self
) {
9623 self
->EnumAllFileTypes(arr
);
9624 return wxArrayString2PyList_helper(arr
);
9626 static PyObject
*_wrap_wxMimeTypesManager_EnumAllFileTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9627 PyObject
* _resultobj
;
9629 wxMimeTypesManager
* _arg0
;
9630 PyObject
* _argo0
= 0;
9631 char *_kwnames
[] = { "self", NULL
};
9634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMimeTypesManager_EnumAllFileTypes",_kwnames
,&_argo0
))
9637 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9638 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9639 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_EnumAllFileTypes. Expected _wxMimeTypesManager_p.");
9644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9645 _result
= (PyObject
*)wxMimeTypesManager_EnumAllFileTypes(_arg0
);
9647 wxPyEndAllowThreads(__tstate
);
9648 if (PyErr_Occurred()) return NULL
;
9650 _resultobj
= _result
;
9655 #define wxMimeTypesManager_AddFallback(_swigobj,_swigarg0) (_swigobj->AddFallback(_swigarg0))
9656 static PyObject
*_wrap_wxMimeTypesManager_AddFallback(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9657 PyObject
* _resultobj
;
9658 wxMimeTypesManager
* _arg0
;
9659 wxFileTypeInfo
* _arg1
;
9660 PyObject
* _argo0
= 0;
9661 PyObject
* _argo1
= 0;
9662 char *_kwnames
[] = { "self","ft", NULL
};
9665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_AddFallback",_kwnames
,&_argo0
,&_argo1
))
9668 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9669 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9670 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_AddFallback. Expected _wxMimeTypesManager_p.");
9675 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9676 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFileTypeInfo_p")) {
9677 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMimeTypesManager_AddFallback. Expected _wxFileTypeInfo_p.");
9682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9683 wxMimeTypesManager_AddFallback(_arg0
,*_arg1
);
9685 wxPyEndAllowThreads(__tstate
);
9686 if (PyErr_Occurred()) return NULL
;
9687 } Py_INCREF(Py_None
);
9688 _resultobj
= Py_None
;
9692 #define wxMimeTypesManager_Associate(_swigobj,_swigarg0) (_swigobj->Associate(_swigarg0))
9693 static PyObject
*_wrap_wxMimeTypesManager_Associate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9694 PyObject
* _resultobj
;
9695 wxFileType
* _result
;
9696 wxMimeTypesManager
* _arg0
;
9697 wxFileTypeInfo
* _arg1
;
9698 PyObject
* _argo0
= 0;
9699 PyObject
* _argo1
= 0;
9700 char *_kwnames
[] = { "self","ftInfo", NULL
};
9704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_Associate",_kwnames
,&_argo0
,&_argo1
))
9707 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9708 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9709 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_Associate. Expected _wxMimeTypesManager_p.");
9714 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9715 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFileTypeInfo_p")) {
9716 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMimeTypesManager_Associate. Expected _wxFileTypeInfo_p.");
9721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9722 _result
= (wxFileType
*)wxMimeTypesManager_Associate(_arg0
,*_arg1
);
9724 wxPyEndAllowThreads(__tstate
);
9725 if (PyErr_Occurred()) return NULL
;
9727 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileType_p");
9728 _resultobj
= Py_BuildValue("s",_ptemp
);
9731 _resultobj
= Py_None
;
9736 #define wxMimeTypesManager_Unassociate(_swigobj,_swigarg0) (_swigobj->Unassociate(_swigarg0))
9737 static PyObject
*_wrap_wxMimeTypesManager_Unassociate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9738 PyObject
* _resultobj
;
9740 wxMimeTypesManager
* _arg0
;
9742 PyObject
* _argo0
= 0;
9743 PyObject
* _argo1
= 0;
9744 char *_kwnames
[] = { "self","ft", NULL
};
9747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_Unassociate",_kwnames
,&_argo0
,&_argo1
))
9750 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9751 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9752 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_Unassociate. Expected _wxMimeTypesManager_p.");
9757 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9758 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFileType_p")) {
9759 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMimeTypesManager_Unassociate. Expected _wxFileType_p.");
9764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9765 _result
= (bool )wxMimeTypesManager_Unassociate(_arg0
,_arg1
);
9767 wxPyEndAllowThreads(__tstate
);
9768 if (PyErr_Occurred()) return NULL
;
9769 } _resultobj
= Py_BuildValue("i",_result
);
9773 #define delete_wxMimeTypesManager(_swigobj) (delete _swigobj)
9774 static PyObject
*_wrap_delete_wxMimeTypesManager(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9775 PyObject
* _resultobj
;
9776 wxMimeTypesManager
* _arg0
;
9777 PyObject
* _argo0
= 0;
9778 char *_kwnames
[] = { "self", NULL
};
9781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxMimeTypesManager",_kwnames
,&_argo0
))
9784 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9785 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9786 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxMimeTypesManager. Expected _wxMimeTypesManager_p.");
9791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9792 delete_wxMimeTypesManager(_arg0
);
9794 wxPyEndAllowThreads(__tstate
);
9795 if (PyErr_Occurred()) return NULL
;
9796 } Py_INCREF(Py_None
);
9797 _resultobj
= Py_None
;
9801 static void *SwigwxPyArtProviderTowxObject(void *ptr
) {
9802 wxPyArtProvider
*src
;
9804 src
= (wxPyArtProvider
*) ptr
;
9805 dest
= (wxObject
*) src
;
9806 return (void *) dest
;
9809 #define new_wxArtProvider() (new wxPyArtProvider())
9810 static PyObject
*_wrap_new_wxArtProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9811 PyObject
* _resultobj
;
9812 wxPyArtProvider
* _result
;
9813 char *_kwnames
[] = { NULL
};
9817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxArtProvider",_kwnames
))
9820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9821 _result
= (wxPyArtProvider
*)new_wxArtProvider();
9823 wxPyEndAllowThreads(__tstate
);
9824 if (PyErr_Occurred()) return NULL
;
9826 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyArtProvider_p");
9827 _resultobj
= Py_BuildValue("s",_ptemp
);
9830 _resultobj
= Py_None
;
9835 #define wxArtProvider__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
9836 static PyObject
*_wrap_wxArtProvider__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9837 PyObject
* _resultobj
;
9838 wxPyArtProvider
* _arg0
;
9841 PyObject
* _argo0
= 0;
9842 PyObject
* _obj1
= 0;
9843 PyObject
* _obj2
= 0;
9844 char *_kwnames
[] = { "self","self","_class", NULL
};
9847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxArtProvider__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
9850 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9851 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyArtProvider_p")) {
9852 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxArtProvider__setCallbackInfo. Expected _wxPyArtProvider_p.");
9863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9864 wxArtProvider__setCallbackInfo(_arg0
,_arg1
,_arg2
);
9866 wxPyEndAllowThreads(__tstate
);
9867 if (PyErr_Occurred()) return NULL
;
9868 } Py_INCREF(Py_None
);
9869 _resultobj
= Py_None
;
9873 static PyObject
*_wrap_wxArtProvider_PushProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9874 PyObject
* _resultobj
;
9875 wxPyArtProvider
* _arg0
;
9876 PyObject
* _argo0
= 0;
9877 char *_kwnames
[] = { "provider", NULL
};
9880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxArtProvider_PushProvider",_kwnames
,&_argo0
))
9883 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9884 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyArtProvider_p")) {
9885 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxArtProvider_PushProvider. Expected _wxPyArtProvider_p.");
9890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9891 wxPyArtProvider::PushProvider(_arg0
);
9893 wxPyEndAllowThreads(__tstate
);
9894 if (PyErr_Occurred()) return NULL
;
9895 } Py_INCREF(Py_None
);
9896 _resultobj
= Py_None
;
9900 static PyObject
*_wrap_wxArtProvider_PopProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9901 PyObject
* _resultobj
;
9903 char *_kwnames
[] = { NULL
};
9906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxArtProvider_PopProvider",_kwnames
))
9909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9910 _result
= (bool )wxPyArtProvider::PopProvider();
9912 wxPyEndAllowThreads(__tstate
);
9913 if (PyErr_Occurred()) return NULL
;
9914 } _resultobj
= Py_BuildValue("i",_result
);
9918 static PyObject
*_wrap_wxArtProvider_RemoveProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9919 PyObject
* _resultobj
;
9921 wxPyArtProvider
* _arg0
;
9922 PyObject
* _argo0
= 0;
9923 char *_kwnames
[] = { "provider", NULL
};
9926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxArtProvider_RemoveProvider",_kwnames
,&_argo0
))
9929 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9930 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyArtProvider_p")) {
9931 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxArtProvider_RemoveProvider. Expected _wxPyArtProvider_p.");
9936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9937 _result
= (bool )wxPyArtProvider::RemoveProvider(_arg0
);
9939 wxPyEndAllowThreads(__tstate
);
9940 if (PyErr_Occurred()) return NULL
;
9941 } _resultobj
= Py_BuildValue("i",_result
);
9945 static PyObject
*_wrap_wxArtProvider_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9946 PyObject
* _resultobj
;
9949 wxString
* _arg1
= (wxString
*) &wxPyART_OTHER
;
9950 wxSize
* _arg2
= (wxSize
*) &wxDefaultSize
;
9951 PyObject
* _obj0
= 0;
9952 PyObject
* _obj1
= 0;
9954 PyObject
* _obj2
= 0;
9955 char *_kwnames
[] = { "id","client","size", NULL
};
9959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|OO:wxArtProvider_GetBitmap",_kwnames
,&_obj0
,&_obj1
,&_obj2
))
9962 _arg0
= wxString_in_helper(_obj0
);
9968 _arg1
= wxString_in_helper(_obj1
);
9975 if (! wxSize_helper(_obj2
, &_arg2
))
9979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9980 _result
= new wxBitmap (wxPyArtProvider::GetBitmap(*_arg0
,*_arg1
,*_arg2
));
9982 wxPyEndAllowThreads(__tstate
);
9983 if (PyErr_Occurred()) return NULL
;
9984 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBitmap_p");
9985 _resultobj
= Py_BuildValue("s",_ptemp
);
9997 static PyObject
*_wrap_wxArtProvider_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9998 PyObject
* _resultobj
;
10001 wxString
* _arg1
= (wxString
*) &wxPyART_OTHER
;
10002 wxSize
* _arg2
= (wxSize
*) &wxDefaultSize
;
10003 PyObject
* _obj0
= 0;
10004 PyObject
* _obj1
= 0;
10006 PyObject
* _obj2
= 0;
10007 char *_kwnames
[] = { "id","client","size", NULL
};
10011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|OO:wxArtProvider_GetIcon",_kwnames
,&_obj0
,&_obj1
,&_obj2
))
10014 _arg0
= wxString_in_helper(_obj0
);
10020 _arg1
= wxString_in_helper(_obj1
);
10027 if (! wxSize_helper(_obj2
, &_arg2
))
10031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10032 _result
= new wxIcon (wxPyArtProvider::GetIcon(*_arg0
,*_arg1
,*_arg2
));
10034 wxPyEndAllowThreads(__tstate
);
10035 if (PyErr_Occurred()) return NULL
;
10036 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxIcon_p");
10037 _resultobj
= Py_BuildValue("s",_ptemp
);
10049 static PyObject
*_wrap_wxArtProvider_CleanUpProviders(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10050 PyObject
* _resultobj
;
10051 char *_kwnames
[] = { NULL
};
10054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxArtProvider_CleanUpProviders",_kwnames
))
10057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10058 wxPyArtProvider::CleanUpProviders();
10060 wxPyEndAllowThreads(__tstate
);
10061 if (PyErr_Occurred()) return NULL
;
10062 } Py_INCREF(Py_None
);
10063 _resultobj
= Py_None
;
10067 static void *SwigwxFileHistoryTowxObject(void *ptr
) {
10068 wxFileHistory
*src
;
10070 src
= (wxFileHistory
*) ptr
;
10071 dest
= (wxObject
*) src
;
10072 return (void *) dest
;
10075 #define new_wxFileHistory(_swigarg0) (new wxFileHistory(_swigarg0))
10076 static PyObject
*_wrap_new_wxFileHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10077 PyObject
* _resultobj
;
10078 wxFileHistory
* _result
;
10079 int _arg0
= (int ) 9;
10080 char *_kwnames
[] = { "maxFiles", NULL
};
10084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxFileHistory",_kwnames
,&_arg0
))
10087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10088 _result
= (wxFileHistory
*)new_wxFileHistory(_arg0
);
10090 wxPyEndAllowThreads(__tstate
);
10091 if (PyErr_Occurred()) return NULL
;
10093 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileHistory_p");
10094 _resultobj
= Py_BuildValue("s",_ptemp
);
10096 Py_INCREF(Py_None
);
10097 _resultobj
= Py_None
;
10102 #define delete_wxFileHistory(_swigobj) (delete _swigobj)
10103 static PyObject
*_wrap_delete_wxFileHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10104 PyObject
* _resultobj
;
10105 wxFileHistory
* _arg0
;
10106 PyObject
* _argo0
= 0;
10107 char *_kwnames
[] = { "self", NULL
};
10110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxFileHistory",_kwnames
,&_argo0
))
10113 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10114 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
10115 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxFileHistory. Expected _wxFileHistory_p.");
10120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10121 delete_wxFileHistory(_arg0
);
10123 wxPyEndAllowThreads(__tstate
);
10124 if (PyErr_Occurred()) return NULL
;
10125 } Py_INCREF(Py_None
);
10126 _resultobj
= Py_None
;
10130 #define wxFileHistory_AddFileToHistory(_swigobj,_swigarg0) (_swigobj->AddFileToHistory(_swigarg0))
10131 static PyObject
*_wrap_wxFileHistory_AddFileToHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10132 PyObject
* _resultobj
;
10133 wxFileHistory
* _arg0
;
10135 PyObject
* _argo0
= 0;
10136 PyObject
* _obj1
= 0;
10137 char *_kwnames
[] = { "self","file", NULL
};
10140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileHistory_AddFileToHistory",_kwnames
,&_argo0
,&_obj1
))
10143 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10144 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
10145 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_AddFileToHistory. Expected _wxFileHistory_p.");
10150 _arg1
= wxString_in_helper(_obj1
);
10155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10156 wxFileHistory_AddFileToHistory(_arg0
,*_arg1
);
10158 wxPyEndAllowThreads(__tstate
);
10159 if (PyErr_Occurred()) return NULL
;
10160 } Py_INCREF(Py_None
);
10161 _resultobj
= Py_None
;
10169 #define wxFileHistory_RemoveFileFromHistory(_swigobj,_swigarg0) (_swigobj->RemoveFileFromHistory(_swigarg0))
10170 static PyObject
*_wrap_wxFileHistory_RemoveFileFromHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10171 PyObject
* _resultobj
;
10172 wxFileHistory
* _arg0
;
10174 PyObject
* _argo0
= 0;
10175 char *_kwnames
[] = { "self","i", NULL
};
10178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFileHistory_RemoveFileFromHistory",_kwnames
,&_argo0
,&_arg1
))
10181 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10182 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
10183 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_RemoveFileFromHistory. Expected _wxFileHistory_p.");
10188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10189 wxFileHistory_RemoveFileFromHistory(_arg0
,_arg1
);
10191 wxPyEndAllowThreads(__tstate
);
10192 if (PyErr_Occurred()) return NULL
;
10193 } Py_INCREF(Py_None
);
10194 _resultobj
= Py_None
;
10198 #define wxFileHistory_GetMaxFiles(_swigobj) (_swigobj->GetMaxFiles())
10199 static PyObject
*_wrap_wxFileHistory_GetMaxFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10200 PyObject
* _resultobj
;
10202 wxFileHistory
* _arg0
;
10203 PyObject
* _argo0
= 0;
10204 char *_kwnames
[] = { "self", NULL
};
10207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileHistory_GetMaxFiles",_kwnames
,&_argo0
))
10210 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10211 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
10212 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_GetMaxFiles. Expected _wxFileHistory_p.");
10217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10218 _result
= (int )wxFileHistory_GetMaxFiles(_arg0
);
10220 wxPyEndAllowThreads(__tstate
);
10221 if (PyErr_Occurred()) return NULL
;
10222 } _resultobj
= Py_BuildValue("i",_result
);
10226 #define wxFileHistory_UseMenu(_swigobj,_swigarg0) (_swigobj->UseMenu(_swigarg0))
10227 static PyObject
*_wrap_wxFileHistory_UseMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10228 PyObject
* _resultobj
;
10229 wxFileHistory
* _arg0
;
10231 PyObject
* _argo0
= 0;
10232 PyObject
* _argo1
= 0;
10233 char *_kwnames
[] = { "self","menu", NULL
};
10236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileHistory_UseMenu",_kwnames
,&_argo0
,&_argo1
))
10239 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10240 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
10241 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_UseMenu. Expected _wxFileHistory_p.");
10246 if (_argo1
== Py_None
) { _arg1
= NULL
; }
10247 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
10248 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFileHistory_UseMenu. Expected _wxMenu_p.");
10253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10254 wxFileHistory_UseMenu(_arg0
,_arg1
);
10256 wxPyEndAllowThreads(__tstate
);
10257 if (PyErr_Occurred()) return NULL
;
10258 } Py_INCREF(Py_None
);
10259 _resultobj
= Py_None
;
10263 #define wxFileHistory_RemoveMenu(_swigobj,_swigarg0) (_swigobj->RemoveMenu(_swigarg0))
10264 static PyObject
*_wrap_wxFileHistory_RemoveMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10265 PyObject
* _resultobj
;
10266 wxFileHistory
* _arg0
;
10268 PyObject
* _argo0
= 0;
10269 PyObject
* _argo1
= 0;
10270 char *_kwnames
[] = { "self","menu", NULL
};
10273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileHistory_RemoveMenu",_kwnames
,&_argo0
,&_argo1
))
10276 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10277 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
10278 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_RemoveMenu. Expected _wxFileHistory_p.");
10283 if (_argo1
== Py_None
) { _arg1
= NULL
; }
10284 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
10285 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFileHistory_RemoveMenu. Expected _wxMenu_p.");
10290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10291 wxFileHistory_RemoveMenu(_arg0
,_arg1
);
10293 wxPyEndAllowThreads(__tstate
);
10294 if (PyErr_Occurred()) return NULL
;
10295 } Py_INCREF(Py_None
);
10296 _resultobj
= Py_None
;
10300 #define wxFileHistory_Load(_swigobj,_swigarg0) (_swigobj->Load(_swigarg0))
10301 static PyObject
*_wrap_wxFileHistory_Load(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10302 PyObject
* _resultobj
;
10303 wxFileHistory
* _arg0
;
10304 wxConfigBase
* _arg1
;
10305 PyObject
* _argo0
= 0;
10306 PyObject
* _argo1
= 0;
10307 char *_kwnames
[] = { "self","config", NULL
};
10310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileHistory_Load",_kwnames
,&_argo0
,&_argo1
))
10313 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10314 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
10315 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_Load. Expected _wxFileHistory_p.");
10320 if (_argo1
== Py_None
) { _arg1
= NULL
; }
10321 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxConfigBase_p")) {
10322 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFileHistory_Load. Expected _wxConfigBase_p.");
10327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10328 wxFileHistory_Load(_arg0
,*_arg1
);
10330 wxPyEndAllowThreads(__tstate
);
10331 if (PyErr_Occurred()) return NULL
;
10332 } Py_INCREF(Py_None
);
10333 _resultobj
= Py_None
;
10337 #define wxFileHistory_Save(_swigobj,_swigarg0) (_swigobj->Save(_swigarg0))
10338 static PyObject
*_wrap_wxFileHistory_Save(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10339 PyObject
* _resultobj
;
10340 wxFileHistory
* _arg0
;
10341 wxConfigBase
* _arg1
;
10342 PyObject
* _argo0
= 0;
10343 PyObject
* _argo1
= 0;
10344 char *_kwnames
[] = { "self","config", NULL
};
10347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileHistory_Save",_kwnames
,&_argo0
,&_argo1
))
10350 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10351 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
10352 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_Save. Expected _wxFileHistory_p.");
10357 if (_argo1
== Py_None
) { _arg1
= NULL
; }
10358 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxConfigBase_p")) {
10359 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFileHistory_Save. Expected _wxConfigBase_p.");
10364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10365 wxFileHistory_Save(_arg0
,*_arg1
);
10367 wxPyEndAllowThreads(__tstate
);
10368 if (PyErr_Occurred()) return NULL
;
10369 } Py_INCREF(Py_None
);
10370 _resultobj
= Py_None
;
10374 #define wxFileHistory_AddFilesToMenu(_swigobj) (_swigobj->AddFilesToMenu())
10375 static PyObject
*_wrap_wxFileHistory_AddFilesToMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10376 PyObject
* _resultobj
;
10377 wxFileHistory
* _arg0
;
10378 PyObject
* _argo0
= 0;
10379 char *_kwnames
[] = { "self", NULL
};
10382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileHistory_AddFilesToMenu",_kwnames
,&_argo0
))
10385 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10386 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
10387 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_AddFilesToMenu. Expected _wxFileHistory_p.");
10392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10393 wxFileHistory_AddFilesToMenu(_arg0
);
10395 wxPyEndAllowThreads(__tstate
);
10396 if (PyErr_Occurred()) return NULL
;
10397 } Py_INCREF(Py_None
);
10398 _resultobj
= Py_None
;
10402 #define wxFileHistory_AddFilesToThisMenu(_swigobj,_swigarg0) (_swigobj->AddFilesToMenu(_swigarg0))
10403 static PyObject
*_wrap_wxFileHistory_AddFilesToThisMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10404 PyObject
* _resultobj
;
10405 wxFileHistory
* _arg0
;
10407 PyObject
* _argo0
= 0;
10408 PyObject
* _argo1
= 0;
10409 char *_kwnames
[] = { "self","menu", NULL
};
10412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileHistory_AddFilesToThisMenu",_kwnames
,&_argo0
,&_argo1
))
10415 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10416 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
10417 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_AddFilesToThisMenu. Expected _wxFileHistory_p.");
10422 if (_argo1
== Py_None
) { _arg1
= NULL
; }
10423 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
10424 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFileHistory_AddFilesToThisMenu. Expected _wxMenu_p.");
10429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10430 wxFileHistory_AddFilesToThisMenu(_arg0
,_arg1
);
10432 wxPyEndAllowThreads(__tstate
);
10433 if (PyErr_Occurred()) return NULL
;
10434 } Py_INCREF(Py_None
);
10435 _resultobj
= Py_None
;
10439 #define wxFileHistory_GetHistoryFile(_swigobj,_swigarg0) (_swigobj->GetHistoryFile(_swigarg0))
10440 static PyObject
*_wrap_wxFileHistory_GetHistoryFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10441 PyObject
* _resultobj
;
10442 wxString
* _result
;
10443 wxFileHistory
* _arg0
;
10445 PyObject
* _argo0
= 0;
10446 char *_kwnames
[] = { "self","i", NULL
};
10449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFileHistory_GetHistoryFile",_kwnames
,&_argo0
,&_arg1
))
10452 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10453 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
10454 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_GetHistoryFile. Expected _wxFileHistory_p.");
10459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10460 _result
= new wxString (wxFileHistory_GetHistoryFile(_arg0
,_arg1
));
10462 wxPyEndAllowThreads(__tstate
);
10463 if (PyErr_Occurred()) return NULL
;
10466 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
10468 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
10477 #define wxFileHistory_GetCount(_swigobj) (_swigobj->GetCount())
10478 static PyObject
*_wrap_wxFileHistory_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10479 PyObject
* _resultobj
;
10481 wxFileHistory
* _arg0
;
10482 PyObject
* _argo0
= 0;
10483 char *_kwnames
[] = { "self", NULL
};
10486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileHistory_GetCount",_kwnames
,&_argo0
))
10489 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10490 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
10491 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_GetCount. Expected _wxFileHistory_p.");
10496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10497 _result
= (int )wxFileHistory_GetCount(_arg0
);
10499 wxPyEndAllowThreads(__tstate
);
10500 if (PyErr_Occurred()) return NULL
;
10501 } _resultobj
= Py_BuildValue("i",_result
);
10505 #define wxFileHistory_GetNoHistoryFiles(_swigobj) (_swigobj->GetNoHistoryFiles())
10506 static PyObject
*_wrap_wxFileHistory_GetNoHistoryFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10507 PyObject
* _resultobj
;
10509 wxFileHistory
* _arg0
;
10510 PyObject
* _argo0
= 0;
10511 char *_kwnames
[] = { "self", NULL
};
10514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileHistory_GetNoHistoryFiles",_kwnames
,&_argo0
))
10517 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10518 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
10519 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_GetNoHistoryFiles. Expected _wxFileHistory_p.");
10524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10525 _result
= (int )wxFileHistory_GetNoHistoryFiles(_arg0
);
10527 wxPyEndAllowThreads(__tstate
);
10528 if (PyErr_Occurred()) return NULL
;
10529 } _resultobj
= Py_BuildValue("i",_result
);
10533 static void *SwigwxEffectsTowxObject(void *ptr
) {
10536 src
= (wxEffects
*) ptr
;
10537 dest
= (wxObject
*) src
;
10538 return (void *) dest
;
10541 #define new_wxEffects() (new wxEffects())
10542 static PyObject
*_wrap_new_wxEffects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10543 PyObject
* _resultobj
;
10544 wxEffects
* _result
;
10545 char *_kwnames
[] = { NULL
};
10549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxEffects",_kwnames
))
10552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10553 _result
= (wxEffects
*)new_wxEffects();
10555 wxPyEndAllowThreads(__tstate
);
10556 if (PyErr_Occurred()) return NULL
;
10558 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxEffects_p");
10559 _resultobj
= Py_BuildValue("s",_ptemp
);
10561 Py_INCREF(Py_None
);
10562 _resultobj
= Py_None
;
10567 #define wxEffects_GetHighlightColour(_swigobj) (_swigobj->GetHighlightColour())
10568 static PyObject
*_wrap_wxEffects_GetHighlightColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10569 PyObject
* _resultobj
;
10570 wxColour
* _result
;
10572 PyObject
* _argo0
= 0;
10573 char *_kwnames
[] = { "self", NULL
};
10577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEffects_GetHighlightColour",_kwnames
,&_argo0
))
10580 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10581 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEffects_p")) {
10582 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEffects_GetHighlightColour. Expected _wxEffects_p.");
10587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10588 _result
= new wxColour (wxEffects_GetHighlightColour(_arg0
));
10590 wxPyEndAllowThreads(__tstate
);
10591 if (PyErr_Occurred()) return NULL
;
10592 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
10593 _resultobj
= Py_BuildValue("s",_ptemp
);
10597 #define wxEffects_GetLightShadow(_swigobj) (_swigobj->GetLightShadow())
10598 static PyObject
*_wrap_wxEffects_GetLightShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10599 PyObject
* _resultobj
;
10600 wxColour
* _result
;
10602 PyObject
* _argo0
= 0;
10603 char *_kwnames
[] = { "self", NULL
};
10607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEffects_GetLightShadow",_kwnames
,&_argo0
))
10610 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10611 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEffects_p")) {
10612 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEffects_GetLightShadow. Expected _wxEffects_p.");
10617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10618 _result
= new wxColour (wxEffects_GetLightShadow(_arg0
));
10620 wxPyEndAllowThreads(__tstate
);
10621 if (PyErr_Occurred()) return NULL
;
10622 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
10623 _resultobj
= Py_BuildValue("s",_ptemp
);
10627 #define wxEffects_GetFaceColour(_swigobj) (_swigobj->GetFaceColour())
10628 static PyObject
*_wrap_wxEffects_GetFaceColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10629 PyObject
* _resultobj
;
10630 wxColour
* _result
;
10632 PyObject
* _argo0
= 0;
10633 char *_kwnames
[] = { "self", NULL
};
10637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEffects_GetFaceColour",_kwnames
,&_argo0
))
10640 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10641 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEffects_p")) {
10642 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEffects_GetFaceColour. Expected _wxEffects_p.");
10647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10648 _result
= new wxColour (wxEffects_GetFaceColour(_arg0
));
10650 wxPyEndAllowThreads(__tstate
);
10651 if (PyErr_Occurred()) return NULL
;
10652 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
10653 _resultobj
= Py_BuildValue("s",_ptemp
);
10657 #define wxEffects_GetMediumShadow(_swigobj) (_swigobj->GetMediumShadow())
10658 static PyObject
*_wrap_wxEffects_GetMediumShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10659 PyObject
* _resultobj
;
10660 wxColour
* _result
;
10662 PyObject
* _argo0
= 0;
10663 char *_kwnames
[] = { "self", NULL
};
10667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEffects_GetMediumShadow",_kwnames
,&_argo0
))
10670 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10671 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEffects_p")) {
10672 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEffects_GetMediumShadow. Expected _wxEffects_p.");
10677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10678 _result
= new wxColour (wxEffects_GetMediumShadow(_arg0
));
10680 wxPyEndAllowThreads(__tstate
);
10681 if (PyErr_Occurred()) return NULL
;
10682 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
10683 _resultobj
= Py_BuildValue("s",_ptemp
);
10687 #define wxEffects_GetDarkShadow(_swigobj) (_swigobj->GetDarkShadow())
10688 static PyObject
*_wrap_wxEffects_GetDarkShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10689 PyObject
* _resultobj
;
10690 wxColour
* _result
;
10692 PyObject
* _argo0
= 0;
10693 char *_kwnames
[] = { "self", NULL
};
10697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEffects_GetDarkShadow",_kwnames
,&_argo0
))
10700 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10701 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEffects_p")) {
10702 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEffects_GetDarkShadow. Expected _wxEffects_p.");
10707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10708 _result
= new wxColour (wxEffects_GetDarkShadow(_arg0
));
10710 wxPyEndAllowThreads(__tstate
);
10711 if (PyErr_Occurred()) return NULL
;
10712 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
10713 _resultobj
= Py_BuildValue("s",_ptemp
);
10717 #define wxEffects_SetHighlightColour(_swigobj,_swigarg0) (_swigobj->SetHighlightColour(_swigarg0))
10718 static PyObject
*_wrap_wxEffects_SetHighlightColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10719 PyObject
* _resultobj
;
10722 PyObject
* _argo0
= 0;
10724 PyObject
* _obj1
= 0;
10725 char *_kwnames
[] = { "self","c", NULL
};
10728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxEffects_SetHighlightColour",_kwnames
,&_argo0
,&_obj1
))
10731 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10732 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEffects_p")) {
10733 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEffects_SetHighlightColour. Expected _wxEffects_p.");
10739 if (! wxColour_helper(_obj1
, &_arg1
))
10743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10744 wxEffects_SetHighlightColour(_arg0
,*_arg1
);
10746 wxPyEndAllowThreads(__tstate
);
10747 if (PyErr_Occurred()) return NULL
;
10748 } Py_INCREF(Py_None
);
10749 _resultobj
= Py_None
;
10753 #define wxEffects_SetLightShadow(_swigobj,_swigarg0) (_swigobj->SetLightShadow(_swigarg0))
10754 static PyObject
*_wrap_wxEffects_SetLightShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10755 PyObject
* _resultobj
;
10758 PyObject
* _argo0
= 0;
10760 PyObject
* _obj1
= 0;
10761 char *_kwnames
[] = { "self","c", NULL
};
10764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxEffects_SetLightShadow",_kwnames
,&_argo0
,&_obj1
))
10767 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10768 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEffects_p")) {
10769 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEffects_SetLightShadow. Expected _wxEffects_p.");
10775 if (! wxColour_helper(_obj1
, &_arg1
))
10779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10780 wxEffects_SetLightShadow(_arg0
,*_arg1
);
10782 wxPyEndAllowThreads(__tstate
);
10783 if (PyErr_Occurred()) return NULL
;
10784 } Py_INCREF(Py_None
);
10785 _resultobj
= Py_None
;
10789 #define wxEffects_SetFaceColour(_swigobj,_swigarg0) (_swigobj->SetFaceColour(_swigarg0))
10790 static PyObject
*_wrap_wxEffects_SetFaceColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10791 PyObject
* _resultobj
;
10794 PyObject
* _argo0
= 0;
10796 PyObject
* _obj1
= 0;
10797 char *_kwnames
[] = { "self","c", NULL
};
10800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxEffects_SetFaceColour",_kwnames
,&_argo0
,&_obj1
))
10803 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10804 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEffects_p")) {
10805 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEffects_SetFaceColour. Expected _wxEffects_p.");
10811 if (! wxColour_helper(_obj1
, &_arg1
))
10815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10816 wxEffects_SetFaceColour(_arg0
,*_arg1
);
10818 wxPyEndAllowThreads(__tstate
);
10819 if (PyErr_Occurred()) return NULL
;
10820 } Py_INCREF(Py_None
);
10821 _resultobj
= Py_None
;
10825 #define wxEffects_SetMediumShadow(_swigobj,_swigarg0) (_swigobj->SetMediumShadow(_swigarg0))
10826 static PyObject
*_wrap_wxEffects_SetMediumShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10827 PyObject
* _resultobj
;
10830 PyObject
* _argo0
= 0;
10832 PyObject
* _obj1
= 0;
10833 char *_kwnames
[] = { "self","c", NULL
};
10836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxEffects_SetMediumShadow",_kwnames
,&_argo0
,&_obj1
))
10839 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10840 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEffects_p")) {
10841 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEffects_SetMediumShadow. Expected _wxEffects_p.");
10847 if (! wxColour_helper(_obj1
, &_arg1
))
10851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10852 wxEffects_SetMediumShadow(_arg0
,*_arg1
);
10854 wxPyEndAllowThreads(__tstate
);
10855 if (PyErr_Occurred()) return NULL
;
10856 } Py_INCREF(Py_None
);
10857 _resultobj
= Py_None
;
10861 #define wxEffects_SetDarkShadow(_swigobj,_swigarg0) (_swigobj->SetDarkShadow(_swigarg0))
10862 static PyObject
*_wrap_wxEffects_SetDarkShadow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10863 PyObject
* _resultobj
;
10866 PyObject
* _argo0
= 0;
10868 PyObject
* _obj1
= 0;
10869 char *_kwnames
[] = { "self","c", NULL
};
10872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxEffects_SetDarkShadow",_kwnames
,&_argo0
,&_obj1
))
10875 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10876 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEffects_p")) {
10877 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEffects_SetDarkShadow. Expected _wxEffects_p.");
10883 if (! wxColour_helper(_obj1
, &_arg1
))
10887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10888 wxEffects_SetDarkShadow(_arg0
,*_arg1
);
10890 wxPyEndAllowThreads(__tstate
);
10891 if (PyErr_Occurred()) return NULL
;
10892 } Py_INCREF(Py_None
);
10893 _resultobj
= Py_None
;
10897 #define wxEffects_Set(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->Set(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
10898 static PyObject
*_wrap_wxEffects_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10899 PyObject
* _resultobj
;
10906 PyObject
* _argo0
= 0;
10908 PyObject
* _obj1
= 0;
10910 PyObject
* _obj2
= 0;
10912 PyObject
* _obj3
= 0;
10914 PyObject
* _obj4
= 0;
10916 PyObject
* _obj5
= 0;
10917 char *_kwnames
[] = { "self","highlightColour","lightShadow","faceColour","mediumShadow","darkShadow", NULL
};
10920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOOOO:wxEffects_Set",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&_obj3
,&_obj4
,&_obj5
))
10923 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10924 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEffects_p")) {
10925 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEffects_Set. Expected _wxEffects_p.");
10931 if (! wxColour_helper(_obj1
, &_arg1
))
10936 if (! wxColour_helper(_obj2
, &_arg2
))
10941 if (! wxColour_helper(_obj3
, &_arg3
))
10946 if (! wxColour_helper(_obj4
, &_arg4
))
10951 if (! wxColour_helper(_obj5
, &_arg5
))
10955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10956 wxEffects_Set(_arg0
,*_arg1
,*_arg2
,*_arg3
,*_arg4
,*_arg5
);
10958 wxPyEndAllowThreads(__tstate
);
10959 if (PyErr_Occurred()) return NULL
;
10960 } Py_INCREF(Py_None
);
10961 _resultobj
= Py_None
;
10965 #define wxEffects_DrawSunkenEdge(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawSunkenEdge(_swigarg0,_swigarg1,_swigarg2))
10966 static PyObject
*_wrap_wxEffects_DrawSunkenEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10967 PyObject
* _resultobj
;
10971 int _arg3
= (int ) 1;
10972 PyObject
* _argo0
= 0;
10973 PyObject
* _argo1
= 0;
10975 PyObject
* _obj2
= 0;
10976 char *_kwnames
[] = { "self","dc","rect","borderSize", NULL
};
10979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|i:wxEffects_DrawSunkenEdge",_kwnames
,&_argo0
,&_argo1
,&_obj2
,&_arg3
))
10982 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10983 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEffects_p")) {
10984 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEffects_DrawSunkenEdge. Expected _wxEffects_p.");
10989 if (_argo1
== Py_None
) { _arg1
= NULL
; }
10990 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
10991 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxEffects_DrawSunkenEdge. Expected _wxDC_p.");
10997 if (! wxRect_helper(_obj2
, &_arg2
))
11001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11002 wxEffects_DrawSunkenEdge(_arg0
,*_arg1
,*_arg2
,_arg3
);
11004 wxPyEndAllowThreads(__tstate
);
11005 if (PyErr_Occurred()) return NULL
;
11006 } Py_INCREF(Py_None
);
11007 _resultobj
= Py_None
;
11011 #define wxEffects_TileBitmap(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->TileBitmap(_swigarg0,_swigarg1,_swigarg2))
11012 static PyObject
*_wrap_wxEffects_TileBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11013 PyObject
* _resultobj
;
11019 PyObject
* _argo0
= 0;
11021 PyObject
* _obj1
= 0;
11022 PyObject
* _argo2
= 0;
11023 PyObject
* _argo3
= 0;
11024 char *_kwnames
[] = { "self","rect","dc","bitmap", NULL
};
11027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO:wxEffects_TileBitmap",_kwnames
,&_argo0
,&_obj1
,&_argo2
,&_argo3
))
11030 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11031 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEffects_p")) {
11032 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEffects_TileBitmap. Expected _wxEffects_p.");
11038 if (! wxRect_helper(_obj1
, &_arg1
))
11042 if (_argo2
== Py_None
) { _arg2
= NULL
; }
11043 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxDC_p")) {
11044 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxEffects_TileBitmap. Expected _wxDC_p.");
11049 if (_argo3
== Py_None
) { _arg3
= NULL
; }
11050 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxBitmap_p")) {
11051 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxEffects_TileBitmap. Expected _wxBitmap_p.");
11056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11057 _result
= (bool )wxEffects_TileBitmap(_arg0
,*_arg1
,*_arg2
,*_arg3
);
11059 wxPyEndAllowThreads(__tstate
);
11060 if (PyErr_Occurred()) return NULL
;
11061 } _resultobj
= Py_BuildValue("i",_result
);
11065 #define new_wxSingleInstanceChecker(_swigarg0,_swigarg1) (new wxSingleInstanceChecker(_swigarg0,_swigarg1))
11066 static PyObject
*_wrap_new_wxSingleInstanceChecker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11067 PyObject
* _resultobj
;
11068 wxSingleInstanceChecker
* _result
;
11070 wxString
* _arg1
= (wxString
*) &wxPyEmptyString
;
11071 PyObject
* _obj0
= 0;
11072 PyObject
* _obj1
= 0;
11073 char *_kwnames
[] = { "name","path", NULL
};
11077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:new_wxSingleInstanceChecker",_kwnames
,&_obj0
,&_obj1
))
11080 _arg0
= wxString_in_helper(_obj0
);
11086 _arg1
= wxString_in_helper(_obj1
);
11091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11092 _result
= (wxSingleInstanceChecker
*)new_wxSingleInstanceChecker(*_arg0
,*_arg1
);
11094 wxPyEndAllowThreads(__tstate
);
11095 if (PyErr_Occurred()) return NULL
;
11097 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSingleInstanceChecker_p");
11098 _resultobj
= Py_BuildValue("s",_ptemp
);
11100 Py_INCREF(Py_None
);
11101 _resultobj
= Py_None
;
11114 #define new_wxPreSingleInstanceChecker() (new wxSingleInstanceChecker())
11115 static PyObject
*_wrap_new_wxPreSingleInstanceChecker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11116 PyObject
* _resultobj
;
11117 wxSingleInstanceChecker
* _result
;
11118 char *_kwnames
[] = { NULL
};
11122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreSingleInstanceChecker",_kwnames
))
11125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11126 _result
= (wxSingleInstanceChecker
*)new_wxPreSingleInstanceChecker();
11128 wxPyEndAllowThreads(__tstate
);
11129 if (PyErr_Occurred()) return NULL
;
11131 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSingleInstanceChecker_p");
11132 _resultobj
= Py_BuildValue("s",_ptemp
);
11134 Py_INCREF(Py_None
);
11135 _resultobj
= Py_None
;
11140 #define delete_wxSingleInstanceChecker(_swigobj) (delete _swigobj)
11141 static PyObject
*_wrap_delete_wxSingleInstanceChecker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11142 PyObject
* _resultobj
;
11143 wxSingleInstanceChecker
* _arg0
;
11144 PyObject
* _argo0
= 0;
11145 char *_kwnames
[] = { "self", NULL
};
11148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxSingleInstanceChecker",_kwnames
,&_argo0
))
11151 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11152 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSingleInstanceChecker_p")) {
11153 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxSingleInstanceChecker. Expected _wxSingleInstanceChecker_p.");
11158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11159 delete_wxSingleInstanceChecker(_arg0
);
11161 wxPyEndAllowThreads(__tstate
);
11162 if (PyErr_Occurred()) return NULL
;
11163 } Py_INCREF(Py_None
);
11164 _resultobj
= Py_None
;
11168 #define wxSingleInstanceChecker_Create(_swigobj,_swigarg0,_swigarg1) (_swigobj->Create(_swigarg0,_swigarg1))
11169 static PyObject
*_wrap_wxSingleInstanceChecker_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11170 PyObject
* _resultobj
;
11172 wxSingleInstanceChecker
* _arg0
;
11174 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
11175 PyObject
* _argo0
= 0;
11176 PyObject
* _obj1
= 0;
11177 PyObject
* _obj2
= 0;
11178 char *_kwnames
[] = { "self","name","path", NULL
};
11181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxSingleInstanceChecker_Create",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
11184 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11185 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSingleInstanceChecker_p")) {
11186 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSingleInstanceChecker_Create. Expected _wxSingleInstanceChecker_p.");
11191 _arg1
= wxString_in_helper(_obj1
);
11197 _arg2
= wxString_in_helper(_obj2
);
11202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11203 _result
= (bool )wxSingleInstanceChecker_Create(_arg0
,*_arg1
,*_arg2
);
11205 wxPyEndAllowThreads(__tstate
);
11206 if (PyErr_Occurred()) return NULL
;
11207 } _resultobj
= Py_BuildValue("i",_result
);
11219 #define wxSingleInstanceChecker_IsAnotherRunning(_swigobj) (_swigobj->IsAnotherRunning())
11220 static PyObject
*_wrap_wxSingleInstanceChecker_IsAnotherRunning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11221 PyObject
* _resultobj
;
11223 wxSingleInstanceChecker
* _arg0
;
11224 PyObject
* _argo0
= 0;
11225 char *_kwnames
[] = { "self", NULL
};
11228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSingleInstanceChecker_IsAnotherRunning",_kwnames
,&_argo0
))
11231 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11232 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSingleInstanceChecker_p")) {
11233 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSingleInstanceChecker_IsAnotherRunning. Expected _wxSingleInstanceChecker_p.");
11238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11239 _result
= (bool )wxSingleInstanceChecker_IsAnotherRunning(_arg0
);
11241 wxPyEndAllowThreads(__tstate
);
11242 if (PyErr_Occurred()) return NULL
;
11243 } _resultobj
= Py_BuildValue("i",_result
);
11247 static PyMethodDef misc2cMethods
[] = {
11248 { "wxSingleInstanceChecker_IsAnotherRunning", (PyCFunction
) _wrap_wxSingleInstanceChecker_IsAnotherRunning
, METH_VARARGS
| METH_KEYWORDS
},
11249 { "wxSingleInstanceChecker_Create", (PyCFunction
) _wrap_wxSingleInstanceChecker_Create
, METH_VARARGS
| METH_KEYWORDS
},
11250 { "delete_wxSingleInstanceChecker", (PyCFunction
) _wrap_delete_wxSingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
},
11251 { "new_wxPreSingleInstanceChecker", (PyCFunction
) _wrap_new_wxPreSingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
},
11252 { "new_wxSingleInstanceChecker", (PyCFunction
) _wrap_new_wxSingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
},
11253 { "wxEffects_TileBitmap", (PyCFunction
) _wrap_wxEffects_TileBitmap
, METH_VARARGS
| METH_KEYWORDS
},
11254 { "wxEffects_DrawSunkenEdge", (PyCFunction
) _wrap_wxEffects_DrawSunkenEdge
, METH_VARARGS
| METH_KEYWORDS
},
11255 { "wxEffects_Set", (PyCFunction
) _wrap_wxEffects_Set
, METH_VARARGS
| METH_KEYWORDS
},
11256 { "wxEffects_SetDarkShadow", (PyCFunction
) _wrap_wxEffects_SetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
},
11257 { "wxEffects_SetMediumShadow", (PyCFunction
) _wrap_wxEffects_SetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
},
11258 { "wxEffects_SetFaceColour", (PyCFunction
) _wrap_wxEffects_SetFaceColour
, METH_VARARGS
| METH_KEYWORDS
},
11259 { "wxEffects_SetLightShadow", (PyCFunction
) _wrap_wxEffects_SetLightShadow
, METH_VARARGS
| METH_KEYWORDS
},
11260 { "wxEffects_SetHighlightColour", (PyCFunction
) _wrap_wxEffects_SetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
},
11261 { "wxEffects_GetDarkShadow", (PyCFunction
) _wrap_wxEffects_GetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
},
11262 { "wxEffects_GetMediumShadow", (PyCFunction
) _wrap_wxEffects_GetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
},
11263 { "wxEffects_GetFaceColour", (PyCFunction
) _wrap_wxEffects_GetFaceColour
, METH_VARARGS
| METH_KEYWORDS
},
11264 { "wxEffects_GetLightShadow", (PyCFunction
) _wrap_wxEffects_GetLightShadow
, METH_VARARGS
| METH_KEYWORDS
},
11265 { "wxEffects_GetHighlightColour", (PyCFunction
) _wrap_wxEffects_GetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
},
11266 { "new_wxEffects", (PyCFunction
) _wrap_new_wxEffects
, METH_VARARGS
| METH_KEYWORDS
},
11267 { "wxFileHistory_GetNoHistoryFiles", (PyCFunction
) _wrap_wxFileHistory_GetNoHistoryFiles
, METH_VARARGS
| METH_KEYWORDS
},
11268 { "wxFileHistory_GetCount", (PyCFunction
) _wrap_wxFileHistory_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
11269 { "wxFileHistory_GetHistoryFile", (PyCFunction
) _wrap_wxFileHistory_GetHistoryFile
, METH_VARARGS
| METH_KEYWORDS
},
11270 { "wxFileHistory_AddFilesToThisMenu", (PyCFunction
) _wrap_wxFileHistory_AddFilesToThisMenu
, METH_VARARGS
| METH_KEYWORDS
},
11271 { "wxFileHistory_AddFilesToMenu", (PyCFunction
) _wrap_wxFileHistory_AddFilesToMenu
, METH_VARARGS
| METH_KEYWORDS
},
11272 { "wxFileHistory_Save", (PyCFunction
) _wrap_wxFileHistory_Save
, METH_VARARGS
| METH_KEYWORDS
},
11273 { "wxFileHistory_Load", (PyCFunction
) _wrap_wxFileHistory_Load
, METH_VARARGS
| METH_KEYWORDS
},
11274 { "wxFileHistory_RemoveMenu", (PyCFunction
) _wrap_wxFileHistory_RemoveMenu
, METH_VARARGS
| METH_KEYWORDS
},
11275 { "wxFileHistory_UseMenu", (PyCFunction
) _wrap_wxFileHistory_UseMenu
, METH_VARARGS
| METH_KEYWORDS
},
11276 { "wxFileHistory_GetMaxFiles", (PyCFunction
) _wrap_wxFileHistory_GetMaxFiles
, METH_VARARGS
| METH_KEYWORDS
},
11277 { "wxFileHistory_RemoveFileFromHistory", (PyCFunction
) _wrap_wxFileHistory_RemoveFileFromHistory
, METH_VARARGS
| METH_KEYWORDS
},
11278 { "wxFileHistory_AddFileToHistory", (PyCFunction
) _wrap_wxFileHistory_AddFileToHistory
, METH_VARARGS
| METH_KEYWORDS
},
11279 { "delete_wxFileHistory", (PyCFunction
) _wrap_delete_wxFileHistory
, METH_VARARGS
| METH_KEYWORDS
},
11280 { "new_wxFileHistory", (PyCFunction
) _wrap_new_wxFileHistory
, METH_VARARGS
| METH_KEYWORDS
},
11281 { "wxArtProvider_CleanUpProviders", (PyCFunction
) _wrap_wxArtProvider_CleanUpProviders
, METH_VARARGS
| METH_KEYWORDS
},
11282 { "wxArtProvider_GetIcon", (PyCFunction
) _wrap_wxArtProvider_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
11283 { "wxArtProvider_GetBitmap", (PyCFunction
) _wrap_wxArtProvider_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
11284 { "wxArtProvider_RemoveProvider", (PyCFunction
) _wrap_wxArtProvider_RemoveProvider
, METH_VARARGS
| METH_KEYWORDS
},
11285 { "wxArtProvider_PopProvider", (PyCFunction
) _wrap_wxArtProvider_PopProvider
, METH_VARARGS
| METH_KEYWORDS
},
11286 { "wxArtProvider_PushProvider", (PyCFunction
) _wrap_wxArtProvider_PushProvider
, METH_VARARGS
| METH_KEYWORDS
},
11287 { "wxArtProvider__setCallbackInfo", (PyCFunction
) _wrap_wxArtProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
11288 { "new_wxArtProvider", (PyCFunction
) _wrap_new_wxArtProvider
, METH_VARARGS
| METH_KEYWORDS
},
11289 { "delete_wxMimeTypesManager", (PyCFunction
) _wrap_delete_wxMimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
},
11290 { "wxMimeTypesManager_Unassociate", (PyCFunction
) _wrap_wxMimeTypesManager_Unassociate
, METH_VARARGS
| METH_KEYWORDS
},
11291 { "wxMimeTypesManager_Associate", (PyCFunction
) _wrap_wxMimeTypesManager_Associate
, METH_VARARGS
| METH_KEYWORDS
},
11292 { "wxMimeTypesManager_AddFallback", (PyCFunction
) _wrap_wxMimeTypesManager_AddFallback
, METH_VARARGS
| METH_KEYWORDS
},
11293 { "wxMimeTypesManager_EnumAllFileTypes", (PyCFunction
) _wrap_wxMimeTypesManager_EnumAllFileTypes
, METH_VARARGS
| METH_KEYWORDS
},
11294 { "wxMimeTypesManager_ReadMimeTypes", (PyCFunction
) _wrap_wxMimeTypesManager_ReadMimeTypes
, METH_VARARGS
| METH_KEYWORDS
},
11295 { "wxMimeTypesManager_ReadMailcap", (PyCFunction
) _wrap_wxMimeTypesManager_ReadMailcap
, METH_VARARGS
| METH_KEYWORDS
},
11296 { "wxMimeTypesManager_GetFileTypeFromMimeType", (PyCFunction
) _wrap_wxMimeTypesManager_GetFileTypeFromMimeType
, METH_VARARGS
| METH_KEYWORDS
},
11297 { "wxMimeTypesManager_GetFileTypeFromExtension", (PyCFunction
) _wrap_wxMimeTypesManager_GetFileTypeFromExtension
, METH_VARARGS
| METH_KEYWORDS
},
11298 { "wxMimeTypesManager_ClearData", (PyCFunction
) _wrap_wxMimeTypesManager_ClearData
, METH_VARARGS
| METH_KEYWORDS
},
11299 { "wxMimeTypesManager_Initialize", (PyCFunction
) _wrap_wxMimeTypesManager_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
11300 { "new_wxMimeTypesManager", (PyCFunction
) _wrap_new_wxMimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
},
11301 { "wxMimeTypesManager_IsOfType", (PyCFunction
) _wrap_wxMimeTypesManager_IsOfType
, METH_VARARGS
| METH_KEYWORDS
},
11302 { "delete_wxFileType", (PyCFunction
) _wrap_delete_wxFileType
, METH_VARARGS
| METH_KEYWORDS
},
11303 { "wxFileType_ExpandCommand", (PyCFunction
) _wrap_wxFileType_ExpandCommand
, METH_VARARGS
| METH_KEYWORDS
},
11304 { "wxFileType_Unassociate", (PyCFunction
) _wrap_wxFileType_Unassociate
, METH_VARARGS
| METH_KEYWORDS
},
11305 { "wxFileType_SetDefaultIcon", (PyCFunction
) _wrap_wxFileType_SetDefaultIcon
, METH_VARARGS
| METH_KEYWORDS
},
11306 { "wxFileType_SetCommand", (PyCFunction
) _wrap_wxFileType_SetCommand
, METH_VARARGS
| METH_KEYWORDS
},
11307 { "wxFileType_GetAllCommands", (PyCFunction
) _wrap_wxFileType_GetAllCommands
, METH_VARARGS
| METH_KEYWORDS
},
11308 { "wxFileType_GetPrintCommand", (PyCFunction
) _wrap_wxFileType_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
},
11309 { "wxFileType_GetOpenCommand", (PyCFunction
) _wrap_wxFileType_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
},
11310 { "wxFileType_GetDescription", (PyCFunction
) _wrap_wxFileType_GetDescription
, METH_VARARGS
| METH_KEYWORDS
},
11311 { "wxFileType_GetIconInfo", (PyCFunction
) _wrap_wxFileType_GetIconInfo
, METH_VARARGS
| METH_KEYWORDS
},
11312 { "wxFileType_GetIcon", (PyCFunction
) _wrap_wxFileType_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
11313 { "wxFileType_GetExtensions", (PyCFunction
) _wrap_wxFileType_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
},
11314 { "wxFileType_GetMimeTypes", (PyCFunction
) _wrap_wxFileType_GetMimeTypes
, METH_VARARGS
| METH_KEYWORDS
},
11315 { "wxFileType_GetMimeType", (PyCFunction
) _wrap_wxFileType_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
11316 { "new_wxFileType", (PyCFunction
) _wrap_new_wxFileType
, METH_VARARGS
| METH_KEYWORDS
},
11317 { "wxFileTypeInfo_GetIconIndex", (PyCFunction
) _wrap_wxFileTypeInfo_GetIconIndex
, METH_VARARGS
| METH_KEYWORDS
},
11318 { "wxFileTypeInfo_GetIconFile", (PyCFunction
) _wrap_wxFileTypeInfo_GetIconFile
, METH_VARARGS
| METH_KEYWORDS
},
11319 { "wxFileTypeInfo_GetExtensionsCount", (PyCFunction
) _wrap_wxFileTypeInfo_GetExtensionsCount
, METH_VARARGS
| METH_KEYWORDS
},
11320 { "wxFileTypeInfo_GetExtensions", (PyCFunction
) _wrap_wxFileTypeInfo_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
},
11321 { "wxFileTypeInfo_GetDescription", (PyCFunction
) _wrap_wxFileTypeInfo_GetDescription
, METH_VARARGS
| METH_KEYWORDS
},
11322 { "wxFileTypeInfo_GetShortDesc", (PyCFunction
) _wrap_wxFileTypeInfo_GetShortDesc
, METH_VARARGS
| METH_KEYWORDS
},
11323 { "wxFileTypeInfo_GetPrintCommand", (PyCFunction
) _wrap_wxFileTypeInfo_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
},
11324 { "wxFileTypeInfo_GetOpenCommand", (PyCFunction
) _wrap_wxFileTypeInfo_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
},
11325 { "wxFileTypeInfo_GetMimeType", (PyCFunction
) _wrap_wxFileTypeInfo_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
11326 { "wxFileTypeInfo_SetShortDesc", (PyCFunction
) _wrap_wxFileTypeInfo_SetShortDesc
, METH_VARARGS
| METH_KEYWORDS
},
11327 { "wxFileTypeInfo_SetIcon", (PyCFunction
) _wrap_wxFileTypeInfo_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
11328 { "wxFileTypeInfo_IsValid", (PyCFunction
) _wrap_wxFileTypeInfo_IsValid
, METH_VARARGS
| METH_KEYWORDS
},
11329 { "new_wxNullFileTypeInfo", (PyCFunction
) _wrap_new_wxNullFileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
},
11330 { "new_wxFileTypeInfoSequence", (PyCFunction
) _wrap_new_wxFileTypeInfoSequence
, METH_VARARGS
| METH_KEYWORDS
},
11331 { "new_wxFileTypeInfo", (PyCFunction
) _wrap_new_wxFileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
},
11332 { "wxWave_Play", (PyCFunction
) _wrap_wxWave_Play
, METH_VARARGS
| METH_KEYWORDS
},
11333 { "wxWave_IsOk", (PyCFunction
) _wrap_wxWave_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
11334 { "delete_wxWave", (PyCFunction
) _wrap_delete_wxWave
, METH_VARARGS
| METH_KEYWORDS
},
11335 { "new_wxWave", (PyCFunction
) _wrap_new_wxWave
, METH_VARARGS
| METH_KEYWORDS
},
11336 { "wxJoystick_ReleaseCapture", (PyCFunction
) _wrap_wxJoystick_ReleaseCapture
, METH_VARARGS
| METH_KEYWORDS
},
11337 { "wxJoystick_SetCapture", (PyCFunction
) _wrap_wxJoystick_SetCapture
, METH_VARARGS
| METH_KEYWORDS
},
11338 { "wxJoystick_HasPOVCTS", (PyCFunction
) _wrap_wxJoystick_HasPOVCTS
, METH_VARARGS
| METH_KEYWORDS
},
11339 { "wxJoystick_HasPOV4Dir", (PyCFunction
) _wrap_wxJoystick_HasPOV4Dir
, METH_VARARGS
| METH_KEYWORDS
},
11340 { "wxJoystick_HasPOV", (PyCFunction
) _wrap_wxJoystick_HasPOV
, METH_VARARGS
| METH_KEYWORDS
},
11341 { "wxJoystick_HasV", (PyCFunction
) _wrap_wxJoystick_HasV
, METH_VARARGS
| METH_KEYWORDS
},
11342 { "wxJoystick_HasU", (PyCFunction
) _wrap_wxJoystick_HasU
, METH_VARARGS
| METH_KEYWORDS
},
11343 { "wxJoystick_HasZ", (PyCFunction
) _wrap_wxJoystick_HasZ
, METH_VARARGS
| METH_KEYWORDS
},
11344 { "wxJoystick_HasRudder", (PyCFunction
) _wrap_wxJoystick_HasRudder
, METH_VARARGS
| METH_KEYWORDS
},
11345 { "wxJoystick_GetVMax", (PyCFunction
) _wrap_wxJoystick_GetVMax
, METH_VARARGS
| METH_KEYWORDS
},
11346 { "wxJoystick_GetVMin", (PyCFunction
) _wrap_wxJoystick_GetVMin
, METH_VARARGS
| METH_KEYWORDS
},
11347 { "wxJoystick_GetUMax", (PyCFunction
) _wrap_wxJoystick_GetUMax
, METH_VARARGS
| METH_KEYWORDS
},
11348 { "wxJoystick_GetUMin", (PyCFunction
) _wrap_wxJoystick_GetUMin
, METH_VARARGS
| METH_KEYWORDS
},
11349 { "wxJoystick_GetRudderMax", (PyCFunction
) _wrap_wxJoystick_GetRudderMax
, METH_VARARGS
| METH_KEYWORDS
},
11350 { "wxJoystick_GetRudderMin", (PyCFunction
) _wrap_wxJoystick_GetRudderMin
, METH_VARARGS
| METH_KEYWORDS
},
11351 { "wxJoystick_GetPollingMax", (PyCFunction
) _wrap_wxJoystick_GetPollingMax
, METH_VARARGS
| METH_KEYWORDS
},
11352 { "wxJoystick_GetPollingMin", (PyCFunction
) _wrap_wxJoystick_GetPollingMin
, METH_VARARGS
| METH_KEYWORDS
},
11353 { "wxJoystick_GetMaxAxes", (PyCFunction
) _wrap_wxJoystick_GetMaxAxes
, METH_VARARGS
| METH_KEYWORDS
},
11354 { "wxJoystick_GetMaxButtons", (PyCFunction
) _wrap_wxJoystick_GetMaxButtons
, METH_VARARGS
| METH_KEYWORDS
},
11355 { "wxJoystick_GetNumberAxes", (PyCFunction
) _wrap_wxJoystick_GetNumberAxes
, METH_VARARGS
| METH_KEYWORDS
},
11356 { "wxJoystick_GetNumberButtons", (PyCFunction
) _wrap_wxJoystick_GetNumberButtons
, METH_VARARGS
| METH_KEYWORDS
},
11357 { "wxJoystick_GetZMax", (PyCFunction
) _wrap_wxJoystick_GetZMax
, METH_VARARGS
| METH_KEYWORDS
},
11358 { "wxJoystick_GetYMax", (PyCFunction
) _wrap_wxJoystick_GetYMax
, METH_VARARGS
| METH_KEYWORDS
},
11359 { "wxJoystick_GetXMax", (PyCFunction
) _wrap_wxJoystick_GetXMax
, METH_VARARGS
| METH_KEYWORDS
},
11360 { "wxJoystick_GetZMin", (PyCFunction
) _wrap_wxJoystick_GetZMin
, METH_VARARGS
| METH_KEYWORDS
},
11361 { "wxJoystick_GetYMin", (PyCFunction
) _wrap_wxJoystick_GetYMin
, METH_VARARGS
| METH_KEYWORDS
},
11362 { "wxJoystick_GetXMin", (PyCFunction
) _wrap_wxJoystick_GetXMin
, METH_VARARGS
| METH_KEYWORDS
},
11363 { "wxJoystick_GetProductName", (PyCFunction
) _wrap_wxJoystick_GetProductName
, METH_VARARGS
| METH_KEYWORDS
},
11364 { "wxJoystick_GetProductId", (PyCFunction
) _wrap_wxJoystick_GetProductId
, METH_VARARGS
| METH_KEYWORDS
},
11365 { "wxJoystick_GetManufacturerId", (PyCFunction
) _wrap_wxJoystick_GetManufacturerId
, METH_VARARGS
| METH_KEYWORDS
},
11366 { "wxJoystick_GetNumberJoysticks", (PyCFunction
) _wrap_wxJoystick_GetNumberJoysticks
, METH_VARARGS
| METH_KEYWORDS
},
11367 { "wxJoystick_IsOk", (PyCFunction
) _wrap_wxJoystick_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
11368 { "wxJoystick_SetMovementThreshold", (PyCFunction
) _wrap_wxJoystick_SetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
},
11369 { "wxJoystick_GetMovementThreshold", (PyCFunction
) _wrap_wxJoystick_GetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
},
11370 { "wxJoystick_GetVPosition", (PyCFunction
) _wrap_wxJoystick_GetVPosition
, METH_VARARGS
| METH_KEYWORDS
},
11371 { "wxJoystick_GetUPosition", (PyCFunction
) _wrap_wxJoystick_GetUPosition
, METH_VARARGS
| METH_KEYWORDS
},
11372 { "wxJoystick_GetRudderPosition", (PyCFunction
) _wrap_wxJoystick_GetRudderPosition
, METH_VARARGS
| METH_KEYWORDS
},
11373 { "wxJoystick_GetPOVCTSPosition", (PyCFunction
) _wrap_wxJoystick_GetPOVCTSPosition
, METH_VARARGS
| METH_KEYWORDS
},
11374 { "wxJoystick_GetPOVPosition", (PyCFunction
) _wrap_wxJoystick_GetPOVPosition
, METH_VARARGS
| METH_KEYWORDS
},
11375 { "wxJoystick_GetButtonState", (PyCFunction
) _wrap_wxJoystick_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
},
11376 { "wxJoystick_GetZPosition", (PyCFunction
) _wrap_wxJoystick_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
},
11377 { "wxJoystick_GetPosition", (PyCFunction
) _wrap_wxJoystick_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
11378 { "delete_wxJoystick", (PyCFunction
) _wrap_delete_wxJoystick
, METH_VARARGS
| METH_KEYWORDS
},
11379 { "new_wxJoystick", (PyCFunction
) _wrap_new_wxJoystick
, METH_VARARGS
| METH_KEYWORDS
},
11380 { "wxProcess_IsErrorAvailable", (PyCFunction
) _wrap_wxProcess_IsErrorAvailable
, METH_VARARGS
| METH_KEYWORDS
},
11381 { "wxProcess_IsInputAvailable", (PyCFunction
) _wrap_wxProcess_IsInputAvailable
, METH_VARARGS
| METH_KEYWORDS
},
11382 { "wxProcess_IsInputOpened", (PyCFunction
) _wrap_wxProcess_IsInputOpened
, METH_VARARGS
| METH_KEYWORDS
},
11383 { "wxProcess_CloseOutput", (PyCFunction
) _wrap_wxProcess_CloseOutput
, METH_VARARGS
| METH_KEYWORDS
},
11384 { "wxProcess_GetOutputStream", (PyCFunction
) _wrap_wxProcess_GetOutputStream
, METH_VARARGS
| METH_KEYWORDS
},
11385 { "wxProcess_GetErrorStream", (PyCFunction
) _wrap_wxProcess_GetErrorStream
, METH_VARARGS
| METH_KEYWORDS
},
11386 { "wxProcess_GetInputStream", (PyCFunction
) _wrap_wxProcess_GetInputStream
, METH_VARARGS
| METH_KEYWORDS
},
11387 { "wxProcess_Detach", (PyCFunction
) _wrap_wxProcess_Detach
, METH_VARARGS
| METH_KEYWORDS
},
11388 { "wxProcess_IsRedirected", (PyCFunction
) _wrap_wxProcess_IsRedirected
, METH_VARARGS
| METH_KEYWORDS
},
11389 { "wxProcess_Redirect", (PyCFunction
) _wrap_wxProcess_Redirect
, METH_VARARGS
| METH_KEYWORDS
},
11390 { "wxProcess_base_OnTerminate", (PyCFunction
) _wrap_wxProcess_base_OnTerminate
, METH_VARARGS
| METH_KEYWORDS
},
11391 { "wxProcess__setCallbackInfo", (PyCFunction
) _wrap_wxProcess__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
11392 { "wxProcess_Destroy", (PyCFunction
) _wrap_wxProcess_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
11393 { "new_wxProcess", (PyCFunction
) _wrap_new_wxProcess
, METH_VARARGS
| METH_KEYWORDS
},
11394 { "wxProcess_Open", (PyCFunction
) _wrap_wxProcess_Open
, METH_VARARGS
| METH_KEYWORDS
},
11395 { "wxProcess_Exists", (PyCFunction
) _wrap_wxProcess_Exists
, METH_VARARGS
| METH_KEYWORDS
},
11396 { "wxProcess_Kill", (PyCFunction
) _wrap_wxProcess_Kill
, METH_VARARGS
| METH_KEYWORDS
},
11397 { "wxProcessEvent_m_exitcode_get", (PyCFunction
) _wrap_wxProcessEvent_m_exitcode_get
, METH_VARARGS
| METH_KEYWORDS
},
11398 { "wxProcessEvent_m_exitcode_set", (PyCFunction
) _wrap_wxProcessEvent_m_exitcode_set
, METH_VARARGS
| METH_KEYWORDS
},
11399 { "wxProcessEvent_m_pid_get", (PyCFunction
) _wrap_wxProcessEvent_m_pid_get
, METH_VARARGS
| METH_KEYWORDS
},
11400 { "wxProcessEvent_m_pid_set", (PyCFunction
) _wrap_wxProcessEvent_m_pid_set
, METH_VARARGS
| METH_KEYWORDS
},
11401 { "wxProcessEvent_GetExitCode", (PyCFunction
) _wrap_wxProcessEvent_GetExitCode
, METH_VARARGS
| METH_KEYWORDS
},
11402 { "wxProcessEvent_GetPid", (PyCFunction
) _wrap_wxProcessEvent_GetPid
, METH_VARARGS
| METH_KEYWORDS
},
11403 { "new_wxProcessEvent", (PyCFunction
) _wrap_new_wxProcessEvent
, METH_VARARGS
| METH_KEYWORDS
},
11404 { "wxPyLog_Destroy", (PyCFunction
) _wrap_wxPyLog_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
11405 { "wxPyLog__setCallbackInfo", (PyCFunction
) _wrap_wxPyLog__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
11406 { "new_wxPyLog", (PyCFunction
) _wrap_new_wxPyLog
, METH_VARARGS
| METH_KEYWORDS
},
11407 { "delete_wxLogNull", (PyCFunction
) _wrap_delete_wxLogNull
, METH_VARARGS
| METH_KEYWORDS
},
11408 { "new_wxLogNull", (PyCFunction
) _wrap_new_wxLogNull
, METH_VARARGS
| METH_KEYWORDS
},
11409 { "wxLogChain_GetOldLog", (PyCFunction
) _wrap_wxLogChain_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
},
11410 { "wxLogChain_IsPassingMessages", (PyCFunction
) _wrap_wxLogChain_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
},
11411 { "wxLogChain_PassMessages", (PyCFunction
) _wrap_wxLogChain_PassMessages
, METH_VARARGS
| METH_KEYWORDS
},
11412 { "wxLogChain_SetLog", (PyCFunction
) _wrap_wxLogChain_SetLog
, METH_VARARGS
| METH_KEYWORDS
},
11413 { "new_wxLogChain", (PyCFunction
) _wrap_new_wxLogChain
, METH_VARARGS
| METH_KEYWORDS
},
11414 { "wxLogWindow_PassMessages", (PyCFunction
) _wrap_wxLogWindow_PassMessages
, METH_VARARGS
| METH_KEYWORDS
},
11415 { "wxLogWindow_IsPassingMessages", (PyCFunction
) _wrap_wxLogWindow_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
},
11416 { "wxLogWindow_GetOldLog", (PyCFunction
) _wrap_wxLogWindow_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
},
11417 { "wxLogWindow_GetFrame", (PyCFunction
) _wrap_wxLogWindow_GetFrame
, METH_VARARGS
| METH_KEYWORDS
},
11418 { "wxLogWindow_Show", (PyCFunction
) _wrap_wxLogWindow_Show
, METH_VARARGS
| METH_KEYWORDS
},
11419 { "new_wxLogWindow", (PyCFunction
) _wrap_new_wxLogWindow
, METH_VARARGS
| METH_KEYWORDS
},
11420 { "new_wxLogGui", (PyCFunction
) _wrap_new_wxLogGui
, METH_VARARGS
| METH_KEYWORDS
},
11421 { "new_wxLogTextCtrl", (PyCFunction
) _wrap_new_wxLogTextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
11422 { "new_wxLogStderr", (PyCFunction
) _wrap_new_wxLogStderr
, METH_VARARGS
| METH_KEYWORDS
},
11423 { "wxLog_TimeStamp", (PyCFunction
) _wrap_wxLog_TimeStamp
, METH_VARARGS
| METH_KEYWORDS
},
11424 { "wxLog_IsAllowedTraceMask", (PyCFunction
) _wrap_wxLog_IsAllowedTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
11425 { "wxLog_GetTraceMask", (PyCFunction
) _wrap_wxLog_GetTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
11426 { "wxLog_GetVerbose", (PyCFunction
) _wrap_wxLog_GetVerbose
, METH_VARARGS
| METH_KEYWORDS
},
11427 { "wxLog_GetTimestamp", (PyCFunction
) _wrap_wxLog_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
11428 { "wxLog_SetTimestamp", (PyCFunction
) _wrap_wxLog_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
11429 { "wxLog_GetTraceMasks", (PyCFunction
) _wrap_wxLog_GetTraceMasks
, METH_VARARGS
| METH_KEYWORDS
},
11430 { "wxLog_ClearTraceMasks", (PyCFunction
) _wrap_wxLog_ClearTraceMasks
, METH_VARARGS
| METH_KEYWORDS
},
11431 { "wxLog_RemoveTraceMask", (PyCFunction
) _wrap_wxLog_RemoveTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
11432 { "wxLog_AddTraceMask", (PyCFunction
) _wrap_wxLog_AddTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
11433 { "wxLog_SetTraceMask", (PyCFunction
) _wrap_wxLog_SetTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
11434 { "wxLog_DontCreateOnDemand", (PyCFunction
) _wrap_wxLog_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
},
11435 { "wxLog_SetVerbose", (PyCFunction
) _wrap_wxLog_SetVerbose
, METH_VARARGS
| METH_KEYWORDS
},
11436 { "wxLog_Resume", (PyCFunction
) _wrap_wxLog_Resume
, METH_VARARGS
| METH_KEYWORDS
},
11437 { "wxLog_Suspend", (PyCFunction
) _wrap_wxLog_Suspend
, METH_VARARGS
| METH_KEYWORDS
},
11438 { "wxLog_SetActiveTarget", (PyCFunction
) _wrap_wxLog_SetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
},
11439 { "wxLog_GetActiveTarget", (PyCFunction
) _wrap_wxLog_GetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
},
11440 { "wxLog_FlushActive", (PyCFunction
) _wrap_wxLog_FlushActive
, METH_VARARGS
| METH_KEYWORDS
},
11441 { "wxLog_HasPendingMessages", (PyCFunction
) _wrap_wxLog_HasPendingMessages
, METH_VARARGS
| METH_KEYWORDS
},
11442 { "wxLog_Flush", (PyCFunction
) _wrap_wxLog_Flush
, METH_VARARGS
| METH_KEYWORDS
},
11443 { "wxLog_OnLog", (PyCFunction
) _wrap_wxLog_OnLog
, METH_VARARGS
| METH_KEYWORDS
},
11444 { "wxLog_EnableLogging", (PyCFunction
) _wrap_wxLog_EnableLogging
, METH_VARARGS
| METH_KEYWORDS
},
11445 { "wxLog_IsEnabled", (PyCFunction
) _wrap_wxLog_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
11446 { "new_wxLog", (PyCFunction
) _wrap_new_wxLog
, METH_VARARGS
| METH_KEYWORDS
},
11447 { "wxStopWatch_Time", (PyCFunction
) _wrap_wxStopWatch_Time
, METH_VARARGS
| METH_KEYWORDS
},
11448 { "wxStopWatch_Resume", (PyCFunction
) _wrap_wxStopWatch_Resume
, METH_VARARGS
| METH_KEYWORDS
},
11449 { "wxStopWatch_Pause", (PyCFunction
) _wrap_wxStopWatch_Pause
, METH_VARARGS
| METH_KEYWORDS
},
11450 { "wxStopWatch_Start", (PyCFunction
) _wrap_wxStopWatch_Start
, METH_VARARGS
| METH_KEYWORDS
},
11451 { "delete_wxStopWatch", (PyCFunction
) _wrap_delete_wxStopWatch
, METH_VARARGS
| METH_KEYWORDS
},
11452 { "new_wxStopWatch", (PyCFunction
) _wrap_new_wxStopWatch
, METH_VARARGS
| METH_KEYWORDS
},
11453 { "wxPyTimer_Stop", (PyCFunction
) _wrap_wxPyTimer_Stop
, METH_VARARGS
| METH_KEYWORDS
},
11454 { "wxPyTimer_Start", (PyCFunction
) _wrap_wxPyTimer_Start
, METH_VARARGS
| METH_KEYWORDS
},
11455 { "wxPyTimer_SetOwner", (PyCFunction
) _wrap_wxPyTimer_SetOwner
, METH_VARARGS
| METH_KEYWORDS
},
11456 { "wxPyTimer_IsRunning", (PyCFunction
) _wrap_wxPyTimer_IsRunning
, METH_VARARGS
| METH_KEYWORDS
},
11457 { "wxPyTimer_IsOneShot", (PyCFunction
) _wrap_wxPyTimer_IsOneShot
, METH_VARARGS
| METH_KEYWORDS
},
11458 { "wxPyTimer_GetInterval", (PyCFunction
) _wrap_wxPyTimer_GetInterval
, METH_VARARGS
| METH_KEYWORDS
},
11459 { "delete_wxPyTimer", (PyCFunction
) _wrap_delete_wxPyTimer
, METH_VARARGS
| METH_KEYWORDS
},
11460 { "new_wxPyTimer", (PyCFunction
) _wrap_new_wxPyTimer
, METH_VARARGS
| METH_KEYWORDS
},
11461 { "wxDragImage_RedrawImage", (PyCFunction
) _wrap_wxDragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
},
11462 { "wxDragImage_GetImageRect", (PyCFunction
) _wrap_wxDragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
},
11463 { "wxDragImage_Hide", (PyCFunction
) _wrap_wxDragImage_Hide
, METH_VARARGS
| METH_KEYWORDS
},
11464 { "wxDragImage_Show", (PyCFunction
) _wrap_wxDragImage_Show
, METH_VARARGS
| METH_KEYWORDS
},
11465 { "wxDragImage_Move", (PyCFunction
) _wrap_wxDragImage_Move
, METH_VARARGS
| METH_KEYWORDS
},
11466 { "wxDragImage_EndDrag", (PyCFunction
) _wrap_wxDragImage_EndDrag
, METH_VARARGS
| METH_KEYWORDS
},
11467 { "wxDragImage_BeginDrag2", (PyCFunction
) _wrap_wxDragImage_BeginDrag2
, METH_VARARGS
| METH_KEYWORDS
},
11468 { "wxDragImage_BeginDrag", (PyCFunction
) _wrap_wxDragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
},
11469 { "wxDragImage_SetBackingBitmap", (PyCFunction
) _wrap_wxDragImage_SetBackingBitmap
, METH_VARARGS
| METH_KEYWORDS
},
11470 { "delete_wxDragImage", (PyCFunction
) _wrap_delete_wxDragImage
, METH_VARARGS
| METH_KEYWORDS
},
11471 { "new_wxDragListItem", (PyCFunction
) _wrap_new_wxDragListItem
, METH_VARARGS
| METH_KEYWORDS
},
11472 { "new_wxDragTreeItem", (PyCFunction
) _wrap_new_wxDragTreeItem
, METH_VARARGS
| METH_KEYWORDS
},
11473 { "new_wxDragString", (PyCFunction
) _wrap_new_wxDragString
, METH_VARARGS
| METH_KEYWORDS
},
11474 { "new_wxDragIcon", (PyCFunction
) _wrap_new_wxDragIcon
, METH_VARARGS
| METH_KEYWORDS
},
11475 { "new_wxDragImage", (PyCFunction
) _wrap_new_wxDragImage
, METH_VARARGS
| METH_KEYWORDS
},
11476 { "wxPyTipProvider__setCallbackInfo", (PyCFunction
) _wrap_wxPyTipProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
11477 { "new_wxPyTipProvider", (PyCFunction
) _wrap_new_wxPyTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
11478 { "wxTipProvider_PreprocessTip", (PyCFunction
) _wrap_wxTipProvider_PreprocessTip
, METH_VARARGS
| METH_KEYWORDS
},
11479 { "wxTipProvider_GetCurrentTip", (PyCFunction
) _wrap_wxTipProvider_GetCurrentTip
, METH_VARARGS
| METH_KEYWORDS
},
11480 { "wxTipProvider_GetTip", (PyCFunction
) _wrap_wxTipProvider_GetTip
, METH_VARARGS
| METH_KEYWORDS
},
11481 { "delete_wxTipProvider", (PyCFunction
) _wrap_delete_wxTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
11482 { "delete_wxMutexGuiLocker", (PyCFunction
) _wrap_delete_wxMutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
},
11483 { "new_wxMutexGuiLocker", (PyCFunction
) _wrap_new_wxMutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
},
11484 { "delete_wxWindowDisabler", (PyCFunction
) _wrap_delete_wxWindowDisabler
, METH_VARARGS
| METH_KEYWORDS
},
11485 { "new_wxWindowDisabler", (PyCFunction
) _wrap_new_wxWindowDisabler
, METH_VARARGS
| METH_KEYWORDS
},
11486 { "delete_wxBusyCursor", (PyCFunction
) _wrap_delete_wxBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
11487 { "new_wxBusyCursor", (PyCFunction
) _wrap_new_wxBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
11488 { "wxCaret_Hide", (PyCFunction
) _wrap_wxCaret_Hide
, METH_VARARGS
| METH_KEYWORDS
},
11489 { "wxCaret_Show", (PyCFunction
) _wrap_wxCaret_Show
, METH_VARARGS
| METH_KEYWORDS
},
11490 { "wxCaret_SetSize", (PyCFunction
) _wrap_wxCaret_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
11491 { "wxCaret_SetSizeWH", (PyCFunction
) _wrap_wxCaret_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
11492 { "wxCaret_Move", (PyCFunction
) _wrap_wxCaret_Move
, METH_VARARGS
| METH_KEYWORDS
},
11493 { "wxCaret_MoveXY", (PyCFunction
) _wrap_wxCaret_MoveXY
, METH_VARARGS
| METH_KEYWORDS
},
11494 { "wxCaret_GetWindow", (PyCFunction
) _wrap_wxCaret_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
11495 { "wxCaret_GetSize", (PyCFunction
) _wrap_wxCaret_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
11496 { "wxCaret_GetSizeTuple", (PyCFunction
) _wrap_wxCaret_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
11497 { "wxCaret_GetPosition", (PyCFunction
) _wrap_wxCaret_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
11498 { "wxCaret_GetPositionTuple", (PyCFunction
) _wrap_wxCaret_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
11499 { "wxCaret_IsVisible", (PyCFunction
) _wrap_wxCaret_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
11500 { "wxCaret_IsOk", (PyCFunction
) _wrap_wxCaret_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
11501 { "delete_wxCaret", (PyCFunction
) _wrap_delete_wxCaret
, METH_VARARGS
| METH_KEYWORDS
},
11502 { "new_wxCaret", (PyCFunction
) _wrap_new_wxCaret
, METH_VARARGS
| METH_KEYWORDS
},
11503 { "wxToolTip_SetDelay", (PyCFunction
) _wrap_wxToolTip_SetDelay
, METH_VARARGS
| METH_KEYWORDS
},
11504 { "wxToolTip_Enable", (PyCFunction
) _wrap_wxToolTip_Enable
, METH_VARARGS
| METH_KEYWORDS
},
11505 { "wxToolTip_GetWindow", (PyCFunction
) _wrap_wxToolTip_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
11506 { "wxToolTip_GetTip", (PyCFunction
) _wrap_wxToolTip_GetTip
, METH_VARARGS
| METH_KEYWORDS
},
11507 { "wxToolTip_SetTip", (PyCFunction
) _wrap_wxToolTip_SetTip
, METH_VARARGS
| METH_KEYWORDS
},
11508 { "new_wxToolTip", (PyCFunction
) _wrap_new_wxToolTip
, METH_VARARGS
| METH_KEYWORDS
},
11509 { "wxSystemSettings_SetScreenType", (PyCFunction
) _wrap_wxSystemSettings_SetScreenType
, METH_VARARGS
| METH_KEYWORDS
},
11510 { "wxSystemSettings_GetScreenType", (PyCFunction
) _wrap_wxSystemSettings_GetScreenType
, METH_VARARGS
| METH_KEYWORDS
},
11511 { "wxSystemSettings_HasFeature", (PyCFunction
) _wrap_wxSystemSettings_HasFeature
, METH_VARARGS
| METH_KEYWORDS
},
11512 { "wxSystemSettings_GetMetric", (PyCFunction
) _wrap_wxSystemSettings_GetMetric
, METH_VARARGS
| METH_KEYWORDS
},
11513 { "wxSystemSettings_GetFont", (PyCFunction
) _wrap_wxSystemSettings_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
11514 { "wxSystemSettings_GetColour", (PyCFunction
) _wrap_wxSystemSettings_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
11515 { "wxWaveData", (PyCFunction
) _wrap_wxWaveData
, METH_VARARGS
| METH_KEYWORDS
},
11516 { "wxExecute", (PyCFunction
) _wrap_wxExecute
, METH_VARARGS
| METH_KEYWORDS
},
11517 { "wxSafeShowMessage", (PyCFunction
) _wrap_wxSafeShowMessage
, METH_VARARGS
| METH_KEYWORDS
},
11518 { "wxLogGeneric", (PyCFunction
) _wrap_wxLogGeneric
, METH_VARARGS
| METH_KEYWORDS
},
11519 { "wxLogTraceMask", (PyCFunction
) _wrap_wxLogTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
11520 { "wxLogTrace", (PyCFunction
) _wrap_wxLogTrace
, METH_VARARGS
| METH_KEYWORDS
},
11521 { "wxLogSysError", (PyCFunction
) _wrap_wxLogSysError
, METH_VARARGS
| METH_KEYWORDS
},
11522 { "wxLogStatusFrame", (PyCFunction
) _wrap_wxLogStatusFrame
, METH_VARARGS
| METH_KEYWORDS
},
11523 { "wxLogStatus", (PyCFunction
) _wrap_wxLogStatus
, METH_VARARGS
| METH_KEYWORDS
},
11524 { "wxLogVerbose", (PyCFunction
) _wrap_wxLogVerbose
, METH_VARARGS
| METH_KEYWORDS
},
11525 { "wxLogInfo", (PyCFunction
) _wrap_wxLogInfo
, METH_VARARGS
| METH_KEYWORDS
},
11526 { "wxLogMessage", (PyCFunction
) _wrap_wxLogMessage
, METH_VARARGS
| METH_KEYWORDS
},
11527 { "wxLogWarning", (PyCFunction
) _wrap_wxLogWarning
, METH_VARARGS
| METH_KEYWORDS
},
11528 { "wxLogError", (PyCFunction
) _wrap_wxLogError
, METH_VARARGS
| METH_KEYWORDS
},
11529 { "wxLogFatalError", (PyCFunction
) _wrap_wxLogFatalError
, METH_VARARGS
| METH_KEYWORDS
},
11530 { "wxSysErrorMsg", (PyCFunction
) _wrap_wxSysErrorMsg
, METH_VARARGS
| METH_KEYWORDS
},
11531 { "wxSysErrorCode", (PyCFunction
) _wrap_wxSysErrorCode
, METH_VARARGS
| METH_KEYWORDS
},
11532 { "wxCreateFileTipProvider", (PyCFunction
) _wrap_wxCreateFileTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
11533 { "wxShowTip", (PyCFunction
) _wrap_wxShowTip
, METH_VARARGS
| METH_KEYWORDS
},
11534 { "wxThread_IsMain", (PyCFunction
) _wrap_wxThread_IsMain
, METH_VARARGS
| METH_KEYWORDS
},
11535 { "wxMutexGuiLeave", (PyCFunction
) _wrap_wxMutexGuiLeave
, METH_VARARGS
| METH_KEYWORDS
},
11536 { "wxMutexGuiEnter", (PyCFunction
) _wrap_wxMutexGuiEnter
, METH_VARARGS
| METH_KEYWORDS
},
11537 { "wxWakeUpMainThread", (PyCFunction
) _wrap_wxWakeUpMainThread
, METH_VARARGS
| METH_KEYWORDS
},
11538 { "wxWakeUpIdle", (PyCFunction
) _wrap_wxWakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
},
11539 { "wxPostEvent", (PyCFunction
) _wrap_wxPostEvent
, METH_VARARGS
| METH_KEYWORDS
},
11540 { "wxSafeYield", (PyCFunction
) _wrap_wxSafeYield
, METH_VARARGS
| METH_KEYWORDS
},
11541 { "wxCaret_SetBlinkTime", (PyCFunction
) _wrap_wxCaret_SetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
},
11542 { "wxCaret_GetBlinkTime", (PyCFunction
) _wrap_wxCaret_GetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
},
11543 { "wxResourceParseString", (PyCFunction
) _wrap_wxResourceParseString
, METH_VARARGS
| METH_KEYWORDS
},
11544 { "wxResourceParseFile", (PyCFunction
) _wrap_wxResourceParseFile
, METH_VARARGS
| METH_KEYWORDS
},
11545 { "wxResourceParseData", (PyCFunction
) _wrap_wxResourceParseData
, METH_VARARGS
| METH_KEYWORDS
},
11546 { "wxResourceGetIdentifier", (PyCFunction
) _wrap_wxResourceGetIdentifier
, METH_VARARGS
| METH_KEYWORDS
},
11547 { "wxResourceCreateMenuBar", (PyCFunction
) _wrap_wxResourceCreateMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
11548 { "wxResourceCreateIcon", (PyCFunction
) _wrap_wxResourceCreateIcon
, METH_VARARGS
| METH_KEYWORDS
},
11549 { "wxResourceCreateBitmap", (PyCFunction
) _wrap_wxResourceCreateBitmap
, METH_VARARGS
| METH_KEYWORDS
},
11550 { "wxResourceClear", (PyCFunction
) _wrap_wxResourceClear
, METH_VARARGS
| METH_KEYWORDS
},
11551 { "wxResourceAddIdentifier", (PyCFunction
) _wrap_wxResourceAddIdentifier
, METH_VARARGS
| METH_KEYWORDS
},
11552 { "wxGetTopLevelParent", (PyCFunction
) _wrap_wxGetTopLevelParent
, METH_VARARGS
| METH_KEYWORDS
},
11553 { "wxFlushEvents", (PyCFunction
) _wrap_wxFlushEvents
, METH_VARARGS
| METH_KEYWORDS
},
11554 { "wxCheckForInterrupt", (PyCFunction
) _wrap_wxCheckForInterrupt
, METH_VARARGS
| METH_KEYWORDS
},
11555 { "wxFindWindowAtPoint", (PyCFunction
) _wrap_wxFindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
},
11556 { "wxGenericFindWindowAtPoint", (PyCFunction
) _wrap_wxGenericFindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
},
11557 { "wxGetActiveWindow", (PyCFunction
) _wrap_wxGetActiveWindow
, METH_VARARGS
| METH_KEYWORDS
},
11558 { "wxBeginBusyCursor", (PyCFunction
) _wrap_wxBeginBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
11559 { "wxSetCursor", (PyCFunction
) _wrap_wxSetCursor
, METH_VARARGS
| METH_KEYWORDS
},
11560 { "wxGetClientDisplayRect", (PyCFunction
) _wrap_wxGetClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
},
11561 { "wxClientDisplayRect", (PyCFunction
) _wrap_wxClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
},
11562 { "wxGetDisplaySizeMM", (PyCFunction
) _wrap_wxGetDisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
},
11563 { "wxDisplaySizeMM", (PyCFunction
) _wrap_wxDisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
},
11564 { "wxGetDisplaySize", (PyCFunction
) _wrap_wxGetDisplaySize
, METH_VARARGS
| METH_KEYWORDS
},
11565 { "wxDisplaySize", (PyCFunction
) _wrap_wxDisplaySize
, METH_VARARGS
| METH_KEYWORDS
},
11566 { "wxGetDisplayDepth", (PyCFunction
) _wrap_wxGetDisplayDepth
, METH_VARARGS
| METH_KEYWORDS
},
11567 { "wxDisplayDepth", (PyCFunction
) _wrap_wxDisplayDepth
, METH_VARARGS
| METH_KEYWORDS
},
11568 { "wxColourDisplay", (PyCFunction
) _wrap_wxColourDisplay
, METH_VARARGS
| METH_KEYWORDS
},
11569 { "wxGetNumberFromUser", (PyCFunction
) _wrap_wxGetNumberFromUser
, METH_VARARGS
| METH_KEYWORDS
},
11570 { "wxMessageBox", (PyCFunction
) _wrap_wxMessageBox
, METH_VARARGS
| METH_KEYWORDS
},
11571 { "wxGetSingleChoiceIndex", (PyCFunction
) _wrap_wxGetSingleChoiceIndex
, METH_VARARGS
| METH_KEYWORDS
},
11572 { "wxGetSingleChoice", (PyCFunction
) _wrap_wxGetSingleChoice
, METH_VARARGS
| METH_KEYWORDS
},
11573 { "wxGetPasswordFromUser", (PyCFunction
) _wrap_wxGetPasswordFromUser
, METH_VARARGS
| METH_KEYWORDS
},
11574 { "wxGetTextFromUser", (PyCFunction
) _wrap_wxGetTextFromUser
, METH_VARARGS
| METH_KEYWORDS
},
11575 { "wxDirSelector", (PyCFunction
) _wrap_wxDirSelector
, METH_VARARGS
| METH_KEYWORDS
},
11576 { "wxSaveFileSelector", (PyCFunction
) _wrap_wxSaveFileSelector
, METH_VARARGS
| METH_KEYWORDS
},
11577 { "wxLoadFileSelector", (PyCFunction
) _wrap_wxLoadFileSelector
, METH_VARARGS
| METH_KEYWORDS
},
11578 { "wxFileSelector", (PyCFunction
) _wrap_wxFileSelector
, METH_VARARGS
| METH_KEYWORDS
},
11585 * This table is used by the pointer type-checker
11587 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
11588 { "_wxEvent","_wxProcessEvent",SwigwxProcessEventTowxEvent
},
11589 { "_signed_long","_long",0},
11590 { "_wxPrintQuality","_wxCoord",0},
11591 { "_wxPrintQuality","_int",0},
11592 { "_wxPrintQuality","_signed_int",0},
11593 { "_wxPrintQuality","_unsigned_int",0},
11594 { "_wxPrintQuality","_wxWindowID",0},
11595 { "_wxPrintQuality","_uint",0},
11596 { "_wxPrintQuality","_EBool",0},
11597 { "_wxPrintQuality","_size_t",0},
11598 { "_wxPrintQuality","_time_t",0},
11599 { "_wxLog","_wxPyLog",SwigwxPyLogTowxLog
},
11600 { "_wxLog","_wxLogChain",SwigwxLogChainTowxLog
},
11601 { "_wxLog","_wxLogWindow",SwigwxLogWindowTowxLog
},
11602 { "_wxLog","_wxLogGui",SwigwxLogGuiTowxLog
},
11603 { "_wxLog","_wxLogTextCtrl",SwigwxLogTextCtrlTowxLog
},
11604 { "_wxLog","_wxLogStderr",SwigwxLogStderrTowxLog
},
11605 { "_byte","_unsigned_char",0},
11606 { "_long","_unsigned_long",0},
11607 { "_long","_signed_long",0},
11608 { "_size_t","_wxCoord",0},
11609 { "_size_t","_wxPrintQuality",0},
11610 { "_size_t","_time_t",0},
11611 { "_size_t","_unsigned_int",0},
11612 { "_size_t","_int",0},
11613 { "_size_t","_wxWindowID",0},
11614 { "_size_t","_uint",0},
11615 { "_uint","_wxCoord",0},
11616 { "_uint","_wxPrintQuality",0},
11617 { "_uint","_time_t",0},
11618 { "_uint","_size_t",0},
11619 { "_uint","_unsigned_int",0},
11620 { "_uint","_int",0},
11621 { "_uint","_wxWindowID",0},
11622 { "_wxChar","_char",0},
11623 { "_char","_wxChar",0},
11624 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
11625 { "_EBool","_wxCoord",0},
11626 { "_EBool","_wxPrintQuality",0},
11627 { "_EBool","_signed_int",0},
11628 { "_EBool","_int",0},
11629 { "_EBool","_wxWindowID",0},
11630 { "_unsigned_long","_long",0},
11631 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
11632 { "_signed_int","_wxCoord",0},
11633 { "_signed_int","_wxPrintQuality",0},
11634 { "_signed_int","_EBool",0},
11635 { "_signed_int","_wxWindowID",0},
11636 { "_signed_int","_int",0},
11637 { "_WXTYPE","_wxDateTime_t",0},
11638 { "_WXTYPE","_short",0},
11639 { "_WXTYPE","_signed_short",0},
11640 { "_WXTYPE","_unsigned_short",0},
11641 { "_wxTipProvider","_wxPyTipProvider",SwigwxPyTipProviderTowxTipProvider
},
11642 { "_unsigned_short","_wxDateTime_t",0},
11643 { "_unsigned_short","_WXTYPE",0},
11644 { "_unsigned_short","_short",0},
11645 { "_wxObject","_wxEffects",SwigwxEffectsTowxObject
},
11646 { "_wxObject","_wxFileHistory",SwigwxFileHistoryTowxObject
},
11647 { "_wxObject","_wxPyArtProvider",SwigwxPyArtProviderTowxObject
},
11648 { "_wxObject","_wxWave",SwigwxWaveTowxObject
},
11649 { "_wxObject","_wxJoystick",SwigwxJoystickTowxObject
},
11650 { "_wxObject","_wxPyProcess",SwigwxPyProcessTowxObject
},
11651 { "_wxObject","_wxProcessEvent",SwigwxProcessEventTowxObject
},
11652 { "_wxObject","_wxPyTimer",SwigwxPyTimerTowxObject
},
11653 { "_wxObject","_wxGenericDragImage",SwigwxGenericDragImageTowxObject
},
11654 { "_wxObject","_wxToolTip",SwigwxToolTipTowxObject
},
11655 { "_signed_short","_WXTYPE",0},
11656 { "_signed_short","_short",0},
11657 { "_unsigned_char","_byte",0},
11658 { "_unsigned_int","_wxCoord",0},
11659 { "_unsigned_int","_wxPrintQuality",0},
11660 { "_unsigned_int","_time_t",0},
11661 { "_unsigned_int","_size_t",0},
11662 { "_unsigned_int","_uint",0},
11663 { "_unsigned_int","_wxWindowID",0},
11664 { "_unsigned_int","_int",0},
11665 { "_short","_wxDateTime_t",0},
11666 { "_short","_WXTYPE",0},
11667 { "_short","_unsigned_short",0},
11668 { "_short","_signed_short",0},
11669 { "_wxWindowID","_wxCoord",0},
11670 { "_wxWindowID","_wxPrintQuality",0},
11671 { "_wxWindowID","_time_t",0},
11672 { "_wxWindowID","_size_t",0},
11673 { "_wxWindowID","_EBool",0},
11674 { "_wxWindowID","_uint",0},
11675 { "_wxWindowID","_int",0},
11676 { "_wxWindowID","_signed_int",0},
11677 { "_wxWindowID","_unsigned_int",0},
11678 { "_int","_wxCoord",0},
11679 { "_int","_wxPrintQuality",0},
11680 { "_int","_time_t",0},
11681 { "_int","_size_t",0},
11682 { "_int","_EBool",0},
11683 { "_int","_uint",0},
11684 { "_int","_wxWindowID",0},
11685 { "_int","_unsigned_int",0},
11686 { "_int","_signed_int",0},
11687 { "_wxDateTime_t","_unsigned_short",0},
11688 { "_wxDateTime_t","_short",0},
11689 { "_wxDateTime_t","_WXTYPE",0},
11690 { "_time_t","_wxCoord",0},
11691 { "_time_t","_wxPrintQuality",0},
11692 { "_time_t","_unsigned_int",0},
11693 { "_time_t","_int",0},
11694 { "_time_t","_wxWindowID",0},
11695 { "_time_t","_uint",0},
11696 { "_time_t","_size_t",0},
11697 { "_wxCoord","_int",0},
11698 { "_wxCoord","_signed_int",0},
11699 { "_wxCoord","_unsigned_int",0},
11700 { "_wxCoord","_wxWindowID",0},
11701 { "_wxCoord","_uint",0},
11702 { "_wxCoord","_EBool",0},
11703 { "_wxCoord","_size_t",0},
11704 { "_wxCoord","_time_t",0},
11705 { "_wxCoord","_wxPrintQuality",0},
11706 { "_wxEvtHandler","_wxPyProcess",SwigwxPyProcessTowxEvtHandler
},
11709 static PyObject
*SWIG_globals
;
11713 SWIGEXPORT(void) initmisc2c() {
11715 SWIG_globals
= SWIG_newvarlink();
11716 m
= Py_InitModule("misc2c", misc2cMethods
);
11717 d
= PyModule_GetDict(m
);
11718 PyDict_SetItemString(d
,"wxSYS_OEM_FIXED_FONT", PyInt_FromLong((long) wxSYS_OEM_FIXED_FONT
));
11719 PyDict_SetItemString(d
,"wxSYS_ANSI_FIXED_FONT", PyInt_FromLong((long) wxSYS_ANSI_FIXED_FONT
));
11720 PyDict_SetItemString(d
,"wxSYS_ANSI_VAR_FONT", PyInt_FromLong((long) wxSYS_ANSI_VAR_FONT
));
11721 PyDict_SetItemString(d
,"wxSYS_SYSTEM_FONT", PyInt_FromLong((long) wxSYS_SYSTEM_FONT
));
11722 PyDict_SetItemString(d
,"wxSYS_DEVICE_DEFAULT_FONT", PyInt_FromLong((long) wxSYS_DEVICE_DEFAULT_FONT
));
11723 PyDict_SetItemString(d
,"wxSYS_DEFAULT_PALETTE", PyInt_FromLong((long) wxSYS_DEFAULT_PALETTE
));
11724 PyDict_SetItemString(d
,"wxSYS_SYSTEM_FIXED_FONT", PyInt_FromLong((long) wxSYS_SYSTEM_FIXED_FONT
));
11725 PyDict_SetItemString(d
,"wxSYS_DEFAULT_GUI_FONT", PyInt_FromLong((long) wxSYS_DEFAULT_GUI_FONT
));
11726 PyDict_SetItemString(d
,"wxSYS_COLOUR_SCROLLBAR", PyInt_FromLong((long) wxSYS_COLOUR_SCROLLBAR
));
11727 PyDict_SetItemString(d
,"wxSYS_COLOUR_BACKGROUND", PyInt_FromLong((long) wxSYS_COLOUR_BACKGROUND
));
11728 PyDict_SetItemString(d
,"wxSYS_COLOUR_DESKTOP", PyInt_FromLong((long) wxSYS_COLOUR_DESKTOP
));
11729 PyDict_SetItemString(d
,"wxSYS_COLOUR_ACTIVECAPTION", PyInt_FromLong((long) wxSYS_COLOUR_ACTIVECAPTION
));
11730 PyDict_SetItemString(d
,"wxSYS_COLOUR_INACTIVECAPTION", PyInt_FromLong((long) wxSYS_COLOUR_INACTIVECAPTION
));
11731 PyDict_SetItemString(d
,"wxSYS_COLOUR_MENU", PyInt_FromLong((long) wxSYS_COLOUR_MENU
));
11732 PyDict_SetItemString(d
,"wxSYS_COLOUR_WINDOW", PyInt_FromLong((long) wxSYS_COLOUR_WINDOW
));
11733 PyDict_SetItemString(d
,"wxSYS_COLOUR_WINDOWFRAME", PyInt_FromLong((long) wxSYS_COLOUR_WINDOWFRAME
));
11734 PyDict_SetItemString(d
,"wxSYS_COLOUR_MENUTEXT", PyInt_FromLong((long) wxSYS_COLOUR_MENUTEXT
));
11735 PyDict_SetItemString(d
,"wxSYS_COLOUR_WINDOWTEXT", PyInt_FromLong((long) wxSYS_COLOUR_WINDOWTEXT
));
11736 PyDict_SetItemString(d
,"wxSYS_COLOUR_CAPTIONTEXT", PyInt_FromLong((long) wxSYS_COLOUR_CAPTIONTEXT
));
11737 PyDict_SetItemString(d
,"wxSYS_COLOUR_ACTIVEBORDER", PyInt_FromLong((long) wxSYS_COLOUR_ACTIVEBORDER
));
11738 PyDict_SetItemString(d
,"wxSYS_COLOUR_INACTIVEBORDER", PyInt_FromLong((long) wxSYS_COLOUR_INACTIVEBORDER
));
11739 PyDict_SetItemString(d
,"wxSYS_COLOUR_APPWORKSPACE", PyInt_FromLong((long) wxSYS_COLOUR_APPWORKSPACE
));
11740 PyDict_SetItemString(d
,"wxSYS_COLOUR_HIGHLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_HIGHLIGHT
));
11741 PyDict_SetItemString(d
,"wxSYS_COLOUR_HIGHLIGHTTEXT", PyInt_FromLong((long) wxSYS_COLOUR_HIGHLIGHTTEXT
));
11742 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNFACE", PyInt_FromLong((long) wxSYS_COLOUR_BTNFACE
));
11743 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DFACE", PyInt_FromLong((long) wxSYS_COLOUR_3DFACE
));
11744 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNSHADOW", PyInt_FromLong((long) wxSYS_COLOUR_BTNSHADOW
));
11745 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DSHADOW", PyInt_FromLong((long) wxSYS_COLOUR_3DSHADOW
));
11746 PyDict_SetItemString(d
,"wxSYS_COLOUR_GRAYTEXT", PyInt_FromLong((long) wxSYS_COLOUR_GRAYTEXT
));
11747 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNTEXT", PyInt_FromLong((long) wxSYS_COLOUR_BTNTEXT
));
11748 PyDict_SetItemString(d
,"wxSYS_COLOUR_INACTIVECAPTIONTEXT", PyInt_FromLong((long) wxSYS_COLOUR_INACTIVECAPTIONTEXT
));
11749 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNHIGHLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_BTNHIGHLIGHT
));
11750 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNHILIGHT", PyInt_FromLong((long) wxSYS_COLOUR_BTNHILIGHT
));
11751 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DHIGHLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_3DHIGHLIGHT
));
11752 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DHILIGHT", PyInt_FromLong((long) wxSYS_COLOUR_3DHILIGHT
));
11753 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DDKSHADOW", PyInt_FromLong((long) wxSYS_COLOUR_3DDKSHADOW
));
11754 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_3DLIGHT
));
11755 PyDict_SetItemString(d
,"wxSYS_COLOUR_INFOTEXT", PyInt_FromLong((long) wxSYS_COLOUR_INFOTEXT
));
11756 PyDict_SetItemString(d
,"wxSYS_COLOUR_INFOBK", PyInt_FromLong((long) wxSYS_COLOUR_INFOBK
));
11757 PyDict_SetItemString(d
,"wxSYS_COLOUR_LISTBOX", PyInt_FromLong((long) wxSYS_COLOUR_LISTBOX
));
11758 PyDict_SetItemString(d
,"wxSYS_COLOUR_HOTLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_HOTLIGHT
));
11759 PyDict_SetItemString(d
,"wxSYS_COLOUR_GRADIENTACTIVECAPTION", PyInt_FromLong((long) wxSYS_COLOUR_GRADIENTACTIVECAPTION
));
11760 PyDict_SetItemString(d
,"wxSYS_COLOUR_GRADIENTINACTIVECAPTION", PyInt_FromLong((long) wxSYS_COLOUR_GRADIENTINACTIVECAPTION
));
11761 PyDict_SetItemString(d
,"wxSYS_COLOUR_MENUHILIGHT", PyInt_FromLong((long) wxSYS_COLOUR_MENUHILIGHT
));
11762 PyDict_SetItemString(d
,"wxSYS_COLOUR_MENUBAR", PyInt_FromLong((long) wxSYS_COLOUR_MENUBAR
));
11763 PyDict_SetItemString(d
,"wxSYS_COLOUR_MAX", PyInt_FromLong((long) wxSYS_COLOUR_MAX
));
11764 PyDict_SetItemString(d
,"wxSYS_MOUSE_BUTTONS", PyInt_FromLong((long) wxSYS_MOUSE_BUTTONS
));
11765 PyDict_SetItemString(d
,"wxSYS_BORDER_X", PyInt_FromLong((long) wxSYS_BORDER_X
));
11766 PyDict_SetItemString(d
,"wxSYS_BORDER_Y", PyInt_FromLong((long) wxSYS_BORDER_Y
));
11767 PyDict_SetItemString(d
,"wxSYS_CURSOR_X", PyInt_FromLong((long) wxSYS_CURSOR_X
));
11768 PyDict_SetItemString(d
,"wxSYS_CURSOR_Y", PyInt_FromLong((long) wxSYS_CURSOR_Y
));
11769 PyDict_SetItemString(d
,"wxSYS_DCLICK_X", PyInt_FromLong((long) wxSYS_DCLICK_X
));
11770 PyDict_SetItemString(d
,"wxSYS_DCLICK_Y", PyInt_FromLong((long) wxSYS_DCLICK_Y
));
11771 PyDict_SetItemString(d
,"wxSYS_DRAG_X", PyInt_FromLong((long) wxSYS_DRAG_X
));
11772 PyDict_SetItemString(d
,"wxSYS_DRAG_Y", PyInt_FromLong((long) wxSYS_DRAG_Y
));
11773 PyDict_SetItemString(d
,"wxSYS_EDGE_X", PyInt_FromLong((long) wxSYS_EDGE_X
));
11774 PyDict_SetItemString(d
,"wxSYS_EDGE_Y", PyInt_FromLong((long) wxSYS_EDGE_Y
));
11775 PyDict_SetItemString(d
,"wxSYS_HSCROLL_ARROW_X", PyInt_FromLong((long) wxSYS_HSCROLL_ARROW_X
));
11776 PyDict_SetItemString(d
,"wxSYS_HSCROLL_ARROW_Y", PyInt_FromLong((long) wxSYS_HSCROLL_ARROW_Y
));
11777 PyDict_SetItemString(d
,"wxSYS_HTHUMB_X", PyInt_FromLong((long) wxSYS_HTHUMB_X
));
11778 PyDict_SetItemString(d
,"wxSYS_ICON_X", PyInt_FromLong((long) wxSYS_ICON_X
));
11779 PyDict_SetItemString(d
,"wxSYS_ICON_Y", PyInt_FromLong((long) wxSYS_ICON_Y
));
11780 PyDict_SetItemString(d
,"wxSYS_ICONSPACING_X", PyInt_FromLong((long) wxSYS_ICONSPACING_X
));
11781 PyDict_SetItemString(d
,"wxSYS_ICONSPACING_Y", PyInt_FromLong((long) wxSYS_ICONSPACING_Y
));
11782 PyDict_SetItemString(d
,"wxSYS_WINDOWMIN_X", PyInt_FromLong((long) wxSYS_WINDOWMIN_X
));
11783 PyDict_SetItemString(d
,"wxSYS_WINDOWMIN_Y", PyInt_FromLong((long) wxSYS_WINDOWMIN_Y
));
11784 PyDict_SetItemString(d
,"wxSYS_SCREEN_X", PyInt_FromLong((long) wxSYS_SCREEN_X
));
11785 PyDict_SetItemString(d
,"wxSYS_SCREEN_Y", PyInt_FromLong((long) wxSYS_SCREEN_Y
));
11786 PyDict_SetItemString(d
,"wxSYS_FRAMESIZE_X", PyInt_FromLong((long) wxSYS_FRAMESIZE_X
));
11787 PyDict_SetItemString(d
,"wxSYS_FRAMESIZE_Y", PyInt_FromLong((long) wxSYS_FRAMESIZE_Y
));
11788 PyDict_SetItemString(d
,"wxSYS_SMALLICON_X", PyInt_FromLong((long) wxSYS_SMALLICON_X
));
11789 PyDict_SetItemString(d
,"wxSYS_SMALLICON_Y", PyInt_FromLong((long) wxSYS_SMALLICON_Y
));
11790 PyDict_SetItemString(d
,"wxSYS_HSCROLL_Y", PyInt_FromLong((long) wxSYS_HSCROLL_Y
));
11791 PyDict_SetItemString(d
,"wxSYS_VSCROLL_X", PyInt_FromLong((long) wxSYS_VSCROLL_X
));
11792 PyDict_SetItemString(d
,"wxSYS_VSCROLL_ARROW_X", PyInt_FromLong((long) wxSYS_VSCROLL_ARROW_X
));
11793 PyDict_SetItemString(d
,"wxSYS_VSCROLL_ARROW_Y", PyInt_FromLong((long) wxSYS_VSCROLL_ARROW_Y
));
11794 PyDict_SetItemString(d
,"wxSYS_VTHUMB_Y", PyInt_FromLong((long) wxSYS_VTHUMB_Y
));
11795 PyDict_SetItemString(d
,"wxSYS_CAPTION_Y", PyInt_FromLong((long) wxSYS_CAPTION_Y
));
11796 PyDict_SetItemString(d
,"wxSYS_MENU_Y", PyInt_FromLong((long) wxSYS_MENU_Y
));
11797 PyDict_SetItemString(d
,"wxSYS_NETWORK_PRESENT", PyInt_FromLong((long) wxSYS_NETWORK_PRESENT
));
11798 PyDict_SetItemString(d
,"wxSYS_PENWINDOWS_PRESENT", PyInt_FromLong((long) wxSYS_PENWINDOWS_PRESENT
));
11799 PyDict_SetItemString(d
,"wxSYS_SHOW_SOUNDS", PyInt_FromLong((long) wxSYS_SHOW_SOUNDS
));
11800 PyDict_SetItemString(d
,"wxSYS_SWAP_BUTTONS", PyInt_FromLong((long) wxSYS_SWAP_BUTTONS
));
11801 PyDict_SetItemString(d
,"wxSYS_CAN_DRAW_FRAME_DECORATIONS", PyInt_FromLong((long) wxSYS_CAN_DRAW_FRAME_DECORATIONS
));
11802 PyDict_SetItemString(d
,"wxSYS_CAN_ICONIZE_FRAME", PyInt_FromLong((long) wxSYS_CAN_ICONIZE_FRAME
));
11803 PyDict_SetItemString(d
,"wxSYS_SCREEN_NONE", PyInt_FromLong((long) wxSYS_SCREEN_NONE
));
11804 PyDict_SetItemString(d
,"wxSYS_SCREEN_TINY", PyInt_FromLong((long) wxSYS_SCREEN_TINY
));
11805 PyDict_SetItemString(d
,"wxSYS_SCREEN_PDA", PyInt_FromLong((long) wxSYS_SCREEN_PDA
));
11806 PyDict_SetItemString(d
,"wxSYS_SCREEN_SMALL", PyInt_FromLong((long) wxSYS_SCREEN_SMALL
));
11807 PyDict_SetItemString(d
,"wxSYS_SCREEN_DESKTOP", PyInt_FromLong((long) wxSYS_SCREEN_DESKTOP
));
11808 PyDict_SetItemString(d
,"wxLOG_FatalError", PyInt_FromLong((long) wxLOG_FatalError
));
11809 PyDict_SetItemString(d
,"wxLOG_Error", PyInt_FromLong((long) wxLOG_Error
));
11810 PyDict_SetItemString(d
,"wxLOG_Warning", PyInt_FromLong((long) wxLOG_Warning
));
11811 PyDict_SetItemString(d
,"wxLOG_Message", PyInt_FromLong((long) wxLOG_Message
));
11812 PyDict_SetItemString(d
,"wxLOG_Info", PyInt_FromLong((long) wxLOG_Info
));
11813 PyDict_SetItemString(d
,"wxLOG_Status", PyInt_FromLong((long) wxLOG_Status
));
11814 PyDict_SetItemString(d
,"wxLOG_Debug", PyInt_FromLong((long) wxLOG_Debug
));
11815 PyDict_SetItemString(d
,"wxLOG_Trace", PyInt_FromLong((long) wxLOG_Trace
));
11816 PyDict_SetItemString(d
,"wxLOG_Progress", PyInt_FromLong((long) wxLOG_Progress
));
11817 PyDict_SetItemString(d
,"wxLOG_User", PyInt_FromLong((long) wxLOG_User
));
11818 PyDict_SetItemString(d
,"wxTRACE_MemAlloc", PyString_FromString("memalloc"));
11819 PyDict_SetItemString(d
,"wxTRACE_Messages", PyString_FromString("messages"));
11820 PyDict_SetItemString(d
,"wxTRACE_ResAlloc", PyString_FromString("resalloc"));
11821 PyDict_SetItemString(d
,"wxTRACE_RefCount", PyString_FromString("refcount"));
11822 PyDict_SetItemString(d
,"wxTRACE_OleCalls", PyString_FromString("ole"));
11823 PyDict_SetItemString(d
,"wxTraceMemAlloc", PyInt_FromLong((long) wxTraceMemAlloc
));
11824 PyDict_SetItemString(d
,"wxTraceMessages", PyInt_FromLong((long) wxTraceMessages
));
11825 PyDict_SetItemString(d
,"wxTraceResAlloc", PyInt_FromLong((long) wxTraceResAlloc
));
11826 PyDict_SetItemString(d
,"wxTraceRefCount", PyInt_FromLong((long) wxTraceRefCount
));
11827 PyDict_SetItemString(d
,"wxTraceOleCalls", PyInt_FromLong((long) wxTraceOleCalls
));
11828 PyDict_SetItemString(d
,"wxKILL_OK", PyInt_FromLong((long) wxKILL_OK
));
11829 PyDict_SetItemString(d
,"wxKILL_BAD_SIGNAL", PyInt_FromLong((long) wxKILL_BAD_SIGNAL
));
11830 PyDict_SetItemString(d
,"wxKILL_ACCESS_DENIED", PyInt_FromLong((long) wxKILL_ACCESS_DENIED
));
11831 PyDict_SetItemString(d
,"wxKILL_NO_PROCESS", PyInt_FromLong((long) wxKILL_NO_PROCESS
));
11832 PyDict_SetItemString(d
,"wxKILL_ERROR", PyInt_FromLong((long) wxKILL_ERROR
));
11833 PyDict_SetItemString(d
,"wxSIGNONE", PyInt_FromLong((long) wxSIGNONE
));
11834 PyDict_SetItemString(d
,"wxSIGHUP", PyInt_FromLong((long) wxSIGHUP
));
11835 PyDict_SetItemString(d
,"wxSIGINT", PyInt_FromLong((long) wxSIGINT
));
11836 PyDict_SetItemString(d
,"wxSIGQUIT", PyInt_FromLong((long) wxSIGQUIT
));
11837 PyDict_SetItemString(d
,"wxSIGILL", PyInt_FromLong((long) wxSIGILL
));
11838 PyDict_SetItemString(d
,"wxSIGTRAP", PyInt_FromLong((long) wxSIGTRAP
));
11839 PyDict_SetItemString(d
,"wxSIGABRT", PyInt_FromLong((long) wxSIGABRT
));
11840 PyDict_SetItemString(d
,"wxSIGIOT", PyInt_FromLong((long) wxSIGIOT
));
11841 PyDict_SetItemString(d
,"wxSIGEMT", PyInt_FromLong((long) wxSIGEMT
));
11842 PyDict_SetItemString(d
,"wxSIGFPE", PyInt_FromLong((long) wxSIGFPE
));
11843 PyDict_SetItemString(d
,"wxSIGKILL", PyInt_FromLong((long) wxSIGKILL
));
11844 PyDict_SetItemString(d
,"wxSIGBUS", PyInt_FromLong((long) wxSIGBUS
));
11845 PyDict_SetItemString(d
,"wxSIGSEGV", PyInt_FromLong((long) wxSIGSEGV
));
11846 PyDict_SetItemString(d
,"wxSIGSYS", PyInt_FromLong((long) wxSIGSYS
));
11847 PyDict_SetItemString(d
,"wxSIGPIPE", PyInt_FromLong((long) wxSIGPIPE
));
11848 PyDict_SetItemString(d
,"wxSIGALRM", PyInt_FromLong((long) wxSIGALRM
));
11849 PyDict_SetItemString(d
,"wxSIGTERM", PyInt_FromLong((long) wxSIGTERM
));
11850 PyDict_SetItemString(d
,"wxEVT_END_PROCESS", PyInt_FromLong((long) wxEVT_END_PROCESS
));
11851 PyDict_SetItemString(d
,"wxEXEC_ASYNC", PyInt_FromLong((long) wxEXEC_ASYNC
));
11852 PyDict_SetItemString(d
,"wxEXEC_SYNC", PyInt_FromLong((long) wxEXEC_SYNC
));
11853 PyDict_SetItemString(d
,"wxEXEC_NOHIDE", PyInt_FromLong((long) wxEXEC_NOHIDE
));
11854 PyDict_SetItemString(d
,"wxEXEC_MAKE_GROUP_LEADER", PyInt_FromLong((long) wxEXEC_MAKE_GROUP_LEADER
));
11855 PyDict_SetItemString(d
,"wxJOYSTICK1", PyInt_FromLong((long) wxJOYSTICK1
));
11856 PyDict_SetItemString(d
,"wxJOYSTICK2", PyInt_FromLong((long) wxJOYSTICK2
));
11857 PyDict_SetItemString(d
,"wxJOY_BUTTON_ANY", PyInt_FromLong((long) wxJOY_BUTTON_ANY
));
11858 PyDict_SetItemString(d
,"wxJOY_BUTTON1", PyInt_FromLong((long) wxJOY_BUTTON1
));
11859 PyDict_SetItemString(d
,"wxJOY_BUTTON2", PyInt_FromLong((long) wxJOY_BUTTON2
));
11860 PyDict_SetItemString(d
,"wxJOY_BUTTON3", PyInt_FromLong((long) wxJOY_BUTTON3
));
11861 PyDict_SetItemString(d
,"wxJOY_BUTTON4", PyInt_FromLong((long) wxJOY_BUTTON4
));
11862 PyDict_SetItemString(d
,"wxMAILCAP_STANDARD", PyInt_FromLong((long) wxMAILCAP_STANDARD
));
11863 PyDict_SetItemString(d
,"wxMAILCAP_NETSCAPE", PyInt_FromLong((long) wxMAILCAP_NETSCAPE
));
11864 PyDict_SetItemString(d
,"wxMAILCAP_KDE", PyInt_FromLong((long) wxMAILCAP_KDE
));
11865 PyDict_SetItemString(d
,"wxMAILCAP_GNOME", PyInt_FromLong((long) wxMAILCAP_GNOME
));
11866 PyDict_SetItemString(d
,"wxMAILCAP_ALL", PyInt_FromLong((long) wxMAILCAP_ALL
));
11867 PyDict_SetItemString(d
,"cvar", SWIG_globals
);
11868 SWIG_addvarlink(SWIG_globals
,"wxTheMimeTypesManager",_wrap_wxTheMimeTypesManager_get
, _wrap_wxTheMimeTypesManager_set
);
11870 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
11871 wxPyPtrTypeMap_Add("wxProcess", "wxPyProcess");
11872 wxPyPtrTypeMap_Add("wxArtProvider", "wxPyArtProvider");
11876 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
11877 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);