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 <wx/resource.h>
60 #include <wx/tooltip.h>
62 #include <wx/fontenum.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 #if PYTHON_API_VERSION >= 1009
104 static char* wxStringErrorMsg
= "String or Unicode type required";
106 static char* wxStringErrorMsg
= "String type required";
109 int wxCaret_GetBlinkTime() {
110 return wxCaret::GetBlinkTime();
113 void wxCaret_SetBlinkTime(int milliseconds
) {
114 wxCaret::SetBlinkTime(milliseconds
);
117 class wxPyFontEnumerator
: public wxFontEnumerator
{
119 wxPyFontEnumerator() {}
120 ~wxPyFontEnumerator() {}
122 DEC_PYCALLBACK_BOOL_STRING(OnFacename
);
123 DEC_PYCALLBACK_BOOL_STRINGSTRING(OnFontEncoding
);
128 IMP_PYCALLBACK_BOOL_STRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFacename
);
129 IMP_PYCALLBACK_BOOL_STRINGSTRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFontEncoding
);
132 bool wxThread_IsMain() {
133 #ifdef WXP_WITH_THREAD
134 return wxThread::IsMain();
140 class wxPyTipProvider
: public wxTipProvider
{
142 wxPyTipProvider(size_t currentTip
)
143 : wxTipProvider(currentTip
) {}
145 DEC_PYCALLBACK_STRING__pure(GetTip
);
150 IMP_PYCALLBACK_STRING__pure( wxPyTipProvider
, wxTipProvider
, GetTip
);
153 #include <wx/generic/dragimgg.h>
155 // A Log class that can be derived from in wxPython
156 class wxPyLog
: public wxLog
{
158 wxPyLog() : wxLog() {}
160 virtual void DoLog(wxLogLevel level
, const wxChar
*szString
, time_t t
) {
162 wxPyBeginBlockThreads();
163 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLog")))
164 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(isi)", level
, szString
, t
));
165 wxPyEndBlockThreads();
167 wxLog::DoLog(level
, szString
, t
);
170 virtual void DoLogString(const wxChar
*szString
, time_t t
) {
172 wxPyBeginBlockThreads();
173 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLogString")))
174 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(si)", szString
, t
));
175 wxPyEndBlockThreads();
177 wxLog::DoLogString(szString
, t
);
182 // C++ version of wxProcess derived class
184 class wxPyProcess
: public wxProcess
{
186 wxPyProcess(wxEvtHandler
*parent
= NULL
, int id
= -1)
187 : wxProcess(parent
, id
)
190 DEC_PYCALLBACK_VOID_INTINT(OnTerminate
);
195 IMP_PYCALLBACK_VOID_INTINT( wxPyProcess
, wxProcess
, OnTerminate
);
198 #if !wxUSE_JOYSTICK && !defined(__WXMSW__)
199 // A C++ stub class for wxJoystick for platforms that don't have it.
200 class wxJoystick
: public wxObject
{
202 wxJoystick(int joystick
= wxJOYSTICK1
) {
203 wxPyBeginBlockThreads();
204 PyErr_SetString(PyExc_NotImplementedError
, "wxJoystick is not available on this platform.");
205 wxPyEndBlockThreads();
207 wxPoint
GetPosition() { return wxPoint(-1,-1); }
208 int GetZPosition() { return -1; }
209 int GetButtonState() { return -1; }
210 int GetPOVPosition() { return -1; }
211 int GetPOVCTSPosition() { return -1; }
212 int GetRudderPosition() { return -1; }
213 int GetUPosition() { return -1; }
214 int GetVPosition() { return -1; }
215 int GetMovementThreshold() { return -1; }
216 void SetMovementThreshold(int threshold
) {}
218 bool IsOk(void) { return FALSE
; }
219 int GetNumberJoysticks() { return -1; }
220 int GetManufacturerId() { return -1; }
221 int GetProductId() { return -1; }
222 wxString
GetProductName() { return ""; }
223 int GetXMin() { return -1; }
224 int GetYMin() { return -1; }
225 int GetZMin() { return -1; }
226 int GetXMax() { return -1; }
227 int GetYMax() { return -1; }
228 int GetZMax() { return -1; }
229 int GetNumberButtons() { return -1; }
230 int GetNumberAxes() { return -1; }
231 int GetMaxButtons() { return -1; }
232 int GetMaxAxes() { return -1; }
233 int GetPollingMin() { return -1; }
234 int GetPollingMax() { return -1; }
235 int GetRudderMin() { return -1; }
236 int GetRudderMax() { return -1; }
237 int GetUMin() { return -1; }
238 int GetUMax() { return -1; }
239 int GetVMin() { return -1; }
240 int GetVMax() { return -1; }
242 bool HasRudder() { return FALSE
; }
243 bool HasZ() { return FALSE
; }
244 bool HasU() { return FALSE
; }
245 bool HasV() { return FALSE
; }
246 bool HasPOV() { return FALSE
; }
247 bool HasPOV4Dir() { return FALSE
; }
248 bool HasPOVCTS() { return FALSE
; }
250 bool SetCapture(wxWindow
* win
, int pollingFreq
= 0) { return FALSE
; }
251 bool ReleaseCapture() { return FALSE
; }
256 // A C++ stub class for wxWave for platforms that don't have it.
257 class wxWave
: public wxObject
260 wxWave(const wxString
& fileName
, bool isResource
= FALSE
) {
261 wxPyBeginBlockThreads();
262 PyErr_SetString(PyExc_NotImplementedError
, "wxWave is not available on this platform.");
263 wxPyEndBlockThreads();
265 wxWave(int size
, const wxByte
* data
) {
266 wxPyBeginBlockThreads();
267 PyErr_SetString(PyExc_NotImplementedError
, "wxWave is not available on this platform.");
268 wxPyEndBlockThreads();
273 bool IsOk() const { return FALSE
; }
274 bool Play(bool async
= TRUE
, bool looped
= FALSE
) const { return FALSE
; }
278 // Implementations of some alternate "constructors"
279 wxWave
* wxWaveData(const wxString
& data
) {
280 return new wxWave(data
.Len(), (wxByte
*)data
.c_str());
284 extern wxMimeTypesManager
* wxTheMimeTypesManager
;
288 #include <wx/docview.h>
292 static PyObject
*_wrap_wxFileSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
293 PyObject
* _resultobj
;
296 char * _arg1
= (char *) NULL
;
297 char * _arg2
= (char *) NULL
;
298 char * _arg3
= (char *) NULL
;
299 char * _arg4
= (char *) "*.*";
300 int _arg5
= (int ) 0;
301 wxWindow
* _arg6
= (wxWindow
*) NULL
;
302 int _arg7
= (int ) -1;
303 int _arg8
= (int ) -1;
304 PyObject
* _argo6
= 0;
305 char *_kwnames
[] = { "message","default_path","default_filename","default_extension","wildcard","flags","parent","x","y", NULL
};
308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s|ssssiOii:wxFileSelector",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_argo6
,&_arg7
,&_arg8
))
311 if (_argo6
== Py_None
) { _arg6
= NULL
; }
312 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxWindow_p")) {
313 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxFileSelector. Expected _wxWindow_p.");
318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
319 _result
= new wxString (wxFileSelector(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
,_arg8
));
321 wxPyEndAllowThreads(__tstate
);
322 if (PyErr_Occurred()) return NULL
;
324 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
332 static PyObject
*_wrap_wxGetTextFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
333 PyObject
* _resultobj
;
336 wxString
* _arg1
= (wxString
*) &wxEmptyString
;
337 wxString
* _arg2
= (wxString
*) &wxEmptyString
;
338 wxWindow
* _arg3
= (wxWindow
*) NULL
;
339 int _arg4
= (int ) -1;
340 int _arg5
= (int ) -1;
341 bool _arg6
= (bool ) TRUE
;
342 PyObject
* _obj0
= 0;
343 PyObject
* _obj1
= 0;
344 PyObject
* _obj2
= 0;
345 PyObject
* _argo3
= 0;
346 int tempbool6
= (int) TRUE
;
347 char *_kwnames
[] = { "message","caption","default_value","parent","x","y","centre", NULL
};
350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|OOOiii:wxGetTextFromUser",_kwnames
,&_obj0
,&_obj1
,&_obj2
,&_argo3
,&_arg4
,&_arg5
,&tempbool6
))
353 #if PYTHON_API_VERSION >= 1009
354 char* tmpPtr
; int tmpSize
;
355 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
356 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
359 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
361 _arg0
= new wxString(tmpPtr
, tmpSize
);
363 if (!PyString_Check(_obj0
)) {
364 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
367 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
372 #if PYTHON_API_VERSION >= 1009
373 char* tmpPtr
; int tmpSize
;
374 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
375 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
378 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
380 _arg1
= new wxString(tmpPtr
, tmpSize
);
382 if (!PyString_Check(_obj1
)) {
383 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
386 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
391 #if PYTHON_API_VERSION >= 1009
392 char* tmpPtr
; int tmpSize
;
393 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
394 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
397 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
399 _arg2
= new wxString(tmpPtr
, tmpSize
);
401 if (!PyString_Check(_obj2
)) {
402 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
405 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
409 if (_argo3
== Py_None
) { _arg3
= NULL
; }
410 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxWindow_p")) {
411 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGetTextFromUser. Expected _wxWindow_p.");
415 _arg6
= (bool ) tempbool6
;
417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
418 _result
= new wxString (wxGetTextFromUser(*_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
,_arg6
));
420 wxPyEndAllowThreads(__tstate
);
421 if (PyErr_Occurred()) return NULL
;
423 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
443 static PyObject
*_wrap_wxGetPasswordFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
444 PyObject
* _resultobj
;
447 wxString
* _arg1
= (wxString
*) &wxEmptyString
;
448 wxString
* _arg2
= (wxString
*) &wxEmptyString
;
449 wxWindow
* _arg3
= (wxWindow
*) NULL
;
450 PyObject
* _obj0
= 0;
451 PyObject
* _obj1
= 0;
452 PyObject
* _obj2
= 0;
453 PyObject
* _argo3
= 0;
454 char *_kwnames
[] = { "message","caption","default_value","parent", NULL
};
457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|OOO:wxGetPasswordFromUser",_kwnames
,&_obj0
,&_obj1
,&_obj2
,&_argo3
))
460 #if PYTHON_API_VERSION >= 1009
461 char* tmpPtr
; int tmpSize
;
462 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
463 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
466 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
468 _arg0
= new wxString(tmpPtr
, tmpSize
);
470 if (!PyString_Check(_obj0
)) {
471 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
474 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
479 #if PYTHON_API_VERSION >= 1009
480 char* tmpPtr
; int tmpSize
;
481 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
482 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
485 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
487 _arg1
= new wxString(tmpPtr
, tmpSize
);
489 if (!PyString_Check(_obj1
)) {
490 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
493 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
498 #if PYTHON_API_VERSION >= 1009
499 char* tmpPtr
; int tmpSize
;
500 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
501 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
504 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
506 _arg2
= new wxString(tmpPtr
, tmpSize
);
508 if (!PyString_Check(_obj2
)) {
509 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
512 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
516 if (_argo3
== Py_None
) { _arg3
= NULL
; }
517 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxWindow_p")) {
518 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGetPasswordFromUser. Expected _wxWindow_p.");
523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
524 _result
= new wxString (wxGetPasswordFromUser(*_arg0
,*_arg1
,*_arg2
,_arg3
));
526 wxPyEndAllowThreads(__tstate
);
527 if (PyErr_Occurred()) return NULL
;
529 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
549 static PyObject
*_wrap_wxGetSingleChoice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
550 PyObject
* _resultobj
;
556 wxWindow
* _arg4
= (wxWindow
*) NULL
;
557 int _arg5
= (int ) -1;
558 int _arg6
= (int ) -1;
559 bool _arg7
= (bool ) TRUE
;
560 int _arg8
= (int ) 150;
561 int _arg9
= (int ) 200;
562 PyObject
* _obj0
= 0;
563 PyObject
* _obj1
= 0;
564 PyObject
* _obj3
= 0;
565 PyObject
* _argo4
= 0;
566 int tempbool7
= (int) TRUE
;
567 char *_kwnames
[] = { "message","caption","choices","parent","x","y","centre","width","height", NULL
};
570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|Oiiiii:wxGetSingleChoice",_kwnames
,&_obj0
,&_obj1
,&_obj3
,&_argo4
,&_arg5
,&_arg6
,&tempbool7
,&_arg8
,&_arg9
))
573 #if PYTHON_API_VERSION >= 1009
574 char* tmpPtr
; int tmpSize
;
575 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
576 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
579 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
581 _arg0
= new wxString(tmpPtr
, tmpSize
);
583 if (!PyString_Check(_obj0
)) {
584 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
587 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
591 #if PYTHON_API_VERSION >= 1009
592 char* tmpPtr
; int tmpSize
;
593 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
594 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
597 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
599 _arg1
= new wxString(tmpPtr
, tmpSize
);
601 if (!PyString_Check(_obj1
)) {
602 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
605 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
610 _arg3
= wxString_LIST_helper(_obj3
);
616 if (_argo4
== Py_None
) { _arg4
= NULL
; }
617 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_wxWindow_p")) {
618 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxGetSingleChoice. Expected _wxWindow_p.");
622 _arg7
= (bool ) tempbool7
;
625 _arg2
= PyList_Size(_obj3
);
632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
633 _result
= new wxString (wxGetSingleChoice(*_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,_arg9
));
635 wxPyEndAllowThreads(__tstate
);
636 if (PyErr_Occurred()) return NULL
;
638 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
657 static PyObject
*_wrap_wxGetSingleChoiceIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
658 PyObject
* _resultobj
;
664 wxWindow
* _arg4
= (wxWindow
*) NULL
;
665 int _arg5
= (int ) -1;
666 int _arg6
= (int ) -1;
667 bool _arg7
= (bool ) TRUE
;
668 int _arg8
= (int ) 150;
669 int _arg9
= (int ) 200;
670 PyObject
* _obj0
= 0;
671 PyObject
* _obj1
= 0;
672 PyObject
* _obj3
= 0;
673 PyObject
* _argo4
= 0;
674 int tempbool7
= (int) TRUE
;
675 char *_kwnames
[] = { "message","caption","choices","parent","x","y","centre","width","height", NULL
};
678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|Oiiiii:wxGetSingleChoiceIndex",_kwnames
,&_obj0
,&_obj1
,&_obj3
,&_argo4
,&_arg5
,&_arg6
,&tempbool7
,&_arg8
,&_arg9
))
681 #if PYTHON_API_VERSION >= 1009
682 char* tmpPtr
; int tmpSize
;
683 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
684 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
687 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
689 _arg0
= new wxString(tmpPtr
, tmpSize
);
691 if (!PyString_Check(_obj0
)) {
692 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
695 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
699 #if PYTHON_API_VERSION >= 1009
700 char* tmpPtr
; int tmpSize
;
701 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
702 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
705 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
707 _arg1
= new wxString(tmpPtr
, tmpSize
);
709 if (!PyString_Check(_obj1
)) {
710 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
713 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
718 _arg3
= wxString_LIST_helper(_obj3
);
724 if (_argo4
== Py_None
) { _arg4
= NULL
; }
725 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_wxWindow_p")) {
726 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxGetSingleChoiceIndex. Expected _wxWindow_p.");
730 _arg7
= (bool ) tempbool7
;
733 _arg2
= PyList_Size(_obj3
);
740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
741 _result
= (int )wxGetSingleChoiceIndex(*_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,_arg9
);
743 wxPyEndAllowThreads(__tstate
);
744 if (PyErr_Occurred()) return NULL
;
745 } _resultobj
= Py_BuildValue("i",_result
);
760 static PyObject
*_wrap_wxMessageBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
761 PyObject
* _resultobj
;
764 wxString
* _arg1
= (wxString
*) &wxEmptyString
;
765 int _arg2
= (int ) wxOK
|wxCENTRE
;
766 wxWindow
* _arg3
= (wxWindow
*) NULL
;
767 int _arg4
= (int ) -1;
768 int _arg5
= (int ) -1;
769 PyObject
* _obj0
= 0;
770 PyObject
* _obj1
= 0;
771 PyObject
* _argo3
= 0;
772 char *_kwnames
[] = { "message","caption","style","parent","x","y", NULL
};
775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|OiOii:wxMessageBox",_kwnames
,&_obj0
,&_obj1
,&_arg2
,&_argo3
,&_arg4
,&_arg5
))
778 #if PYTHON_API_VERSION >= 1009
779 char* tmpPtr
; int tmpSize
;
780 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
781 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
784 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
786 _arg0
= new wxString(tmpPtr
, tmpSize
);
788 if (!PyString_Check(_obj0
)) {
789 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
792 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
797 #if PYTHON_API_VERSION >= 1009
798 char* tmpPtr
; int tmpSize
;
799 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
800 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
803 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
805 _arg1
= new wxString(tmpPtr
, tmpSize
);
807 if (!PyString_Check(_obj1
)) {
808 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
811 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
815 if (_argo3
== Py_None
) { _arg3
= NULL
; }
816 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxWindow_p")) {
817 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxMessageBox. Expected _wxWindow_p.");
822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
823 _result
= (int )wxMessageBox(*_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
825 wxPyEndAllowThreads(__tstate
);
826 if (PyErr_Occurred()) return NULL
;
827 } _resultobj
= Py_BuildValue("i",_result
);
839 static PyObject
*_wrap_wxGetNumberFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
840 PyObject
* _resultobj
;
846 long _arg4
= (long ) 0;
847 long _arg5
= (long ) 100;
848 wxWindow
* _arg6
= (wxWindow
*) NULL
;
849 wxPoint
* _arg7
= (wxPoint
*) &wxDefaultPosition
;
850 PyObject
* _obj0
= 0;
851 PyObject
* _obj1
= 0;
852 PyObject
* _obj2
= 0;
853 PyObject
* _argo6
= 0;
855 PyObject
* _obj7
= 0;
856 char *_kwnames
[] = { "message","prompt","caption","value","min","max","parent","pos", NULL
};
859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOl|llOO:wxGetNumberFromUser",_kwnames
,&_obj0
,&_obj1
,&_obj2
,&_arg3
,&_arg4
,&_arg5
,&_argo6
,&_obj7
))
862 #if PYTHON_API_VERSION >= 1009
863 char* tmpPtr
; int tmpSize
;
864 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
865 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
868 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
870 _arg0
= new wxString(tmpPtr
, tmpSize
);
872 if (!PyString_Check(_obj0
)) {
873 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
876 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
880 #if PYTHON_API_VERSION >= 1009
881 char* tmpPtr
; int tmpSize
;
882 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
883 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
886 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
888 _arg1
= new wxString(tmpPtr
, tmpSize
);
890 if (!PyString_Check(_obj1
)) {
891 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
894 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
898 #if PYTHON_API_VERSION >= 1009
899 char* tmpPtr
; int tmpSize
;
900 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
901 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
904 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
906 _arg2
= new wxString(tmpPtr
, tmpSize
);
908 if (!PyString_Check(_obj2
)) {
909 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
912 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
916 if (_argo6
== Py_None
) { _arg6
= NULL
; }
917 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxWindow_p")) {
918 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxGetNumberFromUser. Expected _wxWindow_p.");
925 if (! wxPoint_helper(_obj7
, &_arg7
))
929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
930 _result
= (long )wxGetNumberFromUser(*_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,*_arg7
);
932 wxPyEndAllowThreads(__tstate
);
933 if (PyErr_Occurred()) return NULL
;
934 } _resultobj
= Py_BuildValue("l",_result
);
950 static PyObject
*_wrap_wxColourDisplay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
951 PyObject
* _resultobj
;
953 char *_kwnames
[] = { NULL
};
956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxColourDisplay",_kwnames
))
959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
960 _result
= (bool )wxColourDisplay();
962 wxPyEndAllowThreads(__tstate
);
963 if (PyErr_Occurred()) return NULL
;
964 } _resultobj
= Py_BuildValue("i",_result
);
968 static PyObject
*_wrap_wxDisplayDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
969 PyObject
* _resultobj
;
971 char *_kwnames
[] = { NULL
};
974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxDisplayDepth",_kwnames
))
977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
978 _result
= (int )wxDisplayDepth();
980 wxPyEndAllowThreads(__tstate
);
981 if (PyErr_Occurred()) return NULL
;
982 } _resultobj
= Py_BuildValue("i",_result
);
986 static PyObject
*_wrap_wxGetDisplayDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
987 PyObject
* _resultobj
;
989 char *_kwnames
[] = { NULL
};
992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetDisplayDepth",_kwnames
))
995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
996 _result
= (int )wxGetDisplayDepth();
998 wxPyEndAllowThreads(__tstate
);
999 if (PyErr_Occurred()) return NULL
;
1000 } _resultobj
= Py_BuildValue("i",_result
);
1004 static PyObject
*_wrap_wxDisplaySize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1005 PyObject
* _resultobj
;
1010 char *_kwnames
[] = { NULL
};
1019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxDisplaySize",_kwnames
))
1022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1023 wxDisplaySize(_arg0
,_arg1
);
1025 wxPyEndAllowThreads(__tstate
);
1026 if (PyErr_Occurred()) return NULL
;
1027 } Py_INCREF(Py_None
);
1028 _resultobj
= Py_None
;
1031 o
= PyInt_FromLong((long) (*_arg0
));
1032 _resultobj
= t_output_helper(_resultobj
, o
);
1036 o
= PyInt_FromLong((long) (*_arg1
));
1037 _resultobj
= t_output_helper(_resultobj
, o
);
1042 static PyObject
*_wrap_wxGetDisplaySize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1043 PyObject
* _resultobj
;
1045 char *_kwnames
[] = { NULL
};
1049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetDisplaySize",_kwnames
))
1052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1053 _result
= new wxSize (wxGetDisplaySize());
1055 wxPyEndAllowThreads(__tstate
);
1056 if (PyErr_Occurred()) return NULL
;
1057 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
1058 _resultobj
= Py_BuildValue("s",_ptemp
);
1062 static PyObject
*_wrap_wxDisplaySizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1063 PyObject
* _resultobj
;
1068 char *_kwnames
[] = { NULL
};
1077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxDisplaySizeMM",_kwnames
))
1080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1081 wxDisplaySizeMM(_arg0
,_arg1
);
1083 wxPyEndAllowThreads(__tstate
);
1084 if (PyErr_Occurred()) return NULL
;
1085 } Py_INCREF(Py_None
);
1086 _resultobj
= Py_None
;
1089 o
= PyInt_FromLong((long) (*_arg0
));
1090 _resultobj
= t_output_helper(_resultobj
, o
);
1094 o
= PyInt_FromLong((long) (*_arg1
));
1095 _resultobj
= t_output_helper(_resultobj
, o
);
1100 static PyObject
*_wrap_wxGetDisplaySizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1101 PyObject
* _resultobj
;
1103 char *_kwnames
[] = { NULL
};
1107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetDisplaySizeMM",_kwnames
))
1110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1111 _result
= new wxSize (wxGetDisplaySizeMM());
1113 wxPyEndAllowThreads(__tstate
);
1114 if (PyErr_Occurred()) return NULL
;
1115 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
1116 _resultobj
= Py_BuildValue("s",_ptemp
);
1120 static PyObject
*_wrap_wxClientDisplayRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1121 PyObject
* _resultobj
;
1130 char *_kwnames
[] = { NULL
};
1145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxClientDisplayRect",_kwnames
))
1148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1149 wxClientDisplayRect(_arg0
,_arg1
,_arg2
,_arg3
);
1151 wxPyEndAllowThreads(__tstate
);
1152 if (PyErr_Occurred()) return NULL
;
1153 } Py_INCREF(Py_None
);
1154 _resultobj
= Py_None
;
1157 o
= PyInt_FromLong((long) (*_arg0
));
1158 _resultobj
= t_output_helper(_resultobj
, o
);
1162 o
= PyInt_FromLong((long) (*_arg1
));
1163 _resultobj
= t_output_helper(_resultobj
, o
);
1167 o
= PyInt_FromLong((long) (*_arg2
));
1168 _resultobj
= t_output_helper(_resultobj
, o
);
1172 o
= PyInt_FromLong((long) (*_arg3
));
1173 _resultobj
= t_output_helper(_resultobj
, o
);
1178 static PyObject
*_wrap_wxGetClientDisplayRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1179 PyObject
* _resultobj
;
1181 char *_kwnames
[] = { NULL
};
1185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetClientDisplayRect",_kwnames
))
1188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1189 _result
= new wxRect (wxGetClientDisplayRect());
1191 wxPyEndAllowThreads(__tstate
);
1192 if (PyErr_Occurred()) return NULL
;
1193 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
1194 _resultobj
= Py_BuildValue("s",_ptemp
);
1198 static PyObject
*_wrap_wxSetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1199 PyObject
* _resultobj
;
1201 PyObject
* _argo0
= 0;
1202 char *_kwnames
[] = { "cursor", NULL
};
1205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSetCursor",_kwnames
,&_argo0
))
1208 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1209 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
1210 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSetCursor. Expected _wxCursor_p.");
1215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1216 wxSetCursor(*_arg0
);
1218 wxPyEndAllowThreads(__tstate
);
1219 if (PyErr_Occurred()) return NULL
;
1220 } Py_INCREF(Py_None
);
1221 _resultobj
= Py_None
;
1225 static PyObject
*_wrap_wxFindWindowByLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1226 PyObject
* _resultobj
;
1229 wxWindow
* _arg1
= (wxWindow
*) NULL
;
1230 PyObject
* _obj0
= 0;
1231 PyObject
* _argo1
= 0;
1232 char *_kwnames
[] = { "label","parent", NULL
};
1235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxFindWindowByLabel",_kwnames
,&_obj0
,&_argo1
))
1238 #if PYTHON_API_VERSION >= 1009
1239 char* tmpPtr
; int tmpSize
;
1240 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
1241 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1244 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
1246 _arg0
= new wxString(tmpPtr
, tmpSize
);
1248 if (!PyString_Check(_obj0
)) {
1249 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1252 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
1256 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1257 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1258 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFindWindowByLabel. Expected _wxWindow_p.");
1263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1264 _result
= (wxWindow
*)wxFindWindowByLabel(*_arg0
,_arg1
);
1266 wxPyEndAllowThreads(__tstate
);
1267 if (PyErr_Occurred()) return NULL
;
1268 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1276 static PyObject
*_wrap_wxFindWindowByName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1277 PyObject
* _resultobj
;
1280 wxWindow
* _arg1
= (wxWindow
*) NULL
;
1281 PyObject
* _obj0
= 0;
1282 PyObject
* _argo1
= 0;
1283 char *_kwnames
[] = { "name","parent", NULL
};
1286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxFindWindowByName",_kwnames
,&_obj0
,&_argo1
))
1289 #if PYTHON_API_VERSION >= 1009
1290 char* tmpPtr
; int tmpSize
;
1291 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
1292 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1295 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
1297 _arg0
= new wxString(tmpPtr
, tmpSize
);
1299 if (!PyString_Check(_obj0
)) {
1300 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1303 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
1307 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1308 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1309 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFindWindowByName. Expected _wxWindow_p.");
1314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1315 _result
= (wxWindow
*)wxFindWindowByName(*_arg0
,_arg1
);
1317 wxPyEndAllowThreads(__tstate
);
1318 if (PyErr_Occurred()) return NULL
;
1319 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1327 static PyObject
*_wrap_wxBeginBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1328 PyObject
* _resultobj
;
1329 wxCursor
* _arg0
= (wxCursor
*) wxHOURGLASS_CURSOR
;
1330 PyObject
* _argo0
= 0;
1331 char *_kwnames
[] = { "cursor", NULL
};
1334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:wxBeginBusyCursor",_kwnames
,&_argo0
))
1337 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1338 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
1339 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBeginBusyCursor. Expected _wxCursor_p.");
1344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1345 wxBeginBusyCursor(_arg0
);
1347 wxPyEndAllowThreads(__tstate
);
1348 if (PyErr_Occurred()) return NULL
;
1349 } Py_INCREF(Py_None
);
1350 _resultobj
= Py_None
;
1354 static PyObject
*_wrap_wxGetActiveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1355 PyObject
* _resultobj
;
1357 char *_kwnames
[] = { NULL
};
1360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetActiveWindow",_kwnames
))
1363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1364 _result
= (wxWindow
*)wxGetActiveWindow();
1366 wxPyEndAllowThreads(__tstate
);
1367 if (PyErr_Occurred()) return NULL
;
1368 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1372 static PyObject
*_wrap_wxGenericFindWindowAtPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1373 PyObject
* _resultobj
;
1377 PyObject
* _obj0
= 0;
1378 char *_kwnames
[] = { "pt", NULL
};
1381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGenericFindWindowAtPoint",_kwnames
,&_obj0
))
1385 if (! wxPoint_helper(_obj0
, &_arg0
))
1389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1390 _result
= (wxWindow
*)wxGenericFindWindowAtPoint(*_arg0
);
1392 wxPyEndAllowThreads(__tstate
);
1393 if (PyErr_Occurred()) return NULL
;
1394 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1398 static PyObject
*_wrap_wxFindWindowAtPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1399 PyObject
* _resultobj
;
1403 PyObject
* _obj0
= 0;
1404 char *_kwnames
[] = { "pt", NULL
};
1407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFindWindowAtPoint",_kwnames
,&_obj0
))
1411 if (! wxPoint_helper(_obj0
, &_arg0
))
1415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1416 _result
= (wxWindow
*)wxFindWindowAtPoint(*_arg0
);
1418 wxPyEndAllowThreads(__tstate
);
1419 if (PyErr_Occurred()) return NULL
;
1420 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1424 static PyObject
*_wrap_wxCheckForInterrupt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1425 PyObject
* _resultobj
;
1428 PyObject
* _argo0
= 0;
1429 char *_kwnames
[] = { "wnd", NULL
};
1432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCheckForInterrupt",_kwnames
,&_argo0
))
1435 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1436 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1437 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckForInterrupt. Expected _wxWindow_p.");
1442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1443 _result
= (bool )wxCheckForInterrupt(_arg0
);
1445 wxPyEndAllowThreads(__tstate
);
1446 if (PyErr_Occurred()) return NULL
;
1447 } _resultobj
= Py_BuildValue("i",_result
);
1451 static PyObject
*_wrap_wxFlushEvents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1452 PyObject
* _resultobj
;
1453 char *_kwnames
[] = { NULL
};
1456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxFlushEvents",_kwnames
))
1459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1462 wxPyEndAllowThreads(__tstate
);
1463 if (PyErr_Occurred()) return NULL
;
1464 } Py_INCREF(Py_None
);
1465 _resultobj
= Py_None
;
1469 static PyObject
*_wrap_wxResourceAddIdentifier(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1470 PyObject
* _resultobj
;
1474 char *_kwnames
[] = { "name","value", NULL
};
1477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"si:wxResourceAddIdentifier",_kwnames
,&_arg0
,&_arg1
))
1480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1481 _result
= (bool )wxResourceAddIdentifier(_arg0
,_arg1
);
1483 wxPyEndAllowThreads(__tstate
);
1484 if (PyErr_Occurred()) return NULL
;
1485 } _resultobj
= Py_BuildValue("i",_result
);
1489 static PyObject
*_wrap_wxResourceClear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1490 PyObject
* _resultobj
;
1491 char *_kwnames
[] = { NULL
};
1494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxResourceClear",_kwnames
))
1497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1500 wxPyEndAllowThreads(__tstate
);
1501 if (PyErr_Occurred()) return NULL
;
1502 } Py_INCREF(Py_None
);
1503 _resultobj
= Py_None
;
1507 static PyObject
*_wrap_wxResourceCreateBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1508 PyObject
* _resultobj
;
1511 char *_kwnames
[] = { "resource", NULL
};
1515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxResourceCreateBitmap",_kwnames
,&_arg0
))
1518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1519 _result
= new wxBitmap (wxResourceCreateBitmap(_arg0
));
1521 wxPyEndAllowThreads(__tstate
);
1522 if (PyErr_Occurred()) return NULL
;
1523 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBitmap_p");
1524 _resultobj
= Py_BuildValue("s",_ptemp
);
1528 static PyObject
*_wrap_wxResourceCreateIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1529 PyObject
* _resultobj
;
1532 char *_kwnames
[] = { "resource", NULL
};
1536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxResourceCreateIcon",_kwnames
,&_arg0
))
1539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1540 _result
= new wxIcon (wxResourceCreateIcon(_arg0
));
1542 wxPyEndAllowThreads(__tstate
);
1543 if (PyErr_Occurred()) return NULL
;
1544 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxIcon_p");
1545 _resultobj
= Py_BuildValue("s",_ptemp
);
1549 static PyObject
*_wrap_wxResourceCreateMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1550 PyObject
* _resultobj
;
1551 wxMenuBar
* _result
;
1553 char *_kwnames
[] = { "resource", NULL
};
1556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxResourceCreateMenuBar",_kwnames
,&_arg0
))
1559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1560 _result
= (wxMenuBar
*)wxResourceCreateMenuBar(_arg0
);
1562 wxPyEndAllowThreads(__tstate
);
1563 if (PyErr_Occurred()) return NULL
;
1564 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1568 static PyObject
*_wrap_wxResourceGetIdentifier(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1569 PyObject
* _resultobj
;
1572 char *_kwnames
[] = { "name", NULL
};
1575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxResourceGetIdentifier",_kwnames
,&_arg0
))
1578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1579 _result
= (int )wxResourceGetIdentifier(_arg0
);
1581 wxPyEndAllowThreads(__tstate
);
1582 if (PyErr_Occurred()) return NULL
;
1583 } _resultobj
= Py_BuildValue("i",_result
);
1587 static PyObject
*_wrap_wxResourceParseData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1588 PyObject
* _resultobj
;
1591 wxResourceTable
* _arg1
= (wxResourceTable
*) NULL
;
1592 PyObject
* _argo1
= 0;
1593 char *_kwnames
[] = { "resource","table", NULL
};
1596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s|O:wxResourceParseData",_kwnames
,&_arg0
,&_argo1
))
1599 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1600 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxResourceTable_p")) {
1601 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxResourceParseData. Expected _wxResourceTable_p.");
1606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1607 _result
= (bool )wxResourceParseData(_arg0
,_arg1
);
1609 wxPyEndAllowThreads(__tstate
);
1610 if (PyErr_Occurred()) return NULL
;
1611 } _resultobj
= Py_BuildValue("i",_result
);
1615 static PyObject
*_wrap_wxResourceParseFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1616 PyObject
* _resultobj
;
1619 wxResourceTable
* _arg1
= (wxResourceTable
*) NULL
;
1620 PyObject
* _argo1
= 0;
1621 char *_kwnames
[] = { "filename","table", NULL
};
1624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s|O:wxResourceParseFile",_kwnames
,&_arg0
,&_argo1
))
1627 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1628 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxResourceTable_p")) {
1629 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxResourceParseFile. Expected _wxResourceTable_p.");
1634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1635 _result
= (bool )wxResourceParseFile(_arg0
,_arg1
);
1637 wxPyEndAllowThreads(__tstate
);
1638 if (PyErr_Occurred()) return NULL
;
1639 } _resultobj
= Py_BuildValue("i",_result
);
1643 static PyObject
*_wrap_wxResourceParseString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1644 PyObject
* _resultobj
;
1647 wxResourceTable
* _arg1
= (wxResourceTable
*) NULL
;
1648 PyObject
* _argo1
= 0;
1649 char *_kwnames
[] = { "resource","table", NULL
};
1652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s|O:wxResourceParseString",_kwnames
,&_arg0
,&_argo1
))
1655 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1656 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxResourceTable_p")) {
1657 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxResourceParseString. Expected _wxResourceTable_p.");
1662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1663 _result
= (bool )wxResourceParseString(_arg0
,_arg1
);
1665 wxPyEndAllowThreads(__tstate
);
1666 if (PyErr_Occurred()) return NULL
;
1667 } _resultobj
= Py_BuildValue("i",_result
);
1671 static PyObject
*_wrap_wxCaret_GetBlinkTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1672 PyObject
* _resultobj
;
1674 char *_kwnames
[] = { NULL
};
1677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxCaret_GetBlinkTime",_kwnames
))
1680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1681 _result
= (int )wxCaret_GetBlinkTime();
1683 wxPyEndAllowThreads(__tstate
);
1684 if (PyErr_Occurred()) return NULL
;
1685 } _resultobj
= Py_BuildValue("i",_result
);
1689 static PyObject
*_wrap_wxCaret_SetBlinkTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1690 PyObject
* _resultobj
;
1692 char *_kwnames
[] = { "milliseconds", NULL
};
1695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxCaret_SetBlinkTime",_kwnames
,&_arg0
))
1698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1699 wxCaret_SetBlinkTime(_arg0
);
1701 wxPyEndAllowThreads(__tstate
);
1702 if (PyErr_Occurred()) return NULL
;
1703 } Py_INCREF(Py_None
);
1704 _resultobj
= Py_None
;
1708 static PyObject
*_wrap_wxSafeYield(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1709 PyObject
* _resultobj
;
1711 wxWindow
* _arg0
= (wxWindow
*) NULL
;
1712 PyObject
* _argo0
= 0;
1713 char *_kwnames
[] = { "win", NULL
};
1716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:wxSafeYield",_kwnames
,&_argo0
))
1719 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1720 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1721 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSafeYield. Expected _wxWindow_p.");
1726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1727 _result
= (bool )wxSafeYield(_arg0
);
1729 wxPyEndAllowThreads(__tstate
);
1730 if (PyErr_Occurred()) return NULL
;
1731 } _resultobj
= Py_BuildValue("i",_result
);
1735 static PyObject
*_wrap_wxPostEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1736 PyObject
* _resultobj
;
1737 wxEvtHandler
* _arg0
;
1739 PyObject
* _argo0
= 0;
1740 PyObject
* _argo1
= 0;
1741 char *_kwnames
[] = { "dest","event", NULL
};
1744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPostEvent",_kwnames
,&_argo0
,&_argo1
))
1747 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1748 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
1749 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPostEvent. Expected _wxEvtHandler_p.");
1754 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1755 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvent_p")) {
1756 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPostEvent. Expected _wxEvent_p.");
1761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1762 wxPostEvent(_arg0
,*_arg1
);
1764 wxPyEndAllowThreads(__tstate
);
1765 if (PyErr_Occurred()) return NULL
;
1766 } Py_INCREF(Py_None
);
1767 _resultobj
= Py_None
;
1771 static PyObject
*_wrap_wxWakeUpIdle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1772 PyObject
* _resultobj
;
1773 char *_kwnames
[] = { NULL
};
1776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxWakeUpIdle",_kwnames
))
1779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1782 wxPyEndAllowThreads(__tstate
);
1783 if (PyErr_Occurred()) return NULL
;
1784 } Py_INCREF(Py_None
);
1785 _resultobj
= Py_None
;
1789 static PyObject
*_wrap_wxWakeUpMainThread(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1790 PyObject
* _resultobj
;
1791 char *_kwnames
[] = { NULL
};
1794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxWakeUpMainThread",_kwnames
))
1797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1798 wxWakeUpMainThread();
1800 wxPyEndAllowThreads(__tstate
);
1801 if (PyErr_Occurred()) return NULL
;
1802 } Py_INCREF(Py_None
);
1803 _resultobj
= Py_None
;
1807 static PyObject
*_wrap_wxMutexGuiEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1808 PyObject
* _resultobj
;
1809 char *_kwnames
[] = { NULL
};
1812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxMutexGuiEnter",_kwnames
))
1815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1818 wxPyEndAllowThreads(__tstate
);
1819 if (PyErr_Occurred()) return NULL
;
1820 } Py_INCREF(Py_None
);
1821 _resultobj
= Py_None
;
1825 static PyObject
*_wrap_wxMutexGuiLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1826 PyObject
* _resultobj
;
1827 char *_kwnames
[] = { NULL
};
1830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxMutexGuiLeave",_kwnames
))
1833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1836 wxPyEndAllowThreads(__tstate
);
1837 if (PyErr_Occurred()) return NULL
;
1838 } Py_INCREF(Py_None
);
1839 _resultobj
= Py_None
;
1843 static PyObject
*_wrap_wxThread_IsMain(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1844 PyObject
* _resultobj
;
1846 char *_kwnames
[] = { NULL
};
1849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxThread_IsMain",_kwnames
))
1852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1853 _result
= (bool )wxThread_IsMain();
1855 wxPyEndAllowThreads(__tstate
);
1856 if (PyErr_Occurred()) return NULL
;
1857 } _resultobj
= Py_BuildValue("i",_result
);
1861 static PyObject
*_wrap_wxShowTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1862 PyObject
* _resultobj
;
1865 wxTipProvider
* _arg1
;
1866 bool _arg2
= (bool ) TRUE
;
1867 PyObject
* _argo0
= 0;
1868 PyObject
* _argo1
= 0;
1869 int tempbool2
= (int) TRUE
;
1870 char *_kwnames
[] = { "parent","tipProvider","showAtStartup", NULL
};
1873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxShowTip",_kwnames
,&_argo0
,&_argo1
,&tempbool2
))
1876 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1877 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1878 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShowTip. Expected _wxWindow_p.");
1883 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1884 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTipProvider_p")) {
1885 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxShowTip. Expected _wxTipProvider_p.");
1889 _arg2
= (bool ) tempbool2
;
1891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1892 _result
= (bool )wxShowTip(_arg0
,_arg1
,_arg2
);
1894 wxPyEndAllowThreads(__tstate
);
1895 if (PyErr_Occurred()) return NULL
;
1896 } _resultobj
= Py_BuildValue("i",_result
);
1900 static PyObject
*_wrap_wxCreateFileTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1901 PyObject
* _resultobj
;
1902 wxTipProvider
* _result
;
1905 PyObject
* _obj0
= 0;
1906 char *_kwnames
[] = { "filename","currentTip", NULL
};
1910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxCreateFileTipProvider",_kwnames
,&_obj0
,&_arg1
))
1913 #if PYTHON_API_VERSION >= 1009
1914 char* tmpPtr
; int tmpSize
;
1915 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
1916 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1919 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
1921 _arg0
= new wxString(tmpPtr
, tmpSize
);
1923 if (!PyString_Check(_obj0
)) {
1924 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1927 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
1931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1932 _result
= (wxTipProvider
*)wxCreateFileTipProvider(*_arg0
,_arg1
);
1934 wxPyEndAllowThreads(__tstate
);
1935 if (PyErr_Occurred()) return NULL
;
1937 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTipProvider_p");
1938 _resultobj
= Py_BuildValue("s",_ptemp
);
1941 _resultobj
= Py_None
;
1950 static PyObject
*_wrap_wxSysErrorCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1951 PyObject
* _resultobj
;
1952 unsigned long _result
;
1953 char *_kwnames
[] = { NULL
};
1956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxSysErrorCode",_kwnames
))
1959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1960 _result
= (unsigned long )wxSysErrorCode();
1962 wxPyEndAllowThreads(__tstate
);
1963 if (PyErr_Occurred()) return NULL
;
1964 } _resultobj
= Py_BuildValue("l",_result
);
1968 static PyObject
*_wrap_wxSysErrorMsg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1969 PyObject
* _resultobj
;
1971 unsigned long _arg0
= (unsigned long ) 0;
1972 char *_kwnames
[] = { "nErrCode", NULL
};
1975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|l:wxSysErrorMsg",_kwnames
,&_arg0
))
1978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1979 _result
= (char *)wxSysErrorMsg(_arg0
);
1981 wxPyEndAllowThreads(__tstate
);
1982 if (PyErr_Occurred()) return NULL
;
1983 } _resultobj
= Py_BuildValue("s", _result
);
1987 static PyObject
*_wrap_wxLogFatalError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1988 PyObject
* _resultobj
;
1990 char *_kwnames
[] = { "szFormat", NULL
};
1993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLogFatalError",_kwnames
,&_arg0
))
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
;
2006 static PyObject
*_wrap_wxLogError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2007 PyObject
* _resultobj
;
2009 char *_kwnames
[] = { "szFormat", NULL
};
2012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLogError",_kwnames
,&_arg0
))
2015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2018 wxPyEndAllowThreads(__tstate
);
2019 if (PyErr_Occurred()) return NULL
;
2020 } Py_INCREF(Py_None
);
2021 _resultobj
= Py_None
;
2025 static PyObject
*_wrap_wxLogWarning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2026 PyObject
* _resultobj
;
2028 char *_kwnames
[] = { "szFormat", NULL
};
2031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLogWarning",_kwnames
,&_arg0
))
2034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2035 wxLogWarning(_arg0
);
2037 wxPyEndAllowThreads(__tstate
);
2038 if (PyErr_Occurred()) return NULL
;
2039 } Py_INCREF(Py_None
);
2040 _resultobj
= Py_None
;
2044 static PyObject
*_wrap_wxLogMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2045 PyObject
* _resultobj
;
2047 char *_kwnames
[] = { "szFormat", NULL
};
2050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLogMessage",_kwnames
,&_arg0
))
2053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2054 wxLogMessage(_arg0
);
2056 wxPyEndAllowThreads(__tstate
);
2057 if (PyErr_Occurred()) return NULL
;
2058 } Py_INCREF(Py_None
);
2059 _resultobj
= Py_None
;
2063 static PyObject
*_wrap_wxLogInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2064 PyObject
* _resultobj
;
2066 char *_kwnames
[] = { "szFormat", NULL
};
2069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLogInfo",_kwnames
,&_arg0
))
2072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2075 wxPyEndAllowThreads(__tstate
);
2076 if (PyErr_Occurred()) return NULL
;
2077 } Py_INCREF(Py_None
);
2078 _resultobj
= Py_None
;
2082 static PyObject
*_wrap_wxLogVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2083 PyObject
* _resultobj
;
2085 char *_kwnames
[] = { "szFormat", NULL
};
2088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLogVerbose",_kwnames
,&_arg0
))
2091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2092 wxLogVerbose(_arg0
);
2094 wxPyEndAllowThreads(__tstate
);
2095 if (PyErr_Occurred()) return NULL
;
2096 } Py_INCREF(Py_None
);
2097 _resultobj
= Py_None
;
2101 static PyObject
*_wrap_wxLogStatus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2102 PyObject
* _resultobj
;
2104 char *_kwnames
[] = { "szFormat", NULL
};
2107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLogStatus",_kwnames
,&_arg0
))
2110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2113 wxPyEndAllowThreads(__tstate
);
2114 if (PyErr_Occurred()) return NULL
;
2115 } Py_INCREF(Py_None
);
2116 _resultobj
= Py_None
;
2120 static PyObject
*_wrap_wxLogStatusFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2121 PyObject
* _resultobj
;
2124 PyObject
* _argo0
= 0;
2125 char *_kwnames
[] = { "pFrame","szFormat", NULL
};
2128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Os:wxLogStatusFrame",_kwnames
,&_argo0
,&_arg1
))
2131 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2132 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
2133 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogStatusFrame. Expected _wxFrame_p.");
2138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2139 wxLogStatus(_arg0
,_arg1
);
2141 wxPyEndAllowThreads(__tstate
);
2142 if (PyErr_Occurred()) return NULL
;
2143 } Py_INCREF(Py_None
);
2144 _resultobj
= Py_None
;
2148 static PyObject
*_wrap_wxLogSysError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2149 PyObject
* _resultobj
;
2151 char *_kwnames
[] = { "szFormat", NULL
};
2154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLogSysError",_kwnames
,&_arg0
))
2157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2158 wxLogSysError(_arg0
);
2160 wxPyEndAllowThreads(__tstate
);
2161 if (PyErr_Occurred()) return NULL
;
2162 } Py_INCREF(Py_None
);
2163 _resultobj
= Py_None
;
2167 static PyObject
*_wrap_wxExecute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2168 PyObject
* _resultobj
;
2171 int _arg1
= (int ) FALSE
;
2172 wxPyProcess
* _arg2
= (wxPyProcess
*) NULL
;
2173 PyObject
* _obj0
= 0;
2174 PyObject
* _argo2
= 0;
2175 char *_kwnames
[] = { "command","sync","process", NULL
};
2178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iO:wxExecute",_kwnames
,&_obj0
,&_arg1
,&_argo2
))
2181 #if PYTHON_API_VERSION >= 1009
2182 char* tmpPtr
; int tmpSize
;
2183 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
2184 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2187 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
2189 _arg0
= new wxString(tmpPtr
, tmpSize
);
2191 if (!PyString_Check(_obj0
)) {
2192 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2195 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
2199 if (_argo2
== Py_None
) { _arg2
= NULL
; }
2200 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPyProcess_p")) {
2201 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxExecute. Expected _wxPyProcess_p.");
2206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2207 _result
= (long )wxExecute(*_arg0
,_arg1
,_arg2
);
2209 wxPyEndAllowThreads(__tstate
);
2210 if (PyErr_Occurred()) return NULL
;
2211 } _resultobj
= Py_BuildValue("l",_result
);
2219 static PyObject
*_wrap_wxWaveData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2220 PyObject
* _resultobj
;
2223 PyObject
* _obj0
= 0;
2224 char *_kwnames
[] = { "data", NULL
};
2228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWaveData",_kwnames
,&_obj0
))
2231 #if PYTHON_API_VERSION >= 1009
2232 char* tmpPtr
; int tmpSize
;
2233 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
2234 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2237 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
2239 _arg0
= new wxString(tmpPtr
, tmpSize
);
2241 if (!PyString_Check(_obj0
)) {
2242 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2245 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
2249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2250 _result
= (wxWave
*)wxWaveData(*_arg0
);
2252 wxPyEndAllowThreads(__tstate
);
2253 if (PyErr_Occurred()) return NULL
;
2255 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWave_p");
2256 _resultobj
= Py_BuildValue("s",_ptemp
);
2259 _resultobj
= Py_None
;
2268 static int _wrap_wxTheMimeTypesManager_set(PyObject
*val
) {
2270 PyErr_SetString(PyExc_TypeError
,"Variable wxTheMimeTypesManager is read-only.");
2274 static PyObject
*_wrap_wxTheMimeTypesManager_get() {
2278 SWIG_MakePtr(ptemp
, (char *) wxTheMimeTypesManager
,"_wxMimeTypesManager_p");
2279 pyobj
= PyString_FromString(ptemp
);
2283 static PyObject
*_wrap_wxSystemSettings_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2284 PyObject
* _resultobj
;
2286 wxSystemColour _arg0
;
2287 char *_kwnames
[] = { "index", NULL
};
2291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSystemSettings_GetColour",_kwnames
,&_arg0
))
2294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2295 _result
= new wxColour (wxSystemSettings::GetColour(_arg0
));
2297 wxPyEndAllowThreads(__tstate
);
2298 if (PyErr_Occurred()) return NULL
;
2299 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
2300 _resultobj
= Py_BuildValue("s",_ptemp
);
2304 static PyObject
*_wrap_wxSystemSettings_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2305 PyObject
* _resultobj
;
2308 char *_kwnames
[] = { "index", NULL
};
2312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSystemSettings_GetFont",_kwnames
,&_arg0
))
2315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2316 _result
= new wxFont (wxSystemSettings::GetFont(_arg0
));
2318 wxPyEndAllowThreads(__tstate
);
2319 if (PyErr_Occurred()) return NULL
;
2320 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
2321 _resultobj
= Py_BuildValue("s",_ptemp
);
2325 static PyObject
*_wrap_wxSystemSettings_GetMetric(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2326 PyObject
* _resultobj
;
2328 wxSystemMetric _arg0
;
2329 char *_kwnames
[] = { "index", NULL
};
2332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSystemSettings_GetMetric",_kwnames
,&_arg0
))
2335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2336 _result
= (int )wxSystemSettings::GetMetric(_arg0
);
2338 wxPyEndAllowThreads(__tstate
);
2339 if (PyErr_Occurred()) return NULL
;
2340 } _resultobj
= Py_BuildValue("i",_result
);
2344 static PyObject
*_wrap_wxSystemSettings_HasFeature(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2345 PyObject
* _resultobj
;
2347 wxSystemFeature _arg0
;
2348 char *_kwnames
[] = { "index", NULL
};
2351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSystemSettings_HasFeature",_kwnames
,&_arg0
))
2354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2355 _result
= (bool )wxSystemSettings::HasFeature(_arg0
);
2357 wxPyEndAllowThreads(__tstate
);
2358 if (PyErr_Occurred()) return NULL
;
2359 } _resultobj
= Py_BuildValue("i",_result
);
2363 static void *SwigwxToolTipTowxObject(void *ptr
) {
2366 src
= (wxToolTip
*) ptr
;
2367 dest
= (wxObject
*) src
;
2368 return (void *) dest
;
2371 #define new_wxToolTip(_swigarg0) (new wxToolTip(_swigarg0))
2372 static PyObject
*_wrap_new_wxToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2373 PyObject
* _resultobj
;
2374 wxToolTip
* _result
;
2376 PyObject
* _obj0
= 0;
2377 char *_kwnames
[] = { "tip", NULL
};
2381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxToolTip",_kwnames
,&_obj0
))
2384 #if PYTHON_API_VERSION >= 1009
2385 char* tmpPtr
; int tmpSize
;
2386 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
2387 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2390 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
2392 _arg0
= new wxString(tmpPtr
, tmpSize
);
2394 if (!PyString_Check(_obj0
)) {
2395 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2398 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
2402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2403 _result
= (wxToolTip
*)new_wxToolTip(*_arg0
);
2405 wxPyEndAllowThreads(__tstate
);
2406 if (PyErr_Occurred()) return NULL
;
2408 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToolTip_p");
2409 _resultobj
= Py_BuildValue("s",_ptemp
);
2412 _resultobj
= Py_None
;
2421 #define wxToolTip_SetTip(_swigobj,_swigarg0) (_swigobj->SetTip(_swigarg0))
2422 static PyObject
*_wrap_wxToolTip_SetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2423 PyObject
* _resultobj
;
2426 PyObject
* _argo0
= 0;
2427 PyObject
* _obj1
= 0;
2428 char *_kwnames
[] = { "self","tip", NULL
};
2431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxToolTip_SetTip",_kwnames
,&_argo0
,&_obj1
))
2434 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2435 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolTip_p")) {
2436 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolTip_SetTip. Expected _wxToolTip_p.");
2441 #if PYTHON_API_VERSION >= 1009
2442 char* tmpPtr
; int tmpSize
;
2443 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
2444 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2447 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
2449 _arg1
= new wxString(tmpPtr
, tmpSize
);
2451 if (!PyString_Check(_obj1
)) {
2452 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2455 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
2459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2460 wxToolTip_SetTip(_arg0
,*_arg1
);
2462 wxPyEndAllowThreads(__tstate
);
2463 if (PyErr_Occurred()) return NULL
;
2464 } Py_INCREF(Py_None
);
2465 _resultobj
= Py_None
;
2473 #define wxToolTip_GetTip(_swigobj) (_swigobj->GetTip())
2474 static PyObject
*_wrap_wxToolTip_GetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2475 PyObject
* _resultobj
;
2478 PyObject
* _argo0
= 0;
2479 char *_kwnames
[] = { "self", NULL
};
2482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolTip_GetTip",_kwnames
,&_argo0
))
2485 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2486 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolTip_p")) {
2487 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolTip_GetTip. Expected _wxToolTip_p.");
2492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2493 _result
= new wxString (wxToolTip_GetTip(_arg0
));
2495 wxPyEndAllowThreads(__tstate
);
2496 if (PyErr_Occurred()) return NULL
;
2498 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2506 #define wxToolTip_GetWindow(_swigobj) (_swigobj->GetWindow())
2507 static PyObject
*_wrap_wxToolTip_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2508 PyObject
* _resultobj
;
2511 PyObject
* _argo0
= 0;
2512 char *_kwnames
[] = { "self", NULL
};
2515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolTip_GetWindow",_kwnames
,&_argo0
))
2518 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2519 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolTip_p")) {
2520 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolTip_GetWindow. Expected _wxToolTip_p.");
2525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2526 _result
= (wxWindow
*)wxToolTip_GetWindow(_arg0
);
2528 wxPyEndAllowThreads(__tstate
);
2529 if (PyErr_Occurred()) return NULL
;
2530 }{ _resultobj
= wxPyMake_wxObject(_result
); }
2534 static PyObject
*_wrap_wxToolTip_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2535 PyObject
* _resultobj
;
2538 char *_kwnames
[] = { "flag", NULL
};
2541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxToolTip_Enable",_kwnames
,&tempbool0
))
2543 _arg0
= (bool ) tempbool0
;
2545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2546 wxToolTip::Enable(_arg0
);
2548 wxPyEndAllowThreads(__tstate
);
2549 if (PyErr_Occurred()) return NULL
;
2550 } Py_INCREF(Py_None
);
2551 _resultobj
= Py_None
;
2555 static PyObject
*_wrap_wxToolTip_SetDelay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2556 PyObject
* _resultobj
;
2558 char *_kwnames
[] = { "milliseconds", NULL
};
2561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:wxToolTip_SetDelay",_kwnames
,&_arg0
))
2564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2565 wxToolTip::SetDelay(_arg0
);
2567 wxPyEndAllowThreads(__tstate
);
2568 if (PyErr_Occurred()) return NULL
;
2569 } Py_INCREF(Py_None
);
2570 _resultobj
= Py_None
;
2574 #define new_wxCaret(_swigarg0,_swigarg1) (new wxCaret(_swigarg0,_swigarg1))
2575 static PyObject
*_wrap_new_wxCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2576 PyObject
* _resultobj
;
2580 PyObject
* _argo0
= 0;
2582 PyObject
* _obj1
= 0;
2583 char *_kwnames
[] = { "window","size", NULL
};
2587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:new_wxCaret",_kwnames
,&_argo0
,&_obj1
))
2590 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2591 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2592 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxCaret. Expected _wxWindow_p.");
2598 if (! wxSize_helper(_obj1
, &_arg1
))
2602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2603 _result
= (wxCaret
*)new_wxCaret(_arg0
,*_arg1
);
2605 wxPyEndAllowThreads(__tstate
);
2606 if (PyErr_Occurred()) return NULL
;
2608 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCaret_p");
2609 _resultobj
= Py_BuildValue("s",_ptemp
);
2612 _resultobj
= Py_None
;
2617 #define delete_wxCaret(_swigobj) (delete _swigobj)
2618 static PyObject
*_wrap_delete_wxCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2619 PyObject
* _resultobj
;
2621 PyObject
* _argo0
= 0;
2622 char *_kwnames
[] = { "self", NULL
};
2625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxCaret",_kwnames
,&_argo0
))
2628 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2629 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2630 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxCaret. Expected _wxCaret_p.");
2635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2636 delete_wxCaret(_arg0
);
2638 wxPyEndAllowThreads(__tstate
);
2639 if (PyErr_Occurred()) return NULL
;
2640 } Py_INCREF(Py_None
);
2641 _resultobj
= Py_None
;
2645 #define wxCaret_IsOk(_swigobj) (_swigobj->IsOk())
2646 static PyObject
*_wrap_wxCaret_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2647 PyObject
* _resultobj
;
2650 PyObject
* _argo0
= 0;
2651 char *_kwnames
[] = { "self", NULL
};
2654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_IsOk",_kwnames
,&_argo0
))
2657 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2658 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2659 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_IsOk. Expected _wxCaret_p.");
2664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2665 _result
= (bool )wxCaret_IsOk(_arg0
);
2667 wxPyEndAllowThreads(__tstate
);
2668 if (PyErr_Occurred()) return NULL
;
2669 } _resultobj
= Py_BuildValue("i",_result
);
2673 #define wxCaret_IsVisible(_swigobj) (_swigobj->IsVisible())
2674 static PyObject
*_wrap_wxCaret_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2675 PyObject
* _resultobj
;
2678 PyObject
* _argo0
= 0;
2679 char *_kwnames
[] = { "self", NULL
};
2682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_IsVisible",_kwnames
,&_argo0
))
2685 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2686 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2687 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_IsVisible. Expected _wxCaret_p.");
2692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2693 _result
= (bool )wxCaret_IsVisible(_arg0
);
2695 wxPyEndAllowThreads(__tstate
);
2696 if (PyErr_Occurred()) return NULL
;
2697 } _resultobj
= Py_BuildValue("i",_result
);
2701 #define wxCaret_GetPositionTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPosition(_swigarg0,_swigarg1))
2702 static PyObject
*_wrap_wxCaret_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2703 PyObject
* _resultobj
;
2709 PyObject
* _argo0
= 0;
2710 char *_kwnames
[] = { "self", NULL
};
2719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetPositionTuple",_kwnames
,&_argo0
))
2722 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2723 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2724 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetPositionTuple. Expected _wxCaret_p.");
2729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2730 wxCaret_GetPositionTuple(_arg0
,_arg1
,_arg2
);
2732 wxPyEndAllowThreads(__tstate
);
2733 if (PyErr_Occurred()) return NULL
;
2734 } Py_INCREF(Py_None
);
2735 _resultobj
= Py_None
;
2738 o
= PyInt_FromLong((long) (*_arg1
));
2739 _resultobj
= t_output_helper(_resultobj
, o
);
2743 o
= PyInt_FromLong((long) (*_arg2
));
2744 _resultobj
= t_output_helper(_resultobj
, o
);
2749 #define wxCaret_GetPosition(_swigobj) (_swigobj->GetPosition())
2750 static PyObject
*_wrap_wxCaret_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2751 PyObject
* _resultobj
;
2754 PyObject
* _argo0
= 0;
2755 char *_kwnames
[] = { "self", NULL
};
2759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetPosition",_kwnames
,&_argo0
))
2762 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2763 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2764 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetPosition. Expected _wxCaret_p.");
2769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2770 _result
= new wxPoint (wxCaret_GetPosition(_arg0
));
2772 wxPyEndAllowThreads(__tstate
);
2773 if (PyErr_Occurred()) return NULL
;
2774 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2775 _resultobj
= Py_BuildValue("s",_ptemp
);
2779 #define wxCaret_GetSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSize(_swigarg0,_swigarg1))
2780 static PyObject
*_wrap_wxCaret_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2781 PyObject
* _resultobj
;
2787 PyObject
* _argo0
= 0;
2788 char *_kwnames
[] = { "self", NULL
};
2797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetSizeTuple",_kwnames
,&_argo0
))
2800 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2801 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2802 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetSizeTuple. Expected _wxCaret_p.");
2807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2808 wxCaret_GetSizeTuple(_arg0
,_arg1
,_arg2
);
2810 wxPyEndAllowThreads(__tstate
);
2811 if (PyErr_Occurred()) return NULL
;
2812 } Py_INCREF(Py_None
);
2813 _resultobj
= Py_None
;
2816 o
= PyInt_FromLong((long) (*_arg1
));
2817 _resultobj
= t_output_helper(_resultobj
, o
);
2821 o
= PyInt_FromLong((long) (*_arg2
));
2822 _resultobj
= t_output_helper(_resultobj
, o
);
2827 #define wxCaret_GetSize(_swigobj) (_swigobj->GetSize())
2828 static PyObject
*_wrap_wxCaret_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2829 PyObject
* _resultobj
;
2832 PyObject
* _argo0
= 0;
2833 char *_kwnames
[] = { "self", NULL
};
2837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetSize",_kwnames
,&_argo0
))
2840 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2841 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2842 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetSize. Expected _wxCaret_p.");
2847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2848 _result
= new wxSize (wxCaret_GetSize(_arg0
));
2850 wxPyEndAllowThreads(__tstate
);
2851 if (PyErr_Occurred()) return NULL
;
2852 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
2853 _resultobj
= Py_BuildValue("s",_ptemp
);
2857 #define wxCaret_GetWindow(_swigobj) (_swigobj->GetWindow())
2858 static PyObject
*_wrap_wxCaret_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2859 PyObject
* _resultobj
;
2862 PyObject
* _argo0
= 0;
2863 char *_kwnames
[] = { "self", NULL
};
2866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetWindow",_kwnames
,&_argo0
))
2869 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2870 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2871 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetWindow. Expected _wxCaret_p.");
2876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2877 _result
= (wxWindow
*)wxCaret_GetWindow(_arg0
);
2879 wxPyEndAllowThreads(__tstate
);
2880 if (PyErr_Occurred()) return NULL
;
2881 }{ _resultobj
= wxPyMake_wxObject(_result
); }
2885 #define wxCaret_MoveXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->Move(_swigarg0,_swigarg1))
2886 static PyObject
*_wrap_wxCaret_MoveXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2887 PyObject
* _resultobj
;
2891 PyObject
* _argo0
= 0;
2892 char *_kwnames
[] = { "self","x","y", NULL
};
2895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxCaret_MoveXY",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2898 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2899 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2900 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_MoveXY. Expected _wxCaret_p.");
2905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2906 wxCaret_MoveXY(_arg0
,_arg1
,_arg2
);
2908 wxPyEndAllowThreads(__tstate
);
2909 if (PyErr_Occurred()) return NULL
;
2910 } Py_INCREF(Py_None
);
2911 _resultobj
= Py_None
;
2915 #define wxCaret_Move(_swigobj,_swigarg0) (_swigobj->Move(_swigarg0))
2916 static PyObject
*_wrap_wxCaret_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2917 PyObject
* _resultobj
;
2920 PyObject
* _argo0
= 0;
2922 PyObject
* _obj1
= 0;
2923 char *_kwnames
[] = { "self","pt", NULL
};
2926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxCaret_Move",_kwnames
,&_argo0
,&_obj1
))
2929 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2930 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2931 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_Move. Expected _wxCaret_p.");
2937 if (! wxPoint_helper(_obj1
, &_arg1
))
2941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2942 wxCaret_Move(_arg0
,*_arg1
);
2944 wxPyEndAllowThreads(__tstate
);
2945 if (PyErr_Occurred()) return NULL
;
2946 } Py_INCREF(Py_None
);
2947 _resultobj
= Py_None
;
2951 #define wxCaret_SetSizeWH(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSize(_swigarg0,_swigarg1))
2952 static PyObject
*_wrap_wxCaret_SetSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2953 PyObject
* _resultobj
;
2957 PyObject
* _argo0
= 0;
2958 char *_kwnames
[] = { "self","width","height", NULL
};
2961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxCaret_SetSizeWH",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2964 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2965 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2966 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_SetSizeWH. Expected _wxCaret_p.");
2971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2972 wxCaret_SetSizeWH(_arg0
,_arg1
,_arg2
);
2974 wxPyEndAllowThreads(__tstate
);
2975 if (PyErr_Occurred()) return NULL
;
2976 } Py_INCREF(Py_None
);
2977 _resultobj
= Py_None
;
2981 #define wxCaret_SetSize(_swigobj,_swigarg0) (_swigobj->SetSize(_swigarg0))
2982 static PyObject
*_wrap_wxCaret_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2983 PyObject
* _resultobj
;
2986 PyObject
* _argo0
= 0;
2988 PyObject
* _obj1
= 0;
2989 char *_kwnames
[] = { "self","size", NULL
};
2992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxCaret_SetSize",_kwnames
,&_argo0
,&_obj1
))
2995 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2996 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2997 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_SetSize. Expected _wxCaret_p.");
3003 if (! wxSize_helper(_obj1
, &_arg1
))
3007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3008 wxCaret_SetSize(_arg0
,*_arg1
);
3010 wxPyEndAllowThreads(__tstate
);
3011 if (PyErr_Occurred()) return NULL
;
3012 } Py_INCREF(Py_None
);
3013 _resultobj
= Py_None
;
3017 #define wxCaret_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
3018 static PyObject
*_wrap_wxCaret_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3019 PyObject
* _resultobj
;
3021 int _arg1
= (int ) TRUE
;
3022 PyObject
* _argo0
= 0;
3023 char *_kwnames
[] = { "self","show", NULL
};
3026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxCaret_Show",_kwnames
,&_argo0
,&_arg1
))
3029 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3030 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
3031 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_Show. Expected _wxCaret_p.");
3036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3037 wxCaret_Show(_arg0
,_arg1
);
3039 wxPyEndAllowThreads(__tstate
);
3040 if (PyErr_Occurred()) return NULL
;
3041 } Py_INCREF(Py_None
);
3042 _resultobj
= Py_None
;
3046 #define wxCaret_Hide(_swigobj) (_swigobj->Hide())
3047 static PyObject
*_wrap_wxCaret_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3048 PyObject
* _resultobj
;
3050 PyObject
* _argo0
= 0;
3051 char *_kwnames
[] = { "self", NULL
};
3054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_Hide",_kwnames
,&_argo0
))
3057 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3058 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
3059 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_Hide. Expected _wxCaret_p.");
3064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3065 wxCaret_Hide(_arg0
);
3067 wxPyEndAllowThreads(__tstate
);
3068 if (PyErr_Occurred()) return NULL
;
3069 } Py_INCREF(Py_None
);
3070 _resultobj
= Py_None
;
3074 #define new_wxFontEnumerator() (new wxPyFontEnumerator())
3075 static PyObject
*_wrap_new_wxFontEnumerator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3076 PyObject
* _resultobj
;
3077 wxPyFontEnumerator
* _result
;
3078 char *_kwnames
[] = { NULL
};
3082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxFontEnumerator",_kwnames
))
3085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3086 _result
= (wxPyFontEnumerator
*)new_wxFontEnumerator();
3088 wxPyEndAllowThreads(__tstate
);
3089 if (PyErr_Occurred()) return NULL
;
3091 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyFontEnumerator_p");
3092 _resultobj
= Py_BuildValue("s",_ptemp
);
3095 _resultobj
= Py_None
;
3100 #define delete_wxPyFontEnumerator(_swigobj) (delete _swigobj)
3101 static PyObject
*_wrap_delete_wxFontEnumerator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3102 PyObject
* _resultobj
;
3103 wxPyFontEnumerator
* _arg0
;
3104 PyObject
* _argo0
= 0;
3105 char *_kwnames
[] = { "self", NULL
};
3108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxFontEnumerator",_kwnames
,&_argo0
))
3111 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3112 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) {
3113 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxFontEnumerator. Expected _wxPyFontEnumerator_p.");
3118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3119 delete_wxPyFontEnumerator(_arg0
);
3121 wxPyEndAllowThreads(__tstate
);
3122 if (PyErr_Occurred()) return NULL
;
3123 } Py_INCREF(Py_None
);
3124 _resultobj
= Py_None
;
3128 #define wxFontEnumerator__setCallbackInfo(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1,_swigarg2))
3129 static PyObject
*_wrap_wxFontEnumerator__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3130 PyObject
* _resultobj
;
3131 wxPyFontEnumerator
* _arg0
;
3135 PyObject
* _argo0
= 0;
3136 PyObject
* _obj1
= 0;
3137 PyObject
* _obj2
= 0;
3139 char *_kwnames
[] = { "self","self","_class","incref", NULL
};
3142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOi:wxFontEnumerator__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&tempbool3
))
3145 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3146 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) {
3147 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontEnumerator__setCallbackInfo. Expected _wxPyFontEnumerator_p.");
3157 _arg3
= (bool ) tempbool3
;
3159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3160 wxFontEnumerator__setCallbackInfo(_arg0
,_arg1
,_arg2
,_arg3
);
3162 wxPyEndAllowThreads(__tstate
);
3163 if (PyErr_Occurred()) return NULL
;
3164 } Py_INCREF(Py_None
);
3165 _resultobj
= Py_None
;
3169 #define wxFontEnumerator_EnumerateFacenames(_swigobj,_swigarg0,_swigarg1) (_swigobj->EnumerateFacenames(_swigarg0,_swigarg1))
3170 static PyObject
*_wrap_wxFontEnumerator_EnumerateFacenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3171 PyObject
* _resultobj
;
3173 wxPyFontEnumerator
* _arg0
;
3174 wxFontEncoding _arg1
= (wxFontEncoding
) wxFONTENCODING_SYSTEM
;
3175 bool _arg2
= (bool ) FALSE
;
3176 PyObject
* _argo0
= 0;
3177 int tempbool2
= (int) FALSE
;
3178 char *_kwnames
[] = { "self","encoding","fixedWidthOnly", NULL
};
3181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxFontEnumerator_EnumerateFacenames",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
3184 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3185 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) {
3186 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontEnumerator_EnumerateFacenames. Expected _wxPyFontEnumerator_p.");
3190 _arg2
= (bool ) tempbool2
;
3192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3193 _result
= (bool )wxFontEnumerator_EnumerateFacenames(_arg0
,_arg1
,_arg2
);
3195 wxPyEndAllowThreads(__tstate
);
3196 if (PyErr_Occurred()) return NULL
;
3197 } _resultobj
= Py_BuildValue("i",_result
);
3201 #define wxFontEnumerator_EnumerateEncodings(_swigobj,_swigarg0) (_swigobj->EnumerateEncodings(_swigarg0))
3202 static PyObject
*_wrap_wxFontEnumerator_EnumerateEncodings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3203 PyObject
* _resultobj
;
3205 wxPyFontEnumerator
* _arg0
;
3206 char * _arg1
= (char *) "";
3207 PyObject
* _argo0
= 0;
3208 char *_kwnames
[] = { "self","facename", NULL
};
3211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|s:wxFontEnumerator_EnumerateEncodings",_kwnames
,&_argo0
,&_arg1
))
3214 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3215 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) {
3216 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontEnumerator_EnumerateEncodings. Expected _wxPyFontEnumerator_p.");
3221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3222 _result
= (bool )wxFontEnumerator_EnumerateEncodings(_arg0
,_arg1
);
3224 wxPyEndAllowThreads(__tstate
);
3225 if (PyErr_Occurred()) return NULL
;
3226 } _resultobj
= Py_BuildValue("i",_result
);
3230 static PyObject
* wxPyFontEnumerator_GetEncodings(wxPyFontEnumerator
*self
) {
3231 wxArrayString
* arr
= self
->GetEncodings();
3232 return wxArrayString2PyList_helper(*arr
);
3234 static PyObject
*_wrap_wxFontEnumerator_GetEncodings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3235 PyObject
* _resultobj
;
3237 wxPyFontEnumerator
* _arg0
;
3238 PyObject
* _argo0
= 0;
3239 char *_kwnames
[] = { "self", NULL
};
3242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFontEnumerator_GetEncodings",_kwnames
,&_argo0
))
3245 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3246 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) {
3247 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontEnumerator_GetEncodings. Expected _wxPyFontEnumerator_p.");
3252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3253 _result
= (PyObject
*)wxPyFontEnumerator_GetEncodings(_arg0
);
3255 wxPyEndAllowThreads(__tstate
);
3256 if (PyErr_Occurred()) return NULL
;
3258 _resultobj
= _result
;
3263 static PyObject
* wxPyFontEnumerator_GetFacenames(wxPyFontEnumerator
*self
) {
3264 wxArrayString
* arr
= self
->GetFacenames();
3265 return wxArrayString2PyList_helper(*arr
);
3267 static PyObject
*_wrap_wxFontEnumerator_GetFacenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3268 PyObject
* _resultobj
;
3270 wxPyFontEnumerator
* _arg0
;
3271 PyObject
* _argo0
= 0;
3272 char *_kwnames
[] = { "self", NULL
};
3275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFontEnumerator_GetFacenames",_kwnames
,&_argo0
))
3278 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3279 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) {
3280 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontEnumerator_GetFacenames. Expected _wxPyFontEnumerator_p.");
3285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3286 _result
= (PyObject
*)wxPyFontEnumerator_GetFacenames(_arg0
);
3288 wxPyEndAllowThreads(__tstate
);
3289 if (PyErr_Occurred()) return NULL
;
3291 _resultobj
= _result
;
3296 #define new_wxBusyCursor(_swigarg0) (new wxBusyCursor(_swigarg0))
3297 static PyObject
*_wrap_new_wxBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3298 PyObject
* _resultobj
;
3299 wxBusyCursor
* _result
;
3300 wxCursor
* _arg0
= (wxCursor
*) wxHOURGLASS_CURSOR
;
3301 PyObject
* _argo0
= 0;
3302 char *_kwnames
[] = { "cursor", NULL
};
3306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxBusyCursor",_kwnames
,&_argo0
))
3309 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3310 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
3311 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxBusyCursor. Expected _wxCursor_p.");
3316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3317 _result
= (wxBusyCursor
*)new_wxBusyCursor(_arg0
);
3319 wxPyEndAllowThreads(__tstate
);
3320 if (PyErr_Occurred()) return NULL
;
3322 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBusyCursor_p");
3323 _resultobj
= Py_BuildValue("s",_ptemp
);
3326 _resultobj
= Py_None
;
3331 #define delete_wxBusyCursor(_swigobj) (delete _swigobj)
3332 static PyObject
*_wrap_delete_wxBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3333 PyObject
* _resultobj
;
3334 wxBusyCursor
* _arg0
;
3335 PyObject
* _argo0
= 0;
3336 char *_kwnames
[] = { "self", NULL
};
3339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxBusyCursor",_kwnames
,&_argo0
))
3342 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3343 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBusyCursor_p")) {
3344 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxBusyCursor. Expected _wxBusyCursor_p.");
3349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3350 delete_wxBusyCursor(_arg0
);
3352 wxPyEndAllowThreads(__tstate
);
3353 if (PyErr_Occurred()) return NULL
;
3354 } Py_INCREF(Py_None
);
3355 _resultobj
= Py_None
;
3359 #define new_wxWindowDisabler(_swigarg0) (new wxWindowDisabler(_swigarg0))
3360 static PyObject
*_wrap_new_wxWindowDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3361 PyObject
* _resultobj
;
3362 wxWindowDisabler
* _result
;
3363 wxWindow
* _arg0
= (wxWindow
*) NULL
;
3364 PyObject
* _argo0
= 0;
3365 char *_kwnames
[] = { "winToSkip", NULL
};
3369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxWindowDisabler",_kwnames
,&_argo0
))
3372 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3373 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3374 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxWindowDisabler. Expected _wxWindow_p.");
3379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3380 _result
= (wxWindowDisabler
*)new_wxWindowDisabler(_arg0
);
3382 wxPyEndAllowThreads(__tstate
);
3383 if (PyErr_Occurred()) return NULL
;
3385 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindowDisabler_p");
3386 _resultobj
= Py_BuildValue("s",_ptemp
);
3389 _resultobj
= Py_None
;
3394 #define delete_wxWindowDisabler(_swigobj) (delete _swigobj)
3395 static PyObject
*_wrap_delete_wxWindowDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3396 PyObject
* _resultobj
;
3397 wxWindowDisabler
* _arg0
;
3398 PyObject
* _argo0
= 0;
3399 char *_kwnames
[] = { "self", NULL
};
3402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxWindowDisabler",_kwnames
,&_argo0
))
3405 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3406 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindowDisabler_p")) {
3407 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxWindowDisabler. Expected _wxWindowDisabler_p.");
3412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3413 delete_wxWindowDisabler(_arg0
);
3415 wxPyEndAllowThreads(__tstate
);
3416 if (PyErr_Occurred()) return NULL
;
3417 } Py_INCREF(Py_None
);
3418 _resultobj
= Py_None
;
3422 #define new_wxMutexGuiLocker() (new wxMutexGuiLocker())
3423 static PyObject
*_wrap_new_wxMutexGuiLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3424 PyObject
* _resultobj
;
3425 wxMutexGuiLocker
* _result
;
3426 char *_kwnames
[] = { NULL
};
3430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxMutexGuiLocker",_kwnames
))
3433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3434 _result
= (wxMutexGuiLocker
*)new_wxMutexGuiLocker();
3436 wxPyEndAllowThreads(__tstate
);
3437 if (PyErr_Occurred()) return NULL
;
3439 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMutexGuiLocker_p");
3440 _resultobj
= Py_BuildValue("s",_ptemp
);
3443 _resultobj
= Py_None
;
3448 #define delete_wxMutexGuiLocker(_swigobj) (delete _swigobj)
3449 static PyObject
*_wrap_delete_wxMutexGuiLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3450 PyObject
* _resultobj
;
3451 wxMutexGuiLocker
* _arg0
;
3452 PyObject
* _argo0
= 0;
3453 char *_kwnames
[] = { "self", NULL
};
3456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxMutexGuiLocker",_kwnames
,&_argo0
))
3459 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3460 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMutexGuiLocker_p")) {
3461 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxMutexGuiLocker. Expected _wxMutexGuiLocker_p.");
3466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3467 delete_wxMutexGuiLocker(_arg0
);
3469 wxPyEndAllowThreads(__tstate
);
3470 if (PyErr_Occurred()) return NULL
;
3471 } Py_INCREF(Py_None
);
3472 _resultobj
= Py_None
;
3476 #define delete_wxTipProvider(_swigobj) (delete _swigobj)
3477 static PyObject
*_wrap_delete_wxTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3478 PyObject
* _resultobj
;
3479 wxTipProvider
* _arg0
;
3480 PyObject
* _argo0
= 0;
3481 char *_kwnames
[] = { "self", NULL
};
3484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxTipProvider",_kwnames
,&_argo0
))
3487 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3488 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTipProvider_p")) {
3489 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxTipProvider. Expected _wxTipProvider_p.");
3494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3495 delete_wxTipProvider(_arg0
);
3497 wxPyEndAllowThreads(__tstate
);
3498 if (PyErr_Occurred()) return NULL
;
3499 } Py_INCREF(Py_None
);
3500 _resultobj
= Py_None
;
3504 #define wxTipProvider_GetTip(_swigobj) (_swigobj->GetTip())
3505 static PyObject
*_wrap_wxTipProvider_GetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3506 PyObject
* _resultobj
;
3508 wxTipProvider
* _arg0
;
3509 PyObject
* _argo0
= 0;
3510 char *_kwnames
[] = { "self", NULL
};
3513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTipProvider_GetTip",_kwnames
,&_argo0
))
3516 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3517 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTipProvider_p")) {
3518 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTipProvider_GetTip. Expected _wxTipProvider_p.");
3523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3524 _result
= new wxString (wxTipProvider_GetTip(_arg0
));
3526 wxPyEndAllowThreads(__tstate
);
3527 if (PyErr_Occurred()) return NULL
;
3529 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3537 #define wxTipProvider_GetCurrentTip(_swigobj) (_swigobj->GetCurrentTip())
3538 static PyObject
*_wrap_wxTipProvider_GetCurrentTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3539 PyObject
* _resultobj
;
3541 wxTipProvider
* _arg0
;
3542 PyObject
* _argo0
= 0;
3543 char *_kwnames
[] = { "self", NULL
};
3546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTipProvider_GetCurrentTip",_kwnames
,&_argo0
))
3549 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3550 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTipProvider_p")) {
3551 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTipProvider_GetCurrentTip. Expected _wxTipProvider_p.");
3556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3557 _result
= (size_t )wxTipProvider_GetCurrentTip(_arg0
);
3559 wxPyEndAllowThreads(__tstate
);
3560 if (PyErr_Occurred()) return NULL
;
3561 } _resultobj
= Py_BuildValue("i",_result
);
3565 static void *SwigwxPyTipProviderTowxTipProvider(void *ptr
) {
3566 wxPyTipProvider
*src
;
3567 wxTipProvider
*dest
;
3568 src
= (wxPyTipProvider
*) ptr
;
3569 dest
= (wxTipProvider
*) src
;
3570 return (void *) dest
;
3573 #define new_wxPyTipProvider(_swigarg0) (new wxPyTipProvider(_swigarg0))
3574 static PyObject
*_wrap_new_wxPyTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3575 PyObject
* _resultobj
;
3576 wxPyTipProvider
* _result
;
3578 char *_kwnames
[] = { "currentTip", NULL
};
3582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:new_wxPyTipProvider",_kwnames
,&_arg0
))
3585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3586 _result
= (wxPyTipProvider
*)new_wxPyTipProvider(_arg0
);
3588 wxPyEndAllowThreads(__tstate
);
3589 if (PyErr_Occurred()) return NULL
;
3591 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTipProvider_p");
3592 _resultobj
= Py_BuildValue("s",_ptemp
);
3595 _resultobj
= Py_None
;
3600 static void *SwigwxGenericDragImageTowxObject(void *ptr
) {
3601 wxGenericDragImage
*src
;
3603 src
= (wxGenericDragImage
*) ptr
;
3604 dest
= (wxObject
*) src
;
3605 return (void *) dest
;
3608 #define new_wxDragImage(_swigarg0,_swigarg1) (new wxGenericDragImage(_swigarg0,_swigarg1))
3609 static PyObject
*_wrap_new_wxDragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3610 PyObject
* _resultobj
;
3611 wxGenericDragImage
* _result
;
3613 wxCursor
* _arg1
= (wxCursor
*) &wxNullCursor
;
3614 PyObject
* _argo0
= 0;
3615 PyObject
* _argo1
= 0;
3616 char *_kwnames
[] = { "image","cursor", NULL
};
3620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:new_wxDragImage",_kwnames
,&_argo0
,&_argo1
))
3623 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3624 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
3625 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDragImage. Expected _wxBitmap_p.");
3630 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3631 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCursor_p")) {
3632 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxDragImage. Expected _wxCursor_p.");
3637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3638 _result
= (wxGenericDragImage
*)new_wxDragImage(*_arg0
,*_arg1
);
3640 wxPyEndAllowThreads(__tstate
);
3641 if (PyErr_Occurred()) return NULL
;
3643 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
3644 _resultobj
= Py_BuildValue("s",_ptemp
);
3647 _resultobj
= Py_None
;
3652 #define new_wxDragIcon(_swigarg0,_swigarg1) (new wxGenericDragImage(_swigarg0,_swigarg1))
3653 static PyObject
*_wrap_new_wxDragIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3654 PyObject
* _resultobj
;
3655 wxGenericDragImage
* _result
;
3657 wxCursor
* _arg1
= (wxCursor
*) &wxNullCursor
;
3658 PyObject
* _argo0
= 0;
3659 PyObject
* _argo1
= 0;
3660 char *_kwnames
[] = { "image","cursor", NULL
};
3664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:new_wxDragIcon",_kwnames
,&_argo0
,&_argo1
))
3667 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3668 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
3669 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDragIcon. Expected _wxIcon_p.");
3674 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3675 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCursor_p")) {
3676 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxDragIcon. Expected _wxCursor_p.");
3681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3682 _result
= (wxGenericDragImage
*)new_wxDragIcon(*_arg0
,*_arg1
);
3684 wxPyEndAllowThreads(__tstate
);
3685 if (PyErr_Occurred()) return NULL
;
3687 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
3688 _resultobj
= Py_BuildValue("s",_ptemp
);
3691 _resultobj
= Py_None
;
3696 #define new_wxDragString(_swigarg0,_swigarg1) (new wxGenericDragImage(_swigarg0,_swigarg1))
3697 static PyObject
*_wrap_new_wxDragString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3698 PyObject
* _resultobj
;
3699 wxGenericDragImage
* _result
;
3701 wxCursor
* _arg1
= (wxCursor
*) &wxNullCursor
;
3702 PyObject
* _obj0
= 0;
3703 PyObject
* _argo1
= 0;
3704 char *_kwnames
[] = { "str","cursor", NULL
};
3708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:new_wxDragString",_kwnames
,&_obj0
,&_argo1
))
3711 #if PYTHON_API_VERSION >= 1009
3712 char* tmpPtr
; int tmpSize
;
3713 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
3714 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3717 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
3719 _arg0
= new wxString(tmpPtr
, tmpSize
);
3721 if (!PyString_Check(_obj0
)) {
3722 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3725 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
3729 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3730 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCursor_p")) {
3731 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxDragString. Expected _wxCursor_p.");
3736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3737 _result
= (wxGenericDragImage
*)new_wxDragString(*_arg0
,*_arg1
);
3739 wxPyEndAllowThreads(__tstate
);
3740 if (PyErr_Occurred()) return NULL
;
3742 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
3743 _resultobj
= Py_BuildValue("s",_ptemp
);
3746 _resultobj
= Py_None
;
3755 #define new_wxDragTreeItem(_swigarg0,_swigarg1) (new wxGenericDragImage(_swigarg0,_swigarg1))
3756 static PyObject
*_wrap_new_wxDragTreeItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3757 PyObject
* _resultobj
;
3758 wxGenericDragImage
* _result
;
3760 wxTreeItemId
* _arg1
;
3761 PyObject
* _argo0
= 0;
3762 PyObject
* _argo1
= 0;
3763 char *_kwnames
[] = { "treeCtrl","id", NULL
};
3767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:new_wxDragTreeItem",_kwnames
,&_argo0
,&_argo1
))
3770 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3771 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3772 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDragTreeItem. Expected _wxTreeCtrl_p.");
3777 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3778 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3779 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxDragTreeItem. Expected _wxTreeItemId_p.");
3784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3785 _result
= (wxGenericDragImage
*)new_wxDragTreeItem(*_arg0
,*_arg1
);
3787 wxPyEndAllowThreads(__tstate
);
3788 if (PyErr_Occurred()) return NULL
;
3790 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
3791 _resultobj
= Py_BuildValue("s",_ptemp
);
3794 _resultobj
= Py_None
;
3799 #define new_wxDragListItem(_swigarg0,_swigarg1) (new wxGenericDragImage(_swigarg0,_swigarg1))
3800 static PyObject
*_wrap_new_wxDragListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3801 PyObject
* _resultobj
;
3802 wxGenericDragImage
* _result
;
3805 PyObject
* _argo0
= 0;
3806 char *_kwnames
[] = { "listCtrl","id", NULL
};
3810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:new_wxDragListItem",_kwnames
,&_argo0
,&_arg1
))
3813 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3814 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3815 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDragListItem. Expected _wxListCtrl_p.");
3820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3821 _result
= (wxGenericDragImage
*)new_wxDragListItem(*_arg0
,_arg1
);
3823 wxPyEndAllowThreads(__tstate
);
3824 if (PyErr_Occurred()) return NULL
;
3826 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
3827 _resultobj
= Py_BuildValue("s",_ptemp
);
3830 _resultobj
= Py_None
;
3835 #define delete_wxGenericDragImage(_swigobj) (delete _swigobj)
3836 static PyObject
*_wrap_delete_wxDragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3837 PyObject
* _resultobj
;
3838 wxGenericDragImage
* _arg0
;
3839 PyObject
* _argo0
= 0;
3840 char *_kwnames
[] = { "self", NULL
};
3843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxDragImage",_kwnames
,&_argo0
))
3846 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3847 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3848 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxDragImage. Expected _wxGenericDragImage_p.");
3853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3854 delete_wxGenericDragImage(_arg0
);
3856 wxPyEndAllowThreads(__tstate
);
3857 if (PyErr_Occurred()) return NULL
;
3858 } Py_INCREF(Py_None
);
3859 _resultobj
= Py_None
;
3863 #define wxDragImage_SetBackingBitmap(_swigobj,_swigarg0) (_swigobj->SetBackingBitmap(_swigarg0))
3864 static PyObject
*_wrap_wxDragImage_SetBackingBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3865 PyObject
* _resultobj
;
3866 wxGenericDragImage
* _arg0
;
3868 PyObject
* _argo0
= 0;
3869 PyObject
* _argo1
= 0;
3870 char *_kwnames
[] = { "self","bitmap", NULL
};
3873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDragImage_SetBackingBitmap",_kwnames
,&_argo0
,&_argo1
))
3876 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3877 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3878 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_SetBackingBitmap. Expected _wxGenericDragImage_p.");
3883 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3884 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
3885 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDragImage_SetBackingBitmap. Expected _wxBitmap_p.");
3890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3891 wxDragImage_SetBackingBitmap(_arg0
,_arg1
);
3893 wxPyEndAllowThreads(__tstate
);
3894 if (PyErr_Occurred()) return NULL
;
3895 } Py_INCREF(Py_None
);
3896 _resultobj
= Py_None
;
3900 #define wxDragImage_BeginDrag(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->BeginDrag(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3901 static PyObject
*_wrap_wxDragImage_BeginDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3902 PyObject
* _resultobj
;
3904 wxGenericDragImage
* _arg0
;
3907 bool _arg3
= (bool ) FALSE
;
3908 wxRect
* _arg4
= (wxRect
*) NULL
;
3909 PyObject
* _argo0
= 0;
3911 PyObject
* _obj1
= 0;
3912 PyObject
* _argo2
= 0;
3913 int tempbool3
= (int) FALSE
;
3915 PyObject
* _obj4
= 0;
3916 char *_kwnames
[] = { "self","hotspot","window","fullScreen","rect", NULL
};
3919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|iO:wxDragImage_BeginDrag",_kwnames
,&_argo0
,&_obj1
,&_argo2
,&tempbool3
,&_obj4
))
3922 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3923 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3924 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_BeginDrag. Expected _wxGenericDragImage_p.");
3930 if (! wxPoint_helper(_obj1
, &_arg1
))
3934 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3935 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
3936 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxDragImage_BeginDrag. Expected _wxWindow_p.");
3940 _arg3
= (bool ) tempbool3
;
3944 if (! wxRect_helper(_obj4
, &_arg4
))
3948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3949 _result
= (bool )wxDragImage_BeginDrag(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
);
3951 wxPyEndAllowThreads(__tstate
);
3952 if (PyErr_Occurred()) return NULL
;
3953 } _resultobj
= Py_BuildValue("i",_result
);
3957 #define wxDragImage_BeginDrag2(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->BeginDrag(_swigarg0,_swigarg1,_swigarg2))
3958 static PyObject
*_wrap_wxDragImage_BeginDrag2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3959 PyObject
* _resultobj
;
3961 wxGenericDragImage
* _arg0
;
3965 PyObject
* _argo0
= 0;
3967 PyObject
* _obj1
= 0;
3968 PyObject
* _argo2
= 0;
3969 PyObject
* _argo3
= 0;
3970 char *_kwnames
[] = { "self","hotspot","window","fullScreenRect", NULL
};
3973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO:wxDragImage_BeginDrag2",_kwnames
,&_argo0
,&_obj1
,&_argo2
,&_argo3
))
3976 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3977 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3978 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_BeginDrag2. Expected _wxGenericDragImage_p.");
3984 if (! wxPoint_helper(_obj1
, &_arg1
))
3988 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3989 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
3990 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxDragImage_BeginDrag2. Expected _wxWindow_p.");
3995 if (_argo3
== Py_None
) { _arg3
= NULL
; }
3996 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxWindow_p")) {
3997 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxDragImage_BeginDrag2. Expected _wxWindow_p.");
4002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4003 _result
= (bool )wxDragImage_BeginDrag2(_arg0
,*_arg1
,_arg2
,_arg3
);
4005 wxPyEndAllowThreads(__tstate
);
4006 if (PyErr_Occurred()) return NULL
;
4007 } _resultobj
= Py_BuildValue("i",_result
);
4011 #define wxDragImage_EndDrag(_swigobj) (_swigobj->EndDrag())
4012 static PyObject
*_wrap_wxDragImage_EndDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4013 PyObject
* _resultobj
;
4015 wxGenericDragImage
* _arg0
;
4016 PyObject
* _argo0
= 0;
4017 char *_kwnames
[] = { "self", NULL
};
4020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDragImage_EndDrag",_kwnames
,&_argo0
))
4023 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4024 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
4025 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_EndDrag. Expected _wxGenericDragImage_p.");
4030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4031 _result
= (bool )wxDragImage_EndDrag(_arg0
);
4033 wxPyEndAllowThreads(__tstate
);
4034 if (PyErr_Occurred()) return NULL
;
4035 } _resultobj
= Py_BuildValue("i",_result
);
4039 #define wxDragImage_Move(_swigobj,_swigarg0) (_swigobj->Move(_swigarg0))
4040 static PyObject
*_wrap_wxDragImage_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4041 PyObject
* _resultobj
;
4043 wxGenericDragImage
* _arg0
;
4045 PyObject
* _argo0
= 0;
4047 PyObject
* _obj1
= 0;
4048 char *_kwnames
[] = { "self","pt", NULL
};
4051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDragImage_Move",_kwnames
,&_argo0
,&_obj1
))
4054 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4055 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
4056 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_Move. Expected _wxGenericDragImage_p.");
4062 if (! wxPoint_helper(_obj1
, &_arg1
))
4066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4067 _result
= (bool )wxDragImage_Move(_arg0
,*_arg1
);
4069 wxPyEndAllowThreads(__tstate
);
4070 if (PyErr_Occurred()) return NULL
;
4071 } _resultobj
= Py_BuildValue("i",_result
);
4075 #define wxDragImage_Show(_swigobj) (_swigobj->Show())
4076 static PyObject
*_wrap_wxDragImage_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4077 PyObject
* _resultobj
;
4079 wxGenericDragImage
* _arg0
;
4080 PyObject
* _argo0
= 0;
4081 char *_kwnames
[] = { "self", NULL
};
4084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDragImage_Show",_kwnames
,&_argo0
))
4087 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4088 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
4089 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_Show. Expected _wxGenericDragImage_p.");
4094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4095 _result
= (bool )wxDragImage_Show(_arg0
);
4097 wxPyEndAllowThreads(__tstate
);
4098 if (PyErr_Occurred()) return NULL
;
4099 } _resultobj
= Py_BuildValue("i",_result
);
4103 #define wxDragImage_Hide(_swigobj) (_swigobj->Hide())
4104 static PyObject
*_wrap_wxDragImage_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4105 PyObject
* _resultobj
;
4107 wxGenericDragImage
* _arg0
;
4108 PyObject
* _argo0
= 0;
4109 char *_kwnames
[] = { "self", NULL
};
4112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDragImage_Hide",_kwnames
,&_argo0
))
4115 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4116 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
4117 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_Hide. Expected _wxGenericDragImage_p.");
4122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4123 _result
= (bool )wxDragImage_Hide(_arg0
);
4125 wxPyEndAllowThreads(__tstate
);
4126 if (PyErr_Occurred()) return NULL
;
4127 } _resultobj
= Py_BuildValue("i",_result
);
4131 #define wxDragImage_GetImageRect(_swigobj,_swigarg0) (_swigobj->GetImageRect(_swigarg0))
4132 static PyObject
*_wrap_wxDragImage_GetImageRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4133 PyObject
* _resultobj
;
4135 wxGenericDragImage
* _arg0
;
4137 PyObject
* _argo0
= 0;
4139 PyObject
* _obj1
= 0;
4140 char *_kwnames
[] = { "self","pos", NULL
};
4144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDragImage_GetImageRect",_kwnames
,&_argo0
,&_obj1
))
4147 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4148 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
4149 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_GetImageRect. Expected _wxGenericDragImage_p.");
4155 if (! wxPoint_helper(_obj1
, &_arg1
))
4159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4160 _result
= new wxRect (wxDragImage_GetImageRect(_arg0
,*_arg1
));
4162 wxPyEndAllowThreads(__tstate
);
4163 if (PyErr_Occurred()) return NULL
;
4164 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
4165 _resultobj
= Py_BuildValue("s",_ptemp
);
4169 #define wxDragImage_RedrawImage(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->RedrawImage(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4170 static PyObject
*_wrap_wxDragImage_RedrawImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4171 PyObject
* _resultobj
;
4173 wxGenericDragImage
* _arg0
;
4178 PyObject
* _argo0
= 0;
4180 PyObject
* _obj1
= 0;
4182 PyObject
* _obj2
= 0;
4185 char *_kwnames
[] = { "self","oldPos","newPos","eraseOld","drawNew", NULL
};
4188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOii:wxDragImage_RedrawImage",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&tempbool3
,&tempbool4
))
4191 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4192 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
4193 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_RedrawImage. Expected _wxGenericDragImage_p.");
4199 if (! wxPoint_helper(_obj1
, &_arg1
))
4204 if (! wxPoint_helper(_obj2
, &_arg2
))
4207 _arg3
= (bool ) tempbool3
;
4208 _arg4
= (bool ) tempbool4
;
4210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4211 _result
= (bool )wxDragImage_RedrawImage(_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
);
4213 wxPyEndAllowThreads(__tstate
);
4214 if (PyErr_Occurred()) return NULL
;
4215 } _resultobj
= Py_BuildValue("i",_result
);
4219 static void *SwigwxPyTimerTowxObject(void *ptr
) {
4222 src
= (wxPyTimer
*) ptr
;
4223 dest
= (wxObject
*) src
;
4224 return (void *) dest
;
4227 #define new_wxPyTimer(_swigarg0) (new wxPyTimer(_swigarg0))
4228 static PyObject
*_wrap_new_wxPyTimer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4229 PyObject
* _resultobj
;
4230 wxPyTimer
* _result
;
4232 PyObject
* _obj0
= 0;
4233 char *_kwnames
[] = { "notify", NULL
};
4237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxPyTimer",_kwnames
,&_obj0
))
4243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4244 _result
= (wxPyTimer
*)new_wxPyTimer(_arg0
);
4246 wxPyEndAllowThreads(__tstate
);
4247 if (PyErr_Occurred()) return NULL
;
4249 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTimer_p");
4250 _resultobj
= Py_BuildValue("s",_ptemp
);
4253 _resultobj
= Py_None
;
4258 #define delete_wxPyTimer(_swigobj) (delete _swigobj)
4259 static PyObject
*_wrap_delete_wxPyTimer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4260 PyObject
* _resultobj
;
4262 PyObject
* _argo0
= 0;
4263 char *_kwnames
[] = { "self", NULL
};
4266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPyTimer",_kwnames
,&_argo0
))
4269 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4270 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4271 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPyTimer. Expected _wxPyTimer_p.");
4276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4277 delete_wxPyTimer(_arg0
);
4279 wxPyEndAllowThreads(__tstate
);
4280 if (PyErr_Occurred()) return NULL
;
4281 } Py_INCREF(Py_None
);
4282 _resultobj
= Py_None
;
4286 #define wxPyTimer_GetInterval(_swigobj) (_swigobj->GetInterval())
4287 static PyObject
*_wrap_wxPyTimer_GetInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4288 PyObject
* _resultobj
;
4291 PyObject
* _argo0
= 0;
4292 char *_kwnames
[] = { "self", NULL
};
4295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_GetInterval",_kwnames
,&_argo0
))
4298 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4299 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4300 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_GetInterval. Expected _wxPyTimer_p.");
4305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4306 _result
= (int )wxPyTimer_GetInterval(_arg0
);
4308 wxPyEndAllowThreads(__tstate
);
4309 if (PyErr_Occurred()) return NULL
;
4310 } _resultobj
= Py_BuildValue("i",_result
);
4314 #define wxPyTimer_IsOneShot(_swigobj) (_swigobj->IsOneShot())
4315 static PyObject
*_wrap_wxPyTimer_IsOneShot(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4316 PyObject
* _resultobj
;
4319 PyObject
* _argo0
= 0;
4320 char *_kwnames
[] = { "self", NULL
};
4323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_IsOneShot",_kwnames
,&_argo0
))
4326 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4327 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4328 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_IsOneShot. Expected _wxPyTimer_p.");
4333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4334 _result
= (bool )wxPyTimer_IsOneShot(_arg0
);
4336 wxPyEndAllowThreads(__tstate
);
4337 if (PyErr_Occurred()) return NULL
;
4338 } _resultobj
= Py_BuildValue("i",_result
);
4342 #define wxPyTimer_IsRunning(_swigobj) (_swigobj->IsRunning())
4343 static PyObject
*_wrap_wxPyTimer_IsRunning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4344 PyObject
* _resultobj
;
4347 PyObject
* _argo0
= 0;
4348 char *_kwnames
[] = { "self", NULL
};
4351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_IsRunning",_kwnames
,&_argo0
))
4354 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4355 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4356 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_IsRunning. Expected _wxPyTimer_p.");
4361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4362 _result
= (bool )wxPyTimer_IsRunning(_arg0
);
4364 wxPyEndAllowThreads(__tstate
);
4365 if (PyErr_Occurred()) return NULL
;
4366 } _resultobj
= Py_BuildValue("i",_result
);
4370 #define wxPyTimer_SetOwner(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetOwner(_swigarg0,_swigarg1))
4371 static PyObject
*_wrap_wxPyTimer_SetOwner(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4372 PyObject
* _resultobj
;
4374 wxEvtHandler
* _arg1
;
4375 int _arg2
= (int ) -1;
4376 PyObject
* _argo0
= 0;
4377 PyObject
* _argo1
= 0;
4378 char *_kwnames
[] = { "self","owner","id", NULL
};
4381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxPyTimer_SetOwner",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
4384 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4385 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4386 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_SetOwner. Expected _wxPyTimer_p.");
4391 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4392 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
4393 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyTimer_SetOwner. Expected _wxEvtHandler_p.");
4398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4399 wxPyTimer_SetOwner(_arg0
,_arg1
,_arg2
);
4401 wxPyEndAllowThreads(__tstate
);
4402 if (PyErr_Occurred()) return NULL
;
4403 } Py_INCREF(Py_None
);
4404 _resultobj
= Py_None
;
4408 #define wxPyTimer_Start(_swigobj,_swigarg0,_swigarg1) (_swigobj->Start(_swigarg0,_swigarg1))
4409 static PyObject
*_wrap_wxPyTimer_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4410 PyObject
* _resultobj
;
4412 int _arg1
= (int ) -1;
4413 int _arg2
= (int ) FALSE
;
4414 PyObject
* _argo0
= 0;
4415 char *_kwnames
[] = { "self","milliseconds","oneShot", NULL
};
4418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxPyTimer_Start",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4421 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4422 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4423 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_Start. Expected _wxPyTimer_p.");
4428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4429 wxPyTimer_Start(_arg0
,_arg1
,_arg2
);
4431 wxPyEndAllowThreads(__tstate
);
4432 if (PyErr_Occurred()) return NULL
;
4433 } Py_INCREF(Py_None
);
4434 _resultobj
= Py_None
;
4438 #define wxPyTimer_Stop(_swigobj) (_swigobj->Stop())
4439 static PyObject
*_wrap_wxPyTimer_Stop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4440 PyObject
* _resultobj
;
4442 PyObject
* _argo0
= 0;
4443 char *_kwnames
[] = { "self", NULL
};
4446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_Stop",_kwnames
,&_argo0
))
4449 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4450 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4451 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_Stop. Expected _wxPyTimer_p.");
4456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4457 wxPyTimer_Stop(_arg0
);
4459 wxPyEndAllowThreads(__tstate
);
4460 if (PyErr_Occurred()) return NULL
;
4461 } Py_INCREF(Py_None
);
4462 _resultobj
= Py_None
;
4466 #define new_wxStopWatch() (new wxStopWatch())
4467 static PyObject
*_wrap_new_wxStopWatch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4468 PyObject
* _resultobj
;
4469 wxStopWatch
* _result
;
4470 char *_kwnames
[] = { NULL
};
4474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxStopWatch",_kwnames
))
4477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4478 _result
= (wxStopWatch
*)new_wxStopWatch();
4480 wxPyEndAllowThreads(__tstate
);
4481 if (PyErr_Occurred()) return NULL
;
4483 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStopWatch_p");
4484 _resultobj
= Py_BuildValue("s",_ptemp
);
4487 _resultobj
= Py_None
;
4492 #define delete_wxStopWatch(_swigobj) (delete _swigobj)
4493 static PyObject
*_wrap_delete_wxStopWatch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4494 PyObject
* _resultobj
;
4495 wxStopWatch
* _arg0
;
4496 PyObject
* _argo0
= 0;
4497 char *_kwnames
[] = { "self", NULL
};
4500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxStopWatch",_kwnames
,&_argo0
))
4503 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4504 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStopWatch_p")) {
4505 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxStopWatch. Expected _wxStopWatch_p.");
4510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4511 delete_wxStopWatch(_arg0
);
4513 wxPyEndAllowThreads(__tstate
);
4514 if (PyErr_Occurred()) return NULL
;
4515 } Py_INCREF(Py_None
);
4516 _resultobj
= Py_None
;
4520 #define wxStopWatch_Start(_swigobj,_swigarg0) (_swigobj->Start(_swigarg0))
4521 static PyObject
*_wrap_wxStopWatch_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4522 PyObject
* _resultobj
;
4523 wxStopWatch
* _arg0
;
4524 long _arg1
= (long ) 0;
4525 PyObject
* _argo0
= 0;
4526 char *_kwnames
[] = { "self","t", NULL
};
4529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|l:wxStopWatch_Start",_kwnames
,&_argo0
,&_arg1
))
4532 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4533 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStopWatch_p")) {
4534 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStopWatch_Start. Expected _wxStopWatch_p.");
4539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4540 wxStopWatch_Start(_arg0
,_arg1
);
4542 wxPyEndAllowThreads(__tstate
);
4543 if (PyErr_Occurred()) return NULL
;
4544 } Py_INCREF(Py_None
);
4545 _resultobj
= Py_None
;
4549 #define wxStopWatch_Pause(_swigobj) (_swigobj->Pause())
4550 static PyObject
*_wrap_wxStopWatch_Pause(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4551 PyObject
* _resultobj
;
4552 wxStopWatch
* _arg0
;
4553 PyObject
* _argo0
= 0;
4554 char *_kwnames
[] = { "self", NULL
};
4557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStopWatch_Pause",_kwnames
,&_argo0
))
4560 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4561 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStopWatch_p")) {
4562 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStopWatch_Pause. Expected _wxStopWatch_p.");
4567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4568 wxStopWatch_Pause(_arg0
);
4570 wxPyEndAllowThreads(__tstate
);
4571 if (PyErr_Occurred()) return NULL
;
4572 } Py_INCREF(Py_None
);
4573 _resultobj
= Py_None
;
4577 #define wxStopWatch_Resume(_swigobj) (_swigobj->Resume())
4578 static PyObject
*_wrap_wxStopWatch_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4579 PyObject
* _resultobj
;
4580 wxStopWatch
* _arg0
;
4581 PyObject
* _argo0
= 0;
4582 char *_kwnames
[] = { "self", NULL
};
4585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStopWatch_Resume",_kwnames
,&_argo0
))
4588 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4589 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStopWatch_p")) {
4590 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStopWatch_Resume. Expected _wxStopWatch_p.");
4595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4596 wxStopWatch_Resume(_arg0
);
4598 wxPyEndAllowThreads(__tstate
);
4599 if (PyErr_Occurred()) return NULL
;
4600 } Py_INCREF(Py_None
);
4601 _resultobj
= Py_None
;
4605 #define wxStopWatch_Time(_swigobj) (_swigobj->Time())
4606 static PyObject
*_wrap_wxStopWatch_Time(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4607 PyObject
* _resultobj
;
4609 wxStopWatch
* _arg0
;
4610 PyObject
* _argo0
= 0;
4611 char *_kwnames
[] = { "self", NULL
};
4614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStopWatch_Time",_kwnames
,&_argo0
))
4617 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4618 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStopWatch_p")) {
4619 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStopWatch_Time. Expected _wxStopWatch_p.");
4624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4625 _result
= (long )wxStopWatch_Time(_arg0
);
4627 wxPyEndAllowThreads(__tstate
);
4628 if (PyErr_Occurred()) return NULL
;
4629 } _resultobj
= Py_BuildValue("l",_result
);
4633 #define new_wxLog() (new wxLog())
4634 static PyObject
*_wrap_new_wxLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4635 PyObject
* _resultobj
;
4637 char *_kwnames
[] = { NULL
};
4641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLog",_kwnames
))
4644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4645 _result
= (wxLog
*)new_wxLog();
4647 wxPyEndAllowThreads(__tstate
);
4648 if (PyErr_Occurred()) return NULL
;
4650 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
4651 _resultobj
= Py_BuildValue("s",_ptemp
);
4654 _resultobj
= Py_None
;
4659 static PyObject
*_wrap_wxLog_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4660 PyObject
* _resultobj
;
4662 char *_kwnames
[] = { NULL
};
4665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_IsEnabled",_kwnames
))
4668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4669 _result
= (bool )wxLog::IsEnabled();
4671 wxPyEndAllowThreads(__tstate
);
4672 if (PyErr_Occurred()) return NULL
;
4673 } _resultobj
= Py_BuildValue("i",_result
);
4677 static PyObject
*_wrap_wxLog_EnableLogging(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4678 PyObject
* _resultobj
;
4680 bool _arg0
= (bool ) TRUE
;
4681 int tempbool0
= (int) TRUE
;
4682 char *_kwnames
[] = { "doIt", NULL
};
4685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:wxLog_EnableLogging",_kwnames
,&tempbool0
))
4687 _arg0
= (bool ) tempbool0
;
4689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4690 _result
= (bool )wxLog::EnableLogging(_arg0
);
4692 wxPyEndAllowThreads(__tstate
);
4693 if (PyErr_Occurred()) return NULL
;
4694 } _resultobj
= Py_BuildValue("i",_result
);
4698 static PyObject
*_wrap_wxLog_OnLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4699 PyObject
* _resultobj
;
4702 int _arg2
= (int ) 0;
4703 PyObject
* _argo0
= 0;
4704 char *_kwnames
[] = { "level","szString","t", NULL
};
4707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Os|i:wxLog_OnLog",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4710 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4711 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogLevel_p")) {
4712 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_OnLog. Expected _wxLogLevel_p.");
4717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4718 wxLog::OnLog(*_arg0
,_arg1
,_arg2
);
4720 wxPyEndAllowThreads(__tstate
);
4721 if (PyErr_Occurred()) return NULL
;
4722 } Py_INCREF(Py_None
);
4723 _resultobj
= Py_None
;
4727 #define wxLog_Flush(_swigobj) (_swigobj->Flush())
4728 static PyObject
*_wrap_wxLog_Flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4729 PyObject
* _resultobj
;
4731 PyObject
* _argo0
= 0;
4732 char *_kwnames
[] = { "self", NULL
};
4735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_Flush",_kwnames
,&_argo0
))
4738 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4739 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
4740 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_Flush. Expected _wxLog_p.");
4745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4748 wxPyEndAllowThreads(__tstate
);
4749 if (PyErr_Occurred()) return NULL
;
4750 } Py_INCREF(Py_None
);
4751 _resultobj
= Py_None
;
4755 #define wxLog_HasPendingMessages(_swigobj) (_swigobj->HasPendingMessages())
4756 static PyObject
*_wrap_wxLog_HasPendingMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4757 PyObject
* _resultobj
;
4760 PyObject
* _argo0
= 0;
4761 char *_kwnames
[] = { "self", NULL
};
4764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_HasPendingMessages",_kwnames
,&_argo0
))
4767 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4768 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
4769 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_HasPendingMessages. Expected _wxLog_p.");
4774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4775 _result
= (bool )wxLog_HasPendingMessages(_arg0
);
4777 wxPyEndAllowThreads(__tstate
);
4778 if (PyErr_Occurred()) return NULL
;
4779 } _resultobj
= Py_BuildValue("i",_result
);
4783 static PyObject
*_wrap_wxLog_FlushActive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4784 PyObject
* _resultobj
;
4785 char *_kwnames
[] = { NULL
};
4788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_FlushActive",_kwnames
))
4791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4792 wxLog::FlushActive();
4794 wxPyEndAllowThreads(__tstate
);
4795 if (PyErr_Occurred()) return NULL
;
4796 } Py_INCREF(Py_None
);
4797 _resultobj
= Py_None
;
4801 static PyObject
*_wrap_wxLog_GetActiveTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4802 PyObject
* _resultobj
;
4804 char *_kwnames
[] = { NULL
};
4808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_GetActiveTarget",_kwnames
))
4811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4812 _result
= (wxLog
*)wxLog::GetActiveTarget();
4814 wxPyEndAllowThreads(__tstate
);
4815 if (PyErr_Occurred()) return NULL
;
4817 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
4818 _resultobj
= Py_BuildValue("s",_ptemp
);
4821 _resultobj
= Py_None
;
4826 static PyObject
*_wrap_wxLog_SetActiveTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4827 PyObject
* _resultobj
;
4830 PyObject
* _argo0
= 0;
4831 char *_kwnames
[] = { "pLogger", NULL
};
4835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_SetActiveTarget",_kwnames
,&_argo0
))
4838 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4839 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
4840 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_SetActiveTarget. Expected _wxLog_p.");
4845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4846 _result
= (wxLog
*)wxLog::SetActiveTarget(_arg0
);
4848 wxPyEndAllowThreads(__tstate
);
4849 if (PyErr_Occurred()) return NULL
;
4851 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
4852 _resultobj
= Py_BuildValue("s",_ptemp
);
4855 _resultobj
= Py_None
;
4860 static PyObject
*_wrap_wxLog_Suspend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4861 PyObject
* _resultobj
;
4862 char *_kwnames
[] = { NULL
};
4865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_Suspend",_kwnames
))
4868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4871 wxPyEndAllowThreads(__tstate
);
4872 if (PyErr_Occurred()) return NULL
;
4873 } Py_INCREF(Py_None
);
4874 _resultobj
= Py_None
;
4878 static PyObject
*_wrap_wxLog_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4879 PyObject
* _resultobj
;
4880 char *_kwnames
[] = { NULL
};
4883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_Resume",_kwnames
))
4886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4889 wxPyEndAllowThreads(__tstate
);
4890 if (PyErr_Occurred()) return NULL
;
4891 } Py_INCREF(Py_None
);
4892 _resultobj
= Py_None
;
4896 #define wxLog_SetVerbose(_swigobj,_swigarg0) (_swigobj->SetVerbose(_swigarg0))
4897 static PyObject
*_wrap_wxLog_SetVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4898 PyObject
* _resultobj
;
4900 bool _arg1
= (bool ) TRUE
;
4901 PyObject
* _argo0
= 0;
4902 int tempbool1
= (int) TRUE
;
4903 char *_kwnames
[] = { "self","bVerbose", NULL
};
4906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxLog_SetVerbose",_kwnames
,&_argo0
,&tempbool1
))
4909 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4910 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
4911 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_SetVerbose. Expected _wxLog_p.");
4915 _arg1
= (bool ) tempbool1
;
4917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4918 wxLog_SetVerbose(_arg0
,_arg1
);
4920 wxPyEndAllowThreads(__tstate
);
4921 if (PyErr_Occurred()) return NULL
;
4922 } Py_INCREF(Py_None
);
4923 _resultobj
= Py_None
;
4927 static PyObject
*_wrap_wxLog_DontCreateOnDemand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4928 PyObject
* _resultobj
;
4929 char *_kwnames
[] = { NULL
};
4932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_DontCreateOnDemand",_kwnames
))
4935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4936 wxLog::DontCreateOnDemand();
4938 wxPyEndAllowThreads(__tstate
);
4939 if (PyErr_Occurred()) return NULL
;
4940 } Py_INCREF(Py_None
);
4941 _resultobj
= Py_None
;
4945 static PyObject
*_wrap_wxLog_SetTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4946 PyObject
* _resultobj
;
4947 wxTraceMask
* _arg0
;
4948 PyObject
* _argo0
= 0;
4949 char *_kwnames
[] = { "ulMask", NULL
};
4952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_SetTraceMask",_kwnames
,&_argo0
))
4955 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4956 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTraceMask_p")) {
4957 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_SetTraceMask. Expected _wxTraceMask_p.");
4962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4963 wxLog::SetTraceMask(*_arg0
);
4965 wxPyEndAllowThreads(__tstate
);
4966 if (PyErr_Occurred()) return NULL
;
4967 } Py_INCREF(Py_None
);
4968 _resultobj
= Py_None
;
4972 static PyObject
*_wrap_wxLog_AddTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4973 PyObject
* _resultobj
;
4975 PyObject
* _obj0
= 0;
4976 char *_kwnames
[] = { "str", NULL
};
4979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_AddTraceMask",_kwnames
,&_obj0
))
4982 #if PYTHON_API_VERSION >= 1009
4983 char* tmpPtr
; int tmpSize
;
4984 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
4985 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4988 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
4990 _arg0
= new wxString(tmpPtr
, tmpSize
);
4992 if (!PyString_Check(_obj0
)) {
4993 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4996 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
5000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5001 wxLog::AddTraceMask(*_arg0
);
5003 wxPyEndAllowThreads(__tstate
);
5004 if (PyErr_Occurred()) return NULL
;
5005 } Py_INCREF(Py_None
);
5006 _resultobj
= Py_None
;
5014 static PyObject
*_wrap_wxLog_RemoveTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5015 PyObject
* _resultobj
;
5017 PyObject
* _obj0
= 0;
5018 char *_kwnames
[] = { "str", NULL
};
5021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_RemoveTraceMask",_kwnames
,&_obj0
))
5024 #if PYTHON_API_VERSION >= 1009
5025 char* tmpPtr
; int tmpSize
;
5026 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
5027 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5030 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
5032 _arg0
= new wxString(tmpPtr
, tmpSize
);
5034 if (!PyString_Check(_obj0
)) {
5035 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5038 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
5042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5043 wxLog::RemoveTraceMask(*_arg0
);
5045 wxPyEndAllowThreads(__tstate
);
5046 if (PyErr_Occurred()) return NULL
;
5047 } Py_INCREF(Py_None
);
5048 _resultobj
= Py_None
;
5056 static PyObject
*_wrap_wxLog_ClearTraceMasks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5057 PyObject
* _resultobj
;
5058 char *_kwnames
[] = { NULL
};
5061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_ClearTraceMasks",_kwnames
))
5064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5065 wxLog::ClearTraceMasks();
5067 wxPyEndAllowThreads(__tstate
);
5068 if (PyErr_Occurred()) return NULL
;
5069 } Py_INCREF(Py_None
);
5070 _resultobj
= Py_None
;
5074 static PyObject
*_wrap_wxLog_SetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5075 PyObject
* _resultobj
;
5077 char *_kwnames
[] = { "ts", NULL
};
5080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLog_SetTimestamp",_kwnames
,&_arg0
))
5083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5084 wxLog::SetTimestamp(_arg0
);
5086 wxPyEndAllowThreads(__tstate
);
5087 if (PyErr_Occurred()) return NULL
;
5088 } Py_INCREF(Py_None
);
5089 _resultobj
= Py_None
;
5093 static PyObject
*_wrap_wxLog_GetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5094 PyObject
* _resultobj
;
5096 char *_kwnames
[] = { NULL
};
5099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_GetTimestamp",_kwnames
))
5102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5103 _result
= (wxChar
*)wxLog::GetTimestamp();
5105 wxPyEndAllowThreads(__tstate
);
5106 if (PyErr_Occurred()) return NULL
;
5107 } _resultobj
= Py_BuildValue("s", _result
);
5111 #define wxLog_GetVerbose(_swigobj) (_swigobj->GetVerbose())
5112 static PyObject
*_wrap_wxLog_GetVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5113 PyObject
* _resultobj
;
5116 PyObject
* _argo0
= 0;
5117 char *_kwnames
[] = { "self", NULL
};
5120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_GetVerbose",_kwnames
,&_argo0
))
5123 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5124 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
5125 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_GetVerbose. Expected _wxLog_p.");
5130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5131 _result
= (bool )wxLog_GetVerbose(_arg0
);
5133 wxPyEndAllowThreads(__tstate
);
5134 if (PyErr_Occurred()) return NULL
;
5135 } _resultobj
= Py_BuildValue("i",_result
);
5139 static PyObject
*_wrap_wxLog_GetTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5140 PyObject
* _resultobj
;
5141 wxTraceMask
* _result
;
5142 char *_kwnames
[] = { NULL
};
5146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_GetTraceMask",_kwnames
))
5149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5150 _result
= new wxTraceMask (wxLog::GetTraceMask());
5152 wxPyEndAllowThreads(__tstate
);
5153 if (PyErr_Occurred()) return NULL
;
5154 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTraceMask_p");
5155 _resultobj
= Py_BuildValue("s",_ptemp
);
5159 static PyObject
*_wrap_wxLog_IsAllowedTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5160 PyObject
* _resultobj
;
5163 char *_kwnames
[] = { "mask", NULL
};
5166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLog_IsAllowedTraceMask",_kwnames
,&_arg0
))
5169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5170 _result
= (bool )wxLog::IsAllowedTraceMask(_arg0
);
5172 wxPyEndAllowThreads(__tstate
);
5173 if (PyErr_Occurred()) return NULL
;
5174 } _resultobj
= Py_BuildValue("i",_result
);
5178 static wxString
wxLog_TimeStamp(wxLog
*self
) {
5180 wxLog::TimeStamp(&msg
);
5183 static PyObject
*_wrap_wxLog_TimeStamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5184 PyObject
* _resultobj
;
5187 PyObject
* _argo0
= 0;
5188 char *_kwnames
[] = { "self", NULL
};
5191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_TimeStamp",_kwnames
,&_argo0
))
5194 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5195 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
5196 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_TimeStamp. Expected _wxLog_p.");
5201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5202 _result
= new wxString (wxLog_TimeStamp(_arg0
));
5204 wxPyEndAllowThreads(__tstate
);
5205 if (PyErr_Occurred()) return NULL
;
5207 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5215 static void *SwigwxLogStderrTowxLog(void *ptr
) {
5218 src
= (wxLogStderr
*) ptr
;
5219 dest
= (wxLog
*) src
;
5220 return (void *) dest
;
5223 #define new_wxLogStderr() (new wxLogStderr())
5224 static PyObject
*_wrap_new_wxLogStderr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5225 PyObject
* _resultobj
;
5226 wxLogStderr
* _result
;
5227 char *_kwnames
[] = { NULL
};
5231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLogStderr",_kwnames
))
5234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5235 _result
= (wxLogStderr
*)new_wxLogStderr();
5237 wxPyEndAllowThreads(__tstate
);
5238 if (PyErr_Occurred()) return NULL
;
5240 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogStderr_p");
5241 _resultobj
= Py_BuildValue("s",_ptemp
);
5244 _resultobj
= Py_None
;
5249 static void *SwigwxLogTextCtrlTowxLog(void *ptr
) {
5252 src
= (wxLogTextCtrl
*) ptr
;
5253 dest
= (wxLog
*) src
;
5254 return (void *) dest
;
5257 #define new_wxLogTextCtrl(_swigarg0) (new wxLogTextCtrl(_swigarg0))
5258 static PyObject
*_wrap_new_wxLogTextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5259 PyObject
* _resultobj
;
5260 wxLogTextCtrl
* _result
;
5262 PyObject
* _argo0
= 0;
5263 char *_kwnames
[] = { "pTextCtrl", NULL
};
5267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxLogTextCtrl",_kwnames
,&_argo0
))
5270 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5271 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
5272 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxLogTextCtrl. Expected _wxTextCtrl_p.");
5277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5278 _result
= (wxLogTextCtrl
*)new_wxLogTextCtrl(_arg0
);
5280 wxPyEndAllowThreads(__tstate
);
5281 if (PyErr_Occurred()) return NULL
;
5283 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogTextCtrl_p");
5284 _resultobj
= Py_BuildValue("s",_ptemp
);
5287 _resultobj
= Py_None
;
5292 static void *SwigwxLogGuiTowxLog(void *ptr
) {
5295 src
= (wxLogGui
*) ptr
;
5296 dest
= (wxLog
*) src
;
5297 return (void *) dest
;
5300 #define new_wxLogGui() (new wxLogGui())
5301 static PyObject
*_wrap_new_wxLogGui(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5302 PyObject
* _resultobj
;
5304 char *_kwnames
[] = { NULL
};
5308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLogGui",_kwnames
))
5311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5312 _result
= (wxLogGui
*)new_wxLogGui();
5314 wxPyEndAllowThreads(__tstate
);
5315 if (PyErr_Occurred()) return NULL
;
5317 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogGui_p");
5318 _resultobj
= Py_BuildValue("s",_ptemp
);
5321 _resultobj
= Py_None
;
5326 static void *SwigwxLogWindowTowxLog(void *ptr
) {
5329 src
= (wxLogWindow
*) ptr
;
5330 dest
= (wxLog
*) src
;
5331 return (void *) dest
;
5334 #define new_wxLogWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxLogWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5335 static PyObject
*_wrap_new_wxLogWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5336 PyObject
* _resultobj
;
5337 wxLogWindow
* _result
;
5340 bool _arg2
= (bool ) TRUE
;
5341 bool _arg3
= (bool ) TRUE
;
5342 PyObject
* _argo0
= 0;
5343 int tempbool2
= (int) TRUE
;
5344 int tempbool3
= (int) TRUE
;
5345 char *_kwnames
[] = { "pParent","szTitle","bShow","bPassToOld", NULL
};
5349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Os|ii:new_wxLogWindow",_kwnames
,&_argo0
,&_arg1
,&tempbool2
,&tempbool3
))
5352 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5353 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
5354 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxLogWindow. Expected _wxFrame_p.");
5358 _arg2
= (bool ) tempbool2
;
5359 _arg3
= (bool ) tempbool3
;
5361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5362 _result
= (wxLogWindow
*)new_wxLogWindow(_arg0
,_arg1
,_arg2
,_arg3
);
5364 wxPyEndAllowThreads(__tstate
);
5365 if (PyErr_Occurred()) return NULL
;
5367 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogWindow_p");
5368 _resultobj
= Py_BuildValue("s",_ptemp
);
5371 _resultobj
= Py_None
;
5376 #define wxLogWindow_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
5377 static PyObject
*_wrap_wxLogWindow_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5378 PyObject
* _resultobj
;
5379 wxLogWindow
* _arg0
;
5380 bool _arg1
= (bool ) TRUE
;
5381 PyObject
* _argo0
= 0;
5382 int tempbool1
= (int) TRUE
;
5383 char *_kwnames
[] = { "self","bShow", NULL
};
5386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxLogWindow_Show",_kwnames
,&_argo0
,&tempbool1
))
5389 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5390 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
5391 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_Show. Expected _wxLogWindow_p.");
5395 _arg1
= (bool ) tempbool1
;
5397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5398 wxLogWindow_Show(_arg0
,_arg1
);
5400 wxPyEndAllowThreads(__tstate
);
5401 if (PyErr_Occurred()) return NULL
;
5402 } Py_INCREF(Py_None
);
5403 _resultobj
= Py_None
;
5407 #define wxLogWindow_GetFrame(_swigobj) (_swigobj->GetFrame())
5408 static PyObject
*_wrap_wxLogWindow_GetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5409 PyObject
* _resultobj
;
5411 wxLogWindow
* _arg0
;
5412 PyObject
* _argo0
= 0;
5413 char *_kwnames
[] = { "self", NULL
};
5416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogWindow_GetFrame",_kwnames
,&_argo0
))
5419 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5420 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
5421 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_GetFrame. Expected _wxLogWindow_p.");
5426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5427 _result
= (wxFrame
*)wxLogWindow_GetFrame(_arg0
);
5429 wxPyEndAllowThreads(__tstate
);
5430 if (PyErr_Occurred()) return NULL
;
5431 }{ _resultobj
= wxPyMake_wxObject(_result
); }
5435 #define wxLogWindow_GetOldLog(_swigobj) (_swigobj->GetOldLog())
5436 static PyObject
*_wrap_wxLogWindow_GetOldLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5437 PyObject
* _resultobj
;
5439 wxLogWindow
* _arg0
;
5440 PyObject
* _argo0
= 0;
5441 char *_kwnames
[] = { "self", NULL
};
5445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogWindow_GetOldLog",_kwnames
,&_argo0
))
5448 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5449 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
5450 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_GetOldLog. Expected _wxLogWindow_p.");
5455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5456 _result
= (wxLog
*)wxLogWindow_GetOldLog(_arg0
);
5458 wxPyEndAllowThreads(__tstate
);
5459 if (PyErr_Occurred()) return NULL
;
5461 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
5462 _resultobj
= Py_BuildValue("s",_ptemp
);
5465 _resultobj
= Py_None
;
5470 #define wxLogWindow_IsPassingMessages(_swigobj) (_swigobj->IsPassingMessages())
5471 static PyObject
*_wrap_wxLogWindow_IsPassingMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5472 PyObject
* _resultobj
;
5474 wxLogWindow
* _arg0
;
5475 PyObject
* _argo0
= 0;
5476 char *_kwnames
[] = { "self", NULL
};
5479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogWindow_IsPassingMessages",_kwnames
,&_argo0
))
5482 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5483 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
5484 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_IsPassingMessages. Expected _wxLogWindow_p.");
5489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5490 _result
= (bool )wxLogWindow_IsPassingMessages(_arg0
);
5492 wxPyEndAllowThreads(__tstate
);
5493 if (PyErr_Occurred()) return NULL
;
5494 } _resultobj
= Py_BuildValue("i",_result
);
5498 #define wxLogWindow_PassMessages(_swigobj,_swigarg0) (_swigobj->PassMessages(_swigarg0))
5499 static PyObject
*_wrap_wxLogWindow_PassMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5500 PyObject
* _resultobj
;
5501 wxLogWindow
* _arg0
;
5503 PyObject
* _argo0
= 0;
5505 char *_kwnames
[] = { "self","bDoPass", NULL
};
5508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxLogWindow_PassMessages",_kwnames
,&_argo0
,&tempbool1
))
5511 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5512 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
5513 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_PassMessages. Expected _wxLogWindow_p.");
5517 _arg1
= (bool ) tempbool1
;
5519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5520 wxLogWindow_PassMessages(_arg0
,_arg1
);
5522 wxPyEndAllowThreads(__tstate
);
5523 if (PyErr_Occurred()) return NULL
;
5524 } Py_INCREF(Py_None
);
5525 _resultobj
= Py_None
;
5529 #define new_wxLogNull() (new wxLogNull())
5530 static PyObject
*_wrap_new_wxLogNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5531 PyObject
* _resultobj
;
5532 wxLogNull
* _result
;
5533 char *_kwnames
[] = { NULL
};
5537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLogNull",_kwnames
))
5540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5541 _result
= (wxLogNull
*)new_wxLogNull();
5543 wxPyEndAllowThreads(__tstate
);
5544 if (PyErr_Occurred()) return NULL
;
5546 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogNull_p");
5547 _resultobj
= Py_BuildValue("s",_ptemp
);
5550 _resultobj
= Py_None
;
5555 #define delete_wxLogNull(_swigobj) (delete _swigobj)
5556 static PyObject
*_wrap_delete_wxLogNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5557 PyObject
* _resultobj
;
5559 PyObject
* _argo0
= 0;
5560 char *_kwnames
[] = { "self", NULL
};
5563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxLogNull",_kwnames
,&_argo0
))
5566 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5567 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogNull_p")) {
5568 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxLogNull. Expected _wxLogNull_p.");
5573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5574 delete_wxLogNull(_arg0
);
5576 wxPyEndAllowThreads(__tstate
);
5577 if (PyErr_Occurred()) return NULL
;
5578 } Py_INCREF(Py_None
);
5579 _resultobj
= Py_None
;
5583 static void *SwigwxLogChainTowxLog(void *ptr
) {
5586 src
= (wxLogChain
*) ptr
;
5587 dest
= (wxLog
*) src
;
5588 return (void *) dest
;
5591 #define new_wxLogChain(_swigarg0) (new wxLogChain(_swigarg0))
5592 static PyObject
*_wrap_new_wxLogChain(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5593 PyObject
* _resultobj
;
5594 wxLogChain
* _result
;
5596 PyObject
* _argo0
= 0;
5597 char *_kwnames
[] = { "logger", NULL
};
5601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxLogChain",_kwnames
,&_argo0
))
5604 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5605 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
5606 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxLogChain. Expected _wxLog_p.");
5611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5612 _result
= (wxLogChain
*)new_wxLogChain(_arg0
);
5614 wxPyEndAllowThreads(__tstate
);
5615 if (PyErr_Occurred()) return NULL
;
5617 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogChain_p");
5618 _resultobj
= Py_BuildValue("s",_ptemp
);
5621 _resultobj
= Py_None
;
5626 #define wxLogChain_SetLog(_swigobj,_swigarg0) (_swigobj->SetLog(_swigarg0))
5627 static PyObject
*_wrap_wxLogChain_SetLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5628 PyObject
* _resultobj
;
5631 PyObject
* _argo0
= 0;
5632 PyObject
* _argo1
= 0;
5633 char *_kwnames
[] = { "self","logger", NULL
};
5636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxLogChain_SetLog",_kwnames
,&_argo0
,&_argo1
))
5639 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5640 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogChain_p")) {
5641 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogChain_SetLog. Expected _wxLogChain_p.");
5646 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5647 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxLog_p")) {
5648 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxLogChain_SetLog. Expected _wxLog_p.");
5653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5654 wxLogChain_SetLog(_arg0
,_arg1
);
5656 wxPyEndAllowThreads(__tstate
);
5657 if (PyErr_Occurred()) return NULL
;
5658 } Py_INCREF(Py_None
);
5659 _resultobj
= Py_None
;
5663 #define wxLogChain_PassMessages(_swigobj,_swigarg0) (_swigobj->PassMessages(_swigarg0))
5664 static PyObject
*_wrap_wxLogChain_PassMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5665 PyObject
* _resultobj
;
5668 PyObject
* _argo0
= 0;
5670 char *_kwnames
[] = { "self","bDoPass", NULL
};
5673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxLogChain_PassMessages",_kwnames
,&_argo0
,&tempbool1
))
5676 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5677 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogChain_p")) {
5678 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogChain_PassMessages. Expected _wxLogChain_p.");
5682 _arg1
= (bool ) tempbool1
;
5684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5685 wxLogChain_PassMessages(_arg0
,_arg1
);
5687 wxPyEndAllowThreads(__tstate
);
5688 if (PyErr_Occurred()) return NULL
;
5689 } Py_INCREF(Py_None
);
5690 _resultobj
= Py_None
;
5694 #define wxLogChain_IsPassingMessages(_swigobj) (_swigobj->IsPassingMessages())
5695 static PyObject
*_wrap_wxLogChain_IsPassingMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5696 PyObject
* _resultobj
;
5699 PyObject
* _argo0
= 0;
5700 char *_kwnames
[] = { "self", NULL
};
5703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogChain_IsPassingMessages",_kwnames
,&_argo0
))
5706 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5707 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogChain_p")) {
5708 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogChain_IsPassingMessages. Expected _wxLogChain_p.");
5713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5714 _result
= (bool )wxLogChain_IsPassingMessages(_arg0
);
5716 wxPyEndAllowThreads(__tstate
);
5717 if (PyErr_Occurred()) return NULL
;
5718 } _resultobj
= Py_BuildValue("i",_result
);
5722 #define wxLogChain_GetOldLog(_swigobj) (_swigobj->GetOldLog())
5723 static PyObject
*_wrap_wxLogChain_GetOldLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5724 PyObject
* _resultobj
;
5727 PyObject
* _argo0
= 0;
5728 char *_kwnames
[] = { "self", NULL
};
5732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogChain_GetOldLog",_kwnames
,&_argo0
))
5735 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5736 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogChain_p")) {
5737 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogChain_GetOldLog. Expected _wxLogChain_p.");
5742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5743 _result
= (wxLog
*)wxLogChain_GetOldLog(_arg0
);
5745 wxPyEndAllowThreads(__tstate
);
5746 if (PyErr_Occurred()) return NULL
;
5748 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
5749 _resultobj
= Py_BuildValue("s",_ptemp
);
5752 _resultobj
= Py_None
;
5757 static void *SwigwxPyLogTowxLog(void *ptr
) {
5760 src
= (wxPyLog
*) ptr
;
5761 dest
= (wxLog
*) src
;
5762 return (void *) dest
;
5765 #define new_wxPyLog() (new wxPyLog())
5766 static PyObject
*_wrap_new_wxPyLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5767 PyObject
* _resultobj
;
5769 char *_kwnames
[] = { NULL
};
5773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPyLog",_kwnames
))
5776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5777 _result
= (wxPyLog
*)new_wxPyLog();
5779 wxPyEndAllowThreads(__tstate
);
5780 if (PyErr_Occurred()) return NULL
;
5782 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyLog_p");
5783 _resultobj
= Py_BuildValue("s",_ptemp
);
5786 _resultobj
= Py_None
;
5791 #define wxPyLog__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
5792 static PyObject
*_wrap_wxPyLog__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5793 PyObject
* _resultobj
;
5797 PyObject
* _argo0
= 0;
5798 PyObject
* _obj1
= 0;
5799 PyObject
* _obj2
= 0;
5800 char *_kwnames
[] = { "self","self","_class", NULL
};
5803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyLog__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
5806 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5807 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLog_p")) {
5808 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLog__setCallbackInfo. Expected _wxPyLog_p.");
5819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5820 wxPyLog__setCallbackInfo(_arg0
,_arg1
,_arg2
);
5822 wxPyEndAllowThreads(__tstate
);
5823 if (PyErr_Occurred()) return NULL
;
5824 } Py_INCREF(Py_None
);
5825 _resultobj
= Py_None
;
5829 static void wxPyLog_Destroy(wxPyLog
*self
) { delete self
; }
5830 static PyObject
*_wrap_wxPyLog_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5831 PyObject
* _resultobj
;
5833 PyObject
* _argo0
= 0;
5834 char *_kwnames
[] = { "self", NULL
};
5837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyLog_Destroy",_kwnames
,&_argo0
))
5840 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5841 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLog_p")) {
5842 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLog_Destroy. Expected _wxPyLog_p.");
5847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5848 wxPyLog_Destroy(_arg0
);
5850 wxPyEndAllowThreads(__tstate
);
5851 if (PyErr_Occurred()) return NULL
;
5852 } Py_INCREF(Py_None
);
5853 _resultobj
= Py_None
;
5857 static void *SwigwxProcessEventTowxEvent(void *ptr
) {
5858 wxProcessEvent
*src
;
5860 src
= (wxProcessEvent
*) ptr
;
5861 dest
= (wxEvent
*) src
;
5862 return (void *) dest
;
5865 static void *SwigwxProcessEventTowxObject(void *ptr
) {
5866 wxProcessEvent
*src
;
5868 src
= (wxProcessEvent
*) ptr
;
5869 dest
= (wxObject
*) src
;
5870 return (void *) dest
;
5873 #define new_wxProcessEvent(_swigarg0,_swigarg1,_swigarg2) (new wxProcessEvent(_swigarg0,_swigarg1,_swigarg2))
5874 static PyObject
*_wrap_new_wxProcessEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5875 PyObject
* _resultobj
;
5876 wxProcessEvent
* _result
;
5877 int _arg0
= (int ) 0;
5878 int _arg1
= (int ) 0;
5879 int _arg2
= (int ) 0;
5880 char *_kwnames
[] = { "id","pid","exitcode", NULL
};
5884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iii:new_wxProcessEvent",_kwnames
,&_arg0
,&_arg1
,&_arg2
))
5887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5888 _result
= (wxProcessEvent
*)new_wxProcessEvent(_arg0
,_arg1
,_arg2
);
5890 wxPyEndAllowThreads(__tstate
);
5891 if (PyErr_Occurred()) return NULL
;
5893 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxProcessEvent_p");
5894 _resultobj
= Py_BuildValue("s",_ptemp
);
5897 _resultobj
= Py_None
;
5902 #define wxProcessEvent_GetPid(_swigobj) (_swigobj->GetPid())
5903 static PyObject
*_wrap_wxProcessEvent_GetPid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5904 PyObject
* _resultobj
;
5906 wxProcessEvent
* _arg0
;
5907 PyObject
* _argo0
= 0;
5908 char *_kwnames
[] = { "self", NULL
};
5911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcessEvent_GetPid",_kwnames
,&_argo0
))
5914 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5915 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
5916 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_GetPid. Expected _wxProcessEvent_p.");
5921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5922 _result
= (int )wxProcessEvent_GetPid(_arg0
);
5924 wxPyEndAllowThreads(__tstate
);
5925 if (PyErr_Occurred()) return NULL
;
5926 } _resultobj
= Py_BuildValue("i",_result
);
5930 #define wxProcessEvent_GetExitCode(_swigobj) (_swigobj->GetExitCode())
5931 static PyObject
*_wrap_wxProcessEvent_GetExitCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5932 PyObject
* _resultobj
;
5934 wxProcessEvent
* _arg0
;
5935 PyObject
* _argo0
= 0;
5936 char *_kwnames
[] = { "self", NULL
};
5939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcessEvent_GetExitCode",_kwnames
,&_argo0
))
5942 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5943 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
5944 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_GetExitCode. Expected _wxProcessEvent_p.");
5949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5950 _result
= (int )wxProcessEvent_GetExitCode(_arg0
);
5952 wxPyEndAllowThreads(__tstate
);
5953 if (PyErr_Occurred()) return NULL
;
5954 } _resultobj
= Py_BuildValue("i",_result
);
5958 #define wxProcessEvent_m_pid_set(_swigobj,_swigval) (_swigobj->m_pid = _swigval,_swigval)
5959 static PyObject
*_wrap_wxProcessEvent_m_pid_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5960 PyObject
* _resultobj
;
5962 wxProcessEvent
* _arg0
;
5964 PyObject
* _argo0
= 0;
5965 char *_kwnames
[] = { "self","m_pid", NULL
};
5968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxProcessEvent_m_pid_set",_kwnames
,&_argo0
,&_arg1
))
5971 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5972 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
5973 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_m_pid_set. Expected _wxProcessEvent_p.");
5978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5979 _result
= (int )wxProcessEvent_m_pid_set(_arg0
,_arg1
);
5981 wxPyEndAllowThreads(__tstate
);
5982 if (PyErr_Occurred()) return NULL
;
5983 } _resultobj
= Py_BuildValue("i",_result
);
5987 #define wxProcessEvent_m_pid_get(_swigobj) ((int ) _swigobj->m_pid)
5988 static PyObject
*_wrap_wxProcessEvent_m_pid_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5989 PyObject
* _resultobj
;
5991 wxProcessEvent
* _arg0
;
5992 PyObject
* _argo0
= 0;
5993 char *_kwnames
[] = { "self", NULL
};
5996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcessEvent_m_pid_get",_kwnames
,&_argo0
))
5999 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6000 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
6001 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_m_pid_get. Expected _wxProcessEvent_p.");
6006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6007 _result
= (int )wxProcessEvent_m_pid_get(_arg0
);
6009 wxPyEndAllowThreads(__tstate
);
6010 if (PyErr_Occurred()) return NULL
;
6011 } _resultobj
= Py_BuildValue("i",_result
);
6015 #define wxProcessEvent_m_exitcode_set(_swigobj,_swigval) (_swigobj->m_exitcode = _swigval,_swigval)
6016 static PyObject
*_wrap_wxProcessEvent_m_exitcode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6017 PyObject
* _resultobj
;
6019 wxProcessEvent
* _arg0
;
6021 PyObject
* _argo0
= 0;
6022 char *_kwnames
[] = { "self","m_exitcode", NULL
};
6025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxProcessEvent_m_exitcode_set",_kwnames
,&_argo0
,&_arg1
))
6028 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6029 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
6030 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_m_exitcode_set. Expected _wxProcessEvent_p.");
6035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6036 _result
= (int )wxProcessEvent_m_exitcode_set(_arg0
,_arg1
);
6038 wxPyEndAllowThreads(__tstate
);
6039 if (PyErr_Occurred()) return NULL
;
6040 } _resultobj
= Py_BuildValue("i",_result
);
6044 #define wxProcessEvent_m_exitcode_get(_swigobj) ((int ) _swigobj->m_exitcode)
6045 static PyObject
*_wrap_wxProcessEvent_m_exitcode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6046 PyObject
* _resultobj
;
6048 wxProcessEvent
* _arg0
;
6049 PyObject
* _argo0
= 0;
6050 char *_kwnames
[] = { "self", NULL
};
6053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcessEvent_m_exitcode_get",_kwnames
,&_argo0
))
6056 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6057 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
6058 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_m_exitcode_get. Expected _wxProcessEvent_p.");
6063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6064 _result
= (int )wxProcessEvent_m_exitcode_get(_arg0
);
6066 wxPyEndAllowThreads(__tstate
);
6067 if (PyErr_Occurred()) return NULL
;
6068 } _resultobj
= Py_BuildValue("i",_result
);
6072 static void *SwigwxPyProcessTowxEvtHandler(void *ptr
) {
6075 src
= (wxPyProcess
*) ptr
;
6076 dest
= (wxEvtHandler
*) src
;
6077 return (void *) dest
;
6080 static void *SwigwxPyProcessTowxObject(void *ptr
) {
6083 src
= (wxPyProcess
*) ptr
;
6084 dest
= (wxObject
*) src
;
6085 return (void *) dest
;
6088 #define new_wxProcess(_swigarg0,_swigarg1) (new wxPyProcess(_swigarg0,_swigarg1))
6089 static PyObject
*_wrap_new_wxProcess(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6090 PyObject
* _resultobj
;
6091 wxPyProcess
* _result
;
6092 wxEvtHandler
* _arg0
= (wxEvtHandler
*) NULL
;
6093 int _arg1
= (int ) -1;
6094 PyObject
* _argo0
= 0;
6095 char *_kwnames
[] = { "parent","id", NULL
};
6099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|Oi:new_wxProcess",_kwnames
,&_argo0
,&_arg1
))
6102 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6103 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
6104 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxProcess. Expected _wxEvtHandler_p.");
6109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6110 _result
= (wxPyProcess
*)new_wxProcess(_arg0
,_arg1
);
6112 wxPyEndAllowThreads(__tstate
);
6113 if (PyErr_Occurred()) return NULL
;
6115 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyProcess_p");
6116 _resultobj
= Py_BuildValue("s",_ptemp
);
6119 _resultobj
= Py_None
;
6124 static void wxPyProcess_Destroy(wxPyProcess
*self
) { delete self
; }
6125 static PyObject
*_wrap_wxProcess_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6126 PyObject
* _resultobj
;
6127 wxPyProcess
* _arg0
;
6128 PyObject
* _argo0
= 0;
6129 char *_kwnames
[] = { "self", NULL
};
6132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_Destroy",_kwnames
,&_argo0
))
6135 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6136 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6137 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_Destroy. Expected _wxPyProcess_p.");
6142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6143 wxPyProcess_Destroy(_arg0
);
6145 wxPyEndAllowThreads(__tstate
);
6146 if (PyErr_Occurred()) return NULL
;
6147 } Py_INCREF(Py_None
);
6148 _resultobj
= Py_None
;
6152 #define wxProcess__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
6153 static PyObject
*_wrap_wxProcess__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6154 PyObject
* _resultobj
;
6155 wxPyProcess
* _arg0
;
6158 PyObject
* _argo0
= 0;
6159 PyObject
* _obj1
= 0;
6160 PyObject
* _obj2
= 0;
6161 char *_kwnames
[] = { "self","self","_class", NULL
};
6164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxProcess__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
6167 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6168 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6169 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess__setCallbackInfo. Expected _wxPyProcess_p.");
6180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6181 wxProcess__setCallbackInfo(_arg0
,_arg1
,_arg2
);
6183 wxPyEndAllowThreads(__tstate
);
6184 if (PyErr_Occurred()) return NULL
;
6185 } Py_INCREF(Py_None
);
6186 _resultobj
= Py_None
;
6190 #define wxProcess_base_OnTerminate(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnTerminate(_swigarg0,_swigarg1))
6191 static PyObject
*_wrap_wxProcess_base_OnTerminate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6192 PyObject
* _resultobj
;
6193 wxPyProcess
* _arg0
;
6196 PyObject
* _argo0
= 0;
6197 char *_kwnames
[] = { "self","pid","status", NULL
};
6200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxProcess_base_OnTerminate",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6203 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6204 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6205 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_base_OnTerminate. Expected _wxPyProcess_p.");
6210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6211 wxProcess_base_OnTerminate(_arg0
,_arg1
,_arg2
);
6213 wxPyEndAllowThreads(__tstate
);
6214 if (PyErr_Occurred()) return NULL
;
6215 } Py_INCREF(Py_None
);
6216 _resultobj
= Py_None
;
6220 #define wxProcess_Redirect(_swigobj) (_swigobj->Redirect())
6221 static PyObject
*_wrap_wxProcess_Redirect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6222 PyObject
* _resultobj
;
6223 wxPyProcess
* _arg0
;
6224 PyObject
* _argo0
= 0;
6225 char *_kwnames
[] = { "self", NULL
};
6228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_Redirect",_kwnames
,&_argo0
))
6231 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6232 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6233 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_Redirect. Expected _wxPyProcess_p.");
6238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6239 wxProcess_Redirect(_arg0
);
6241 wxPyEndAllowThreads(__tstate
);
6242 if (PyErr_Occurred()) return NULL
;
6243 } Py_INCREF(Py_None
);
6244 _resultobj
= Py_None
;
6248 #define wxProcess_IsRedirected(_swigobj) (_swigobj->IsRedirected())
6249 static PyObject
*_wrap_wxProcess_IsRedirected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6250 PyObject
* _resultobj
;
6252 wxPyProcess
* _arg0
;
6253 PyObject
* _argo0
= 0;
6254 char *_kwnames
[] = { "self", NULL
};
6257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_IsRedirected",_kwnames
,&_argo0
))
6260 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6261 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6262 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_IsRedirected. Expected _wxPyProcess_p.");
6267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6268 _result
= (bool )wxProcess_IsRedirected(_arg0
);
6270 wxPyEndAllowThreads(__tstate
);
6271 if (PyErr_Occurred()) return NULL
;
6272 } _resultobj
= Py_BuildValue("i",_result
);
6276 #define wxProcess_Detach(_swigobj) (_swigobj->Detach())
6277 static PyObject
*_wrap_wxProcess_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6278 PyObject
* _resultobj
;
6279 wxPyProcess
* _arg0
;
6280 PyObject
* _argo0
= 0;
6281 char *_kwnames
[] = { "self", NULL
};
6284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_Detach",_kwnames
,&_argo0
))
6287 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6288 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6289 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_Detach. Expected _wxPyProcess_p.");
6294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6295 wxProcess_Detach(_arg0
);
6297 wxPyEndAllowThreads(__tstate
);
6298 if (PyErr_Occurred()) return NULL
;
6299 } Py_INCREF(Py_None
);
6300 _resultobj
= Py_None
;
6304 #define wxProcess_GetInputStream(_swigobj) (_swigobj->GetInputStream())
6305 static PyObject
*_wrap_wxProcess_GetInputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6306 PyObject
* _resultobj
;
6307 wxInputStream
* _result
;
6308 wxPyProcess
* _arg0
;
6309 PyObject
* _argo0
= 0;
6310 char *_kwnames
[] = { "self", NULL
};
6313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_GetInputStream",_kwnames
,&_argo0
))
6316 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6317 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6318 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_GetInputStream. Expected _wxPyProcess_p.");
6323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6324 _result
= (wxInputStream
*)wxProcess_GetInputStream(_arg0
);
6326 wxPyEndAllowThreads(__tstate
);
6327 if (PyErr_Occurred()) return NULL
;
6329 wxPyInputStream
* _ptr
= NULL
;
6332 _ptr
= new wxPyInputStream(_result
);
6334 _resultobj
= wxPyConstructObject(_ptr
, "wxInputStream", TRUE
);
6339 #define wxProcess_GetErrorStream(_swigobj) (_swigobj->GetErrorStream())
6340 static PyObject
*_wrap_wxProcess_GetErrorStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6341 PyObject
* _resultobj
;
6342 wxInputStream
* _result
;
6343 wxPyProcess
* _arg0
;
6344 PyObject
* _argo0
= 0;
6345 char *_kwnames
[] = { "self", NULL
};
6348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_GetErrorStream",_kwnames
,&_argo0
))
6351 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6352 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6353 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_GetErrorStream. Expected _wxPyProcess_p.");
6358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6359 _result
= (wxInputStream
*)wxProcess_GetErrorStream(_arg0
);
6361 wxPyEndAllowThreads(__tstate
);
6362 if (PyErr_Occurred()) return NULL
;
6364 wxPyInputStream
* _ptr
= NULL
;
6367 _ptr
= new wxPyInputStream(_result
);
6369 _resultobj
= wxPyConstructObject(_ptr
, "wxInputStream", TRUE
);
6374 #define wxProcess_GetOutputStream(_swigobj) (_swigobj->GetOutputStream())
6375 static PyObject
*_wrap_wxProcess_GetOutputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6376 PyObject
* _resultobj
;
6377 wxOutputStream
* _result
;
6378 wxPyProcess
* _arg0
;
6379 PyObject
* _argo0
= 0;
6380 char *_kwnames
[] = { "self", NULL
};
6384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_GetOutputStream",_kwnames
,&_argo0
))
6387 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6388 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6389 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_GetOutputStream. Expected _wxPyProcess_p.");
6394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6395 _result
= (wxOutputStream
*)wxProcess_GetOutputStream(_arg0
);
6397 wxPyEndAllowThreads(__tstate
);
6398 if (PyErr_Occurred()) return NULL
;
6400 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxOutputStream_p");
6401 _resultobj
= Py_BuildValue("s",_ptemp
);
6404 _resultobj
= Py_None
;
6409 #define wxProcess_CloseOutput(_swigobj) (_swigobj->CloseOutput())
6410 static PyObject
*_wrap_wxProcess_CloseOutput(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6411 PyObject
* _resultobj
;
6412 wxPyProcess
* _arg0
;
6413 PyObject
* _argo0
= 0;
6414 char *_kwnames
[] = { "self", NULL
};
6417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_CloseOutput",_kwnames
,&_argo0
))
6420 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6421 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6422 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_CloseOutput. Expected _wxPyProcess_p.");
6427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6428 wxProcess_CloseOutput(_arg0
);
6430 wxPyEndAllowThreads(__tstate
);
6431 if (PyErr_Occurred()) return NULL
;
6432 } Py_INCREF(Py_None
);
6433 _resultobj
= Py_None
;
6437 static void *SwigwxJoystickTowxObject(void *ptr
) {
6440 src
= (wxJoystick
*) ptr
;
6441 dest
= (wxObject
*) src
;
6442 return (void *) dest
;
6445 #define new_wxJoystick(_swigarg0) (new wxJoystick(_swigarg0))
6446 static PyObject
*_wrap_new_wxJoystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6447 PyObject
* _resultobj
;
6448 wxJoystick
* _result
;
6449 int _arg0
= (int ) wxJOYSTICK1
;
6450 char *_kwnames
[] = { "joystick", NULL
};
6454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxJoystick",_kwnames
,&_arg0
))
6457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6458 _result
= (wxJoystick
*)new_wxJoystick(_arg0
);
6460 wxPyEndAllowThreads(__tstate
);
6461 if (PyErr_Occurred()) return NULL
;
6463 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxJoystick_p");
6464 _resultobj
= Py_BuildValue("s",_ptemp
);
6467 _resultobj
= Py_None
;
6472 #define delete_wxJoystick(_swigobj) (delete _swigobj)
6473 static PyObject
*_wrap_delete_wxJoystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6474 PyObject
* _resultobj
;
6476 PyObject
* _argo0
= 0;
6477 char *_kwnames
[] = { "self", NULL
};
6480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxJoystick",_kwnames
,&_argo0
))
6483 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6484 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6485 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxJoystick. Expected _wxJoystick_p.");
6490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6491 delete_wxJoystick(_arg0
);
6493 wxPyEndAllowThreads(__tstate
);
6494 if (PyErr_Occurred()) return NULL
;
6495 } Py_INCREF(Py_None
);
6496 _resultobj
= Py_None
;
6500 #define wxJoystick_GetPosition(_swigobj) (_swigobj->GetPosition())
6501 static PyObject
*_wrap_wxJoystick_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6502 PyObject
* _resultobj
;
6505 PyObject
* _argo0
= 0;
6506 char *_kwnames
[] = { "self", NULL
};
6510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPosition",_kwnames
,&_argo0
))
6513 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6514 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6515 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPosition. Expected _wxJoystick_p.");
6520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6521 _result
= new wxPoint (wxJoystick_GetPosition(_arg0
));
6523 wxPyEndAllowThreads(__tstate
);
6524 if (PyErr_Occurred()) return NULL
;
6525 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
6526 _resultobj
= Py_BuildValue("s",_ptemp
);
6530 #define wxJoystick_GetZPosition(_swigobj) (_swigobj->GetZPosition())
6531 static PyObject
*_wrap_wxJoystick_GetZPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6532 PyObject
* _resultobj
;
6535 PyObject
* _argo0
= 0;
6536 char *_kwnames
[] = { "self", NULL
};
6539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetZPosition",_kwnames
,&_argo0
))
6542 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6543 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6544 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetZPosition. Expected _wxJoystick_p.");
6549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6550 _result
= (int )wxJoystick_GetZPosition(_arg0
);
6552 wxPyEndAllowThreads(__tstate
);
6553 if (PyErr_Occurred()) return NULL
;
6554 } _resultobj
= Py_BuildValue("i",_result
);
6558 #define wxJoystick_GetButtonState(_swigobj) (_swigobj->GetButtonState())
6559 static PyObject
*_wrap_wxJoystick_GetButtonState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6560 PyObject
* _resultobj
;
6563 PyObject
* _argo0
= 0;
6564 char *_kwnames
[] = { "self", NULL
};
6567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetButtonState",_kwnames
,&_argo0
))
6570 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6571 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6572 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetButtonState. Expected _wxJoystick_p.");
6577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6578 _result
= (int )wxJoystick_GetButtonState(_arg0
);
6580 wxPyEndAllowThreads(__tstate
);
6581 if (PyErr_Occurred()) return NULL
;
6582 } _resultobj
= Py_BuildValue("i",_result
);
6586 #define wxJoystick_GetPOVPosition(_swigobj) (_swigobj->GetPOVPosition())
6587 static PyObject
*_wrap_wxJoystick_GetPOVPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6588 PyObject
* _resultobj
;
6591 PyObject
* _argo0
= 0;
6592 char *_kwnames
[] = { "self", NULL
};
6595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPOVPosition",_kwnames
,&_argo0
))
6598 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6599 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6600 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPOVPosition. Expected _wxJoystick_p.");
6605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6606 _result
= (int )wxJoystick_GetPOVPosition(_arg0
);
6608 wxPyEndAllowThreads(__tstate
);
6609 if (PyErr_Occurred()) return NULL
;
6610 } _resultobj
= Py_BuildValue("i",_result
);
6614 #define wxJoystick_GetPOVCTSPosition(_swigobj) (_swigobj->GetPOVCTSPosition())
6615 static PyObject
*_wrap_wxJoystick_GetPOVCTSPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6616 PyObject
* _resultobj
;
6619 PyObject
* _argo0
= 0;
6620 char *_kwnames
[] = { "self", NULL
};
6623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPOVCTSPosition",_kwnames
,&_argo0
))
6626 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6627 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6628 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPOVCTSPosition. Expected _wxJoystick_p.");
6633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6634 _result
= (int )wxJoystick_GetPOVCTSPosition(_arg0
);
6636 wxPyEndAllowThreads(__tstate
);
6637 if (PyErr_Occurred()) return NULL
;
6638 } _resultobj
= Py_BuildValue("i",_result
);
6642 #define wxJoystick_GetRudderPosition(_swigobj) (_swigobj->GetRudderPosition())
6643 static PyObject
*_wrap_wxJoystick_GetRudderPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6644 PyObject
* _resultobj
;
6647 PyObject
* _argo0
= 0;
6648 char *_kwnames
[] = { "self", NULL
};
6651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetRudderPosition",_kwnames
,&_argo0
))
6654 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6655 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6656 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetRudderPosition. Expected _wxJoystick_p.");
6661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6662 _result
= (int )wxJoystick_GetRudderPosition(_arg0
);
6664 wxPyEndAllowThreads(__tstate
);
6665 if (PyErr_Occurred()) return NULL
;
6666 } _resultobj
= Py_BuildValue("i",_result
);
6670 #define wxJoystick_GetUPosition(_swigobj) (_swigobj->GetUPosition())
6671 static PyObject
*_wrap_wxJoystick_GetUPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6672 PyObject
* _resultobj
;
6675 PyObject
* _argo0
= 0;
6676 char *_kwnames
[] = { "self", NULL
};
6679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetUPosition",_kwnames
,&_argo0
))
6682 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6683 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6684 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetUPosition. Expected _wxJoystick_p.");
6689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6690 _result
= (int )wxJoystick_GetUPosition(_arg0
);
6692 wxPyEndAllowThreads(__tstate
);
6693 if (PyErr_Occurred()) return NULL
;
6694 } _resultobj
= Py_BuildValue("i",_result
);
6698 #define wxJoystick_GetVPosition(_swigobj) (_swigobj->GetVPosition())
6699 static PyObject
*_wrap_wxJoystick_GetVPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6700 PyObject
* _resultobj
;
6703 PyObject
* _argo0
= 0;
6704 char *_kwnames
[] = { "self", NULL
};
6707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetVPosition",_kwnames
,&_argo0
))
6710 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6711 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6712 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetVPosition. Expected _wxJoystick_p.");
6717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6718 _result
= (int )wxJoystick_GetVPosition(_arg0
);
6720 wxPyEndAllowThreads(__tstate
);
6721 if (PyErr_Occurred()) return NULL
;
6722 } _resultobj
= Py_BuildValue("i",_result
);
6726 #define wxJoystick_GetMovementThreshold(_swigobj) (_swigobj->GetMovementThreshold())
6727 static PyObject
*_wrap_wxJoystick_GetMovementThreshold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6728 PyObject
* _resultobj
;
6731 PyObject
* _argo0
= 0;
6732 char *_kwnames
[] = { "self", NULL
};
6735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetMovementThreshold",_kwnames
,&_argo0
))
6738 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6739 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6740 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetMovementThreshold. Expected _wxJoystick_p.");
6745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6746 _result
= (int )wxJoystick_GetMovementThreshold(_arg0
);
6748 wxPyEndAllowThreads(__tstate
);
6749 if (PyErr_Occurred()) return NULL
;
6750 } _resultobj
= Py_BuildValue("i",_result
);
6754 #define wxJoystick_SetMovementThreshold(_swigobj,_swigarg0) (_swigobj->SetMovementThreshold(_swigarg0))
6755 static PyObject
*_wrap_wxJoystick_SetMovementThreshold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6756 PyObject
* _resultobj
;
6759 PyObject
* _argo0
= 0;
6760 char *_kwnames
[] = { "self","threshold", NULL
};
6763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxJoystick_SetMovementThreshold",_kwnames
,&_argo0
,&_arg1
))
6766 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6767 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6768 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_SetMovementThreshold. Expected _wxJoystick_p.");
6773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6774 wxJoystick_SetMovementThreshold(_arg0
,_arg1
);
6776 wxPyEndAllowThreads(__tstate
);
6777 if (PyErr_Occurred()) return NULL
;
6778 } Py_INCREF(Py_None
);
6779 _resultobj
= Py_None
;
6783 #define wxJoystick_IsOk(_swigobj) (_swigobj->IsOk())
6784 static PyObject
*_wrap_wxJoystick_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6785 PyObject
* _resultobj
;
6788 PyObject
* _argo0
= 0;
6789 char *_kwnames
[] = { "self", NULL
};
6792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_IsOk",_kwnames
,&_argo0
))
6795 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6796 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6797 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_IsOk. Expected _wxJoystick_p.");
6802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6803 _result
= (bool )wxJoystick_IsOk(_arg0
);
6805 wxPyEndAllowThreads(__tstate
);
6806 if (PyErr_Occurred()) return NULL
;
6807 } _resultobj
= Py_BuildValue("i",_result
);
6811 #define wxJoystick_GetNumberJoysticks(_swigobj) (_swigobj->GetNumberJoysticks())
6812 static PyObject
*_wrap_wxJoystick_GetNumberJoysticks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6813 PyObject
* _resultobj
;
6816 PyObject
* _argo0
= 0;
6817 char *_kwnames
[] = { "self", NULL
};
6820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetNumberJoysticks",_kwnames
,&_argo0
))
6823 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6824 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6825 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetNumberJoysticks. Expected _wxJoystick_p.");
6830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6831 _result
= (int )wxJoystick_GetNumberJoysticks(_arg0
);
6833 wxPyEndAllowThreads(__tstate
);
6834 if (PyErr_Occurred()) return NULL
;
6835 } _resultobj
= Py_BuildValue("i",_result
);
6839 #define wxJoystick_GetManufacturerId(_swigobj) (_swigobj->GetManufacturerId())
6840 static PyObject
*_wrap_wxJoystick_GetManufacturerId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6841 PyObject
* _resultobj
;
6844 PyObject
* _argo0
= 0;
6845 char *_kwnames
[] = { "self", NULL
};
6848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetManufacturerId",_kwnames
,&_argo0
))
6851 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6852 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6853 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetManufacturerId. Expected _wxJoystick_p.");
6858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6859 _result
= (int )wxJoystick_GetManufacturerId(_arg0
);
6861 wxPyEndAllowThreads(__tstate
);
6862 if (PyErr_Occurred()) return NULL
;
6863 } _resultobj
= Py_BuildValue("i",_result
);
6867 #define wxJoystick_GetProductId(_swigobj) (_swigobj->GetProductId())
6868 static PyObject
*_wrap_wxJoystick_GetProductId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6869 PyObject
* _resultobj
;
6872 PyObject
* _argo0
= 0;
6873 char *_kwnames
[] = { "self", NULL
};
6876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetProductId",_kwnames
,&_argo0
))
6879 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6880 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6881 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetProductId. Expected _wxJoystick_p.");
6886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6887 _result
= (int )wxJoystick_GetProductId(_arg0
);
6889 wxPyEndAllowThreads(__tstate
);
6890 if (PyErr_Occurred()) return NULL
;
6891 } _resultobj
= Py_BuildValue("i",_result
);
6895 #define wxJoystick_GetProductName(_swigobj) (_swigobj->GetProductName())
6896 static PyObject
*_wrap_wxJoystick_GetProductName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6897 PyObject
* _resultobj
;
6900 PyObject
* _argo0
= 0;
6901 char *_kwnames
[] = { "self", NULL
};
6904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetProductName",_kwnames
,&_argo0
))
6907 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6908 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6909 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetProductName. Expected _wxJoystick_p.");
6914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6915 _result
= new wxString (wxJoystick_GetProductName(_arg0
));
6917 wxPyEndAllowThreads(__tstate
);
6918 if (PyErr_Occurred()) return NULL
;
6920 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
6928 #define wxJoystick_GetXMin(_swigobj) (_swigobj->GetXMin())
6929 static PyObject
*_wrap_wxJoystick_GetXMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6930 PyObject
* _resultobj
;
6933 PyObject
* _argo0
= 0;
6934 char *_kwnames
[] = { "self", NULL
};
6937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetXMin",_kwnames
,&_argo0
))
6940 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6941 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6942 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetXMin. Expected _wxJoystick_p.");
6947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6948 _result
= (int )wxJoystick_GetXMin(_arg0
);
6950 wxPyEndAllowThreads(__tstate
);
6951 if (PyErr_Occurred()) return NULL
;
6952 } _resultobj
= Py_BuildValue("i",_result
);
6956 #define wxJoystick_GetYMin(_swigobj) (_swigobj->GetYMin())
6957 static PyObject
*_wrap_wxJoystick_GetYMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6958 PyObject
* _resultobj
;
6961 PyObject
* _argo0
= 0;
6962 char *_kwnames
[] = { "self", NULL
};
6965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetYMin",_kwnames
,&_argo0
))
6968 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6969 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6970 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetYMin. Expected _wxJoystick_p.");
6975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6976 _result
= (int )wxJoystick_GetYMin(_arg0
);
6978 wxPyEndAllowThreads(__tstate
);
6979 if (PyErr_Occurred()) return NULL
;
6980 } _resultobj
= Py_BuildValue("i",_result
);
6984 #define wxJoystick_GetZMin(_swigobj) (_swigobj->GetZMin())
6985 static PyObject
*_wrap_wxJoystick_GetZMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6986 PyObject
* _resultobj
;
6989 PyObject
* _argo0
= 0;
6990 char *_kwnames
[] = { "self", NULL
};
6993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetZMin",_kwnames
,&_argo0
))
6996 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6997 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6998 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetZMin. Expected _wxJoystick_p.");
7003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7004 _result
= (int )wxJoystick_GetZMin(_arg0
);
7006 wxPyEndAllowThreads(__tstate
);
7007 if (PyErr_Occurred()) return NULL
;
7008 } _resultobj
= Py_BuildValue("i",_result
);
7012 #define wxJoystick_GetXMax(_swigobj) (_swigobj->GetXMax())
7013 static PyObject
*_wrap_wxJoystick_GetXMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7014 PyObject
* _resultobj
;
7017 PyObject
* _argo0
= 0;
7018 char *_kwnames
[] = { "self", NULL
};
7021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetXMax",_kwnames
,&_argo0
))
7024 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7025 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7026 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetXMax. Expected _wxJoystick_p.");
7031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7032 _result
= (int )wxJoystick_GetXMax(_arg0
);
7034 wxPyEndAllowThreads(__tstate
);
7035 if (PyErr_Occurred()) return NULL
;
7036 } _resultobj
= Py_BuildValue("i",_result
);
7040 #define wxJoystick_GetYMax(_swigobj) (_swigobj->GetYMax())
7041 static PyObject
*_wrap_wxJoystick_GetYMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7042 PyObject
* _resultobj
;
7045 PyObject
* _argo0
= 0;
7046 char *_kwnames
[] = { "self", NULL
};
7049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetYMax",_kwnames
,&_argo0
))
7052 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7053 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7054 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetYMax. Expected _wxJoystick_p.");
7059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7060 _result
= (int )wxJoystick_GetYMax(_arg0
);
7062 wxPyEndAllowThreads(__tstate
);
7063 if (PyErr_Occurred()) return NULL
;
7064 } _resultobj
= Py_BuildValue("i",_result
);
7068 #define wxJoystick_GetZMax(_swigobj) (_swigobj->GetZMax())
7069 static PyObject
*_wrap_wxJoystick_GetZMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7070 PyObject
* _resultobj
;
7073 PyObject
* _argo0
= 0;
7074 char *_kwnames
[] = { "self", NULL
};
7077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetZMax",_kwnames
,&_argo0
))
7080 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7081 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7082 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetZMax. Expected _wxJoystick_p.");
7087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7088 _result
= (int )wxJoystick_GetZMax(_arg0
);
7090 wxPyEndAllowThreads(__tstate
);
7091 if (PyErr_Occurred()) return NULL
;
7092 } _resultobj
= Py_BuildValue("i",_result
);
7096 #define wxJoystick_GetNumberButtons(_swigobj) (_swigobj->GetNumberButtons())
7097 static PyObject
*_wrap_wxJoystick_GetNumberButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7098 PyObject
* _resultobj
;
7101 PyObject
* _argo0
= 0;
7102 char *_kwnames
[] = { "self", NULL
};
7105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetNumberButtons",_kwnames
,&_argo0
))
7108 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7109 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7110 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetNumberButtons. Expected _wxJoystick_p.");
7115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7116 _result
= (int )wxJoystick_GetNumberButtons(_arg0
);
7118 wxPyEndAllowThreads(__tstate
);
7119 if (PyErr_Occurred()) return NULL
;
7120 } _resultobj
= Py_BuildValue("i",_result
);
7124 #define wxJoystick_GetNumberAxes(_swigobj) (_swigobj->GetNumberAxes())
7125 static PyObject
*_wrap_wxJoystick_GetNumberAxes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7126 PyObject
* _resultobj
;
7129 PyObject
* _argo0
= 0;
7130 char *_kwnames
[] = { "self", NULL
};
7133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetNumberAxes",_kwnames
,&_argo0
))
7136 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7137 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7138 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetNumberAxes. Expected _wxJoystick_p.");
7143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7144 _result
= (int )wxJoystick_GetNumberAxes(_arg0
);
7146 wxPyEndAllowThreads(__tstate
);
7147 if (PyErr_Occurred()) return NULL
;
7148 } _resultobj
= Py_BuildValue("i",_result
);
7152 #define wxJoystick_GetMaxButtons(_swigobj) (_swigobj->GetMaxButtons())
7153 static PyObject
*_wrap_wxJoystick_GetMaxButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7154 PyObject
* _resultobj
;
7157 PyObject
* _argo0
= 0;
7158 char *_kwnames
[] = { "self", NULL
};
7161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetMaxButtons",_kwnames
,&_argo0
))
7164 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7165 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7166 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetMaxButtons. Expected _wxJoystick_p.");
7171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7172 _result
= (int )wxJoystick_GetMaxButtons(_arg0
);
7174 wxPyEndAllowThreads(__tstate
);
7175 if (PyErr_Occurred()) return NULL
;
7176 } _resultobj
= Py_BuildValue("i",_result
);
7180 #define wxJoystick_GetMaxAxes(_swigobj) (_swigobj->GetMaxAxes())
7181 static PyObject
*_wrap_wxJoystick_GetMaxAxes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7182 PyObject
* _resultobj
;
7185 PyObject
* _argo0
= 0;
7186 char *_kwnames
[] = { "self", NULL
};
7189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetMaxAxes",_kwnames
,&_argo0
))
7192 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7193 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7194 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetMaxAxes. Expected _wxJoystick_p.");
7199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7200 _result
= (int )wxJoystick_GetMaxAxes(_arg0
);
7202 wxPyEndAllowThreads(__tstate
);
7203 if (PyErr_Occurred()) return NULL
;
7204 } _resultobj
= Py_BuildValue("i",_result
);
7208 #define wxJoystick_GetPollingMin(_swigobj) (_swigobj->GetPollingMin())
7209 static PyObject
*_wrap_wxJoystick_GetPollingMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7210 PyObject
* _resultobj
;
7213 PyObject
* _argo0
= 0;
7214 char *_kwnames
[] = { "self", NULL
};
7217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPollingMin",_kwnames
,&_argo0
))
7220 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7221 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7222 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPollingMin. Expected _wxJoystick_p.");
7227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7228 _result
= (int )wxJoystick_GetPollingMin(_arg0
);
7230 wxPyEndAllowThreads(__tstate
);
7231 if (PyErr_Occurred()) return NULL
;
7232 } _resultobj
= Py_BuildValue("i",_result
);
7236 #define wxJoystick_GetPollingMax(_swigobj) (_swigobj->GetPollingMax())
7237 static PyObject
*_wrap_wxJoystick_GetPollingMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7238 PyObject
* _resultobj
;
7241 PyObject
* _argo0
= 0;
7242 char *_kwnames
[] = { "self", NULL
};
7245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPollingMax",_kwnames
,&_argo0
))
7248 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7249 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7250 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPollingMax. Expected _wxJoystick_p.");
7255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7256 _result
= (int )wxJoystick_GetPollingMax(_arg0
);
7258 wxPyEndAllowThreads(__tstate
);
7259 if (PyErr_Occurred()) return NULL
;
7260 } _resultobj
= Py_BuildValue("i",_result
);
7264 #define wxJoystick_GetRudderMin(_swigobj) (_swigobj->GetRudderMin())
7265 static PyObject
*_wrap_wxJoystick_GetRudderMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7266 PyObject
* _resultobj
;
7269 PyObject
* _argo0
= 0;
7270 char *_kwnames
[] = { "self", NULL
};
7273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetRudderMin",_kwnames
,&_argo0
))
7276 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7277 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7278 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetRudderMin. Expected _wxJoystick_p.");
7283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7284 _result
= (int )wxJoystick_GetRudderMin(_arg0
);
7286 wxPyEndAllowThreads(__tstate
);
7287 if (PyErr_Occurred()) return NULL
;
7288 } _resultobj
= Py_BuildValue("i",_result
);
7292 #define wxJoystick_GetRudderMax(_swigobj) (_swigobj->GetRudderMax())
7293 static PyObject
*_wrap_wxJoystick_GetRudderMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7294 PyObject
* _resultobj
;
7297 PyObject
* _argo0
= 0;
7298 char *_kwnames
[] = { "self", NULL
};
7301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetRudderMax",_kwnames
,&_argo0
))
7304 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7305 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7306 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetRudderMax. Expected _wxJoystick_p.");
7311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7312 _result
= (int )wxJoystick_GetRudderMax(_arg0
);
7314 wxPyEndAllowThreads(__tstate
);
7315 if (PyErr_Occurred()) return NULL
;
7316 } _resultobj
= Py_BuildValue("i",_result
);
7320 #define wxJoystick_GetUMin(_swigobj) (_swigobj->GetUMin())
7321 static PyObject
*_wrap_wxJoystick_GetUMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7322 PyObject
* _resultobj
;
7325 PyObject
* _argo0
= 0;
7326 char *_kwnames
[] = { "self", NULL
};
7329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetUMin",_kwnames
,&_argo0
))
7332 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7333 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7334 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetUMin. Expected _wxJoystick_p.");
7339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7340 _result
= (int )wxJoystick_GetUMin(_arg0
);
7342 wxPyEndAllowThreads(__tstate
);
7343 if (PyErr_Occurred()) return NULL
;
7344 } _resultobj
= Py_BuildValue("i",_result
);
7348 #define wxJoystick_GetUMax(_swigobj) (_swigobj->GetUMax())
7349 static PyObject
*_wrap_wxJoystick_GetUMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7350 PyObject
* _resultobj
;
7353 PyObject
* _argo0
= 0;
7354 char *_kwnames
[] = { "self", NULL
};
7357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetUMax",_kwnames
,&_argo0
))
7360 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7361 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7362 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetUMax. Expected _wxJoystick_p.");
7367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7368 _result
= (int )wxJoystick_GetUMax(_arg0
);
7370 wxPyEndAllowThreads(__tstate
);
7371 if (PyErr_Occurred()) return NULL
;
7372 } _resultobj
= Py_BuildValue("i",_result
);
7376 #define wxJoystick_GetVMin(_swigobj) (_swigobj->GetVMin())
7377 static PyObject
*_wrap_wxJoystick_GetVMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7378 PyObject
* _resultobj
;
7381 PyObject
* _argo0
= 0;
7382 char *_kwnames
[] = { "self", NULL
};
7385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetVMin",_kwnames
,&_argo0
))
7388 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7389 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7390 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetVMin. Expected _wxJoystick_p.");
7395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7396 _result
= (int )wxJoystick_GetVMin(_arg0
);
7398 wxPyEndAllowThreads(__tstate
);
7399 if (PyErr_Occurred()) return NULL
;
7400 } _resultobj
= Py_BuildValue("i",_result
);
7404 #define wxJoystick_GetVMax(_swigobj) (_swigobj->GetVMax())
7405 static PyObject
*_wrap_wxJoystick_GetVMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7406 PyObject
* _resultobj
;
7409 PyObject
* _argo0
= 0;
7410 char *_kwnames
[] = { "self", NULL
};
7413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetVMax",_kwnames
,&_argo0
))
7416 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7417 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7418 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetVMax. Expected _wxJoystick_p.");
7423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7424 _result
= (int )wxJoystick_GetVMax(_arg0
);
7426 wxPyEndAllowThreads(__tstate
);
7427 if (PyErr_Occurred()) return NULL
;
7428 } _resultobj
= Py_BuildValue("i",_result
);
7432 #define wxJoystick_HasRudder(_swigobj) (_swigobj->HasRudder())
7433 static PyObject
*_wrap_wxJoystick_HasRudder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7434 PyObject
* _resultobj
;
7437 PyObject
* _argo0
= 0;
7438 char *_kwnames
[] = { "self", NULL
};
7441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasRudder",_kwnames
,&_argo0
))
7444 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7445 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7446 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasRudder. Expected _wxJoystick_p.");
7451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7452 _result
= (bool )wxJoystick_HasRudder(_arg0
);
7454 wxPyEndAllowThreads(__tstate
);
7455 if (PyErr_Occurred()) return NULL
;
7456 } _resultobj
= Py_BuildValue("i",_result
);
7460 #define wxJoystick_HasZ(_swigobj) (_swigobj->HasZ())
7461 static PyObject
*_wrap_wxJoystick_HasZ(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7462 PyObject
* _resultobj
;
7465 PyObject
* _argo0
= 0;
7466 char *_kwnames
[] = { "self", NULL
};
7469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasZ",_kwnames
,&_argo0
))
7472 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7473 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7474 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasZ. Expected _wxJoystick_p.");
7479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7480 _result
= (bool )wxJoystick_HasZ(_arg0
);
7482 wxPyEndAllowThreads(__tstate
);
7483 if (PyErr_Occurred()) return NULL
;
7484 } _resultobj
= Py_BuildValue("i",_result
);
7488 #define wxJoystick_HasU(_swigobj) (_swigobj->HasU())
7489 static PyObject
*_wrap_wxJoystick_HasU(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7490 PyObject
* _resultobj
;
7493 PyObject
* _argo0
= 0;
7494 char *_kwnames
[] = { "self", NULL
};
7497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasU",_kwnames
,&_argo0
))
7500 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7501 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7502 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasU. Expected _wxJoystick_p.");
7507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7508 _result
= (bool )wxJoystick_HasU(_arg0
);
7510 wxPyEndAllowThreads(__tstate
);
7511 if (PyErr_Occurred()) return NULL
;
7512 } _resultobj
= Py_BuildValue("i",_result
);
7516 #define wxJoystick_HasV(_swigobj) (_swigobj->HasV())
7517 static PyObject
*_wrap_wxJoystick_HasV(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7518 PyObject
* _resultobj
;
7521 PyObject
* _argo0
= 0;
7522 char *_kwnames
[] = { "self", NULL
};
7525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasV",_kwnames
,&_argo0
))
7528 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7529 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7530 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasV. Expected _wxJoystick_p.");
7535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7536 _result
= (bool )wxJoystick_HasV(_arg0
);
7538 wxPyEndAllowThreads(__tstate
);
7539 if (PyErr_Occurred()) return NULL
;
7540 } _resultobj
= Py_BuildValue("i",_result
);
7544 #define wxJoystick_HasPOV(_swigobj) (_swigobj->HasPOV())
7545 static PyObject
*_wrap_wxJoystick_HasPOV(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7546 PyObject
* _resultobj
;
7549 PyObject
* _argo0
= 0;
7550 char *_kwnames
[] = { "self", NULL
};
7553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasPOV",_kwnames
,&_argo0
))
7556 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7557 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7558 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasPOV. Expected _wxJoystick_p.");
7563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7564 _result
= (bool )wxJoystick_HasPOV(_arg0
);
7566 wxPyEndAllowThreads(__tstate
);
7567 if (PyErr_Occurred()) return NULL
;
7568 } _resultobj
= Py_BuildValue("i",_result
);
7572 #define wxJoystick_HasPOV4Dir(_swigobj) (_swigobj->HasPOV4Dir())
7573 static PyObject
*_wrap_wxJoystick_HasPOV4Dir(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7574 PyObject
* _resultobj
;
7577 PyObject
* _argo0
= 0;
7578 char *_kwnames
[] = { "self", NULL
};
7581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasPOV4Dir",_kwnames
,&_argo0
))
7584 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7585 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7586 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasPOV4Dir. Expected _wxJoystick_p.");
7591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7592 _result
= (bool )wxJoystick_HasPOV4Dir(_arg0
);
7594 wxPyEndAllowThreads(__tstate
);
7595 if (PyErr_Occurred()) return NULL
;
7596 } _resultobj
= Py_BuildValue("i",_result
);
7600 #define wxJoystick_HasPOVCTS(_swigobj) (_swigobj->HasPOVCTS())
7601 static PyObject
*_wrap_wxJoystick_HasPOVCTS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7602 PyObject
* _resultobj
;
7605 PyObject
* _argo0
= 0;
7606 char *_kwnames
[] = { "self", NULL
};
7609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasPOVCTS",_kwnames
,&_argo0
))
7612 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7613 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7614 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasPOVCTS. Expected _wxJoystick_p.");
7619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7620 _result
= (bool )wxJoystick_HasPOVCTS(_arg0
);
7622 wxPyEndAllowThreads(__tstate
);
7623 if (PyErr_Occurred()) return NULL
;
7624 } _resultobj
= Py_BuildValue("i",_result
);
7628 #define wxJoystick_SetCapture(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetCapture(_swigarg0,_swigarg1))
7629 static PyObject
*_wrap_wxJoystick_SetCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7630 PyObject
* _resultobj
;
7634 int _arg2
= (int ) 0;
7635 PyObject
* _argo0
= 0;
7636 PyObject
* _argo1
= 0;
7637 char *_kwnames
[] = { "self","win","pollingFreq", NULL
};
7640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxJoystick_SetCapture",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
7643 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7644 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7645 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_SetCapture. Expected _wxJoystick_p.");
7650 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7651 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
7652 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxJoystick_SetCapture. Expected _wxWindow_p.");
7657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7658 _result
= (bool )wxJoystick_SetCapture(_arg0
,_arg1
,_arg2
);
7660 wxPyEndAllowThreads(__tstate
);
7661 if (PyErr_Occurred()) return NULL
;
7662 } _resultobj
= Py_BuildValue("i",_result
);
7666 #define wxJoystick_ReleaseCapture(_swigobj) (_swigobj->ReleaseCapture())
7667 static PyObject
*_wrap_wxJoystick_ReleaseCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7668 PyObject
* _resultobj
;
7671 PyObject
* _argo0
= 0;
7672 char *_kwnames
[] = { "self", NULL
};
7675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_ReleaseCapture",_kwnames
,&_argo0
))
7678 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7679 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7680 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_ReleaseCapture. Expected _wxJoystick_p.");
7685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7686 _result
= (bool )wxJoystick_ReleaseCapture(_arg0
);
7688 wxPyEndAllowThreads(__tstate
);
7689 if (PyErr_Occurred()) return NULL
;
7690 } _resultobj
= Py_BuildValue("i",_result
);
7694 static void *SwigwxWaveTowxObject(void *ptr
) {
7697 src
= (wxWave
*) ptr
;
7698 dest
= (wxObject
*) src
;
7699 return (void *) dest
;
7702 #define new_wxWave(_swigarg0,_swigarg1) (new wxWave(_swigarg0,_swigarg1))
7703 static PyObject
*_wrap_new_wxWave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7704 PyObject
* _resultobj
;
7707 bool _arg1
= (bool ) FALSE
;
7708 PyObject
* _obj0
= 0;
7709 int tempbool1
= (int) FALSE
;
7710 char *_kwnames
[] = { "fileName","isResource", NULL
};
7714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:new_wxWave",_kwnames
,&_obj0
,&tempbool1
))
7717 #if PYTHON_API_VERSION >= 1009
7718 char* tmpPtr
; int tmpSize
;
7719 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
7720 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7723 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
7725 _arg0
= new wxString(tmpPtr
, tmpSize
);
7727 if (!PyString_Check(_obj0
)) {
7728 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7731 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
7734 _arg1
= (bool ) tempbool1
;
7736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7737 _result
= (wxWave
*)new_wxWave(*_arg0
,_arg1
);
7739 wxPyEndAllowThreads(__tstate
);
7740 if (PyErr_Occurred()) return NULL
;
7742 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWave_p");
7743 _resultobj
= Py_BuildValue("s",_ptemp
);
7746 _resultobj
= Py_None
;
7755 #define delete_wxWave(_swigobj) (delete _swigobj)
7756 static PyObject
*_wrap_delete_wxWave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7757 PyObject
* _resultobj
;
7759 PyObject
* _argo0
= 0;
7760 char *_kwnames
[] = { "self", NULL
};
7763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxWave",_kwnames
,&_argo0
))
7766 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7767 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWave_p")) {
7768 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxWave. Expected _wxWave_p.");
7773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7774 delete_wxWave(_arg0
);
7776 wxPyEndAllowThreads(__tstate
);
7777 if (PyErr_Occurred()) return NULL
;
7778 } Py_INCREF(Py_None
);
7779 _resultobj
= Py_None
;
7783 #define wxWave_IsOk(_swigobj) (_swigobj->IsOk())
7784 static PyObject
*_wrap_wxWave_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7785 PyObject
* _resultobj
;
7788 PyObject
* _argo0
= 0;
7789 char *_kwnames
[] = { "self", NULL
};
7792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWave_IsOk",_kwnames
,&_argo0
))
7795 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7796 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWave_p")) {
7797 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWave_IsOk. Expected _wxWave_p.");
7802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7803 _result
= (bool )wxWave_IsOk(_arg0
);
7805 wxPyEndAllowThreads(__tstate
);
7806 if (PyErr_Occurred()) return NULL
;
7807 } _resultobj
= Py_BuildValue("i",_result
);
7811 #define wxWave_Play(_swigobj,_swigarg0,_swigarg1) (_swigobj->Play(_swigarg0,_swigarg1))
7812 static PyObject
*_wrap_wxWave_Play(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7813 PyObject
* _resultobj
;
7816 bool _arg1
= (bool ) TRUE
;
7817 bool _arg2
= (bool ) FALSE
;
7818 PyObject
* _argo0
= 0;
7819 int tempbool1
= (int) TRUE
;
7820 int tempbool2
= (int) FALSE
;
7821 char *_kwnames
[] = { "self","async","looped", NULL
};
7824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxWave_Play",_kwnames
,&_argo0
,&tempbool1
,&tempbool2
))
7827 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7828 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWave_p")) {
7829 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWave_Play. Expected _wxWave_p.");
7833 _arg1
= (bool ) tempbool1
;
7834 _arg2
= (bool ) tempbool2
;
7836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7837 _result
= (bool )wxWave_Play(_arg0
,_arg1
,_arg2
);
7839 wxPyEndAllowThreads(__tstate
);
7840 if (PyErr_Occurred()) return NULL
;
7841 } _resultobj
= Py_BuildValue("i",_result
);
7845 #define new_wxFileTypeInfo(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxFileTypeInfo(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7846 static PyObject
*_wrap_new_wxFileTypeInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7847 PyObject
* _resultobj
;
7848 wxFileTypeInfo
* _result
;
7853 char *_kwnames
[] = { "mimeType","openCmd","printCmd","desc", NULL
};
7857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"ssss:new_wxFileTypeInfo",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
))
7860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7861 _result
= (wxFileTypeInfo
*)new_wxFileTypeInfo(_arg0
,_arg1
,_arg2
,_arg3
);
7863 wxPyEndAllowThreads(__tstate
);
7864 if (PyErr_Occurred()) return NULL
;
7866 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileTypeInfo_p");
7867 _resultobj
= Py_BuildValue("s",_ptemp
);
7870 _resultobj
= Py_None
;
7875 #define new_wxFileTypeInfoSequence(_swigarg0) (new wxFileTypeInfo(_swigarg0))
7876 static PyObject
*_wrap_new_wxFileTypeInfoSequence(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7877 PyObject
* _resultobj
;
7878 wxFileTypeInfo
* _result
;
7879 wxArrayString
* _arg0
;
7880 PyObject
* _obj0
= 0;
7881 char *_kwnames
[] = { "sArray", NULL
};
7885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxFileTypeInfoSequence",_kwnames
,&_obj0
))
7888 if (! PySequence_Check(_obj0
)) {
7889 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
7892 _arg0
= new wxArrayString
;
7893 int i
, len
=PySequence_Length(_obj0
);
7894 for (i
=0; i
<len
; i
++) {
7895 PyObject
* item
= PySequence_GetItem(_obj0
, i
);
7896 PyObject
* str
= PyObject_Str(item
);
7897 _arg0
->Add(PyString_AsString(str
));
7903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7904 _result
= (wxFileTypeInfo
*)new_wxFileTypeInfoSequence(*_arg0
);
7906 wxPyEndAllowThreads(__tstate
);
7907 if (PyErr_Occurred()) return NULL
;
7909 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileTypeInfo_p");
7910 _resultobj
= Py_BuildValue("s",_ptemp
);
7913 _resultobj
= Py_None
;
7922 #define new_wxNullFileTypeInfo() (new wxFileTypeInfo())
7923 static PyObject
*_wrap_new_wxNullFileTypeInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7924 PyObject
* _resultobj
;
7925 wxFileTypeInfo
* _result
;
7926 char *_kwnames
[] = { NULL
};
7930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxNullFileTypeInfo",_kwnames
))
7933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7934 _result
= (wxFileTypeInfo
*)new_wxNullFileTypeInfo();
7936 wxPyEndAllowThreads(__tstate
);
7937 if (PyErr_Occurred()) return NULL
;
7939 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileTypeInfo_p");
7940 _resultobj
= Py_BuildValue("s",_ptemp
);
7943 _resultobj
= Py_None
;
7948 #define wxFileTypeInfo_IsValid(_swigobj) (_swigobj->IsValid())
7949 static PyObject
*_wrap_wxFileTypeInfo_IsValid(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_IsValid",_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_IsValid. Expected _wxFileTypeInfo_p.");
7967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7968 _result
= (bool )wxFileTypeInfo_IsValid(_arg0
);
7970 wxPyEndAllowThreads(__tstate
);
7971 if (PyErr_Occurred()) return NULL
;
7972 } _resultobj
= Py_BuildValue("i",_result
);
7976 #define wxFileTypeInfo_SetIcon(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetIcon(_swigarg0,_swigarg1))
7977 static PyObject
*_wrap_wxFileTypeInfo_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7978 PyObject
* _resultobj
;
7979 wxFileTypeInfo
* _arg0
;
7981 int _arg2
= (int ) 0;
7982 PyObject
* _argo0
= 0;
7983 PyObject
* _obj1
= 0;
7984 char *_kwnames
[] = { "self","iconFile","iconIndex", NULL
};
7987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxFileTypeInfo_SetIcon",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
7990 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7991 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
7992 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_SetIcon. Expected _wxFileTypeInfo_p.");
7997 #if PYTHON_API_VERSION >= 1009
7998 char* tmpPtr
; int tmpSize
;
7999 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
8000 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8003 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
8005 _arg1
= new wxString(tmpPtr
, tmpSize
);
8007 if (!PyString_Check(_obj1
)) {
8008 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8011 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
8015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8016 wxFileTypeInfo_SetIcon(_arg0
,*_arg1
,_arg2
);
8018 wxPyEndAllowThreads(__tstate
);
8019 if (PyErr_Occurred()) return NULL
;
8020 } Py_INCREF(Py_None
);
8021 _resultobj
= Py_None
;
8029 #define wxFileTypeInfo_SetShortDesc(_swigobj,_swigarg0) (_swigobj->SetShortDesc(_swigarg0))
8030 static PyObject
*_wrap_wxFileTypeInfo_SetShortDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8031 PyObject
* _resultobj
;
8032 wxFileTypeInfo
* _arg0
;
8034 PyObject
* _argo0
= 0;
8035 PyObject
* _obj1
= 0;
8036 char *_kwnames
[] = { "self","shortDesc", NULL
};
8039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileTypeInfo_SetShortDesc",_kwnames
,&_argo0
,&_obj1
))
8042 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8043 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8044 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_SetShortDesc. Expected _wxFileTypeInfo_p.");
8049 #if PYTHON_API_VERSION >= 1009
8050 char* tmpPtr
; int tmpSize
;
8051 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
8052 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8055 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
8057 _arg1
= new wxString(tmpPtr
, tmpSize
);
8059 if (!PyString_Check(_obj1
)) {
8060 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8063 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
8067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8068 wxFileTypeInfo_SetShortDesc(_arg0
,*_arg1
);
8070 wxPyEndAllowThreads(__tstate
);
8071 if (PyErr_Occurred()) return NULL
;
8072 } Py_INCREF(Py_None
);
8073 _resultobj
= Py_None
;
8081 #define wxFileTypeInfo_GetMimeType(_swigobj) (_swigobj->GetMimeType())
8082 static PyObject
*_wrap_wxFileTypeInfo_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8083 PyObject
* _resultobj
;
8085 wxFileTypeInfo
* _arg0
;
8086 PyObject
* _argo0
= 0;
8087 char *_kwnames
[] = { "self", NULL
};
8090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetMimeType",_kwnames
,&_argo0
))
8093 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8094 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8095 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetMimeType. Expected _wxFileTypeInfo_p.");
8100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8101 const wxString
& _result_ref
= wxFileTypeInfo_GetMimeType(_arg0
);
8102 _result
= (wxString
*) &_result_ref
;
8104 wxPyEndAllowThreads(__tstate
);
8105 if (PyErr_Occurred()) return NULL
;
8107 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8112 #define wxFileTypeInfo_GetOpenCommand(_swigobj) (_swigobj->GetOpenCommand())
8113 static PyObject
*_wrap_wxFileTypeInfo_GetOpenCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8114 PyObject
* _resultobj
;
8116 wxFileTypeInfo
* _arg0
;
8117 PyObject
* _argo0
= 0;
8118 char *_kwnames
[] = { "self", NULL
};
8121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetOpenCommand",_kwnames
,&_argo0
))
8124 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8125 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8126 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetOpenCommand. Expected _wxFileTypeInfo_p.");
8131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8132 const wxString
& _result_ref
= wxFileTypeInfo_GetOpenCommand(_arg0
);
8133 _result
= (wxString
*) &_result_ref
;
8135 wxPyEndAllowThreads(__tstate
);
8136 if (PyErr_Occurred()) return NULL
;
8138 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8143 #define wxFileTypeInfo_GetPrintCommand(_swigobj) (_swigobj->GetPrintCommand())
8144 static PyObject
*_wrap_wxFileTypeInfo_GetPrintCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8145 PyObject
* _resultobj
;
8147 wxFileTypeInfo
* _arg0
;
8148 PyObject
* _argo0
= 0;
8149 char *_kwnames
[] = { "self", NULL
};
8152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetPrintCommand",_kwnames
,&_argo0
))
8155 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8156 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8157 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetPrintCommand. Expected _wxFileTypeInfo_p.");
8162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8163 const wxString
& _result_ref
= wxFileTypeInfo_GetPrintCommand(_arg0
);
8164 _result
= (wxString
*) &_result_ref
;
8166 wxPyEndAllowThreads(__tstate
);
8167 if (PyErr_Occurred()) return NULL
;
8169 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8174 #define wxFileTypeInfo_GetShortDesc(_swigobj) (_swigobj->GetShortDesc())
8175 static PyObject
*_wrap_wxFileTypeInfo_GetShortDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8176 PyObject
* _resultobj
;
8178 wxFileTypeInfo
* _arg0
;
8179 PyObject
* _argo0
= 0;
8180 char *_kwnames
[] = { "self", NULL
};
8183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetShortDesc",_kwnames
,&_argo0
))
8186 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8187 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8188 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetShortDesc. Expected _wxFileTypeInfo_p.");
8193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8194 const wxString
& _result_ref
= wxFileTypeInfo_GetShortDesc(_arg0
);
8195 _result
= (wxString
*) &_result_ref
;
8197 wxPyEndAllowThreads(__tstate
);
8198 if (PyErr_Occurred()) return NULL
;
8200 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8205 #define wxFileTypeInfo_GetDescription(_swigobj) (_swigobj->GetDescription())
8206 static PyObject
*_wrap_wxFileTypeInfo_GetDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8207 PyObject
* _resultobj
;
8209 wxFileTypeInfo
* _arg0
;
8210 PyObject
* _argo0
= 0;
8211 char *_kwnames
[] = { "self", NULL
};
8214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetDescription",_kwnames
,&_argo0
))
8217 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8218 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8219 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetDescription. Expected _wxFileTypeInfo_p.");
8224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8225 const wxString
& _result_ref
= wxFileTypeInfo_GetDescription(_arg0
);
8226 _result
= (wxString
*) &_result_ref
;
8228 wxPyEndAllowThreads(__tstate
);
8229 if (PyErr_Occurred()) return NULL
;
8231 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8236 static PyObject
* wxFileTypeInfo_GetExtensions(wxFileTypeInfo
*self
) {
8237 wxArrayString
& arr
= (wxArrayString
&)self
->GetExtensions();
8238 return wxArrayString2PyList_helper(arr
);
8240 static PyObject
*_wrap_wxFileTypeInfo_GetExtensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8241 PyObject
* _resultobj
;
8243 wxFileTypeInfo
* _arg0
;
8244 PyObject
* _argo0
= 0;
8245 char *_kwnames
[] = { "self", NULL
};
8248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetExtensions",_kwnames
,&_argo0
))
8251 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8252 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8253 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetExtensions. Expected _wxFileTypeInfo_p.");
8258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8259 _result
= (PyObject
*)wxFileTypeInfo_GetExtensions(_arg0
);
8261 wxPyEndAllowThreads(__tstate
);
8262 if (PyErr_Occurred()) return NULL
;
8264 _resultobj
= _result
;
8269 #define wxFileTypeInfo_GetExtensionsCount(_swigobj) (_swigobj->GetExtensionsCount())
8270 static PyObject
*_wrap_wxFileTypeInfo_GetExtensionsCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8271 PyObject
* _resultobj
;
8273 wxFileTypeInfo
* _arg0
;
8274 PyObject
* _argo0
= 0;
8275 char *_kwnames
[] = { "self", NULL
};
8278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetExtensionsCount",_kwnames
,&_argo0
))
8281 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8282 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8283 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetExtensionsCount. Expected _wxFileTypeInfo_p.");
8288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8289 _result
= (int )wxFileTypeInfo_GetExtensionsCount(_arg0
);
8291 wxPyEndAllowThreads(__tstate
);
8292 if (PyErr_Occurred()) return NULL
;
8293 } _resultobj
= Py_BuildValue("i",_result
);
8297 #define wxFileTypeInfo_GetIconFile(_swigobj) (_swigobj->GetIconFile())
8298 static PyObject
*_wrap_wxFileTypeInfo_GetIconFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8299 PyObject
* _resultobj
;
8301 wxFileTypeInfo
* _arg0
;
8302 PyObject
* _argo0
= 0;
8303 char *_kwnames
[] = { "self", NULL
};
8306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetIconFile",_kwnames
,&_argo0
))
8309 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8310 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8311 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetIconFile. Expected _wxFileTypeInfo_p.");
8316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8317 const wxString
& _result_ref
= wxFileTypeInfo_GetIconFile(_arg0
);
8318 _result
= (wxString
*) &_result_ref
;
8320 wxPyEndAllowThreads(__tstate
);
8321 if (PyErr_Occurred()) return NULL
;
8323 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8328 #define wxFileTypeInfo_GetIconIndex(_swigobj) (_swigobj->GetIconIndex())
8329 static PyObject
*_wrap_wxFileTypeInfo_GetIconIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8330 PyObject
* _resultobj
;
8332 wxFileTypeInfo
* _arg0
;
8333 PyObject
* _argo0
= 0;
8334 char *_kwnames
[] = { "self", NULL
};
8337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetIconIndex",_kwnames
,&_argo0
))
8340 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8341 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8342 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetIconIndex. Expected _wxFileTypeInfo_p.");
8347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8348 _result
= (int )wxFileTypeInfo_GetIconIndex(_arg0
);
8350 wxPyEndAllowThreads(__tstate
);
8351 if (PyErr_Occurred()) return NULL
;
8352 } _resultobj
= Py_BuildValue("i",_result
);
8356 #define new_wxFileType(_swigarg0) (new wxFileType(_swigarg0))
8357 static PyObject
*_wrap_new_wxFileType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8358 PyObject
* _resultobj
;
8359 wxFileType
* _result
;
8360 wxFileTypeInfo
* _arg0
;
8361 PyObject
* _argo0
= 0;
8362 char *_kwnames
[] = { "ftInfo", NULL
};
8366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxFileType",_kwnames
,&_argo0
))
8369 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8370 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8371 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxFileType. Expected _wxFileTypeInfo_p.");
8376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8377 _result
= (wxFileType
*)new_wxFileType(*_arg0
);
8379 wxPyEndAllowThreads(__tstate
);
8380 if (PyErr_Occurred()) return NULL
;
8382 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileType_p");
8383 _resultobj
= Py_BuildValue("s",_ptemp
);
8386 _resultobj
= Py_None
;
8391 static PyObject
* wxFileType_GetMimeType(wxFileType
*self
) {
8393 if (self
->GetMimeType(&str
))
8394 return PyString_FromString(str
.c_str());
8398 static PyObject
*_wrap_wxFileType_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8399 PyObject
* _resultobj
;
8402 PyObject
* _argo0
= 0;
8403 char *_kwnames
[] = { "self", NULL
};
8406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_GetMimeType",_kwnames
,&_argo0
))
8409 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8410 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8411 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetMimeType. Expected _wxFileType_p.");
8416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8417 _result
= (PyObject
*)wxFileType_GetMimeType(_arg0
);
8419 wxPyEndAllowThreads(__tstate
);
8420 if (PyErr_Occurred()) return NULL
;
8422 _resultobj
= _result
;
8427 static PyObject
* wxFileType_GetMimeTypes(wxFileType
*self
) {
8429 if (self
->GetMimeTypes(arr
))
8430 return wxArrayString2PyList_helper(arr
);
8434 static PyObject
*_wrap_wxFileType_GetMimeTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8435 PyObject
* _resultobj
;
8438 PyObject
* _argo0
= 0;
8439 char *_kwnames
[] = { "self", NULL
};
8442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_GetMimeTypes",_kwnames
,&_argo0
))
8445 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8446 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8447 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetMimeTypes. Expected _wxFileType_p.");
8452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8453 _result
= (PyObject
*)wxFileType_GetMimeTypes(_arg0
);
8455 wxPyEndAllowThreads(__tstate
);
8456 if (PyErr_Occurred()) return NULL
;
8458 _resultobj
= _result
;
8463 static PyObject
* wxFileType_GetExtensions(wxFileType
*self
) {
8465 if (self
->GetExtensions(arr
))
8466 return wxArrayString2PyList_helper(arr
);
8470 static PyObject
*_wrap_wxFileType_GetExtensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8471 PyObject
* _resultobj
;
8474 PyObject
* _argo0
= 0;
8475 char *_kwnames
[] = { "self", NULL
};
8478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_GetExtensions",_kwnames
,&_argo0
))
8481 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8482 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8483 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetExtensions. Expected _wxFileType_p.");
8488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8489 _result
= (PyObject
*)wxFileType_GetExtensions(_arg0
);
8491 wxPyEndAllowThreads(__tstate
);
8492 if (PyErr_Occurred()) return NULL
;
8494 _resultobj
= _result
;
8499 static wxIcon
* wxFileType_GetIcon(wxFileType
*self
) {
8501 if (self
->GetIcon(&icon
))
8502 return new wxIcon(icon
);
8506 static PyObject
*_wrap_wxFileType_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8507 PyObject
* _resultobj
;
8510 PyObject
* _argo0
= 0;
8511 char *_kwnames
[] = { "self", NULL
};
8515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_GetIcon",_kwnames
,&_argo0
))
8518 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8519 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8520 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetIcon. Expected _wxFileType_p.");
8525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8526 _result
= (wxIcon
*)wxFileType_GetIcon(_arg0
);
8528 wxPyEndAllowThreads(__tstate
);
8529 if (PyErr_Occurred()) return NULL
;
8531 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIcon_p");
8532 _resultobj
= Py_BuildValue("s",_ptemp
);
8535 _resultobj
= Py_None
;
8540 static PyObject
* wxFileType_GetIconInfo(wxFileType
*self
) {
8544 if (self
->GetIcon(&icon
, &iconFile
, &iconIndex
)) {
8545 wxPyBeginBlockThreads();
8546 PyObject
* tuple
= PyTuple_New(3);
8547 PyTuple_SetItem(tuple
, 0, wxPyConstructObject(new wxIcon(icon
),
8549 PyTuple_SetItem(tuple
, 1, PyString_FromString(iconFile
.c_str()));
8550 PyTuple_SetItem(tuple
, 2, PyInt_FromLong(iconIndex
));
8551 wxPyEndBlockThreads();
8557 static PyObject
*_wrap_wxFileType_GetIconInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8558 PyObject
* _resultobj
;
8561 PyObject
* _argo0
= 0;
8562 char *_kwnames
[] = { "self", NULL
};
8565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_GetIconInfo",_kwnames
,&_argo0
))
8568 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8569 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8570 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetIconInfo. Expected _wxFileType_p.");
8575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8576 _result
= (PyObject
*)wxFileType_GetIconInfo(_arg0
);
8578 wxPyEndAllowThreads(__tstate
);
8579 if (PyErr_Occurred()) return NULL
;
8581 _resultobj
= _result
;
8586 static PyObject
* wxFileType_GetDescription(wxFileType
*self
) {
8588 if (self
->GetDescription(&str
))
8589 return PyString_FromString(str
.c_str());
8593 static PyObject
*_wrap_wxFileType_GetDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8594 PyObject
* _resultobj
;
8597 PyObject
* _argo0
= 0;
8598 char *_kwnames
[] = { "self", NULL
};
8601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_GetDescription",_kwnames
,&_argo0
))
8604 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8605 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8606 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetDescription. Expected _wxFileType_p.");
8611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8612 _result
= (PyObject
*)wxFileType_GetDescription(_arg0
);
8614 wxPyEndAllowThreads(__tstate
);
8615 if (PyErr_Occurred()) return NULL
;
8617 _resultobj
= _result
;
8622 static PyObject
* wxFileType_GetOpenCommand(wxFileType
*self
,const wxString
& filename
,const wxString
& mimetype
) {
8624 if (self
->GetOpenCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
8625 return PyString_FromString(str
.c_str());
8629 static PyObject
*_wrap_wxFileType_GetOpenCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8630 PyObject
* _resultobj
;
8634 wxString
* _arg2
= (wxString
*) &wxEmptyString
;
8635 PyObject
* _argo0
= 0;
8636 PyObject
* _obj1
= 0;
8637 PyObject
* _obj2
= 0;
8638 char *_kwnames
[] = { "self","filename","mimetype", NULL
};
8641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxFileType_GetOpenCommand",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
8644 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8645 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8646 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetOpenCommand. Expected _wxFileType_p.");
8651 #if PYTHON_API_VERSION >= 1009
8652 char* tmpPtr
; int tmpSize
;
8653 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
8654 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8657 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
8659 _arg1
= new wxString(tmpPtr
, tmpSize
);
8661 if (!PyString_Check(_obj1
)) {
8662 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8665 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
8670 #if PYTHON_API_VERSION >= 1009
8671 char* tmpPtr
; int tmpSize
;
8672 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
8673 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8676 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
8678 _arg2
= new wxString(tmpPtr
, tmpSize
);
8680 if (!PyString_Check(_obj2
)) {
8681 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8684 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
8688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8689 _result
= (PyObject
*)wxFileType_GetOpenCommand(_arg0
,*_arg1
,*_arg2
);
8691 wxPyEndAllowThreads(__tstate
);
8692 if (PyErr_Occurred()) return NULL
;
8694 _resultobj
= _result
;
8707 static PyObject
* wxFileType_GetPrintCommand(wxFileType
*self
,const wxString
& filename
,const wxString
& mimetype
) {
8709 if (self
->GetPrintCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
8710 return PyString_FromString(str
.c_str());
8714 static PyObject
*_wrap_wxFileType_GetPrintCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8715 PyObject
* _resultobj
;
8719 wxString
* _arg2
= (wxString
*) &wxEmptyString
;
8720 PyObject
* _argo0
= 0;
8721 PyObject
* _obj1
= 0;
8722 PyObject
* _obj2
= 0;
8723 char *_kwnames
[] = { "self","filename","mimetype", NULL
};
8726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxFileType_GetPrintCommand",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
8729 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8730 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8731 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetPrintCommand. Expected _wxFileType_p.");
8736 #if PYTHON_API_VERSION >= 1009
8737 char* tmpPtr
; int tmpSize
;
8738 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
8739 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8742 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
8744 _arg1
= new wxString(tmpPtr
, tmpSize
);
8746 if (!PyString_Check(_obj1
)) {
8747 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8750 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
8755 #if PYTHON_API_VERSION >= 1009
8756 char* tmpPtr
; int tmpSize
;
8757 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
8758 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8761 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
8763 _arg2
= new wxString(tmpPtr
, tmpSize
);
8765 if (!PyString_Check(_obj2
)) {
8766 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8769 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
8773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8774 _result
= (PyObject
*)wxFileType_GetPrintCommand(_arg0
,*_arg1
,*_arg2
);
8776 wxPyEndAllowThreads(__tstate
);
8777 if (PyErr_Occurred()) return NULL
;
8779 _resultobj
= _result
;
8792 static PyObject
* wxFileType_GetAllCommands(wxFileType
*self
,const wxString
& filename
,const wxString
& mimetype
) {
8793 wxArrayString verbs
;
8794 wxArrayString commands
;
8795 if (self
->GetAllCommands(&verbs
, &commands
,
8796 wxFileType::MessageParameters(filename
, mimetype
))) {
8797 wxPyBeginBlockThreads();
8798 PyObject
* tuple
= PyTuple_New(2);
8799 PyTuple_SetItem(tuple
, 0, wxArrayString2PyList_helper(verbs
));
8800 PyTuple_SetItem(tuple
, 1, wxArrayString2PyList_helper(commands
));
8801 wxPyEndBlockThreads();
8807 static PyObject
*_wrap_wxFileType_GetAllCommands(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8808 PyObject
* _resultobj
;
8812 wxString
* _arg2
= (wxString
*) &wxEmptyString
;
8813 PyObject
* _argo0
= 0;
8814 PyObject
* _obj1
= 0;
8815 PyObject
* _obj2
= 0;
8816 char *_kwnames
[] = { "self","filename","mimetype", NULL
};
8819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxFileType_GetAllCommands",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
8822 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8823 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8824 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetAllCommands. Expected _wxFileType_p.");
8829 #if PYTHON_API_VERSION >= 1009
8830 char* tmpPtr
; int tmpSize
;
8831 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
8832 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8835 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
8837 _arg1
= new wxString(tmpPtr
, tmpSize
);
8839 if (!PyString_Check(_obj1
)) {
8840 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8843 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
8848 #if PYTHON_API_VERSION >= 1009
8849 char* tmpPtr
; int tmpSize
;
8850 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
8851 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8854 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
8856 _arg2
= new wxString(tmpPtr
, tmpSize
);
8858 if (!PyString_Check(_obj2
)) {
8859 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8862 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
8866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8867 _result
= (PyObject
*)wxFileType_GetAllCommands(_arg0
,*_arg1
,*_arg2
);
8869 wxPyEndAllowThreads(__tstate
);
8870 if (PyErr_Occurred()) return NULL
;
8872 _resultobj
= _result
;
8885 #define wxFileType_SetCommand(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCommand(_swigarg0,_swigarg1,_swigarg2))
8886 static PyObject
*_wrap_wxFileType_SetCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8887 PyObject
* _resultobj
;
8892 bool _arg3
= (bool ) TRUE
;
8893 PyObject
* _argo0
= 0;
8894 PyObject
* _obj1
= 0;
8895 PyObject
* _obj2
= 0;
8896 int tempbool3
= (int) TRUE
;
8897 char *_kwnames
[] = { "self","cmd","verb","overwriteprompt", NULL
};
8900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|i:wxFileType_SetCommand",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&tempbool3
))
8903 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8904 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8905 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_SetCommand. Expected _wxFileType_p.");
8910 #if PYTHON_API_VERSION >= 1009
8911 char* tmpPtr
; int tmpSize
;
8912 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
8913 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8916 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
8918 _arg1
= new wxString(tmpPtr
, tmpSize
);
8920 if (!PyString_Check(_obj1
)) {
8921 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8924 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
8928 #if PYTHON_API_VERSION >= 1009
8929 char* tmpPtr
; int tmpSize
;
8930 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
8931 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8934 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
8936 _arg2
= new wxString(tmpPtr
, tmpSize
);
8938 if (!PyString_Check(_obj2
)) {
8939 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8942 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
8945 _arg3
= (bool ) tempbool3
;
8947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8948 _result
= (bool )wxFileType_SetCommand(_arg0
,*_arg1
,*_arg2
,_arg3
);
8950 wxPyEndAllowThreads(__tstate
);
8951 if (PyErr_Occurred()) return NULL
;
8952 } _resultobj
= Py_BuildValue("i",_result
);
8964 #define wxFileType_SetDefaultIcon(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDefaultIcon(_swigarg0,_swigarg1))
8965 static PyObject
*_wrap_wxFileType_SetDefaultIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8966 PyObject
* _resultobj
;
8969 wxString
* _arg1
= (wxString
*) &wxEmptyString
;
8970 int _arg2
= (int ) 0;
8971 PyObject
* _argo0
= 0;
8972 PyObject
* _obj1
= 0;
8973 char *_kwnames
[] = { "self","cmd","index", NULL
};
8976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|Oi:wxFileType_SetDefaultIcon",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
8979 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8980 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8981 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_SetDefaultIcon. Expected _wxFileType_p.");
8987 #if PYTHON_API_VERSION >= 1009
8988 char* tmpPtr
; int tmpSize
;
8989 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
8990 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8993 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
8995 _arg1
= new wxString(tmpPtr
, tmpSize
);
8997 if (!PyString_Check(_obj1
)) {
8998 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9001 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
9005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9006 _result
= (bool )wxFileType_SetDefaultIcon(_arg0
,*_arg1
,_arg2
);
9008 wxPyEndAllowThreads(__tstate
);
9009 if (PyErr_Occurred()) return NULL
;
9010 } _resultobj
= Py_BuildValue("i",_result
);
9018 #define wxFileType_Unassociate(_swigobj) (_swigobj->Unassociate())
9019 static PyObject
*_wrap_wxFileType_Unassociate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9020 PyObject
* _resultobj
;
9023 PyObject
* _argo0
= 0;
9024 char *_kwnames
[] = { "self", NULL
};
9027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_Unassociate",_kwnames
,&_argo0
))
9030 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9031 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
9032 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_Unassociate. Expected _wxFileType_p.");
9037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9038 _result
= (bool )wxFileType_Unassociate(_arg0
);
9040 wxPyEndAllowThreads(__tstate
);
9041 if (PyErr_Occurred()) return NULL
;
9042 } _resultobj
= Py_BuildValue("i",_result
);
9046 static PyObject
*_wrap_wxFileType_ExpandCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9047 PyObject
* _resultobj
;
9050 wxFileType::MessageParameters
* _arg1
;
9051 PyObject
* _obj0
= 0;
9052 PyObject
* _argo1
= 0;
9053 char *_kwnames
[] = { "command","params", NULL
};
9056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileType_ExpandCommand",_kwnames
,&_obj0
,&_argo1
))
9059 #if PYTHON_API_VERSION >= 1009
9060 char* tmpPtr
; int tmpSize
;
9061 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
9062 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9065 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
9067 _arg0
= new wxString(tmpPtr
, tmpSize
);
9069 if (!PyString_Check(_obj0
)) {
9070 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9073 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
9077 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9078 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFileType::MessageParameters_p")) {
9079 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFileType_ExpandCommand. Expected _wxFileType::MessageParameters_p.");
9084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9085 _result
= new wxString (wxFileType::ExpandCommand(*_arg0
,*_arg1
));
9087 wxPyEndAllowThreads(__tstate
);
9088 if (PyErr_Occurred()) return NULL
;
9090 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9102 #define delete_wxFileType(_swigobj) (delete _swigobj)
9103 static PyObject
*_wrap_delete_wxFileType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9104 PyObject
* _resultobj
;
9106 PyObject
* _argo0
= 0;
9107 char *_kwnames
[] = { "self", NULL
};
9110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxFileType",_kwnames
,&_argo0
))
9113 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9114 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
9115 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxFileType. Expected _wxFileType_p.");
9120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9121 delete_wxFileType(_arg0
);
9123 wxPyEndAllowThreads(__tstate
);
9124 if (PyErr_Occurred()) return NULL
;
9125 } Py_INCREF(Py_None
);
9126 _resultobj
= Py_None
;
9130 static PyObject
*_wrap_wxMimeTypesManager_IsOfType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9131 PyObject
* _resultobj
;
9135 PyObject
* _obj0
= 0;
9136 PyObject
* _obj1
= 0;
9137 char *_kwnames
[] = { "mimeType","wildcard", NULL
};
9140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_IsOfType",_kwnames
,&_obj0
,&_obj1
))
9143 #if PYTHON_API_VERSION >= 1009
9144 char* tmpPtr
; int tmpSize
;
9145 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
9146 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9149 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
9151 _arg0
= new wxString(tmpPtr
, tmpSize
);
9153 if (!PyString_Check(_obj0
)) {
9154 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9157 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
9161 #if PYTHON_API_VERSION >= 1009
9162 char* tmpPtr
; int tmpSize
;
9163 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
9164 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9167 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
9169 _arg1
= new wxString(tmpPtr
, tmpSize
);
9171 if (!PyString_Check(_obj1
)) {
9172 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9175 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
9179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9180 _result
= (bool )wxMimeTypesManager::IsOfType(*_arg0
,*_arg1
);
9182 wxPyEndAllowThreads(__tstate
);
9183 if (PyErr_Occurred()) return NULL
;
9184 } _resultobj
= Py_BuildValue("i",_result
);
9196 #define new_wxMimeTypesManager() (new wxMimeTypesManager())
9197 static PyObject
*_wrap_new_wxMimeTypesManager(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9198 PyObject
* _resultobj
;
9199 wxMimeTypesManager
* _result
;
9200 char *_kwnames
[] = { NULL
};
9204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxMimeTypesManager",_kwnames
))
9207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9208 _result
= (wxMimeTypesManager
*)new_wxMimeTypesManager();
9210 wxPyEndAllowThreads(__tstate
);
9211 if (PyErr_Occurred()) return NULL
;
9213 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMimeTypesManager_p");
9214 _resultobj
= Py_BuildValue("s",_ptemp
);
9217 _resultobj
= Py_None
;
9222 #define wxMimeTypesManager_Initialize(_swigobj,_swigarg0,_swigarg1) (_swigobj->Initialize(_swigarg0,_swigarg1))
9223 static PyObject
*_wrap_wxMimeTypesManager_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9224 PyObject
* _resultobj
;
9225 wxMimeTypesManager
* _arg0
;
9226 int _arg1
= (int ) (wxMAILCAP_STANDARD
);
9227 wxString
* _arg2
= (wxString
*) &wxEmptyString
;
9228 PyObject
* _argo0
= 0;
9229 PyObject
* _obj2
= 0;
9230 char *_kwnames
[] = { "self","mailcapStyle","extraDir", NULL
};
9233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iO:wxMimeTypesManager_Initialize",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
9236 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9237 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9238 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_Initialize. Expected _wxMimeTypesManager_p.");
9244 #if PYTHON_API_VERSION >= 1009
9245 char* tmpPtr
; int tmpSize
;
9246 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
9247 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9250 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
9252 _arg2
= new wxString(tmpPtr
, tmpSize
);
9254 if (!PyString_Check(_obj2
)) {
9255 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9258 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
9262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9263 wxMimeTypesManager_Initialize(_arg0
,_arg1
,*_arg2
);
9265 wxPyEndAllowThreads(__tstate
);
9266 if (PyErr_Occurred()) return NULL
;
9267 } Py_INCREF(Py_None
);
9268 _resultobj
= Py_None
;
9276 #define wxMimeTypesManager_ClearData(_swigobj) (_swigobj->ClearData())
9277 static PyObject
*_wrap_wxMimeTypesManager_ClearData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9278 PyObject
* _resultobj
;
9279 wxMimeTypesManager
* _arg0
;
9280 PyObject
* _argo0
= 0;
9281 char *_kwnames
[] = { "self", NULL
};
9284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMimeTypesManager_ClearData",_kwnames
,&_argo0
))
9287 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9288 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9289 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_ClearData. Expected _wxMimeTypesManager_p.");
9294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9295 wxMimeTypesManager_ClearData(_arg0
);
9297 wxPyEndAllowThreads(__tstate
);
9298 if (PyErr_Occurred()) return NULL
;
9299 } Py_INCREF(Py_None
);
9300 _resultobj
= Py_None
;
9304 #define wxMimeTypesManager_GetFileTypeFromExtension(_swigobj,_swigarg0) (_swigobj->GetFileTypeFromExtension(_swigarg0))
9305 static PyObject
*_wrap_wxMimeTypesManager_GetFileTypeFromExtension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9306 PyObject
* _resultobj
;
9307 wxFileType
* _result
;
9308 wxMimeTypesManager
* _arg0
;
9310 PyObject
* _argo0
= 0;
9311 PyObject
* _obj1
= 0;
9312 char *_kwnames
[] = { "self","ext", NULL
};
9316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_GetFileTypeFromExtension",_kwnames
,&_argo0
,&_obj1
))
9319 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9320 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9321 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_GetFileTypeFromExtension. Expected _wxMimeTypesManager_p.");
9326 #if PYTHON_API_VERSION >= 1009
9327 char* tmpPtr
; int tmpSize
;
9328 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
9329 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9332 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
9334 _arg1
= new wxString(tmpPtr
, tmpSize
);
9336 if (!PyString_Check(_obj1
)) {
9337 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9340 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
9344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9345 _result
= (wxFileType
*)wxMimeTypesManager_GetFileTypeFromExtension(_arg0
,*_arg1
);
9347 wxPyEndAllowThreads(__tstate
);
9348 if (PyErr_Occurred()) return NULL
;
9350 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileType_p");
9351 _resultobj
= Py_BuildValue("s",_ptemp
);
9354 _resultobj
= Py_None
;
9363 #define wxMimeTypesManager_GetFileTypeFromMimeType(_swigobj,_swigarg0) (_swigobj->GetFileTypeFromMimeType(_swigarg0))
9364 static PyObject
*_wrap_wxMimeTypesManager_GetFileTypeFromMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9365 PyObject
* _resultobj
;
9366 wxFileType
* _result
;
9367 wxMimeTypesManager
* _arg0
;
9369 PyObject
* _argo0
= 0;
9370 PyObject
* _obj1
= 0;
9371 char *_kwnames
[] = { "self","mimeType", NULL
};
9375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_GetFileTypeFromMimeType",_kwnames
,&_argo0
,&_obj1
))
9378 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9379 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9380 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_GetFileTypeFromMimeType. Expected _wxMimeTypesManager_p.");
9385 #if PYTHON_API_VERSION >= 1009
9386 char* tmpPtr
; int tmpSize
;
9387 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
9388 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9391 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
9393 _arg1
= new wxString(tmpPtr
, tmpSize
);
9395 if (!PyString_Check(_obj1
)) {
9396 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9399 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
9403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9404 _result
= (wxFileType
*)wxMimeTypesManager_GetFileTypeFromMimeType(_arg0
,*_arg1
);
9406 wxPyEndAllowThreads(__tstate
);
9407 if (PyErr_Occurred()) return NULL
;
9409 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileType_p");
9410 _resultobj
= Py_BuildValue("s",_ptemp
);
9413 _resultobj
= Py_None
;
9422 #define wxMimeTypesManager_ReadMailcap(_swigobj,_swigarg0,_swigarg1) (_swigobj->ReadMailcap(_swigarg0,_swigarg1))
9423 static PyObject
*_wrap_wxMimeTypesManager_ReadMailcap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9424 PyObject
* _resultobj
;
9426 wxMimeTypesManager
* _arg0
;
9428 bool _arg2
= (bool ) FALSE
;
9429 PyObject
* _argo0
= 0;
9430 PyObject
* _obj1
= 0;
9431 int tempbool2
= (int) FALSE
;
9432 char *_kwnames
[] = { "self","filename","fallback", NULL
};
9435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxMimeTypesManager_ReadMailcap",_kwnames
,&_argo0
,&_obj1
,&tempbool2
))
9438 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9439 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9440 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_ReadMailcap. Expected _wxMimeTypesManager_p.");
9445 #if PYTHON_API_VERSION >= 1009
9446 char* tmpPtr
; int tmpSize
;
9447 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
9448 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9451 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
9453 _arg1
= new wxString(tmpPtr
, tmpSize
);
9455 if (!PyString_Check(_obj1
)) {
9456 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9459 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
9462 _arg2
= (bool ) tempbool2
;
9464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9465 _result
= (bool )wxMimeTypesManager_ReadMailcap(_arg0
,*_arg1
,_arg2
);
9467 wxPyEndAllowThreads(__tstate
);
9468 if (PyErr_Occurred()) return NULL
;
9469 } _resultobj
= Py_BuildValue("i",_result
);
9477 #define wxMimeTypesManager_ReadMimeTypes(_swigobj,_swigarg0) (_swigobj->ReadMimeTypes(_swigarg0))
9478 static PyObject
*_wrap_wxMimeTypesManager_ReadMimeTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9479 PyObject
* _resultobj
;
9481 wxMimeTypesManager
* _arg0
;
9483 PyObject
* _argo0
= 0;
9484 PyObject
* _obj1
= 0;
9485 char *_kwnames
[] = { "self","filename", NULL
};
9488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_ReadMimeTypes",_kwnames
,&_argo0
,&_obj1
))
9491 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9492 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9493 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_ReadMimeTypes. Expected _wxMimeTypesManager_p.");
9498 #if PYTHON_API_VERSION >= 1009
9499 char* tmpPtr
; int tmpSize
;
9500 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
9501 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9504 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
9506 _arg1
= new wxString(tmpPtr
, tmpSize
);
9508 if (!PyString_Check(_obj1
)) {
9509 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9512 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
9516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9517 _result
= (bool )wxMimeTypesManager_ReadMimeTypes(_arg0
,*_arg1
);
9519 wxPyEndAllowThreads(__tstate
);
9520 if (PyErr_Occurred()) return NULL
;
9521 } _resultobj
= Py_BuildValue("i",_result
);
9529 static PyObject
* wxMimeTypesManager_EnumAllFileTypes(wxMimeTypesManager
*self
) {
9531 self
->EnumAllFileTypes(arr
);
9532 return wxArrayString2PyList_helper(arr
);
9534 static PyObject
*_wrap_wxMimeTypesManager_EnumAllFileTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9535 PyObject
* _resultobj
;
9537 wxMimeTypesManager
* _arg0
;
9538 PyObject
* _argo0
= 0;
9539 char *_kwnames
[] = { "self", NULL
};
9542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMimeTypesManager_EnumAllFileTypes",_kwnames
,&_argo0
))
9545 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9546 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9547 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_EnumAllFileTypes. Expected _wxMimeTypesManager_p.");
9552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9553 _result
= (PyObject
*)wxMimeTypesManager_EnumAllFileTypes(_arg0
);
9555 wxPyEndAllowThreads(__tstate
);
9556 if (PyErr_Occurred()) return NULL
;
9558 _resultobj
= _result
;
9563 #define wxMimeTypesManager_AddFallback(_swigobj,_swigarg0) (_swigobj->AddFallback(_swigarg0))
9564 static PyObject
*_wrap_wxMimeTypesManager_AddFallback(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9565 PyObject
* _resultobj
;
9566 wxMimeTypesManager
* _arg0
;
9567 wxFileTypeInfo
* _arg1
;
9568 PyObject
* _argo0
= 0;
9569 PyObject
* _argo1
= 0;
9570 char *_kwnames
[] = { "self","ft", NULL
};
9573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_AddFallback",_kwnames
,&_argo0
,&_argo1
))
9576 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9577 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9578 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_AddFallback. Expected _wxMimeTypesManager_p.");
9583 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9584 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFileTypeInfo_p")) {
9585 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMimeTypesManager_AddFallback. Expected _wxFileTypeInfo_p.");
9590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9591 wxMimeTypesManager_AddFallback(_arg0
,*_arg1
);
9593 wxPyEndAllowThreads(__tstate
);
9594 if (PyErr_Occurred()) return NULL
;
9595 } Py_INCREF(Py_None
);
9596 _resultobj
= Py_None
;
9600 #define wxMimeTypesManager_Associate(_swigobj,_swigarg0) (_swigobj->Associate(_swigarg0))
9601 static PyObject
*_wrap_wxMimeTypesManager_Associate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9602 PyObject
* _resultobj
;
9603 wxFileType
* _result
;
9604 wxMimeTypesManager
* _arg0
;
9605 wxFileTypeInfo
* _arg1
;
9606 PyObject
* _argo0
= 0;
9607 PyObject
* _argo1
= 0;
9608 char *_kwnames
[] = { "self","ftInfo", NULL
};
9612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_Associate",_kwnames
,&_argo0
,&_argo1
))
9615 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9616 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9617 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_Associate. Expected _wxMimeTypesManager_p.");
9622 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9623 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFileTypeInfo_p")) {
9624 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMimeTypesManager_Associate. Expected _wxFileTypeInfo_p.");
9629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9630 _result
= (wxFileType
*)wxMimeTypesManager_Associate(_arg0
,*_arg1
);
9632 wxPyEndAllowThreads(__tstate
);
9633 if (PyErr_Occurred()) return NULL
;
9635 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileType_p");
9636 _resultobj
= Py_BuildValue("s",_ptemp
);
9639 _resultobj
= Py_None
;
9644 #define wxMimeTypesManager_Unassociate(_swigobj,_swigarg0) (_swigobj->Unassociate(_swigarg0))
9645 static PyObject
*_wrap_wxMimeTypesManager_Unassociate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9646 PyObject
* _resultobj
;
9648 wxMimeTypesManager
* _arg0
;
9650 PyObject
* _argo0
= 0;
9651 PyObject
* _argo1
= 0;
9652 char *_kwnames
[] = { "self","ft", NULL
};
9655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_Unassociate",_kwnames
,&_argo0
,&_argo1
))
9658 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9659 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9660 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_Unassociate. Expected _wxMimeTypesManager_p.");
9665 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9666 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFileType_p")) {
9667 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMimeTypesManager_Unassociate. Expected _wxFileType_p.");
9672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9673 _result
= (bool )wxMimeTypesManager_Unassociate(_arg0
,_arg1
);
9675 wxPyEndAllowThreads(__tstate
);
9676 if (PyErr_Occurred()) return NULL
;
9677 } _resultobj
= Py_BuildValue("i",_result
);
9681 #define delete_wxMimeTypesManager(_swigobj) (delete _swigobj)
9682 static PyObject
*_wrap_delete_wxMimeTypesManager(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9683 PyObject
* _resultobj
;
9684 wxMimeTypesManager
* _arg0
;
9685 PyObject
* _argo0
= 0;
9686 char *_kwnames
[] = { "self", NULL
};
9689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxMimeTypesManager",_kwnames
,&_argo0
))
9692 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9693 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9694 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxMimeTypesManager. Expected _wxMimeTypesManager_p.");
9699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9700 delete_wxMimeTypesManager(_arg0
);
9702 wxPyEndAllowThreads(__tstate
);
9703 if (PyErr_Occurred()) return NULL
;
9704 } Py_INCREF(Py_None
);
9705 _resultobj
= Py_None
;
9709 static void *SwigwxFileHistoryTowxObject(void *ptr
) {
9712 src
= (wxFileHistory
*) ptr
;
9713 dest
= (wxObject
*) src
;
9714 return (void *) dest
;
9717 #define new_wxFileHistory(_swigarg0) (new wxFileHistory(_swigarg0))
9718 static PyObject
*_wrap_new_wxFileHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9719 PyObject
* _resultobj
;
9720 wxFileHistory
* _result
;
9721 int _arg0
= (int ) 9;
9722 char *_kwnames
[] = { "maxFiles", NULL
};
9726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxFileHistory",_kwnames
,&_arg0
))
9729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9730 _result
= (wxFileHistory
*)new_wxFileHistory(_arg0
);
9732 wxPyEndAllowThreads(__tstate
);
9733 if (PyErr_Occurred()) return NULL
;
9735 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileHistory_p");
9736 _resultobj
= Py_BuildValue("s",_ptemp
);
9739 _resultobj
= Py_None
;
9744 #define delete_wxFileHistory(_swigobj) (delete _swigobj)
9745 static PyObject
*_wrap_delete_wxFileHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9746 PyObject
* _resultobj
;
9747 wxFileHistory
* _arg0
;
9748 PyObject
* _argo0
= 0;
9749 char *_kwnames
[] = { "self", NULL
};
9752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxFileHistory",_kwnames
,&_argo0
))
9755 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9756 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9757 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxFileHistory. Expected _wxFileHistory_p.");
9762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9763 delete_wxFileHistory(_arg0
);
9765 wxPyEndAllowThreads(__tstate
);
9766 if (PyErr_Occurred()) return NULL
;
9767 } Py_INCREF(Py_None
);
9768 _resultobj
= Py_None
;
9772 #define wxFileHistory_AddFileToHistory(_swigobj,_swigarg0) (_swigobj->AddFileToHistory(_swigarg0))
9773 static PyObject
*_wrap_wxFileHistory_AddFileToHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9774 PyObject
* _resultobj
;
9775 wxFileHistory
* _arg0
;
9777 PyObject
* _argo0
= 0;
9778 PyObject
* _obj1
= 0;
9779 char *_kwnames
[] = { "self","file", NULL
};
9782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileHistory_AddFileToHistory",_kwnames
,&_argo0
,&_obj1
))
9785 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9786 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9787 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_AddFileToHistory. Expected _wxFileHistory_p.");
9792 #if PYTHON_API_VERSION >= 1009
9793 char* tmpPtr
; int tmpSize
;
9794 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
9795 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9798 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
9800 _arg1
= new wxString(tmpPtr
, tmpSize
);
9802 if (!PyString_Check(_obj1
)) {
9803 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9806 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
9810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9811 wxFileHistory_AddFileToHistory(_arg0
,*_arg1
);
9813 wxPyEndAllowThreads(__tstate
);
9814 if (PyErr_Occurred()) return NULL
;
9815 } Py_INCREF(Py_None
);
9816 _resultobj
= Py_None
;
9824 #define wxFileHistory_RemoveFileFromHistory(_swigobj,_swigarg0) (_swigobj->RemoveFileFromHistory(_swigarg0))
9825 static PyObject
*_wrap_wxFileHistory_RemoveFileFromHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9826 PyObject
* _resultobj
;
9827 wxFileHistory
* _arg0
;
9829 PyObject
* _argo0
= 0;
9830 char *_kwnames
[] = { "self","i", NULL
};
9833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFileHistory_RemoveFileFromHistory",_kwnames
,&_argo0
,&_arg1
))
9836 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9837 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9838 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_RemoveFileFromHistory. Expected _wxFileHistory_p.");
9843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9844 wxFileHistory_RemoveFileFromHistory(_arg0
,_arg1
);
9846 wxPyEndAllowThreads(__tstate
);
9847 if (PyErr_Occurred()) return NULL
;
9848 } Py_INCREF(Py_None
);
9849 _resultobj
= Py_None
;
9853 #define wxFileHistory_GetMaxFiles(_swigobj) (_swigobj->GetMaxFiles())
9854 static PyObject
*_wrap_wxFileHistory_GetMaxFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9855 PyObject
* _resultobj
;
9857 wxFileHistory
* _arg0
;
9858 PyObject
* _argo0
= 0;
9859 char *_kwnames
[] = { "self", NULL
};
9862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileHistory_GetMaxFiles",_kwnames
,&_argo0
))
9865 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9866 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9867 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_GetMaxFiles. Expected _wxFileHistory_p.");
9872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9873 _result
= (int )wxFileHistory_GetMaxFiles(_arg0
);
9875 wxPyEndAllowThreads(__tstate
);
9876 if (PyErr_Occurred()) return NULL
;
9877 } _resultobj
= Py_BuildValue("i",_result
);
9881 #define wxFileHistory_UseMenu(_swigobj,_swigarg0) (_swigobj->UseMenu(_swigarg0))
9882 static PyObject
*_wrap_wxFileHistory_UseMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9883 PyObject
* _resultobj
;
9884 wxFileHistory
* _arg0
;
9886 PyObject
* _argo0
= 0;
9887 PyObject
* _argo1
= 0;
9888 char *_kwnames
[] = { "self","menu", NULL
};
9891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileHistory_UseMenu",_kwnames
,&_argo0
,&_argo1
))
9894 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9895 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9896 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_UseMenu. Expected _wxFileHistory_p.");
9901 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9902 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
9903 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFileHistory_UseMenu. Expected _wxMenu_p.");
9908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9909 wxFileHistory_UseMenu(_arg0
,_arg1
);
9911 wxPyEndAllowThreads(__tstate
);
9912 if (PyErr_Occurred()) return NULL
;
9913 } Py_INCREF(Py_None
);
9914 _resultobj
= Py_None
;
9918 #define wxFileHistory_RemoveMenu(_swigobj,_swigarg0) (_swigobj->RemoveMenu(_swigarg0))
9919 static PyObject
*_wrap_wxFileHistory_RemoveMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9920 PyObject
* _resultobj
;
9921 wxFileHistory
* _arg0
;
9923 PyObject
* _argo0
= 0;
9924 PyObject
* _argo1
= 0;
9925 char *_kwnames
[] = { "self","menu", NULL
};
9928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileHistory_RemoveMenu",_kwnames
,&_argo0
,&_argo1
))
9931 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9932 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9933 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_RemoveMenu. Expected _wxFileHistory_p.");
9938 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9939 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
9940 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFileHistory_RemoveMenu. Expected _wxMenu_p.");
9945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9946 wxFileHistory_RemoveMenu(_arg0
,_arg1
);
9948 wxPyEndAllowThreads(__tstate
);
9949 if (PyErr_Occurred()) return NULL
;
9950 } Py_INCREF(Py_None
);
9951 _resultobj
= Py_None
;
9955 #define wxFileHistory_Load(_swigobj,_swigarg0) (_swigobj->Load(_swigarg0))
9956 static PyObject
*_wrap_wxFileHistory_Load(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9957 PyObject
* _resultobj
;
9958 wxFileHistory
* _arg0
;
9959 wxConfigBase
* _arg1
;
9960 PyObject
* _argo0
= 0;
9961 PyObject
* _argo1
= 0;
9962 char *_kwnames
[] = { "self","config", NULL
};
9965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileHistory_Load",_kwnames
,&_argo0
,&_argo1
))
9968 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9969 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9970 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_Load. Expected _wxFileHistory_p.");
9975 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9976 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxConfigBase_p")) {
9977 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFileHistory_Load. Expected _wxConfigBase_p.");
9982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9983 wxFileHistory_Load(_arg0
,*_arg1
);
9985 wxPyEndAllowThreads(__tstate
);
9986 if (PyErr_Occurred()) return NULL
;
9987 } Py_INCREF(Py_None
);
9988 _resultobj
= Py_None
;
9992 #define wxFileHistory_Save(_swigobj,_swigarg0) (_swigobj->Save(_swigarg0))
9993 static PyObject
*_wrap_wxFileHistory_Save(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9994 PyObject
* _resultobj
;
9995 wxFileHistory
* _arg0
;
9996 wxConfigBase
* _arg1
;
9997 PyObject
* _argo0
= 0;
9998 PyObject
* _argo1
= 0;
9999 char *_kwnames
[] = { "self","config", NULL
};
10002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileHistory_Save",_kwnames
,&_argo0
,&_argo1
))
10005 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10006 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
10007 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_Save. Expected _wxFileHistory_p.");
10012 if (_argo1
== Py_None
) { _arg1
= NULL
; }
10013 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxConfigBase_p")) {
10014 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFileHistory_Save. Expected _wxConfigBase_p.");
10019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10020 wxFileHistory_Save(_arg0
,*_arg1
);
10022 wxPyEndAllowThreads(__tstate
);
10023 if (PyErr_Occurred()) return NULL
;
10024 } Py_INCREF(Py_None
);
10025 _resultobj
= Py_None
;
10029 #define wxFileHistory_AddFilesToMenu(_swigobj) (_swigobj->AddFilesToMenu())
10030 static PyObject
*_wrap_wxFileHistory_AddFilesToMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10031 PyObject
* _resultobj
;
10032 wxFileHistory
* _arg0
;
10033 PyObject
* _argo0
= 0;
10034 char *_kwnames
[] = { "self", NULL
};
10037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileHistory_AddFilesToMenu",_kwnames
,&_argo0
))
10040 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10041 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
10042 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_AddFilesToMenu. Expected _wxFileHistory_p.");
10047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10048 wxFileHistory_AddFilesToMenu(_arg0
);
10050 wxPyEndAllowThreads(__tstate
);
10051 if (PyErr_Occurred()) return NULL
;
10052 } Py_INCREF(Py_None
);
10053 _resultobj
= Py_None
;
10057 #define wxFileHistory_AddFilesToSingleMenu(_swigobj,_swigarg0) (_swigobj->AddFilesToMenu(_swigarg0))
10058 static PyObject
*_wrap_wxFileHistory_AddFilesToSingleMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10059 PyObject
* _resultobj
;
10060 wxFileHistory
* _arg0
;
10062 PyObject
* _argo0
= 0;
10063 PyObject
* _argo1
= 0;
10064 char *_kwnames
[] = { "self","menu", NULL
};
10067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileHistory_AddFilesToSingleMenu",_kwnames
,&_argo0
,&_argo1
))
10070 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10071 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
10072 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_AddFilesToSingleMenu. Expected _wxFileHistory_p.");
10077 if (_argo1
== Py_None
) { _arg1
= NULL
; }
10078 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
10079 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFileHistory_AddFilesToSingleMenu. Expected _wxMenu_p.");
10084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10085 wxFileHistory_AddFilesToSingleMenu(_arg0
,_arg1
);
10087 wxPyEndAllowThreads(__tstate
);
10088 if (PyErr_Occurred()) return NULL
;
10089 } Py_INCREF(Py_None
);
10090 _resultobj
= Py_None
;
10094 #define wxFileHistory_GetHistoryFile(_swigobj,_swigarg0) (_swigobj->GetHistoryFile(_swigarg0))
10095 static PyObject
*_wrap_wxFileHistory_GetHistoryFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10096 PyObject
* _resultobj
;
10097 wxString
* _result
;
10098 wxFileHistory
* _arg0
;
10100 PyObject
* _argo0
= 0;
10101 char *_kwnames
[] = { "self","i", NULL
};
10104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFileHistory_GetHistoryFile",_kwnames
,&_argo0
,&_arg1
))
10107 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10108 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
10109 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_GetHistoryFile. Expected _wxFileHistory_p.");
10114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10115 _result
= new wxString (wxFileHistory_GetHistoryFile(_arg0
,_arg1
));
10117 wxPyEndAllowThreads(__tstate
);
10118 if (PyErr_Occurred()) return NULL
;
10120 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
10128 #define wxFileHistory_GetCount(_swigobj) (_swigobj->GetCount())
10129 static PyObject
*_wrap_wxFileHistory_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10130 PyObject
* _resultobj
;
10132 wxFileHistory
* _arg0
;
10133 PyObject
* _argo0
= 0;
10134 char *_kwnames
[] = { "self", NULL
};
10137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileHistory_GetCount",_kwnames
,&_argo0
))
10140 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10141 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
10142 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_GetCount. Expected _wxFileHistory_p.");
10147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10148 _result
= (int )wxFileHistory_GetCount(_arg0
);
10150 wxPyEndAllowThreads(__tstate
);
10151 if (PyErr_Occurred()) return NULL
;
10152 } _resultobj
= Py_BuildValue("i",_result
);
10156 #define wxFileHistory_GetNoHistoryFiles(_swigobj) (_swigobj->GetNoHistoryFiles())
10157 static PyObject
*_wrap_wxFileHistory_GetNoHistoryFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10158 PyObject
* _resultobj
;
10160 wxFileHistory
* _arg0
;
10161 PyObject
* _argo0
= 0;
10162 char *_kwnames
[] = { "self", NULL
};
10165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileHistory_GetNoHistoryFiles",_kwnames
,&_argo0
))
10168 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10169 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
10170 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_GetNoHistoryFiles. Expected _wxFileHistory_p.");
10175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10176 _result
= (int )wxFileHistory_GetNoHistoryFiles(_arg0
);
10178 wxPyEndAllowThreads(__tstate
);
10179 if (PyErr_Occurred()) return NULL
;
10180 } _resultobj
= Py_BuildValue("i",_result
);
10184 static PyMethodDef misc2cMethods
[] = {
10185 { "wxFileHistory_GetNoHistoryFiles", (PyCFunction
) _wrap_wxFileHistory_GetNoHistoryFiles
, METH_VARARGS
| METH_KEYWORDS
},
10186 { "wxFileHistory_GetCount", (PyCFunction
) _wrap_wxFileHistory_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
10187 { "wxFileHistory_GetHistoryFile", (PyCFunction
) _wrap_wxFileHistory_GetHistoryFile
, METH_VARARGS
| METH_KEYWORDS
},
10188 { "wxFileHistory_AddFilesToSingleMenu", (PyCFunction
) _wrap_wxFileHistory_AddFilesToSingleMenu
, METH_VARARGS
| METH_KEYWORDS
},
10189 { "wxFileHistory_AddFilesToMenu", (PyCFunction
) _wrap_wxFileHistory_AddFilesToMenu
, METH_VARARGS
| METH_KEYWORDS
},
10190 { "wxFileHistory_Save", (PyCFunction
) _wrap_wxFileHistory_Save
, METH_VARARGS
| METH_KEYWORDS
},
10191 { "wxFileHistory_Load", (PyCFunction
) _wrap_wxFileHistory_Load
, METH_VARARGS
| METH_KEYWORDS
},
10192 { "wxFileHistory_RemoveMenu", (PyCFunction
) _wrap_wxFileHistory_RemoveMenu
, METH_VARARGS
| METH_KEYWORDS
},
10193 { "wxFileHistory_UseMenu", (PyCFunction
) _wrap_wxFileHistory_UseMenu
, METH_VARARGS
| METH_KEYWORDS
},
10194 { "wxFileHistory_GetMaxFiles", (PyCFunction
) _wrap_wxFileHistory_GetMaxFiles
, METH_VARARGS
| METH_KEYWORDS
},
10195 { "wxFileHistory_RemoveFileFromHistory", (PyCFunction
) _wrap_wxFileHistory_RemoveFileFromHistory
, METH_VARARGS
| METH_KEYWORDS
},
10196 { "wxFileHistory_AddFileToHistory", (PyCFunction
) _wrap_wxFileHistory_AddFileToHistory
, METH_VARARGS
| METH_KEYWORDS
},
10197 { "delete_wxFileHistory", (PyCFunction
) _wrap_delete_wxFileHistory
, METH_VARARGS
| METH_KEYWORDS
},
10198 { "new_wxFileHistory", (PyCFunction
) _wrap_new_wxFileHistory
, METH_VARARGS
| METH_KEYWORDS
},
10199 { "delete_wxMimeTypesManager", (PyCFunction
) _wrap_delete_wxMimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
},
10200 { "wxMimeTypesManager_Unassociate", (PyCFunction
) _wrap_wxMimeTypesManager_Unassociate
, METH_VARARGS
| METH_KEYWORDS
},
10201 { "wxMimeTypesManager_Associate", (PyCFunction
) _wrap_wxMimeTypesManager_Associate
, METH_VARARGS
| METH_KEYWORDS
},
10202 { "wxMimeTypesManager_AddFallback", (PyCFunction
) _wrap_wxMimeTypesManager_AddFallback
, METH_VARARGS
| METH_KEYWORDS
},
10203 { "wxMimeTypesManager_EnumAllFileTypes", (PyCFunction
) _wrap_wxMimeTypesManager_EnumAllFileTypes
, METH_VARARGS
| METH_KEYWORDS
},
10204 { "wxMimeTypesManager_ReadMimeTypes", (PyCFunction
) _wrap_wxMimeTypesManager_ReadMimeTypes
, METH_VARARGS
| METH_KEYWORDS
},
10205 { "wxMimeTypesManager_ReadMailcap", (PyCFunction
) _wrap_wxMimeTypesManager_ReadMailcap
, METH_VARARGS
| METH_KEYWORDS
},
10206 { "wxMimeTypesManager_GetFileTypeFromMimeType", (PyCFunction
) _wrap_wxMimeTypesManager_GetFileTypeFromMimeType
, METH_VARARGS
| METH_KEYWORDS
},
10207 { "wxMimeTypesManager_GetFileTypeFromExtension", (PyCFunction
) _wrap_wxMimeTypesManager_GetFileTypeFromExtension
, METH_VARARGS
| METH_KEYWORDS
},
10208 { "wxMimeTypesManager_ClearData", (PyCFunction
) _wrap_wxMimeTypesManager_ClearData
, METH_VARARGS
| METH_KEYWORDS
},
10209 { "wxMimeTypesManager_Initialize", (PyCFunction
) _wrap_wxMimeTypesManager_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
10210 { "new_wxMimeTypesManager", (PyCFunction
) _wrap_new_wxMimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
},
10211 { "wxMimeTypesManager_IsOfType", (PyCFunction
) _wrap_wxMimeTypesManager_IsOfType
, METH_VARARGS
| METH_KEYWORDS
},
10212 { "delete_wxFileType", (PyCFunction
) _wrap_delete_wxFileType
, METH_VARARGS
| METH_KEYWORDS
},
10213 { "wxFileType_ExpandCommand", (PyCFunction
) _wrap_wxFileType_ExpandCommand
, METH_VARARGS
| METH_KEYWORDS
},
10214 { "wxFileType_Unassociate", (PyCFunction
) _wrap_wxFileType_Unassociate
, METH_VARARGS
| METH_KEYWORDS
},
10215 { "wxFileType_SetDefaultIcon", (PyCFunction
) _wrap_wxFileType_SetDefaultIcon
, METH_VARARGS
| METH_KEYWORDS
},
10216 { "wxFileType_SetCommand", (PyCFunction
) _wrap_wxFileType_SetCommand
, METH_VARARGS
| METH_KEYWORDS
},
10217 { "wxFileType_GetAllCommands", (PyCFunction
) _wrap_wxFileType_GetAllCommands
, METH_VARARGS
| METH_KEYWORDS
},
10218 { "wxFileType_GetPrintCommand", (PyCFunction
) _wrap_wxFileType_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
},
10219 { "wxFileType_GetOpenCommand", (PyCFunction
) _wrap_wxFileType_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
},
10220 { "wxFileType_GetDescription", (PyCFunction
) _wrap_wxFileType_GetDescription
, METH_VARARGS
| METH_KEYWORDS
},
10221 { "wxFileType_GetIconInfo", (PyCFunction
) _wrap_wxFileType_GetIconInfo
, METH_VARARGS
| METH_KEYWORDS
},
10222 { "wxFileType_GetIcon", (PyCFunction
) _wrap_wxFileType_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
10223 { "wxFileType_GetExtensions", (PyCFunction
) _wrap_wxFileType_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
},
10224 { "wxFileType_GetMimeTypes", (PyCFunction
) _wrap_wxFileType_GetMimeTypes
, METH_VARARGS
| METH_KEYWORDS
},
10225 { "wxFileType_GetMimeType", (PyCFunction
) _wrap_wxFileType_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
10226 { "new_wxFileType", (PyCFunction
) _wrap_new_wxFileType
, METH_VARARGS
| METH_KEYWORDS
},
10227 { "wxFileTypeInfo_GetIconIndex", (PyCFunction
) _wrap_wxFileTypeInfo_GetIconIndex
, METH_VARARGS
| METH_KEYWORDS
},
10228 { "wxFileTypeInfo_GetIconFile", (PyCFunction
) _wrap_wxFileTypeInfo_GetIconFile
, METH_VARARGS
| METH_KEYWORDS
},
10229 { "wxFileTypeInfo_GetExtensionsCount", (PyCFunction
) _wrap_wxFileTypeInfo_GetExtensionsCount
, METH_VARARGS
| METH_KEYWORDS
},
10230 { "wxFileTypeInfo_GetExtensions", (PyCFunction
) _wrap_wxFileTypeInfo_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
},
10231 { "wxFileTypeInfo_GetDescription", (PyCFunction
) _wrap_wxFileTypeInfo_GetDescription
, METH_VARARGS
| METH_KEYWORDS
},
10232 { "wxFileTypeInfo_GetShortDesc", (PyCFunction
) _wrap_wxFileTypeInfo_GetShortDesc
, METH_VARARGS
| METH_KEYWORDS
},
10233 { "wxFileTypeInfo_GetPrintCommand", (PyCFunction
) _wrap_wxFileTypeInfo_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
},
10234 { "wxFileTypeInfo_GetOpenCommand", (PyCFunction
) _wrap_wxFileTypeInfo_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
},
10235 { "wxFileTypeInfo_GetMimeType", (PyCFunction
) _wrap_wxFileTypeInfo_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
10236 { "wxFileTypeInfo_SetShortDesc", (PyCFunction
) _wrap_wxFileTypeInfo_SetShortDesc
, METH_VARARGS
| METH_KEYWORDS
},
10237 { "wxFileTypeInfo_SetIcon", (PyCFunction
) _wrap_wxFileTypeInfo_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
10238 { "wxFileTypeInfo_IsValid", (PyCFunction
) _wrap_wxFileTypeInfo_IsValid
, METH_VARARGS
| METH_KEYWORDS
},
10239 { "new_wxNullFileTypeInfo", (PyCFunction
) _wrap_new_wxNullFileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
},
10240 { "new_wxFileTypeInfoSequence", (PyCFunction
) _wrap_new_wxFileTypeInfoSequence
, METH_VARARGS
| METH_KEYWORDS
},
10241 { "new_wxFileTypeInfo", (PyCFunction
) _wrap_new_wxFileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
},
10242 { "wxWave_Play", (PyCFunction
) _wrap_wxWave_Play
, METH_VARARGS
| METH_KEYWORDS
},
10243 { "wxWave_IsOk", (PyCFunction
) _wrap_wxWave_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
10244 { "delete_wxWave", (PyCFunction
) _wrap_delete_wxWave
, METH_VARARGS
| METH_KEYWORDS
},
10245 { "new_wxWave", (PyCFunction
) _wrap_new_wxWave
, METH_VARARGS
| METH_KEYWORDS
},
10246 { "wxJoystick_ReleaseCapture", (PyCFunction
) _wrap_wxJoystick_ReleaseCapture
, METH_VARARGS
| METH_KEYWORDS
},
10247 { "wxJoystick_SetCapture", (PyCFunction
) _wrap_wxJoystick_SetCapture
, METH_VARARGS
| METH_KEYWORDS
},
10248 { "wxJoystick_HasPOVCTS", (PyCFunction
) _wrap_wxJoystick_HasPOVCTS
, METH_VARARGS
| METH_KEYWORDS
},
10249 { "wxJoystick_HasPOV4Dir", (PyCFunction
) _wrap_wxJoystick_HasPOV4Dir
, METH_VARARGS
| METH_KEYWORDS
},
10250 { "wxJoystick_HasPOV", (PyCFunction
) _wrap_wxJoystick_HasPOV
, METH_VARARGS
| METH_KEYWORDS
},
10251 { "wxJoystick_HasV", (PyCFunction
) _wrap_wxJoystick_HasV
, METH_VARARGS
| METH_KEYWORDS
},
10252 { "wxJoystick_HasU", (PyCFunction
) _wrap_wxJoystick_HasU
, METH_VARARGS
| METH_KEYWORDS
},
10253 { "wxJoystick_HasZ", (PyCFunction
) _wrap_wxJoystick_HasZ
, METH_VARARGS
| METH_KEYWORDS
},
10254 { "wxJoystick_HasRudder", (PyCFunction
) _wrap_wxJoystick_HasRudder
, METH_VARARGS
| METH_KEYWORDS
},
10255 { "wxJoystick_GetVMax", (PyCFunction
) _wrap_wxJoystick_GetVMax
, METH_VARARGS
| METH_KEYWORDS
},
10256 { "wxJoystick_GetVMin", (PyCFunction
) _wrap_wxJoystick_GetVMin
, METH_VARARGS
| METH_KEYWORDS
},
10257 { "wxJoystick_GetUMax", (PyCFunction
) _wrap_wxJoystick_GetUMax
, METH_VARARGS
| METH_KEYWORDS
},
10258 { "wxJoystick_GetUMin", (PyCFunction
) _wrap_wxJoystick_GetUMin
, METH_VARARGS
| METH_KEYWORDS
},
10259 { "wxJoystick_GetRudderMax", (PyCFunction
) _wrap_wxJoystick_GetRudderMax
, METH_VARARGS
| METH_KEYWORDS
},
10260 { "wxJoystick_GetRudderMin", (PyCFunction
) _wrap_wxJoystick_GetRudderMin
, METH_VARARGS
| METH_KEYWORDS
},
10261 { "wxJoystick_GetPollingMax", (PyCFunction
) _wrap_wxJoystick_GetPollingMax
, METH_VARARGS
| METH_KEYWORDS
},
10262 { "wxJoystick_GetPollingMin", (PyCFunction
) _wrap_wxJoystick_GetPollingMin
, METH_VARARGS
| METH_KEYWORDS
},
10263 { "wxJoystick_GetMaxAxes", (PyCFunction
) _wrap_wxJoystick_GetMaxAxes
, METH_VARARGS
| METH_KEYWORDS
},
10264 { "wxJoystick_GetMaxButtons", (PyCFunction
) _wrap_wxJoystick_GetMaxButtons
, METH_VARARGS
| METH_KEYWORDS
},
10265 { "wxJoystick_GetNumberAxes", (PyCFunction
) _wrap_wxJoystick_GetNumberAxes
, METH_VARARGS
| METH_KEYWORDS
},
10266 { "wxJoystick_GetNumberButtons", (PyCFunction
) _wrap_wxJoystick_GetNumberButtons
, METH_VARARGS
| METH_KEYWORDS
},
10267 { "wxJoystick_GetZMax", (PyCFunction
) _wrap_wxJoystick_GetZMax
, METH_VARARGS
| METH_KEYWORDS
},
10268 { "wxJoystick_GetYMax", (PyCFunction
) _wrap_wxJoystick_GetYMax
, METH_VARARGS
| METH_KEYWORDS
},
10269 { "wxJoystick_GetXMax", (PyCFunction
) _wrap_wxJoystick_GetXMax
, METH_VARARGS
| METH_KEYWORDS
},
10270 { "wxJoystick_GetZMin", (PyCFunction
) _wrap_wxJoystick_GetZMin
, METH_VARARGS
| METH_KEYWORDS
},
10271 { "wxJoystick_GetYMin", (PyCFunction
) _wrap_wxJoystick_GetYMin
, METH_VARARGS
| METH_KEYWORDS
},
10272 { "wxJoystick_GetXMin", (PyCFunction
) _wrap_wxJoystick_GetXMin
, METH_VARARGS
| METH_KEYWORDS
},
10273 { "wxJoystick_GetProductName", (PyCFunction
) _wrap_wxJoystick_GetProductName
, METH_VARARGS
| METH_KEYWORDS
},
10274 { "wxJoystick_GetProductId", (PyCFunction
) _wrap_wxJoystick_GetProductId
, METH_VARARGS
| METH_KEYWORDS
},
10275 { "wxJoystick_GetManufacturerId", (PyCFunction
) _wrap_wxJoystick_GetManufacturerId
, METH_VARARGS
| METH_KEYWORDS
},
10276 { "wxJoystick_GetNumberJoysticks", (PyCFunction
) _wrap_wxJoystick_GetNumberJoysticks
, METH_VARARGS
| METH_KEYWORDS
},
10277 { "wxJoystick_IsOk", (PyCFunction
) _wrap_wxJoystick_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
10278 { "wxJoystick_SetMovementThreshold", (PyCFunction
) _wrap_wxJoystick_SetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
},
10279 { "wxJoystick_GetMovementThreshold", (PyCFunction
) _wrap_wxJoystick_GetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
},
10280 { "wxJoystick_GetVPosition", (PyCFunction
) _wrap_wxJoystick_GetVPosition
, METH_VARARGS
| METH_KEYWORDS
},
10281 { "wxJoystick_GetUPosition", (PyCFunction
) _wrap_wxJoystick_GetUPosition
, METH_VARARGS
| METH_KEYWORDS
},
10282 { "wxJoystick_GetRudderPosition", (PyCFunction
) _wrap_wxJoystick_GetRudderPosition
, METH_VARARGS
| METH_KEYWORDS
},
10283 { "wxJoystick_GetPOVCTSPosition", (PyCFunction
) _wrap_wxJoystick_GetPOVCTSPosition
, METH_VARARGS
| METH_KEYWORDS
},
10284 { "wxJoystick_GetPOVPosition", (PyCFunction
) _wrap_wxJoystick_GetPOVPosition
, METH_VARARGS
| METH_KEYWORDS
},
10285 { "wxJoystick_GetButtonState", (PyCFunction
) _wrap_wxJoystick_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
},
10286 { "wxJoystick_GetZPosition", (PyCFunction
) _wrap_wxJoystick_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
},
10287 { "wxJoystick_GetPosition", (PyCFunction
) _wrap_wxJoystick_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
10288 { "delete_wxJoystick", (PyCFunction
) _wrap_delete_wxJoystick
, METH_VARARGS
| METH_KEYWORDS
},
10289 { "new_wxJoystick", (PyCFunction
) _wrap_new_wxJoystick
, METH_VARARGS
| METH_KEYWORDS
},
10290 { "wxProcess_CloseOutput", (PyCFunction
) _wrap_wxProcess_CloseOutput
, METH_VARARGS
| METH_KEYWORDS
},
10291 { "wxProcess_GetOutputStream", (PyCFunction
) _wrap_wxProcess_GetOutputStream
, METH_VARARGS
| METH_KEYWORDS
},
10292 { "wxProcess_GetErrorStream", (PyCFunction
) _wrap_wxProcess_GetErrorStream
, METH_VARARGS
| METH_KEYWORDS
},
10293 { "wxProcess_GetInputStream", (PyCFunction
) _wrap_wxProcess_GetInputStream
, METH_VARARGS
| METH_KEYWORDS
},
10294 { "wxProcess_Detach", (PyCFunction
) _wrap_wxProcess_Detach
, METH_VARARGS
| METH_KEYWORDS
},
10295 { "wxProcess_IsRedirected", (PyCFunction
) _wrap_wxProcess_IsRedirected
, METH_VARARGS
| METH_KEYWORDS
},
10296 { "wxProcess_Redirect", (PyCFunction
) _wrap_wxProcess_Redirect
, METH_VARARGS
| METH_KEYWORDS
},
10297 { "wxProcess_base_OnTerminate", (PyCFunction
) _wrap_wxProcess_base_OnTerminate
, METH_VARARGS
| METH_KEYWORDS
},
10298 { "wxProcess__setCallbackInfo", (PyCFunction
) _wrap_wxProcess__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
10299 { "wxProcess_Destroy", (PyCFunction
) _wrap_wxProcess_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
10300 { "new_wxProcess", (PyCFunction
) _wrap_new_wxProcess
, METH_VARARGS
| METH_KEYWORDS
},
10301 { "wxProcessEvent_m_exitcode_get", (PyCFunction
) _wrap_wxProcessEvent_m_exitcode_get
, METH_VARARGS
| METH_KEYWORDS
},
10302 { "wxProcessEvent_m_exitcode_set", (PyCFunction
) _wrap_wxProcessEvent_m_exitcode_set
, METH_VARARGS
| METH_KEYWORDS
},
10303 { "wxProcessEvent_m_pid_get", (PyCFunction
) _wrap_wxProcessEvent_m_pid_get
, METH_VARARGS
| METH_KEYWORDS
},
10304 { "wxProcessEvent_m_pid_set", (PyCFunction
) _wrap_wxProcessEvent_m_pid_set
, METH_VARARGS
| METH_KEYWORDS
},
10305 { "wxProcessEvent_GetExitCode", (PyCFunction
) _wrap_wxProcessEvent_GetExitCode
, METH_VARARGS
| METH_KEYWORDS
},
10306 { "wxProcessEvent_GetPid", (PyCFunction
) _wrap_wxProcessEvent_GetPid
, METH_VARARGS
| METH_KEYWORDS
},
10307 { "new_wxProcessEvent", (PyCFunction
) _wrap_new_wxProcessEvent
, METH_VARARGS
| METH_KEYWORDS
},
10308 { "wxPyLog_Destroy", (PyCFunction
) _wrap_wxPyLog_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
10309 { "wxPyLog__setCallbackInfo", (PyCFunction
) _wrap_wxPyLog__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
10310 { "new_wxPyLog", (PyCFunction
) _wrap_new_wxPyLog
, METH_VARARGS
| METH_KEYWORDS
},
10311 { "wxLogChain_GetOldLog", (PyCFunction
) _wrap_wxLogChain_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
},
10312 { "wxLogChain_IsPassingMessages", (PyCFunction
) _wrap_wxLogChain_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
},
10313 { "wxLogChain_PassMessages", (PyCFunction
) _wrap_wxLogChain_PassMessages
, METH_VARARGS
| METH_KEYWORDS
},
10314 { "wxLogChain_SetLog", (PyCFunction
) _wrap_wxLogChain_SetLog
, METH_VARARGS
| METH_KEYWORDS
},
10315 { "new_wxLogChain", (PyCFunction
) _wrap_new_wxLogChain
, METH_VARARGS
| METH_KEYWORDS
},
10316 { "delete_wxLogNull", (PyCFunction
) _wrap_delete_wxLogNull
, METH_VARARGS
| METH_KEYWORDS
},
10317 { "new_wxLogNull", (PyCFunction
) _wrap_new_wxLogNull
, METH_VARARGS
| METH_KEYWORDS
},
10318 { "wxLogWindow_PassMessages", (PyCFunction
) _wrap_wxLogWindow_PassMessages
, METH_VARARGS
| METH_KEYWORDS
},
10319 { "wxLogWindow_IsPassingMessages", (PyCFunction
) _wrap_wxLogWindow_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
},
10320 { "wxLogWindow_GetOldLog", (PyCFunction
) _wrap_wxLogWindow_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
},
10321 { "wxLogWindow_GetFrame", (PyCFunction
) _wrap_wxLogWindow_GetFrame
, METH_VARARGS
| METH_KEYWORDS
},
10322 { "wxLogWindow_Show", (PyCFunction
) _wrap_wxLogWindow_Show
, METH_VARARGS
| METH_KEYWORDS
},
10323 { "new_wxLogWindow", (PyCFunction
) _wrap_new_wxLogWindow
, METH_VARARGS
| METH_KEYWORDS
},
10324 { "new_wxLogGui", (PyCFunction
) _wrap_new_wxLogGui
, METH_VARARGS
| METH_KEYWORDS
},
10325 { "new_wxLogTextCtrl", (PyCFunction
) _wrap_new_wxLogTextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
10326 { "new_wxLogStderr", (PyCFunction
) _wrap_new_wxLogStderr
, METH_VARARGS
| METH_KEYWORDS
},
10327 { "wxLog_TimeStamp", (PyCFunction
) _wrap_wxLog_TimeStamp
, METH_VARARGS
| METH_KEYWORDS
},
10328 { "wxLog_IsAllowedTraceMask", (PyCFunction
) _wrap_wxLog_IsAllowedTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
10329 { "wxLog_GetTraceMask", (PyCFunction
) _wrap_wxLog_GetTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
10330 { "wxLog_GetVerbose", (PyCFunction
) _wrap_wxLog_GetVerbose
, METH_VARARGS
| METH_KEYWORDS
},
10331 { "wxLog_GetTimestamp", (PyCFunction
) _wrap_wxLog_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
10332 { "wxLog_SetTimestamp", (PyCFunction
) _wrap_wxLog_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
10333 { "wxLog_ClearTraceMasks", (PyCFunction
) _wrap_wxLog_ClearTraceMasks
, METH_VARARGS
| METH_KEYWORDS
},
10334 { "wxLog_RemoveTraceMask", (PyCFunction
) _wrap_wxLog_RemoveTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
10335 { "wxLog_AddTraceMask", (PyCFunction
) _wrap_wxLog_AddTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
10336 { "wxLog_SetTraceMask", (PyCFunction
) _wrap_wxLog_SetTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
10337 { "wxLog_DontCreateOnDemand", (PyCFunction
) _wrap_wxLog_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
},
10338 { "wxLog_SetVerbose", (PyCFunction
) _wrap_wxLog_SetVerbose
, METH_VARARGS
| METH_KEYWORDS
},
10339 { "wxLog_Resume", (PyCFunction
) _wrap_wxLog_Resume
, METH_VARARGS
| METH_KEYWORDS
},
10340 { "wxLog_Suspend", (PyCFunction
) _wrap_wxLog_Suspend
, METH_VARARGS
| METH_KEYWORDS
},
10341 { "wxLog_SetActiveTarget", (PyCFunction
) _wrap_wxLog_SetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
},
10342 { "wxLog_GetActiveTarget", (PyCFunction
) _wrap_wxLog_GetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
},
10343 { "wxLog_FlushActive", (PyCFunction
) _wrap_wxLog_FlushActive
, METH_VARARGS
| METH_KEYWORDS
},
10344 { "wxLog_HasPendingMessages", (PyCFunction
) _wrap_wxLog_HasPendingMessages
, METH_VARARGS
| METH_KEYWORDS
},
10345 { "wxLog_Flush", (PyCFunction
) _wrap_wxLog_Flush
, METH_VARARGS
| METH_KEYWORDS
},
10346 { "wxLog_OnLog", (PyCFunction
) _wrap_wxLog_OnLog
, METH_VARARGS
| METH_KEYWORDS
},
10347 { "wxLog_EnableLogging", (PyCFunction
) _wrap_wxLog_EnableLogging
, METH_VARARGS
| METH_KEYWORDS
},
10348 { "wxLog_IsEnabled", (PyCFunction
) _wrap_wxLog_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
10349 { "new_wxLog", (PyCFunction
) _wrap_new_wxLog
, METH_VARARGS
| METH_KEYWORDS
},
10350 { "wxStopWatch_Time", (PyCFunction
) _wrap_wxStopWatch_Time
, METH_VARARGS
| METH_KEYWORDS
},
10351 { "wxStopWatch_Resume", (PyCFunction
) _wrap_wxStopWatch_Resume
, METH_VARARGS
| METH_KEYWORDS
},
10352 { "wxStopWatch_Pause", (PyCFunction
) _wrap_wxStopWatch_Pause
, METH_VARARGS
| METH_KEYWORDS
},
10353 { "wxStopWatch_Start", (PyCFunction
) _wrap_wxStopWatch_Start
, METH_VARARGS
| METH_KEYWORDS
},
10354 { "delete_wxStopWatch", (PyCFunction
) _wrap_delete_wxStopWatch
, METH_VARARGS
| METH_KEYWORDS
},
10355 { "new_wxStopWatch", (PyCFunction
) _wrap_new_wxStopWatch
, METH_VARARGS
| METH_KEYWORDS
},
10356 { "wxPyTimer_Stop", (PyCFunction
) _wrap_wxPyTimer_Stop
, METH_VARARGS
| METH_KEYWORDS
},
10357 { "wxPyTimer_Start", (PyCFunction
) _wrap_wxPyTimer_Start
, METH_VARARGS
| METH_KEYWORDS
},
10358 { "wxPyTimer_SetOwner", (PyCFunction
) _wrap_wxPyTimer_SetOwner
, METH_VARARGS
| METH_KEYWORDS
},
10359 { "wxPyTimer_IsRunning", (PyCFunction
) _wrap_wxPyTimer_IsRunning
, METH_VARARGS
| METH_KEYWORDS
},
10360 { "wxPyTimer_IsOneShot", (PyCFunction
) _wrap_wxPyTimer_IsOneShot
, METH_VARARGS
| METH_KEYWORDS
},
10361 { "wxPyTimer_GetInterval", (PyCFunction
) _wrap_wxPyTimer_GetInterval
, METH_VARARGS
| METH_KEYWORDS
},
10362 { "delete_wxPyTimer", (PyCFunction
) _wrap_delete_wxPyTimer
, METH_VARARGS
| METH_KEYWORDS
},
10363 { "new_wxPyTimer", (PyCFunction
) _wrap_new_wxPyTimer
, METH_VARARGS
| METH_KEYWORDS
},
10364 { "wxDragImage_RedrawImage", (PyCFunction
) _wrap_wxDragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
},
10365 { "wxDragImage_GetImageRect", (PyCFunction
) _wrap_wxDragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
},
10366 { "wxDragImage_Hide", (PyCFunction
) _wrap_wxDragImage_Hide
, METH_VARARGS
| METH_KEYWORDS
},
10367 { "wxDragImage_Show", (PyCFunction
) _wrap_wxDragImage_Show
, METH_VARARGS
| METH_KEYWORDS
},
10368 { "wxDragImage_Move", (PyCFunction
) _wrap_wxDragImage_Move
, METH_VARARGS
| METH_KEYWORDS
},
10369 { "wxDragImage_EndDrag", (PyCFunction
) _wrap_wxDragImage_EndDrag
, METH_VARARGS
| METH_KEYWORDS
},
10370 { "wxDragImage_BeginDrag2", (PyCFunction
) _wrap_wxDragImage_BeginDrag2
, METH_VARARGS
| METH_KEYWORDS
},
10371 { "wxDragImage_BeginDrag", (PyCFunction
) _wrap_wxDragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
},
10372 { "wxDragImage_SetBackingBitmap", (PyCFunction
) _wrap_wxDragImage_SetBackingBitmap
, METH_VARARGS
| METH_KEYWORDS
},
10373 { "delete_wxDragImage", (PyCFunction
) _wrap_delete_wxDragImage
, METH_VARARGS
| METH_KEYWORDS
},
10374 { "new_wxDragListItem", (PyCFunction
) _wrap_new_wxDragListItem
, METH_VARARGS
| METH_KEYWORDS
},
10375 { "new_wxDragTreeItem", (PyCFunction
) _wrap_new_wxDragTreeItem
, METH_VARARGS
| METH_KEYWORDS
},
10376 { "new_wxDragString", (PyCFunction
) _wrap_new_wxDragString
, METH_VARARGS
| METH_KEYWORDS
},
10377 { "new_wxDragIcon", (PyCFunction
) _wrap_new_wxDragIcon
, METH_VARARGS
| METH_KEYWORDS
},
10378 { "new_wxDragImage", (PyCFunction
) _wrap_new_wxDragImage
, METH_VARARGS
| METH_KEYWORDS
},
10379 { "new_wxPyTipProvider", (PyCFunction
) _wrap_new_wxPyTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
10380 { "wxTipProvider_GetCurrentTip", (PyCFunction
) _wrap_wxTipProvider_GetCurrentTip
, METH_VARARGS
| METH_KEYWORDS
},
10381 { "wxTipProvider_GetTip", (PyCFunction
) _wrap_wxTipProvider_GetTip
, METH_VARARGS
| METH_KEYWORDS
},
10382 { "delete_wxTipProvider", (PyCFunction
) _wrap_delete_wxTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
10383 { "delete_wxMutexGuiLocker", (PyCFunction
) _wrap_delete_wxMutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
},
10384 { "new_wxMutexGuiLocker", (PyCFunction
) _wrap_new_wxMutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
},
10385 { "delete_wxWindowDisabler", (PyCFunction
) _wrap_delete_wxWindowDisabler
, METH_VARARGS
| METH_KEYWORDS
},
10386 { "new_wxWindowDisabler", (PyCFunction
) _wrap_new_wxWindowDisabler
, METH_VARARGS
| METH_KEYWORDS
},
10387 { "delete_wxBusyCursor", (PyCFunction
) _wrap_delete_wxBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
10388 { "new_wxBusyCursor", (PyCFunction
) _wrap_new_wxBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
10389 { "wxFontEnumerator_GetFacenames", (PyCFunction
) _wrap_wxFontEnumerator_GetFacenames
, METH_VARARGS
| METH_KEYWORDS
},
10390 { "wxFontEnumerator_GetEncodings", (PyCFunction
) _wrap_wxFontEnumerator_GetEncodings
, METH_VARARGS
| METH_KEYWORDS
},
10391 { "wxFontEnumerator_EnumerateEncodings", (PyCFunction
) _wrap_wxFontEnumerator_EnumerateEncodings
, METH_VARARGS
| METH_KEYWORDS
},
10392 { "wxFontEnumerator_EnumerateFacenames", (PyCFunction
) _wrap_wxFontEnumerator_EnumerateFacenames
, METH_VARARGS
| METH_KEYWORDS
},
10393 { "wxFontEnumerator__setCallbackInfo", (PyCFunction
) _wrap_wxFontEnumerator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
10394 { "delete_wxFontEnumerator", (PyCFunction
) _wrap_delete_wxFontEnumerator
, METH_VARARGS
| METH_KEYWORDS
},
10395 { "new_wxFontEnumerator", (PyCFunction
) _wrap_new_wxFontEnumerator
, METH_VARARGS
| METH_KEYWORDS
},
10396 { "wxCaret_Hide", (PyCFunction
) _wrap_wxCaret_Hide
, METH_VARARGS
| METH_KEYWORDS
},
10397 { "wxCaret_Show", (PyCFunction
) _wrap_wxCaret_Show
, METH_VARARGS
| METH_KEYWORDS
},
10398 { "wxCaret_SetSize", (PyCFunction
) _wrap_wxCaret_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
10399 { "wxCaret_SetSizeWH", (PyCFunction
) _wrap_wxCaret_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
10400 { "wxCaret_Move", (PyCFunction
) _wrap_wxCaret_Move
, METH_VARARGS
| METH_KEYWORDS
},
10401 { "wxCaret_MoveXY", (PyCFunction
) _wrap_wxCaret_MoveXY
, METH_VARARGS
| METH_KEYWORDS
},
10402 { "wxCaret_GetWindow", (PyCFunction
) _wrap_wxCaret_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
10403 { "wxCaret_GetSize", (PyCFunction
) _wrap_wxCaret_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
10404 { "wxCaret_GetSizeTuple", (PyCFunction
) _wrap_wxCaret_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
10405 { "wxCaret_GetPosition", (PyCFunction
) _wrap_wxCaret_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
10406 { "wxCaret_GetPositionTuple", (PyCFunction
) _wrap_wxCaret_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
10407 { "wxCaret_IsVisible", (PyCFunction
) _wrap_wxCaret_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
10408 { "wxCaret_IsOk", (PyCFunction
) _wrap_wxCaret_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
10409 { "delete_wxCaret", (PyCFunction
) _wrap_delete_wxCaret
, METH_VARARGS
| METH_KEYWORDS
},
10410 { "new_wxCaret", (PyCFunction
) _wrap_new_wxCaret
, METH_VARARGS
| METH_KEYWORDS
},
10411 { "wxToolTip_SetDelay", (PyCFunction
) _wrap_wxToolTip_SetDelay
, METH_VARARGS
| METH_KEYWORDS
},
10412 { "wxToolTip_Enable", (PyCFunction
) _wrap_wxToolTip_Enable
, METH_VARARGS
| METH_KEYWORDS
},
10413 { "wxToolTip_GetWindow", (PyCFunction
) _wrap_wxToolTip_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
10414 { "wxToolTip_GetTip", (PyCFunction
) _wrap_wxToolTip_GetTip
, METH_VARARGS
| METH_KEYWORDS
},
10415 { "wxToolTip_SetTip", (PyCFunction
) _wrap_wxToolTip_SetTip
, METH_VARARGS
| METH_KEYWORDS
},
10416 { "new_wxToolTip", (PyCFunction
) _wrap_new_wxToolTip
, METH_VARARGS
| METH_KEYWORDS
},
10417 { "wxSystemSettings_HasFeature", (PyCFunction
) _wrap_wxSystemSettings_HasFeature
, METH_VARARGS
| METH_KEYWORDS
},
10418 { "wxSystemSettings_GetMetric", (PyCFunction
) _wrap_wxSystemSettings_GetMetric
, METH_VARARGS
| METH_KEYWORDS
},
10419 { "wxSystemSettings_GetFont", (PyCFunction
) _wrap_wxSystemSettings_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
10420 { "wxSystemSettings_GetColour", (PyCFunction
) _wrap_wxSystemSettings_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
10421 { "wxWaveData", (PyCFunction
) _wrap_wxWaveData
, METH_VARARGS
| METH_KEYWORDS
},
10422 { "wxExecute", (PyCFunction
) _wrap_wxExecute
, METH_VARARGS
| METH_KEYWORDS
},
10423 { "wxLogSysError", (PyCFunction
) _wrap_wxLogSysError
, METH_VARARGS
| METH_KEYWORDS
},
10424 { "wxLogStatusFrame", (PyCFunction
) _wrap_wxLogStatusFrame
, METH_VARARGS
| METH_KEYWORDS
},
10425 { "wxLogStatus", (PyCFunction
) _wrap_wxLogStatus
, METH_VARARGS
| METH_KEYWORDS
},
10426 { "wxLogVerbose", (PyCFunction
) _wrap_wxLogVerbose
, METH_VARARGS
| METH_KEYWORDS
},
10427 { "wxLogInfo", (PyCFunction
) _wrap_wxLogInfo
, METH_VARARGS
| METH_KEYWORDS
},
10428 { "wxLogMessage", (PyCFunction
) _wrap_wxLogMessage
, METH_VARARGS
| METH_KEYWORDS
},
10429 { "wxLogWarning", (PyCFunction
) _wrap_wxLogWarning
, METH_VARARGS
| METH_KEYWORDS
},
10430 { "wxLogError", (PyCFunction
) _wrap_wxLogError
, METH_VARARGS
| METH_KEYWORDS
},
10431 { "wxLogFatalError", (PyCFunction
) _wrap_wxLogFatalError
, METH_VARARGS
| METH_KEYWORDS
},
10432 { "wxSysErrorMsg", (PyCFunction
) _wrap_wxSysErrorMsg
, METH_VARARGS
| METH_KEYWORDS
},
10433 { "wxSysErrorCode", (PyCFunction
) _wrap_wxSysErrorCode
, METH_VARARGS
| METH_KEYWORDS
},
10434 { "wxCreateFileTipProvider", (PyCFunction
) _wrap_wxCreateFileTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
10435 { "wxShowTip", (PyCFunction
) _wrap_wxShowTip
, METH_VARARGS
| METH_KEYWORDS
},
10436 { "wxThread_IsMain", (PyCFunction
) _wrap_wxThread_IsMain
, METH_VARARGS
| METH_KEYWORDS
},
10437 { "wxMutexGuiLeave", (PyCFunction
) _wrap_wxMutexGuiLeave
, METH_VARARGS
| METH_KEYWORDS
},
10438 { "wxMutexGuiEnter", (PyCFunction
) _wrap_wxMutexGuiEnter
, METH_VARARGS
| METH_KEYWORDS
},
10439 { "wxWakeUpMainThread", (PyCFunction
) _wrap_wxWakeUpMainThread
, METH_VARARGS
| METH_KEYWORDS
},
10440 { "wxWakeUpIdle", (PyCFunction
) _wrap_wxWakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
},
10441 { "wxPostEvent", (PyCFunction
) _wrap_wxPostEvent
, METH_VARARGS
| METH_KEYWORDS
},
10442 { "wxSafeYield", (PyCFunction
) _wrap_wxSafeYield
, METH_VARARGS
| METH_KEYWORDS
},
10443 { "wxCaret_SetBlinkTime", (PyCFunction
) _wrap_wxCaret_SetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
},
10444 { "wxCaret_GetBlinkTime", (PyCFunction
) _wrap_wxCaret_GetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
},
10445 { "wxResourceParseString", (PyCFunction
) _wrap_wxResourceParseString
, METH_VARARGS
| METH_KEYWORDS
},
10446 { "wxResourceParseFile", (PyCFunction
) _wrap_wxResourceParseFile
, METH_VARARGS
| METH_KEYWORDS
},
10447 { "wxResourceParseData", (PyCFunction
) _wrap_wxResourceParseData
, METH_VARARGS
| METH_KEYWORDS
},
10448 { "wxResourceGetIdentifier", (PyCFunction
) _wrap_wxResourceGetIdentifier
, METH_VARARGS
| METH_KEYWORDS
},
10449 { "wxResourceCreateMenuBar", (PyCFunction
) _wrap_wxResourceCreateMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
10450 { "wxResourceCreateIcon", (PyCFunction
) _wrap_wxResourceCreateIcon
, METH_VARARGS
| METH_KEYWORDS
},
10451 { "wxResourceCreateBitmap", (PyCFunction
) _wrap_wxResourceCreateBitmap
, METH_VARARGS
| METH_KEYWORDS
},
10452 { "wxResourceClear", (PyCFunction
) _wrap_wxResourceClear
, METH_VARARGS
| METH_KEYWORDS
},
10453 { "wxResourceAddIdentifier", (PyCFunction
) _wrap_wxResourceAddIdentifier
, METH_VARARGS
| METH_KEYWORDS
},
10454 { "wxFlushEvents", (PyCFunction
) _wrap_wxFlushEvents
, METH_VARARGS
| METH_KEYWORDS
},
10455 { "wxCheckForInterrupt", (PyCFunction
) _wrap_wxCheckForInterrupt
, METH_VARARGS
| METH_KEYWORDS
},
10456 { "wxFindWindowAtPoint", (PyCFunction
) _wrap_wxFindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
},
10457 { "wxGenericFindWindowAtPoint", (PyCFunction
) _wrap_wxGenericFindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
},
10458 { "wxGetActiveWindow", (PyCFunction
) _wrap_wxGetActiveWindow
, METH_VARARGS
| METH_KEYWORDS
},
10459 { "wxBeginBusyCursor", (PyCFunction
) _wrap_wxBeginBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
10460 { "wxFindWindowByName", (PyCFunction
) _wrap_wxFindWindowByName
, METH_VARARGS
| METH_KEYWORDS
},
10461 { "wxFindWindowByLabel", (PyCFunction
) _wrap_wxFindWindowByLabel
, METH_VARARGS
| METH_KEYWORDS
},
10462 { "wxSetCursor", (PyCFunction
) _wrap_wxSetCursor
, METH_VARARGS
| METH_KEYWORDS
},
10463 { "wxGetClientDisplayRect", (PyCFunction
) _wrap_wxGetClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
},
10464 { "wxClientDisplayRect", (PyCFunction
) _wrap_wxClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
},
10465 { "wxGetDisplaySizeMM", (PyCFunction
) _wrap_wxGetDisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
},
10466 { "wxDisplaySizeMM", (PyCFunction
) _wrap_wxDisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
},
10467 { "wxGetDisplaySize", (PyCFunction
) _wrap_wxGetDisplaySize
, METH_VARARGS
| METH_KEYWORDS
},
10468 { "wxDisplaySize", (PyCFunction
) _wrap_wxDisplaySize
, METH_VARARGS
| METH_KEYWORDS
},
10469 { "wxGetDisplayDepth", (PyCFunction
) _wrap_wxGetDisplayDepth
, METH_VARARGS
| METH_KEYWORDS
},
10470 { "wxDisplayDepth", (PyCFunction
) _wrap_wxDisplayDepth
, METH_VARARGS
| METH_KEYWORDS
},
10471 { "wxColourDisplay", (PyCFunction
) _wrap_wxColourDisplay
, METH_VARARGS
| METH_KEYWORDS
},
10472 { "wxGetNumberFromUser", (PyCFunction
) _wrap_wxGetNumberFromUser
, METH_VARARGS
| METH_KEYWORDS
},
10473 { "wxMessageBox", (PyCFunction
) _wrap_wxMessageBox
, METH_VARARGS
| METH_KEYWORDS
},
10474 { "wxGetSingleChoiceIndex", (PyCFunction
) _wrap_wxGetSingleChoiceIndex
, METH_VARARGS
| METH_KEYWORDS
},
10475 { "wxGetSingleChoice", (PyCFunction
) _wrap_wxGetSingleChoice
, METH_VARARGS
| METH_KEYWORDS
},
10476 { "wxGetPasswordFromUser", (PyCFunction
) _wrap_wxGetPasswordFromUser
, METH_VARARGS
| METH_KEYWORDS
},
10477 { "wxGetTextFromUser", (PyCFunction
) _wrap_wxGetTextFromUser
, METH_VARARGS
| METH_KEYWORDS
},
10478 { "wxFileSelector", (PyCFunction
) _wrap_wxFileSelector
, METH_VARARGS
| METH_KEYWORDS
},
10485 * This table is used by the pointer type-checker
10487 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
10488 { "_wxEvent","_wxProcessEvent",SwigwxProcessEventTowxEvent
},
10489 { "_signed_long","_long",0},
10490 { "_wxPrintQuality","_wxCoord",0},
10491 { "_wxPrintQuality","_int",0},
10492 { "_wxPrintQuality","_signed_int",0},
10493 { "_wxPrintQuality","_unsigned_int",0},
10494 { "_wxPrintQuality","_wxWindowID",0},
10495 { "_wxPrintQuality","_uint",0},
10496 { "_wxPrintQuality","_EBool",0},
10497 { "_wxPrintQuality","_size_t",0},
10498 { "_wxPrintQuality","_time_t",0},
10499 { "_wxLog","_wxPyLog",SwigwxPyLogTowxLog
},
10500 { "_wxLog","_wxLogChain",SwigwxLogChainTowxLog
},
10501 { "_wxLog","_wxLogWindow",SwigwxLogWindowTowxLog
},
10502 { "_wxLog","_wxLogGui",SwigwxLogGuiTowxLog
},
10503 { "_wxLog","_wxLogTextCtrl",SwigwxLogTextCtrlTowxLog
},
10504 { "_wxLog","_wxLogStderr",SwigwxLogStderrTowxLog
},
10505 { "_byte","_unsigned_char",0},
10506 { "_long","_unsigned_long",0},
10507 { "_long","_signed_long",0},
10508 { "_size_t","_wxCoord",0},
10509 { "_size_t","_wxPrintQuality",0},
10510 { "_size_t","_time_t",0},
10511 { "_size_t","_unsigned_int",0},
10512 { "_size_t","_int",0},
10513 { "_size_t","_wxWindowID",0},
10514 { "_size_t","_uint",0},
10515 { "_uint","_wxCoord",0},
10516 { "_uint","_wxPrintQuality",0},
10517 { "_uint","_time_t",0},
10518 { "_uint","_size_t",0},
10519 { "_uint","_unsigned_int",0},
10520 { "_uint","_int",0},
10521 { "_uint","_wxWindowID",0},
10522 { "_wxChar","_char",0},
10523 { "_char","_wxChar",0},
10524 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
10525 { "_EBool","_wxCoord",0},
10526 { "_EBool","_wxPrintQuality",0},
10527 { "_EBool","_signed_int",0},
10528 { "_EBool","_int",0},
10529 { "_EBool","_wxWindowID",0},
10530 { "_unsigned_long","_long",0},
10531 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
10532 { "_signed_int","_wxCoord",0},
10533 { "_signed_int","_wxPrintQuality",0},
10534 { "_signed_int","_EBool",0},
10535 { "_signed_int","_wxWindowID",0},
10536 { "_signed_int","_int",0},
10537 { "_WXTYPE","_wxDateTime_t",0},
10538 { "_WXTYPE","_short",0},
10539 { "_WXTYPE","_signed_short",0},
10540 { "_WXTYPE","_unsigned_short",0},
10541 { "_wxTipProvider","_wxPyTipProvider",SwigwxPyTipProviderTowxTipProvider
},
10542 { "_unsigned_short","_wxDateTime_t",0},
10543 { "_unsigned_short","_WXTYPE",0},
10544 { "_unsigned_short","_short",0},
10545 { "_wxObject","_wxFileHistory",SwigwxFileHistoryTowxObject
},
10546 { "_wxObject","_wxWave",SwigwxWaveTowxObject
},
10547 { "_wxObject","_wxJoystick",SwigwxJoystickTowxObject
},
10548 { "_wxObject","_wxPyProcess",SwigwxPyProcessTowxObject
},
10549 { "_wxObject","_wxProcessEvent",SwigwxProcessEventTowxObject
},
10550 { "_wxObject","_wxPyTimer",SwigwxPyTimerTowxObject
},
10551 { "_wxObject","_wxGenericDragImage",SwigwxGenericDragImageTowxObject
},
10552 { "_wxObject","_wxToolTip",SwigwxToolTipTowxObject
},
10553 { "_signed_short","_WXTYPE",0},
10554 { "_signed_short","_short",0},
10555 { "_unsigned_char","_byte",0},
10556 { "_unsigned_int","_wxCoord",0},
10557 { "_unsigned_int","_wxPrintQuality",0},
10558 { "_unsigned_int","_time_t",0},
10559 { "_unsigned_int","_size_t",0},
10560 { "_unsigned_int","_uint",0},
10561 { "_unsigned_int","_wxWindowID",0},
10562 { "_unsigned_int","_int",0},
10563 { "_short","_wxDateTime_t",0},
10564 { "_short","_WXTYPE",0},
10565 { "_short","_unsigned_short",0},
10566 { "_short","_signed_short",0},
10567 { "_wxWindowID","_wxCoord",0},
10568 { "_wxWindowID","_wxPrintQuality",0},
10569 { "_wxWindowID","_time_t",0},
10570 { "_wxWindowID","_size_t",0},
10571 { "_wxWindowID","_EBool",0},
10572 { "_wxWindowID","_uint",0},
10573 { "_wxWindowID","_int",0},
10574 { "_wxWindowID","_signed_int",0},
10575 { "_wxWindowID","_unsigned_int",0},
10576 { "_int","_wxCoord",0},
10577 { "_int","_wxPrintQuality",0},
10578 { "_int","_time_t",0},
10579 { "_int","_size_t",0},
10580 { "_int","_EBool",0},
10581 { "_int","_uint",0},
10582 { "_int","_wxWindowID",0},
10583 { "_int","_unsigned_int",0},
10584 { "_int","_signed_int",0},
10585 { "_wxDateTime_t","_unsigned_short",0},
10586 { "_wxDateTime_t","_short",0},
10587 { "_wxDateTime_t","_WXTYPE",0},
10588 { "_time_t","_wxCoord",0},
10589 { "_time_t","_wxPrintQuality",0},
10590 { "_time_t","_unsigned_int",0},
10591 { "_time_t","_int",0},
10592 { "_time_t","_wxWindowID",0},
10593 { "_time_t","_uint",0},
10594 { "_time_t","_size_t",0},
10595 { "_wxCoord","_int",0},
10596 { "_wxCoord","_signed_int",0},
10597 { "_wxCoord","_unsigned_int",0},
10598 { "_wxCoord","_wxWindowID",0},
10599 { "_wxCoord","_uint",0},
10600 { "_wxCoord","_EBool",0},
10601 { "_wxCoord","_size_t",0},
10602 { "_wxCoord","_time_t",0},
10603 { "_wxCoord","_wxPrintQuality",0},
10604 { "_wxEvtHandler","_wxPyProcess",SwigwxPyProcessTowxEvtHandler
},
10607 static PyObject
*SWIG_globals
;
10611 SWIGEXPORT(void) initmisc2c() {
10613 SWIG_globals
= SWIG_newvarlink();
10614 m
= Py_InitModule("misc2c", misc2cMethods
);
10615 d
= PyModule_GetDict(m
);
10616 PyDict_SetItemString(d
,"wxSYS_OEM_FIXED_FONT", PyInt_FromLong((long) wxSYS_OEM_FIXED_FONT
));
10617 PyDict_SetItemString(d
,"wxSYS_ANSI_FIXED_FONT", PyInt_FromLong((long) wxSYS_ANSI_FIXED_FONT
));
10618 PyDict_SetItemString(d
,"wxSYS_ANSI_VAR_FONT", PyInt_FromLong((long) wxSYS_ANSI_VAR_FONT
));
10619 PyDict_SetItemString(d
,"wxSYS_SYSTEM_FONT", PyInt_FromLong((long) wxSYS_SYSTEM_FONT
));
10620 PyDict_SetItemString(d
,"wxSYS_DEVICE_DEFAULT_FONT", PyInt_FromLong((long) wxSYS_DEVICE_DEFAULT_FONT
));
10621 PyDict_SetItemString(d
,"wxSYS_DEFAULT_PALETTE", PyInt_FromLong((long) wxSYS_DEFAULT_PALETTE
));
10622 PyDict_SetItemString(d
,"wxSYS_SYSTEM_FIXED_FONT", PyInt_FromLong((long) wxSYS_SYSTEM_FIXED_FONT
));
10623 PyDict_SetItemString(d
,"wxSYS_DEFAULT_GUI_FONT", PyInt_FromLong((long) wxSYS_DEFAULT_GUI_FONT
));
10624 PyDict_SetItemString(d
,"wxSYS_COLOUR_SCROLLBAR", PyInt_FromLong((long) wxSYS_COLOUR_SCROLLBAR
));
10625 PyDict_SetItemString(d
,"wxSYS_COLOUR_BACKGROUND", PyInt_FromLong((long) wxSYS_COLOUR_BACKGROUND
));
10626 PyDict_SetItemString(d
,"wxSYS_COLOUR_DESKTOP", PyInt_FromLong((long) wxSYS_COLOUR_DESKTOP
));
10627 PyDict_SetItemString(d
,"wxSYS_COLOUR_ACTIVECAPTION", PyInt_FromLong((long) wxSYS_COLOUR_ACTIVECAPTION
));
10628 PyDict_SetItemString(d
,"wxSYS_COLOUR_INACTIVECAPTION", PyInt_FromLong((long) wxSYS_COLOUR_INACTIVECAPTION
));
10629 PyDict_SetItemString(d
,"wxSYS_COLOUR_MENU", PyInt_FromLong((long) wxSYS_COLOUR_MENU
));
10630 PyDict_SetItemString(d
,"wxSYS_COLOUR_WINDOW", PyInt_FromLong((long) wxSYS_COLOUR_WINDOW
));
10631 PyDict_SetItemString(d
,"wxSYS_COLOUR_WINDOWFRAME", PyInt_FromLong((long) wxSYS_COLOUR_WINDOWFRAME
));
10632 PyDict_SetItemString(d
,"wxSYS_COLOUR_MENUTEXT", PyInt_FromLong((long) wxSYS_COLOUR_MENUTEXT
));
10633 PyDict_SetItemString(d
,"wxSYS_COLOUR_WINDOWTEXT", PyInt_FromLong((long) wxSYS_COLOUR_WINDOWTEXT
));
10634 PyDict_SetItemString(d
,"wxSYS_COLOUR_CAPTIONTEXT", PyInt_FromLong((long) wxSYS_COLOUR_CAPTIONTEXT
));
10635 PyDict_SetItemString(d
,"wxSYS_COLOUR_ACTIVEBORDER", PyInt_FromLong((long) wxSYS_COLOUR_ACTIVEBORDER
));
10636 PyDict_SetItemString(d
,"wxSYS_COLOUR_INACTIVEBORDER", PyInt_FromLong((long) wxSYS_COLOUR_INACTIVEBORDER
));
10637 PyDict_SetItemString(d
,"wxSYS_COLOUR_APPWORKSPACE", PyInt_FromLong((long) wxSYS_COLOUR_APPWORKSPACE
));
10638 PyDict_SetItemString(d
,"wxSYS_COLOUR_HIGHLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_HIGHLIGHT
));
10639 PyDict_SetItemString(d
,"wxSYS_COLOUR_HIGHLIGHTTEXT", PyInt_FromLong((long) wxSYS_COLOUR_HIGHLIGHTTEXT
));
10640 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNFACE", PyInt_FromLong((long) wxSYS_COLOUR_BTNFACE
));
10641 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DFACE", PyInt_FromLong((long) wxSYS_COLOUR_3DFACE
));
10642 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNSHADOW", PyInt_FromLong((long) wxSYS_COLOUR_BTNSHADOW
));
10643 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DSHADOW", PyInt_FromLong((long) wxSYS_COLOUR_3DSHADOW
));
10644 PyDict_SetItemString(d
,"wxSYS_COLOUR_GRAYTEXT", PyInt_FromLong((long) wxSYS_COLOUR_GRAYTEXT
));
10645 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNTEXT", PyInt_FromLong((long) wxSYS_COLOUR_BTNTEXT
));
10646 PyDict_SetItemString(d
,"wxSYS_COLOUR_INACTIVECAPTIONTEXT", PyInt_FromLong((long) wxSYS_COLOUR_INACTIVECAPTIONTEXT
));
10647 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNHIGHLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_BTNHIGHLIGHT
));
10648 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNHILIGHT", PyInt_FromLong((long) wxSYS_COLOUR_BTNHILIGHT
));
10649 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DHIGHLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_3DHIGHLIGHT
));
10650 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DHILIGHT", PyInt_FromLong((long) wxSYS_COLOUR_3DHILIGHT
));
10651 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DDKSHADOW", PyInt_FromLong((long) wxSYS_COLOUR_3DDKSHADOW
));
10652 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_3DLIGHT
));
10653 PyDict_SetItemString(d
,"wxSYS_COLOUR_INFOTEXT", PyInt_FromLong((long) wxSYS_COLOUR_INFOTEXT
));
10654 PyDict_SetItemString(d
,"wxSYS_COLOUR_INFOBK", PyInt_FromLong((long) wxSYS_COLOUR_INFOBK
));
10655 PyDict_SetItemString(d
,"wxSYS_COLOUR_LISTBOX", PyInt_FromLong((long) wxSYS_COLOUR_LISTBOX
));
10656 PyDict_SetItemString(d
,"wxSYS_COLOUR_HOTLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_HOTLIGHT
));
10657 PyDict_SetItemString(d
,"wxSYS_COLOUR_GRADIENTACTIVECAPTION", PyInt_FromLong((long) wxSYS_COLOUR_GRADIENTACTIVECAPTION
));
10658 PyDict_SetItemString(d
,"wxSYS_COLOUR_GRADIENTINACTIVECAPTION", PyInt_FromLong((long) wxSYS_COLOUR_GRADIENTINACTIVECAPTION
));
10659 PyDict_SetItemString(d
,"wxSYS_COLOUR_MENUHILIGHT", PyInt_FromLong((long) wxSYS_COLOUR_MENUHILIGHT
));
10660 PyDict_SetItemString(d
,"wxSYS_COLOUR_MENUBAR", PyInt_FromLong((long) wxSYS_COLOUR_MENUBAR
));
10661 PyDict_SetItemString(d
,"wxSYS_COLOUR_MAX", PyInt_FromLong((long) wxSYS_COLOUR_MAX
));
10662 PyDict_SetItemString(d
,"wxSYS_MOUSE_BUTTONS", PyInt_FromLong((long) wxSYS_MOUSE_BUTTONS
));
10663 PyDict_SetItemString(d
,"wxSYS_BORDER_X", PyInt_FromLong((long) wxSYS_BORDER_X
));
10664 PyDict_SetItemString(d
,"wxSYS_BORDER_Y", PyInt_FromLong((long) wxSYS_BORDER_Y
));
10665 PyDict_SetItemString(d
,"wxSYS_CURSOR_X", PyInt_FromLong((long) wxSYS_CURSOR_X
));
10666 PyDict_SetItemString(d
,"wxSYS_CURSOR_Y", PyInt_FromLong((long) wxSYS_CURSOR_Y
));
10667 PyDict_SetItemString(d
,"wxSYS_DCLICK_X", PyInt_FromLong((long) wxSYS_DCLICK_X
));
10668 PyDict_SetItemString(d
,"wxSYS_DCLICK_Y", PyInt_FromLong((long) wxSYS_DCLICK_Y
));
10669 PyDict_SetItemString(d
,"wxSYS_DRAG_X", PyInt_FromLong((long) wxSYS_DRAG_X
));
10670 PyDict_SetItemString(d
,"wxSYS_DRAG_Y", PyInt_FromLong((long) wxSYS_DRAG_Y
));
10671 PyDict_SetItemString(d
,"wxSYS_EDGE_X", PyInt_FromLong((long) wxSYS_EDGE_X
));
10672 PyDict_SetItemString(d
,"wxSYS_EDGE_Y", PyInt_FromLong((long) wxSYS_EDGE_Y
));
10673 PyDict_SetItemString(d
,"wxSYS_HSCROLL_ARROW_X", PyInt_FromLong((long) wxSYS_HSCROLL_ARROW_X
));
10674 PyDict_SetItemString(d
,"wxSYS_HSCROLL_ARROW_Y", PyInt_FromLong((long) wxSYS_HSCROLL_ARROW_Y
));
10675 PyDict_SetItemString(d
,"wxSYS_HTHUMB_X", PyInt_FromLong((long) wxSYS_HTHUMB_X
));
10676 PyDict_SetItemString(d
,"wxSYS_ICON_X", PyInt_FromLong((long) wxSYS_ICON_X
));
10677 PyDict_SetItemString(d
,"wxSYS_ICON_Y", PyInt_FromLong((long) wxSYS_ICON_Y
));
10678 PyDict_SetItemString(d
,"wxSYS_ICONSPACING_X", PyInt_FromLong((long) wxSYS_ICONSPACING_X
));
10679 PyDict_SetItemString(d
,"wxSYS_ICONSPACING_Y", PyInt_FromLong((long) wxSYS_ICONSPACING_Y
));
10680 PyDict_SetItemString(d
,"wxSYS_WINDOWMIN_X", PyInt_FromLong((long) wxSYS_WINDOWMIN_X
));
10681 PyDict_SetItemString(d
,"wxSYS_WINDOWMIN_Y", PyInt_FromLong((long) wxSYS_WINDOWMIN_Y
));
10682 PyDict_SetItemString(d
,"wxSYS_SCREEN_X", PyInt_FromLong((long) wxSYS_SCREEN_X
));
10683 PyDict_SetItemString(d
,"wxSYS_SCREEN_Y", PyInt_FromLong((long) wxSYS_SCREEN_Y
));
10684 PyDict_SetItemString(d
,"wxSYS_FRAMESIZE_X", PyInt_FromLong((long) wxSYS_FRAMESIZE_X
));
10685 PyDict_SetItemString(d
,"wxSYS_FRAMESIZE_Y", PyInt_FromLong((long) wxSYS_FRAMESIZE_Y
));
10686 PyDict_SetItemString(d
,"wxSYS_SMALLICON_X", PyInt_FromLong((long) wxSYS_SMALLICON_X
));
10687 PyDict_SetItemString(d
,"wxSYS_SMALLICON_Y", PyInt_FromLong((long) wxSYS_SMALLICON_Y
));
10688 PyDict_SetItemString(d
,"wxSYS_HSCROLL_Y", PyInt_FromLong((long) wxSYS_HSCROLL_Y
));
10689 PyDict_SetItemString(d
,"wxSYS_VSCROLL_X", PyInt_FromLong((long) wxSYS_VSCROLL_X
));
10690 PyDict_SetItemString(d
,"wxSYS_VSCROLL_ARROW_X", PyInt_FromLong((long) wxSYS_VSCROLL_ARROW_X
));
10691 PyDict_SetItemString(d
,"wxSYS_VSCROLL_ARROW_Y", PyInt_FromLong((long) wxSYS_VSCROLL_ARROW_Y
));
10692 PyDict_SetItemString(d
,"wxSYS_VTHUMB_Y", PyInt_FromLong((long) wxSYS_VTHUMB_Y
));
10693 PyDict_SetItemString(d
,"wxSYS_CAPTION_Y", PyInt_FromLong((long) wxSYS_CAPTION_Y
));
10694 PyDict_SetItemString(d
,"wxSYS_MENU_Y", PyInt_FromLong((long) wxSYS_MENU_Y
));
10695 PyDict_SetItemString(d
,"wxSYS_NETWORK_PRESENT", PyInt_FromLong((long) wxSYS_NETWORK_PRESENT
));
10696 PyDict_SetItemString(d
,"wxSYS_PENWINDOWS_PRESENT", PyInt_FromLong((long) wxSYS_PENWINDOWS_PRESENT
));
10697 PyDict_SetItemString(d
,"wxSYS_SHOW_SOUNDS", PyInt_FromLong((long) wxSYS_SHOW_SOUNDS
));
10698 PyDict_SetItemString(d
,"wxSYS_SWAP_BUTTONS", PyInt_FromLong((long) wxSYS_SWAP_BUTTONS
));
10699 PyDict_SetItemString(d
,"wxSYS_CAN_DRAW_FRAME_DECORATIONS", PyInt_FromLong((long) wxSYS_CAN_DRAW_FRAME_DECORATIONS
));
10700 PyDict_SetItemString(d
,"wxSYS_CAN_ICONIZE_FRAME", PyInt_FromLong((long) wxSYS_CAN_ICONIZE_FRAME
));
10701 PyDict_SetItemString(d
,"wxLOG_FatalError", PyInt_FromLong((long) wxLOG_FatalError
));
10702 PyDict_SetItemString(d
,"wxLOG_Error", PyInt_FromLong((long) wxLOG_Error
));
10703 PyDict_SetItemString(d
,"wxLOG_Warning", PyInt_FromLong((long) wxLOG_Warning
));
10704 PyDict_SetItemString(d
,"wxLOG_Message", PyInt_FromLong((long) wxLOG_Message
));
10705 PyDict_SetItemString(d
,"wxLOG_Info", PyInt_FromLong((long) wxLOG_Info
));
10706 PyDict_SetItemString(d
,"wxLOG_Status", PyInt_FromLong((long) wxLOG_Status
));
10707 PyDict_SetItemString(d
,"wxLOG_Debug", PyInt_FromLong((long) wxLOG_Debug
));
10708 PyDict_SetItemString(d
,"wxLOG_Trace", PyInt_FromLong((long) wxLOG_Trace
));
10709 PyDict_SetItemString(d
,"wxLOG_Progress", PyInt_FromLong((long) wxLOG_Progress
));
10710 PyDict_SetItemString(d
,"wxLOG_User", PyInt_FromLong((long) wxLOG_User
));
10711 PyDict_SetItemString(d
,"wxEVT_END_PROCESS", PyInt_FromLong((long) wxEVT_END_PROCESS
));
10712 PyDict_SetItemString(d
,"wxMAILCAP_STANDARD", PyInt_FromLong((long) wxMAILCAP_STANDARD
));
10713 PyDict_SetItemString(d
,"wxMAILCAP_NETSCAPE", PyInt_FromLong((long) wxMAILCAP_NETSCAPE
));
10714 PyDict_SetItemString(d
,"wxMAILCAP_KDE", PyInt_FromLong((long) wxMAILCAP_KDE
));
10715 PyDict_SetItemString(d
,"wxMAILCAP_GNOME", PyInt_FromLong((long) wxMAILCAP_GNOME
));
10716 PyDict_SetItemString(d
,"wxMAILCAP_ALL", PyInt_FromLong((long) wxMAILCAP_ALL
));
10717 PyDict_SetItemString(d
,"cvar", SWIG_globals
);
10718 SWIG_addvarlink(SWIG_globals
,"wxTheMimeTypesManager",_wrap_wxTheMimeTypesManager_get
, _wrap_wxTheMimeTypesManager_set
);
10720 wxPyPtrTypeMap_Add("wxFontEnumerator", "wxPyFontEnumerator");
10721 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
10722 wxPyPtrTypeMap_Add("wxProcess", "wxPyProcess");
10725 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
10726 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);