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>
77 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
83 } else if (target
== Py_None
) {
87 if (!PyTuple_Check(target
)) {
89 target
= PyTuple_New(1);
90 PyTuple_SetItem(target
, 0, o2
);
93 PyTuple_SetItem(o3
, 0, o
);
96 target
= PySequence_Concat(o2
, o3
);
103 // Put some wx default wxChar* values into wxStrings.
104 DECLARE_DEF_STRING(FileSelectorPromptStr
);
105 DECLARE_DEF_STRING(FileSelectorDefaultWildcardStr
);
106 DECLARE_DEF_STRING(DirSelectorPromptStr
);
107 static const wxString
wxPyEmptyString(wxT(""));
109 int wxCaret_GetBlinkTime() {
110 return wxCaret::GetBlinkTime();
113 void wxCaret_SetBlinkTime(int milliseconds
) {
114 wxCaret::SetBlinkTime(milliseconds
);
117 bool wxThread_IsMain() {
118 #ifdef WXP_WITH_THREAD
119 return wxThread::IsMain();
125 class wxPyTipProvider
: public wxTipProvider
{
127 wxPyTipProvider(size_t currentTip
)
128 : wxTipProvider(currentTip
) {}
130 DEC_PYCALLBACK_STRING__pure(GetTip
);
135 IMP_PYCALLBACK_STRING__pure( wxPyTipProvider
, wxTipProvider
, GetTip
);
138 #include <wx/generic/dragimgg.h>
140 // A wxLog class that can be derived from in wxPython
141 class wxPyLog
: public wxLog
{
143 wxPyLog() : wxLog() {}
145 virtual void DoLog(wxLogLevel level
, const wxChar
*szString
, time_t t
) {
147 wxPyBeginBlockThreads();
148 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLog")))
149 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iOi)", level
,
150 wx2PyString(szString
), t
));
151 wxPyEndBlockThreads();
153 wxLog::DoLog(level
, szString
, t
);
156 virtual void DoLogString(const wxChar
*szString
, time_t t
) {
158 wxPyBeginBlockThreads();
159 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLogString")))
160 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(Oi)",
161 wx2PyString(szString
), t
));
162 wxPyEndBlockThreads();
164 wxLog::DoLogString(szString
, t
);
169 // C++ version of wxProcess derived class
171 class wxPyProcess
: public wxProcess
{
173 wxPyProcess(wxEvtHandler
*parent
= NULL
, int id
= -1)
174 : wxProcess(parent
, id
)
177 DEC_PYCALLBACK_VOID_INTINT(OnTerminate
);
182 IMP_PYCALLBACK_VOID_INTINT( wxPyProcess
, wxProcess
, OnTerminate
);
185 #if !wxUSE_JOYSTICK && !defined(__WXMSW__)
186 // A C++ stub class for wxJoystick for platforms that don't have it.
187 class wxJoystick
: public wxObject
{
189 wxJoystick(int joystick
= wxJOYSTICK1
) {
190 wxPyBeginBlockThreads();
191 PyErr_SetString(PyExc_NotImplementedError
, "wxJoystick is not available on this platform.");
192 wxPyEndBlockThreads();
194 wxPoint
GetPosition() { return wxPoint(-1,-1); }
195 int GetZPosition() { return -1; }
196 int GetButtonState() { return -1; }
197 int GetPOVPosition() { return -1; }
198 int GetPOVCTSPosition() { return -1; }
199 int GetRudderPosition() { return -1; }
200 int GetUPosition() { return -1; }
201 int GetVPosition() { return -1; }
202 int GetMovementThreshold() { return -1; }
203 void SetMovementThreshold(int threshold
) {}
205 bool IsOk(void) { return FALSE
; }
206 int GetNumberJoysticks() { return -1; }
207 int GetManufacturerId() { return -1; }
208 int GetProductId() { return -1; }
209 wxString
GetProductName() { return ""; }
210 int GetXMin() { return -1; }
211 int GetYMin() { return -1; }
212 int GetZMin() { return -1; }
213 int GetXMax() { return -1; }
214 int GetYMax() { return -1; }
215 int GetZMax() { return -1; }
216 int GetNumberButtons() { return -1; }
217 int GetNumberAxes() { return -1; }
218 int GetMaxButtons() { return -1; }
219 int GetMaxAxes() { return -1; }
220 int GetPollingMin() { return -1; }
221 int GetPollingMax() { return -1; }
222 int GetRudderMin() { return -1; }
223 int GetRudderMax() { return -1; }
224 int GetUMin() { return -1; }
225 int GetUMax() { return -1; }
226 int GetVMin() { return -1; }
227 int GetVMax() { return -1; }
229 bool HasRudder() { return FALSE
; }
230 bool HasZ() { return FALSE
; }
231 bool HasU() { return FALSE
; }
232 bool HasV() { return FALSE
; }
233 bool HasPOV() { return FALSE
; }
234 bool HasPOV4Dir() { return FALSE
; }
235 bool HasPOVCTS() { return FALSE
; }
237 bool SetCapture(wxWindow
* win
, int pollingFreq
= 0) { return FALSE
; }
238 bool ReleaseCapture() { return FALSE
; }
243 // A C++ stub class for wxWave for platforms that don't have it.
244 class wxWave
: public wxObject
247 wxWave(const wxString
& fileName
, bool isResource
= FALSE
) {
248 wxPyBeginBlockThreads();
249 PyErr_SetString(PyExc_NotImplementedError
, "wxWave is not available on this platform.");
250 wxPyEndBlockThreads();
252 wxWave(int size
, const wxByte
* data
) {
253 wxPyBeginBlockThreads();
254 PyErr_SetString(PyExc_NotImplementedError
, "wxWave is not available on this platform.");
255 wxPyEndBlockThreads();
260 bool IsOk() const { return FALSE
; }
261 bool Play(bool async
= TRUE
, bool looped
= FALSE
) const { return FALSE
; }
265 // Implementations of some alternate "constructors"
266 wxWave
* wxWaveData(const wxString
& data
) {
267 return new wxWave(data
.Len(), (wxByte
*)data
.c_str());
271 extern wxMimeTypesManager
* wxTheMimeTypesManager
;
275 #include <wx/docview.h>
279 static PyObject
*_wrap_wxFileSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
280 PyObject
* _resultobj
;
282 wxString
* _arg0
= (wxString
*) &wxPyFileSelectorPromptStr
;
283 wxString
* _arg1
= (wxString
*) &wxPyEmptyString
;
284 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
285 wxString
* _arg3
= (wxString
*) &wxPyEmptyString
;
286 wxString
* _arg4
= (wxString
*) &wxPyFileSelectorDefaultWildcardStr
;
287 int _arg5
= (int ) 0;
288 wxWindow
* _arg6
= (wxWindow
*) NULL
;
289 int _arg7
= (int ) -1;
290 int _arg8
= (int ) -1;
291 PyObject
* _obj0
= 0;
292 PyObject
* _obj1
= 0;
293 PyObject
* _obj2
= 0;
294 PyObject
* _obj3
= 0;
295 PyObject
* _obj4
= 0;
296 PyObject
* _argo6
= 0;
297 char *_kwnames
[] = { "message","default_path","default_filename","default_extension","wildcard","flags","parent","x","y", NULL
};
300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|OOOOOiOii:wxFileSelector",_kwnames
,&_obj0
,&_obj1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_arg7
,&_arg8
))
304 _arg0
= wxString_in_helper(_obj0
);
310 _arg1
= wxString_in_helper(_obj1
);
316 _arg2
= wxString_in_helper(_obj2
);
322 _arg3
= wxString_in_helper(_obj3
);
328 _arg4
= wxString_in_helper(_obj4
);
333 if (_argo6
== Py_None
) { _arg6
= NULL
; }
334 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxWindow_p")) {
335 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxFileSelector. Expected _wxWindow_p.");
340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
341 _result
= new wxString (wxFileSelector(*_arg0
,*_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
,_arg7
,_arg8
));
343 wxPyEndAllowThreads(__tstate
);
344 if (PyErr_Occurred()) return NULL
;
347 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
349 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
378 static PyObject
*_wrap_wxLoadFileSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
379 PyObject
* _resultobj
;
383 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
384 wxWindow
* _arg3
= (wxWindow
*) NULL
;
385 PyObject
* _obj0
= 0;
386 PyObject
* _obj1
= 0;
387 PyObject
* _obj2
= 0;
388 PyObject
* _argo3
= 0;
389 char *_kwnames
[] = { "what","extension","default_name","parent", NULL
};
392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|OO:wxLoadFileSelector",_kwnames
,&_obj0
,&_obj1
,&_obj2
,&_argo3
))
395 _arg0
= wxString_in_helper(_obj0
);
400 _arg1
= wxString_in_helper(_obj1
);
406 _arg2
= wxString_in_helper(_obj2
);
411 if (_argo3
== Py_None
) { _arg3
= NULL
; }
412 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxWindow_p")) {
413 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxLoadFileSelector. Expected _wxWindow_p.");
418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
419 _result
= new wxString (wxLoadFileSelector(*_arg0
,*_arg1
,*_arg2
,_arg3
));
421 wxPyEndAllowThreads(__tstate
);
422 if (PyErr_Occurred()) return NULL
;
425 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
427 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
448 static PyObject
*_wrap_wxSaveFileSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
449 PyObject
* _resultobj
;
453 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
454 wxWindow
* _arg3
= (wxWindow
*) NULL
;
455 PyObject
* _obj0
= 0;
456 PyObject
* _obj1
= 0;
457 PyObject
* _obj2
= 0;
458 PyObject
* _argo3
= 0;
459 char *_kwnames
[] = { "what","extension","default_name","parent", NULL
};
462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|OO:wxSaveFileSelector",_kwnames
,&_obj0
,&_obj1
,&_obj2
,&_argo3
))
465 _arg0
= wxString_in_helper(_obj0
);
470 _arg1
= wxString_in_helper(_obj1
);
476 _arg2
= wxString_in_helper(_obj2
);
481 if (_argo3
== Py_None
) { _arg3
= NULL
; }
482 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxWindow_p")) {
483 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxSaveFileSelector. Expected _wxWindow_p.");
488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
489 _result
= new wxString (wxSaveFileSelector(*_arg0
,*_arg1
,*_arg2
,_arg3
));
491 wxPyEndAllowThreads(__tstate
);
492 if (PyErr_Occurred()) return NULL
;
495 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
497 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
518 static PyObject
*_wrap_wxDirSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
519 PyObject
* _resultobj
;
521 wxString
* _arg0
= (wxString
*) &wxPyDirSelectorPromptStr
;
522 wxString
* _arg1
= (wxString
*) &wxPyEmptyString
;
523 long _arg2
= (long ) wxDD_DEFAULT_STYLE
;
524 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
525 wxWindow
* _arg4
= (wxWindow
*) NULL
;
526 PyObject
* _obj0
= 0;
527 PyObject
* _obj1
= 0;
529 PyObject
* _obj3
= 0;
530 PyObject
* _argo4
= 0;
531 char *_kwnames
[] = { "message","defaultPath","style","pos","parent", NULL
};
534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|OOlOO:wxDirSelector",_kwnames
,&_obj0
,&_obj1
,&_arg2
,&_obj3
,&_argo4
))
538 _arg0
= wxString_in_helper(_obj0
);
544 _arg1
= wxString_in_helper(_obj1
);
551 if (! wxPoint_helper(_obj3
, &_arg3
))
555 if (_argo4
== Py_None
) { _arg4
= NULL
; }
556 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_wxWindow_p")) {
557 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxDirSelector. Expected _wxWindow_p.");
562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
563 _result
= new wxString (wxDirSelector(*_arg0
,*_arg1
,_arg2
,*_arg3
,_arg4
));
565 wxPyEndAllowThreads(__tstate
);
566 if (PyErr_Occurred()) return NULL
;
569 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
571 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
588 static PyObject
*_wrap_wxGetTextFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
589 PyObject
* _resultobj
;
592 wxString
* _arg1
= (wxString
*) &wxPyEmptyString
;
593 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
594 wxWindow
* _arg3
= (wxWindow
*) NULL
;
595 int _arg4
= (int ) -1;
596 int _arg5
= (int ) -1;
597 bool _arg6
= (bool ) TRUE
;
598 PyObject
* _obj0
= 0;
599 PyObject
* _obj1
= 0;
600 PyObject
* _obj2
= 0;
601 PyObject
* _argo3
= 0;
602 int tempbool6
= (int) TRUE
;
603 char *_kwnames
[] = { "message","caption","default_value","parent","x","y","centre", NULL
};
606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|OOOiii:wxGetTextFromUser",_kwnames
,&_obj0
,&_obj1
,&_obj2
,&_argo3
,&_arg4
,&_arg5
,&tempbool6
))
609 _arg0
= wxString_in_helper(_obj0
);
615 _arg1
= wxString_in_helper(_obj1
);
621 _arg2
= wxString_in_helper(_obj2
);
626 if (_argo3
== Py_None
) { _arg3
= NULL
; }
627 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxWindow_p")) {
628 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGetTextFromUser. Expected _wxWindow_p.");
632 _arg6
= (bool ) tempbool6
;
634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
635 _result
= new wxString (wxGetTextFromUser(*_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
,_arg6
));
637 wxPyEndAllowThreads(__tstate
);
638 if (PyErr_Occurred()) return NULL
;
641 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
643 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
664 static PyObject
*_wrap_wxGetPasswordFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
665 PyObject
* _resultobj
;
668 wxString
* _arg1
= (wxString
*) &wxPyEmptyString
;
669 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
670 wxWindow
* _arg3
= (wxWindow
*) NULL
;
671 PyObject
* _obj0
= 0;
672 PyObject
* _obj1
= 0;
673 PyObject
* _obj2
= 0;
674 PyObject
* _argo3
= 0;
675 char *_kwnames
[] = { "message","caption","default_value","parent", NULL
};
678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|OOO:wxGetPasswordFromUser",_kwnames
,&_obj0
,&_obj1
,&_obj2
,&_argo3
))
681 _arg0
= wxString_in_helper(_obj0
);
687 _arg1
= wxString_in_helper(_obj1
);
693 _arg2
= wxString_in_helper(_obj2
);
698 if (_argo3
== Py_None
) { _arg3
= NULL
; }
699 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxWindow_p")) {
700 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGetPasswordFromUser. Expected _wxWindow_p.");
705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
706 _result
= new wxString (wxGetPasswordFromUser(*_arg0
,*_arg1
,*_arg2
,_arg3
));
708 wxPyEndAllowThreads(__tstate
);
709 if (PyErr_Occurred()) return NULL
;
712 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
714 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
735 static PyObject
*_wrap_wxGetSingleChoice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
736 PyObject
* _resultobj
;
742 wxWindow
* _arg4
= (wxWindow
*) NULL
;
743 int _arg5
= (int ) -1;
744 int _arg6
= (int ) -1;
745 bool _arg7
= (bool ) TRUE
;
746 int _arg8
= (int ) 150;
747 int _arg9
= (int ) 200;
748 PyObject
* _obj0
= 0;
749 PyObject
* _obj1
= 0;
750 PyObject
* _obj3
= 0;
751 PyObject
* _argo4
= 0;
752 int tempbool7
= (int) TRUE
;
753 char *_kwnames
[] = { "message","caption","choices","parent","x","y","centre","width","height", NULL
};
756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|Oiiiii:wxGetSingleChoice",_kwnames
,&_obj0
,&_obj1
,&_obj3
,&_argo4
,&_arg5
,&_arg6
,&tempbool7
,&_arg8
,&_arg9
))
759 _arg0
= wxString_in_helper(_obj0
);
764 _arg1
= wxString_in_helper(_obj1
);
770 _arg3
= wxString_LIST_helper(_obj3
);
776 if (_argo4
== Py_None
) { _arg4
= NULL
; }
777 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_wxWindow_p")) {
778 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxGetSingleChoice. Expected _wxWindow_p.");
782 _arg7
= (bool ) tempbool7
;
785 _arg2
= PyList_Size(_obj3
);
792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
793 _result
= new wxString (wxGetSingleChoice(*_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,_arg9
));
795 wxPyEndAllowThreads(__tstate
);
796 if (PyErr_Occurred()) return NULL
;
799 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
801 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
821 static PyObject
*_wrap_wxGetSingleChoiceIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
822 PyObject
* _resultobj
;
828 wxWindow
* _arg4
= (wxWindow
*) NULL
;
829 int _arg5
= (int ) -1;
830 int _arg6
= (int ) -1;
831 bool _arg7
= (bool ) TRUE
;
832 int _arg8
= (int ) 150;
833 int _arg9
= (int ) 200;
834 PyObject
* _obj0
= 0;
835 PyObject
* _obj1
= 0;
836 PyObject
* _obj3
= 0;
837 PyObject
* _argo4
= 0;
838 int tempbool7
= (int) TRUE
;
839 char *_kwnames
[] = { "message","caption","choices","parent","x","y","centre","width","height", NULL
};
842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|Oiiiii:wxGetSingleChoiceIndex",_kwnames
,&_obj0
,&_obj1
,&_obj3
,&_argo4
,&_arg5
,&_arg6
,&tempbool7
,&_arg8
,&_arg9
))
845 _arg0
= wxString_in_helper(_obj0
);
850 _arg1
= wxString_in_helper(_obj1
);
856 _arg3
= wxString_LIST_helper(_obj3
);
862 if (_argo4
== Py_None
) { _arg4
= NULL
; }
863 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_wxWindow_p")) {
864 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxGetSingleChoiceIndex. Expected _wxWindow_p.");
868 _arg7
= (bool ) tempbool7
;
871 _arg2
= PyList_Size(_obj3
);
878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
879 _result
= (int )wxGetSingleChoiceIndex(*_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,_arg9
);
881 wxPyEndAllowThreads(__tstate
);
882 if (PyErr_Occurred()) return NULL
;
883 } _resultobj
= Py_BuildValue("i",_result
);
898 static PyObject
*_wrap_wxMessageBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
899 PyObject
* _resultobj
;
902 wxString
* _arg1
= (wxString
*) &wxPyEmptyString
;
903 int _arg2
= (int ) wxOK
|wxCENTRE
;
904 wxWindow
* _arg3
= (wxWindow
*) NULL
;
905 int _arg4
= (int ) -1;
906 int _arg5
= (int ) -1;
907 PyObject
* _obj0
= 0;
908 PyObject
* _obj1
= 0;
909 PyObject
* _argo3
= 0;
910 char *_kwnames
[] = { "message","caption","style","parent","x","y", NULL
};
913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|OiOii:wxMessageBox",_kwnames
,&_obj0
,&_obj1
,&_arg2
,&_argo3
,&_arg4
,&_arg5
))
916 _arg0
= wxString_in_helper(_obj0
);
922 _arg1
= wxString_in_helper(_obj1
);
927 if (_argo3
== Py_None
) { _arg3
= NULL
; }
928 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxWindow_p")) {
929 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxMessageBox. Expected _wxWindow_p.");
934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
935 _result
= (int )wxMessageBox(*_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
937 wxPyEndAllowThreads(__tstate
);
938 if (PyErr_Occurred()) return NULL
;
939 } _resultobj
= Py_BuildValue("i",_result
);
951 static PyObject
*_wrap_wxGetNumberFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
952 PyObject
* _resultobj
;
958 long _arg4
= (long ) 0;
959 long _arg5
= (long ) 100;
960 wxWindow
* _arg6
= (wxWindow
*) NULL
;
961 wxPoint
* _arg7
= (wxPoint
*) &wxDefaultPosition
;
962 PyObject
* _obj0
= 0;
963 PyObject
* _obj1
= 0;
964 PyObject
* _obj2
= 0;
965 PyObject
* _argo6
= 0;
967 PyObject
* _obj7
= 0;
968 char *_kwnames
[] = { "message","prompt","caption","value","min","max","parent","pos", NULL
};
971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOl|llOO:wxGetNumberFromUser",_kwnames
,&_obj0
,&_obj1
,&_obj2
,&_arg3
,&_arg4
,&_arg5
,&_argo6
,&_obj7
))
974 _arg0
= wxString_in_helper(_obj0
);
979 _arg1
= wxString_in_helper(_obj1
);
984 _arg2
= wxString_in_helper(_obj2
);
989 if (_argo6
== Py_None
) { _arg6
= NULL
; }
990 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxWindow_p")) {
991 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxGetNumberFromUser. Expected _wxWindow_p.");
998 if (! wxPoint_helper(_obj7
, &_arg7
))
1002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1003 _result
= (long )wxGetNumberFromUser(*_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,*_arg7
);
1005 wxPyEndAllowThreads(__tstate
);
1006 if (PyErr_Occurred()) return NULL
;
1007 } _resultobj
= Py_BuildValue("l",_result
);
1023 static PyObject
*_wrap_wxColourDisplay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1024 PyObject
* _resultobj
;
1026 char *_kwnames
[] = { NULL
};
1029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxColourDisplay",_kwnames
))
1032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1033 _result
= (bool )wxColourDisplay();
1035 wxPyEndAllowThreads(__tstate
);
1036 if (PyErr_Occurred()) return NULL
;
1037 } _resultobj
= Py_BuildValue("i",_result
);
1041 static PyObject
*_wrap_wxDisplayDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1042 PyObject
* _resultobj
;
1044 char *_kwnames
[] = { NULL
};
1047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxDisplayDepth",_kwnames
))
1050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1051 _result
= (int )wxDisplayDepth();
1053 wxPyEndAllowThreads(__tstate
);
1054 if (PyErr_Occurred()) return NULL
;
1055 } _resultobj
= Py_BuildValue("i",_result
);
1059 static PyObject
*_wrap_wxGetDisplayDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1060 PyObject
* _resultobj
;
1062 char *_kwnames
[] = { NULL
};
1065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetDisplayDepth",_kwnames
))
1068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1069 _result
= (int )wxGetDisplayDepth();
1071 wxPyEndAllowThreads(__tstate
);
1072 if (PyErr_Occurred()) return NULL
;
1073 } _resultobj
= Py_BuildValue("i",_result
);
1077 static PyObject
*_wrap_wxDisplaySize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1078 PyObject
* _resultobj
;
1083 char *_kwnames
[] = { NULL
};
1092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxDisplaySize",_kwnames
))
1095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1096 wxDisplaySize(_arg0
,_arg1
);
1098 wxPyEndAllowThreads(__tstate
);
1099 if (PyErr_Occurred()) return NULL
;
1100 } Py_INCREF(Py_None
);
1101 _resultobj
= Py_None
;
1104 o
= PyInt_FromLong((long) (*_arg0
));
1105 _resultobj
= t_output_helper(_resultobj
, o
);
1109 o
= PyInt_FromLong((long) (*_arg1
));
1110 _resultobj
= t_output_helper(_resultobj
, o
);
1115 static PyObject
*_wrap_wxGetDisplaySize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1116 PyObject
* _resultobj
;
1118 char *_kwnames
[] = { NULL
};
1122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetDisplaySize",_kwnames
))
1125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1126 _result
= new wxSize (wxGetDisplaySize());
1128 wxPyEndAllowThreads(__tstate
);
1129 if (PyErr_Occurred()) return NULL
;
1130 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
1131 _resultobj
= Py_BuildValue("s",_ptemp
);
1135 static PyObject
*_wrap_wxDisplaySizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1136 PyObject
* _resultobj
;
1141 char *_kwnames
[] = { NULL
};
1150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxDisplaySizeMM",_kwnames
))
1153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1154 wxDisplaySizeMM(_arg0
,_arg1
);
1156 wxPyEndAllowThreads(__tstate
);
1157 if (PyErr_Occurred()) return NULL
;
1158 } Py_INCREF(Py_None
);
1159 _resultobj
= Py_None
;
1162 o
= PyInt_FromLong((long) (*_arg0
));
1163 _resultobj
= t_output_helper(_resultobj
, o
);
1167 o
= PyInt_FromLong((long) (*_arg1
));
1168 _resultobj
= t_output_helper(_resultobj
, o
);
1173 static PyObject
*_wrap_wxGetDisplaySizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1174 PyObject
* _resultobj
;
1176 char *_kwnames
[] = { NULL
};
1180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetDisplaySizeMM",_kwnames
))
1183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1184 _result
= new wxSize (wxGetDisplaySizeMM());
1186 wxPyEndAllowThreads(__tstate
);
1187 if (PyErr_Occurred()) return NULL
;
1188 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
1189 _resultobj
= Py_BuildValue("s",_ptemp
);
1193 static PyObject
*_wrap_wxClientDisplayRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1194 PyObject
* _resultobj
;
1203 char *_kwnames
[] = { NULL
};
1218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxClientDisplayRect",_kwnames
))
1221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1222 wxClientDisplayRect(_arg0
,_arg1
,_arg2
,_arg3
);
1224 wxPyEndAllowThreads(__tstate
);
1225 if (PyErr_Occurred()) return NULL
;
1226 } Py_INCREF(Py_None
);
1227 _resultobj
= Py_None
;
1230 o
= PyInt_FromLong((long) (*_arg0
));
1231 _resultobj
= t_output_helper(_resultobj
, o
);
1235 o
= PyInt_FromLong((long) (*_arg1
));
1236 _resultobj
= t_output_helper(_resultobj
, o
);
1240 o
= PyInt_FromLong((long) (*_arg2
));
1241 _resultobj
= t_output_helper(_resultobj
, o
);
1245 o
= PyInt_FromLong((long) (*_arg3
));
1246 _resultobj
= t_output_helper(_resultobj
, o
);
1251 static PyObject
*_wrap_wxGetClientDisplayRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1252 PyObject
* _resultobj
;
1254 char *_kwnames
[] = { NULL
};
1258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetClientDisplayRect",_kwnames
))
1261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1262 _result
= new wxRect (wxGetClientDisplayRect());
1264 wxPyEndAllowThreads(__tstate
);
1265 if (PyErr_Occurred()) return NULL
;
1266 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
1267 _resultobj
= Py_BuildValue("s",_ptemp
);
1271 static PyObject
*_wrap_wxSetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1272 PyObject
* _resultobj
;
1274 PyObject
* _argo0
= 0;
1275 char *_kwnames
[] = { "cursor", NULL
};
1278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSetCursor",_kwnames
,&_argo0
))
1281 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1282 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
1283 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSetCursor. Expected _wxCursor_p.");
1288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1289 wxSetCursor(*_arg0
);
1291 wxPyEndAllowThreads(__tstate
);
1292 if (PyErr_Occurred()) return NULL
;
1293 } Py_INCREF(Py_None
);
1294 _resultobj
= Py_None
;
1298 static PyObject
*_wrap_wxBeginBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1299 PyObject
* _resultobj
;
1300 wxCursor
* _arg0
= (wxCursor
*) wxHOURGLASS_CURSOR
;
1301 PyObject
* _argo0
= 0;
1302 char *_kwnames
[] = { "cursor", NULL
};
1305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:wxBeginBusyCursor",_kwnames
,&_argo0
))
1308 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1309 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
1310 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBeginBusyCursor. Expected _wxCursor_p.");
1315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1316 wxBeginBusyCursor(_arg0
);
1318 wxPyEndAllowThreads(__tstate
);
1319 if (PyErr_Occurred()) return NULL
;
1320 } Py_INCREF(Py_None
);
1321 _resultobj
= Py_None
;
1325 static PyObject
*_wrap_wxGetActiveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1326 PyObject
* _resultobj
;
1328 char *_kwnames
[] = { NULL
};
1331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetActiveWindow",_kwnames
))
1334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1335 _result
= (wxWindow
*)wxGetActiveWindow();
1337 wxPyEndAllowThreads(__tstate
);
1338 if (PyErr_Occurred()) return NULL
;
1339 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1343 static PyObject
*_wrap_wxGenericFindWindowAtPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1344 PyObject
* _resultobj
;
1348 PyObject
* _obj0
= 0;
1349 char *_kwnames
[] = { "pt", NULL
};
1352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGenericFindWindowAtPoint",_kwnames
,&_obj0
))
1356 if (! wxPoint_helper(_obj0
, &_arg0
))
1360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1361 _result
= (wxWindow
*)wxGenericFindWindowAtPoint(*_arg0
);
1363 wxPyEndAllowThreads(__tstate
);
1364 if (PyErr_Occurred()) return NULL
;
1365 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1369 static PyObject
*_wrap_wxFindWindowAtPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1370 PyObject
* _resultobj
;
1374 PyObject
* _obj0
= 0;
1375 char *_kwnames
[] = { "pt", NULL
};
1378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFindWindowAtPoint",_kwnames
,&_obj0
))
1382 if (! wxPoint_helper(_obj0
, &_arg0
))
1386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1387 _result
= (wxWindow
*)wxFindWindowAtPoint(*_arg0
);
1389 wxPyEndAllowThreads(__tstate
);
1390 if (PyErr_Occurred()) return NULL
;
1391 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1395 static PyObject
*_wrap_wxCheckForInterrupt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1396 PyObject
* _resultobj
;
1399 PyObject
* _argo0
= 0;
1400 char *_kwnames
[] = { "wnd", NULL
};
1403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCheckForInterrupt",_kwnames
,&_argo0
))
1406 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1407 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1408 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckForInterrupt. Expected _wxWindow_p.");
1413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1414 _result
= (bool )wxCheckForInterrupt(_arg0
);
1416 wxPyEndAllowThreads(__tstate
);
1417 if (PyErr_Occurred()) return NULL
;
1418 } _resultobj
= Py_BuildValue("i",_result
);
1422 static PyObject
*_wrap_wxFlushEvents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1423 PyObject
* _resultobj
;
1424 char *_kwnames
[] = { NULL
};
1427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxFlushEvents",_kwnames
))
1430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1433 wxPyEndAllowThreads(__tstate
);
1434 if (PyErr_Occurred()) return NULL
;
1435 } Py_INCREF(Py_None
);
1436 _resultobj
= Py_None
;
1440 static PyObject
*_wrap_wxGetTopLevelParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1441 PyObject
* _resultobj
;
1444 PyObject
* _argo0
= 0;
1445 char *_kwnames
[] = { "win", NULL
};
1448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGetTopLevelParent",_kwnames
,&_argo0
))
1451 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1452 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1453 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGetTopLevelParent. Expected _wxWindow_p.");
1458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1459 _result
= (wxWindow
*)wxGetTopLevelParent(_arg0
);
1461 wxPyEndAllowThreads(__tstate
);
1462 if (PyErr_Occurred()) return NULL
;
1463 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1467 static PyObject
*_wrap_wxResourceAddIdentifier(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1468 PyObject
* _resultobj
;
1472 char *_kwnames
[] = { "name","value", NULL
};
1475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"si:wxResourceAddIdentifier",_kwnames
,&_arg0
,&_arg1
))
1478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1479 _result
= (bool )wxResourceAddIdentifier(_arg0
,_arg1
);
1481 wxPyEndAllowThreads(__tstate
);
1482 if (PyErr_Occurred()) return NULL
;
1483 } _resultobj
= Py_BuildValue("i",_result
);
1487 static PyObject
*_wrap_wxResourceClear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1488 PyObject
* _resultobj
;
1489 char *_kwnames
[] = { NULL
};
1492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxResourceClear",_kwnames
))
1495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1498 wxPyEndAllowThreads(__tstate
);
1499 if (PyErr_Occurred()) return NULL
;
1500 } Py_INCREF(Py_None
);
1501 _resultobj
= Py_None
;
1505 static PyObject
*_wrap_wxResourceCreateBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1506 PyObject
* _resultobj
;
1509 char *_kwnames
[] = { "resource", NULL
};
1513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxResourceCreateBitmap",_kwnames
,&_arg0
))
1516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1517 _result
= new wxBitmap (wxResourceCreateBitmap(_arg0
));
1519 wxPyEndAllowThreads(__tstate
);
1520 if (PyErr_Occurred()) return NULL
;
1521 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBitmap_p");
1522 _resultobj
= Py_BuildValue("s",_ptemp
);
1526 static PyObject
*_wrap_wxResourceCreateIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1527 PyObject
* _resultobj
;
1530 char *_kwnames
[] = { "resource", NULL
};
1534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxResourceCreateIcon",_kwnames
,&_arg0
))
1537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1538 _result
= new wxIcon (wxResourceCreateIcon(_arg0
));
1540 wxPyEndAllowThreads(__tstate
);
1541 if (PyErr_Occurred()) return NULL
;
1542 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxIcon_p");
1543 _resultobj
= Py_BuildValue("s",_ptemp
);
1547 static PyObject
*_wrap_wxResourceCreateMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1548 PyObject
* _resultobj
;
1549 wxMenuBar
* _result
;
1551 char *_kwnames
[] = { "resource", NULL
};
1554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxResourceCreateMenuBar",_kwnames
,&_arg0
))
1557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1558 _result
= (wxMenuBar
*)wxResourceCreateMenuBar(_arg0
);
1560 wxPyEndAllowThreads(__tstate
);
1561 if (PyErr_Occurred()) return NULL
;
1562 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1566 static PyObject
*_wrap_wxResourceGetIdentifier(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1567 PyObject
* _resultobj
;
1570 char *_kwnames
[] = { "name", NULL
};
1573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxResourceGetIdentifier",_kwnames
,&_arg0
))
1576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1577 _result
= (int )wxResourceGetIdentifier(_arg0
);
1579 wxPyEndAllowThreads(__tstate
);
1580 if (PyErr_Occurred()) return NULL
;
1581 } _resultobj
= Py_BuildValue("i",_result
);
1585 static PyObject
*_wrap_wxResourceParseData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1586 PyObject
* _resultobj
;
1589 wxResourceTable
* _arg1
= (wxResourceTable
*) NULL
;
1590 PyObject
* _argo1
= 0;
1591 char *_kwnames
[] = { "resource","table", NULL
};
1594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s|O:wxResourceParseData",_kwnames
,&_arg0
,&_argo1
))
1597 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1598 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxResourceTable_p")) {
1599 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxResourceParseData. Expected _wxResourceTable_p.");
1604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1605 _result
= (bool )wxResourceParseData(_arg0
,_arg1
);
1607 wxPyEndAllowThreads(__tstate
);
1608 if (PyErr_Occurred()) return NULL
;
1609 } _resultobj
= Py_BuildValue("i",_result
);
1613 static PyObject
*_wrap_wxResourceParseFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1614 PyObject
* _resultobj
;
1617 wxResourceTable
* _arg1
= (wxResourceTable
*) NULL
;
1618 PyObject
* _argo1
= 0;
1619 char *_kwnames
[] = { "filename","table", NULL
};
1622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s|O:wxResourceParseFile",_kwnames
,&_arg0
,&_argo1
))
1625 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1626 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxResourceTable_p")) {
1627 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxResourceParseFile. Expected _wxResourceTable_p.");
1632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1633 _result
= (bool )wxResourceParseFile(_arg0
,_arg1
);
1635 wxPyEndAllowThreads(__tstate
);
1636 if (PyErr_Occurred()) return NULL
;
1637 } _resultobj
= Py_BuildValue("i",_result
);
1641 static PyObject
*_wrap_wxResourceParseString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1642 PyObject
* _resultobj
;
1645 wxResourceTable
* _arg1
= (wxResourceTable
*) NULL
;
1646 PyObject
* _argo1
= 0;
1647 char *_kwnames
[] = { "resource","table", NULL
};
1650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s|O:wxResourceParseString",_kwnames
,&_arg0
,&_argo1
))
1653 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1654 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxResourceTable_p")) {
1655 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxResourceParseString. Expected _wxResourceTable_p.");
1660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1661 _result
= (bool )wxResourceParseString(_arg0
,_arg1
);
1663 wxPyEndAllowThreads(__tstate
);
1664 if (PyErr_Occurred()) return NULL
;
1665 } _resultobj
= Py_BuildValue("i",_result
);
1669 static PyObject
*_wrap_wxCaret_GetBlinkTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1670 PyObject
* _resultobj
;
1672 char *_kwnames
[] = { NULL
};
1675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxCaret_GetBlinkTime",_kwnames
))
1678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1679 _result
= (int )wxCaret_GetBlinkTime();
1681 wxPyEndAllowThreads(__tstate
);
1682 if (PyErr_Occurred()) return NULL
;
1683 } _resultobj
= Py_BuildValue("i",_result
);
1687 static PyObject
*_wrap_wxCaret_SetBlinkTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1688 PyObject
* _resultobj
;
1690 char *_kwnames
[] = { "milliseconds", NULL
};
1693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxCaret_SetBlinkTime",_kwnames
,&_arg0
))
1696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1697 wxCaret_SetBlinkTime(_arg0
);
1699 wxPyEndAllowThreads(__tstate
);
1700 if (PyErr_Occurred()) return NULL
;
1701 } Py_INCREF(Py_None
);
1702 _resultobj
= Py_None
;
1706 static PyObject
*_wrap_wxSafeYield(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1707 PyObject
* _resultobj
;
1709 wxWindow
* _arg0
= (wxWindow
*) NULL
;
1710 PyObject
* _argo0
= 0;
1711 char *_kwnames
[] = { "win", NULL
};
1714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:wxSafeYield",_kwnames
,&_argo0
))
1717 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1718 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1719 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSafeYield. Expected _wxWindow_p.");
1724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1725 _result
= (bool )wxSafeYield(_arg0
);
1727 wxPyEndAllowThreads(__tstate
);
1728 if (PyErr_Occurred()) return NULL
;
1729 } _resultobj
= Py_BuildValue("i",_result
);
1733 static PyObject
*_wrap_wxPostEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1734 PyObject
* _resultobj
;
1735 wxEvtHandler
* _arg0
;
1737 PyObject
* _argo0
= 0;
1738 PyObject
* _argo1
= 0;
1739 char *_kwnames
[] = { "dest","event", NULL
};
1742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPostEvent",_kwnames
,&_argo0
,&_argo1
))
1745 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1746 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
1747 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPostEvent. Expected _wxEvtHandler_p.");
1752 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1753 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvent_p")) {
1754 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPostEvent. Expected _wxEvent_p.");
1759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1760 wxPostEvent(_arg0
,*_arg1
);
1762 wxPyEndAllowThreads(__tstate
);
1763 if (PyErr_Occurred()) return NULL
;
1764 } Py_INCREF(Py_None
);
1765 _resultobj
= Py_None
;
1769 static PyObject
*_wrap_wxWakeUpIdle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1770 PyObject
* _resultobj
;
1771 char *_kwnames
[] = { NULL
};
1774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxWakeUpIdle",_kwnames
))
1777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1780 wxPyEndAllowThreads(__tstate
);
1781 if (PyErr_Occurred()) return NULL
;
1782 } Py_INCREF(Py_None
);
1783 _resultobj
= Py_None
;
1787 static PyObject
*_wrap_wxWakeUpMainThread(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1788 PyObject
* _resultobj
;
1789 char *_kwnames
[] = { NULL
};
1792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxWakeUpMainThread",_kwnames
))
1795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1796 wxWakeUpMainThread();
1798 wxPyEndAllowThreads(__tstate
);
1799 if (PyErr_Occurred()) return NULL
;
1800 } Py_INCREF(Py_None
);
1801 _resultobj
= Py_None
;
1805 static PyObject
*_wrap_wxMutexGuiEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1806 PyObject
* _resultobj
;
1807 char *_kwnames
[] = { NULL
};
1810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxMutexGuiEnter",_kwnames
))
1813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1816 wxPyEndAllowThreads(__tstate
);
1817 if (PyErr_Occurred()) return NULL
;
1818 } Py_INCREF(Py_None
);
1819 _resultobj
= Py_None
;
1823 static PyObject
*_wrap_wxMutexGuiLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1824 PyObject
* _resultobj
;
1825 char *_kwnames
[] = { NULL
};
1828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxMutexGuiLeave",_kwnames
))
1831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1834 wxPyEndAllowThreads(__tstate
);
1835 if (PyErr_Occurred()) return NULL
;
1836 } Py_INCREF(Py_None
);
1837 _resultobj
= Py_None
;
1841 static PyObject
*_wrap_wxThread_IsMain(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1842 PyObject
* _resultobj
;
1844 char *_kwnames
[] = { NULL
};
1847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxThread_IsMain",_kwnames
))
1850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1851 _result
= (bool )wxThread_IsMain();
1853 wxPyEndAllowThreads(__tstate
);
1854 if (PyErr_Occurred()) return NULL
;
1855 } _resultobj
= Py_BuildValue("i",_result
);
1859 static PyObject
*_wrap_wxShowTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1860 PyObject
* _resultobj
;
1863 wxTipProvider
* _arg1
;
1864 bool _arg2
= (bool ) TRUE
;
1865 PyObject
* _argo0
= 0;
1866 PyObject
* _argo1
= 0;
1867 int tempbool2
= (int) TRUE
;
1868 char *_kwnames
[] = { "parent","tipProvider","showAtStartup", NULL
};
1871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxShowTip",_kwnames
,&_argo0
,&_argo1
,&tempbool2
))
1874 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1875 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1876 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShowTip. Expected _wxWindow_p.");
1881 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1882 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTipProvider_p")) {
1883 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxShowTip. Expected _wxTipProvider_p.");
1887 _arg2
= (bool ) tempbool2
;
1889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1890 _result
= (bool )wxShowTip(_arg0
,_arg1
,_arg2
);
1892 wxPyEndAllowThreads(__tstate
);
1893 if (PyErr_Occurred()) return NULL
;
1894 } _resultobj
= Py_BuildValue("i",_result
);
1898 static PyObject
*_wrap_wxCreateFileTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1899 PyObject
* _resultobj
;
1900 wxTipProvider
* _result
;
1903 PyObject
* _obj0
= 0;
1904 char *_kwnames
[] = { "filename","currentTip", NULL
};
1908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxCreateFileTipProvider",_kwnames
,&_obj0
,&_arg1
))
1911 _arg0
= wxString_in_helper(_obj0
);
1916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1917 _result
= (wxTipProvider
*)wxCreateFileTipProvider(*_arg0
,_arg1
);
1919 wxPyEndAllowThreads(__tstate
);
1920 if (PyErr_Occurred()) return NULL
;
1922 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTipProvider_p");
1923 _resultobj
= Py_BuildValue("s",_ptemp
);
1926 _resultobj
= Py_None
;
1935 static PyObject
*_wrap_wxSysErrorCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1936 PyObject
* _resultobj
;
1937 unsigned long _result
;
1938 char *_kwnames
[] = { NULL
};
1941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxSysErrorCode",_kwnames
))
1944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1945 _result
= (unsigned long )wxSysErrorCode();
1947 wxPyEndAllowThreads(__tstate
);
1948 if (PyErr_Occurred()) return NULL
;
1949 } _resultobj
= Py_BuildValue("l",_result
);
1953 static PyObject
*_wrap_wxSysErrorMsg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1954 PyObject
* _resultobj
;
1956 unsigned long _arg0
= (unsigned long ) 0;
1957 char *_kwnames
[] = { "nErrCode", NULL
};
1960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|l:wxSysErrorMsg",_kwnames
,&_arg0
))
1963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1964 _result
= new wxString (wxSysErrorMsg(_arg0
));
1966 wxPyEndAllowThreads(__tstate
);
1967 if (PyErr_Occurred()) return NULL
;
1970 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
1972 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1981 static PyObject
*_wrap_wxLogFatalError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1982 PyObject
* _resultobj
;
1984 PyObject
* _obj0
= 0;
1985 char *_kwnames
[] = { "szFormat", NULL
};
1988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogFatalError",_kwnames
,&_obj0
))
1991 _arg0
= wxString_in_helper(_obj0
);
1996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1997 wxLogFatalError(*_arg0
);
1999 wxPyEndAllowThreads(__tstate
);
2000 if (PyErr_Occurred()) return NULL
;
2001 } Py_INCREF(Py_None
);
2002 _resultobj
= Py_None
;
2010 static PyObject
*_wrap_wxLogError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2011 PyObject
* _resultobj
;
2013 PyObject
* _obj0
= 0;
2014 char *_kwnames
[] = { "szFormat", NULL
};
2017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogError",_kwnames
,&_obj0
))
2020 _arg0
= wxString_in_helper(_obj0
);
2025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2028 wxPyEndAllowThreads(__tstate
);
2029 if (PyErr_Occurred()) return NULL
;
2030 } Py_INCREF(Py_None
);
2031 _resultobj
= Py_None
;
2039 static PyObject
*_wrap_wxLogWarning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2040 PyObject
* _resultobj
;
2042 PyObject
* _obj0
= 0;
2043 char *_kwnames
[] = { "szFormat", NULL
};
2046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogWarning",_kwnames
,&_obj0
))
2049 _arg0
= wxString_in_helper(_obj0
);
2054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2055 wxLogWarning(*_arg0
);
2057 wxPyEndAllowThreads(__tstate
);
2058 if (PyErr_Occurred()) return NULL
;
2059 } Py_INCREF(Py_None
);
2060 _resultobj
= Py_None
;
2068 static PyObject
*_wrap_wxLogMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2069 PyObject
* _resultobj
;
2071 PyObject
* _obj0
= 0;
2072 char *_kwnames
[] = { "szFormat", NULL
};
2075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogMessage",_kwnames
,&_obj0
))
2078 _arg0
= wxString_in_helper(_obj0
);
2083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2084 wxLogMessage(*_arg0
);
2086 wxPyEndAllowThreads(__tstate
);
2087 if (PyErr_Occurred()) return NULL
;
2088 } Py_INCREF(Py_None
);
2089 _resultobj
= Py_None
;
2097 static PyObject
*_wrap_wxLogInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2098 PyObject
* _resultobj
;
2100 PyObject
* _obj0
= 0;
2101 char *_kwnames
[] = { "szFormat", NULL
};
2104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogInfo",_kwnames
,&_obj0
))
2107 _arg0
= wxString_in_helper(_obj0
);
2112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2115 wxPyEndAllowThreads(__tstate
);
2116 if (PyErr_Occurred()) return NULL
;
2117 } Py_INCREF(Py_None
);
2118 _resultobj
= Py_None
;
2126 static PyObject
*_wrap_wxLogVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2127 PyObject
* _resultobj
;
2129 PyObject
* _obj0
= 0;
2130 char *_kwnames
[] = { "szFormat", NULL
};
2133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogVerbose",_kwnames
,&_obj0
))
2136 _arg0
= wxString_in_helper(_obj0
);
2141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2142 wxLogVerbose(*_arg0
);
2144 wxPyEndAllowThreads(__tstate
);
2145 if (PyErr_Occurred()) return NULL
;
2146 } Py_INCREF(Py_None
);
2147 _resultobj
= Py_None
;
2155 static PyObject
*_wrap_wxLogStatus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2156 PyObject
* _resultobj
;
2158 PyObject
* _obj0
= 0;
2159 char *_kwnames
[] = { "szFormat", NULL
};
2162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogStatus",_kwnames
,&_obj0
))
2165 _arg0
= wxString_in_helper(_obj0
);
2170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2171 wxLogStatus(*_arg0
);
2173 wxPyEndAllowThreads(__tstate
);
2174 if (PyErr_Occurred()) return NULL
;
2175 } Py_INCREF(Py_None
);
2176 _resultobj
= Py_None
;
2184 static PyObject
*_wrap_wxLogStatusFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2185 PyObject
* _resultobj
;
2188 PyObject
* _argo0
= 0;
2189 PyObject
* _obj1
= 0;
2190 char *_kwnames
[] = { "pFrame","szFormat", NULL
};
2193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxLogStatusFrame",_kwnames
,&_argo0
,&_obj1
))
2196 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2197 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
2198 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogStatusFrame. Expected _wxFrame_p.");
2203 _arg1
= wxString_in_helper(_obj1
);
2208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2209 wxLogStatus(_arg0
,*_arg1
);
2211 wxPyEndAllowThreads(__tstate
);
2212 if (PyErr_Occurred()) return NULL
;
2213 } Py_INCREF(Py_None
);
2214 _resultobj
= Py_None
;
2222 static PyObject
*_wrap_wxLogSysError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2223 PyObject
* _resultobj
;
2225 PyObject
* _obj0
= 0;
2226 char *_kwnames
[] = { "szFormat", NULL
};
2229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogSysError",_kwnames
,&_obj0
))
2232 _arg0
= wxString_in_helper(_obj0
);
2237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2238 wxLogSysError(*_arg0
);
2240 wxPyEndAllowThreads(__tstate
);
2241 if (PyErr_Occurred()) return NULL
;
2242 } Py_INCREF(Py_None
);
2243 _resultobj
= Py_None
;
2251 static PyObject
*_wrap_wxSafeShowMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2252 PyObject
* _resultobj
;
2255 PyObject
* _obj0
= 0;
2256 PyObject
* _obj1
= 0;
2257 char *_kwnames
[] = { "title","text", NULL
};
2260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxSafeShowMessage",_kwnames
,&_obj0
,&_obj1
))
2263 _arg0
= wxString_in_helper(_obj0
);
2268 _arg1
= wxString_in_helper(_obj1
);
2273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2274 wxSafeShowMessage(*_arg0
,*_arg1
);
2276 wxPyEndAllowThreads(__tstate
);
2277 if (PyErr_Occurred()) return NULL
;
2278 } Py_INCREF(Py_None
);
2279 _resultobj
= Py_None
;
2291 static PyObject
*_wrap_wxExecute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2292 PyObject
* _resultobj
;
2295 int _arg1
= (int ) (wxEXEC_ASYNC
);
2296 wxPyProcess
* _arg2
= (wxPyProcess
*) NULL
;
2297 PyObject
* _obj0
= 0;
2298 PyObject
* _argo2
= 0;
2299 char *_kwnames
[] = { "command","flags","process", NULL
};
2302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iO:wxExecute",_kwnames
,&_obj0
,&_arg1
,&_argo2
))
2305 _arg0
= wxString_in_helper(_obj0
);
2310 if (_argo2
== Py_None
) { _arg2
= NULL
; }
2311 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPyProcess_p")) {
2312 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxExecute. Expected _wxPyProcess_p.");
2317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2318 _result
= (long )wxExecute(*_arg0
,_arg1
,_arg2
);
2320 wxPyEndAllowThreads(__tstate
);
2321 if (PyErr_Occurred()) return NULL
;
2322 } _resultobj
= Py_BuildValue("l",_result
);
2330 static PyObject
*_wrap_wxWaveData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2331 PyObject
* _resultobj
;
2334 PyObject
* _obj0
= 0;
2335 char *_kwnames
[] = { "data", NULL
};
2339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWaveData",_kwnames
,&_obj0
))
2342 _arg0
= wxString_in_helper(_obj0
);
2347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2348 _result
= (wxWave
*)wxWaveData(*_arg0
);
2350 wxPyEndAllowThreads(__tstate
);
2351 if (PyErr_Occurred()) return NULL
;
2353 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWave_p");
2354 _resultobj
= Py_BuildValue("s",_ptemp
);
2357 _resultobj
= Py_None
;
2366 static int _wrap_wxTheMimeTypesManager_set(PyObject
*val
) {
2368 PyErr_SetString(PyExc_TypeError
,"Variable wxTheMimeTypesManager is read-only.");
2372 static PyObject
*_wrap_wxTheMimeTypesManager_get() {
2376 SWIG_MakePtr(ptemp
, (char *) wxTheMimeTypesManager
,"_wxMimeTypesManager_p");
2377 pyobj
= PyString_FromString(ptemp
);
2381 static PyObject
*_wrap_wxSystemSettings_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2382 PyObject
* _resultobj
;
2384 wxSystemColour _arg0
;
2385 char *_kwnames
[] = { "index", NULL
};
2389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSystemSettings_GetColour",_kwnames
,&_arg0
))
2392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2393 _result
= new wxColour (wxSystemSettings::GetColour(_arg0
));
2395 wxPyEndAllowThreads(__tstate
);
2396 if (PyErr_Occurred()) return NULL
;
2397 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
2398 _resultobj
= Py_BuildValue("s",_ptemp
);
2402 static PyObject
*_wrap_wxSystemSettings_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2403 PyObject
* _resultobj
;
2406 char *_kwnames
[] = { "index", NULL
};
2410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSystemSettings_GetFont",_kwnames
,&_arg0
))
2413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2414 _result
= new wxFont (wxSystemSettings::GetFont(_arg0
));
2416 wxPyEndAllowThreads(__tstate
);
2417 if (PyErr_Occurred()) return NULL
;
2418 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
2419 _resultobj
= Py_BuildValue("s",_ptemp
);
2423 static PyObject
*_wrap_wxSystemSettings_GetMetric(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2424 PyObject
* _resultobj
;
2426 wxSystemMetric _arg0
;
2427 char *_kwnames
[] = { "index", NULL
};
2430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSystemSettings_GetMetric",_kwnames
,&_arg0
))
2433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2434 _result
= (int )wxSystemSettings::GetMetric(_arg0
);
2436 wxPyEndAllowThreads(__tstate
);
2437 if (PyErr_Occurred()) return NULL
;
2438 } _resultobj
= Py_BuildValue("i",_result
);
2442 static PyObject
*_wrap_wxSystemSettings_HasFeature(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2443 PyObject
* _resultobj
;
2445 wxSystemFeature _arg0
;
2446 char *_kwnames
[] = { "index", NULL
};
2449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSystemSettings_HasFeature",_kwnames
,&_arg0
))
2452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2453 _result
= (bool )wxSystemSettings::HasFeature(_arg0
);
2455 wxPyEndAllowThreads(__tstate
);
2456 if (PyErr_Occurred()) return NULL
;
2457 } _resultobj
= Py_BuildValue("i",_result
);
2461 static PyObject
*_wrap_wxSystemSettings_GetScreenType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2462 PyObject
* _resultobj
;
2463 wxSystemScreenType _result
;
2464 char *_kwnames
[] = { NULL
};
2467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxSystemSettings_GetScreenType",_kwnames
))
2470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2471 _result
= (wxSystemScreenType
)wxSystemSettings::GetScreenType();
2473 wxPyEndAllowThreads(__tstate
);
2474 if (PyErr_Occurred()) return NULL
;
2475 } _resultobj
= Py_BuildValue("i",_result
);
2479 static PyObject
*_wrap_wxSystemSettings_SetScreenType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2480 PyObject
* _resultobj
;
2481 wxSystemScreenType _arg0
;
2482 char *_kwnames
[] = { "screen", NULL
};
2485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSystemSettings_SetScreenType",_kwnames
,&_arg0
))
2488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2489 wxSystemSettings::SetScreenType(_arg0
);
2491 wxPyEndAllowThreads(__tstate
);
2492 if (PyErr_Occurred()) return NULL
;
2493 } Py_INCREF(Py_None
);
2494 _resultobj
= Py_None
;
2498 static void *SwigwxToolTipTowxObject(void *ptr
) {
2501 src
= (wxToolTip
*) ptr
;
2502 dest
= (wxObject
*) src
;
2503 return (void *) dest
;
2506 #define new_wxToolTip(_swigarg0) (new wxToolTip(_swigarg0))
2507 static PyObject
*_wrap_new_wxToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2508 PyObject
* _resultobj
;
2509 wxToolTip
* _result
;
2511 PyObject
* _obj0
= 0;
2512 char *_kwnames
[] = { "tip", NULL
};
2516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxToolTip",_kwnames
,&_obj0
))
2519 _arg0
= wxString_in_helper(_obj0
);
2524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2525 _result
= (wxToolTip
*)new_wxToolTip(*_arg0
);
2527 wxPyEndAllowThreads(__tstate
);
2528 if (PyErr_Occurred()) return NULL
;
2530 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToolTip_p");
2531 _resultobj
= Py_BuildValue("s",_ptemp
);
2534 _resultobj
= Py_None
;
2543 #define wxToolTip_SetTip(_swigobj,_swigarg0) (_swigobj->SetTip(_swigarg0))
2544 static PyObject
*_wrap_wxToolTip_SetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2545 PyObject
* _resultobj
;
2548 PyObject
* _argo0
= 0;
2549 PyObject
* _obj1
= 0;
2550 char *_kwnames
[] = { "self","tip", NULL
};
2553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxToolTip_SetTip",_kwnames
,&_argo0
,&_obj1
))
2556 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2557 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolTip_p")) {
2558 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolTip_SetTip. Expected _wxToolTip_p.");
2563 _arg1
= wxString_in_helper(_obj1
);
2568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2569 wxToolTip_SetTip(_arg0
,*_arg1
);
2571 wxPyEndAllowThreads(__tstate
);
2572 if (PyErr_Occurred()) return NULL
;
2573 } Py_INCREF(Py_None
);
2574 _resultobj
= Py_None
;
2582 #define wxToolTip_GetTip(_swigobj) (_swigobj->GetTip())
2583 static PyObject
*_wrap_wxToolTip_GetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2584 PyObject
* _resultobj
;
2587 PyObject
* _argo0
= 0;
2588 char *_kwnames
[] = { "self", NULL
};
2591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolTip_GetTip",_kwnames
,&_argo0
))
2594 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2595 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolTip_p")) {
2596 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolTip_GetTip. Expected _wxToolTip_p.");
2601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2602 _result
= new wxString (wxToolTip_GetTip(_arg0
));
2604 wxPyEndAllowThreads(__tstate
);
2605 if (PyErr_Occurred()) return NULL
;
2608 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
2610 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2619 #define wxToolTip_GetWindow(_swigobj) (_swigobj->GetWindow())
2620 static PyObject
*_wrap_wxToolTip_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2621 PyObject
* _resultobj
;
2624 PyObject
* _argo0
= 0;
2625 char *_kwnames
[] = { "self", NULL
};
2628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolTip_GetWindow",_kwnames
,&_argo0
))
2631 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2632 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolTip_p")) {
2633 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolTip_GetWindow. Expected _wxToolTip_p.");
2638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2639 _result
= (wxWindow
*)wxToolTip_GetWindow(_arg0
);
2641 wxPyEndAllowThreads(__tstate
);
2642 if (PyErr_Occurred()) return NULL
;
2643 }{ _resultobj
= wxPyMake_wxObject(_result
); }
2647 static PyObject
*_wrap_wxToolTip_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2648 PyObject
* _resultobj
;
2651 char *_kwnames
[] = { "flag", NULL
};
2654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxToolTip_Enable",_kwnames
,&tempbool0
))
2656 _arg0
= (bool ) tempbool0
;
2658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2659 wxToolTip::Enable(_arg0
);
2661 wxPyEndAllowThreads(__tstate
);
2662 if (PyErr_Occurred()) return NULL
;
2663 } Py_INCREF(Py_None
);
2664 _resultobj
= Py_None
;
2668 static PyObject
*_wrap_wxToolTip_SetDelay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2669 PyObject
* _resultobj
;
2671 char *_kwnames
[] = { "milliseconds", NULL
};
2674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:wxToolTip_SetDelay",_kwnames
,&_arg0
))
2677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2678 wxToolTip::SetDelay(_arg0
);
2680 wxPyEndAllowThreads(__tstate
);
2681 if (PyErr_Occurred()) return NULL
;
2682 } Py_INCREF(Py_None
);
2683 _resultobj
= Py_None
;
2687 #define new_wxCaret(_swigarg0,_swigarg1) (new wxCaret(_swigarg0,_swigarg1))
2688 static PyObject
*_wrap_new_wxCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2689 PyObject
* _resultobj
;
2693 PyObject
* _argo0
= 0;
2695 PyObject
* _obj1
= 0;
2696 char *_kwnames
[] = { "window","size", NULL
};
2700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:new_wxCaret",_kwnames
,&_argo0
,&_obj1
))
2703 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2704 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2705 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxCaret. Expected _wxWindow_p.");
2711 if (! wxSize_helper(_obj1
, &_arg1
))
2715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2716 _result
= (wxCaret
*)new_wxCaret(_arg0
,*_arg1
);
2718 wxPyEndAllowThreads(__tstate
);
2719 if (PyErr_Occurred()) return NULL
;
2721 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCaret_p");
2722 _resultobj
= Py_BuildValue("s",_ptemp
);
2725 _resultobj
= Py_None
;
2730 #define delete_wxCaret(_swigobj) (delete _swigobj)
2731 static PyObject
*_wrap_delete_wxCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2732 PyObject
* _resultobj
;
2734 PyObject
* _argo0
= 0;
2735 char *_kwnames
[] = { "self", NULL
};
2738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxCaret",_kwnames
,&_argo0
))
2741 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2742 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2743 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxCaret. Expected _wxCaret_p.");
2748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2749 delete_wxCaret(_arg0
);
2751 wxPyEndAllowThreads(__tstate
);
2752 if (PyErr_Occurred()) return NULL
;
2753 } Py_INCREF(Py_None
);
2754 _resultobj
= Py_None
;
2758 #define wxCaret_IsOk(_swigobj) (_swigobj->IsOk())
2759 static PyObject
*_wrap_wxCaret_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2760 PyObject
* _resultobj
;
2763 PyObject
* _argo0
= 0;
2764 char *_kwnames
[] = { "self", NULL
};
2767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_IsOk",_kwnames
,&_argo0
))
2770 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2771 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2772 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_IsOk. Expected _wxCaret_p.");
2777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2778 _result
= (bool )wxCaret_IsOk(_arg0
);
2780 wxPyEndAllowThreads(__tstate
);
2781 if (PyErr_Occurred()) return NULL
;
2782 } _resultobj
= Py_BuildValue("i",_result
);
2786 #define wxCaret_IsVisible(_swigobj) (_swigobj->IsVisible())
2787 static PyObject
*_wrap_wxCaret_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2788 PyObject
* _resultobj
;
2791 PyObject
* _argo0
= 0;
2792 char *_kwnames
[] = { "self", NULL
};
2795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_IsVisible",_kwnames
,&_argo0
))
2798 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2799 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2800 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_IsVisible. Expected _wxCaret_p.");
2805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2806 _result
= (bool )wxCaret_IsVisible(_arg0
);
2808 wxPyEndAllowThreads(__tstate
);
2809 if (PyErr_Occurred()) return NULL
;
2810 } _resultobj
= Py_BuildValue("i",_result
);
2814 #define wxCaret_GetPositionTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPosition(_swigarg0,_swigarg1))
2815 static PyObject
*_wrap_wxCaret_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2816 PyObject
* _resultobj
;
2822 PyObject
* _argo0
= 0;
2823 char *_kwnames
[] = { "self", NULL
};
2832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetPositionTuple",_kwnames
,&_argo0
))
2835 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2836 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2837 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetPositionTuple. Expected _wxCaret_p.");
2842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2843 wxCaret_GetPositionTuple(_arg0
,_arg1
,_arg2
);
2845 wxPyEndAllowThreads(__tstate
);
2846 if (PyErr_Occurred()) return NULL
;
2847 } Py_INCREF(Py_None
);
2848 _resultobj
= Py_None
;
2851 o
= PyInt_FromLong((long) (*_arg1
));
2852 _resultobj
= t_output_helper(_resultobj
, o
);
2856 o
= PyInt_FromLong((long) (*_arg2
));
2857 _resultobj
= t_output_helper(_resultobj
, o
);
2862 #define wxCaret_GetPosition(_swigobj) (_swigobj->GetPosition())
2863 static PyObject
*_wrap_wxCaret_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2864 PyObject
* _resultobj
;
2867 PyObject
* _argo0
= 0;
2868 char *_kwnames
[] = { "self", NULL
};
2872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetPosition",_kwnames
,&_argo0
))
2875 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2876 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2877 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetPosition. Expected _wxCaret_p.");
2882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2883 _result
= new wxPoint (wxCaret_GetPosition(_arg0
));
2885 wxPyEndAllowThreads(__tstate
);
2886 if (PyErr_Occurred()) return NULL
;
2887 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2888 _resultobj
= Py_BuildValue("s",_ptemp
);
2892 #define wxCaret_GetSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSize(_swigarg0,_swigarg1))
2893 static PyObject
*_wrap_wxCaret_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2894 PyObject
* _resultobj
;
2900 PyObject
* _argo0
= 0;
2901 char *_kwnames
[] = { "self", NULL
};
2910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetSizeTuple",_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_GetSizeTuple. Expected _wxCaret_p.");
2920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2921 wxCaret_GetSizeTuple(_arg0
,_arg1
,_arg2
);
2923 wxPyEndAllowThreads(__tstate
);
2924 if (PyErr_Occurred()) return NULL
;
2925 } Py_INCREF(Py_None
);
2926 _resultobj
= Py_None
;
2929 o
= PyInt_FromLong((long) (*_arg1
));
2930 _resultobj
= t_output_helper(_resultobj
, o
);
2934 o
= PyInt_FromLong((long) (*_arg2
));
2935 _resultobj
= t_output_helper(_resultobj
, o
);
2940 #define wxCaret_GetSize(_swigobj) (_swigobj->GetSize())
2941 static PyObject
*_wrap_wxCaret_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2942 PyObject
* _resultobj
;
2945 PyObject
* _argo0
= 0;
2946 char *_kwnames
[] = { "self", NULL
};
2950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetSize",_kwnames
,&_argo0
))
2953 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2954 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2955 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetSize. Expected _wxCaret_p.");
2960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2961 _result
= new wxSize (wxCaret_GetSize(_arg0
));
2963 wxPyEndAllowThreads(__tstate
);
2964 if (PyErr_Occurred()) return NULL
;
2965 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
2966 _resultobj
= Py_BuildValue("s",_ptemp
);
2970 #define wxCaret_GetWindow(_swigobj) (_swigobj->GetWindow())
2971 static PyObject
*_wrap_wxCaret_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2972 PyObject
* _resultobj
;
2975 PyObject
* _argo0
= 0;
2976 char *_kwnames
[] = { "self", NULL
};
2979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetWindow",_kwnames
,&_argo0
))
2982 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2983 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2984 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetWindow. Expected _wxCaret_p.");
2989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2990 _result
= (wxWindow
*)wxCaret_GetWindow(_arg0
);
2992 wxPyEndAllowThreads(__tstate
);
2993 if (PyErr_Occurred()) return NULL
;
2994 }{ _resultobj
= wxPyMake_wxObject(_result
); }
2998 #define wxCaret_MoveXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->Move(_swigarg0,_swigarg1))
2999 static PyObject
*_wrap_wxCaret_MoveXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3000 PyObject
* _resultobj
;
3004 PyObject
* _argo0
= 0;
3005 char *_kwnames
[] = { "self","x","y", NULL
};
3008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxCaret_MoveXY",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3011 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3012 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
3013 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_MoveXY. Expected _wxCaret_p.");
3018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3019 wxCaret_MoveXY(_arg0
,_arg1
,_arg2
);
3021 wxPyEndAllowThreads(__tstate
);
3022 if (PyErr_Occurred()) return NULL
;
3023 } Py_INCREF(Py_None
);
3024 _resultobj
= Py_None
;
3028 #define wxCaret_Move(_swigobj,_swigarg0) (_swigobj->Move(_swigarg0))
3029 static PyObject
*_wrap_wxCaret_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3030 PyObject
* _resultobj
;
3033 PyObject
* _argo0
= 0;
3035 PyObject
* _obj1
= 0;
3036 char *_kwnames
[] = { "self","pt", NULL
};
3039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxCaret_Move",_kwnames
,&_argo0
,&_obj1
))
3042 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3043 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
3044 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_Move. Expected _wxCaret_p.");
3050 if (! wxPoint_helper(_obj1
, &_arg1
))
3054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3055 wxCaret_Move(_arg0
,*_arg1
);
3057 wxPyEndAllowThreads(__tstate
);
3058 if (PyErr_Occurred()) return NULL
;
3059 } Py_INCREF(Py_None
);
3060 _resultobj
= Py_None
;
3064 #define wxCaret_SetSizeWH(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSize(_swigarg0,_swigarg1))
3065 static PyObject
*_wrap_wxCaret_SetSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3066 PyObject
* _resultobj
;
3070 PyObject
* _argo0
= 0;
3071 char *_kwnames
[] = { "self","width","height", NULL
};
3074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxCaret_SetSizeWH",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3077 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3078 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
3079 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_SetSizeWH. Expected _wxCaret_p.");
3084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3085 wxCaret_SetSizeWH(_arg0
,_arg1
,_arg2
);
3087 wxPyEndAllowThreads(__tstate
);
3088 if (PyErr_Occurred()) return NULL
;
3089 } Py_INCREF(Py_None
);
3090 _resultobj
= Py_None
;
3094 #define wxCaret_SetSize(_swigobj,_swigarg0) (_swigobj->SetSize(_swigarg0))
3095 static PyObject
*_wrap_wxCaret_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3096 PyObject
* _resultobj
;
3099 PyObject
* _argo0
= 0;
3101 PyObject
* _obj1
= 0;
3102 char *_kwnames
[] = { "self","size", NULL
};
3105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxCaret_SetSize",_kwnames
,&_argo0
,&_obj1
))
3108 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3109 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
3110 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_SetSize. Expected _wxCaret_p.");
3116 if (! wxSize_helper(_obj1
, &_arg1
))
3120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3121 wxCaret_SetSize(_arg0
,*_arg1
);
3123 wxPyEndAllowThreads(__tstate
);
3124 if (PyErr_Occurred()) return NULL
;
3125 } Py_INCREF(Py_None
);
3126 _resultobj
= Py_None
;
3130 #define wxCaret_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
3131 static PyObject
*_wrap_wxCaret_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3132 PyObject
* _resultobj
;
3134 int _arg1
= (int ) TRUE
;
3135 PyObject
* _argo0
= 0;
3136 char *_kwnames
[] = { "self","show", NULL
};
3139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxCaret_Show",_kwnames
,&_argo0
,&_arg1
))
3142 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3143 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
3144 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_Show. Expected _wxCaret_p.");
3149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3150 wxCaret_Show(_arg0
,_arg1
);
3152 wxPyEndAllowThreads(__tstate
);
3153 if (PyErr_Occurred()) return NULL
;
3154 } Py_INCREF(Py_None
);
3155 _resultobj
= Py_None
;
3159 #define wxCaret_Hide(_swigobj) (_swigobj->Hide())
3160 static PyObject
*_wrap_wxCaret_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3161 PyObject
* _resultobj
;
3163 PyObject
* _argo0
= 0;
3164 char *_kwnames
[] = { "self", NULL
};
3167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_Hide",_kwnames
,&_argo0
))
3170 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3171 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
3172 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_Hide. Expected _wxCaret_p.");
3177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3178 wxCaret_Hide(_arg0
);
3180 wxPyEndAllowThreads(__tstate
);
3181 if (PyErr_Occurred()) return NULL
;
3182 } Py_INCREF(Py_None
);
3183 _resultobj
= Py_None
;
3187 #define new_wxBusyCursor(_swigarg0) (new wxBusyCursor(_swigarg0))
3188 static PyObject
*_wrap_new_wxBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3189 PyObject
* _resultobj
;
3190 wxBusyCursor
* _result
;
3191 wxCursor
* _arg0
= (wxCursor
*) wxHOURGLASS_CURSOR
;
3192 PyObject
* _argo0
= 0;
3193 char *_kwnames
[] = { "cursor", NULL
};
3197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxBusyCursor",_kwnames
,&_argo0
))
3200 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3201 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
3202 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxBusyCursor. Expected _wxCursor_p.");
3207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3208 _result
= (wxBusyCursor
*)new_wxBusyCursor(_arg0
);
3210 wxPyEndAllowThreads(__tstate
);
3211 if (PyErr_Occurred()) return NULL
;
3213 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBusyCursor_p");
3214 _resultobj
= Py_BuildValue("s",_ptemp
);
3217 _resultobj
= Py_None
;
3222 #define delete_wxBusyCursor(_swigobj) (delete _swigobj)
3223 static PyObject
*_wrap_delete_wxBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3224 PyObject
* _resultobj
;
3225 wxBusyCursor
* _arg0
;
3226 PyObject
* _argo0
= 0;
3227 char *_kwnames
[] = { "self", NULL
};
3230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxBusyCursor",_kwnames
,&_argo0
))
3233 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3234 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBusyCursor_p")) {
3235 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxBusyCursor. Expected _wxBusyCursor_p.");
3240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3241 delete_wxBusyCursor(_arg0
);
3243 wxPyEndAllowThreads(__tstate
);
3244 if (PyErr_Occurred()) return NULL
;
3245 } Py_INCREF(Py_None
);
3246 _resultobj
= Py_None
;
3250 #define new_wxWindowDisabler(_swigarg0) (new wxWindowDisabler(_swigarg0))
3251 static PyObject
*_wrap_new_wxWindowDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3252 PyObject
* _resultobj
;
3253 wxWindowDisabler
* _result
;
3254 wxWindow
* _arg0
= (wxWindow
*) NULL
;
3255 PyObject
* _argo0
= 0;
3256 char *_kwnames
[] = { "winToSkip", NULL
};
3260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxWindowDisabler",_kwnames
,&_argo0
))
3263 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3264 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3265 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxWindowDisabler. Expected _wxWindow_p.");
3270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3271 _result
= (wxWindowDisabler
*)new_wxWindowDisabler(_arg0
);
3273 wxPyEndAllowThreads(__tstate
);
3274 if (PyErr_Occurred()) return NULL
;
3276 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindowDisabler_p");
3277 _resultobj
= Py_BuildValue("s",_ptemp
);
3280 _resultobj
= Py_None
;
3285 #define delete_wxWindowDisabler(_swigobj) (delete _swigobj)
3286 static PyObject
*_wrap_delete_wxWindowDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3287 PyObject
* _resultobj
;
3288 wxWindowDisabler
* _arg0
;
3289 PyObject
* _argo0
= 0;
3290 char *_kwnames
[] = { "self", NULL
};
3293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxWindowDisabler",_kwnames
,&_argo0
))
3296 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3297 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindowDisabler_p")) {
3298 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxWindowDisabler. Expected _wxWindowDisabler_p.");
3303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3304 delete_wxWindowDisabler(_arg0
);
3306 wxPyEndAllowThreads(__tstate
);
3307 if (PyErr_Occurred()) return NULL
;
3308 } Py_INCREF(Py_None
);
3309 _resultobj
= Py_None
;
3313 #define new_wxMutexGuiLocker() (new wxMutexGuiLocker())
3314 static PyObject
*_wrap_new_wxMutexGuiLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3315 PyObject
* _resultobj
;
3316 wxMutexGuiLocker
* _result
;
3317 char *_kwnames
[] = { NULL
};
3321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxMutexGuiLocker",_kwnames
))
3324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3325 _result
= (wxMutexGuiLocker
*)new_wxMutexGuiLocker();
3327 wxPyEndAllowThreads(__tstate
);
3328 if (PyErr_Occurred()) return NULL
;
3330 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMutexGuiLocker_p");
3331 _resultobj
= Py_BuildValue("s",_ptemp
);
3334 _resultobj
= Py_None
;
3339 #define delete_wxMutexGuiLocker(_swigobj) (delete _swigobj)
3340 static PyObject
*_wrap_delete_wxMutexGuiLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3341 PyObject
* _resultobj
;
3342 wxMutexGuiLocker
* _arg0
;
3343 PyObject
* _argo0
= 0;
3344 char *_kwnames
[] = { "self", NULL
};
3347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxMutexGuiLocker",_kwnames
,&_argo0
))
3350 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3351 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMutexGuiLocker_p")) {
3352 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxMutexGuiLocker. Expected _wxMutexGuiLocker_p.");
3357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3358 delete_wxMutexGuiLocker(_arg0
);
3360 wxPyEndAllowThreads(__tstate
);
3361 if (PyErr_Occurred()) return NULL
;
3362 } Py_INCREF(Py_None
);
3363 _resultobj
= Py_None
;
3367 #define delete_wxTipProvider(_swigobj) (delete _swigobj)
3368 static PyObject
*_wrap_delete_wxTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3369 PyObject
* _resultobj
;
3370 wxTipProvider
* _arg0
;
3371 PyObject
* _argo0
= 0;
3372 char *_kwnames
[] = { "self", NULL
};
3375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxTipProvider",_kwnames
,&_argo0
))
3378 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3379 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTipProvider_p")) {
3380 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxTipProvider. Expected _wxTipProvider_p.");
3385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3386 delete_wxTipProvider(_arg0
);
3388 wxPyEndAllowThreads(__tstate
);
3389 if (PyErr_Occurred()) return NULL
;
3390 } Py_INCREF(Py_None
);
3391 _resultobj
= Py_None
;
3395 #define wxTipProvider_GetTip(_swigobj) (_swigobj->GetTip())
3396 static PyObject
*_wrap_wxTipProvider_GetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3397 PyObject
* _resultobj
;
3399 wxTipProvider
* _arg0
;
3400 PyObject
* _argo0
= 0;
3401 char *_kwnames
[] = { "self", NULL
};
3404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTipProvider_GetTip",_kwnames
,&_argo0
))
3407 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3408 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTipProvider_p")) {
3409 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTipProvider_GetTip. Expected _wxTipProvider_p.");
3414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3415 _result
= new wxString (wxTipProvider_GetTip(_arg0
));
3417 wxPyEndAllowThreads(__tstate
);
3418 if (PyErr_Occurred()) return NULL
;
3421 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
3423 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3432 #define wxTipProvider_GetCurrentTip(_swigobj) (_swigobj->GetCurrentTip())
3433 static PyObject
*_wrap_wxTipProvider_GetCurrentTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3434 PyObject
* _resultobj
;
3436 wxTipProvider
* _arg0
;
3437 PyObject
* _argo0
= 0;
3438 char *_kwnames
[] = { "self", NULL
};
3441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTipProvider_GetCurrentTip",_kwnames
,&_argo0
))
3444 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3445 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTipProvider_p")) {
3446 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTipProvider_GetCurrentTip. Expected _wxTipProvider_p.");
3451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3452 _result
= (size_t )wxTipProvider_GetCurrentTip(_arg0
);
3454 wxPyEndAllowThreads(__tstate
);
3455 if (PyErr_Occurred()) return NULL
;
3456 } _resultobj
= Py_BuildValue("i",_result
);
3460 static void *SwigwxPyTipProviderTowxTipProvider(void *ptr
) {
3461 wxPyTipProvider
*src
;
3462 wxTipProvider
*dest
;
3463 src
= (wxPyTipProvider
*) ptr
;
3464 dest
= (wxTipProvider
*) src
;
3465 return (void *) dest
;
3468 #define new_wxPyTipProvider(_swigarg0) (new wxPyTipProvider(_swigarg0))
3469 static PyObject
*_wrap_new_wxPyTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3470 PyObject
* _resultobj
;
3471 wxPyTipProvider
* _result
;
3473 char *_kwnames
[] = { "currentTip", NULL
};
3477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:new_wxPyTipProvider",_kwnames
,&_arg0
))
3480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3481 _result
= (wxPyTipProvider
*)new_wxPyTipProvider(_arg0
);
3483 wxPyEndAllowThreads(__tstate
);
3484 if (PyErr_Occurred()) return NULL
;
3486 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTipProvider_p");
3487 _resultobj
= Py_BuildValue("s",_ptemp
);
3490 _resultobj
= Py_None
;
3495 static void *SwigwxGenericDragImageTowxObject(void *ptr
) {
3496 wxGenericDragImage
*src
;
3498 src
= (wxGenericDragImage
*) ptr
;
3499 dest
= (wxObject
*) src
;
3500 return (void *) dest
;
3503 #define new_wxDragImage(_swigarg0,_swigarg1) (new wxGenericDragImage(_swigarg0,_swigarg1))
3504 static PyObject
*_wrap_new_wxDragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3505 PyObject
* _resultobj
;
3506 wxGenericDragImage
* _result
;
3508 wxCursor
* _arg1
= (wxCursor
*) &wxNullCursor
;
3509 PyObject
* _argo0
= 0;
3510 PyObject
* _argo1
= 0;
3511 char *_kwnames
[] = { "image","cursor", NULL
};
3515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:new_wxDragImage",_kwnames
,&_argo0
,&_argo1
))
3518 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3519 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
3520 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDragImage. Expected _wxBitmap_p.");
3525 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3526 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCursor_p")) {
3527 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxDragImage. Expected _wxCursor_p.");
3532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3533 _result
= (wxGenericDragImage
*)new_wxDragImage(*_arg0
,*_arg1
);
3535 wxPyEndAllowThreads(__tstate
);
3536 if (PyErr_Occurred()) return NULL
;
3538 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
3539 _resultobj
= Py_BuildValue("s",_ptemp
);
3542 _resultobj
= Py_None
;
3547 #define new_wxDragIcon(_swigarg0,_swigarg1) (new wxGenericDragImage(_swigarg0,_swigarg1))
3548 static PyObject
*_wrap_new_wxDragIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3549 PyObject
* _resultobj
;
3550 wxGenericDragImage
* _result
;
3552 wxCursor
* _arg1
= (wxCursor
*) &wxNullCursor
;
3553 PyObject
* _argo0
= 0;
3554 PyObject
* _argo1
= 0;
3555 char *_kwnames
[] = { "image","cursor", NULL
};
3559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:new_wxDragIcon",_kwnames
,&_argo0
,&_argo1
))
3562 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3563 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
3564 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDragIcon. Expected _wxIcon_p.");
3569 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3570 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCursor_p")) {
3571 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxDragIcon. Expected _wxCursor_p.");
3576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3577 _result
= (wxGenericDragImage
*)new_wxDragIcon(*_arg0
,*_arg1
);
3579 wxPyEndAllowThreads(__tstate
);
3580 if (PyErr_Occurred()) return NULL
;
3582 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
3583 _resultobj
= Py_BuildValue("s",_ptemp
);
3586 _resultobj
= Py_None
;
3591 #define new_wxDragString(_swigarg0,_swigarg1) (new wxGenericDragImage(_swigarg0,_swigarg1))
3592 static PyObject
*_wrap_new_wxDragString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3593 PyObject
* _resultobj
;
3594 wxGenericDragImage
* _result
;
3596 wxCursor
* _arg1
= (wxCursor
*) &wxNullCursor
;
3597 PyObject
* _obj0
= 0;
3598 PyObject
* _argo1
= 0;
3599 char *_kwnames
[] = { "str","cursor", NULL
};
3603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:new_wxDragString",_kwnames
,&_obj0
,&_argo1
))
3606 _arg0
= wxString_in_helper(_obj0
);
3611 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3612 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCursor_p")) {
3613 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxDragString. Expected _wxCursor_p.");
3618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3619 _result
= (wxGenericDragImage
*)new_wxDragString(*_arg0
,*_arg1
);
3621 wxPyEndAllowThreads(__tstate
);
3622 if (PyErr_Occurred()) return NULL
;
3624 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
3625 _resultobj
= Py_BuildValue("s",_ptemp
);
3628 _resultobj
= Py_None
;
3637 #define new_wxDragTreeItem(_swigarg0,_swigarg1) (new wxGenericDragImage(_swigarg0,_swigarg1))
3638 static PyObject
*_wrap_new_wxDragTreeItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3639 PyObject
* _resultobj
;
3640 wxGenericDragImage
* _result
;
3642 wxTreeItemId
* _arg1
;
3643 PyObject
* _argo0
= 0;
3644 PyObject
* _argo1
= 0;
3645 char *_kwnames
[] = { "treeCtrl","id", NULL
};
3649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:new_wxDragTreeItem",_kwnames
,&_argo0
,&_argo1
))
3652 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3653 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3654 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDragTreeItem. Expected _wxTreeCtrl_p.");
3659 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3660 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3661 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxDragTreeItem. Expected _wxTreeItemId_p.");
3666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3667 _result
= (wxGenericDragImage
*)new_wxDragTreeItem(*_arg0
,*_arg1
);
3669 wxPyEndAllowThreads(__tstate
);
3670 if (PyErr_Occurred()) return NULL
;
3672 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
3673 _resultobj
= Py_BuildValue("s",_ptemp
);
3676 _resultobj
= Py_None
;
3681 #define new_wxDragListItem(_swigarg0,_swigarg1) (new wxGenericDragImage(_swigarg0,_swigarg1))
3682 static PyObject
*_wrap_new_wxDragListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3683 PyObject
* _resultobj
;
3684 wxGenericDragImage
* _result
;
3687 PyObject
* _argo0
= 0;
3688 char *_kwnames
[] = { "listCtrl","id", NULL
};
3692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:new_wxDragListItem",_kwnames
,&_argo0
,&_arg1
))
3695 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3696 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3697 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDragListItem. Expected _wxListCtrl_p.");
3702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3703 _result
= (wxGenericDragImage
*)new_wxDragListItem(*_arg0
,_arg1
);
3705 wxPyEndAllowThreads(__tstate
);
3706 if (PyErr_Occurred()) return NULL
;
3708 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
3709 _resultobj
= Py_BuildValue("s",_ptemp
);
3712 _resultobj
= Py_None
;
3717 #define delete_wxGenericDragImage(_swigobj) (delete _swigobj)
3718 static PyObject
*_wrap_delete_wxDragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3719 PyObject
* _resultobj
;
3720 wxGenericDragImage
* _arg0
;
3721 PyObject
* _argo0
= 0;
3722 char *_kwnames
[] = { "self", NULL
};
3725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxDragImage",_kwnames
,&_argo0
))
3728 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3729 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3730 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxDragImage. Expected _wxGenericDragImage_p.");
3735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3736 delete_wxGenericDragImage(_arg0
);
3738 wxPyEndAllowThreads(__tstate
);
3739 if (PyErr_Occurred()) return NULL
;
3740 } Py_INCREF(Py_None
);
3741 _resultobj
= Py_None
;
3745 #define wxDragImage_SetBackingBitmap(_swigobj,_swigarg0) (_swigobj->SetBackingBitmap(_swigarg0))
3746 static PyObject
*_wrap_wxDragImage_SetBackingBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3747 PyObject
* _resultobj
;
3748 wxGenericDragImage
* _arg0
;
3750 PyObject
* _argo0
= 0;
3751 PyObject
* _argo1
= 0;
3752 char *_kwnames
[] = { "self","bitmap", NULL
};
3755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDragImage_SetBackingBitmap",_kwnames
,&_argo0
,&_argo1
))
3758 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3759 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3760 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_SetBackingBitmap. Expected _wxGenericDragImage_p.");
3765 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3766 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
3767 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDragImage_SetBackingBitmap. Expected _wxBitmap_p.");
3772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3773 wxDragImage_SetBackingBitmap(_arg0
,_arg1
);
3775 wxPyEndAllowThreads(__tstate
);
3776 if (PyErr_Occurred()) return NULL
;
3777 } Py_INCREF(Py_None
);
3778 _resultobj
= Py_None
;
3782 #define wxDragImage_BeginDrag(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->BeginDrag(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3783 static PyObject
*_wrap_wxDragImage_BeginDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3784 PyObject
* _resultobj
;
3786 wxGenericDragImage
* _arg0
;
3789 bool _arg3
= (bool ) FALSE
;
3790 wxRect
* _arg4
= (wxRect
*) NULL
;
3791 PyObject
* _argo0
= 0;
3793 PyObject
* _obj1
= 0;
3794 PyObject
* _argo2
= 0;
3795 int tempbool3
= (int) FALSE
;
3797 PyObject
* _obj4
= 0;
3798 char *_kwnames
[] = { "self","hotspot","window","fullScreen","rect", NULL
};
3801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|iO:wxDragImage_BeginDrag",_kwnames
,&_argo0
,&_obj1
,&_argo2
,&tempbool3
,&_obj4
))
3804 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3805 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3806 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_BeginDrag. Expected _wxGenericDragImage_p.");
3812 if (! wxPoint_helper(_obj1
, &_arg1
))
3816 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3817 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
3818 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxDragImage_BeginDrag. Expected _wxWindow_p.");
3822 _arg3
= (bool ) tempbool3
;
3826 if (! wxRect_helper(_obj4
, &_arg4
))
3830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3831 _result
= (bool )wxDragImage_BeginDrag(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
);
3833 wxPyEndAllowThreads(__tstate
);
3834 if (PyErr_Occurred()) return NULL
;
3835 } _resultobj
= Py_BuildValue("i",_result
);
3839 #define wxDragImage_BeginDrag2(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->BeginDrag(_swigarg0,_swigarg1,_swigarg2))
3840 static PyObject
*_wrap_wxDragImage_BeginDrag2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3841 PyObject
* _resultobj
;
3843 wxGenericDragImage
* _arg0
;
3847 PyObject
* _argo0
= 0;
3849 PyObject
* _obj1
= 0;
3850 PyObject
* _argo2
= 0;
3851 PyObject
* _argo3
= 0;
3852 char *_kwnames
[] = { "self","hotspot","window","fullScreenRect", NULL
};
3855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO:wxDragImage_BeginDrag2",_kwnames
,&_argo0
,&_obj1
,&_argo2
,&_argo3
))
3858 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3859 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3860 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_BeginDrag2. Expected _wxGenericDragImage_p.");
3866 if (! wxPoint_helper(_obj1
, &_arg1
))
3870 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3871 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
3872 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxDragImage_BeginDrag2. Expected _wxWindow_p.");
3877 if (_argo3
== Py_None
) { _arg3
= NULL
; }
3878 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxWindow_p")) {
3879 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxDragImage_BeginDrag2. Expected _wxWindow_p.");
3884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3885 _result
= (bool )wxDragImage_BeginDrag2(_arg0
,*_arg1
,_arg2
,_arg3
);
3887 wxPyEndAllowThreads(__tstate
);
3888 if (PyErr_Occurred()) return NULL
;
3889 } _resultobj
= Py_BuildValue("i",_result
);
3893 #define wxDragImage_EndDrag(_swigobj) (_swigobj->EndDrag())
3894 static PyObject
*_wrap_wxDragImage_EndDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3895 PyObject
* _resultobj
;
3897 wxGenericDragImage
* _arg0
;
3898 PyObject
* _argo0
= 0;
3899 char *_kwnames
[] = { "self", NULL
};
3902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDragImage_EndDrag",_kwnames
,&_argo0
))
3905 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3906 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3907 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_EndDrag. Expected _wxGenericDragImage_p.");
3912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3913 _result
= (bool )wxDragImage_EndDrag(_arg0
);
3915 wxPyEndAllowThreads(__tstate
);
3916 if (PyErr_Occurred()) return NULL
;
3917 } _resultobj
= Py_BuildValue("i",_result
);
3921 #define wxDragImage_Move(_swigobj,_swigarg0) (_swigobj->Move(_swigarg0))
3922 static PyObject
*_wrap_wxDragImage_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3923 PyObject
* _resultobj
;
3925 wxGenericDragImage
* _arg0
;
3927 PyObject
* _argo0
= 0;
3929 PyObject
* _obj1
= 0;
3930 char *_kwnames
[] = { "self","pt", NULL
};
3933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDragImage_Move",_kwnames
,&_argo0
,&_obj1
))
3936 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3937 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3938 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_Move. Expected _wxGenericDragImage_p.");
3944 if (! wxPoint_helper(_obj1
, &_arg1
))
3948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3949 _result
= (bool )wxDragImage_Move(_arg0
,*_arg1
);
3951 wxPyEndAllowThreads(__tstate
);
3952 if (PyErr_Occurred()) return NULL
;
3953 } _resultobj
= Py_BuildValue("i",_result
);
3957 #define wxDragImage_Show(_swigobj) (_swigobj->Show())
3958 static PyObject
*_wrap_wxDragImage_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3959 PyObject
* _resultobj
;
3961 wxGenericDragImage
* _arg0
;
3962 PyObject
* _argo0
= 0;
3963 char *_kwnames
[] = { "self", NULL
};
3966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDragImage_Show",_kwnames
,&_argo0
))
3969 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3970 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3971 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_Show. Expected _wxGenericDragImage_p.");
3976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3977 _result
= (bool )wxDragImage_Show(_arg0
);
3979 wxPyEndAllowThreads(__tstate
);
3980 if (PyErr_Occurred()) return NULL
;
3981 } _resultobj
= Py_BuildValue("i",_result
);
3985 #define wxDragImage_Hide(_swigobj) (_swigobj->Hide())
3986 static PyObject
*_wrap_wxDragImage_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3987 PyObject
* _resultobj
;
3989 wxGenericDragImage
* _arg0
;
3990 PyObject
* _argo0
= 0;
3991 char *_kwnames
[] = { "self", NULL
};
3994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDragImage_Hide",_kwnames
,&_argo0
))
3997 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3998 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3999 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_Hide. Expected _wxGenericDragImage_p.");
4004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4005 _result
= (bool )wxDragImage_Hide(_arg0
);
4007 wxPyEndAllowThreads(__tstate
);
4008 if (PyErr_Occurred()) return NULL
;
4009 } _resultobj
= Py_BuildValue("i",_result
);
4013 #define wxDragImage_GetImageRect(_swigobj,_swigarg0) (_swigobj->GetImageRect(_swigarg0))
4014 static PyObject
*_wrap_wxDragImage_GetImageRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4015 PyObject
* _resultobj
;
4017 wxGenericDragImage
* _arg0
;
4019 PyObject
* _argo0
= 0;
4021 PyObject
* _obj1
= 0;
4022 char *_kwnames
[] = { "self","pos", NULL
};
4026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDragImage_GetImageRect",_kwnames
,&_argo0
,&_obj1
))
4029 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4030 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
4031 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_GetImageRect. Expected _wxGenericDragImage_p.");
4037 if (! wxPoint_helper(_obj1
, &_arg1
))
4041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4042 _result
= new wxRect (wxDragImage_GetImageRect(_arg0
,*_arg1
));
4044 wxPyEndAllowThreads(__tstate
);
4045 if (PyErr_Occurred()) return NULL
;
4046 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
4047 _resultobj
= Py_BuildValue("s",_ptemp
);
4051 #define wxDragImage_RedrawImage(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->RedrawImage(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4052 static PyObject
*_wrap_wxDragImage_RedrawImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4053 PyObject
* _resultobj
;
4055 wxGenericDragImage
* _arg0
;
4060 PyObject
* _argo0
= 0;
4062 PyObject
* _obj1
= 0;
4064 PyObject
* _obj2
= 0;
4067 char *_kwnames
[] = { "self","oldPos","newPos","eraseOld","drawNew", NULL
};
4070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOii:wxDragImage_RedrawImage",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&tempbool3
,&tempbool4
))
4073 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4074 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
4075 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_RedrawImage. Expected _wxGenericDragImage_p.");
4081 if (! wxPoint_helper(_obj1
, &_arg1
))
4086 if (! wxPoint_helper(_obj2
, &_arg2
))
4089 _arg3
= (bool ) tempbool3
;
4090 _arg4
= (bool ) tempbool4
;
4092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4093 _result
= (bool )wxDragImage_RedrawImage(_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
);
4095 wxPyEndAllowThreads(__tstate
);
4096 if (PyErr_Occurred()) return NULL
;
4097 } _resultobj
= Py_BuildValue("i",_result
);
4101 static void *SwigwxPyTimerTowxObject(void *ptr
) {
4104 src
= (wxPyTimer
*) ptr
;
4105 dest
= (wxObject
*) src
;
4106 return (void *) dest
;
4109 #define new_wxPyTimer(_swigarg0) (new wxPyTimer(_swigarg0))
4110 static PyObject
*_wrap_new_wxPyTimer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4111 PyObject
* _resultobj
;
4112 wxPyTimer
* _result
;
4114 PyObject
* _obj0
= 0;
4115 char *_kwnames
[] = { "notify", NULL
};
4119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxPyTimer",_kwnames
,&_obj0
))
4125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4126 _result
= (wxPyTimer
*)new_wxPyTimer(_arg0
);
4128 wxPyEndAllowThreads(__tstate
);
4129 if (PyErr_Occurred()) return NULL
;
4131 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTimer_p");
4132 _resultobj
= Py_BuildValue("s",_ptemp
);
4135 _resultobj
= Py_None
;
4140 #define delete_wxPyTimer(_swigobj) (delete _swigobj)
4141 static PyObject
*_wrap_delete_wxPyTimer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4142 PyObject
* _resultobj
;
4144 PyObject
* _argo0
= 0;
4145 char *_kwnames
[] = { "self", NULL
};
4148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPyTimer",_kwnames
,&_argo0
))
4151 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4152 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4153 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPyTimer. Expected _wxPyTimer_p.");
4158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4159 delete_wxPyTimer(_arg0
);
4161 wxPyEndAllowThreads(__tstate
);
4162 if (PyErr_Occurred()) return NULL
;
4163 } Py_INCREF(Py_None
);
4164 _resultobj
= Py_None
;
4168 #define wxPyTimer_GetInterval(_swigobj) (_swigobj->GetInterval())
4169 static PyObject
*_wrap_wxPyTimer_GetInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4170 PyObject
* _resultobj
;
4173 PyObject
* _argo0
= 0;
4174 char *_kwnames
[] = { "self", NULL
};
4177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_GetInterval",_kwnames
,&_argo0
))
4180 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4181 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4182 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_GetInterval. Expected _wxPyTimer_p.");
4187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4188 _result
= (int )wxPyTimer_GetInterval(_arg0
);
4190 wxPyEndAllowThreads(__tstate
);
4191 if (PyErr_Occurred()) return NULL
;
4192 } _resultobj
= Py_BuildValue("i",_result
);
4196 #define wxPyTimer_IsOneShot(_swigobj) (_swigobj->IsOneShot())
4197 static PyObject
*_wrap_wxPyTimer_IsOneShot(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4198 PyObject
* _resultobj
;
4201 PyObject
* _argo0
= 0;
4202 char *_kwnames
[] = { "self", NULL
};
4205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_IsOneShot",_kwnames
,&_argo0
))
4208 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4209 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4210 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_IsOneShot. Expected _wxPyTimer_p.");
4215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4216 _result
= (bool )wxPyTimer_IsOneShot(_arg0
);
4218 wxPyEndAllowThreads(__tstate
);
4219 if (PyErr_Occurred()) return NULL
;
4220 } _resultobj
= Py_BuildValue("i",_result
);
4224 #define wxPyTimer_IsRunning(_swigobj) (_swigobj->IsRunning())
4225 static PyObject
*_wrap_wxPyTimer_IsRunning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4226 PyObject
* _resultobj
;
4229 PyObject
* _argo0
= 0;
4230 char *_kwnames
[] = { "self", NULL
};
4233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_IsRunning",_kwnames
,&_argo0
))
4236 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4237 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4238 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_IsRunning. Expected _wxPyTimer_p.");
4243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4244 _result
= (bool )wxPyTimer_IsRunning(_arg0
);
4246 wxPyEndAllowThreads(__tstate
);
4247 if (PyErr_Occurred()) return NULL
;
4248 } _resultobj
= Py_BuildValue("i",_result
);
4252 #define wxPyTimer_SetOwner(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetOwner(_swigarg0,_swigarg1))
4253 static PyObject
*_wrap_wxPyTimer_SetOwner(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4254 PyObject
* _resultobj
;
4256 wxEvtHandler
* _arg1
;
4257 int _arg2
= (int ) -1;
4258 PyObject
* _argo0
= 0;
4259 PyObject
* _argo1
= 0;
4260 char *_kwnames
[] = { "self","owner","id", NULL
};
4263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxPyTimer_SetOwner",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
4266 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4267 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4268 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_SetOwner. Expected _wxPyTimer_p.");
4273 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4274 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
4275 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyTimer_SetOwner. Expected _wxEvtHandler_p.");
4280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4281 wxPyTimer_SetOwner(_arg0
,_arg1
,_arg2
);
4283 wxPyEndAllowThreads(__tstate
);
4284 if (PyErr_Occurred()) return NULL
;
4285 } Py_INCREF(Py_None
);
4286 _resultobj
= Py_None
;
4290 #define wxPyTimer_Start(_swigobj,_swigarg0,_swigarg1) (_swigobj->Start(_swigarg0,_swigarg1))
4291 static PyObject
*_wrap_wxPyTimer_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4292 PyObject
* _resultobj
;
4294 int _arg1
= (int ) -1;
4295 int _arg2
= (int ) FALSE
;
4296 PyObject
* _argo0
= 0;
4297 char *_kwnames
[] = { "self","milliseconds","oneShot", NULL
};
4300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxPyTimer_Start",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4303 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4304 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4305 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_Start. Expected _wxPyTimer_p.");
4310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4311 wxPyTimer_Start(_arg0
,_arg1
,_arg2
);
4313 wxPyEndAllowThreads(__tstate
);
4314 if (PyErr_Occurred()) return NULL
;
4315 } Py_INCREF(Py_None
);
4316 _resultobj
= Py_None
;
4320 #define wxPyTimer_Stop(_swigobj) (_swigobj->Stop())
4321 static PyObject
*_wrap_wxPyTimer_Stop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4322 PyObject
* _resultobj
;
4324 PyObject
* _argo0
= 0;
4325 char *_kwnames
[] = { "self", NULL
};
4328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_Stop",_kwnames
,&_argo0
))
4331 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4332 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4333 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_Stop. Expected _wxPyTimer_p.");
4338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4339 wxPyTimer_Stop(_arg0
);
4341 wxPyEndAllowThreads(__tstate
);
4342 if (PyErr_Occurred()) return NULL
;
4343 } Py_INCREF(Py_None
);
4344 _resultobj
= Py_None
;
4348 #define new_wxStopWatch() (new wxStopWatch())
4349 static PyObject
*_wrap_new_wxStopWatch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4350 PyObject
* _resultobj
;
4351 wxStopWatch
* _result
;
4352 char *_kwnames
[] = { NULL
};
4356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxStopWatch",_kwnames
))
4359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4360 _result
= (wxStopWatch
*)new_wxStopWatch();
4362 wxPyEndAllowThreads(__tstate
);
4363 if (PyErr_Occurred()) return NULL
;
4365 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStopWatch_p");
4366 _resultobj
= Py_BuildValue("s",_ptemp
);
4369 _resultobj
= Py_None
;
4374 #define delete_wxStopWatch(_swigobj) (delete _swigobj)
4375 static PyObject
*_wrap_delete_wxStopWatch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4376 PyObject
* _resultobj
;
4377 wxStopWatch
* _arg0
;
4378 PyObject
* _argo0
= 0;
4379 char *_kwnames
[] = { "self", NULL
};
4382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxStopWatch",_kwnames
,&_argo0
))
4385 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4386 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStopWatch_p")) {
4387 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxStopWatch. Expected _wxStopWatch_p.");
4392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4393 delete_wxStopWatch(_arg0
);
4395 wxPyEndAllowThreads(__tstate
);
4396 if (PyErr_Occurred()) return NULL
;
4397 } Py_INCREF(Py_None
);
4398 _resultobj
= Py_None
;
4402 #define wxStopWatch_Start(_swigobj,_swigarg0) (_swigobj->Start(_swigarg0))
4403 static PyObject
*_wrap_wxStopWatch_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4404 PyObject
* _resultobj
;
4405 wxStopWatch
* _arg0
;
4406 long _arg1
= (long ) 0;
4407 PyObject
* _argo0
= 0;
4408 char *_kwnames
[] = { "self","t", NULL
};
4411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|l:wxStopWatch_Start",_kwnames
,&_argo0
,&_arg1
))
4414 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4415 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStopWatch_p")) {
4416 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStopWatch_Start. Expected _wxStopWatch_p.");
4421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4422 wxStopWatch_Start(_arg0
,_arg1
);
4424 wxPyEndAllowThreads(__tstate
);
4425 if (PyErr_Occurred()) return NULL
;
4426 } Py_INCREF(Py_None
);
4427 _resultobj
= Py_None
;
4431 #define wxStopWatch_Pause(_swigobj) (_swigobj->Pause())
4432 static PyObject
*_wrap_wxStopWatch_Pause(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4433 PyObject
* _resultobj
;
4434 wxStopWatch
* _arg0
;
4435 PyObject
* _argo0
= 0;
4436 char *_kwnames
[] = { "self", NULL
};
4439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStopWatch_Pause",_kwnames
,&_argo0
))
4442 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4443 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStopWatch_p")) {
4444 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStopWatch_Pause. Expected _wxStopWatch_p.");
4449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4450 wxStopWatch_Pause(_arg0
);
4452 wxPyEndAllowThreads(__tstate
);
4453 if (PyErr_Occurred()) return NULL
;
4454 } Py_INCREF(Py_None
);
4455 _resultobj
= Py_None
;
4459 #define wxStopWatch_Resume(_swigobj) (_swigobj->Resume())
4460 static PyObject
*_wrap_wxStopWatch_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4461 PyObject
* _resultobj
;
4462 wxStopWatch
* _arg0
;
4463 PyObject
* _argo0
= 0;
4464 char *_kwnames
[] = { "self", NULL
};
4467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStopWatch_Resume",_kwnames
,&_argo0
))
4470 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4471 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStopWatch_p")) {
4472 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStopWatch_Resume. Expected _wxStopWatch_p.");
4477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4478 wxStopWatch_Resume(_arg0
);
4480 wxPyEndAllowThreads(__tstate
);
4481 if (PyErr_Occurred()) return NULL
;
4482 } Py_INCREF(Py_None
);
4483 _resultobj
= Py_None
;
4487 #define wxStopWatch_Time(_swigobj) (_swigobj->Time())
4488 static PyObject
*_wrap_wxStopWatch_Time(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4489 PyObject
* _resultobj
;
4491 wxStopWatch
* _arg0
;
4492 PyObject
* _argo0
= 0;
4493 char *_kwnames
[] = { "self", NULL
};
4496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStopWatch_Time",_kwnames
,&_argo0
))
4499 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4500 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStopWatch_p")) {
4501 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStopWatch_Time. Expected _wxStopWatch_p.");
4506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4507 _result
= (long )wxStopWatch_Time(_arg0
);
4509 wxPyEndAllowThreads(__tstate
);
4510 if (PyErr_Occurred()) return NULL
;
4511 } _resultobj
= Py_BuildValue("l",_result
);
4515 #define new_wxLog() (new wxLog())
4516 static PyObject
*_wrap_new_wxLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4517 PyObject
* _resultobj
;
4519 char *_kwnames
[] = { NULL
};
4523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLog",_kwnames
))
4526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4527 _result
= (wxLog
*)new_wxLog();
4529 wxPyEndAllowThreads(__tstate
);
4530 if (PyErr_Occurred()) return NULL
;
4532 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
4533 _resultobj
= Py_BuildValue("s",_ptemp
);
4536 _resultobj
= Py_None
;
4541 static PyObject
*_wrap_wxLog_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4542 PyObject
* _resultobj
;
4544 char *_kwnames
[] = { NULL
};
4547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_IsEnabled",_kwnames
))
4550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4551 _result
= (bool )wxLog::IsEnabled();
4553 wxPyEndAllowThreads(__tstate
);
4554 if (PyErr_Occurred()) return NULL
;
4555 } _resultobj
= Py_BuildValue("i",_result
);
4559 static PyObject
*_wrap_wxLog_EnableLogging(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4560 PyObject
* _resultobj
;
4562 bool _arg0
= (bool ) TRUE
;
4563 int tempbool0
= (int) TRUE
;
4564 char *_kwnames
[] = { "doIt", NULL
};
4567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:wxLog_EnableLogging",_kwnames
,&tempbool0
))
4569 _arg0
= (bool ) tempbool0
;
4571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4572 _result
= (bool )wxLog::EnableLogging(_arg0
);
4574 wxPyEndAllowThreads(__tstate
);
4575 if (PyErr_Occurred()) return NULL
;
4576 } _resultobj
= Py_BuildValue("i",_result
);
4580 static PyObject
*_wrap_wxLog_OnLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4581 PyObject
* _resultobj
;
4584 int _arg2
= (int ) 0;
4585 PyObject
* _argo0
= 0;
4586 PyObject
* _obj1
= 0;
4587 char *_kwnames
[] = { "level","szString","t", NULL
};
4590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxLog_OnLog",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
4593 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4594 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogLevel_p")) {
4595 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_OnLog. Expected _wxLogLevel_p.");
4600 _arg1
= wxString_in_helper(_obj1
);
4605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4606 wxLog::OnLog(*_arg0
,*_arg1
,_arg2
);
4608 wxPyEndAllowThreads(__tstate
);
4609 if (PyErr_Occurred()) return NULL
;
4610 } Py_INCREF(Py_None
);
4611 _resultobj
= Py_None
;
4619 #define wxLog_Flush(_swigobj) (_swigobj->Flush())
4620 static PyObject
*_wrap_wxLog_Flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4621 PyObject
* _resultobj
;
4623 PyObject
* _argo0
= 0;
4624 char *_kwnames
[] = { "self", NULL
};
4627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_Flush",_kwnames
,&_argo0
))
4630 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4631 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
4632 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_Flush. Expected _wxLog_p.");
4637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4640 wxPyEndAllowThreads(__tstate
);
4641 if (PyErr_Occurred()) return NULL
;
4642 } Py_INCREF(Py_None
);
4643 _resultobj
= Py_None
;
4647 #define wxLog_HasPendingMessages(_swigobj) (_swigobj->HasPendingMessages())
4648 static PyObject
*_wrap_wxLog_HasPendingMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4649 PyObject
* _resultobj
;
4652 PyObject
* _argo0
= 0;
4653 char *_kwnames
[] = { "self", NULL
};
4656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_HasPendingMessages",_kwnames
,&_argo0
))
4659 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4660 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
4661 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_HasPendingMessages. Expected _wxLog_p.");
4666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4667 _result
= (bool )wxLog_HasPendingMessages(_arg0
);
4669 wxPyEndAllowThreads(__tstate
);
4670 if (PyErr_Occurred()) return NULL
;
4671 } _resultobj
= Py_BuildValue("i",_result
);
4675 static PyObject
*_wrap_wxLog_FlushActive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4676 PyObject
* _resultobj
;
4677 char *_kwnames
[] = { NULL
};
4680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_FlushActive",_kwnames
))
4683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4684 wxLog::FlushActive();
4686 wxPyEndAllowThreads(__tstate
);
4687 if (PyErr_Occurred()) return NULL
;
4688 } Py_INCREF(Py_None
);
4689 _resultobj
= Py_None
;
4693 static PyObject
*_wrap_wxLog_GetActiveTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4694 PyObject
* _resultobj
;
4696 char *_kwnames
[] = { NULL
};
4700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_GetActiveTarget",_kwnames
))
4703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4704 _result
= (wxLog
*)wxLog::GetActiveTarget();
4706 wxPyEndAllowThreads(__tstate
);
4707 if (PyErr_Occurred()) return NULL
;
4709 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
4710 _resultobj
= Py_BuildValue("s",_ptemp
);
4713 _resultobj
= Py_None
;
4718 static PyObject
*_wrap_wxLog_SetActiveTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4719 PyObject
* _resultobj
;
4722 PyObject
* _argo0
= 0;
4723 char *_kwnames
[] = { "pLogger", NULL
};
4727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_SetActiveTarget",_kwnames
,&_argo0
))
4730 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4731 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
4732 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_SetActiveTarget. Expected _wxLog_p.");
4737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4738 _result
= (wxLog
*)wxLog::SetActiveTarget(_arg0
);
4740 wxPyEndAllowThreads(__tstate
);
4741 if (PyErr_Occurred()) return NULL
;
4743 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
4744 _resultobj
= Py_BuildValue("s",_ptemp
);
4747 _resultobj
= Py_None
;
4752 static PyObject
*_wrap_wxLog_Suspend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4753 PyObject
* _resultobj
;
4754 char *_kwnames
[] = { NULL
};
4757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_Suspend",_kwnames
))
4760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4763 wxPyEndAllowThreads(__tstate
);
4764 if (PyErr_Occurred()) return NULL
;
4765 } Py_INCREF(Py_None
);
4766 _resultobj
= Py_None
;
4770 static PyObject
*_wrap_wxLog_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4771 PyObject
* _resultobj
;
4772 char *_kwnames
[] = { NULL
};
4775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_Resume",_kwnames
))
4778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4781 wxPyEndAllowThreads(__tstate
);
4782 if (PyErr_Occurred()) return NULL
;
4783 } Py_INCREF(Py_None
);
4784 _resultobj
= Py_None
;
4788 static PyObject
*_wrap_wxLog_SetVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4789 PyObject
* _resultobj
;
4790 bool _arg0
= (bool ) TRUE
;
4791 int tempbool0
= (int) TRUE
;
4792 char *_kwnames
[] = { "bVerbose", NULL
};
4795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:wxLog_SetVerbose",_kwnames
,&tempbool0
))
4797 _arg0
= (bool ) tempbool0
;
4799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4800 wxLog::SetVerbose(_arg0
);
4802 wxPyEndAllowThreads(__tstate
);
4803 if (PyErr_Occurred()) return NULL
;
4804 } Py_INCREF(Py_None
);
4805 _resultobj
= Py_None
;
4809 static PyObject
*_wrap_wxLog_DontCreateOnDemand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4810 PyObject
* _resultobj
;
4811 char *_kwnames
[] = { NULL
};
4814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_DontCreateOnDemand",_kwnames
))
4817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4818 wxLog::DontCreateOnDemand();
4820 wxPyEndAllowThreads(__tstate
);
4821 if (PyErr_Occurred()) return NULL
;
4822 } Py_INCREF(Py_None
);
4823 _resultobj
= Py_None
;
4827 static PyObject
*_wrap_wxLog_SetTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4828 PyObject
* _resultobj
;
4829 wxTraceMask
* _arg0
;
4830 PyObject
* _argo0
= 0;
4831 char *_kwnames
[] = { "ulMask", NULL
};
4834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_SetTraceMask",_kwnames
,&_argo0
))
4837 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4838 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTraceMask_p")) {
4839 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_SetTraceMask. Expected _wxTraceMask_p.");
4844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4845 wxLog::SetTraceMask(*_arg0
);
4847 wxPyEndAllowThreads(__tstate
);
4848 if (PyErr_Occurred()) return NULL
;
4849 } Py_INCREF(Py_None
);
4850 _resultobj
= Py_None
;
4854 static PyObject
*_wrap_wxLog_AddTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4855 PyObject
* _resultobj
;
4857 PyObject
* _obj0
= 0;
4858 char *_kwnames
[] = { "str", NULL
};
4861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_AddTraceMask",_kwnames
,&_obj0
))
4864 _arg0
= wxString_in_helper(_obj0
);
4869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4870 wxLog::AddTraceMask(*_arg0
);
4872 wxPyEndAllowThreads(__tstate
);
4873 if (PyErr_Occurred()) return NULL
;
4874 } Py_INCREF(Py_None
);
4875 _resultobj
= Py_None
;
4883 static PyObject
*_wrap_wxLog_RemoveTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4884 PyObject
* _resultobj
;
4886 PyObject
* _obj0
= 0;
4887 char *_kwnames
[] = { "str", NULL
};
4890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_RemoveTraceMask",_kwnames
,&_obj0
))
4893 _arg0
= wxString_in_helper(_obj0
);
4898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4899 wxLog::RemoveTraceMask(*_arg0
);
4901 wxPyEndAllowThreads(__tstate
);
4902 if (PyErr_Occurred()) return NULL
;
4903 } Py_INCREF(Py_None
);
4904 _resultobj
= Py_None
;
4912 static PyObject
*_wrap_wxLog_ClearTraceMasks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4913 PyObject
* _resultobj
;
4914 char *_kwnames
[] = { NULL
};
4917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_ClearTraceMasks",_kwnames
))
4920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4921 wxLog::ClearTraceMasks();
4923 wxPyEndAllowThreads(__tstate
);
4924 if (PyErr_Occurred()) return NULL
;
4925 } Py_INCREF(Py_None
);
4926 _resultobj
= Py_None
;
4930 static PyObject
*_wrap_wxLog_SetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4931 PyObject
* _resultobj
;
4933 PyObject
* _obj0
= 0;
4934 char *_kwnames
[] = { "ts", NULL
};
4937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_SetTimestamp",_kwnames
,&_obj0
))
4940 _arg0
= wxString_in_helper(_obj0
);
4945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4946 wxLog::SetTimestamp(*_arg0
);
4948 wxPyEndAllowThreads(__tstate
);
4949 if (PyErr_Occurred()) return NULL
;
4950 } Py_INCREF(Py_None
);
4951 _resultobj
= Py_None
;
4959 static PyObject
*_wrap_wxLog_GetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4960 PyObject
* _resultobj
;
4962 char *_kwnames
[] = { NULL
};
4965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_GetTimestamp",_kwnames
))
4968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4969 const wxString
& _result_ref
= wxLog::GetTimestamp();
4970 _result
= (wxString
*) &_result_ref
;
4972 wxPyEndAllowThreads(__tstate
);
4973 if (PyErr_Occurred()) return NULL
;
4976 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
4978 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
4984 #define wxLog_GetVerbose(_swigobj) (_swigobj->GetVerbose())
4985 static PyObject
*_wrap_wxLog_GetVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4986 PyObject
* _resultobj
;
4989 PyObject
* _argo0
= 0;
4990 char *_kwnames
[] = { "self", NULL
};
4993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_GetVerbose",_kwnames
,&_argo0
))
4996 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4997 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
4998 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_GetVerbose. Expected _wxLog_p.");
5003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5004 _result
= (bool )wxLog_GetVerbose(_arg0
);
5006 wxPyEndAllowThreads(__tstate
);
5007 if (PyErr_Occurred()) return NULL
;
5008 } _resultobj
= Py_BuildValue("i",_result
);
5012 static PyObject
*_wrap_wxLog_GetTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5013 PyObject
* _resultobj
;
5014 wxTraceMask
* _result
;
5015 char *_kwnames
[] = { NULL
};
5019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_GetTraceMask",_kwnames
))
5022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5023 _result
= new wxTraceMask (wxLog::GetTraceMask());
5025 wxPyEndAllowThreads(__tstate
);
5026 if (PyErr_Occurred()) return NULL
;
5027 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTraceMask_p");
5028 _resultobj
= Py_BuildValue("s",_ptemp
);
5032 static PyObject
*_wrap_wxLog_IsAllowedTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5033 PyObject
* _resultobj
;
5036 PyObject
* _obj0
= 0;
5037 char *_kwnames
[] = { "mask", NULL
};
5040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_IsAllowedTraceMask",_kwnames
,&_obj0
))
5043 _arg0
= wxString_in_helper(_obj0
);
5048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5049 _result
= (bool )wxLog::IsAllowedTraceMask(*_arg0
);
5051 wxPyEndAllowThreads(__tstate
);
5052 if (PyErr_Occurred()) return NULL
;
5053 } _resultobj
= Py_BuildValue("i",_result
);
5061 static wxString
wxLog_TimeStamp(wxLog
*self
) {
5063 wxLog::TimeStamp(&msg
);
5066 static PyObject
*_wrap_wxLog_TimeStamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5067 PyObject
* _resultobj
;
5070 PyObject
* _argo0
= 0;
5071 char *_kwnames
[] = { "self", NULL
};
5074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_TimeStamp",_kwnames
,&_argo0
))
5077 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5078 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
5079 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_TimeStamp. Expected _wxLog_p.");
5084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5085 _result
= new wxString (wxLog_TimeStamp(_arg0
));
5087 wxPyEndAllowThreads(__tstate
);
5088 if (PyErr_Occurred()) return NULL
;
5091 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
5093 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5102 static void *SwigwxLogStderrTowxLog(void *ptr
) {
5105 src
= (wxLogStderr
*) ptr
;
5106 dest
= (wxLog
*) src
;
5107 return (void *) dest
;
5110 #define new_wxLogStderr() (new wxLogStderr())
5111 static PyObject
*_wrap_new_wxLogStderr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5112 PyObject
* _resultobj
;
5113 wxLogStderr
* _result
;
5114 char *_kwnames
[] = { NULL
};
5118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLogStderr",_kwnames
))
5121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5122 _result
= (wxLogStderr
*)new_wxLogStderr();
5124 wxPyEndAllowThreads(__tstate
);
5125 if (PyErr_Occurred()) return NULL
;
5127 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogStderr_p");
5128 _resultobj
= Py_BuildValue("s",_ptemp
);
5131 _resultobj
= Py_None
;
5136 static void *SwigwxLogTextCtrlTowxLog(void *ptr
) {
5139 src
= (wxLogTextCtrl
*) ptr
;
5140 dest
= (wxLog
*) src
;
5141 return (void *) dest
;
5144 #define new_wxLogTextCtrl(_swigarg0) (new wxLogTextCtrl(_swigarg0))
5145 static PyObject
*_wrap_new_wxLogTextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5146 PyObject
* _resultobj
;
5147 wxLogTextCtrl
* _result
;
5149 PyObject
* _argo0
= 0;
5150 char *_kwnames
[] = { "pTextCtrl", NULL
};
5154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxLogTextCtrl",_kwnames
,&_argo0
))
5157 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5158 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
5159 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxLogTextCtrl. Expected _wxTextCtrl_p.");
5164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5165 _result
= (wxLogTextCtrl
*)new_wxLogTextCtrl(_arg0
);
5167 wxPyEndAllowThreads(__tstate
);
5168 if (PyErr_Occurred()) return NULL
;
5170 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogTextCtrl_p");
5171 _resultobj
= Py_BuildValue("s",_ptemp
);
5174 _resultobj
= Py_None
;
5179 static void *SwigwxLogGuiTowxLog(void *ptr
) {
5182 src
= (wxLogGui
*) ptr
;
5183 dest
= (wxLog
*) src
;
5184 return (void *) dest
;
5187 #define new_wxLogGui() (new wxLogGui())
5188 static PyObject
*_wrap_new_wxLogGui(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5189 PyObject
* _resultobj
;
5191 char *_kwnames
[] = { NULL
};
5195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLogGui",_kwnames
))
5198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5199 _result
= (wxLogGui
*)new_wxLogGui();
5201 wxPyEndAllowThreads(__tstate
);
5202 if (PyErr_Occurred()) return NULL
;
5204 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogGui_p");
5205 _resultobj
= Py_BuildValue("s",_ptemp
);
5208 _resultobj
= Py_None
;
5213 static void *SwigwxLogWindowTowxLog(void *ptr
) {
5216 src
= (wxLogWindow
*) ptr
;
5217 dest
= (wxLog
*) src
;
5218 return (void *) dest
;
5221 #define new_wxLogWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxLogWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5222 static PyObject
*_wrap_new_wxLogWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5223 PyObject
* _resultobj
;
5224 wxLogWindow
* _result
;
5227 bool _arg2
= (bool ) TRUE
;
5228 bool _arg3
= (bool ) TRUE
;
5229 PyObject
* _argo0
= 0;
5230 PyObject
* _obj1
= 0;
5231 int tempbool2
= (int) TRUE
;
5232 int tempbool3
= (int) TRUE
;
5233 char *_kwnames
[] = { "pParent","szTitle","bShow","bPassToOld", NULL
};
5237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|ii:new_wxLogWindow",_kwnames
,&_argo0
,&_obj1
,&tempbool2
,&tempbool3
))
5240 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5241 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
5242 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxLogWindow. Expected _wxFrame_p.");
5247 _arg1
= wxString_in_helper(_obj1
);
5251 _arg2
= (bool ) tempbool2
;
5252 _arg3
= (bool ) tempbool3
;
5254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5255 _result
= (wxLogWindow
*)new_wxLogWindow(_arg0
,*_arg1
,_arg2
,_arg3
);
5257 wxPyEndAllowThreads(__tstate
);
5258 if (PyErr_Occurred()) return NULL
;
5260 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogWindow_p");
5261 _resultobj
= Py_BuildValue("s",_ptemp
);
5264 _resultobj
= Py_None
;
5273 #define wxLogWindow_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
5274 static PyObject
*_wrap_wxLogWindow_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5275 PyObject
* _resultobj
;
5276 wxLogWindow
* _arg0
;
5277 bool _arg1
= (bool ) TRUE
;
5278 PyObject
* _argo0
= 0;
5279 int tempbool1
= (int) TRUE
;
5280 char *_kwnames
[] = { "self","bShow", NULL
};
5283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxLogWindow_Show",_kwnames
,&_argo0
,&tempbool1
))
5286 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5287 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
5288 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_Show. Expected _wxLogWindow_p.");
5292 _arg1
= (bool ) tempbool1
;
5294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5295 wxLogWindow_Show(_arg0
,_arg1
);
5297 wxPyEndAllowThreads(__tstate
);
5298 if (PyErr_Occurred()) return NULL
;
5299 } Py_INCREF(Py_None
);
5300 _resultobj
= Py_None
;
5304 #define wxLogWindow_GetFrame(_swigobj) (_swigobj->GetFrame())
5305 static PyObject
*_wrap_wxLogWindow_GetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5306 PyObject
* _resultobj
;
5308 wxLogWindow
* _arg0
;
5309 PyObject
* _argo0
= 0;
5310 char *_kwnames
[] = { "self", NULL
};
5313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogWindow_GetFrame",_kwnames
,&_argo0
))
5316 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5317 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
5318 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_GetFrame. Expected _wxLogWindow_p.");
5323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5324 _result
= (wxFrame
*)wxLogWindow_GetFrame(_arg0
);
5326 wxPyEndAllowThreads(__tstate
);
5327 if (PyErr_Occurred()) return NULL
;
5328 }{ _resultobj
= wxPyMake_wxObject(_result
); }
5332 #define wxLogWindow_GetOldLog(_swigobj) (_swigobj->GetOldLog())
5333 static PyObject
*_wrap_wxLogWindow_GetOldLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5334 PyObject
* _resultobj
;
5336 wxLogWindow
* _arg0
;
5337 PyObject
* _argo0
= 0;
5338 char *_kwnames
[] = { "self", NULL
};
5342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogWindow_GetOldLog",_kwnames
,&_argo0
))
5345 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5346 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
5347 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_GetOldLog. Expected _wxLogWindow_p.");
5352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5353 _result
= (wxLog
*)wxLogWindow_GetOldLog(_arg0
);
5355 wxPyEndAllowThreads(__tstate
);
5356 if (PyErr_Occurred()) return NULL
;
5358 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
5359 _resultobj
= Py_BuildValue("s",_ptemp
);
5362 _resultobj
= Py_None
;
5367 #define wxLogWindow_IsPassingMessages(_swigobj) (_swigobj->IsPassingMessages())
5368 static PyObject
*_wrap_wxLogWindow_IsPassingMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5369 PyObject
* _resultobj
;
5371 wxLogWindow
* _arg0
;
5372 PyObject
* _argo0
= 0;
5373 char *_kwnames
[] = { "self", NULL
};
5376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogWindow_IsPassingMessages",_kwnames
,&_argo0
))
5379 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5380 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
5381 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_IsPassingMessages. Expected _wxLogWindow_p.");
5386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5387 _result
= (bool )wxLogWindow_IsPassingMessages(_arg0
);
5389 wxPyEndAllowThreads(__tstate
);
5390 if (PyErr_Occurred()) return NULL
;
5391 } _resultobj
= Py_BuildValue("i",_result
);
5395 #define wxLogWindow_PassMessages(_swigobj,_swigarg0) (_swigobj->PassMessages(_swigarg0))
5396 static PyObject
*_wrap_wxLogWindow_PassMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5397 PyObject
* _resultobj
;
5398 wxLogWindow
* _arg0
;
5400 PyObject
* _argo0
= 0;
5402 char *_kwnames
[] = { "self","bDoPass", NULL
};
5405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxLogWindow_PassMessages",_kwnames
,&_argo0
,&tempbool1
))
5408 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5409 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
5410 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_PassMessages. Expected _wxLogWindow_p.");
5414 _arg1
= (bool ) tempbool1
;
5416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5417 wxLogWindow_PassMessages(_arg0
,_arg1
);
5419 wxPyEndAllowThreads(__tstate
);
5420 if (PyErr_Occurred()) return NULL
;
5421 } Py_INCREF(Py_None
);
5422 _resultobj
= Py_None
;
5426 static void *SwigwxLogChainTowxLog(void *ptr
) {
5429 src
= (wxLogChain
*) ptr
;
5430 dest
= (wxLog
*) src
;
5431 return (void *) dest
;
5434 #define new_wxLogChain(_swigarg0) (new wxLogChain(_swigarg0))
5435 static PyObject
*_wrap_new_wxLogChain(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5436 PyObject
* _resultobj
;
5437 wxLogChain
* _result
;
5439 PyObject
* _argo0
= 0;
5440 char *_kwnames
[] = { "logger", NULL
};
5444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxLogChain",_kwnames
,&_argo0
))
5447 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5448 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
5449 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxLogChain. Expected _wxLog_p.");
5454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5455 _result
= (wxLogChain
*)new_wxLogChain(_arg0
);
5457 wxPyEndAllowThreads(__tstate
);
5458 if (PyErr_Occurred()) return NULL
;
5460 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogChain_p");
5461 _resultobj
= Py_BuildValue("s",_ptemp
);
5464 _resultobj
= Py_None
;
5469 #define wxLogChain_SetLog(_swigobj,_swigarg0) (_swigobj->SetLog(_swigarg0))
5470 static PyObject
*_wrap_wxLogChain_SetLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5471 PyObject
* _resultobj
;
5474 PyObject
* _argo0
= 0;
5475 PyObject
* _argo1
= 0;
5476 char *_kwnames
[] = { "self","logger", NULL
};
5479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxLogChain_SetLog",_kwnames
,&_argo0
,&_argo1
))
5482 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5483 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogChain_p")) {
5484 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogChain_SetLog. Expected _wxLogChain_p.");
5489 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5490 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxLog_p")) {
5491 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxLogChain_SetLog. Expected _wxLog_p.");
5496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5497 wxLogChain_SetLog(_arg0
,_arg1
);
5499 wxPyEndAllowThreads(__tstate
);
5500 if (PyErr_Occurred()) return NULL
;
5501 } Py_INCREF(Py_None
);
5502 _resultobj
= Py_None
;
5506 #define wxLogChain_PassMessages(_swigobj,_swigarg0) (_swigobj->PassMessages(_swigarg0))
5507 static PyObject
*_wrap_wxLogChain_PassMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5508 PyObject
* _resultobj
;
5511 PyObject
* _argo0
= 0;
5513 char *_kwnames
[] = { "self","bDoPass", NULL
};
5516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxLogChain_PassMessages",_kwnames
,&_argo0
,&tempbool1
))
5519 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5520 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogChain_p")) {
5521 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogChain_PassMessages. Expected _wxLogChain_p.");
5525 _arg1
= (bool ) tempbool1
;
5527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5528 wxLogChain_PassMessages(_arg0
,_arg1
);
5530 wxPyEndAllowThreads(__tstate
);
5531 if (PyErr_Occurred()) return NULL
;
5532 } Py_INCREF(Py_None
);
5533 _resultobj
= Py_None
;
5537 #define wxLogChain_IsPassingMessages(_swigobj) (_swigobj->IsPassingMessages())
5538 static PyObject
*_wrap_wxLogChain_IsPassingMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5539 PyObject
* _resultobj
;
5542 PyObject
* _argo0
= 0;
5543 char *_kwnames
[] = { "self", NULL
};
5546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogChain_IsPassingMessages",_kwnames
,&_argo0
))
5549 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5550 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogChain_p")) {
5551 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogChain_IsPassingMessages. Expected _wxLogChain_p.");
5556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5557 _result
= (bool )wxLogChain_IsPassingMessages(_arg0
);
5559 wxPyEndAllowThreads(__tstate
);
5560 if (PyErr_Occurred()) return NULL
;
5561 } _resultobj
= Py_BuildValue("i",_result
);
5565 #define wxLogChain_GetOldLog(_swigobj) (_swigobj->GetOldLog())
5566 static PyObject
*_wrap_wxLogChain_GetOldLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5567 PyObject
* _resultobj
;
5570 PyObject
* _argo0
= 0;
5571 char *_kwnames
[] = { "self", NULL
};
5575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogChain_GetOldLog",_kwnames
,&_argo0
))
5578 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5579 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogChain_p")) {
5580 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogChain_GetOldLog. Expected _wxLogChain_p.");
5585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5586 _result
= (wxLog
*)wxLogChain_GetOldLog(_arg0
);
5588 wxPyEndAllowThreads(__tstate
);
5589 if (PyErr_Occurred()) return NULL
;
5591 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
5592 _resultobj
= Py_BuildValue("s",_ptemp
);
5595 _resultobj
= Py_None
;
5600 #define new_wxLogNull() (new wxLogNull())
5601 static PyObject
*_wrap_new_wxLogNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5602 PyObject
* _resultobj
;
5603 wxLogNull
* _result
;
5604 char *_kwnames
[] = { NULL
};
5608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLogNull",_kwnames
))
5611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5612 _result
= (wxLogNull
*)new_wxLogNull();
5614 wxPyEndAllowThreads(__tstate
);
5615 if (PyErr_Occurred()) return NULL
;
5617 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogNull_p");
5618 _resultobj
= Py_BuildValue("s",_ptemp
);
5621 _resultobj
= Py_None
;
5626 #define delete_wxLogNull(_swigobj) (delete _swigobj)
5627 static PyObject
*_wrap_delete_wxLogNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5628 PyObject
* _resultobj
;
5630 PyObject
* _argo0
= 0;
5631 char *_kwnames
[] = { "self", NULL
};
5634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxLogNull",_kwnames
,&_argo0
))
5637 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5638 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogNull_p")) {
5639 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxLogNull. Expected _wxLogNull_p.");
5644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5645 delete_wxLogNull(_arg0
);
5647 wxPyEndAllowThreads(__tstate
);
5648 if (PyErr_Occurred()) return NULL
;
5649 } Py_INCREF(Py_None
);
5650 _resultobj
= Py_None
;
5654 static void *SwigwxPyLogTowxLog(void *ptr
) {
5657 src
= (wxPyLog
*) ptr
;
5658 dest
= (wxLog
*) src
;
5659 return (void *) dest
;
5662 #define new_wxPyLog() (new wxPyLog())
5663 static PyObject
*_wrap_new_wxPyLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5664 PyObject
* _resultobj
;
5666 char *_kwnames
[] = { NULL
};
5670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPyLog",_kwnames
))
5673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5674 _result
= (wxPyLog
*)new_wxPyLog();
5676 wxPyEndAllowThreads(__tstate
);
5677 if (PyErr_Occurred()) return NULL
;
5679 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyLog_p");
5680 _resultobj
= Py_BuildValue("s",_ptemp
);
5683 _resultobj
= Py_None
;
5688 #define wxPyLog__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
5689 static PyObject
*_wrap_wxPyLog__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5690 PyObject
* _resultobj
;
5694 PyObject
* _argo0
= 0;
5695 PyObject
* _obj1
= 0;
5696 PyObject
* _obj2
= 0;
5697 char *_kwnames
[] = { "self","self","_class", NULL
};
5700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyLog__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
5703 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5704 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLog_p")) {
5705 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLog__setCallbackInfo. Expected _wxPyLog_p.");
5716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5717 wxPyLog__setCallbackInfo(_arg0
,_arg1
,_arg2
);
5719 wxPyEndAllowThreads(__tstate
);
5720 if (PyErr_Occurred()) return NULL
;
5721 } Py_INCREF(Py_None
);
5722 _resultobj
= Py_None
;
5726 static void wxPyLog_Destroy(wxPyLog
*self
) { delete self
; }
5727 static PyObject
*_wrap_wxPyLog_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5728 PyObject
* _resultobj
;
5730 PyObject
* _argo0
= 0;
5731 char *_kwnames
[] = { "self", NULL
};
5734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyLog_Destroy",_kwnames
,&_argo0
))
5737 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5738 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLog_p")) {
5739 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLog_Destroy. Expected _wxPyLog_p.");
5744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5745 wxPyLog_Destroy(_arg0
);
5747 wxPyEndAllowThreads(__tstate
);
5748 if (PyErr_Occurred()) return NULL
;
5749 } Py_INCREF(Py_None
);
5750 _resultobj
= Py_None
;
5754 static void *SwigwxProcessEventTowxEvent(void *ptr
) {
5755 wxProcessEvent
*src
;
5757 src
= (wxProcessEvent
*) ptr
;
5758 dest
= (wxEvent
*) src
;
5759 return (void *) dest
;
5762 static void *SwigwxProcessEventTowxObject(void *ptr
) {
5763 wxProcessEvent
*src
;
5765 src
= (wxProcessEvent
*) ptr
;
5766 dest
= (wxObject
*) src
;
5767 return (void *) dest
;
5770 #define new_wxProcessEvent(_swigarg0,_swigarg1,_swigarg2) (new wxProcessEvent(_swigarg0,_swigarg1,_swigarg2))
5771 static PyObject
*_wrap_new_wxProcessEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5772 PyObject
* _resultobj
;
5773 wxProcessEvent
* _result
;
5774 int _arg0
= (int ) 0;
5775 int _arg1
= (int ) 0;
5776 int _arg2
= (int ) 0;
5777 char *_kwnames
[] = { "id","pid","exitcode", NULL
};
5781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iii:new_wxProcessEvent",_kwnames
,&_arg0
,&_arg1
,&_arg2
))
5784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5785 _result
= (wxProcessEvent
*)new_wxProcessEvent(_arg0
,_arg1
,_arg2
);
5787 wxPyEndAllowThreads(__tstate
);
5788 if (PyErr_Occurred()) return NULL
;
5790 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxProcessEvent_p");
5791 _resultobj
= Py_BuildValue("s",_ptemp
);
5794 _resultobj
= Py_None
;
5799 #define wxProcessEvent_GetPid(_swigobj) (_swigobj->GetPid())
5800 static PyObject
*_wrap_wxProcessEvent_GetPid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5801 PyObject
* _resultobj
;
5803 wxProcessEvent
* _arg0
;
5804 PyObject
* _argo0
= 0;
5805 char *_kwnames
[] = { "self", NULL
};
5808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcessEvent_GetPid",_kwnames
,&_argo0
))
5811 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5812 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
5813 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_GetPid. Expected _wxProcessEvent_p.");
5818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5819 _result
= (int )wxProcessEvent_GetPid(_arg0
);
5821 wxPyEndAllowThreads(__tstate
);
5822 if (PyErr_Occurred()) return NULL
;
5823 } _resultobj
= Py_BuildValue("i",_result
);
5827 #define wxProcessEvent_GetExitCode(_swigobj) (_swigobj->GetExitCode())
5828 static PyObject
*_wrap_wxProcessEvent_GetExitCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5829 PyObject
* _resultobj
;
5831 wxProcessEvent
* _arg0
;
5832 PyObject
* _argo0
= 0;
5833 char *_kwnames
[] = { "self", NULL
};
5836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcessEvent_GetExitCode",_kwnames
,&_argo0
))
5839 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5840 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
5841 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_GetExitCode. Expected _wxProcessEvent_p.");
5846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5847 _result
= (int )wxProcessEvent_GetExitCode(_arg0
);
5849 wxPyEndAllowThreads(__tstate
);
5850 if (PyErr_Occurred()) return NULL
;
5851 } _resultobj
= Py_BuildValue("i",_result
);
5855 #define wxProcessEvent_m_pid_set(_swigobj,_swigval) (_swigobj->m_pid = _swigval,_swigval)
5856 static PyObject
*_wrap_wxProcessEvent_m_pid_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5857 PyObject
* _resultobj
;
5859 wxProcessEvent
* _arg0
;
5861 PyObject
* _argo0
= 0;
5862 char *_kwnames
[] = { "self","m_pid", NULL
};
5865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxProcessEvent_m_pid_set",_kwnames
,&_argo0
,&_arg1
))
5868 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5869 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
5870 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_m_pid_set. Expected _wxProcessEvent_p.");
5875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5876 _result
= (int )wxProcessEvent_m_pid_set(_arg0
,_arg1
);
5878 wxPyEndAllowThreads(__tstate
);
5879 if (PyErr_Occurred()) return NULL
;
5880 } _resultobj
= Py_BuildValue("i",_result
);
5884 #define wxProcessEvent_m_pid_get(_swigobj) ((int ) _swigobj->m_pid)
5885 static PyObject
*_wrap_wxProcessEvent_m_pid_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5886 PyObject
* _resultobj
;
5888 wxProcessEvent
* _arg0
;
5889 PyObject
* _argo0
= 0;
5890 char *_kwnames
[] = { "self", NULL
};
5893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcessEvent_m_pid_get",_kwnames
,&_argo0
))
5896 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5897 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
5898 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_m_pid_get. Expected _wxProcessEvent_p.");
5903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5904 _result
= (int )wxProcessEvent_m_pid_get(_arg0
);
5906 wxPyEndAllowThreads(__tstate
);
5907 if (PyErr_Occurred()) return NULL
;
5908 } _resultobj
= Py_BuildValue("i",_result
);
5912 #define wxProcessEvent_m_exitcode_set(_swigobj,_swigval) (_swigobj->m_exitcode = _swigval,_swigval)
5913 static PyObject
*_wrap_wxProcessEvent_m_exitcode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5914 PyObject
* _resultobj
;
5916 wxProcessEvent
* _arg0
;
5918 PyObject
* _argo0
= 0;
5919 char *_kwnames
[] = { "self","m_exitcode", NULL
};
5922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxProcessEvent_m_exitcode_set",_kwnames
,&_argo0
,&_arg1
))
5925 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5926 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
5927 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_m_exitcode_set. Expected _wxProcessEvent_p.");
5932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5933 _result
= (int )wxProcessEvent_m_exitcode_set(_arg0
,_arg1
);
5935 wxPyEndAllowThreads(__tstate
);
5936 if (PyErr_Occurred()) return NULL
;
5937 } _resultobj
= Py_BuildValue("i",_result
);
5941 #define wxProcessEvent_m_exitcode_get(_swigobj) ((int ) _swigobj->m_exitcode)
5942 static PyObject
*_wrap_wxProcessEvent_m_exitcode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5943 PyObject
* _resultobj
;
5945 wxProcessEvent
* _arg0
;
5946 PyObject
* _argo0
= 0;
5947 char *_kwnames
[] = { "self", NULL
};
5950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcessEvent_m_exitcode_get",_kwnames
,&_argo0
))
5953 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5954 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
5955 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_m_exitcode_get. Expected _wxProcessEvent_p.");
5960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5961 _result
= (int )wxProcessEvent_m_exitcode_get(_arg0
);
5963 wxPyEndAllowThreads(__tstate
);
5964 if (PyErr_Occurred()) return NULL
;
5965 } _resultobj
= Py_BuildValue("i",_result
);
5969 static void *SwigwxPyProcessTowxEvtHandler(void *ptr
) {
5972 src
= (wxPyProcess
*) ptr
;
5973 dest
= (wxEvtHandler
*) src
;
5974 return (void *) dest
;
5977 static void *SwigwxPyProcessTowxObject(void *ptr
) {
5980 src
= (wxPyProcess
*) ptr
;
5981 dest
= (wxObject
*) src
;
5982 return (void *) dest
;
5985 #define new_wxProcess(_swigarg0,_swigarg1) (new wxPyProcess(_swigarg0,_swigarg1))
5986 static PyObject
*_wrap_new_wxProcess(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5987 PyObject
* _resultobj
;
5988 wxPyProcess
* _result
;
5989 wxEvtHandler
* _arg0
= (wxEvtHandler
*) NULL
;
5990 int _arg1
= (int ) -1;
5991 PyObject
* _argo0
= 0;
5992 char *_kwnames
[] = { "parent","id", NULL
};
5996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|Oi:new_wxProcess",_kwnames
,&_argo0
,&_arg1
))
5999 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6000 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
6001 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxProcess. Expected _wxEvtHandler_p.");
6006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6007 _result
= (wxPyProcess
*)new_wxProcess(_arg0
,_arg1
);
6009 wxPyEndAllowThreads(__tstate
);
6010 if (PyErr_Occurred()) return NULL
;
6012 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyProcess_p");
6013 _resultobj
= Py_BuildValue("s",_ptemp
);
6016 _resultobj
= Py_None
;
6021 static void wxPyProcess_Destroy(wxPyProcess
*self
) { delete self
; }
6022 static PyObject
*_wrap_wxProcess_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6023 PyObject
* _resultobj
;
6024 wxPyProcess
* _arg0
;
6025 PyObject
* _argo0
= 0;
6026 char *_kwnames
[] = { "self", NULL
};
6029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_Destroy",_kwnames
,&_argo0
))
6032 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6033 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6034 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_Destroy. Expected _wxPyProcess_p.");
6039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6040 wxPyProcess_Destroy(_arg0
);
6042 wxPyEndAllowThreads(__tstate
);
6043 if (PyErr_Occurred()) return NULL
;
6044 } Py_INCREF(Py_None
);
6045 _resultobj
= Py_None
;
6049 #define wxProcess__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
6050 static PyObject
*_wrap_wxProcess__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6051 PyObject
* _resultobj
;
6052 wxPyProcess
* _arg0
;
6055 PyObject
* _argo0
= 0;
6056 PyObject
* _obj1
= 0;
6057 PyObject
* _obj2
= 0;
6058 char *_kwnames
[] = { "self","self","_class", NULL
};
6061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxProcess__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
6064 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6065 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6066 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess__setCallbackInfo. Expected _wxPyProcess_p.");
6077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6078 wxProcess__setCallbackInfo(_arg0
,_arg1
,_arg2
);
6080 wxPyEndAllowThreads(__tstate
);
6081 if (PyErr_Occurred()) return NULL
;
6082 } Py_INCREF(Py_None
);
6083 _resultobj
= Py_None
;
6087 #define wxProcess_base_OnTerminate(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnTerminate(_swigarg0,_swigarg1))
6088 static PyObject
*_wrap_wxProcess_base_OnTerminate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6089 PyObject
* _resultobj
;
6090 wxPyProcess
* _arg0
;
6093 PyObject
* _argo0
= 0;
6094 char *_kwnames
[] = { "self","pid","status", NULL
};
6097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxProcess_base_OnTerminate",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6100 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6101 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6102 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_base_OnTerminate. Expected _wxPyProcess_p.");
6107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6108 wxProcess_base_OnTerminate(_arg0
,_arg1
,_arg2
);
6110 wxPyEndAllowThreads(__tstate
);
6111 if (PyErr_Occurred()) return NULL
;
6112 } Py_INCREF(Py_None
);
6113 _resultobj
= Py_None
;
6117 #define wxProcess_Redirect(_swigobj) (_swigobj->Redirect())
6118 static PyObject
*_wrap_wxProcess_Redirect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6119 PyObject
* _resultobj
;
6120 wxPyProcess
* _arg0
;
6121 PyObject
* _argo0
= 0;
6122 char *_kwnames
[] = { "self", NULL
};
6125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_Redirect",_kwnames
,&_argo0
))
6128 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6129 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6130 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_Redirect. Expected _wxPyProcess_p.");
6135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6136 wxProcess_Redirect(_arg0
);
6138 wxPyEndAllowThreads(__tstate
);
6139 if (PyErr_Occurred()) return NULL
;
6140 } Py_INCREF(Py_None
);
6141 _resultobj
= Py_None
;
6145 #define wxProcess_IsRedirected(_swigobj) (_swigobj->IsRedirected())
6146 static PyObject
*_wrap_wxProcess_IsRedirected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6147 PyObject
* _resultobj
;
6149 wxPyProcess
* _arg0
;
6150 PyObject
* _argo0
= 0;
6151 char *_kwnames
[] = { "self", NULL
};
6154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_IsRedirected",_kwnames
,&_argo0
))
6157 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6158 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6159 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_IsRedirected. Expected _wxPyProcess_p.");
6164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6165 _result
= (bool )wxProcess_IsRedirected(_arg0
);
6167 wxPyEndAllowThreads(__tstate
);
6168 if (PyErr_Occurred()) return NULL
;
6169 } _resultobj
= Py_BuildValue("i",_result
);
6173 #define wxProcess_Detach(_swigobj) (_swigobj->Detach())
6174 static PyObject
*_wrap_wxProcess_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6175 PyObject
* _resultobj
;
6176 wxPyProcess
* _arg0
;
6177 PyObject
* _argo0
= 0;
6178 char *_kwnames
[] = { "self", NULL
};
6181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_Detach",_kwnames
,&_argo0
))
6184 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6185 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6186 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_Detach. Expected _wxPyProcess_p.");
6191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6192 wxProcess_Detach(_arg0
);
6194 wxPyEndAllowThreads(__tstate
);
6195 if (PyErr_Occurred()) return NULL
;
6196 } Py_INCREF(Py_None
);
6197 _resultobj
= Py_None
;
6201 #define wxProcess_GetInputStream(_swigobj) (_swigobj->GetInputStream())
6202 static PyObject
*_wrap_wxProcess_GetInputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6203 PyObject
* _resultobj
;
6204 wxInputStream
* _result
;
6205 wxPyProcess
* _arg0
;
6206 PyObject
* _argo0
= 0;
6207 char *_kwnames
[] = { "self", NULL
};
6210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_GetInputStream",_kwnames
,&_argo0
))
6213 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6214 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6215 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_GetInputStream. Expected _wxPyProcess_p.");
6220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6221 _result
= (wxInputStream
*)wxProcess_GetInputStream(_arg0
);
6223 wxPyEndAllowThreads(__tstate
);
6224 if (PyErr_Occurred()) return NULL
;
6226 wxPyInputStream
* _ptr
= NULL
;
6229 _ptr
= new wxPyInputStream(_result
);
6231 _resultobj
= wxPyConstructObject(_ptr
, "wxInputStream", TRUE
);
6236 #define wxProcess_GetErrorStream(_swigobj) (_swigobj->GetErrorStream())
6237 static PyObject
*_wrap_wxProcess_GetErrorStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6238 PyObject
* _resultobj
;
6239 wxInputStream
* _result
;
6240 wxPyProcess
* _arg0
;
6241 PyObject
* _argo0
= 0;
6242 char *_kwnames
[] = { "self", NULL
};
6245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_GetErrorStream",_kwnames
,&_argo0
))
6248 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6249 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6250 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_GetErrorStream. Expected _wxPyProcess_p.");
6255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6256 _result
= (wxInputStream
*)wxProcess_GetErrorStream(_arg0
);
6258 wxPyEndAllowThreads(__tstate
);
6259 if (PyErr_Occurred()) return NULL
;
6261 wxPyInputStream
* _ptr
= NULL
;
6264 _ptr
= new wxPyInputStream(_result
);
6266 _resultobj
= wxPyConstructObject(_ptr
, "wxInputStream", TRUE
);
6271 #define wxProcess_GetOutputStream(_swigobj) (_swigobj->GetOutputStream())
6272 static PyObject
*_wrap_wxProcess_GetOutputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6273 PyObject
* _resultobj
;
6274 wxOutputStream
* _result
;
6275 wxPyProcess
* _arg0
;
6276 PyObject
* _argo0
= 0;
6277 char *_kwnames
[] = { "self", NULL
};
6281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_GetOutputStream",_kwnames
,&_argo0
))
6284 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6285 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6286 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_GetOutputStream. Expected _wxPyProcess_p.");
6291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6292 _result
= (wxOutputStream
*)wxProcess_GetOutputStream(_arg0
);
6294 wxPyEndAllowThreads(__tstate
);
6295 if (PyErr_Occurred()) return NULL
;
6297 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxOutputStream_p");
6298 _resultobj
= Py_BuildValue("s",_ptemp
);
6301 _resultobj
= Py_None
;
6306 #define wxProcess_CloseOutput(_swigobj) (_swigobj->CloseOutput())
6307 static PyObject
*_wrap_wxProcess_CloseOutput(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6308 PyObject
* _resultobj
;
6309 wxPyProcess
* _arg0
;
6310 PyObject
* _argo0
= 0;
6311 char *_kwnames
[] = { "self", NULL
};
6314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_CloseOutput",_kwnames
,&_argo0
))
6317 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6318 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6319 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_CloseOutput. Expected _wxPyProcess_p.");
6324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6325 wxProcess_CloseOutput(_arg0
);
6327 wxPyEndAllowThreads(__tstate
);
6328 if (PyErr_Occurred()) return NULL
;
6329 } Py_INCREF(Py_None
);
6330 _resultobj
= Py_None
;
6334 static void *SwigwxJoystickTowxObject(void *ptr
) {
6337 src
= (wxJoystick
*) ptr
;
6338 dest
= (wxObject
*) src
;
6339 return (void *) dest
;
6342 #define new_wxJoystick(_swigarg0) (new wxJoystick(_swigarg0))
6343 static PyObject
*_wrap_new_wxJoystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6344 PyObject
* _resultobj
;
6345 wxJoystick
* _result
;
6346 int _arg0
= (int ) wxJOYSTICK1
;
6347 char *_kwnames
[] = { "joystick", NULL
};
6351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxJoystick",_kwnames
,&_arg0
))
6354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6355 _result
= (wxJoystick
*)new_wxJoystick(_arg0
);
6357 wxPyEndAllowThreads(__tstate
);
6358 if (PyErr_Occurred()) return NULL
;
6360 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxJoystick_p");
6361 _resultobj
= Py_BuildValue("s",_ptemp
);
6364 _resultobj
= Py_None
;
6369 #define delete_wxJoystick(_swigobj) (delete _swigobj)
6370 static PyObject
*_wrap_delete_wxJoystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6371 PyObject
* _resultobj
;
6373 PyObject
* _argo0
= 0;
6374 char *_kwnames
[] = { "self", NULL
};
6377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxJoystick",_kwnames
,&_argo0
))
6380 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6381 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6382 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxJoystick. Expected _wxJoystick_p.");
6387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6388 delete_wxJoystick(_arg0
);
6390 wxPyEndAllowThreads(__tstate
);
6391 if (PyErr_Occurred()) return NULL
;
6392 } Py_INCREF(Py_None
);
6393 _resultobj
= Py_None
;
6397 #define wxJoystick_GetPosition(_swigobj) (_swigobj->GetPosition())
6398 static PyObject
*_wrap_wxJoystick_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6399 PyObject
* _resultobj
;
6402 PyObject
* _argo0
= 0;
6403 char *_kwnames
[] = { "self", NULL
};
6407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPosition",_kwnames
,&_argo0
))
6410 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6411 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6412 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPosition. Expected _wxJoystick_p.");
6417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6418 _result
= new wxPoint (wxJoystick_GetPosition(_arg0
));
6420 wxPyEndAllowThreads(__tstate
);
6421 if (PyErr_Occurred()) return NULL
;
6422 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
6423 _resultobj
= Py_BuildValue("s",_ptemp
);
6427 #define wxJoystick_GetZPosition(_swigobj) (_swigobj->GetZPosition())
6428 static PyObject
*_wrap_wxJoystick_GetZPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6429 PyObject
* _resultobj
;
6432 PyObject
* _argo0
= 0;
6433 char *_kwnames
[] = { "self", NULL
};
6436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetZPosition",_kwnames
,&_argo0
))
6439 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6440 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6441 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetZPosition. Expected _wxJoystick_p.");
6446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6447 _result
= (int )wxJoystick_GetZPosition(_arg0
);
6449 wxPyEndAllowThreads(__tstate
);
6450 if (PyErr_Occurred()) return NULL
;
6451 } _resultobj
= Py_BuildValue("i",_result
);
6455 #define wxJoystick_GetButtonState(_swigobj) (_swigobj->GetButtonState())
6456 static PyObject
*_wrap_wxJoystick_GetButtonState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6457 PyObject
* _resultobj
;
6460 PyObject
* _argo0
= 0;
6461 char *_kwnames
[] = { "self", NULL
};
6464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetButtonState",_kwnames
,&_argo0
))
6467 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6468 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6469 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetButtonState. Expected _wxJoystick_p.");
6474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6475 _result
= (int )wxJoystick_GetButtonState(_arg0
);
6477 wxPyEndAllowThreads(__tstate
);
6478 if (PyErr_Occurred()) return NULL
;
6479 } _resultobj
= Py_BuildValue("i",_result
);
6483 #define wxJoystick_GetPOVPosition(_swigobj) (_swigobj->GetPOVPosition())
6484 static PyObject
*_wrap_wxJoystick_GetPOVPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6485 PyObject
* _resultobj
;
6488 PyObject
* _argo0
= 0;
6489 char *_kwnames
[] = { "self", NULL
};
6492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPOVPosition",_kwnames
,&_argo0
))
6495 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6496 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6497 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPOVPosition. Expected _wxJoystick_p.");
6502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6503 _result
= (int )wxJoystick_GetPOVPosition(_arg0
);
6505 wxPyEndAllowThreads(__tstate
);
6506 if (PyErr_Occurred()) return NULL
;
6507 } _resultobj
= Py_BuildValue("i",_result
);
6511 #define wxJoystick_GetPOVCTSPosition(_swigobj) (_swigobj->GetPOVCTSPosition())
6512 static PyObject
*_wrap_wxJoystick_GetPOVCTSPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6513 PyObject
* _resultobj
;
6516 PyObject
* _argo0
= 0;
6517 char *_kwnames
[] = { "self", NULL
};
6520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPOVCTSPosition",_kwnames
,&_argo0
))
6523 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6524 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6525 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPOVCTSPosition. Expected _wxJoystick_p.");
6530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6531 _result
= (int )wxJoystick_GetPOVCTSPosition(_arg0
);
6533 wxPyEndAllowThreads(__tstate
);
6534 if (PyErr_Occurred()) return NULL
;
6535 } _resultobj
= Py_BuildValue("i",_result
);
6539 #define wxJoystick_GetRudderPosition(_swigobj) (_swigobj->GetRudderPosition())
6540 static PyObject
*_wrap_wxJoystick_GetRudderPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6541 PyObject
* _resultobj
;
6544 PyObject
* _argo0
= 0;
6545 char *_kwnames
[] = { "self", NULL
};
6548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetRudderPosition",_kwnames
,&_argo0
))
6551 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6552 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6553 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetRudderPosition. Expected _wxJoystick_p.");
6558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6559 _result
= (int )wxJoystick_GetRudderPosition(_arg0
);
6561 wxPyEndAllowThreads(__tstate
);
6562 if (PyErr_Occurred()) return NULL
;
6563 } _resultobj
= Py_BuildValue("i",_result
);
6567 #define wxJoystick_GetUPosition(_swigobj) (_swigobj->GetUPosition())
6568 static PyObject
*_wrap_wxJoystick_GetUPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6569 PyObject
* _resultobj
;
6572 PyObject
* _argo0
= 0;
6573 char *_kwnames
[] = { "self", NULL
};
6576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetUPosition",_kwnames
,&_argo0
))
6579 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6580 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6581 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetUPosition. Expected _wxJoystick_p.");
6586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6587 _result
= (int )wxJoystick_GetUPosition(_arg0
);
6589 wxPyEndAllowThreads(__tstate
);
6590 if (PyErr_Occurred()) return NULL
;
6591 } _resultobj
= Py_BuildValue("i",_result
);
6595 #define wxJoystick_GetVPosition(_swigobj) (_swigobj->GetVPosition())
6596 static PyObject
*_wrap_wxJoystick_GetVPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6597 PyObject
* _resultobj
;
6600 PyObject
* _argo0
= 0;
6601 char *_kwnames
[] = { "self", NULL
};
6604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetVPosition",_kwnames
,&_argo0
))
6607 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6608 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6609 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetVPosition. Expected _wxJoystick_p.");
6614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6615 _result
= (int )wxJoystick_GetVPosition(_arg0
);
6617 wxPyEndAllowThreads(__tstate
);
6618 if (PyErr_Occurred()) return NULL
;
6619 } _resultobj
= Py_BuildValue("i",_result
);
6623 #define wxJoystick_GetMovementThreshold(_swigobj) (_swigobj->GetMovementThreshold())
6624 static PyObject
*_wrap_wxJoystick_GetMovementThreshold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6625 PyObject
* _resultobj
;
6628 PyObject
* _argo0
= 0;
6629 char *_kwnames
[] = { "self", NULL
};
6632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetMovementThreshold",_kwnames
,&_argo0
))
6635 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6636 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6637 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetMovementThreshold. Expected _wxJoystick_p.");
6642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6643 _result
= (int )wxJoystick_GetMovementThreshold(_arg0
);
6645 wxPyEndAllowThreads(__tstate
);
6646 if (PyErr_Occurred()) return NULL
;
6647 } _resultobj
= Py_BuildValue("i",_result
);
6651 #define wxJoystick_SetMovementThreshold(_swigobj,_swigarg0) (_swigobj->SetMovementThreshold(_swigarg0))
6652 static PyObject
*_wrap_wxJoystick_SetMovementThreshold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6653 PyObject
* _resultobj
;
6656 PyObject
* _argo0
= 0;
6657 char *_kwnames
[] = { "self","threshold", NULL
};
6660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxJoystick_SetMovementThreshold",_kwnames
,&_argo0
,&_arg1
))
6663 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6664 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6665 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_SetMovementThreshold. Expected _wxJoystick_p.");
6670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6671 wxJoystick_SetMovementThreshold(_arg0
,_arg1
);
6673 wxPyEndAllowThreads(__tstate
);
6674 if (PyErr_Occurred()) return NULL
;
6675 } Py_INCREF(Py_None
);
6676 _resultobj
= Py_None
;
6680 #define wxJoystick_IsOk(_swigobj) (_swigobj->IsOk())
6681 static PyObject
*_wrap_wxJoystick_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6682 PyObject
* _resultobj
;
6685 PyObject
* _argo0
= 0;
6686 char *_kwnames
[] = { "self", NULL
};
6689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_IsOk",_kwnames
,&_argo0
))
6692 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6693 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6694 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_IsOk. Expected _wxJoystick_p.");
6699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6700 _result
= (bool )wxJoystick_IsOk(_arg0
);
6702 wxPyEndAllowThreads(__tstate
);
6703 if (PyErr_Occurred()) return NULL
;
6704 } _resultobj
= Py_BuildValue("i",_result
);
6708 #define wxJoystick_GetNumberJoysticks(_swigobj) (_swigobj->GetNumberJoysticks())
6709 static PyObject
*_wrap_wxJoystick_GetNumberJoysticks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6710 PyObject
* _resultobj
;
6713 PyObject
* _argo0
= 0;
6714 char *_kwnames
[] = { "self", NULL
};
6717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetNumberJoysticks",_kwnames
,&_argo0
))
6720 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6721 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6722 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetNumberJoysticks. Expected _wxJoystick_p.");
6727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6728 _result
= (int )wxJoystick_GetNumberJoysticks(_arg0
);
6730 wxPyEndAllowThreads(__tstate
);
6731 if (PyErr_Occurred()) return NULL
;
6732 } _resultobj
= Py_BuildValue("i",_result
);
6736 #define wxJoystick_GetManufacturerId(_swigobj) (_swigobj->GetManufacturerId())
6737 static PyObject
*_wrap_wxJoystick_GetManufacturerId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6738 PyObject
* _resultobj
;
6741 PyObject
* _argo0
= 0;
6742 char *_kwnames
[] = { "self", NULL
};
6745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetManufacturerId",_kwnames
,&_argo0
))
6748 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6749 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6750 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetManufacturerId. Expected _wxJoystick_p.");
6755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6756 _result
= (int )wxJoystick_GetManufacturerId(_arg0
);
6758 wxPyEndAllowThreads(__tstate
);
6759 if (PyErr_Occurred()) return NULL
;
6760 } _resultobj
= Py_BuildValue("i",_result
);
6764 #define wxJoystick_GetProductId(_swigobj) (_swigobj->GetProductId())
6765 static PyObject
*_wrap_wxJoystick_GetProductId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6766 PyObject
* _resultobj
;
6769 PyObject
* _argo0
= 0;
6770 char *_kwnames
[] = { "self", NULL
};
6773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetProductId",_kwnames
,&_argo0
))
6776 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6777 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6778 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetProductId. Expected _wxJoystick_p.");
6783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6784 _result
= (int )wxJoystick_GetProductId(_arg0
);
6786 wxPyEndAllowThreads(__tstate
);
6787 if (PyErr_Occurred()) return NULL
;
6788 } _resultobj
= Py_BuildValue("i",_result
);
6792 #define wxJoystick_GetProductName(_swigobj) (_swigobj->GetProductName())
6793 static PyObject
*_wrap_wxJoystick_GetProductName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6794 PyObject
* _resultobj
;
6797 PyObject
* _argo0
= 0;
6798 char *_kwnames
[] = { "self", NULL
};
6801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetProductName",_kwnames
,&_argo0
))
6804 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6805 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6806 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetProductName. Expected _wxJoystick_p.");
6811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6812 _result
= new wxString (wxJoystick_GetProductName(_arg0
));
6814 wxPyEndAllowThreads(__tstate
);
6815 if (PyErr_Occurred()) return NULL
;
6818 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
6820 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
6829 #define wxJoystick_GetXMin(_swigobj) (_swigobj->GetXMin())
6830 static PyObject
*_wrap_wxJoystick_GetXMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6831 PyObject
* _resultobj
;
6834 PyObject
* _argo0
= 0;
6835 char *_kwnames
[] = { "self", NULL
};
6838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetXMin",_kwnames
,&_argo0
))
6841 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6842 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6843 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetXMin. Expected _wxJoystick_p.");
6848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6849 _result
= (int )wxJoystick_GetXMin(_arg0
);
6851 wxPyEndAllowThreads(__tstate
);
6852 if (PyErr_Occurred()) return NULL
;
6853 } _resultobj
= Py_BuildValue("i",_result
);
6857 #define wxJoystick_GetYMin(_swigobj) (_swigobj->GetYMin())
6858 static PyObject
*_wrap_wxJoystick_GetYMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6859 PyObject
* _resultobj
;
6862 PyObject
* _argo0
= 0;
6863 char *_kwnames
[] = { "self", NULL
};
6866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetYMin",_kwnames
,&_argo0
))
6869 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6870 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6871 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetYMin. Expected _wxJoystick_p.");
6876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6877 _result
= (int )wxJoystick_GetYMin(_arg0
);
6879 wxPyEndAllowThreads(__tstate
);
6880 if (PyErr_Occurred()) return NULL
;
6881 } _resultobj
= Py_BuildValue("i",_result
);
6885 #define wxJoystick_GetZMin(_swigobj) (_swigobj->GetZMin())
6886 static PyObject
*_wrap_wxJoystick_GetZMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6887 PyObject
* _resultobj
;
6890 PyObject
* _argo0
= 0;
6891 char *_kwnames
[] = { "self", NULL
};
6894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetZMin",_kwnames
,&_argo0
))
6897 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6898 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6899 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetZMin. Expected _wxJoystick_p.");
6904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6905 _result
= (int )wxJoystick_GetZMin(_arg0
);
6907 wxPyEndAllowThreads(__tstate
);
6908 if (PyErr_Occurred()) return NULL
;
6909 } _resultobj
= Py_BuildValue("i",_result
);
6913 #define wxJoystick_GetXMax(_swigobj) (_swigobj->GetXMax())
6914 static PyObject
*_wrap_wxJoystick_GetXMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6915 PyObject
* _resultobj
;
6918 PyObject
* _argo0
= 0;
6919 char *_kwnames
[] = { "self", NULL
};
6922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetXMax",_kwnames
,&_argo0
))
6925 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6926 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6927 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetXMax. Expected _wxJoystick_p.");
6932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6933 _result
= (int )wxJoystick_GetXMax(_arg0
);
6935 wxPyEndAllowThreads(__tstate
);
6936 if (PyErr_Occurred()) return NULL
;
6937 } _resultobj
= Py_BuildValue("i",_result
);
6941 #define wxJoystick_GetYMax(_swigobj) (_swigobj->GetYMax())
6942 static PyObject
*_wrap_wxJoystick_GetYMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6943 PyObject
* _resultobj
;
6946 PyObject
* _argo0
= 0;
6947 char *_kwnames
[] = { "self", NULL
};
6950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetYMax",_kwnames
,&_argo0
))
6953 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6954 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6955 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetYMax. Expected _wxJoystick_p.");
6960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6961 _result
= (int )wxJoystick_GetYMax(_arg0
);
6963 wxPyEndAllowThreads(__tstate
);
6964 if (PyErr_Occurred()) return NULL
;
6965 } _resultobj
= Py_BuildValue("i",_result
);
6969 #define wxJoystick_GetZMax(_swigobj) (_swigobj->GetZMax())
6970 static PyObject
*_wrap_wxJoystick_GetZMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6971 PyObject
* _resultobj
;
6974 PyObject
* _argo0
= 0;
6975 char *_kwnames
[] = { "self", NULL
};
6978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetZMax",_kwnames
,&_argo0
))
6981 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6982 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6983 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetZMax. Expected _wxJoystick_p.");
6988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6989 _result
= (int )wxJoystick_GetZMax(_arg0
);
6991 wxPyEndAllowThreads(__tstate
);
6992 if (PyErr_Occurred()) return NULL
;
6993 } _resultobj
= Py_BuildValue("i",_result
);
6997 #define wxJoystick_GetNumberButtons(_swigobj) (_swigobj->GetNumberButtons())
6998 static PyObject
*_wrap_wxJoystick_GetNumberButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6999 PyObject
* _resultobj
;
7002 PyObject
* _argo0
= 0;
7003 char *_kwnames
[] = { "self", NULL
};
7006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetNumberButtons",_kwnames
,&_argo0
))
7009 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7010 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7011 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetNumberButtons. Expected _wxJoystick_p.");
7016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7017 _result
= (int )wxJoystick_GetNumberButtons(_arg0
);
7019 wxPyEndAllowThreads(__tstate
);
7020 if (PyErr_Occurred()) return NULL
;
7021 } _resultobj
= Py_BuildValue("i",_result
);
7025 #define wxJoystick_GetNumberAxes(_swigobj) (_swigobj->GetNumberAxes())
7026 static PyObject
*_wrap_wxJoystick_GetNumberAxes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7027 PyObject
* _resultobj
;
7030 PyObject
* _argo0
= 0;
7031 char *_kwnames
[] = { "self", NULL
};
7034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetNumberAxes",_kwnames
,&_argo0
))
7037 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7038 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7039 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetNumberAxes. Expected _wxJoystick_p.");
7044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7045 _result
= (int )wxJoystick_GetNumberAxes(_arg0
);
7047 wxPyEndAllowThreads(__tstate
);
7048 if (PyErr_Occurred()) return NULL
;
7049 } _resultobj
= Py_BuildValue("i",_result
);
7053 #define wxJoystick_GetMaxButtons(_swigobj) (_swigobj->GetMaxButtons())
7054 static PyObject
*_wrap_wxJoystick_GetMaxButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7055 PyObject
* _resultobj
;
7058 PyObject
* _argo0
= 0;
7059 char *_kwnames
[] = { "self", NULL
};
7062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetMaxButtons",_kwnames
,&_argo0
))
7065 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7066 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7067 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetMaxButtons. Expected _wxJoystick_p.");
7072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7073 _result
= (int )wxJoystick_GetMaxButtons(_arg0
);
7075 wxPyEndAllowThreads(__tstate
);
7076 if (PyErr_Occurred()) return NULL
;
7077 } _resultobj
= Py_BuildValue("i",_result
);
7081 #define wxJoystick_GetMaxAxes(_swigobj) (_swigobj->GetMaxAxes())
7082 static PyObject
*_wrap_wxJoystick_GetMaxAxes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7083 PyObject
* _resultobj
;
7086 PyObject
* _argo0
= 0;
7087 char *_kwnames
[] = { "self", NULL
};
7090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetMaxAxes",_kwnames
,&_argo0
))
7093 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7094 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7095 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetMaxAxes. Expected _wxJoystick_p.");
7100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7101 _result
= (int )wxJoystick_GetMaxAxes(_arg0
);
7103 wxPyEndAllowThreads(__tstate
);
7104 if (PyErr_Occurred()) return NULL
;
7105 } _resultobj
= Py_BuildValue("i",_result
);
7109 #define wxJoystick_GetPollingMin(_swigobj) (_swigobj->GetPollingMin())
7110 static PyObject
*_wrap_wxJoystick_GetPollingMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7111 PyObject
* _resultobj
;
7114 PyObject
* _argo0
= 0;
7115 char *_kwnames
[] = { "self", NULL
};
7118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPollingMin",_kwnames
,&_argo0
))
7121 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7122 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7123 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPollingMin. Expected _wxJoystick_p.");
7128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7129 _result
= (int )wxJoystick_GetPollingMin(_arg0
);
7131 wxPyEndAllowThreads(__tstate
);
7132 if (PyErr_Occurred()) return NULL
;
7133 } _resultobj
= Py_BuildValue("i",_result
);
7137 #define wxJoystick_GetPollingMax(_swigobj) (_swigobj->GetPollingMax())
7138 static PyObject
*_wrap_wxJoystick_GetPollingMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7139 PyObject
* _resultobj
;
7142 PyObject
* _argo0
= 0;
7143 char *_kwnames
[] = { "self", NULL
};
7146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPollingMax",_kwnames
,&_argo0
))
7149 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7150 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7151 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPollingMax. Expected _wxJoystick_p.");
7156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7157 _result
= (int )wxJoystick_GetPollingMax(_arg0
);
7159 wxPyEndAllowThreads(__tstate
);
7160 if (PyErr_Occurred()) return NULL
;
7161 } _resultobj
= Py_BuildValue("i",_result
);
7165 #define wxJoystick_GetRudderMin(_swigobj) (_swigobj->GetRudderMin())
7166 static PyObject
*_wrap_wxJoystick_GetRudderMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7167 PyObject
* _resultobj
;
7170 PyObject
* _argo0
= 0;
7171 char *_kwnames
[] = { "self", NULL
};
7174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetRudderMin",_kwnames
,&_argo0
))
7177 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7178 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7179 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetRudderMin. Expected _wxJoystick_p.");
7184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7185 _result
= (int )wxJoystick_GetRudderMin(_arg0
);
7187 wxPyEndAllowThreads(__tstate
);
7188 if (PyErr_Occurred()) return NULL
;
7189 } _resultobj
= Py_BuildValue("i",_result
);
7193 #define wxJoystick_GetRudderMax(_swigobj) (_swigobj->GetRudderMax())
7194 static PyObject
*_wrap_wxJoystick_GetRudderMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7195 PyObject
* _resultobj
;
7198 PyObject
* _argo0
= 0;
7199 char *_kwnames
[] = { "self", NULL
};
7202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetRudderMax",_kwnames
,&_argo0
))
7205 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7206 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7207 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetRudderMax. Expected _wxJoystick_p.");
7212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7213 _result
= (int )wxJoystick_GetRudderMax(_arg0
);
7215 wxPyEndAllowThreads(__tstate
);
7216 if (PyErr_Occurred()) return NULL
;
7217 } _resultobj
= Py_BuildValue("i",_result
);
7221 #define wxJoystick_GetUMin(_swigobj) (_swigobj->GetUMin())
7222 static PyObject
*_wrap_wxJoystick_GetUMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7223 PyObject
* _resultobj
;
7226 PyObject
* _argo0
= 0;
7227 char *_kwnames
[] = { "self", NULL
};
7230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetUMin",_kwnames
,&_argo0
))
7233 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7234 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7235 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetUMin. Expected _wxJoystick_p.");
7240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7241 _result
= (int )wxJoystick_GetUMin(_arg0
);
7243 wxPyEndAllowThreads(__tstate
);
7244 if (PyErr_Occurred()) return NULL
;
7245 } _resultobj
= Py_BuildValue("i",_result
);
7249 #define wxJoystick_GetUMax(_swigobj) (_swigobj->GetUMax())
7250 static PyObject
*_wrap_wxJoystick_GetUMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7251 PyObject
* _resultobj
;
7254 PyObject
* _argo0
= 0;
7255 char *_kwnames
[] = { "self", NULL
};
7258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetUMax",_kwnames
,&_argo0
))
7261 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7262 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7263 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetUMax. Expected _wxJoystick_p.");
7268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7269 _result
= (int )wxJoystick_GetUMax(_arg0
);
7271 wxPyEndAllowThreads(__tstate
);
7272 if (PyErr_Occurred()) return NULL
;
7273 } _resultobj
= Py_BuildValue("i",_result
);
7277 #define wxJoystick_GetVMin(_swigobj) (_swigobj->GetVMin())
7278 static PyObject
*_wrap_wxJoystick_GetVMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7279 PyObject
* _resultobj
;
7282 PyObject
* _argo0
= 0;
7283 char *_kwnames
[] = { "self", NULL
};
7286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetVMin",_kwnames
,&_argo0
))
7289 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7290 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7291 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetVMin. Expected _wxJoystick_p.");
7296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7297 _result
= (int )wxJoystick_GetVMin(_arg0
);
7299 wxPyEndAllowThreads(__tstate
);
7300 if (PyErr_Occurred()) return NULL
;
7301 } _resultobj
= Py_BuildValue("i",_result
);
7305 #define wxJoystick_GetVMax(_swigobj) (_swigobj->GetVMax())
7306 static PyObject
*_wrap_wxJoystick_GetVMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7307 PyObject
* _resultobj
;
7310 PyObject
* _argo0
= 0;
7311 char *_kwnames
[] = { "self", NULL
};
7314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetVMax",_kwnames
,&_argo0
))
7317 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7318 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7319 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetVMax. Expected _wxJoystick_p.");
7324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7325 _result
= (int )wxJoystick_GetVMax(_arg0
);
7327 wxPyEndAllowThreads(__tstate
);
7328 if (PyErr_Occurred()) return NULL
;
7329 } _resultobj
= Py_BuildValue("i",_result
);
7333 #define wxJoystick_HasRudder(_swigobj) (_swigobj->HasRudder())
7334 static PyObject
*_wrap_wxJoystick_HasRudder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7335 PyObject
* _resultobj
;
7338 PyObject
* _argo0
= 0;
7339 char *_kwnames
[] = { "self", NULL
};
7342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasRudder",_kwnames
,&_argo0
))
7345 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7346 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7347 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasRudder. Expected _wxJoystick_p.");
7352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7353 _result
= (bool )wxJoystick_HasRudder(_arg0
);
7355 wxPyEndAllowThreads(__tstate
);
7356 if (PyErr_Occurred()) return NULL
;
7357 } _resultobj
= Py_BuildValue("i",_result
);
7361 #define wxJoystick_HasZ(_swigobj) (_swigobj->HasZ())
7362 static PyObject
*_wrap_wxJoystick_HasZ(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7363 PyObject
* _resultobj
;
7366 PyObject
* _argo0
= 0;
7367 char *_kwnames
[] = { "self", NULL
};
7370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasZ",_kwnames
,&_argo0
))
7373 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7374 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7375 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasZ. Expected _wxJoystick_p.");
7380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7381 _result
= (bool )wxJoystick_HasZ(_arg0
);
7383 wxPyEndAllowThreads(__tstate
);
7384 if (PyErr_Occurred()) return NULL
;
7385 } _resultobj
= Py_BuildValue("i",_result
);
7389 #define wxJoystick_HasU(_swigobj) (_swigobj->HasU())
7390 static PyObject
*_wrap_wxJoystick_HasU(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7391 PyObject
* _resultobj
;
7394 PyObject
* _argo0
= 0;
7395 char *_kwnames
[] = { "self", NULL
};
7398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasU",_kwnames
,&_argo0
))
7401 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7402 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7403 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasU. Expected _wxJoystick_p.");
7408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7409 _result
= (bool )wxJoystick_HasU(_arg0
);
7411 wxPyEndAllowThreads(__tstate
);
7412 if (PyErr_Occurred()) return NULL
;
7413 } _resultobj
= Py_BuildValue("i",_result
);
7417 #define wxJoystick_HasV(_swigobj) (_swigobj->HasV())
7418 static PyObject
*_wrap_wxJoystick_HasV(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7419 PyObject
* _resultobj
;
7422 PyObject
* _argo0
= 0;
7423 char *_kwnames
[] = { "self", NULL
};
7426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasV",_kwnames
,&_argo0
))
7429 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7430 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7431 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasV. Expected _wxJoystick_p.");
7436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7437 _result
= (bool )wxJoystick_HasV(_arg0
);
7439 wxPyEndAllowThreads(__tstate
);
7440 if (PyErr_Occurred()) return NULL
;
7441 } _resultobj
= Py_BuildValue("i",_result
);
7445 #define wxJoystick_HasPOV(_swigobj) (_swigobj->HasPOV())
7446 static PyObject
*_wrap_wxJoystick_HasPOV(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7447 PyObject
* _resultobj
;
7450 PyObject
* _argo0
= 0;
7451 char *_kwnames
[] = { "self", NULL
};
7454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasPOV",_kwnames
,&_argo0
))
7457 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7458 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7459 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasPOV. Expected _wxJoystick_p.");
7464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7465 _result
= (bool )wxJoystick_HasPOV(_arg0
);
7467 wxPyEndAllowThreads(__tstate
);
7468 if (PyErr_Occurred()) return NULL
;
7469 } _resultobj
= Py_BuildValue("i",_result
);
7473 #define wxJoystick_HasPOV4Dir(_swigobj) (_swigobj->HasPOV4Dir())
7474 static PyObject
*_wrap_wxJoystick_HasPOV4Dir(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7475 PyObject
* _resultobj
;
7478 PyObject
* _argo0
= 0;
7479 char *_kwnames
[] = { "self", NULL
};
7482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasPOV4Dir",_kwnames
,&_argo0
))
7485 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7486 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7487 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasPOV4Dir. Expected _wxJoystick_p.");
7492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7493 _result
= (bool )wxJoystick_HasPOV4Dir(_arg0
);
7495 wxPyEndAllowThreads(__tstate
);
7496 if (PyErr_Occurred()) return NULL
;
7497 } _resultobj
= Py_BuildValue("i",_result
);
7501 #define wxJoystick_HasPOVCTS(_swigobj) (_swigobj->HasPOVCTS())
7502 static PyObject
*_wrap_wxJoystick_HasPOVCTS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7503 PyObject
* _resultobj
;
7506 PyObject
* _argo0
= 0;
7507 char *_kwnames
[] = { "self", NULL
};
7510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasPOVCTS",_kwnames
,&_argo0
))
7513 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7514 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7515 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasPOVCTS. Expected _wxJoystick_p.");
7520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7521 _result
= (bool )wxJoystick_HasPOVCTS(_arg0
);
7523 wxPyEndAllowThreads(__tstate
);
7524 if (PyErr_Occurred()) return NULL
;
7525 } _resultobj
= Py_BuildValue("i",_result
);
7529 #define wxJoystick_SetCapture(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetCapture(_swigarg0,_swigarg1))
7530 static PyObject
*_wrap_wxJoystick_SetCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7531 PyObject
* _resultobj
;
7535 int _arg2
= (int ) 0;
7536 PyObject
* _argo0
= 0;
7537 PyObject
* _argo1
= 0;
7538 char *_kwnames
[] = { "self","win","pollingFreq", NULL
};
7541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxJoystick_SetCapture",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
7544 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7545 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7546 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_SetCapture. Expected _wxJoystick_p.");
7551 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7552 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
7553 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxJoystick_SetCapture. Expected _wxWindow_p.");
7558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7559 _result
= (bool )wxJoystick_SetCapture(_arg0
,_arg1
,_arg2
);
7561 wxPyEndAllowThreads(__tstate
);
7562 if (PyErr_Occurred()) return NULL
;
7563 } _resultobj
= Py_BuildValue("i",_result
);
7567 #define wxJoystick_ReleaseCapture(_swigobj) (_swigobj->ReleaseCapture())
7568 static PyObject
*_wrap_wxJoystick_ReleaseCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7569 PyObject
* _resultobj
;
7572 PyObject
* _argo0
= 0;
7573 char *_kwnames
[] = { "self", NULL
};
7576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_ReleaseCapture",_kwnames
,&_argo0
))
7579 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7580 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7581 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_ReleaseCapture. Expected _wxJoystick_p.");
7586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7587 _result
= (bool )wxJoystick_ReleaseCapture(_arg0
);
7589 wxPyEndAllowThreads(__tstate
);
7590 if (PyErr_Occurred()) return NULL
;
7591 } _resultobj
= Py_BuildValue("i",_result
);
7595 static void *SwigwxWaveTowxObject(void *ptr
) {
7598 src
= (wxWave
*) ptr
;
7599 dest
= (wxObject
*) src
;
7600 return (void *) dest
;
7603 #define new_wxWave(_swigarg0,_swigarg1) (new wxWave(_swigarg0,_swigarg1))
7604 static PyObject
*_wrap_new_wxWave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7605 PyObject
* _resultobj
;
7608 bool _arg1
= (bool ) FALSE
;
7609 PyObject
* _obj0
= 0;
7610 int tempbool1
= (int) FALSE
;
7611 char *_kwnames
[] = { "fileName","isResource", NULL
};
7615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:new_wxWave",_kwnames
,&_obj0
,&tempbool1
))
7618 _arg0
= wxString_in_helper(_obj0
);
7622 _arg1
= (bool ) tempbool1
;
7624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7625 _result
= (wxWave
*)new_wxWave(*_arg0
,_arg1
);
7627 wxPyEndAllowThreads(__tstate
);
7628 if (PyErr_Occurred()) return NULL
;
7630 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWave_p");
7631 _resultobj
= Py_BuildValue("s",_ptemp
);
7634 _resultobj
= Py_None
;
7643 #define delete_wxWave(_swigobj) (delete _swigobj)
7644 static PyObject
*_wrap_delete_wxWave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7645 PyObject
* _resultobj
;
7647 PyObject
* _argo0
= 0;
7648 char *_kwnames
[] = { "self", NULL
};
7651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxWave",_kwnames
,&_argo0
))
7654 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7655 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWave_p")) {
7656 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxWave. Expected _wxWave_p.");
7661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7662 delete_wxWave(_arg0
);
7664 wxPyEndAllowThreads(__tstate
);
7665 if (PyErr_Occurred()) return NULL
;
7666 } Py_INCREF(Py_None
);
7667 _resultobj
= Py_None
;
7671 #define wxWave_IsOk(_swigobj) (_swigobj->IsOk())
7672 static PyObject
*_wrap_wxWave_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7673 PyObject
* _resultobj
;
7676 PyObject
* _argo0
= 0;
7677 char *_kwnames
[] = { "self", NULL
};
7680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWave_IsOk",_kwnames
,&_argo0
))
7683 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7684 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWave_p")) {
7685 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWave_IsOk. Expected _wxWave_p.");
7690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7691 _result
= (bool )wxWave_IsOk(_arg0
);
7693 wxPyEndAllowThreads(__tstate
);
7694 if (PyErr_Occurred()) return NULL
;
7695 } _resultobj
= Py_BuildValue("i",_result
);
7699 #define wxWave_Play(_swigobj,_swigarg0,_swigarg1) (_swigobj->Play(_swigarg0,_swigarg1))
7700 static PyObject
*_wrap_wxWave_Play(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7701 PyObject
* _resultobj
;
7704 bool _arg1
= (bool ) TRUE
;
7705 bool _arg2
= (bool ) FALSE
;
7706 PyObject
* _argo0
= 0;
7707 int tempbool1
= (int) TRUE
;
7708 int tempbool2
= (int) FALSE
;
7709 char *_kwnames
[] = { "self","async","looped", NULL
};
7712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxWave_Play",_kwnames
,&_argo0
,&tempbool1
,&tempbool2
))
7715 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7716 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWave_p")) {
7717 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWave_Play. Expected _wxWave_p.");
7721 _arg1
= (bool ) tempbool1
;
7722 _arg2
= (bool ) tempbool2
;
7724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7725 _result
= (bool )wxWave_Play(_arg0
,_arg1
,_arg2
);
7727 wxPyEndAllowThreads(__tstate
);
7728 if (PyErr_Occurred()) return NULL
;
7729 } _resultobj
= Py_BuildValue("i",_result
);
7733 #define new_wxFileTypeInfo(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxFileTypeInfo(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7734 static PyObject
*_wrap_new_wxFileTypeInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7735 PyObject
* _resultobj
;
7736 wxFileTypeInfo
* _result
;
7741 char *_kwnames
[] = { "mimeType","openCmd","printCmd","desc", NULL
};
7745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"ssss:new_wxFileTypeInfo",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
))
7748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7749 _result
= (wxFileTypeInfo
*)new_wxFileTypeInfo(_arg0
,_arg1
,_arg2
,_arg3
);
7751 wxPyEndAllowThreads(__tstate
);
7752 if (PyErr_Occurred()) return NULL
;
7754 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileTypeInfo_p");
7755 _resultobj
= Py_BuildValue("s",_ptemp
);
7758 _resultobj
= Py_None
;
7763 #define new_wxFileTypeInfoSequence(_swigarg0) (new wxFileTypeInfo(_swigarg0))
7764 static PyObject
*_wrap_new_wxFileTypeInfoSequence(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7765 PyObject
* _resultobj
;
7766 wxFileTypeInfo
* _result
;
7767 wxArrayString
* _arg0
;
7768 PyObject
* _obj0
= 0;
7769 char *_kwnames
[] = { "sArray", NULL
};
7773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxFileTypeInfoSequence",_kwnames
,&_obj0
))
7776 if (! PySequence_Check(_obj0
)) {
7777 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
7780 _arg0
= new wxArrayString
;
7781 int i
, len
=PySequence_Length(_obj0
);
7782 for (i
=0; i
<len
; i
++) {
7783 PyObject
* item
= PySequence_GetItem(_obj0
, i
);
7785 PyObject
* str
= PyObject_Unicode(item
);
7786 _arg0
->Add(PyUnicode_AsUnicode(str
));
7788 PyObject
* str
= PyObject_Str(item
);
7789 _arg0
->Add(PyString_AsString(str
));
7796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7797 _result
= (wxFileTypeInfo
*)new_wxFileTypeInfoSequence(*_arg0
);
7799 wxPyEndAllowThreads(__tstate
);
7800 if (PyErr_Occurred()) return NULL
;
7802 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileTypeInfo_p");
7803 _resultobj
= Py_BuildValue("s",_ptemp
);
7806 _resultobj
= Py_None
;
7815 #define new_wxNullFileTypeInfo() (new wxFileTypeInfo())
7816 static PyObject
*_wrap_new_wxNullFileTypeInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7817 PyObject
* _resultobj
;
7818 wxFileTypeInfo
* _result
;
7819 char *_kwnames
[] = { NULL
};
7823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxNullFileTypeInfo",_kwnames
))
7826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7827 _result
= (wxFileTypeInfo
*)new_wxNullFileTypeInfo();
7829 wxPyEndAllowThreads(__tstate
);
7830 if (PyErr_Occurred()) return NULL
;
7832 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileTypeInfo_p");
7833 _resultobj
= Py_BuildValue("s",_ptemp
);
7836 _resultobj
= Py_None
;
7841 #define wxFileTypeInfo_IsValid(_swigobj) (_swigobj->IsValid())
7842 static PyObject
*_wrap_wxFileTypeInfo_IsValid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7843 PyObject
* _resultobj
;
7845 wxFileTypeInfo
* _arg0
;
7846 PyObject
* _argo0
= 0;
7847 char *_kwnames
[] = { "self", NULL
};
7850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_IsValid",_kwnames
,&_argo0
))
7853 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7854 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
7855 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_IsValid. Expected _wxFileTypeInfo_p.");
7860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7861 _result
= (bool )wxFileTypeInfo_IsValid(_arg0
);
7863 wxPyEndAllowThreads(__tstate
);
7864 if (PyErr_Occurred()) return NULL
;
7865 } _resultobj
= Py_BuildValue("i",_result
);
7869 #define wxFileTypeInfo_SetIcon(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetIcon(_swigarg0,_swigarg1))
7870 static PyObject
*_wrap_wxFileTypeInfo_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7871 PyObject
* _resultobj
;
7872 wxFileTypeInfo
* _arg0
;
7874 int _arg2
= (int ) 0;
7875 PyObject
* _argo0
= 0;
7876 PyObject
* _obj1
= 0;
7877 char *_kwnames
[] = { "self","iconFile","iconIndex", NULL
};
7880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxFileTypeInfo_SetIcon",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
7883 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7884 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
7885 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_SetIcon. Expected _wxFileTypeInfo_p.");
7890 _arg1
= wxString_in_helper(_obj1
);
7895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7896 wxFileTypeInfo_SetIcon(_arg0
,*_arg1
,_arg2
);
7898 wxPyEndAllowThreads(__tstate
);
7899 if (PyErr_Occurred()) return NULL
;
7900 } Py_INCREF(Py_None
);
7901 _resultobj
= Py_None
;
7909 #define wxFileTypeInfo_SetShortDesc(_swigobj,_swigarg0) (_swigobj->SetShortDesc(_swigarg0))
7910 static PyObject
*_wrap_wxFileTypeInfo_SetShortDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7911 PyObject
* _resultobj
;
7912 wxFileTypeInfo
* _arg0
;
7914 PyObject
* _argo0
= 0;
7915 PyObject
* _obj1
= 0;
7916 char *_kwnames
[] = { "self","shortDesc", NULL
};
7919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileTypeInfo_SetShortDesc",_kwnames
,&_argo0
,&_obj1
))
7922 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7923 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
7924 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_SetShortDesc. Expected _wxFileTypeInfo_p.");
7929 _arg1
= wxString_in_helper(_obj1
);
7934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7935 wxFileTypeInfo_SetShortDesc(_arg0
,*_arg1
);
7937 wxPyEndAllowThreads(__tstate
);
7938 if (PyErr_Occurred()) return NULL
;
7939 } Py_INCREF(Py_None
);
7940 _resultobj
= Py_None
;
7948 #define wxFileTypeInfo_GetMimeType(_swigobj) (_swigobj->GetMimeType())
7949 static PyObject
*_wrap_wxFileTypeInfo_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7950 PyObject
* _resultobj
;
7952 wxFileTypeInfo
* _arg0
;
7953 PyObject
* _argo0
= 0;
7954 char *_kwnames
[] = { "self", NULL
};
7957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetMimeType",_kwnames
,&_argo0
))
7960 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7961 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
7962 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetMimeType. Expected _wxFileTypeInfo_p.");
7967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7968 const wxString
& _result_ref
= wxFileTypeInfo_GetMimeType(_arg0
);
7969 _result
= (wxString
*) &_result_ref
;
7971 wxPyEndAllowThreads(__tstate
);
7972 if (PyErr_Occurred()) return NULL
;
7975 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
7977 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
7983 #define wxFileTypeInfo_GetOpenCommand(_swigobj) (_swigobj->GetOpenCommand())
7984 static PyObject
*_wrap_wxFileTypeInfo_GetOpenCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7985 PyObject
* _resultobj
;
7987 wxFileTypeInfo
* _arg0
;
7988 PyObject
* _argo0
= 0;
7989 char *_kwnames
[] = { "self", NULL
};
7992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetOpenCommand",_kwnames
,&_argo0
))
7995 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7996 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
7997 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetOpenCommand. Expected _wxFileTypeInfo_p.");
8002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8003 const wxString
& _result_ref
= wxFileTypeInfo_GetOpenCommand(_arg0
);
8004 _result
= (wxString
*) &_result_ref
;
8006 wxPyEndAllowThreads(__tstate
);
8007 if (PyErr_Occurred()) return NULL
;
8010 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
8012 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8018 #define wxFileTypeInfo_GetPrintCommand(_swigobj) (_swigobj->GetPrintCommand())
8019 static PyObject
*_wrap_wxFileTypeInfo_GetPrintCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8020 PyObject
* _resultobj
;
8022 wxFileTypeInfo
* _arg0
;
8023 PyObject
* _argo0
= 0;
8024 char *_kwnames
[] = { "self", NULL
};
8027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetPrintCommand",_kwnames
,&_argo0
))
8030 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8031 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8032 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetPrintCommand. Expected _wxFileTypeInfo_p.");
8037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8038 const wxString
& _result_ref
= wxFileTypeInfo_GetPrintCommand(_arg0
);
8039 _result
= (wxString
*) &_result_ref
;
8041 wxPyEndAllowThreads(__tstate
);
8042 if (PyErr_Occurred()) return NULL
;
8045 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
8047 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8053 #define wxFileTypeInfo_GetShortDesc(_swigobj) (_swigobj->GetShortDesc())
8054 static PyObject
*_wrap_wxFileTypeInfo_GetShortDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8055 PyObject
* _resultobj
;
8057 wxFileTypeInfo
* _arg0
;
8058 PyObject
* _argo0
= 0;
8059 char *_kwnames
[] = { "self", NULL
};
8062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetShortDesc",_kwnames
,&_argo0
))
8065 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8066 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8067 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetShortDesc. Expected _wxFileTypeInfo_p.");
8072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8073 const wxString
& _result_ref
= wxFileTypeInfo_GetShortDesc(_arg0
);
8074 _result
= (wxString
*) &_result_ref
;
8076 wxPyEndAllowThreads(__tstate
);
8077 if (PyErr_Occurred()) return NULL
;
8080 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
8082 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8088 #define wxFileTypeInfo_GetDescription(_swigobj) (_swigobj->GetDescription())
8089 static PyObject
*_wrap_wxFileTypeInfo_GetDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8090 PyObject
* _resultobj
;
8092 wxFileTypeInfo
* _arg0
;
8093 PyObject
* _argo0
= 0;
8094 char *_kwnames
[] = { "self", NULL
};
8097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetDescription",_kwnames
,&_argo0
))
8100 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8101 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8102 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetDescription. Expected _wxFileTypeInfo_p.");
8107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8108 const wxString
& _result_ref
= wxFileTypeInfo_GetDescription(_arg0
);
8109 _result
= (wxString
*) &_result_ref
;
8111 wxPyEndAllowThreads(__tstate
);
8112 if (PyErr_Occurred()) return NULL
;
8115 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
8117 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8123 static PyObject
* wxFileTypeInfo_GetExtensions(wxFileTypeInfo
*self
) {
8124 wxArrayString
& arr
= (wxArrayString
&)self
->GetExtensions();
8125 return wxArrayString2PyList_helper(arr
);
8127 static PyObject
*_wrap_wxFileTypeInfo_GetExtensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8128 PyObject
* _resultobj
;
8130 wxFileTypeInfo
* _arg0
;
8131 PyObject
* _argo0
= 0;
8132 char *_kwnames
[] = { "self", NULL
};
8135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetExtensions",_kwnames
,&_argo0
))
8138 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8139 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8140 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetExtensions. Expected _wxFileTypeInfo_p.");
8145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8146 _result
= (PyObject
*)wxFileTypeInfo_GetExtensions(_arg0
);
8148 wxPyEndAllowThreads(__tstate
);
8149 if (PyErr_Occurred()) return NULL
;
8151 _resultobj
= _result
;
8156 #define wxFileTypeInfo_GetExtensionsCount(_swigobj) (_swigobj->GetExtensionsCount())
8157 static PyObject
*_wrap_wxFileTypeInfo_GetExtensionsCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8158 PyObject
* _resultobj
;
8160 wxFileTypeInfo
* _arg0
;
8161 PyObject
* _argo0
= 0;
8162 char *_kwnames
[] = { "self", NULL
};
8165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetExtensionsCount",_kwnames
,&_argo0
))
8168 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8169 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8170 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetExtensionsCount. Expected _wxFileTypeInfo_p.");
8175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8176 _result
= (int )wxFileTypeInfo_GetExtensionsCount(_arg0
);
8178 wxPyEndAllowThreads(__tstate
);
8179 if (PyErr_Occurred()) return NULL
;
8180 } _resultobj
= Py_BuildValue("i",_result
);
8184 #define wxFileTypeInfo_GetIconFile(_swigobj) (_swigobj->GetIconFile())
8185 static PyObject
*_wrap_wxFileTypeInfo_GetIconFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8186 PyObject
* _resultobj
;
8188 wxFileTypeInfo
* _arg0
;
8189 PyObject
* _argo0
= 0;
8190 char *_kwnames
[] = { "self", NULL
};
8193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetIconFile",_kwnames
,&_argo0
))
8196 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8197 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8198 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetIconFile. Expected _wxFileTypeInfo_p.");
8203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8204 const wxString
& _result_ref
= wxFileTypeInfo_GetIconFile(_arg0
);
8205 _result
= (wxString
*) &_result_ref
;
8207 wxPyEndAllowThreads(__tstate
);
8208 if (PyErr_Occurred()) return NULL
;
8211 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
8213 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8219 #define wxFileTypeInfo_GetIconIndex(_swigobj) (_swigobj->GetIconIndex())
8220 static PyObject
*_wrap_wxFileTypeInfo_GetIconIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8221 PyObject
* _resultobj
;
8223 wxFileTypeInfo
* _arg0
;
8224 PyObject
* _argo0
= 0;
8225 char *_kwnames
[] = { "self", NULL
};
8228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetIconIndex",_kwnames
,&_argo0
))
8231 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8232 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8233 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetIconIndex. Expected _wxFileTypeInfo_p.");
8238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8239 _result
= (int )wxFileTypeInfo_GetIconIndex(_arg0
);
8241 wxPyEndAllowThreads(__tstate
);
8242 if (PyErr_Occurred()) return NULL
;
8243 } _resultobj
= Py_BuildValue("i",_result
);
8247 #define new_wxFileType(_swigarg0) (new wxFileType(_swigarg0))
8248 static PyObject
*_wrap_new_wxFileType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8249 PyObject
* _resultobj
;
8250 wxFileType
* _result
;
8251 wxFileTypeInfo
* _arg0
;
8252 PyObject
* _argo0
= 0;
8253 char *_kwnames
[] = { "ftInfo", NULL
};
8257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxFileType",_kwnames
,&_argo0
))
8260 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8261 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8262 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxFileType. Expected _wxFileTypeInfo_p.");
8267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8268 _result
= (wxFileType
*)new_wxFileType(*_arg0
);
8270 wxPyEndAllowThreads(__tstate
);
8271 if (PyErr_Occurred()) return NULL
;
8273 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileType_p");
8274 _resultobj
= Py_BuildValue("s",_ptemp
);
8277 _resultobj
= Py_None
;
8282 static PyObject
* wxFileType_GetMimeType(wxFileType
*self
) {
8284 if (self
->GetMimeType(&str
)) {
8286 return PyUnicode_FromUnicode(str
.c_str(), str
.Len());
8288 return PyString_FromStringAndSize(str
.c_str(), str
.Len());
8294 static PyObject
*_wrap_wxFileType_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8295 PyObject
* _resultobj
;
8298 PyObject
* _argo0
= 0;
8299 char *_kwnames
[] = { "self", NULL
};
8302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_GetMimeType",_kwnames
,&_argo0
))
8305 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8306 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8307 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetMimeType. Expected _wxFileType_p.");
8312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8313 _result
= (PyObject
*)wxFileType_GetMimeType(_arg0
);
8315 wxPyEndAllowThreads(__tstate
);
8316 if (PyErr_Occurred()) return NULL
;
8318 _resultobj
= _result
;
8323 static PyObject
* wxFileType_GetMimeTypes(wxFileType
*self
) {
8325 if (self
->GetMimeTypes(arr
))
8326 return wxArrayString2PyList_helper(arr
);
8330 static PyObject
*_wrap_wxFileType_GetMimeTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8331 PyObject
* _resultobj
;
8334 PyObject
* _argo0
= 0;
8335 char *_kwnames
[] = { "self", NULL
};
8338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_GetMimeTypes",_kwnames
,&_argo0
))
8341 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8342 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8343 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetMimeTypes. Expected _wxFileType_p.");
8348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8349 _result
= (PyObject
*)wxFileType_GetMimeTypes(_arg0
);
8351 wxPyEndAllowThreads(__tstate
);
8352 if (PyErr_Occurred()) return NULL
;
8354 _resultobj
= _result
;
8359 static PyObject
* wxFileType_GetExtensions(wxFileType
*self
) {
8361 if (self
->GetExtensions(arr
))
8362 return wxArrayString2PyList_helper(arr
);
8366 static PyObject
*_wrap_wxFileType_GetExtensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8367 PyObject
* _resultobj
;
8370 PyObject
* _argo0
= 0;
8371 char *_kwnames
[] = { "self", NULL
};
8374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_GetExtensions",_kwnames
,&_argo0
))
8377 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8378 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8379 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetExtensions. Expected _wxFileType_p.");
8384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8385 _result
= (PyObject
*)wxFileType_GetExtensions(_arg0
);
8387 wxPyEndAllowThreads(__tstate
);
8388 if (PyErr_Occurred()) return NULL
;
8390 _resultobj
= _result
;
8395 static wxIcon
* wxFileType_GetIcon(wxFileType
*self
) {
8397 if (self
->GetIcon(&icon
))
8398 return new wxIcon(icon
);
8402 static PyObject
*_wrap_wxFileType_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8403 PyObject
* _resultobj
;
8406 PyObject
* _argo0
= 0;
8407 char *_kwnames
[] = { "self", NULL
};
8411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_GetIcon",_kwnames
,&_argo0
))
8414 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8415 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8416 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetIcon. Expected _wxFileType_p.");
8421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8422 _result
= (wxIcon
*)wxFileType_GetIcon(_arg0
);
8424 wxPyEndAllowThreads(__tstate
);
8425 if (PyErr_Occurred()) return NULL
;
8427 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIcon_p");
8428 _resultobj
= Py_BuildValue("s",_ptemp
);
8431 _resultobj
= Py_None
;
8436 static PyObject
* wxFileType_GetIconInfo(wxFileType
*self
) {
8440 if (self
->GetIcon(&icon
, &iconFile
, &iconIndex
)) {
8441 wxPyBeginBlockThreads();
8442 PyObject
* tuple
= PyTuple_New(3);
8443 PyTuple_SetItem(tuple
, 0, wxPyConstructObject(new wxIcon(icon
),
8446 PyTuple_SetItem(tuple
, 1, PyUnicode_FromUnicode(iconFile
.c_str(), iconFile
.Len()));
8448 PyTuple_SetItem(tuple
, 1, PyString_FromStringAndSize(iconFile
.c_str(), iconFile
.Len()));
8450 PyTuple_SetItem(tuple
, 2, PyInt_FromLong(iconIndex
));
8451 wxPyEndBlockThreads();
8457 static PyObject
*_wrap_wxFileType_GetIconInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8458 PyObject
* _resultobj
;
8461 PyObject
* _argo0
= 0;
8462 char *_kwnames
[] = { "self", NULL
};
8465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_GetIconInfo",_kwnames
,&_argo0
))
8468 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8469 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8470 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetIconInfo. Expected _wxFileType_p.");
8475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8476 _result
= (PyObject
*)wxFileType_GetIconInfo(_arg0
);
8478 wxPyEndAllowThreads(__tstate
);
8479 if (PyErr_Occurred()) return NULL
;
8481 _resultobj
= _result
;
8486 static PyObject
* wxFileType_GetDescription(wxFileType
*self
) {
8488 if (self
->GetDescription(&str
)) {
8490 return PyUnicode_FromUnicode(str
.c_str(), str
.Len());
8492 return PyString_FromStringAndSize(str
.c_str(), str
.Len());
8497 static PyObject
*_wrap_wxFileType_GetDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8498 PyObject
* _resultobj
;
8501 PyObject
* _argo0
= 0;
8502 char *_kwnames
[] = { "self", NULL
};
8505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_GetDescription",_kwnames
,&_argo0
))
8508 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8509 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8510 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetDescription. Expected _wxFileType_p.");
8515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8516 _result
= (PyObject
*)wxFileType_GetDescription(_arg0
);
8518 wxPyEndAllowThreads(__tstate
);
8519 if (PyErr_Occurred()) return NULL
;
8521 _resultobj
= _result
;
8526 static PyObject
* wxFileType_GetOpenCommand(wxFileType
*self
,const wxString
& filename
,const wxString
& mimetype
) {
8528 if (self
->GetOpenCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
))) {
8530 return PyUnicode_FromUnicode(str
.c_str(), str
.Len());
8532 return PyString_FromStringAndSize(str
.c_str(), str
.Len());
8537 static PyObject
*_wrap_wxFileType_GetOpenCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8538 PyObject
* _resultobj
;
8542 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
8543 PyObject
* _argo0
= 0;
8544 PyObject
* _obj1
= 0;
8545 PyObject
* _obj2
= 0;
8546 char *_kwnames
[] = { "self","filename","mimetype", NULL
};
8549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxFileType_GetOpenCommand",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
8552 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8553 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8554 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetOpenCommand. Expected _wxFileType_p.");
8559 _arg1
= wxString_in_helper(_obj1
);
8565 _arg2
= wxString_in_helper(_obj2
);
8570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8571 _result
= (PyObject
*)wxFileType_GetOpenCommand(_arg0
,*_arg1
,*_arg2
);
8573 wxPyEndAllowThreads(__tstate
);
8574 if (PyErr_Occurred()) return NULL
;
8576 _resultobj
= _result
;
8589 static PyObject
* wxFileType_GetPrintCommand(wxFileType
*self
,const wxString
& filename
,const wxString
& mimetype
) {
8591 if (self
->GetPrintCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
))) {
8593 return PyUnicode_FromUnicode(str
.c_str(), str
.Len());
8595 return PyString_FromStringAndSize(str
.c_str(), str
.Len());
8600 static PyObject
*_wrap_wxFileType_GetPrintCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8601 PyObject
* _resultobj
;
8605 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
8606 PyObject
* _argo0
= 0;
8607 PyObject
* _obj1
= 0;
8608 PyObject
* _obj2
= 0;
8609 char *_kwnames
[] = { "self","filename","mimetype", NULL
};
8612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxFileType_GetPrintCommand",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
8615 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8616 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8617 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetPrintCommand. Expected _wxFileType_p.");
8622 _arg1
= wxString_in_helper(_obj1
);
8628 _arg2
= wxString_in_helper(_obj2
);
8633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8634 _result
= (PyObject
*)wxFileType_GetPrintCommand(_arg0
,*_arg1
,*_arg2
);
8636 wxPyEndAllowThreads(__tstate
);
8637 if (PyErr_Occurred()) return NULL
;
8639 _resultobj
= _result
;
8652 static PyObject
* wxFileType_GetAllCommands(wxFileType
*self
,const wxString
& filename
,const wxString
& mimetype
) {
8653 wxArrayString verbs
;
8654 wxArrayString commands
;
8655 if (self
->GetAllCommands(&verbs
, &commands
,
8656 wxFileType::MessageParameters(filename
, mimetype
))) {
8657 wxPyBeginBlockThreads();
8658 PyObject
* tuple
= PyTuple_New(2);
8659 PyTuple_SetItem(tuple
, 0, wxArrayString2PyList_helper(verbs
));
8660 PyTuple_SetItem(tuple
, 1, wxArrayString2PyList_helper(commands
));
8661 wxPyEndBlockThreads();
8667 static PyObject
*_wrap_wxFileType_GetAllCommands(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8668 PyObject
* _resultobj
;
8672 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
8673 PyObject
* _argo0
= 0;
8674 PyObject
* _obj1
= 0;
8675 PyObject
* _obj2
= 0;
8676 char *_kwnames
[] = { "self","filename","mimetype", NULL
};
8679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxFileType_GetAllCommands",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
8682 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8683 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8684 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetAllCommands. Expected _wxFileType_p.");
8689 _arg1
= wxString_in_helper(_obj1
);
8695 _arg2
= wxString_in_helper(_obj2
);
8700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8701 _result
= (PyObject
*)wxFileType_GetAllCommands(_arg0
,*_arg1
,*_arg2
);
8703 wxPyEndAllowThreads(__tstate
);
8704 if (PyErr_Occurred()) return NULL
;
8706 _resultobj
= _result
;
8719 #define wxFileType_SetCommand(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCommand(_swigarg0,_swigarg1,_swigarg2))
8720 static PyObject
*_wrap_wxFileType_SetCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8721 PyObject
* _resultobj
;
8726 bool _arg3
= (bool ) TRUE
;
8727 PyObject
* _argo0
= 0;
8728 PyObject
* _obj1
= 0;
8729 PyObject
* _obj2
= 0;
8730 int tempbool3
= (int) TRUE
;
8731 char *_kwnames
[] = { "self","cmd","verb","overwriteprompt", NULL
};
8734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|i:wxFileType_SetCommand",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&tempbool3
))
8737 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8738 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8739 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_SetCommand. Expected _wxFileType_p.");
8744 _arg1
= wxString_in_helper(_obj1
);
8749 _arg2
= wxString_in_helper(_obj2
);
8753 _arg3
= (bool ) tempbool3
;
8755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8756 _result
= (bool )wxFileType_SetCommand(_arg0
,*_arg1
,*_arg2
,_arg3
);
8758 wxPyEndAllowThreads(__tstate
);
8759 if (PyErr_Occurred()) return NULL
;
8760 } _resultobj
= Py_BuildValue("i",_result
);
8772 #define wxFileType_SetDefaultIcon(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDefaultIcon(_swigarg0,_swigarg1))
8773 static PyObject
*_wrap_wxFileType_SetDefaultIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8774 PyObject
* _resultobj
;
8777 wxString
* _arg1
= (wxString
*) &wxPyEmptyString
;
8778 int _arg2
= (int ) 0;
8779 PyObject
* _argo0
= 0;
8780 PyObject
* _obj1
= 0;
8781 char *_kwnames
[] = { "self","cmd","index", NULL
};
8784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|Oi:wxFileType_SetDefaultIcon",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
8787 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8788 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8789 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_SetDefaultIcon. Expected _wxFileType_p.");
8795 _arg1
= wxString_in_helper(_obj1
);
8800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8801 _result
= (bool )wxFileType_SetDefaultIcon(_arg0
,*_arg1
,_arg2
);
8803 wxPyEndAllowThreads(__tstate
);
8804 if (PyErr_Occurred()) return NULL
;
8805 } _resultobj
= Py_BuildValue("i",_result
);
8813 #define wxFileType_Unassociate(_swigobj) (_swigobj->Unassociate())
8814 static PyObject
*_wrap_wxFileType_Unassociate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8815 PyObject
* _resultobj
;
8818 PyObject
* _argo0
= 0;
8819 char *_kwnames
[] = { "self", NULL
};
8822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_Unassociate",_kwnames
,&_argo0
))
8825 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8826 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8827 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_Unassociate. Expected _wxFileType_p.");
8832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8833 _result
= (bool )wxFileType_Unassociate(_arg0
);
8835 wxPyEndAllowThreads(__tstate
);
8836 if (PyErr_Occurred()) return NULL
;
8837 } _resultobj
= Py_BuildValue("i",_result
);
8841 static PyObject
*_wrap_wxFileType_ExpandCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8842 PyObject
* _resultobj
;
8845 wxFileType::MessageParameters
* _arg1
;
8846 PyObject
* _obj0
= 0;
8847 PyObject
* _argo1
= 0;
8848 char *_kwnames
[] = { "command","params", NULL
};
8851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileType_ExpandCommand",_kwnames
,&_obj0
,&_argo1
))
8854 _arg0
= wxString_in_helper(_obj0
);
8859 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8860 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFileType::MessageParameters_p")) {
8861 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFileType_ExpandCommand. Expected _wxFileType::MessageParameters_p.");
8866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8867 _result
= new wxString (wxFileType::ExpandCommand(*_arg0
,*_arg1
));
8869 wxPyEndAllowThreads(__tstate
);
8870 if (PyErr_Occurred()) return NULL
;
8873 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
8875 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8888 #define delete_wxFileType(_swigobj) (delete _swigobj)
8889 static PyObject
*_wrap_delete_wxFileType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8890 PyObject
* _resultobj
;
8892 PyObject
* _argo0
= 0;
8893 char *_kwnames
[] = { "self", NULL
};
8896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxFileType",_kwnames
,&_argo0
))
8899 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8900 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8901 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxFileType. Expected _wxFileType_p.");
8906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8907 delete_wxFileType(_arg0
);
8909 wxPyEndAllowThreads(__tstate
);
8910 if (PyErr_Occurred()) return NULL
;
8911 } Py_INCREF(Py_None
);
8912 _resultobj
= Py_None
;
8916 static PyObject
*_wrap_wxMimeTypesManager_IsOfType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8917 PyObject
* _resultobj
;
8921 PyObject
* _obj0
= 0;
8922 PyObject
* _obj1
= 0;
8923 char *_kwnames
[] = { "mimeType","wildcard", NULL
};
8926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_IsOfType",_kwnames
,&_obj0
,&_obj1
))
8929 _arg0
= wxString_in_helper(_obj0
);
8934 _arg1
= wxString_in_helper(_obj1
);
8939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8940 _result
= (bool )wxMimeTypesManager::IsOfType(*_arg0
,*_arg1
);
8942 wxPyEndAllowThreads(__tstate
);
8943 if (PyErr_Occurred()) return NULL
;
8944 } _resultobj
= Py_BuildValue("i",_result
);
8956 #define new_wxMimeTypesManager() (new wxMimeTypesManager())
8957 static PyObject
*_wrap_new_wxMimeTypesManager(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8958 PyObject
* _resultobj
;
8959 wxMimeTypesManager
* _result
;
8960 char *_kwnames
[] = { NULL
};
8964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxMimeTypesManager",_kwnames
))
8967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8968 _result
= (wxMimeTypesManager
*)new_wxMimeTypesManager();
8970 wxPyEndAllowThreads(__tstate
);
8971 if (PyErr_Occurred()) return NULL
;
8973 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMimeTypesManager_p");
8974 _resultobj
= Py_BuildValue("s",_ptemp
);
8977 _resultobj
= Py_None
;
8982 #define wxMimeTypesManager_Initialize(_swigobj,_swigarg0,_swigarg1) (_swigobj->Initialize(_swigarg0,_swigarg1))
8983 static PyObject
*_wrap_wxMimeTypesManager_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8984 PyObject
* _resultobj
;
8985 wxMimeTypesManager
* _arg0
;
8986 int _arg1
= (int ) (wxMAILCAP_STANDARD
);
8987 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
8988 PyObject
* _argo0
= 0;
8989 PyObject
* _obj2
= 0;
8990 char *_kwnames
[] = { "self","mailcapStyle","extraDir", NULL
};
8993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iO:wxMimeTypesManager_Initialize",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
8996 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8997 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
8998 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_Initialize. Expected _wxMimeTypesManager_p.");
9004 _arg2
= wxString_in_helper(_obj2
);
9009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9010 wxMimeTypesManager_Initialize(_arg0
,_arg1
,*_arg2
);
9012 wxPyEndAllowThreads(__tstate
);
9013 if (PyErr_Occurred()) return NULL
;
9014 } Py_INCREF(Py_None
);
9015 _resultobj
= Py_None
;
9023 #define wxMimeTypesManager_ClearData(_swigobj) (_swigobj->ClearData())
9024 static PyObject
*_wrap_wxMimeTypesManager_ClearData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9025 PyObject
* _resultobj
;
9026 wxMimeTypesManager
* _arg0
;
9027 PyObject
* _argo0
= 0;
9028 char *_kwnames
[] = { "self", NULL
};
9031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMimeTypesManager_ClearData",_kwnames
,&_argo0
))
9034 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9035 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9036 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_ClearData. Expected _wxMimeTypesManager_p.");
9041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9042 wxMimeTypesManager_ClearData(_arg0
);
9044 wxPyEndAllowThreads(__tstate
);
9045 if (PyErr_Occurred()) return NULL
;
9046 } Py_INCREF(Py_None
);
9047 _resultobj
= Py_None
;
9051 #define wxMimeTypesManager_GetFileTypeFromExtension(_swigobj,_swigarg0) (_swigobj->GetFileTypeFromExtension(_swigarg0))
9052 static PyObject
*_wrap_wxMimeTypesManager_GetFileTypeFromExtension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9053 PyObject
* _resultobj
;
9054 wxFileType
* _result
;
9055 wxMimeTypesManager
* _arg0
;
9057 PyObject
* _argo0
= 0;
9058 PyObject
* _obj1
= 0;
9059 char *_kwnames
[] = { "self","ext", NULL
};
9063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_GetFileTypeFromExtension",_kwnames
,&_argo0
,&_obj1
))
9066 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9067 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9068 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_GetFileTypeFromExtension. Expected _wxMimeTypesManager_p.");
9073 _arg1
= wxString_in_helper(_obj1
);
9078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9079 _result
= (wxFileType
*)wxMimeTypesManager_GetFileTypeFromExtension(_arg0
,*_arg1
);
9081 wxPyEndAllowThreads(__tstate
);
9082 if (PyErr_Occurred()) return NULL
;
9084 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileType_p");
9085 _resultobj
= Py_BuildValue("s",_ptemp
);
9088 _resultobj
= Py_None
;
9097 #define wxMimeTypesManager_GetFileTypeFromMimeType(_swigobj,_swigarg0) (_swigobj->GetFileTypeFromMimeType(_swigarg0))
9098 static PyObject
*_wrap_wxMimeTypesManager_GetFileTypeFromMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9099 PyObject
* _resultobj
;
9100 wxFileType
* _result
;
9101 wxMimeTypesManager
* _arg0
;
9103 PyObject
* _argo0
= 0;
9104 PyObject
* _obj1
= 0;
9105 char *_kwnames
[] = { "self","mimeType", NULL
};
9109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_GetFileTypeFromMimeType",_kwnames
,&_argo0
,&_obj1
))
9112 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9113 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9114 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_GetFileTypeFromMimeType. Expected _wxMimeTypesManager_p.");
9119 _arg1
= wxString_in_helper(_obj1
);
9124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9125 _result
= (wxFileType
*)wxMimeTypesManager_GetFileTypeFromMimeType(_arg0
,*_arg1
);
9127 wxPyEndAllowThreads(__tstate
);
9128 if (PyErr_Occurred()) return NULL
;
9130 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileType_p");
9131 _resultobj
= Py_BuildValue("s",_ptemp
);
9134 _resultobj
= Py_None
;
9143 #define wxMimeTypesManager_ReadMailcap(_swigobj,_swigarg0,_swigarg1) (_swigobj->ReadMailcap(_swigarg0,_swigarg1))
9144 static PyObject
*_wrap_wxMimeTypesManager_ReadMailcap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9145 PyObject
* _resultobj
;
9147 wxMimeTypesManager
* _arg0
;
9149 bool _arg2
= (bool ) FALSE
;
9150 PyObject
* _argo0
= 0;
9151 PyObject
* _obj1
= 0;
9152 int tempbool2
= (int) FALSE
;
9153 char *_kwnames
[] = { "self","filename","fallback", NULL
};
9156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxMimeTypesManager_ReadMailcap",_kwnames
,&_argo0
,&_obj1
,&tempbool2
))
9159 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9160 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9161 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_ReadMailcap. Expected _wxMimeTypesManager_p.");
9166 _arg1
= wxString_in_helper(_obj1
);
9170 _arg2
= (bool ) tempbool2
;
9172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9173 _result
= (bool )wxMimeTypesManager_ReadMailcap(_arg0
,*_arg1
,_arg2
);
9175 wxPyEndAllowThreads(__tstate
);
9176 if (PyErr_Occurred()) return NULL
;
9177 } _resultobj
= Py_BuildValue("i",_result
);
9185 #define wxMimeTypesManager_ReadMimeTypes(_swigobj,_swigarg0) (_swigobj->ReadMimeTypes(_swigarg0))
9186 static PyObject
*_wrap_wxMimeTypesManager_ReadMimeTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9187 PyObject
* _resultobj
;
9189 wxMimeTypesManager
* _arg0
;
9191 PyObject
* _argo0
= 0;
9192 PyObject
* _obj1
= 0;
9193 char *_kwnames
[] = { "self","filename", NULL
};
9196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_ReadMimeTypes",_kwnames
,&_argo0
,&_obj1
))
9199 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9200 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9201 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_ReadMimeTypes. Expected _wxMimeTypesManager_p.");
9206 _arg1
= wxString_in_helper(_obj1
);
9211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9212 _result
= (bool )wxMimeTypesManager_ReadMimeTypes(_arg0
,*_arg1
);
9214 wxPyEndAllowThreads(__tstate
);
9215 if (PyErr_Occurred()) return NULL
;
9216 } _resultobj
= Py_BuildValue("i",_result
);
9224 static PyObject
* wxMimeTypesManager_EnumAllFileTypes(wxMimeTypesManager
*self
) {
9226 self
->EnumAllFileTypes(arr
);
9227 return wxArrayString2PyList_helper(arr
);
9229 static PyObject
*_wrap_wxMimeTypesManager_EnumAllFileTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9230 PyObject
* _resultobj
;
9232 wxMimeTypesManager
* _arg0
;
9233 PyObject
* _argo0
= 0;
9234 char *_kwnames
[] = { "self", NULL
};
9237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMimeTypesManager_EnumAllFileTypes",_kwnames
,&_argo0
))
9240 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9241 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9242 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_EnumAllFileTypes. Expected _wxMimeTypesManager_p.");
9247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9248 _result
= (PyObject
*)wxMimeTypesManager_EnumAllFileTypes(_arg0
);
9250 wxPyEndAllowThreads(__tstate
);
9251 if (PyErr_Occurred()) return NULL
;
9253 _resultobj
= _result
;
9258 #define wxMimeTypesManager_AddFallback(_swigobj,_swigarg0) (_swigobj->AddFallback(_swigarg0))
9259 static PyObject
*_wrap_wxMimeTypesManager_AddFallback(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9260 PyObject
* _resultobj
;
9261 wxMimeTypesManager
* _arg0
;
9262 wxFileTypeInfo
* _arg1
;
9263 PyObject
* _argo0
= 0;
9264 PyObject
* _argo1
= 0;
9265 char *_kwnames
[] = { "self","ft", NULL
};
9268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_AddFallback",_kwnames
,&_argo0
,&_argo1
))
9271 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9272 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9273 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_AddFallback. Expected _wxMimeTypesManager_p.");
9278 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9279 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFileTypeInfo_p")) {
9280 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMimeTypesManager_AddFallback. Expected _wxFileTypeInfo_p.");
9285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9286 wxMimeTypesManager_AddFallback(_arg0
,*_arg1
);
9288 wxPyEndAllowThreads(__tstate
);
9289 if (PyErr_Occurred()) return NULL
;
9290 } Py_INCREF(Py_None
);
9291 _resultobj
= Py_None
;
9295 #define wxMimeTypesManager_Associate(_swigobj,_swigarg0) (_swigobj->Associate(_swigarg0))
9296 static PyObject
*_wrap_wxMimeTypesManager_Associate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9297 PyObject
* _resultobj
;
9298 wxFileType
* _result
;
9299 wxMimeTypesManager
* _arg0
;
9300 wxFileTypeInfo
* _arg1
;
9301 PyObject
* _argo0
= 0;
9302 PyObject
* _argo1
= 0;
9303 char *_kwnames
[] = { "self","ftInfo", NULL
};
9307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_Associate",_kwnames
,&_argo0
,&_argo1
))
9310 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9311 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9312 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_Associate. Expected _wxMimeTypesManager_p.");
9317 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9318 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFileTypeInfo_p")) {
9319 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMimeTypesManager_Associate. Expected _wxFileTypeInfo_p.");
9324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9325 _result
= (wxFileType
*)wxMimeTypesManager_Associate(_arg0
,*_arg1
);
9327 wxPyEndAllowThreads(__tstate
);
9328 if (PyErr_Occurred()) return NULL
;
9330 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileType_p");
9331 _resultobj
= Py_BuildValue("s",_ptemp
);
9334 _resultobj
= Py_None
;
9339 #define wxMimeTypesManager_Unassociate(_swigobj,_swigarg0) (_swigobj->Unassociate(_swigarg0))
9340 static PyObject
*_wrap_wxMimeTypesManager_Unassociate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9341 PyObject
* _resultobj
;
9343 wxMimeTypesManager
* _arg0
;
9345 PyObject
* _argo0
= 0;
9346 PyObject
* _argo1
= 0;
9347 char *_kwnames
[] = { "self","ft", NULL
};
9350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_Unassociate",_kwnames
,&_argo0
,&_argo1
))
9353 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9354 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9355 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_Unassociate. Expected _wxMimeTypesManager_p.");
9360 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9361 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFileType_p")) {
9362 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMimeTypesManager_Unassociate. Expected _wxFileType_p.");
9367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9368 _result
= (bool )wxMimeTypesManager_Unassociate(_arg0
,_arg1
);
9370 wxPyEndAllowThreads(__tstate
);
9371 if (PyErr_Occurred()) return NULL
;
9372 } _resultobj
= Py_BuildValue("i",_result
);
9376 #define delete_wxMimeTypesManager(_swigobj) (delete _swigobj)
9377 static PyObject
*_wrap_delete_wxMimeTypesManager(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9378 PyObject
* _resultobj
;
9379 wxMimeTypesManager
* _arg0
;
9380 PyObject
* _argo0
= 0;
9381 char *_kwnames
[] = { "self", NULL
};
9384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxMimeTypesManager",_kwnames
,&_argo0
))
9387 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9388 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9389 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxMimeTypesManager. Expected _wxMimeTypesManager_p.");
9394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9395 delete_wxMimeTypesManager(_arg0
);
9397 wxPyEndAllowThreads(__tstate
);
9398 if (PyErr_Occurred()) return NULL
;
9399 } Py_INCREF(Py_None
);
9400 _resultobj
= Py_None
;
9404 static void *SwigwxFileHistoryTowxObject(void *ptr
) {
9407 src
= (wxFileHistory
*) ptr
;
9408 dest
= (wxObject
*) src
;
9409 return (void *) dest
;
9412 #define new_wxFileHistory(_swigarg0) (new wxFileHistory(_swigarg0))
9413 static PyObject
*_wrap_new_wxFileHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9414 PyObject
* _resultobj
;
9415 wxFileHistory
* _result
;
9416 int _arg0
= (int ) 9;
9417 char *_kwnames
[] = { "maxFiles", NULL
};
9421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxFileHistory",_kwnames
,&_arg0
))
9424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9425 _result
= (wxFileHistory
*)new_wxFileHistory(_arg0
);
9427 wxPyEndAllowThreads(__tstate
);
9428 if (PyErr_Occurred()) return NULL
;
9430 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileHistory_p");
9431 _resultobj
= Py_BuildValue("s",_ptemp
);
9434 _resultobj
= Py_None
;
9439 #define delete_wxFileHistory(_swigobj) (delete _swigobj)
9440 static PyObject
*_wrap_delete_wxFileHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9441 PyObject
* _resultobj
;
9442 wxFileHistory
* _arg0
;
9443 PyObject
* _argo0
= 0;
9444 char *_kwnames
[] = { "self", NULL
};
9447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxFileHistory",_kwnames
,&_argo0
))
9450 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9451 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9452 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxFileHistory. Expected _wxFileHistory_p.");
9457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9458 delete_wxFileHistory(_arg0
);
9460 wxPyEndAllowThreads(__tstate
);
9461 if (PyErr_Occurred()) return NULL
;
9462 } Py_INCREF(Py_None
);
9463 _resultobj
= Py_None
;
9467 #define wxFileHistory_AddFileToHistory(_swigobj,_swigarg0) (_swigobj->AddFileToHistory(_swigarg0))
9468 static PyObject
*_wrap_wxFileHistory_AddFileToHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9469 PyObject
* _resultobj
;
9470 wxFileHistory
* _arg0
;
9472 PyObject
* _argo0
= 0;
9473 PyObject
* _obj1
= 0;
9474 char *_kwnames
[] = { "self","file", NULL
};
9477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileHistory_AddFileToHistory",_kwnames
,&_argo0
,&_obj1
))
9480 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9481 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9482 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_AddFileToHistory. Expected _wxFileHistory_p.");
9487 _arg1
= wxString_in_helper(_obj1
);
9492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9493 wxFileHistory_AddFileToHistory(_arg0
,*_arg1
);
9495 wxPyEndAllowThreads(__tstate
);
9496 if (PyErr_Occurred()) return NULL
;
9497 } Py_INCREF(Py_None
);
9498 _resultobj
= Py_None
;
9506 #define wxFileHistory_RemoveFileFromHistory(_swigobj,_swigarg0) (_swigobj->RemoveFileFromHistory(_swigarg0))
9507 static PyObject
*_wrap_wxFileHistory_RemoveFileFromHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9508 PyObject
* _resultobj
;
9509 wxFileHistory
* _arg0
;
9511 PyObject
* _argo0
= 0;
9512 char *_kwnames
[] = { "self","i", NULL
};
9515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFileHistory_RemoveFileFromHistory",_kwnames
,&_argo0
,&_arg1
))
9518 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9519 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9520 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_RemoveFileFromHistory. Expected _wxFileHistory_p.");
9525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9526 wxFileHistory_RemoveFileFromHistory(_arg0
,_arg1
);
9528 wxPyEndAllowThreads(__tstate
);
9529 if (PyErr_Occurred()) return NULL
;
9530 } Py_INCREF(Py_None
);
9531 _resultobj
= Py_None
;
9535 #define wxFileHistory_GetMaxFiles(_swigobj) (_swigobj->GetMaxFiles())
9536 static PyObject
*_wrap_wxFileHistory_GetMaxFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9537 PyObject
* _resultobj
;
9539 wxFileHistory
* _arg0
;
9540 PyObject
* _argo0
= 0;
9541 char *_kwnames
[] = { "self", NULL
};
9544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileHistory_GetMaxFiles",_kwnames
,&_argo0
))
9547 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9548 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9549 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_GetMaxFiles. Expected _wxFileHistory_p.");
9554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9555 _result
= (int )wxFileHistory_GetMaxFiles(_arg0
);
9557 wxPyEndAllowThreads(__tstate
);
9558 if (PyErr_Occurred()) return NULL
;
9559 } _resultobj
= Py_BuildValue("i",_result
);
9563 #define wxFileHistory_UseMenu(_swigobj,_swigarg0) (_swigobj->UseMenu(_swigarg0))
9564 static PyObject
*_wrap_wxFileHistory_UseMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9565 PyObject
* _resultobj
;
9566 wxFileHistory
* _arg0
;
9568 PyObject
* _argo0
= 0;
9569 PyObject
* _argo1
= 0;
9570 char *_kwnames
[] = { "self","menu", NULL
};
9573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileHistory_UseMenu",_kwnames
,&_argo0
,&_argo1
))
9576 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9577 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9578 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_UseMenu. Expected _wxFileHistory_p.");
9583 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9584 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
9585 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFileHistory_UseMenu. Expected _wxMenu_p.");
9590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9591 wxFileHistory_UseMenu(_arg0
,_arg1
);
9593 wxPyEndAllowThreads(__tstate
);
9594 if (PyErr_Occurred()) return NULL
;
9595 } Py_INCREF(Py_None
);
9596 _resultobj
= Py_None
;
9600 #define wxFileHistory_RemoveMenu(_swigobj,_swigarg0) (_swigobj->RemoveMenu(_swigarg0))
9601 static PyObject
*_wrap_wxFileHistory_RemoveMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9602 PyObject
* _resultobj
;
9603 wxFileHistory
* _arg0
;
9605 PyObject
* _argo0
= 0;
9606 PyObject
* _argo1
= 0;
9607 char *_kwnames
[] = { "self","menu", NULL
};
9610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileHistory_RemoveMenu",_kwnames
,&_argo0
,&_argo1
))
9613 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9614 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9615 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_RemoveMenu. Expected _wxFileHistory_p.");
9620 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9621 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
9622 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFileHistory_RemoveMenu. Expected _wxMenu_p.");
9627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9628 wxFileHistory_RemoveMenu(_arg0
,_arg1
);
9630 wxPyEndAllowThreads(__tstate
);
9631 if (PyErr_Occurred()) return NULL
;
9632 } Py_INCREF(Py_None
);
9633 _resultobj
= Py_None
;
9637 #define wxFileHistory_Load(_swigobj,_swigarg0) (_swigobj->Load(_swigarg0))
9638 static PyObject
*_wrap_wxFileHistory_Load(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9639 PyObject
* _resultobj
;
9640 wxFileHistory
* _arg0
;
9641 wxConfigBase
* _arg1
;
9642 PyObject
* _argo0
= 0;
9643 PyObject
* _argo1
= 0;
9644 char *_kwnames
[] = { "self","config", NULL
};
9647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileHistory_Load",_kwnames
,&_argo0
,&_argo1
))
9650 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9651 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9652 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_Load. Expected _wxFileHistory_p.");
9657 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9658 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxConfigBase_p")) {
9659 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFileHistory_Load. Expected _wxConfigBase_p.");
9664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9665 wxFileHistory_Load(_arg0
,*_arg1
);
9667 wxPyEndAllowThreads(__tstate
);
9668 if (PyErr_Occurred()) return NULL
;
9669 } Py_INCREF(Py_None
);
9670 _resultobj
= Py_None
;
9674 #define wxFileHistory_Save(_swigobj,_swigarg0) (_swigobj->Save(_swigarg0))
9675 static PyObject
*_wrap_wxFileHistory_Save(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9676 PyObject
* _resultobj
;
9677 wxFileHistory
* _arg0
;
9678 wxConfigBase
* _arg1
;
9679 PyObject
* _argo0
= 0;
9680 PyObject
* _argo1
= 0;
9681 char *_kwnames
[] = { "self","config", NULL
};
9684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileHistory_Save",_kwnames
,&_argo0
,&_argo1
))
9687 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9688 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9689 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_Save. Expected _wxFileHistory_p.");
9694 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9695 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxConfigBase_p")) {
9696 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFileHistory_Save. Expected _wxConfigBase_p.");
9701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9702 wxFileHistory_Save(_arg0
,*_arg1
);
9704 wxPyEndAllowThreads(__tstate
);
9705 if (PyErr_Occurred()) return NULL
;
9706 } Py_INCREF(Py_None
);
9707 _resultobj
= Py_None
;
9711 #define wxFileHistory_AddFilesToMenu(_swigobj) (_swigobj->AddFilesToMenu())
9712 static PyObject
*_wrap_wxFileHistory_AddFilesToMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9713 PyObject
* _resultobj
;
9714 wxFileHistory
* _arg0
;
9715 PyObject
* _argo0
= 0;
9716 char *_kwnames
[] = { "self", NULL
};
9719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileHistory_AddFilesToMenu",_kwnames
,&_argo0
))
9722 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9723 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9724 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_AddFilesToMenu. Expected _wxFileHistory_p.");
9729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9730 wxFileHistory_AddFilesToMenu(_arg0
);
9732 wxPyEndAllowThreads(__tstate
);
9733 if (PyErr_Occurred()) return NULL
;
9734 } Py_INCREF(Py_None
);
9735 _resultobj
= Py_None
;
9739 #define wxFileHistory_AddFilesToThisMenu(_swigobj,_swigarg0) (_swigobj->AddFilesToMenu(_swigarg0))
9740 static PyObject
*_wrap_wxFileHistory_AddFilesToThisMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9741 PyObject
* _resultobj
;
9742 wxFileHistory
* _arg0
;
9744 PyObject
* _argo0
= 0;
9745 PyObject
* _argo1
= 0;
9746 char *_kwnames
[] = { "self","menu", NULL
};
9749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileHistory_AddFilesToThisMenu",_kwnames
,&_argo0
,&_argo1
))
9752 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9753 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9754 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_AddFilesToThisMenu. Expected _wxFileHistory_p.");
9759 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9760 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
9761 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFileHistory_AddFilesToThisMenu. Expected _wxMenu_p.");
9766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9767 wxFileHistory_AddFilesToThisMenu(_arg0
,_arg1
);
9769 wxPyEndAllowThreads(__tstate
);
9770 if (PyErr_Occurred()) return NULL
;
9771 } Py_INCREF(Py_None
);
9772 _resultobj
= Py_None
;
9776 #define wxFileHistory_GetHistoryFile(_swigobj,_swigarg0) (_swigobj->GetHistoryFile(_swigarg0))
9777 static PyObject
*_wrap_wxFileHistory_GetHistoryFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9778 PyObject
* _resultobj
;
9780 wxFileHistory
* _arg0
;
9782 PyObject
* _argo0
= 0;
9783 char *_kwnames
[] = { "self","i", NULL
};
9786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFileHistory_GetHistoryFile",_kwnames
,&_argo0
,&_arg1
))
9789 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9790 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9791 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_GetHistoryFile. Expected _wxFileHistory_p.");
9796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9797 _result
= new wxString (wxFileHistory_GetHistoryFile(_arg0
,_arg1
));
9799 wxPyEndAllowThreads(__tstate
);
9800 if (PyErr_Occurred()) return NULL
;
9803 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
9805 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9814 #define wxFileHistory_GetCount(_swigobj) (_swigobj->GetCount())
9815 static PyObject
*_wrap_wxFileHistory_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9816 PyObject
* _resultobj
;
9818 wxFileHistory
* _arg0
;
9819 PyObject
* _argo0
= 0;
9820 char *_kwnames
[] = { "self", NULL
};
9823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileHistory_GetCount",_kwnames
,&_argo0
))
9826 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9827 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9828 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_GetCount. Expected _wxFileHistory_p.");
9833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9834 _result
= (int )wxFileHistory_GetCount(_arg0
);
9836 wxPyEndAllowThreads(__tstate
);
9837 if (PyErr_Occurred()) return NULL
;
9838 } _resultobj
= Py_BuildValue("i",_result
);
9842 #define wxFileHistory_GetNoHistoryFiles(_swigobj) (_swigobj->GetNoHistoryFiles())
9843 static PyObject
*_wrap_wxFileHistory_GetNoHistoryFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9844 PyObject
* _resultobj
;
9846 wxFileHistory
* _arg0
;
9847 PyObject
* _argo0
= 0;
9848 char *_kwnames
[] = { "self", NULL
};
9851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileHistory_GetNoHistoryFiles",_kwnames
,&_argo0
))
9854 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9855 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9856 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_GetNoHistoryFiles. Expected _wxFileHistory_p.");
9861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9862 _result
= (int )wxFileHistory_GetNoHistoryFiles(_arg0
);
9864 wxPyEndAllowThreads(__tstate
);
9865 if (PyErr_Occurred()) return NULL
;
9866 } _resultobj
= Py_BuildValue("i",_result
);
9870 static PyMethodDef misc2cMethods
[] = {
9871 { "wxFileHistory_GetNoHistoryFiles", (PyCFunction
) _wrap_wxFileHistory_GetNoHistoryFiles
, METH_VARARGS
| METH_KEYWORDS
},
9872 { "wxFileHistory_GetCount", (PyCFunction
) _wrap_wxFileHistory_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
9873 { "wxFileHistory_GetHistoryFile", (PyCFunction
) _wrap_wxFileHistory_GetHistoryFile
, METH_VARARGS
| METH_KEYWORDS
},
9874 { "wxFileHistory_AddFilesToThisMenu", (PyCFunction
) _wrap_wxFileHistory_AddFilesToThisMenu
, METH_VARARGS
| METH_KEYWORDS
},
9875 { "wxFileHistory_AddFilesToMenu", (PyCFunction
) _wrap_wxFileHistory_AddFilesToMenu
, METH_VARARGS
| METH_KEYWORDS
},
9876 { "wxFileHistory_Save", (PyCFunction
) _wrap_wxFileHistory_Save
, METH_VARARGS
| METH_KEYWORDS
},
9877 { "wxFileHistory_Load", (PyCFunction
) _wrap_wxFileHistory_Load
, METH_VARARGS
| METH_KEYWORDS
},
9878 { "wxFileHistory_RemoveMenu", (PyCFunction
) _wrap_wxFileHistory_RemoveMenu
, METH_VARARGS
| METH_KEYWORDS
},
9879 { "wxFileHistory_UseMenu", (PyCFunction
) _wrap_wxFileHistory_UseMenu
, METH_VARARGS
| METH_KEYWORDS
},
9880 { "wxFileHistory_GetMaxFiles", (PyCFunction
) _wrap_wxFileHistory_GetMaxFiles
, METH_VARARGS
| METH_KEYWORDS
},
9881 { "wxFileHistory_RemoveFileFromHistory", (PyCFunction
) _wrap_wxFileHistory_RemoveFileFromHistory
, METH_VARARGS
| METH_KEYWORDS
},
9882 { "wxFileHistory_AddFileToHistory", (PyCFunction
) _wrap_wxFileHistory_AddFileToHistory
, METH_VARARGS
| METH_KEYWORDS
},
9883 { "delete_wxFileHistory", (PyCFunction
) _wrap_delete_wxFileHistory
, METH_VARARGS
| METH_KEYWORDS
},
9884 { "new_wxFileHistory", (PyCFunction
) _wrap_new_wxFileHistory
, METH_VARARGS
| METH_KEYWORDS
},
9885 { "delete_wxMimeTypesManager", (PyCFunction
) _wrap_delete_wxMimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
},
9886 { "wxMimeTypesManager_Unassociate", (PyCFunction
) _wrap_wxMimeTypesManager_Unassociate
, METH_VARARGS
| METH_KEYWORDS
},
9887 { "wxMimeTypesManager_Associate", (PyCFunction
) _wrap_wxMimeTypesManager_Associate
, METH_VARARGS
| METH_KEYWORDS
},
9888 { "wxMimeTypesManager_AddFallback", (PyCFunction
) _wrap_wxMimeTypesManager_AddFallback
, METH_VARARGS
| METH_KEYWORDS
},
9889 { "wxMimeTypesManager_EnumAllFileTypes", (PyCFunction
) _wrap_wxMimeTypesManager_EnumAllFileTypes
, METH_VARARGS
| METH_KEYWORDS
},
9890 { "wxMimeTypesManager_ReadMimeTypes", (PyCFunction
) _wrap_wxMimeTypesManager_ReadMimeTypes
, METH_VARARGS
| METH_KEYWORDS
},
9891 { "wxMimeTypesManager_ReadMailcap", (PyCFunction
) _wrap_wxMimeTypesManager_ReadMailcap
, METH_VARARGS
| METH_KEYWORDS
},
9892 { "wxMimeTypesManager_GetFileTypeFromMimeType", (PyCFunction
) _wrap_wxMimeTypesManager_GetFileTypeFromMimeType
, METH_VARARGS
| METH_KEYWORDS
},
9893 { "wxMimeTypesManager_GetFileTypeFromExtension", (PyCFunction
) _wrap_wxMimeTypesManager_GetFileTypeFromExtension
, METH_VARARGS
| METH_KEYWORDS
},
9894 { "wxMimeTypesManager_ClearData", (PyCFunction
) _wrap_wxMimeTypesManager_ClearData
, METH_VARARGS
| METH_KEYWORDS
},
9895 { "wxMimeTypesManager_Initialize", (PyCFunction
) _wrap_wxMimeTypesManager_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
9896 { "new_wxMimeTypesManager", (PyCFunction
) _wrap_new_wxMimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
},
9897 { "wxMimeTypesManager_IsOfType", (PyCFunction
) _wrap_wxMimeTypesManager_IsOfType
, METH_VARARGS
| METH_KEYWORDS
},
9898 { "delete_wxFileType", (PyCFunction
) _wrap_delete_wxFileType
, METH_VARARGS
| METH_KEYWORDS
},
9899 { "wxFileType_ExpandCommand", (PyCFunction
) _wrap_wxFileType_ExpandCommand
, METH_VARARGS
| METH_KEYWORDS
},
9900 { "wxFileType_Unassociate", (PyCFunction
) _wrap_wxFileType_Unassociate
, METH_VARARGS
| METH_KEYWORDS
},
9901 { "wxFileType_SetDefaultIcon", (PyCFunction
) _wrap_wxFileType_SetDefaultIcon
, METH_VARARGS
| METH_KEYWORDS
},
9902 { "wxFileType_SetCommand", (PyCFunction
) _wrap_wxFileType_SetCommand
, METH_VARARGS
| METH_KEYWORDS
},
9903 { "wxFileType_GetAllCommands", (PyCFunction
) _wrap_wxFileType_GetAllCommands
, METH_VARARGS
| METH_KEYWORDS
},
9904 { "wxFileType_GetPrintCommand", (PyCFunction
) _wrap_wxFileType_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
},
9905 { "wxFileType_GetOpenCommand", (PyCFunction
) _wrap_wxFileType_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
},
9906 { "wxFileType_GetDescription", (PyCFunction
) _wrap_wxFileType_GetDescription
, METH_VARARGS
| METH_KEYWORDS
},
9907 { "wxFileType_GetIconInfo", (PyCFunction
) _wrap_wxFileType_GetIconInfo
, METH_VARARGS
| METH_KEYWORDS
},
9908 { "wxFileType_GetIcon", (PyCFunction
) _wrap_wxFileType_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
9909 { "wxFileType_GetExtensions", (PyCFunction
) _wrap_wxFileType_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
},
9910 { "wxFileType_GetMimeTypes", (PyCFunction
) _wrap_wxFileType_GetMimeTypes
, METH_VARARGS
| METH_KEYWORDS
},
9911 { "wxFileType_GetMimeType", (PyCFunction
) _wrap_wxFileType_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
9912 { "new_wxFileType", (PyCFunction
) _wrap_new_wxFileType
, METH_VARARGS
| METH_KEYWORDS
},
9913 { "wxFileTypeInfo_GetIconIndex", (PyCFunction
) _wrap_wxFileTypeInfo_GetIconIndex
, METH_VARARGS
| METH_KEYWORDS
},
9914 { "wxFileTypeInfo_GetIconFile", (PyCFunction
) _wrap_wxFileTypeInfo_GetIconFile
, METH_VARARGS
| METH_KEYWORDS
},
9915 { "wxFileTypeInfo_GetExtensionsCount", (PyCFunction
) _wrap_wxFileTypeInfo_GetExtensionsCount
, METH_VARARGS
| METH_KEYWORDS
},
9916 { "wxFileTypeInfo_GetExtensions", (PyCFunction
) _wrap_wxFileTypeInfo_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
},
9917 { "wxFileTypeInfo_GetDescription", (PyCFunction
) _wrap_wxFileTypeInfo_GetDescription
, METH_VARARGS
| METH_KEYWORDS
},
9918 { "wxFileTypeInfo_GetShortDesc", (PyCFunction
) _wrap_wxFileTypeInfo_GetShortDesc
, METH_VARARGS
| METH_KEYWORDS
},
9919 { "wxFileTypeInfo_GetPrintCommand", (PyCFunction
) _wrap_wxFileTypeInfo_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
},
9920 { "wxFileTypeInfo_GetOpenCommand", (PyCFunction
) _wrap_wxFileTypeInfo_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
},
9921 { "wxFileTypeInfo_GetMimeType", (PyCFunction
) _wrap_wxFileTypeInfo_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
9922 { "wxFileTypeInfo_SetShortDesc", (PyCFunction
) _wrap_wxFileTypeInfo_SetShortDesc
, METH_VARARGS
| METH_KEYWORDS
},
9923 { "wxFileTypeInfo_SetIcon", (PyCFunction
) _wrap_wxFileTypeInfo_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
9924 { "wxFileTypeInfo_IsValid", (PyCFunction
) _wrap_wxFileTypeInfo_IsValid
, METH_VARARGS
| METH_KEYWORDS
},
9925 { "new_wxNullFileTypeInfo", (PyCFunction
) _wrap_new_wxNullFileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
},
9926 { "new_wxFileTypeInfoSequence", (PyCFunction
) _wrap_new_wxFileTypeInfoSequence
, METH_VARARGS
| METH_KEYWORDS
},
9927 { "new_wxFileTypeInfo", (PyCFunction
) _wrap_new_wxFileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
},
9928 { "wxWave_Play", (PyCFunction
) _wrap_wxWave_Play
, METH_VARARGS
| METH_KEYWORDS
},
9929 { "wxWave_IsOk", (PyCFunction
) _wrap_wxWave_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
9930 { "delete_wxWave", (PyCFunction
) _wrap_delete_wxWave
, METH_VARARGS
| METH_KEYWORDS
},
9931 { "new_wxWave", (PyCFunction
) _wrap_new_wxWave
, METH_VARARGS
| METH_KEYWORDS
},
9932 { "wxJoystick_ReleaseCapture", (PyCFunction
) _wrap_wxJoystick_ReleaseCapture
, METH_VARARGS
| METH_KEYWORDS
},
9933 { "wxJoystick_SetCapture", (PyCFunction
) _wrap_wxJoystick_SetCapture
, METH_VARARGS
| METH_KEYWORDS
},
9934 { "wxJoystick_HasPOVCTS", (PyCFunction
) _wrap_wxJoystick_HasPOVCTS
, METH_VARARGS
| METH_KEYWORDS
},
9935 { "wxJoystick_HasPOV4Dir", (PyCFunction
) _wrap_wxJoystick_HasPOV4Dir
, METH_VARARGS
| METH_KEYWORDS
},
9936 { "wxJoystick_HasPOV", (PyCFunction
) _wrap_wxJoystick_HasPOV
, METH_VARARGS
| METH_KEYWORDS
},
9937 { "wxJoystick_HasV", (PyCFunction
) _wrap_wxJoystick_HasV
, METH_VARARGS
| METH_KEYWORDS
},
9938 { "wxJoystick_HasU", (PyCFunction
) _wrap_wxJoystick_HasU
, METH_VARARGS
| METH_KEYWORDS
},
9939 { "wxJoystick_HasZ", (PyCFunction
) _wrap_wxJoystick_HasZ
, METH_VARARGS
| METH_KEYWORDS
},
9940 { "wxJoystick_HasRudder", (PyCFunction
) _wrap_wxJoystick_HasRudder
, METH_VARARGS
| METH_KEYWORDS
},
9941 { "wxJoystick_GetVMax", (PyCFunction
) _wrap_wxJoystick_GetVMax
, METH_VARARGS
| METH_KEYWORDS
},
9942 { "wxJoystick_GetVMin", (PyCFunction
) _wrap_wxJoystick_GetVMin
, METH_VARARGS
| METH_KEYWORDS
},
9943 { "wxJoystick_GetUMax", (PyCFunction
) _wrap_wxJoystick_GetUMax
, METH_VARARGS
| METH_KEYWORDS
},
9944 { "wxJoystick_GetUMin", (PyCFunction
) _wrap_wxJoystick_GetUMin
, METH_VARARGS
| METH_KEYWORDS
},
9945 { "wxJoystick_GetRudderMax", (PyCFunction
) _wrap_wxJoystick_GetRudderMax
, METH_VARARGS
| METH_KEYWORDS
},
9946 { "wxJoystick_GetRudderMin", (PyCFunction
) _wrap_wxJoystick_GetRudderMin
, METH_VARARGS
| METH_KEYWORDS
},
9947 { "wxJoystick_GetPollingMax", (PyCFunction
) _wrap_wxJoystick_GetPollingMax
, METH_VARARGS
| METH_KEYWORDS
},
9948 { "wxJoystick_GetPollingMin", (PyCFunction
) _wrap_wxJoystick_GetPollingMin
, METH_VARARGS
| METH_KEYWORDS
},
9949 { "wxJoystick_GetMaxAxes", (PyCFunction
) _wrap_wxJoystick_GetMaxAxes
, METH_VARARGS
| METH_KEYWORDS
},
9950 { "wxJoystick_GetMaxButtons", (PyCFunction
) _wrap_wxJoystick_GetMaxButtons
, METH_VARARGS
| METH_KEYWORDS
},
9951 { "wxJoystick_GetNumberAxes", (PyCFunction
) _wrap_wxJoystick_GetNumberAxes
, METH_VARARGS
| METH_KEYWORDS
},
9952 { "wxJoystick_GetNumberButtons", (PyCFunction
) _wrap_wxJoystick_GetNumberButtons
, METH_VARARGS
| METH_KEYWORDS
},
9953 { "wxJoystick_GetZMax", (PyCFunction
) _wrap_wxJoystick_GetZMax
, METH_VARARGS
| METH_KEYWORDS
},
9954 { "wxJoystick_GetYMax", (PyCFunction
) _wrap_wxJoystick_GetYMax
, METH_VARARGS
| METH_KEYWORDS
},
9955 { "wxJoystick_GetXMax", (PyCFunction
) _wrap_wxJoystick_GetXMax
, METH_VARARGS
| METH_KEYWORDS
},
9956 { "wxJoystick_GetZMin", (PyCFunction
) _wrap_wxJoystick_GetZMin
, METH_VARARGS
| METH_KEYWORDS
},
9957 { "wxJoystick_GetYMin", (PyCFunction
) _wrap_wxJoystick_GetYMin
, METH_VARARGS
| METH_KEYWORDS
},
9958 { "wxJoystick_GetXMin", (PyCFunction
) _wrap_wxJoystick_GetXMin
, METH_VARARGS
| METH_KEYWORDS
},
9959 { "wxJoystick_GetProductName", (PyCFunction
) _wrap_wxJoystick_GetProductName
, METH_VARARGS
| METH_KEYWORDS
},
9960 { "wxJoystick_GetProductId", (PyCFunction
) _wrap_wxJoystick_GetProductId
, METH_VARARGS
| METH_KEYWORDS
},
9961 { "wxJoystick_GetManufacturerId", (PyCFunction
) _wrap_wxJoystick_GetManufacturerId
, METH_VARARGS
| METH_KEYWORDS
},
9962 { "wxJoystick_GetNumberJoysticks", (PyCFunction
) _wrap_wxJoystick_GetNumberJoysticks
, METH_VARARGS
| METH_KEYWORDS
},
9963 { "wxJoystick_IsOk", (PyCFunction
) _wrap_wxJoystick_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
9964 { "wxJoystick_SetMovementThreshold", (PyCFunction
) _wrap_wxJoystick_SetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
},
9965 { "wxJoystick_GetMovementThreshold", (PyCFunction
) _wrap_wxJoystick_GetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
},
9966 { "wxJoystick_GetVPosition", (PyCFunction
) _wrap_wxJoystick_GetVPosition
, METH_VARARGS
| METH_KEYWORDS
},
9967 { "wxJoystick_GetUPosition", (PyCFunction
) _wrap_wxJoystick_GetUPosition
, METH_VARARGS
| METH_KEYWORDS
},
9968 { "wxJoystick_GetRudderPosition", (PyCFunction
) _wrap_wxJoystick_GetRudderPosition
, METH_VARARGS
| METH_KEYWORDS
},
9969 { "wxJoystick_GetPOVCTSPosition", (PyCFunction
) _wrap_wxJoystick_GetPOVCTSPosition
, METH_VARARGS
| METH_KEYWORDS
},
9970 { "wxJoystick_GetPOVPosition", (PyCFunction
) _wrap_wxJoystick_GetPOVPosition
, METH_VARARGS
| METH_KEYWORDS
},
9971 { "wxJoystick_GetButtonState", (PyCFunction
) _wrap_wxJoystick_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
},
9972 { "wxJoystick_GetZPosition", (PyCFunction
) _wrap_wxJoystick_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
},
9973 { "wxJoystick_GetPosition", (PyCFunction
) _wrap_wxJoystick_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
9974 { "delete_wxJoystick", (PyCFunction
) _wrap_delete_wxJoystick
, METH_VARARGS
| METH_KEYWORDS
},
9975 { "new_wxJoystick", (PyCFunction
) _wrap_new_wxJoystick
, METH_VARARGS
| METH_KEYWORDS
},
9976 { "wxProcess_CloseOutput", (PyCFunction
) _wrap_wxProcess_CloseOutput
, METH_VARARGS
| METH_KEYWORDS
},
9977 { "wxProcess_GetOutputStream", (PyCFunction
) _wrap_wxProcess_GetOutputStream
, METH_VARARGS
| METH_KEYWORDS
},
9978 { "wxProcess_GetErrorStream", (PyCFunction
) _wrap_wxProcess_GetErrorStream
, METH_VARARGS
| METH_KEYWORDS
},
9979 { "wxProcess_GetInputStream", (PyCFunction
) _wrap_wxProcess_GetInputStream
, METH_VARARGS
| METH_KEYWORDS
},
9980 { "wxProcess_Detach", (PyCFunction
) _wrap_wxProcess_Detach
, METH_VARARGS
| METH_KEYWORDS
},
9981 { "wxProcess_IsRedirected", (PyCFunction
) _wrap_wxProcess_IsRedirected
, METH_VARARGS
| METH_KEYWORDS
},
9982 { "wxProcess_Redirect", (PyCFunction
) _wrap_wxProcess_Redirect
, METH_VARARGS
| METH_KEYWORDS
},
9983 { "wxProcess_base_OnTerminate", (PyCFunction
) _wrap_wxProcess_base_OnTerminate
, METH_VARARGS
| METH_KEYWORDS
},
9984 { "wxProcess__setCallbackInfo", (PyCFunction
) _wrap_wxProcess__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
9985 { "wxProcess_Destroy", (PyCFunction
) _wrap_wxProcess_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
9986 { "new_wxProcess", (PyCFunction
) _wrap_new_wxProcess
, METH_VARARGS
| METH_KEYWORDS
},
9987 { "wxProcessEvent_m_exitcode_get", (PyCFunction
) _wrap_wxProcessEvent_m_exitcode_get
, METH_VARARGS
| METH_KEYWORDS
},
9988 { "wxProcessEvent_m_exitcode_set", (PyCFunction
) _wrap_wxProcessEvent_m_exitcode_set
, METH_VARARGS
| METH_KEYWORDS
},
9989 { "wxProcessEvent_m_pid_get", (PyCFunction
) _wrap_wxProcessEvent_m_pid_get
, METH_VARARGS
| METH_KEYWORDS
},
9990 { "wxProcessEvent_m_pid_set", (PyCFunction
) _wrap_wxProcessEvent_m_pid_set
, METH_VARARGS
| METH_KEYWORDS
},
9991 { "wxProcessEvent_GetExitCode", (PyCFunction
) _wrap_wxProcessEvent_GetExitCode
, METH_VARARGS
| METH_KEYWORDS
},
9992 { "wxProcessEvent_GetPid", (PyCFunction
) _wrap_wxProcessEvent_GetPid
, METH_VARARGS
| METH_KEYWORDS
},
9993 { "new_wxProcessEvent", (PyCFunction
) _wrap_new_wxProcessEvent
, METH_VARARGS
| METH_KEYWORDS
},
9994 { "wxPyLog_Destroy", (PyCFunction
) _wrap_wxPyLog_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
9995 { "wxPyLog__setCallbackInfo", (PyCFunction
) _wrap_wxPyLog__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
9996 { "new_wxPyLog", (PyCFunction
) _wrap_new_wxPyLog
, METH_VARARGS
| METH_KEYWORDS
},
9997 { "delete_wxLogNull", (PyCFunction
) _wrap_delete_wxLogNull
, METH_VARARGS
| METH_KEYWORDS
},
9998 { "new_wxLogNull", (PyCFunction
) _wrap_new_wxLogNull
, METH_VARARGS
| METH_KEYWORDS
},
9999 { "wxLogChain_GetOldLog", (PyCFunction
) _wrap_wxLogChain_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
},
10000 { "wxLogChain_IsPassingMessages", (PyCFunction
) _wrap_wxLogChain_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
},
10001 { "wxLogChain_PassMessages", (PyCFunction
) _wrap_wxLogChain_PassMessages
, METH_VARARGS
| METH_KEYWORDS
},
10002 { "wxLogChain_SetLog", (PyCFunction
) _wrap_wxLogChain_SetLog
, METH_VARARGS
| METH_KEYWORDS
},
10003 { "new_wxLogChain", (PyCFunction
) _wrap_new_wxLogChain
, METH_VARARGS
| METH_KEYWORDS
},
10004 { "wxLogWindow_PassMessages", (PyCFunction
) _wrap_wxLogWindow_PassMessages
, METH_VARARGS
| METH_KEYWORDS
},
10005 { "wxLogWindow_IsPassingMessages", (PyCFunction
) _wrap_wxLogWindow_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
},
10006 { "wxLogWindow_GetOldLog", (PyCFunction
) _wrap_wxLogWindow_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
},
10007 { "wxLogWindow_GetFrame", (PyCFunction
) _wrap_wxLogWindow_GetFrame
, METH_VARARGS
| METH_KEYWORDS
},
10008 { "wxLogWindow_Show", (PyCFunction
) _wrap_wxLogWindow_Show
, METH_VARARGS
| METH_KEYWORDS
},
10009 { "new_wxLogWindow", (PyCFunction
) _wrap_new_wxLogWindow
, METH_VARARGS
| METH_KEYWORDS
},
10010 { "new_wxLogGui", (PyCFunction
) _wrap_new_wxLogGui
, METH_VARARGS
| METH_KEYWORDS
},
10011 { "new_wxLogTextCtrl", (PyCFunction
) _wrap_new_wxLogTextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
10012 { "new_wxLogStderr", (PyCFunction
) _wrap_new_wxLogStderr
, METH_VARARGS
| METH_KEYWORDS
},
10013 { "wxLog_TimeStamp", (PyCFunction
) _wrap_wxLog_TimeStamp
, METH_VARARGS
| METH_KEYWORDS
},
10014 { "wxLog_IsAllowedTraceMask", (PyCFunction
) _wrap_wxLog_IsAllowedTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
10015 { "wxLog_GetTraceMask", (PyCFunction
) _wrap_wxLog_GetTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
10016 { "wxLog_GetVerbose", (PyCFunction
) _wrap_wxLog_GetVerbose
, METH_VARARGS
| METH_KEYWORDS
},
10017 { "wxLog_GetTimestamp", (PyCFunction
) _wrap_wxLog_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
10018 { "wxLog_SetTimestamp", (PyCFunction
) _wrap_wxLog_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
10019 { "wxLog_ClearTraceMasks", (PyCFunction
) _wrap_wxLog_ClearTraceMasks
, METH_VARARGS
| METH_KEYWORDS
},
10020 { "wxLog_RemoveTraceMask", (PyCFunction
) _wrap_wxLog_RemoveTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
10021 { "wxLog_AddTraceMask", (PyCFunction
) _wrap_wxLog_AddTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
10022 { "wxLog_SetTraceMask", (PyCFunction
) _wrap_wxLog_SetTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
10023 { "wxLog_DontCreateOnDemand", (PyCFunction
) _wrap_wxLog_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
},
10024 { "wxLog_SetVerbose", (PyCFunction
) _wrap_wxLog_SetVerbose
, METH_VARARGS
| METH_KEYWORDS
},
10025 { "wxLog_Resume", (PyCFunction
) _wrap_wxLog_Resume
, METH_VARARGS
| METH_KEYWORDS
},
10026 { "wxLog_Suspend", (PyCFunction
) _wrap_wxLog_Suspend
, METH_VARARGS
| METH_KEYWORDS
},
10027 { "wxLog_SetActiveTarget", (PyCFunction
) _wrap_wxLog_SetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
},
10028 { "wxLog_GetActiveTarget", (PyCFunction
) _wrap_wxLog_GetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
},
10029 { "wxLog_FlushActive", (PyCFunction
) _wrap_wxLog_FlushActive
, METH_VARARGS
| METH_KEYWORDS
},
10030 { "wxLog_HasPendingMessages", (PyCFunction
) _wrap_wxLog_HasPendingMessages
, METH_VARARGS
| METH_KEYWORDS
},
10031 { "wxLog_Flush", (PyCFunction
) _wrap_wxLog_Flush
, METH_VARARGS
| METH_KEYWORDS
},
10032 { "wxLog_OnLog", (PyCFunction
) _wrap_wxLog_OnLog
, METH_VARARGS
| METH_KEYWORDS
},
10033 { "wxLog_EnableLogging", (PyCFunction
) _wrap_wxLog_EnableLogging
, METH_VARARGS
| METH_KEYWORDS
},
10034 { "wxLog_IsEnabled", (PyCFunction
) _wrap_wxLog_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
10035 { "new_wxLog", (PyCFunction
) _wrap_new_wxLog
, METH_VARARGS
| METH_KEYWORDS
},
10036 { "wxStopWatch_Time", (PyCFunction
) _wrap_wxStopWatch_Time
, METH_VARARGS
| METH_KEYWORDS
},
10037 { "wxStopWatch_Resume", (PyCFunction
) _wrap_wxStopWatch_Resume
, METH_VARARGS
| METH_KEYWORDS
},
10038 { "wxStopWatch_Pause", (PyCFunction
) _wrap_wxStopWatch_Pause
, METH_VARARGS
| METH_KEYWORDS
},
10039 { "wxStopWatch_Start", (PyCFunction
) _wrap_wxStopWatch_Start
, METH_VARARGS
| METH_KEYWORDS
},
10040 { "delete_wxStopWatch", (PyCFunction
) _wrap_delete_wxStopWatch
, METH_VARARGS
| METH_KEYWORDS
},
10041 { "new_wxStopWatch", (PyCFunction
) _wrap_new_wxStopWatch
, METH_VARARGS
| METH_KEYWORDS
},
10042 { "wxPyTimer_Stop", (PyCFunction
) _wrap_wxPyTimer_Stop
, METH_VARARGS
| METH_KEYWORDS
},
10043 { "wxPyTimer_Start", (PyCFunction
) _wrap_wxPyTimer_Start
, METH_VARARGS
| METH_KEYWORDS
},
10044 { "wxPyTimer_SetOwner", (PyCFunction
) _wrap_wxPyTimer_SetOwner
, METH_VARARGS
| METH_KEYWORDS
},
10045 { "wxPyTimer_IsRunning", (PyCFunction
) _wrap_wxPyTimer_IsRunning
, METH_VARARGS
| METH_KEYWORDS
},
10046 { "wxPyTimer_IsOneShot", (PyCFunction
) _wrap_wxPyTimer_IsOneShot
, METH_VARARGS
| METH_KEYWORDS
},
10047 { "wxPyTimer_GetInterval", (PyCFunction
) _wrap_wxPyTimer_GetInterval
, METH_VARARGS
| METH_KEYWORDS
},
10048 { "delete_wxPyTimer", (PyCFunction
) _wrap_delete_wxPyTimer
, METH_VARARGS
| METH_KEYWORDS
},
10049 { "new_wxPyTimer", (PyCFunction
) _wrap_new_wxPyTimer
, METH_VARARGS
| METH_KEYWORDS
},
10050 { "wxDragImage_RedrawImage", (PyCFunction
) _wrap_wxDragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
},
10051 { "wxDragImage_GetImageRect", (PyCFunction
) _wrap_wxDragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
},
10052 { "wxDragImage_Hide", (PyCFunction
) _wrap_wxDragImage_Hide
, METH_VARARGS
| METH_KEYWORDS
},
10053 { "wxDragImage_Show", (PyCFunction
) _wrap_wxDragImage_Show
, METH_VARARGS
| METH_KEYWORDS
},
10054 { "wxDragImage_Move", (PyCFunction
) _wrap_wxDragImage_Move
, METH_VARARGS
| METH_KEYWORDS
},
10055 { "wxDragImage_EndDrag", (PyCFunction
) _wrap_wxDragImage_EndDrag
, METH_VARARGS
| METH_KEYWORDS
},
10056 { "wxDragImage_BeginDrag2", (PyCFunction
) _wrap_wxDragImage_BeginDrag2
, METH_VARARGS
| METH_KEYWORDS
},
10057 { "wxDragImage_BeginDrag", (PyCFunction
) _wrap_wxDragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
},
10058 { "wxDragImage_SetBackingBitmap", (PyCFunction
) _wrap_wxDragImage_SetBackingBitmap
, METH_VARARGS
| METH_KEYWORDS
},
10059 { "delete_wxDragImage", (PyCFunction
) _wrap_delete_wxDragImage
, METH_VARARGS
| METH_KEYWORDS
},
10060 { "new_wxDragListItem", (PyCFunction
) _wrap_new_wxDragListItem
, METH_VARARGS
| METH_KEYWORDS
},
10061 { "new_wxDragTreeItem", (PyCFunction
) _wrap_new_wxDragTreeItem
, METH_VARARGS
| METH_KEYWORDS
},
10062 { "new_wxDragString", (PyCFunction
) _wrap_new_wxDragString
, METH_VARARGS
| METH_KEYWORDS
},
10063 { "new_wxDragIcon", (PyCFunction
) _wrap_new_wxDragIcon
, METH_VARARGS
| METH_KEYWORDS
},
10064 { "new_wxDragImage", (PyCFunction
) _wrap_new_wxDragImage
, METH_VARARGS
| METH_KEYWORDS
},
10065 { "new_wxPyTipProvider", (PyCFunction
) _wrap_new_wxPyTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
10066 { "wxTipProvider_GetCurrentTip", (PyCFunction
) _wrap_wxTipProvider_GetCurrentTip
, METH_VARARGS
| METH_KEYWORDS
},
10067 { "wxTipProvider_GetTip", (PyCFunction
) _wrap_wxTipProvider_GetTip
, METH_VARARGS
| METH_KEYWORDS
},
10068 { "delete_wxTipProvider", (PyCFunction
) _wrap_delete_wxTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
10069 { "delete_wxMutexGuiLocker", (PyCFunction
) _wrap_delete_wxMutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
},
10070 { "new_wxMutexGuiLocker", (PyCFunction
) _wrap_new_wxMutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
},
10071 { "delete_wxWindowDisabler", (PyCFunction
) _wrap_delete_wxWindowDisabler
, METH_VARARGS
| METH_KEYWORDS
},
10072 { "new_wxWindowDisabler", (PyCFunction
) _wrap_new_wxWindowDisabler
, METH_VARARGS
| METH_KEYWORDS
},
10073 { "delete_wxBusyCursor", (PyCFunction
) _wrap_delete_wxBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
10074 { "new_wxBusyCursor", (PyCFunction
) _wrap_new_wxBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
10075 { "wxCaret_Hide", (PyCFunction
) _wrap_wxCaret_Hide
, METH_VARARGS
| METH_KEYWORDS
},
10076 { "wxCaret_Show", (PyCFunction
) _wrap_wxCaret_Show
, METH_VARARGS
| METH_KEYWORDS
},
10077 { "wxCaret_SetSize", (PyCFunction
) _wrap_wxCaret_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
10078 { "wxCaret_SetSizeWH", (PyCFunction
) _wrap_wxCaret_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
10079 { "wxCaret_Move", (PyCFunction
) _wrap_wxCaret_Move
, METH_VARARGS
| METH_KEYWORDS
},
10080 { "wxCaret_MoveXY", (PyCFunction
) _wrap_wxCaret_MoveXY
, METH_VARARGS
| METH_KEYWORDS
},
10081 { "wxCaret_GetWindow", (PyCFunction
) _wrap_wxCaret_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
10082 { "wxCaret_GetSize", (PyCFunction
) _wrap_wxCaret_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
10083 { "wxCaret_GetSizeTuple", (PyCFunction
) _wrap_wxCaret_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
10084 { "wxCaret_GetPosition", (PyCFunction
) _wrap_wxCaret_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
10085 { "wxCaret_GetPositionTuple", (PyCFunction
) _wrap_wxCaret_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
10086 { "wxCaret_IsVisible", (PyCFunction
) _wrap_wxCaret_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
10087 { "wxCaret_IsOk", (PyCFunction
) _wrap_wxCaret_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
10088 { "delete_wxCaret", (PyCFunction
) _wrap_delete_wxCaret
, METH_VARARGS
| METH_KEYWORDS
},
10089 { "new_wxCaret", (PyCFunction
) _wrap_new_wxCaret
, METH_VARARGS
| METH_KEYWORDS
},
10090 { "wxToolTip_SetDelay", (PyCFunction
) _wrap_wxToolTip_SetDelay
, METH_VARARGS
| METH_KEYWORDS
},
10091 { "wxToolTip_Enable", (PyCFunction
) _wrap_wxToolTip_Enable
, METH_VARARGS
| METH_KEYWORDS
},
10092 { "wxToolTip_GetWindow", (PyCFunction
) _wrap_wxToolTip_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
10093 { "wxToolTip_GetTip", (PyCFunction
) _wrap_wxToolTip_GetTip
, METH_VARARGS
| METH_KEYWORDS
},
10094 { "wxToolTip_SetTip", (PyCFunction
) _wrap_wxToolTip_SetTip
, METH_VARARGS
| METH_KEYWORDS
},
10095 { "new_wxToolTip", (PyCFunction
) _wrap_new_wxToolTip
, METH_VARARGS
| METH_KEYWORDS
},
10096 { "wxSystemSettings_SetScreenType", (PyCFunction
) _wrap_wxSystemSettings_SetScreenType
, METH_VARARGS
| METH_KEYWORDS
},
10097 { "wxSystemSettings_GetScreenType", (PyCFunction
) _wrap_wxSystemSettings_GetScreenType
, METH_VARARGS
| METH_KEYWORDS
},
10098 { "wxSystemSettings_HasFeature", (PyCFunction
) _wrap_wxSystemSettings_HasFeature
, METH_VARARGS
| METH_KEYWORDS
},
10099 { "wxSystemSettings_GetMetric", (PyCFunction
) _wrap_wxSystemSettings_GetMetric
, METH_VARARGS
| METH_KEYWORDS
},
10100 { "wxSystemSettings_GetFont", (PyCFunction
) _wrap_wxSystemSettings_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
10101 { "wxSystemSettings_GetColour", (PyCFunction
) _wrap_wxSystemSettings_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
10102 { "wxWaveData", (PyCFunction
) _wrap_wxWaveData
, METH_VARARGS
| METH_KEYWORDS
},
10103 { "wxExecute", (PyCFunction
) _wrap_wxExecute
, METH_VARARGS
| METH_KEYWORDS
},
10104 { "wxSafeShowMessage", (PyCFunction
) _wrap_wxSafeShowMessage
, METH_VARARGS
| METH_KEYWORDS
},
10105 { "wxLogSysError", (PyCFunction
) _wrap_wxLogSysError
, METH_VARARGS
| METH_KEYWORDS
},
10106 { "wxLogStatusFrame", (PyCFunction
) _wrap_wxLogStatusFrame
, METH_VARARGS
| METH_KEYWORDS
},
10107 { "wxLogStatus", (PyCFunction
) _wrap_wxLogStatus
, METH_VARARGS
| METH_KEYWORDS
},
10108 { "wxLogVerbose", (PyCFunction
) _wrap_wxLogVerbose
, METH_VARARGS
| METH_KEYWORDS
},
10109 { "wxLogInfo", (PyCFunction
) _wrap_wxLogInfo
, METH_VARARGS
| METH_KEYWORDS
},
10110 { "wxLogMessage", (PyCFunction
) _wrap_wxLogMessage
, METH_VARARGS
| METH_KEYWORDS
},
10111 { "wxLogWarning", (PyCFunction
) _wrap_wxLogWarning
, METH_VARARGS
| METH_KEYWORDS
},
10112 { "wxLogError", (PyCFunction
) _wrap_wxLogError
, METH_VARARGS
| METH_KEYWORDS
},
10113 { "wxLogFatalError", (PyCFunction
) _wrap_wxLogFatalError
, METH_VARARGS
| METH_KEYWORDS
},
10114 { "wxSysErrorMsg", (PyCFunction
) _wrap_wxSysErrorMsg
, METH_VARARGS
| METH_KEYWORDS
},
10115 { "wxSysErrorCode", (PyCFunction
) _wrap_wxSysErrorCode
, METH_VARARGS
| METH_KEYWORDS
},
10116 { "wxCreateFileTipProvider", (PyCFunction
) _wrap_wxCreateFileTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
10117 { "wxShowTip", (PyCFunction
) _wrap_wxShowTip
, METH_VARARGS
| METH_KEYWORDS
},
10118 { "wxThread_IsMain", (PyCFunction
) _wrap_wxThread_IsMain
, METH_VARARGS
| METH_KEYWORDS
},
10119 { "wxMutexGuiLeave", (PyCFunction
) _wrap_wxMutexGuiLeave
, METH_VARARGS
| METH_KEYWORDS
},
10120 { "wxMutexGuiEnter", (PyCFunction
) _wrap_wxMutexGuiEnter
, METH_VARARGS
| METH_KEYWORDS
},
10121 { "wxWakeUpMainThread", (PyCFunction
) _wrap_wxWakeUpMainThread
, METH_VARARGS
| METH_KEYWORDS
},
10122 { "wxWakeUpIdle", (PyCFunction
) _wrap_wxWakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
},
10123 { "wxPostEvent", (PyCFunction
) _wrap_wxPostEvent
, METH_VARARGS
| METH_KEYWORDS
},
10124 { "wxSafeYield", (PyCFunction
) _wrap_wxSafeYield
, METH_VARARGS
| METH_KEYWORDS
},
10125 { "wxCaret_SetBlinkTime", (PyCFunction
) _wrap_wxCaret_SetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
},
10126 { "wxCaret_GetBlinkTime", (PyCFunction
) _wrap_wxCaret_GetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
},
10127 { "wxResourceParseString", (PyCFunction
) _wrap_wxResourceParseString
, METH_VARARGS
| METH_KEYWORDS
},
10128 { "wxResourceParseFile", (PyCFunction
) _wrap_wxResourceParseFile
, METH_VARARGS
| METH_KEYWORDS
},
10129 { "wxResourceParseData", (PyCFunction
) _wrap_wxResourceParseData
, METH_VARARGS
| METH_KEYWORDS
},
10130 { "wxResourceGetIdentifier", (PyCFunction
) _wrap_wxResourceGetIdentifier
, METH_VARARGS
| METH_KEYWORDS
},
10131 { "wxResourceCreateMenuBar", (PyCFunction
) _wrap_wxResourceCreateMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
10132 { "wxResourceCreateIcon", (PyCFunction
) _wrap_wxResourceCreateIcon
, METH_VARARGS
| METH_KEYWORDS
},
10133 { "wxResourceCreateBitmap", (PyCFunction
) _wrap_wxResourceCreateBitmap
, METH_VARARGS
| METH_KEYWORDS
},
10134 { "wxResourceClear", (PyCFunction
) _wrap_wxResourceClear
, METH_VARARGS
| METH_KEYWORDS
},
10135 { "wxResourceAddIdentifier", (PyCFunction
) _wrap_wxResourceAddIdentifier
, METH_VARARGS
| METH_KEYWORDS
},
10136 { "wxGetTopLevelParent", (PyCFunction
) _wrap_wxGetTopLevelParent
, METH_VARARGS
| METH_KEYWORDS
},
10137 { "wxFlushEvents", (PyCFunction
) _wrap_wxFlushEvents
, METH_VARARGS
| METH_KEYWORDS
},
10138 { "wxCheckForInterrupt", (PyCFunction
) _wrap_wxCheckForInterrupt
, METH_VARARGS
| METH_KEYWORDS
},
10139 { "wxFindWindowAtPoint", (PyCFunction
) _wrap_wxFindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
},
10140 { "wxGenericFindWindowAtPoint", (PyCFunction
) _wrap_wxGenericFindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
},
10141 { "wxGetActiveWindow", (PyCFunction
) _wrap_wxGetActiveWindow
, METH_VARARGS
| METH_KEYWORDS
},
10142 { "wxBeginBusyCursor", (PyCFunction
) _wrap_wxBeginBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
10143 { "wxSetCursor", (PyCFunction
) _wrap_wxSetCursor
, METH_VARARGS
| METH_KEYWORDS
},
10144 { "wxGetClientDisplayRect", (PyCFunction
) _wrap_wxGetClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
},
10145 { "wxClientDisplayRect", (PyCFunction
) _wrap_wxClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
},
10146 { "wxGetDisplaySizeMM", (PyCFunction
) _wrap_wxGetDisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
},
10147 { "wxDisplaySizeMM", (PyCFunction
) _wrap_wxDisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
},
10148 { "wxGetDisplaySize", (PyCFunction
) _wrap_wxGetDisplaySize
, METH_VARARGS
| METH_KEYWORDS
},
10149 { "wxDisplaySize", (PyCFunction
) _wrap_wxDisplaySize
, METH_VARARGS
| METH_KEYWORDS
},
10150 { "wxGetDisplayDepth", (PyCFunction
) _wrap_wxGetDisplayDepth
, METH_VARARGS
| METH_KEYWORDS
},
10151 { "wxDisplayDepth", (PyCFunction
) _wrap_wxDisplayDepth
, METH_VARARGS
| METH_KEYWORDS
},
10152 { "wxColourDisplay", (PyCFunction
) _wrap_wxColourDisplay
, METH_VARARGS
| METH_KEYWORDS
},
10153 { "wxGetNumberFromUser", (PyCFunction
) _wrap_wxGetNumberFromUser
, METH_VARARGS
| METH_KEYWORDS
},
10154 { "wxMessageBox", (PyCFunction
) _wrap_wxMessageBox
, METH_VARARGS
| METH_KEYWORDS
},
10155 { "wxGetSingleChoiceIndex", (PyCFunction
) _wrap_wxGetSingleChoiceIndex
, METH_VARARGS
| METH_KEYWORDS
},
10156 { "wxGetSingleChoice", (PyCFunction
) _wrap_wxGetSingleChoice
, METH_VARARGS
| METH_KEYWORDS
},
10157 { "wxGetPasswordFromUser", (PyCFunction
) _wrap_wxGetPasswordFromUser
, METH_VARARGS
| METH_KEYWORDS
},
10158 { "wxGetTextFromUser", (PyCFunction
) _wrap_wxGetTextFromUser
, METH_VARARGS
| METH_KEYWORDS
},
10159 { "wxDirSelector", (PyCFunction
) _wrap_wxDirSelector
, METH_VARARGS
| METH_KEYWORDS
},
10160 { "wxSaveFileSelector", (PyCFunction
) _wrap_wxSaveFileSelector
, METH_VARARGS
| METH_KEYWORDS
},
10161 { "wxLoadFileSelector", (PyCFunction
) _wrap_wxLoadFileSelector
, METH_VARARGS
| METH_KEYWORDS
},
10162 { "wxFileSelector", (PyCFunction
) _wrap_wxFileSelector
, METH_VARARGS
| METH_KEYWORDS
},
10169 * This table is used by the pointer type-checker
10171 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
10172 { "_wxEvent","_wxProcessEvent",SwigwxProcessEventTowxEvent
},
10173 { "_signed_long","_long",0},
10174 { "_wxPrintQuality","_wxCoord",0},
10175 { "_wxPrintQuality","_int",0},
10176 { "_wxPrintQuality","_signed_int",0},
10177 { "_wxPrintQuality","_unsigned_int",0},
10178 { "_wxPrintQuality","_wxWindowID",0},
10179 { "_wxPrintQuality","_uint",0},
10180 { "_wxPrintQuality","_EBool",0},
10181 { "_wxPrintQuality","_size_t",0},
10182 { "_wxPrintQuality","_time_t",0},
10183 { "_wxLog","_wxPyLog",SwigwxPyLogTowxLog
},
10184 { "_wxLog","_wxLogChain",SwigwxLogChainTowxLog
},
10185 { "_wxLog","_wxLogWindow",SwigwxLogWindowTowxLog
},
10186 { "_wxLog","_wxLogGui",SwigwxLogGuiTowxLog
},
10187 { "_wxLog","_wxLogTextCtrl",SwigwxLogTextCtrlTowxLog
},
10188 { "_wxLog","_wxLogStderr",SwigwxLogStderrTowxLog
},
10189 { "_byte","_unsigned_char",0},
10190 { "_long","_unsigned_long",0},
10191 { "_long","_signed_long",0},
10192 { "_size_t","_wxCoord",0},
10193 { "_size_t","_wxPrintQuality",0},
10194 { "_size_t","_time_t",0},
10195 { "_size_t","_unsigned_int",0},
10196 { "_size_t","_int",0},
10197 { "_size_t","_wxWindowID",0},
10198 { "_size_t","_uint",0},
10199 { "_uint","_wxCoord",0},
10200 { "_uint","_wxPrintQuality",0},
10201 { "_uint","_time_t",0},
10202 { "_uint","_size_t",0},
10203 { "_uint","_unsigned_int",0},
10204 { "_uint","_int",0},
10205 { "_uint","_wxWindowID",0},
10206 { "_wxChar","_char",0},
10207 { "_char","_wxChar",0},
10208 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
10209 { "_EBool","_wxCoord",0},
10210 { "_EBool","_wxPrintQuality",0},
10211 { "_EBool","_signed_int",0},
10212 { "_EBool","_int",0},
10213 { "_EBool","_wxWindowID",0},
10214 { "_unsigned_long","_long",0},
10215 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
10216 { "_signed_int","_wxCoord",0},
10217 { "_signed_int","_wxPrintQuality",0},
10218 { "_signed_int","_EBool",0},
10219 { "_signed_int","_wxWindowID",0},
10220 { "_signed_int","_int",0},
10221 { "_WXTYPE","_wxDateTime_t",0},
10222 { "_WXTYPE","_short",0},
10223 { "_WXTYPE","_signed_short",0},
10224 { "_WXTYPE","_unsigned_short",0},
10225 { "_wxTipProvider","_wxPyTipProvider",SwigwxPyTipProviderTowxTipProvider
},
10226 { "_unsigned_short","_wxDateTime_t",0},
10227 { "_unsigned_short","_WXTYPE",0},
10228 { "_unsigned_short","_short",0},
10229 { "_wxObject","_wxFileHistory",SwigwxFileHistoryTowxObject
},
10230 { "_wxObject","_wxWave",SwigwxWaveTowxObject
},
10231 { "_wxObject","_wxJoystick",SwigwxJoystickTowxObject
},
10232 { "_wxObject","_wxPyProcess",SwigwxPyProcessTowxObject
},
10233 { "_wxObject","_wxProcessEvent",SwigwxProcessEventTowxObject
},
10234 { "_wxObject","_wxPyTimer",SwigwxPyTimerTowxObject
},
10235 { "_wxObject","_wxGenericDragImage",SwigwxGenericDragImageTowxObject
},
10236 { "_wxObject","_wxToolTip",SwigwxToolTipTowxObject
},
10237 { "_signed_short","_WXTYPE",0},
10238 { "_signed_short","_short",0},
10239 { "_unsigned_char","_byte",0},
10240 { "_unsigned_int","_wxCoord",0},
10241 { "_unsigned_int","_wxPrintQuality",0},
10242 { "_unsigned_int","_time_t",0},
10243 { "_unsigned_int","_size_t",0},
10244 { "_unsigned_int","_uint",0},
10245 { "_unsigned_int","_wxWindowID",0},
10246 { "_unsigned_int","_int",0},
10247 { "_short","_wxDateTime_t",0},
10248 { "_short","_WXTYPE",0},
10249 { "_short","_unsigned_short",0},
10250 { "_short","_signed_short",0},
10251 { "_wxWindowID","_wxCoord",0},
10252 { "_wxWindowID","_wxPrintQuality",0},
10253 { "_wxWindowID","_time_t",0},
10254 { "_wxWindowID","_size_t",0},
10255 { "_wxWindowID","_EBool",0},
10256 { "_wxWindowID","_uint",0},
10257 { "_wxWindowID","_int",0},
10258 { "_wxWindowID","_signed_int",0},
10259 { "_wxWindowID","_unsigned_int",0},
10260 { "_int","_wxCoord",0},
10261 { "_int","_wxPrintQuality",0},
10262 { "_int","_time_t",0},
10263 { "_int","_size_t",0},
10264 { "_int","_EBool",0},
10265 { "_int","_uint",0},
10266 { "_int","_wxWindowID",0},
10267 { "_int","_unsigned_int",0},
10268 { "_int","_signed_int",0},
10269 { "_wxDateTime_t","_unsigned_short",0},
10270 { "_wxDateTime_t","_short",0},
10271 { "_wxDateTime_t","_WXTYPE",0},
10272 { "_time_t","_wxCoord",0},
10273 { "_time_t","_wxPrintQuality",0},
10274 { "_time_t","_unsigned_int",0},
10275 { "_time_t","_int",0},
10276 { "_time_t","_wxWindowID",0},
10277 { "_time_t","_uint",0},
10278 { "_time_t","_size_t",0},
10279 { "_wxCoord","_int",0},
10280 { "_wxCoord","_signed_int",0},
10281 { "_wxCoord","_unsigned_int",0},
10282 { "_wxCoord","_wxWindowID",0},
10283 { "_wxCoord","_uint",0},
10284 { "_wxCoord","_EBool",0},
10285 { "_wxCoord","_size_t",0},
10286 { "_wxCoord","_time_t",0},
10287 { "_wxCoord","_wxPrintQuality",0},
10288 { "_wxEvtHandler","_wxPyProcess",SwigwxPyProcessTowxEvtHandler
},
10291 static PyObject
*SWIG_globals
;
10295 SWIGEXPORT(void) initmisc2c() {
10297 SWIG_globals
= SWIG_newvarlink();
10298 m
= Py_InitModule("misc2c", misc2cMethods
);
10299 d
= PyModule_GetDict(m
);
10300 PyDict_SetItemString(d
,"wxSYS_OEM_FIXED_FONT", PyInt_FromLong((long) wxSYS_OEM_FIXED_FONT
));
10301 PyDict_SetItemString(d
,"wxSYS_ANSI_FIXED_FONT", PyInt_FromLong((long) wxSYS_ANSI_FIXED_FONT
));
10302 PyDict_SetItemString(d
,"wxSYS_ANSI_VAR_FONT", PyInt_FromLong((long) wxSYS_ANSI_VAR_FONT
));
10303 PyDict_SetItemString(d
,"wxSYS_SYSTEM_FONT", PyInt_FromLong((long) wxSYS_SYSTEM_FONT
));
10304 PyDict_SetItemString(d
,"wxSYS_DEVICE_DEFAULT_FONT", PyInt_FromLong((long) wxSYS_DEVICE_DEFAULT_FONT
));
10305 PyDict_SetItemString(d
,"wxSYS_DEFAULT_PALETTE", PyInt_FromLong((long) wxSYS_DEFAULT_PALETTE
));
10306 PyDict_SetItemString(d
,"wxSYS_SYSTEM_FIXED_FONT", PyInt_FromLong((long) wxSYS_SYSTEM_FIXED_FONT
));
10307 PyDict_SetItemString(d
,"wxSYS_DEFAULT_GUI_FONT", PyInt_FromLong((long) wxSYS_DEFAULT_GUI_FONT
));
10308 PyDict_SetItemString(d
,"wxSYS_COLOUR_SCROLLBAR", PyInt_FromLong((long) wxSYS_COLOUR_SCROLLBAR
));
10309 PyDict_SetItemString(d
,"wxSYS_COLOUR_BACKGROUND", PyInt_FromLong((long) wxSYS_COLOUR_BACKGROUND
));
10310 PyDict_SetItemString(d
,"wxSYS_COLOUR_DESKTOP", PyInt_FromLong((long) wxSYS_COLOUR_DESKTOP
));
10311 PyDict_SetItemString(d
,"wxSYS_COLOUR_ACTIVECAPTION", PyInt_FromLong((long) wxSYS_COLOUR_ACTIVECAPTION
));
10312 PyDict_SetItemString(d
,"wxSYS_COLOUR_INACTIVECAPTION", PyInt_FromLong((long) wxSYS_COLOUR_INACTIVECAPTION
));
10313 PyDict_SetItemString(d
,"wxSYS_COLOUR_MENU", PyInt_FromLong((long) wxSYS_COLOUR_MENU
));
10314 PyDict_SetItemString(d
,"wxSYS_COLOUR_WINDOW", PyInt_FromLong((long) wxSYS_COLOUR_WINDOW
));
10315 PyDict_SetItemString(d
,"wxSYS_COLOUR_WINDOWFRAME", PyInt_FromLong((long) wxSYS_COLOUR_WINDOWFRAME
));
10316 PyDict_SetItemString(d
,"wxSYS_COLOUR_MENUTEXT", PyInt_FromLong((long) wxSYS_COLOUR_MENUTEXT
));
10317 PyDict_SetItemString(d
,"wxSYS_COLOUR_WINDOWTEXT", PyInt_FromLong((long) wxSYS_COLOUR_WINDOWTEXT
));
10318 PyDict_SetItemString(d
,"wxSYS_COLOUR_CAPTIONTEXT", PyInt_FromLong((long) wxSYS_COLOUR_CAPTIONTEXT
));
10319 PyDict_SetItemString(d
,"wxSYS_COLOUR_ACTIVEBORDER", PyInt_FromLong((long) wxSYS_COLOUR_ACTIVEBORDER
));
10320 PyDict_SetItemString(d
,"wxSYS_COLOUR_INACTIVEBORDER", PyInt_FromLong((long) wxSYS_COLOUR_INACTIVEBORDER
));
10321 PyDict_SetItemString(d
,"wxSYS_COLOUR_APPWORKSPACE", PyInt_FromLong((long) wxSYS_COLOUR_APPWORKSPACE
));
10322 PyDict_SetItemString(d
,"wxSYS_COLOUR_HIGHLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_HIGHLIGHT
));
10323 PyDict_SetItemString(d
,"wxSYS_COLOUR_HIGHLIGHTTEXT", PyInt_FromLong((long) wxSYS_COLOUR_HIGHLIGHTTEXT
));
10324 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNFACE", PyInt_FromLong((long) wxSYS_COLOUR_BTNFACE
));
10325 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DFACE", PyInt_FromLong((long) wxSYS_COLOUR_3DFACE
));
10326 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNSHADOW", PyInt_FromLong((long) wxSYS_COLOUR_BTNSHADOW
));
10327 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DSHADOW", PyInt_FromLong((long) wxSYS_COLOUR_3DSHADOW
));
10328 PyDict_SetItemString(d
,"wxSYS_COLOUR_GRAYTEXT", PyInt_FromLong((long) wxSYS_COLOUR_GRAYTEXT
));
10329 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNTEXT", PyInt_FromLong((long) wxSYS_COLOUR_BTNTEXT
));
10330 PyDict_SetItemString(d
,"wxSYS_COLOUR_INACTIVECAPTIONTEXT", PyInt_FromLong((long) wxSYS_COLOUR_INACTIVECAPTIONTEXT
));
10331 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNHIGHLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_BTNHIGHLIGHT
));
10332 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNHILIGHT", PyInt_FromLong((long) wxSYS_COLOUR_BTNHILIGHT
));
10333 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DHIGHLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_3DHIGHLIGHT
));
10334 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DHILIGHT", PyInt_FromLong((long) wxSYS_COLOUR_3DHILIGHT
));
10335 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DDKSHADOW", PyInt_FromLong((long) wxSYS_COLOUR_3DDKSHADOW
));
10336 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_3DLIGHT
));
10337 PyDict_SetItemString(d
,"wxSYS_COLOUR_INFOTEXT", PyInt_FromLong((long) wxSYS_COLOUR_INFOTEXT
));
10338 PyDict_SetItemString(d
,"wxSYS_COLOUR_INFOBK", PyInt_FromLong((long) wxSYS_COLOUR_INFOBK
));
10339 PyDict_SetItemString(d
,"wxSYS_COLOUR_LISTBOX", PyInt_FromLong((long) wxSYS_COLOUR_LISTBOX
));
10340 PyDict_SetItemString(d
,"wxSYS_COLOUR_HOTLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_HOTLIGHT
));
10341 PyDict_SetItemString(d
,"wxSYS_COLOUR_GRADIENTACTIVECAPTION", PyInt_FromLong((long) wxSYS_COLOUR_GRADIENTACTIVECAPTION
));
10342 PyDict_SetItemString(d
,"wxSYS_COLOUR_GRADIENTINACTIVECAPTION", PyInt_FromLong((long) wxSYS_COLOUR_GRADIENTINACTIVECAPTION
));
10343 PyDict_SetItemString(d
,"wxSYS_COLOUR_MENUHILIGHT", PyInt_FromLong((long) wxSYS_COLOUR_MENUHILIGHT
));
10344 PyDict_SetItemString(d
,"wxSYS_COLOUR_MENUBAR", PyInt_FromLong((long) wxSYS_COLOUR_MENUBAR
));
10345 PyDict_SetItemString(d
,"wxSYS_COLOUR_MAX", PyInt_FromLong((long) wxSYS_COLOUR_MAX
));
10346 PyDict_SetItemString(d
,"wxSYS_MOUSE_BUTTONS", PyInt_FromLong((long) wxSYS_MOUSE_BUTTONS
));
10347 PyDict_SetItemString(d
,"wxSYS_BORDER_X", PyInt_FromLong((long) wxSYS_BORDER_X
));
10348 PyDict_SetItemString(d
,"wxSYS_BORDER_Y", PyInt_FromLong((long) wxSYS_BORDER_Y
));
10349 PyDict_SetItemString(d
,"wxSYS_CURSOR_X", PyInt_FromLong((long) wxSYS_CURSOR_X
));
10350 PyDict_SetItemString(d
,"wxSYS_CURSOR_Y", PyInt_FromLong((long) wxSYS_CURSOR_Y
));
10351 PyDict_SetItemString(d
,"wxSYS_DCLICK_X", PyInt_FromLong((long) wxSYS_DCLICK_X
));
10352 PyDict_SetItemString(d
,"wxSYS_DCLICK_Y", PyInt_FromLong((long) wxSYS_DCLICK_Y
));
10353 PyDict_SetItemString(d
,"wxSYS_DRAG_X", PyInt_FromLong((long) wxSYS_DRAG_X
));
10354 PyDict_SetItemString(d
,"wxSYS_DRAG_Y", PyInt_FromLong((long) wxSYS_DRAG_Y
));
10355 PyDict_SetItemString(d
,"wxSYS_EDGE_X", PyInt_FromLong((long) wxSYS_EDGE_X
));
10356 PyDict_SetItemString(d
,"wxSYS_EDGE_Y", PyInt_FromLong((long) wxSYS_EDGE_Y
));
10357 PyDict_SetItemString(d
,"wxSYS_HSCROLL_ARROW_X", PyInt_FromLong((long) wxSYS_HSCROLL_ARROW_X
));
10358 PyDict_SetItemString(d
,"wxSYS_HSCROLL_ARROW_Y", PyInt_FromLong((long) wxSYS_HSCROLL_ARROW_Y
));
10359 PyDict_SetItemString(d
,"wxSYS_HTHUMB_X", PyInt_FromLong((long) wxSYS_HTHUMB_X
));
10360 PyDict_SetItemString(d
,"wxSYS_ICON_X", PyInt_FromLong((long) wxSYS_ICON_X
));
10361 PyDict_SetItemString(d
,"wxSYS_ICON_Y", PyInt_FromLong((long) wxSYS_ICON_Y
));
10362 PyDict_SetItemString(d
,"wxSYS_ICONSPACING_X", PyInt_FromLong((long) wxSYS_ICONSPACING_X
));
10363 PyDict_SetItemString(d
,"wxSYS_ICONSPACING_Y", PyInt_FromLong((long) wxSYS_ICONSPACING_Y
));
10364 PyDict_SetItemString(d
,"wxSYS_WINDOWMIN_X", PyInt_FromLong((long) wxSYS_WINDOWMIN_X
));
10365 PyDict_SetItemString(d
,"wxSYS_WINDOWMIN_Y", PyInt_FromLong((long) wxSYS_WINDOWMIN_Y
));
10366 PyDict_SetItemString(d
,"wxSYS_SCREEN_X", PyInt_FromLong((long) wxSYS_SCREEN_X
));
10367 PyDict_SetItemString(d
,"wxSYS_SCREEN_Y", PyInt_FromLong((long) wxSYS_SCREEN_Y
));
10368 PyDict_SetItemString(d
,"wxSYS_FRAMESIZE_X", PyInt_FromLong((long) wxSYS_FRAMESIZE_X
));
10369 PyDict_SetItemString(d
,"wxSYS_FRAMESIZE_Y", PyInt_FromLong((long) wxSYS_FRAMESIZE_Y
));
10370 PyDict_SetItemString(d
,"wxSYS_SMALLICON_X", PyInt_FromLong((long) wxSYS_SMALLICON_X
));
10371 PyDict_SetItemString(d
,"wxSYS_SMALLICON_Y", PyInt_FromLong((long) wxSYS_SMALLICON_Y
));
10372 PyDict_SetItemString(d
,"wxSYS_HSCROLL_Y", PyInt_FromLong((long) wxSYS_HSCROLL_Y
));
10373 PyDict_SetItemString(d
,"wxSYS_VSCROLL_X", PyInt_FromLong((long) wxSYS_VSCROLL_X
));
10374 PyDict_SetItemString(d
,"wxSYS_VSCROLL_ARROW_X", PyInt_FromLong((long) wxSYS_VSCROLL_ARROW_X
));
10375 PyDict_SetItemString(d
,"wxSYS_VSCROLL_ARROW_Y", PyInt_FromLong((long) wxSYS_VSCROLL_ARROW_Y
));
10376 PyDict_SetItemString(d
,"wxSYS_VTHUMB_Y", PyInt_FromLong((long) wxSYS_VTHUMB_Y
));
10377 PyDict_SetItemString(d
,"wxSYS_CAPTION_Y", PyInt_FromLong((long) wxSYS_CAPTION_Y
));
10378 PyDict_SetItemString(d
,"wxSYS_MENU_Y", PyInt_FromLong((long) wxSYS_MENU_Y
));
10379 PyDict_SetItemString(d
,"wxSYS_NETWORK_PRESENT", PyInt_FromLong((long) wxSYS_NETWORK_PRESENT
));
10380 PyDict_SetItemString(d
,"wxSYS_PENWINDOWS_PRESENT", PyInt_FromLong((long) wxSYS_PENWINDOWS_PRESENT
));
10381 PyDict_SetItemString(d
,"wxSYS_SHOW_SOUNDS", PyInt_FromLong((long) wxSYS_SHOW_SOUNDS
));
10382 PyDict_SetItemString(d
,"wxSYS_SWAP_BUTTONS", PyInt_FromLong((long) wxSYS_SWAP_BUTTONS
));
10383 PyDict_SetItemString(d
,"wxSYS_CAN_DRAW_FRAME_DECORATIONS", PyInt_FromLong((long) wxSYS_CAN_DRAW_FRAME_DECORATIONS
));
10384 PyDict_SetItemString(d
,"wxSYS_CAN_ICONIZE_FRAME", PyInt_FromLong((long) wxSYS_CAN_ICONIZE_FRAME
));
10385 PyDict_SetItemString(d
,"wxSYS_SCREEN_NONE", PyInt_FromLong((long) wxSYS_SCREEN_NONE
));
10386 PyDict_SetItemString(d
,"wxSYS_SCREEN_TINY", PyInt_FromLong((long) wxSYS_SCREEN_TINY
));
10387 PyDict_SetItemString(d
,"wxSYS_SCREEN_PDA", PyInt_FromLong((long) wxSYS_SCREEN_PDA
));
10388 PyDict_SetItemString(d
,"wxSYS_SCREEN_SMALL", PyInt_FromLong((long) wxSYS_SCREEN_SMALL
));
10389 PyDict_SetItemString(d
,"wxSYS_SCREEN_DESKTOP", PyInt_FromLong((long) wxSYS_SCREEN_DESKTOP
));
10390 PyDict_SetItemString(d
,"wxLOG_FatalError", PyInt_FromLong((long) wxLOG_FatalError
));
10391 PyDict_SetItemString(d
,"wxLOG_Error", PyInt_FromLong((long) wxLOG_Error
));
10392 PyDict_SetItemString(d
,"wxLOG_Warning", PyInt_FromLong((long) wxLOG_Warning
));
10393 PyDict_SetItemString(d
,"wxLOG_Message", PyInt_FromLong((long) wxLOG_Message
));
10394 PyDict_SetItemString(d
,"wxLOG_Info", PyInt_FromLong((long) wxLOG_Info
));
10395 PyDict_SetItemString(d
,"wxLOG_Status", PyInt_FromLong((long) wxLOG_Status
));
10396 PyDict_SetItemString(d
,"wxLOG_Debug", PyInt_FromLong((long) wxLOG_Debug
));
10397 PyDict_SetItemString(d
,"wxLOG_Trace", PyInt_FromLong((long) wxLOG_Trace
));
10398 PyDict_SetItemString(d
,"wxLOG_Progress", PyInt_FromLong((long) wxLOG_Progress
));
10399 PyDict_SetItemString(d
,"wxLOG_User", PyInt_FromLong((long) wxLOG_User
));
10400 PyDict_SetItemString(d
,"wxEVT_END_PROCESS", PyInt_FromLong((long) wxEVT_END_PROCESS
));
10401 PyDict_SetItemString(d
,"wxEXEC_ASYNC", PyInt_FromLong((long) wxEXEC_ASYNC
));
10402 PyDict_SetItemString(d
,"wxEXEC_SYNC", PyInt_FromLong((long) wxEXEC_SYNC
));
10403 PyDict_SetItemString(d
,"wxEXEC_NOHIDE", PyInt_FromLong((long) wxEXEC_NOHIDE
));
10404 PyDict_SetItemString(d
,"wxEXEC_MAKE_GROUP_LEADER", PyInt_FromLong((long) wxEXEC_MAKE_GROUP_LEADER
));
10405 PyDict_SetItemString(d
,"wxMAILCAP_STANDARD", PyInt_FromLong((long) wxMAILCAP_STANDARD
));
10406 PyDict_SetItemString(d
,"wxMAILCAP_NETSCAPE", PyInt_FromLong((long) wxMAILCAP_NETSCAPE
));
10407 PyDict_SetItemString(d
,"wxMAILCAP_KDE", PyInt_FromLong((long) wxMAILCAP_KDE
));
10408 PyDict_SetItemString(d
,"wxMAILCAP_GNOME", PyInt_FromLong((long) wxMAILCAP_GNOME
));
10409 PyDict_SetItemString(d
,"wxMAILCAP_ALL", PyInt_FromLong((long) wxMAILCAP_ALL
));
10410 PyDict_SetItemString(d
,"cvar", SWIG_globals
);
10411 SWIG_addvarlink(SWIG_globals
,"wxTheMimeTypesManager",_wrap_wxTheMimeTypesManager_get
, _wrap_wxTheMimeTypesManager_set
);
10413 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
10414 wxPyPtrTypeMap_Add("wxProcess", "wxPyProcess");
10417 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
10418 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);