2 * FILE : src/gtk/misc2.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
32 # define SWIGEXPORT(a) a
36 # define SWIGEXPORT(a) a
45 extern void SWIG_MakePtr(char *, void *, char *);
46 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
47 extern char *SWIG_GetPtr(char *, void **, char *);
48 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
49 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
50 extern PyObject
*SWIG_newvarlink(void);
54 #define SWIG_init initmisc2c
56 #define SWIG_name "misc2c"
59 #include <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_wxResourceAddIdentifier(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1425 PyObject
* _resultobj
;
1429 char *_kwnames
[] = { "name","value", NULL
};
1432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"si:wxResourceAddIdentifier",_kwnames
,&_arg0
,&_arg1
))
1435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1436 _result
= (bool )wxResourceAddIdentifier(_arg0
,_arg1
);
1438 wxPyEndAllowThreads(__tstate
);
1439 if (PyErr_Occurred()) return NULL
;
1440 } _resultobj
= Py_BuildValue("i",_result
);
1444 static PyObject
*_wrap_wxResourceClear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1445 PyObject
* _resultobj
;
1446 char *_kwnames
[] = { NULL
};
1449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxResourceClear",_kwnames
))
1452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1455 wxPyEndAllowThreads(__tstate
);
1456 if (PyErr_Occurred()) return NULL
;
1457 } Py_INCREF(Py_None
);
1458 _resultobj
= Py_None
;
1462 static PyObject
*_wrap_wxResourceCreateBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1463 PyObject
* _resultobj
;
1466 char *_kwnames
[] = { "resource", NULL
};
1470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxResourceCreateBitmap",_kwnames
,&_arg0
))
1473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1474 _result
= new wxBitmap (wxResourceCreateBitmap(_arg0
));
1476 wxPyEndAllowThreads(__tstate
);
1477 if (PyErr_Occurred()) return NULL
;
1478 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBitmap_p");
1479 _resultobj
= Py_BuildValue("s",_ptemp
);
1483 static PyObject
*_wrap_wxResourceCreateIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1484 PyObject
* _resultobj
;
1487 char *_kwnames
[] = { "resource", NULL
};
1491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxResourceCreateIcon",_kwnames
,&_arg0
))
1494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1495 _result
= new wxIcon (wxResourceCreateIcon(_arg0
));
1497 wxPyEndAllowThreads(__tstate
);
1498 if (PyErr_Occurred()) return NULL
;
1499 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxIcon_p");
1500 _resultobj
= Py_BuildValue("s",_ptemp
);
1504 static PyObject
*_wrap_wxResourceCreateMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1505 PyObject
* _resultobj
;
1506 wxMenuBar
* _result
;
1508 char *_kwnames
[] = { "resource", NULL
};
1511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxResourceCreateMenuBar",_kwnames
,&_arg0
))
1514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1515 _result
= (wxMenuBar
*)wxResourceCreateMenuBar(_arg0
);
1517 wxPyEndAllowThreads(__tstate
);
1518 if (PyErr_Occurred()) return NULL
;
1519 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1523 static PyObject
*_wrap_wxResourceGetIdentifier(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1524 PyObject
* _resultobj
;
1527 char *_kwnames
[] = { "name", NULL
};
1530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxResourceGetIdentifier",_kwnames
,&_arg0
))
1533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1534 _result
= (int )wxResourceGetIdentifier(_arg0
);
1536 wxPyEndAllowThreads(__tstate
);
1537 if (PyErr_Occurred()) return NULL
;
1538 } _resultobj
= Py_BuildValue("i",_result
);
1542 static PyObject
*_wrap_wxResourceParseData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1543 PyObject
* _resultobj
;
1546 wxResourceTable
* _arg1
= (wxResourceTable
*) NULL
;
1547 PyObject
* _argo1
= 0;
1548 char *_kwnames
[] = { "resource","table", NULL
};
1551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s|O:wxResourceParseData",_kwnames
,&_arg0
,&_argo1
))
1554 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1555 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxResourceTable_p")) {
1556 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxResourceParseData. Expected _wxResourceTable_p.");
1561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1562 _result
= (bool )wxResourceParseData(_arg0
,_arg1
);
1564 wxPyEndAllowThreads(__tstate
);
1565 if (PyErr_Occurred()) return NULL
;
1566 } _resultobj
= Py_BuildValue("i",_result
);
1570 static PyObject
*_wrap_wxResourceParseFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1571 PyObject
* _resultobj
;
1574 wxResourceTable
* _arg1
= (wxResourceTable
*) NULL
;
1575 PyObject
* _argo1
= 0;
1576 char *_kwnames
[] = { "filename","table", NULL
};
1579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s|O:wxResourceParseFile",_kwnames
,&_arg0
,&_argo1
))
1582 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1583 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxResourceTable_p")) {
1584 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxResourceParseFile. Expected _wxResourceTable_p.");
1589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1590 _result
= (bool )wxResourceParseFile(_arg0
,_arg1
);
1592 wxPyEndAllowThreads(__tstate
);
1593 if (PyErr_Occurred()) return NULL
;
1594 } _resultobj
= Py_BuildValue("i",_result
);
1598 static PyObject
*_wrap_wxResourceParseString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1599 PyObject
* _resultobj
;
1602 wxResourceTable
* _arg1
= (wxResourceTable
*) NULL
;
1603 PyObject
* _argo1
= 0;
1604 char *_kwnames
[] = { "resource","table", NULL
};
1607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s|O:wxResourceParseString",_kwnames
,&_arg0
,&_argo1
))
1610 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1611 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxResourceTable_p")) {
1612 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxResourceParseString. Expected _wxResourceTable_p.");
1617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1618 _result
= (bool )wxResourceParseString(_arg0
,_arg1
);
1620 wxPyEndAllowThreads(__tstate
);
1621 if (PyErr_Occurred()) return NULL
;
1622 } _resultobj
= Py_BuildValue("i",_result
);
1626 static PyObject
*_wrap_wxCaret_GetBlinkTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1627 PyObject
* _resultobj
;
1629 char *_kwnames
[] = { NULL
};
1632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxCaret_GetBlinkTime",_kwnames
))
1635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1636 _result
= (int )wxCaret_GetBlinkTime();
1638 wxPyEndAllowThreads(__tstate
);
1639 if (PyErr_Occurred()) return NULL
;
1640 } _resultobj
= Py_BuildValue("i",_result
);
1644 static PyObject
*_wrap_wxCaret_SetBlinkTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1645 PyObject
* _resultobj
;
1647 char *_kwnames
[] = { "milliseconds", NULL
};
1650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxCaret_SetBlinkTime",_kwnames
,&_arg0
))
1653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1654 wxCaret_SetBlinkTime(_arg0
);
1656 wxPyEndAllowThreads(__tstate
);
1657 if (PyErr_Occurred()) return NULL
;
1658 } Py_INCREF(Py_None
);
1659 _resultobj
= Py_None
;
1663 static PyObject
*_wrap_wxSafeYield(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1664 PyObject
* _resultobj
;
1666 wxWindow
* _arg0
= (wxWindow
*) NULL
;
1667 PyObject
* _argo0
= 0;
1668 char *_kwnames
[] = { "win", NULL
};
1671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:wxSafeYield",_kwnames
,&_argo0
))
1674 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1675 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1676 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSafeYield. Expected _wxWindow_p.");
1681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1682 _result
= (bool )wxSafeYield(_arg0
);
1684 wxPyEndAllowThreads(__tstate
);
1685 if (PyErr_Occurred()) return NULL
;
1686 } _resultobj
= Py_BuildValue("i",_result
);
1690 static PyObject
*_wrap_wxPostEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1691 PyObject
* _resultobj
;
1692 wxEvtHandler
* _arg0
;
1694 PyObject
* _argo0
= 0;
1695 PyObject
* _argo1
= 0;
1696 char *_kwnames
[] = { "dest","event", NULL
};
1699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPostEvent",_kwnames
,&_argo0
,&_argo1
))
1702 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1703 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
1704 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPostEvent. Expected _wxEvtHandler_p.");
1709 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1710 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvent_p")) {
1711 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPostEvent. Expected _wxEvent_p.");
1716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1717 wxPostEvent(_arg0
,*_arg1
);
1719 wxPyEndAllowThreads(__tstate
);
1720 if (PyErr_Occurred()) return NULL
;
1721 } Py_INCREF(Py_None
);
1722 _resultobj
= Py_None
;
1726 static PyObject
*_wrap_wxWakeUpIdle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1727 PyObject
* _resultobj
;
1728 char *_kwnames
[] = { NULL
};
1731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxWakeUpIdle",_kwnames
))
1734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1737 wxPyEndAllowThreads(__tstate
);
1738 if (PyErr_Occurred()) return NULL
;
1739 } Py_INCREF(Py_None
);
1740 _resultobj
= Py_None
;
1744 static PyObject
*_wrap_wxMutexGuiEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1745 PyObject
* _resultobj
;
1746 char *_kwnames
[] = { NULL
};
1749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxMutexGuiEnter",_kwnames
))
1752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1755 wxPyEndAllowThreads(__tstate
);
1756 if (PyErr_Occurred()) return NULL
;
1757 } Py_INCREF(Py_None
);
1758 _resultobj
= Py_None
;
1762 static PyObject
*_wrap_wxMutexGuiLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1763 PyObject
* _resultobj
;
1764 char *_kwnames
[] = { NULL
};
1767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxMutexGuiLeave",_kwnames
))
1770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1773 wxPyEndAllowThreads(__tstate
);
1774 if (PyErr_Occurred()) return NULL
;
1775 } Py_INCREF(Py_None
);
1776 _resultobj
= Py_None
;
1780 static PyObject
*_wrap_wxThread_IsMain(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1781 PyObject
* _resultobj
;
1783 char *_kwnames
[] = { NULL
};
1786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxThread_IsMain",_kwnames
))
1789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1790 _result
= (bool )wxThread_IsMain();
1792 wxPyEndAllowThreads(__tstate
);
1793 if (PyErr_Occurred()) return NULL
;
1794 } _resultobj
= Py_BuildValue("i",_result
);
1798 static PyObject
*_wrap_wxShowTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1799 PyObject
* _resultobj
;
1802 wxTipProvider
* _arg1
;
1803 bool _arg2
= (bool ) TRUE
;
1804 PyObject
* _argo0
= 0;
1805 PyObject
* _argo1
= 0;
1806 int tempbool2
= (int) TRUE
;
1807 char *_kwnames
[] = { "parent","tipProvider","showAtStartup", NULL
};
1810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxShowTip",_kwnames
,&_argo0
,&_argo1
,&tempbool2
))
1813 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1814 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1815 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShowTip. Expected _wxWindow_p.");
1820 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1821 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTipProvider_p")) {
1822 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxShowTip. Expected _wxTipProvider_p.");
1826 _arg2
= (bool ) tempbool2
;
1828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1829 _result
= (bool )wxShowTip(_arg0
,_arg1
,_arg2
);
1831 wxPyEndAllowThreads(__tstate
);
1832 if (PyErr_Occurred()) return NULL
;
1833 } _resultobj
= Py_BuildValue("i",_result
);
1837 static PyObject
*_wrap_wxCreateFileTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1838 PyObject
* _resultobj
;
1839 wxTipProvider
* _result
;
1842 PyObject
* _obj0
= 0;
1843 char *_kwnames
[] = { "filename","currentTip", NULL
};
1847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxCreateFileTipProvider",_kwnames
,&_obj0
,&_arg1
))
1850 #if PYTHON_API_VERSION >= 1009
1851 char* tmpPtr
; int tmpSize
;
1852 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
1853 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1856 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
1858 _arg0
= new wxString(tmpPtr
, tmpSize
);
1860 if (!PyString_Check(_obj0
)) {
1861 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1864 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
1868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1869 _result
= (wxTipProvider
*)wxCreateFileTipProvider(*_arg0
,_arg1
);
1871 wxPyEndAllowThreads(__tstate
);
1872 if (PyErr_Occurred()) return NULL
;
1874 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTipProvider_p");
1875 _resultobj
= Py_BuildValue("s",_ptemp
);
1878 _resultobj
= Py_None
;
1887 static PyObject
*_wrap_wxSysErrorCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1888 PyObject
* _resultobj
;
1889 unsigned long _result
;
1890 char *_kwnames
[] = { NULL
};
1893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxSysErrorCode",_kwnames
))
1896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1897 _result
= (unsigned long )wxSysErrorCode();
1899 wxPyEndAllowThreads(__tstate
);
1900 if (PyErr_Occurred()) return NULL
;
1901 } _resultobj
= Py_BuildValue("l",_result
);
1905 static PyObject
*_wrap_wxSysErrorMsg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1906 PyObject
* _resultobj
;
1908 unsigned long _arg0
= (unsigned long ) 0;
1909 char *_kwnames
[] = { "nErrCode", NULL
};
1912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|l:wxSysErrorMsg",_kwnames
,&_arg0
))
1915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1916 _result
= (char *)wxSysErrorMsg(_arg0
);
1918 wxPyEndAllowThreads(__tstate
);
1919 if (PyErr_Occurred()) return NULL
;
1920 } _resultobj
= Py_BuildValue("s", _result
);
1924 static PyObject
*_wrap_wxLogFatalError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1925 PyObject
* _resultobj
;
1927 char *_kwnames
[] = { "szFormat", NULL
};
1930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLogFatalError",_kwnames
,&_arg0
))
1933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1934 wxLogFatalError(_arg0
);
1936 wxPyEndAllowThreads(__tstate
);
1937 if (PyErr_Occurred()) return NULL
;
1938 } Py_INCREF(Py_None
);
1939 _resultobj
= Py_None
;
1943 static PyObject
*_wrap_wxLogError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1944 PyObject
* _resultobj
;
1946 char *_kwnames
[] = { "szFormat", NULL
};
1949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLogError",_kwnames
,&_arg0
))
1952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1955 wxPyEndAllowThreads(__tstate
);
1956 if (PyErr_Occurred()) return NULL
;
1957 } Py_INCREF(Py_None
);
1958 _resultobj
= Py_None
;
1962 static PyObject
*_wrap_wxLogWarning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1963 PyObject
* _resultobj
;
1965 char *_kwnames
[] = { "szFormat", NULL
};
1968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLogWarning",_kwnames
,&_arg0
))
1971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1972 wxLogWarning(_arg0
);
1974 wxPyEndAllowThreads(__tstate
);
1975 if (PyErr_Occurred()) return NULL
;
1976 } Py_INCREF(Py_None
);
1977 _resultobj
= Py_None
;
1981 static PyObject
*_wrap_wxLogMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1982 PyObject
* _resultobj
;
1984 char *_kwnames
[] = { "szFormat", NULL
};
1987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLogMessage",_kwnames
,&_arg0
))
1990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1991 wxLogMessage(_arg0
);
1993 wxPyEndAllowThreads(__tstate
);
1994 if (PyErr_Occurred()) return NULL
;
1995 } Py_INCREF(Py_None
);
1996 _resultobj
= Py_None
;
2000 static PyObject
*_wrap_wxLogInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2001 PyObject
* _resultobj
;
2003 char *_kwnames
[] = { "szFormat", NULL
};
2006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLogInfo",_kwnames
,&_arg0
))
2009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2012 wxPyEndAllowThreads(__tstate
);
2013 if (PyErr_Occurred()) return NULL
;
2014 } Py_INCREF(Py_None
);
2015 _resultobj
= Py_None
;
2019 static PyObject
*_wrap_wxLogVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2020 PyObject
* _resultobj
;
2022 char *_kwnames
[] = { "szFormat", NULL
};
2025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLogVerbose",_kwnames
,&_arg0
))
2028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2029 wxLogVerbose(_arg0
);
2031 wxPyEndAllowThreads(__tstate
);
2032 if (PyErr_Occurred()) return NULL
;
2033 } Py_INCREF(Py_None
);
2034 _resultobj
= Py_None
;
2038 static PyObject
*_wrap_wxLogStatus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2039 PyObject
* _resultobj
;
2041 char *_kwnames
[] = { "szFormat", NULL
};
2044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLogStatus",_kwnames
,&_arg0
))
2047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2050 wxPyEndAllowThreads(__tstate
);
2051 if (PyErr_Occurred()) return NULL
;
2052 } Py_INCREF(Py_None
);
2053 _resultobj
= Py_None
;
2057 static PyObject
*_wrap_wxLogStatusFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2058 PyObject
* _resultobj
;
2061 PyObject
* _argo0
= 0;
2062 char *_kwnames
[] = { "pFrame","szFormat", NULL
};
2065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Os:wxLogStatusFrame",_kwnames
,&_argo0
,&_arg1
))
2068 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2069 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
2070 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogStatusFrame. Expected _wxFrame_p.");
2075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2076 wxLogStatus(_arg0
,_arg1
);
2078 wxPyEndAllowThreads(__tstate
);
2079 if (PyErr_Occurred()) return NULL
;
2080 } Py_INCREF(Py_None
);
2081 _resultobj
= Py_None
;
2085 static PyObject
*_wrap_wxLogSysError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2086 PyObject
* _resultobj
;
2088 char *_kwnames
[] = { "szFormat", NULL
};
2091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLogSysError",_kwnames
,&_arg0
))
2094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2095 wxLogSysError(_arg0
);
2097 wxPyEndAllowThreads(__tstate
);
2098 if (PyErr_Occurred()) return NULL
;
2099 } Py_INCREF(Py_None
);
2100 _resultobj
= Py_None
;
2104 static PyObject
*_wrap_wxExecute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2105 PyObject
* _resultobj
;
2108 int _arg1
= (int ) FALSE
;
2109 wxPyProcess
* _arg2
= (wxPyProcess
*) NULL
;
2110 PyObject
* _obj0
= 0;
2111 PyObject
* _argo2
= 0;
2112 char *_kwnames
[] = { "command","sync","process", NULL
};
2115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iO:wxExecute",_kwnames
,&_obj0
,&_arg1
,&_argo2
))
2118 #if PYTHON_API_VERSION >= 1009
2119 char* tmpPtr
; int tmpSize
;
2120 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
2121 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2124 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
2126 _arg0
= new wxString(tmpPtr
, tmpSize
);
2128 if (!PyString_Check(_obj0
)) {
2129 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2132 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
2136 if (_argo2
== Py_None
) { _arg2
= NULL
; }
2137 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPyProcess_p")) {
2138 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxExecute. Expected _wxPyProcess_p.");
2143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2144 _result
= (long )wxExecute(*_arg0
,_arg1
,_arg2
);
2146 wxPyEndAllowThreads(__tstate
);
2147 if (PyErr_Occurred()) return NULL
;
2148 } _resultobj
= Py_BuildValue("l",_result
);
2156 static PyObject
*_wrap_wxWaveData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2157 PyObject
* _resultobj
;
2160 PyObject
* _obj0
= 0;
2161 char *_kwnames
[] = { "data", NULL
};
2165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWaveData",_kwnames
,&_obj0
))
2168 #if PYTHON_API_VERSION >= 1009
2169 char* tmpPtr
; int tmpSize
;
2170 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
2171 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2174 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
2176 _arg0
= new wxString(tmpPtr
, tmpSize
);
2178 if (!PyString_Check(_obj0
)) {
2179 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2182 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
2186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2187 _result
= (wxWave
*)wxWaveData(*_arg0
);
2189 wxPyEndAllowThreads(__tstate
);
2190 if (PyErr_Occurred()) return NULL
;
2192 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWave_p");
2193 _resultobj
= Py_BuildValue("s",_ptemp
);
2196 _resultobj
= Py_None
;
2205 static int _wrap_wxTheMimeTypesManager_set(PyObject
*val
) {
2207 PyErr_SetString(PyExc_TypeError
,"Variable wxTheMimeTypesManager is read-only.");
2211 static PyObject
*_wrap_wxTheMimeTypesManager_get() {
2215 SWIG_MakePtr(ptemp
, (char *) wxTheMimeTypesManager
,"_wxMimeTypesManager_p");
2216 pyobj
= PyString_FromString(ptemp
);
2220 static PyObject
*_wrap_wxSystemSettings_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2221 PyObject
* _resultobj
;
2223 wxSystemColour _arg0
;
2224 char *_kwnames
[] = { "index", NULL
};
2228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSystemSettings_GetColour",_kwnames
,&_arg0
))
2231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2232 _result
= new wxColour (wxSystemSettings::GetColour(_arg0
));
2234 wxPyEndAllowThreads(__tstate
);
2235 if (PyErr_Occurred()) return NULL
;
2236 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
2237 _resultobj
= Py_BuildValue("s",_ptemp
);
2241 static PyObject
*_wrap_wxSystemSettings_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2242 PyObject
* _resultobj
;
2245 char *_kwnames
[] = { "index", NULL
};
2249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSystemSettings_GetFont",_kwnames
,&_arg0
))
2252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2253 _result
= new wxFont (wxSystemSettings::GetFont(_arg0
));
2255 wxPyEndAllowThreads(__tstate
);
2256 if (PyErr_Occurred()) return NULL
;
2257 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
2258 _resultobj
= Py_BuildValue("s",_ptemp
);
2262 static PyObject
*_wrap_wxSystemSettings_GetMetric(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2263 PyObject
* _resultobj
;
2265 wxSystemMetric _arg0
;
2266 char *_kwnames
[] = { "index", NULL
};
2269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSystemSettings_GetMetric",_kwnames
,&_arg0
))
2272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2273 _result
= (int )wxSystemSettings::GetMetric(_arg0
);
2275 wxPyEndAllowThreads(__tstate
);
2276 if (PyErr_Occurred()) return NULL
;
2277 } _resultobj
= Py_BuildValue("i",_result
);
2281 static PyObject
*_wrap_wxSystemSettings_HasFeature(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2282 PyObject
* _resultobj
;
2284 wxSystemFeature _arg0
;
2285 char *_kwnames
[] = { "index", NULL
};
2288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSystemSettings_HasFeature",_kwnames
,&_arg0
))
2291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2292 _result
= (bool )wxSystemSettings::HasFeature(_arg0
);
2294 wxPyEndAllowThreads(__tstate
);
2295 if (PyErr_Occurred()) return NULL
;
2296 } _resultobj
= Py_BuildValue("i",_result
);
2300 static void *SwigwxToolTipTowxObject(void *ptr
) {
2303 src
= (wxToolTip
*) ptr
;
2304 dest
= (wxObject
*) src
;
2305 return (void *) dest
;
2308 #define new_wxToolTip(_swigarg0) (new wxToolTip(_swigarg0))
2309 static PyObject
*_wrap_new_wxToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2310 PyObject
* _resultobj
;
2311 wxToolTip
* _result
;
2313 PyObject
* _obj0
= 0;
2314 char *_kwnames
[] = { "tip", NULL
};
2318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxToolTip",_kwnames
,&_obj0
))
2321 #if PYTHON_API_VERSION >= 1009
2322 char* tmpPtr
; int tmpSize
;
2323 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
2324 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2327 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
2329 _arg0
= new wxString(tmpPtr
, tmpSize
);
2331 if (!PyString_Check(_obj0
)) {
2332 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2335 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
2339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2340 _result
= (wxToolTip
*)new_wxToolTip(*_arg0
);
2342 wxPyEndAllowThreads(__tstate
);
2343 if (PyErr_Occurred()) return NULL
;
2345 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToolTip_p");
2346 _resultobj
= Py_BuildValue("s",_ptemp
);
2349 _resultobj
= Py_None
;
2358 #define wxToolTip_SetTip(_swigobj,_swigarg0) (_swigobj->SetTip(_swigarg0))
2359 static PyObject
*_wrap_wxToolTip_SetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2360 PyObject
* _resultobj
;
2363 PyObject
* _argo0
= 0;
2364 PyObject
* _obj1
= 0;
2365 char *_kwnames
[] = { "self","tip", NULL
};
2368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxToolTip_SetTip",_kwnames
,&_argo0
,&_obj1
))
2371 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2372 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolTip_p")) {
2373 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolTip_SetTip. Expected _wxToolTip_p.");
2378 #if PYTHON_API_VERSION >= 1009
2379 char* tmpPtr
; int tmpSize
;
2380 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
2381 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2384 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
2386 _arg1
= new wxString(tmpPtr
, tmpSize
);
2388 if (!PyString_Check(_obj1
)) {
2389 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2392 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
2396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2397 wxToolTip_SetTip(_arg0
,*_arg1
);
2399 wxPyEndAllowThreads(__tstate
);
2400 if (PyErr_Occurred()) return NULL
;
2401 } Py_INCREF(Py_None
);
2402 _resultobj
= Py_None
;
2410 #define wxToolTip_GetTip(_swigobj) (_swigobj->GetTip())
2411 static PyObject
*_wrap_wxToolTip_GetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2412 PyObject
* _resultobj
;
2415 PyObject
* _argo0
= 0;
2416 char *_kwnames
[] = { "self", NULL
};
2419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolTip_GetTip",_kwnames
,&_argo0
))
2422 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2423 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolTip_p")) {
2424 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolTip_GetTip. Expected _wxToolTip_p.");
2429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2430 _result
= new wxString (wxToolTip_GetTip(_arg0
));
2432 wxPyEndAllowThreads(__tstate
);
2433 if (PyErr_Occurred()) return NULL
;
2435 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2443 #define wxToolTip_GetWindow(_swigobj) (_swigobj->GetWindow())
2444 static PyObject
*_wrap_wxToolTip_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2445 PyObject
* _resultobj
;
2448 PyObject
* _argo0
= 0;
2449 char *_kwnames
[] = { "self", NULL
};
2452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolTip_GetWindow",_kwnames
,&_argo0
))
2455 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2456 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolTip_p")) {
2457 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolTip_GetWindow. Expected _wxToolTip_p.");
2462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2463 _result
= (wxWindow
*)wxToolTip_GetWindow(_arg0
);
2465 wxPyEndAllowThreads(__tstate
);
2466 if (PyErr_Occurred()) return NULL
;
2467 }{ _resultobj
= wxPyMake_wxObject(_result
); }
2471 static PyObject
*_wrap_wxToolTip_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2472 PyObject
* _resultobj
;
2475 char *_kwnames
[] = { "flag", NULL
};
2478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxToolTip_Enable",_kwnames
,&tempbool0
))
2480 _arg0
= (bool ) tempbool0
;
2482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2483 wxToolTip::Enable(_arg0
);
2485 wxPyEndAllowThreads(__tstate
);
2486 if (PyErr_Occurred()) return NULL
;
2487 } Py_INCREF(Py_None
);
2488 _resultobj
= Py_None
;
2492 static PyObject
*_wrap_wxToolTip_SetDelay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2493 PyObject
* _resultobj
;
2495 char *_kwnames
[] = { "milliseconds", NULL
};
2498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:wxToolTip_SetDelay",_kwnames
,&_arg0
))
2501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2502 wxToolTip::SetDelay(_arg0
);
2504 wxPyEndAllowThreads(__tstate
);
2505 if (PyErr_Occurred()) return NULL
;
2506 } Py_INCREF(Py_None
);
2507 _resultobj
= Py_None
;
2511 #define new_wxCaret(_swigarg0,_swigarg1) (new wxCaret(_swigarg0,_swigarg1))
2512 static PyObject
*_wrap_new_wxCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2513 PyObject
* _resultobj
;
2517 PyObject
* _argo0
= 0;
2519 PyObject
* _obj1
= 0;
2520 char *_kwnames
[] = { "window","size", NULL
};
2524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:new_wxCaret",_kwnames
,&_argo0
,&_obj1
))
2527 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2528 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2529 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxCaret. Expected _wxWindow_p.");
2535 if (! wxSize_helper(_obj1
, &_arg1
))
2539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2540 _result
= (wxCaret
*)new_wxCaret(_arg0
,*_arg1
);
2542 wxPyEndAllowThreads(__tstate
);
2543 if (PyErr_Occurred()) return NULL
;
2545 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCaret_p");
2546 _resultobj
= Py_BuildValue("s",_ptemp
);
2549 _resultobj
= Py_None
;
2554 #define delete_wxCaret(_swigobj) (delete _swigobj)
2555 static PyObject
*_wrap_delete_wxCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2556 PyObject
* _resultobj
;
2558 PyObject
* _argo0
= 0;
2559 char *_kwnames
[] = { "self", NULL
};
2562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxCaret",_kwnames
,&_argo0
))
2565 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2566 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2567 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxCaret. Expected _wxCaret_p.");
2572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2573 delete_wxCaret(_arg0
);
2575 wxPyEndAllowThreads(__tstate
);
2576 if (PyErr_Occurred()) return NULL
;
2577 } Py_INCREF(Py_None
);
2578 _resultobj
= Py_None
;
2582 #define wxCaret_IsOk(_swigobj) (_swigobj->IsOk())
2583 static PyObject
*_wrap_wxCaret_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2584 PyObject
* _resultobj
;
2587 PyObject
* _argo0
= 0;
2588 char *_kwnames
[] = { "self", NULL
};
2591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_IsOk",_kwnames
,&_argo0
))
2594 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2595 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2596 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_IsOk. Expected _wxCaret_p.");
2601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2602 _result
= (bool )wxCaret_IsOk(_arg0
);
2604 wxPyEndAllowThreads(__tstate
);
2605 if (PyErr_Occurred()) return NULL
;
2606 } _resultobj
= Py_BuildValue("i",_result
);
2610 #define wxCaret_IsVisible(_swigobj) (_swigobj->IsVisible())
2611 static PyObject
*_wrap_wxCaret_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2612 PyObject
* _resultobj
;
2615 PyObject
* _argo0
= 0;
2616 char *_kwnames
[] = { "self", NULL
};
2619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_IsVisible",_kwnames
,&_argo0
))
2622 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2623 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2624 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_IsVisible. Expected _wxCaret_p.");
2629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2630 _result
= (bool )wxCaret_IsVisible(_arg0
);
2632 wxPyEndAllowThreads(__tstate
);
2633 if (PyErr_Occurred()) return NULL
;
2634 } _resultobj
= Py_BuildValue("i",_result
);
2638 #define wxCaret_GetPositionTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPosition(_swigarg0,_swigarg1))
2639 static PyObject
*_wrap_wxCaret_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2640 PyObject
* _resultobj
;
2646 PyObject
* _argo0
= 0;
2647 char *_kwnames
[] = { "self", NULL
};
2656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetPositionTuple",_kwnames
,&_argo0
))
2659 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2660 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2661 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetPositionTuple. Expected _wxCaret_p.");
2666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2667 wxCaret_GetPositionTuple(_arg0
,_arg1
,_arg2
);
2669 wxPyEndAllowThreads(__tstate
);
2670 if (PyErr_Occurred()) return NULL
;
2671 } Py_INCREF(Py_None
);
2672 _resultobj
= Py_None
;
2675 o
= PyInt_FromLong((long) (*_arg1
));
2676 _resultobj
= t_output_helper(_resultobj
, o
);
2680 o
= PyInt_FromLong((long) (*_arg2
));
2681 _resultobj
= t_output_helper(_resultobj
, o
);
2686 #define wxCaret_GetPosition(_swigobj) (_swigobj->GetPosition())
2687 static PyObject
*_wrap_wxCaret_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2688 PyObject
* _resultobj
;
2691 PyObject
* _argo0
= 0;
2692 char *_kwnames
[] = { "self", NULL
};
2696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetPosition",_kwnames
,&_argo0
))
2699 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2700 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2701 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetPosition. Expected _wxCaret_p.");
2706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2707 _result
= new wxPoint (wxCaret_GetPosition(_arg0
));
2709 wxPyEndAllowThreads(__tstate
);
2710 if (PyErr_Occurred()) return NULL
;
2711 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2712 _resultobj
= Py_BuildValue("s",_ptemp
);
2716 #define wxCaret_GetSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSize(_swigarg0,_swigarg1))
2717 static PyObject
*_wrap_wxCaret_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2718 PyObject
* _resultobj
;
2724 PyObject
* _argo0
= 0;
2725 char *_kwnames
[] = { "self", NULL
};
2734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetSizeTuple",_kwnames
,&_argo0
))
2737 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2738 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2739 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetSizeTuple. Expected _wxCaret_p.");
2744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2745 wxCaret_GetSizeTuple(_arg0
,_arg1
,_arg2
);
2747 wxPyEndAllowThreads(__tstate
);
2748 if (PyErr_Occurred()) return NULL
;
2749 } Py_INCREF(Py_None
);
2750 _resultobj
= Py_None
;
2753 o
= PyInt_FromLong((long) (*_arg1
));
2754 _resultobj
= t_output_helper(_resultobj
, o
);
2758 o
= PyInt_FromLong((long) (*_arg2
));
2759 _resultobj
= t_output_helper(_resultobj
, o
);
2764 #define wxCaret_GetSize(_swigobj) (_swigobj->GetSize())
2765 static PyObject
*_wrap_wxCaret_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2766 PyObject
* _resultobj
;
2769 PyObject
* _argo0
= 0;
2770 char *_kwnames
[] = { "self", NULL
};
2774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetSize",_kwnames
,&_argo0
))
2777 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2778 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2779 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetSize. Expected _wxCaret_p.");
2784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2785 _result
= new wxSize (wxCaret_GetSize(_arg0
));
2787 wxPyEndAllowThreads(__tstate
);
2788 if (PyErr_Occurred()) return NULL
;
2789 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
2790 _resultobj
= Py_BuildValue("s",_ptemp
);
2794 #define wxCaret_GetWindow(_swigobj) (_swigobj->GetWindow())
2795 static PyObject
*_wrap_wxCaret_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2796 PyObject
* _resultobj
;
2799 PyObject
* _argo0
= 0;
2800 char *_kwnames
[] = { "self", NULL
};
2803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetWindow",_kwnames
,&_argo0
))
2806 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2807 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2808 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetWindow. Expected _wxCaret_p.");
2813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2814 _result
= (wxWindow
*)wxCaret_GetWindow(_arg0
);
2816 wxPyEndAllowThreads(__tstate
);
2817 if (PyErr_Occurred()) return NULL
;
2818 }{ _resultobj
= wxPyMake_wxObject(_result
); }
2822 #define wxCaret_MoveXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->Move(_swigarg0,_swigarg1))
2823 static PyObject
*_wrap_wxCaret_MoveXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2824 PyObject
* _resultobj
;
2828 PyObject
* _argo0
= 0;
2829 char *_kwnames
[] = { "self","x","y", NULL
};
2832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxCaret_MoveXY",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2835 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2836 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2837 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_MoveXY. Expected _wxCaret_p.");
2842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2843 wxCaret_MoveXY(_arg0
,_arg1
,_arg2
);
2845 wxPyEndAllowThreads(__tstate
);
2846 if (PyErr_Occurred()) return NULL
;
2847 } Py_INCREF(Py_None
);
2848 _resultobj
= Py_None
;
2852 #define wxCaret_Move(_swigobj,_swigarg0) (_swigobj->Move(_swigarg0))
2853 static PyObject
*_wrap_wxCaret_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2854 PyObject
* _resultobj
;
2857 PyObject
* _argo0
= 0;
2859 PyObject
* _obj1
= 0;
2860 char *_kwnames
[] = { "self","pt", NULL
};
2863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxCaret_Move",_kwnames
,&_argo0
,&_obj1
))
2866 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2867 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2868 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_Move. Expected _wxCaret_p.");
2874 if (! wxPoint_helper(_obj1
, &_arg1
))
2878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2879 wxCaret_Move(_arg0
,*_arg1
);
2881 wxPyEndAllowThreads(__tstate
);
2882 if (PyErr_Occurred()) return NULL
;
2883 } Py_INCREF(Py_None
);
2884 _resultobj
= Py_None
;
2888 #define wxCaret_SetSizeWH(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSize(_swigarg0,_swigarg1))
2889 static PyObject
*_wrap_wxCaret_SetSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2890 PyObject
* _resultobj
;
2894 PyObject
* _argo0
= 0;
2895 char *_kwnames
[] = { "self","width","height", NULL
};
2898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxCaret_SetSizeWH",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2901 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2902 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2903 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_SetSizeWH. Expected _wxCaret_p.");
2908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2909 wxCaret_SetSizeWH(_arg0
,_arg1
,_arg2
);
2911 wxPyEndAllowThreads(__tstate
);
2912 if (PyErr_Occurred()) return NULL
;
2913 } Py_INCREF(Py_None
);
2914 _resultobj
= Py_None
;
2918 #define wxCaret_SetSize(_swigobj,_swigarg0) (_swigobj->SetSize(_swigarg0))
2919 static PyObject
*_wrap_wxCaret_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2920 PyObject
* _resultobj
;
2923 PyObject
* _argo0
= 0;
2925 PyObject
* _obj1
= 0;
2926 char *_kwnames
[] = { "self","size", NULL
};
2929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxCaret_SetSize",_kwnames
,&_argo0
,&_obj1
))
2932 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2933 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2934 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_SetSize. Expected _wxCaret_p.");
2940 if (! wxSize_helper(_obj1
, &_arg1
))
2944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2945 wxCaret_SetSize(_arg0
,*_arg1
);
2947 wxPyEndAllowThreads(__tstate
);
2948 if (PyErr_Occurred()) return NULL
;
2949 } Py_INCREF(Py_None
);
2950 _resultobj
= Py_None
;
2954 #define wxCaret_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
2955 static PyObject
*_wrap_wxCaret_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2956 PyObject
* _resultobj
;
2958 int _arg1
= (int ) TRUE
;
2959 PyObject
* _argo0
= 0;
2960 char *_kwnames
[] = { "self","show", NULL
};
2963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxCaret_Show",_kwnames
,&_argo0
,&_arg1
))
2966 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2967 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2968 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_Show. Expected _wxCaret_p.");
2973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2974 wxCaret_Show(_arg0
,_arg1
);
2976 wxPyEndAllowThreads(__tstate
);
2977 if (PyErr_Occurred()) return NULL
;
2978 } Py_INCREF(Py_None
);
2979 _resultobj
= Py_None
;
2983 #define wxCaret_Hide(_swigobj) (_swigobj->Hide())
2984 static PyObject
*_wrap_wxCaret_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2985 PyObject
* _resultobj
;
2987 PyObject
* _argo0
= 0;
2988 char *_kwnames
[] = { "self", NULL
};
2991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_Hide",_kwnames
,&_argo0
))
2994 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2995 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2996 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_Hide. Expected _wxCaret_p.");
3001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3002 wxCaret_Hide(_arg0
);
3004 wxPyEndAllowThreads(__tstate
);
3005 if (PyErr_Occurred()) return NULL
;
3006 } Py_INCREF(Py_None
);
3007 _resultobj
= Py_None
;
3011 #define new_wxFontEnumerator() (new wxPyFontEnumerator())
3012 static PyObject
*_wrap_new_wxFontEnumerator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3013 PyObject
* _resultobj
;
3014 wxPyFontEnumerator
* _result
;
3015 char *_kwnames
[] = { NULL
};
3019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxFontEnumerator",_kwnames
))
3022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3023 _result
= (wxPyFontEnumerator
*)new_wxFontEnumerator();
3025 wxPyEndAllowThreads(__tstate
);
3026 if (PyErr_Occurred()) return NULL
;
3028 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyFontEnumerator_p");
3029 _resultobj
= Py_BuildValue("s",_ptemp
);
3032 _resultobj
= Py_None
;
3037 #define delete_wxPyFontEnumerator(_swigobj) (delete _swigobj)
3038 static PyObject
*_wrap_delete_wxFontEnumerator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3039 PyObject
* _resultobj
;
3040 wxPyFontEnumerator
* _arg0
;
3041 PyObject
* _argo0
= 0;
3042 char *_kwnames
[] = { "self", NULL
};
3045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxFontEnumerator",_kwnames
,&_argo0
))
3048 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3049 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) {
3050 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxFontEnumerator. Expected _wxPyFontEnumerator_p.");
3055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3056 delete_wxPyFontEnumerator(_arg0
);
3058 wxPyEndAllowThreads(__tstate
);
3059 if (PyErr_Occurred()) return NULL
;
3060 } Py_INCREF(Py_None
);
3061 _resultobj
= Py_None
;
3065 #define wxFontEnumerator__setCallbackInfo(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1,_swigarg2))
3066 static PyObject
*_wrap_wxFontEnumerator__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3067 PyObject
* _resultobj
;
3068 wxPyFontEnumerator
* _arg0
;
3072 PyObject
* _argo0
= 0;
3073 PyObject
* _obj1
= 0;
3074 PyObject
* _obj2
= 0;
3076 char *_kwnames
[] = { "self","self","_class","incref", NULL
};
3079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOi:wxFontEnumerator__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&tempbool3
))
3082 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3083 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) {
3084 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontEnumerator__setCallbackInfo. Expected _wxPyFontEnumerator_p.");
3094 _arg3
= (bool ) tempbool3
;
3096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3097 wxFontEnumerator__setCallbackInfo(_arg0
,_arg1
,_arg2
,_arg3
);
3099 wxPyEndAllowThreads(__tstate
);
3100 if (PyErr_Occurred()) return NULL
;
3101 } Py_INCREF(Py_None
);
3102 _resultobj
= Py_None
;
3106 #define wxFontEnumerator_EnumerateFacenames(_swigobj,_swigarg0,_swigarg1) (_swigobj->EnumerateFacenames(_swigarg0,_swigarg1))
3107 static PyObject
*_wrap_wxFontEnumerator_EnumerateFacenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3108 PyObject
* _resultobj
;
3110 wxPyFontEnumerator
* _arg0
;
3111 wxFontEncoding _arg1
= (wxFontEncoding
) wxFONTENCODING_SYSTEM
;
3112 bool _arg2
= (bool ) FALSE
;
3113 PyObject
* _argo0
= 0;
3114 int tempbool2
= (int) FALSE
;
3115 char *_kwnames
[] = { "self","encoding","fixedWidthOnly", NULL
};
3118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxFontEnumerator_EnumerateFacenames",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
3121 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3122 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) {
3123 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontEnumerator_EnumerateFacenames. Expected _wxPyFontEnumerator_p.");
3127 _arg2
= (bool ) tempbool2
;
3129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3130 _result
= (bool )wxFontEnumerator_EnumerateFacenames(_arg0
,_arg1
,_arg2
);
3132 wxPyEndAllowThreads(__tstate
);
3133 if (PyErr_Occurred()) return NULL
;
3134 } _resultobj
= Py_BuildValue("i",_result
);
3138 #define wxFontEnumerator_EnumerateEncodings(_swigobj,_swigarg0) (_swigobj->EnumerateEncodings(_swigarg0))
3139 static PyObject
*_wrap_wxFontEnumerator_EnumerateEncodings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3140 PyObject
* _resultobj
;
3142 wxPyFontEnumerator
* _arg0
;
3143 char * _arg1
= (char *) "";
3144 PyObject
* _argo0
= 0;
3145 char *_kwnames
[] = { "self","facename", NULL
};
3148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|s:wxFontEnumerator_EnumerateEncodings",_kwnames
,&_argo0
,&_arg1
))
3151 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3152 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) {
3153 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontEnumerator_EnumerateEncodings. Expected _wxPyFontEnumerator_p.");
3158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3159 _result
= (bool )wxFontEnumerator_EnumerateEncodings(_arg0
,_arg1
);
3161 wxPyEndAllowThreads(__tstate
);
3162 if (PyErr_Occurred()) return NULL
;
3163 } _resultobj
= Py_BuildValue("i",_result
);
3167 static PyObject
* wxPyFontEnumerator_GetEncodings(wxPyFontEnumerator
*self
) {
3168 wxArrayString
* arr
= self
->GetEncodings();
3169 return wxArrayString2PyList_helper(*arr
);
3171 static PyObject
*_wrap_wxFontEnumerator_GetEncodings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3172 PyObject
* _resultobj
;
3174 wxPyFontEnumerator
* _arg0
;
3175 PyObject
* _argo0
= 0;
3176 char *_kwnames
[] = { "self", NULL
};
3179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFontEnumerator_GetEncodings",_kwnames
,&_argo0
))
3182 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3183 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) {
3184 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontEnumerator_GetEncodings. Expected _wxPyFontEnumerator_p.");
3189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3190 _result
= (PyObject
*)wxPyFontEnumerator_GetEncodings(_arg0
);
3192 wxPyEndAllowThreads(__tstate
);
3193 if (PyErr_Occurred()) return NULL
;
3195 _resultobj
= _result
;
3200 static PyObject
* wxPyFontEnumerator_GetFacenames(wxPyFontEnumerator
*self
) {
3201 wxArrayString
* arr
= self
->GetFacenames();
3202 return wxArrayString2PyList_helper(*arr
);
3204 static PyObject
*_wrap_wxFontEnumerator_GetFacenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3205 PyObject
* _resultobj
;
3207 wxPyFontEnumerator
* _arg0
;
3208 PyObject
* _argo0
= 0;
3209 char *_kwnames
[] = { "self", NULL
};
3212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFontEnumerator_GetFacenames",_kwnames
,&_argo0
))
3215 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3216 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) {
3217 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontEnumerator_GetFacenames. Expected _wxPyFontEnumerator_p.");
3222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3223 _result
= (PyObject
*)wxPyFontEnumerator_GetFacenames(_arg0
);
3225 wxPyEndAllowThreads(__tstate
);
3226 if (PyErr_Occurred()) return NULL
;
3228 _resultobj
= _result
;
3233 #define new_wxBusyCursor(_swigarg0) (new wxBusyCursor(_swigarg0))
3234 static PyObject
*_wrap_new_wxBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3235 PyObject
* _resultobj
;
3236 wxBusyCursor
* _result
;
3237 wxCursor
* _arg0
= (wxCursor
*) wxHOURGLASS_CURSOR
;
3238 PyObject
* _argo0
= 0;
3239 char *_kwnames
[] = { "cursor", NULL
};
3243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxBusyCursor",_kwnames
,&_argo0
))
3246 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3247 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
3248 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxBusyCursor. Expected _wxCursor_p.");
3253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3254 _result
= (wxBusyCursor
*)new_wxBusyCursor(_arg0
);
3256 wxPyEndAllowThreads(__tstate
);
3257 if (PyErr_Occurred()) return NULL
;
3259 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBusyCursor_p");
3260 _resultobj
= Py_BuildValue("s",_ptemp
);
3263 _resultobj
= Py_None
;
3268 #define delete_wxBusyCursor(_swigobj) (delete _swigobj)
3269 static PyObject
*_wrap_delete_wxBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3270 PyObject
* _resultobj
;
3271 wxBusyCursor
* _arg0
;
3272 PyObject
* _argo0
= 0;
3273 char *_kwnames
[] = { "self", NULL
};
3276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxBusyCursor",_kwnames
,&_argo0
))
3279 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3280 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBusyCursor_p")) {
3281 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxBusyCursor. Expected _wxBusyCursor_p.");
3286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3287 delete_wxBusyCursor(_arg0
);
3289 wxPyEndAllowThreads(__tstate
);
3290 if (PyErr_Occurred()) return NULL
;
3291 } Py_INCREF(Py_None
);
3292 _resultobj
= Py_None
;
3296 #define new_wxWindowDisabler(_swigarg0) (new wxWindowDisabler(_swigarg0))
3297 static PyObject
*_wrap_new_wxWindowDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3298 PyObject
* _resultobj
;
3299 wxWindowDisabler
* _result
;
3300 wxWindow
* _arg0
= (wxWindow
*) NULL
;
3301 PyObject
* _argo0
= 0;
3302 char *_kwnames
[] = { "winToSkip", NULL
};
3306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxWindowDisabler",_kwnames
,&_argo0
))
3309 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3310 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3311 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxWindowDisabler. Expected _wxWindow_p.");
3316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3317 _result
= (wxWindowDisabler
*)new_wxWindowDisabler(_arg0
);
3319 wxPyEndAllowThreads(__tstate
);
3320 if (PyErr_Occurred()) return NULL
;
3322 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindowDisabler_p");
3323 _resultobj
= Py_BuildValue("s",_ptemp
);
3326 _resultobj
= Py_None
;
3331 #define delete_wxWindowDisabler(_swigobj) (delete _swigobj)
3332 static PyObject
*_wrap_delete_wxWindowDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3333 PyObject
* _resultobj
;
3334 wxWindowDisabler
* _arg0
;
3335 PyObject
* _argo0
= 0;
3336 char *_kwnames
[] = { "self", NULL
};
3339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxWindowDisabler",_kwnames
,&_argo0
))
3342 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3343 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindowDisabler_p")) {
3344 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxWindowDisabler. Expected _wxWindowDisabler_p.");
3349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3350 delete_wxWindowDisabler(_arg0
);
3352 wxPyEndAllowThreads(__tstate
);
3353 if (PyErr_Occurred()) return NULL
;
3354 } Py_INCREF(Py_None
);
3355 _resultobj
= Py_None
;
3359 #define new_wxMutexGuiLocker() (new wxMutexGuiLocker())
3360 static PyObject
*_wrap_new_wxMutexGuiLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3361 PyObject
* _resultobj
;
3362 wxMutexGuiLocker
* _result
;
3363 char *_kwnames
[] = { NULL
};
3367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxMutexGuiLocker",_kwnames
))
3370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3371 _result
= (wxMutexGuiLocker
*)new_wxMutexGuiLocker();
3373 wxPyEndAllowThreads(__tstate
);
3374 if (PyErr_Occurred()) return NULL
;
3376 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMutexGuiLocker_p");
3377 _resultobj
= Py_BuildValue("s",_ptemp
);
3380 _resultobj
= Py_None
;
3385 #define delete_wxMutexGuiLocker(_swigobj) (delete _swigobj)
3386 static PyObject
*_wrap_delete_wxMutexGuiLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3387 PyObject
* _resultobj
;
3388 wxMutexGuiLocker
* _arg0
;
3389 PyObject
* _argo0
= 0;
3390 char *_kwnames
[] = { "self", NULL
};
3393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxMutexGuiLocker",_kwnames
,&_argo0
))
3396 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3397 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMutexGuiLocker_p")) {
3398 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxMutexGuiLocker. Expected _wxMutexGuiLocker_p.");
3403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3404 delete_wxMutexGuiLocker(_arg0
);
3406 wxPyEndAllowThreads(__tstate
);
3407 if (PyErr_Occurred()) return NULL
;
3408 } Py_INCREF(Py_None
);
3409 _resultobj
= Py_None
;
3413 #define delete_wxTipProvider(_swigobj) (delete _swigobj)
3414 static PyObject
*_wrap_delete_wxTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3415 PyObject
* _resultobj
;
3416 wxTipProvider
* _arg0
;
3417 PyObject
* _argo0
= 0;
3418 char *_kwnames
[] = { "self", NULL
};
3421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxTipProvider",_kwnames
,&_argo0
))
3424 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3425 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTipProvider_p")) {
3426 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxTipProvider. Expected _wxTipProvider_p.");
3431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3432 delete_wxTipProvider(_arg0
);
3434 wxPyEndAllowThreads(__tstate
);
3435 if (PyErr_Occurred()) return NULL
;
3436 } Py_INCREF(Py_None
);
3437 _resultobj
= Py_None
;
3441 #define wxTipProvider_GetTip(_swigobj) (_swigobj->GetTip())
3442 static PyObject
*_wrap_wxTipProvider_GetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3443 PyObject
* _resultobj
;
3445 wxTipProvider
* _arg0
;
3446 PyObject
* _argo0
= 0;
3447 char *_kwnames
[] = { "self", NULL
};
3450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTipProvider_GetTip",_kwnames
,&_argo0
))
3453 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3454 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTipProvider_p")) {
3455 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTipProvider_GetTip. Expected _wxTipProvider_p.");
3460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3461 _result
= new wxString (wxTipProvider_GetTip(_arg0
));
3463 wxPyEndAllowThreads(__tstate
);
3464 if (PyErr_Occurred()) return NULL
;
3466 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3474 #define wxTipProvider_GetCurrentTip(_swigobj) (_swigobj->GetCurrentTip())
3475 static PyObject
*_wrap_wxTipProvider_GetCurrentTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3476 PyObject
* _resultobj
;
3478 wxTipProvider
* _arg0
;
3479 PyObject
* _argo0
= 0;
3480 char *_kwnames
[] = { "self", NULL
};
3483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTipProvider_GetCurrentTip",_kwnames
,&_argo0
))
3486 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3487 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTipProvider_p")) {
3488 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTipProvider_GetCurrentTip. Expected _wxTipProvider_p.");
3493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3494 _result
= (size_t )wxTipProvider_GetCurrentTip(_arg0
);
3496 wxPyEndAllowThreads(__tstate
);
3497 if (PyErr_Occurred()) return NULL
;
3498 } _resultobj
= Py_BuildValue("i",_result
);
3502 static void *SwigwxPyTipProviderTowxTipProvider(void *ptr
) {
3503 wxPyTipProvider
*src
;
3504 wxTipProvider
*dest
;
3505 src
= (wxPyTipProvider
*) ptr
;
3506 dest
= (wxTipProvider
*) src
;
3507 return (void *) dest
;
3510 #define new_wxPyTipProvider(_swigarg0) (new wxPyTipProvider(_swigarg0))
3511 static PyObject
*_wrap_new_wxPyTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3512 PyObject
* _resultobj
;
3513 wxPyTipProvider
* _result
;
3515 char *_kwnames
[] = { "currentTip", NULL
};
3519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:new_wxPyTipProvider",_kwnames
,&_arg0
))
3522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3523 _result
= (wxPyTipProvider
*)new_wxPyTipProvider(_arg0
);
3525 wxPyEndAllowThreads(__tstate
);
3526 if (PyErr_Occurred()) return NULL
;
3528 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTipProvider_p");
3529 _resultobj
= Py_BuildValue("s",_ptemp
);
3532 _resultobj
= Py_None
;
3537 static void *SwigwxGenericDragImageTowxObject(void *ptr
) {
3538 wxGenericDragImage
*src
;
3540 src
= (wxGenericDragImage
*) ptr
;
3541 dest
= (wxObject
*) src
;
3542 return (void *) dest
;
3545 #define new_wxDragImage(_swigarg0,_swigarg1) (new wxGenericDragImage(_swigarg0,_swigarg1))
3546 static PyObject
*_wrap_new_wxDragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3547 PyObject
* _resultobj
;
3548 wxGenericDragImage
* _result
;
3550 wxCursor
* _arg1
= (wxCursor
*) &wxNullCursor
;
3551 PyObject
* _argo0
= 0;
3552 PyObject
* _argo1
= 0;
3553 char *_kwnames
[] = { "image","cursor", NULL
};
3557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:new_wxDragImage",_kwnames
,&_argo0
,&_argo1
))
3560 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3561 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
3562 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDragImage. Expected _wxBitmap_p.");
3567 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3568 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCursor_p")) {
3569 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxDragImage. Expected _wxCursor_p.");
3574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3575 _result
= (wxGenericDragImage
*)new_wxDragImage(*_arg0
,*_arg1
);
3577 wxPyEndAllowThreads(__tstate
);
3578 if (PyErr_Occurred()) return NULL
;
3580 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
3581 _resultobj
= Py_BuildValue("s",_ptemp
);
3584 _resultobj
= Py_None
;
3589 #define new_wxDragIcon(_swigarg0,_swigarg1) (new wxGenericDragImage(_swigarg0,_swigarg1))
3590 static PyObject
*_wrap_new_wxDragIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3591 PyObject
* _resultobj
;
3592 wxGenericDragImage
* _result
;
3594 wxCursor
* _arg1
= (wxCursor
*) &wxNullCursor
;
3595 PyObject
* _argo0
= 0;
3596 PyObject
* _argo1
= 0;
3597 char *_kwnames
[] = { "image","cursor", NULL
};
3601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:new_wxDragIcon",_kwnames
,&_argo0
,&_argo1
))
3604 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3605 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
3606 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDragIcon. Expected _wxIcon_p.");
3611 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3612 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCursor_p")) {
3613 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxDragIcon. Expected _wxCursor_p.");
3618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3619 _result
= (wxGenericDragImage
*)new_wxDragIcon(*_arg0
,*_arg1
);
3621 wxPyEndAllowThreads(__tstate
);
3622 if (PyErr_Occurred()) return NULL
;
3624 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
3625 _resultobj
= Py_BuildValue("s",_ptemp
);
3628 _resultobj
= Py_None
;
3633 #define new_wxDragString(_swigarg0,_swigarg1) (new wxGenericDragImage(_swigarg0,_swigarg1))
3634 static PyObject
*_wrap_new_wxDragString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3635 PyObject
* _resultobj
;
3636 wxGenericDragImage
* _result
;
3638 wxCursor
* _arg1
= (wxCursor
*) &wxNullCursor
;
3639 PyObject
* _obj0
= 0;
3640 PyObject
* _argo1
= 0;
3641 char *_kwnames
[] = { "str","cursor", NULL
};
3645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:new_wxDragString",_kwnames
,&_obj0
,&_argo1
))
3648 #if PYTHON_API_VERSION >= 1009
3649 char* tmpPtr
; int tmpSize
;
3650 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
3651 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3654 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
3656 _arg0
= new wxString(tmpPtr
, tmpSize
);
3658 if (!PyString_Check(_obj0
)) {
3659 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3662 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
3666 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3667 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCursor_p")) {
3668 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxDragString. Expected _wxCursor_p.");
3673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3674 _result
= (wxGenericDragImage
*)new_wxDragString(*_arg0
,*_arg1
);
3676 wxPyEndAllowThreads(__tstate
);
3677 if (PyErr_Occurred()) return NULL
;
3679 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
3680 _resultobj
= Py_BuildValue("s",_ptemp
);
3683 _resultobj
= Py_None
;
3692 #define new_wxDragTreeItem(_swigarg0,_swigarg1) (new wxGenericDragImage(_swigarg0,_swigarg1))
3693 static PyObject
*_wrap_new_wxDragTreeItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3694 PyObject
* _resultobj
;
3695 wxGenericDragImage
* _result
;
3697 wxTreeItemId
* _arg1
;
3698 PyObject
* _argo0
= 0;
3699 PyObject
* _argo1
= 0;
3700 char *_kwnames
[] = { "treeCtrl","id", NULL
};
3704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:new_wxDragTreeItem",_kwnames
,&_argo0
,&_argo1
))
3707 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3708 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3709 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDragTreeItem. Expected _wxTreeCtrl_p.");
3714 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3715 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3716 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxDragTreeItem. Expected _wxTreeItemId_p.");
3721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3722 _result
= (wxGenericDragImage
*)new_wxDragTreeItem(*_arg0
,*_arg1
);
3724 wxPyEndAllowThreads(__tstate
);
3725 if (PyErr_Occurred()) return NULL
;
3727 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
3728 _resultobj
= Py_BuildValue("s",_ptemp
);
3731 _resultobj
= Py_None
;
3736 #define new_wxDragListItem(_swigarg0,_swigarg1) (new wxGenericDragImage(_swigarg0,_swigarg1))
3737 static PyObject
*_wrap_new_wxDragListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3738 PyObject
* _resultobj
;
3739 wxGenericDragImage
* _result
;
3742 PyObject
* _argo0
= 0;
3743 char *_kwnames
[] = { "listCtrl","id", NULL
};
3747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:new_wxDragListItem",_kwnames
,&_argo0
,&_arg1
))
3750 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3751 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3752 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDragListItem. Expected _wxListCtrl_p.");
3757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3758 _result
= (wxGenericDragImage
*)new_wxDragListItem(*_arg0
,_arg1
);
3760 wxPyEndAllowThreads(__tstate
);
3761 if (PyErr_Occurred()) return NULL
;
3763 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
3764 _resultobj
= Py_BuildValue("s",_ptemp
);
3767 _resultobj
= Py_None
;
3772 #define delete_wxGenericDragImage(_swigobj) (delete _swigobj)
3773 static PyObject
*_wrap_delete_wxDragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3774 PyObject
* _resultobj
;
3775 wxGenericDragImage
* _arg0
;
3776 PyObject
* _argo0
= 0;
3777 char *_kwnames
[] = { "self", NULL
};
3780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxDragImage",_kwnames
,&_argo0
))
3783 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3784 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3785 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxDragImage. Expected _wxGenericDragImage_p.");
3790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3791 delete_wxGenericDragImage(_arg0
);
3793 wxPyEndAllowThreads(__tstate
);
3794 if (PyErr_Occurred()) return NULL
;
3795 } Py_INCREF(Py_None
);
3796 _resultobj
= Py_None
;
3800 #define wxDragImage_SetBackingBitmap(_swigobj,_swigarg0) (_swigobj->SetBackingBitmap(_swigarg0))
3801 static PyObject
*_wrap_wxDragImage_SetBackingBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3802 PyObject
* _resultobj
;
3803 wxGenericDragImage
* _arg0
;
3805 PyObject
* _argo0
= 0;
3806 PyObject
* _argo1
= 0;
3807 char *_kwnames
[] = { "self","bitmap", NULL
};
3810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDragImage_SetBackingBitmap",_kwnames
,&_argo0
,&_argo1
))
3813 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3814 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3815 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_SetBackingBitmap. Expected _wxGenericDragImage_p.");
3820 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3821 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
3822 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDragImage_SetBackingBitmap. Expected _wxBitmap_p.");
3827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3828 wxDragImage_SetBackingBitmap(_arg0
,_arg1
);
3830 wxPyEndAllowThreads(__tstate
);
3831 if (PyErr_Occurred()) return NULL
;
3832 } Py_INCREF(Py_None
);
3833 _resultobj
= Py_None
;
3837 #define wxDragImage_BeginDrag(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->BeginDrag(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3838 static PyObject
*_wrap_wxDragImage_BeginDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3839 PyObject
* _resultobj
;
3841 wxGenericDragImage
* _arg0
;
3844 bool _arg3
= (bool ) FALSE
;
3845 wxRect
* _arg4
= (wxRect
*) NULL
;
3846 PyObject
* _argo0
= 0;
3848 PyObject
* _obj1
= 0;
3849 PyObject
* _argo2
= 0;
3850 int tempbool3
= (int) FALSE
;
3852 PyObject
* _obj4
= 0;
3853 char *_kwnames
[] = { "self","hotspot","window","fullScreen","rect", NULL
};
3856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|iO:wxDragImage_BeginDrag",_kwnames
,&_argo0
,&_obj1
,&_argo2
,&tempbool3
,&_obj4
))
3859 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3860 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3861 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_BeginDrag. Expected _wxGenericDragImage_p.");
3867 if (! wxPoint_helper(_obj1
, &_arg1
))
3871 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3872 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
3873 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxDragImage_BeginDrag. Expected _wxWindow_p.");
3877 _arg3
= (bool ) tempbool3
;
3881 if (! wxRect_helper(_obj4
, &_arg4
))
3885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3886 _result
= (bool )wxDragImage_BeginDrag(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
);
3888 wxPyEndAllowThreads(__tstate
);
3889 if (PyErr_Occurred()) return NULL
;
3890 } _resultobj
= Py_BuildValue("i",_result
);
3894 #define wxDragImage_BeginDrag2(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->BeginDrag(_swigarg0,_swigarg1,_swigarg2))
3895 static PyObject
*_wrap_wxDragImage_BeginDrag2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3896 PyObject
* _resultobj
;
3898 wxGenericDragImage
* _arg0
;
3902 PyObject
* _argo0
= 0;
3904 PyObject
* _obj1
= 0;
3905 PyObject
* _argo2
= 0;
3906 PyObject
* _argo3
= 0;
3907 char *_kwnames
[] = { "self","hotspot","window","fullScreenRect", NULL
};
3910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO:wxDragImage_BeginDrag2",_kwnames
,&_argo0
,&_obj1
,&_argo2
,&_argo3
))
3913 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3914 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3915 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_BeginDrag2. Expected _wxGenericDragImage_p.");
3921 if (! wxPoint_helper(_obj1
, &_arg1
))
3925 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3926 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
3927 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxDragImage_BeginDrag2. Expected _wxWindow_p.");
3932 if (_argo3
== Py_None
) { _arg3
= NULL
; }
3933 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxWindow_p")) {
3934 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxDragImage_BeginDrag2. Expected _wxWindow_p.");
3939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3940 _result
= (bool )wxDragImage_BeginDrag2(_arg0
,*_arg1
,_arg2
,_arg3
);
3942 wxPyEndAllowThreads(__tstate
);
3943 if (PyErr_Occurred()) return NULL
;
3944 } _resultobj
= Py_BuildValue("i",_result
);
3948 #define wxDragImage_EndDrag(_swigobj) (_swigobj->EndDrag())
3949 static PyObject
*_wrap_wxDragImage_EndDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3950 PyObject
* _resultobj
;
3952 wxGenericDragImage
* _arg0
;
3953 PyObject
* _argo0
= 0;
3954 char *_kwnames
[] = { "self", NULL
};
3957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDragImage_EndDrag",_kwnames
,&_argo0
))
3960 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3961 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3962 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_EndDrag. Expected _wxGenericDragImage_p.");
3967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3968 _result
= (bool )wxDragImage_EndDrag(_arg0
);
3970 wxPyEndAllowThreads(__tstate
);
3971 if (PyErr_Occurred()) return NULL
;
3972 } _resultobj
= Py_BuildValue("i",_result
);
3976 #define wxDragImage_Move(_swigobj,_swigarg0) (_swigobj->Move(_swigarg0))
3977 static PyObject
*_wrap_wxDragImage_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3978 PyObject
* _resultobj
;
3980 wxGenericDragImage
* _arg0
;
3982 PyObject
* _argo0
= 0;
3984 PyObject
* _obj1
= 0;
3985 char *_kwnames
[] = { "self","pt", NULL
};
3988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDragImage_Move",_kwnames
,&_argo0
,&_obj1
))
3991 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3992 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3993 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_Move. Expected _wxGenericDragImage_p.");
3999 if (! wxPoint_helper(_obj1
, &_arg1
))
4003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4004 _result
= (bool )wxDragImage_Move(_arg0
,*_arg1
);
4006 wxPyEndAllowThreads(__tstate
);
4007 if (PyErr_Occurred()) return NULL
;
4008 } _resultobj
= Py_BuildValue("i",_result
);
4012 #define wxDragImage_Show(_swigobj) (_swigobj->Show())
4013 static PyObject
*_wrap_wxDragImage_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4014 PyObject
* _resultobj
;
4016 wxGenericDragImage
* _arg0
;
4017 PyObject
* _argo0
= 0;
4018 char *_kwnames
[] = { "self", NULL
};
4021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDragImage_Show",_kwnames
,&_argo0
))
4024 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4025 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
4026 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_Show. Expected _wxGenericDragImage_p.");
4031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4032 _result
= (bool )wxDragImage_Show(_arg0
);
4034 wxPyEndAllowThreads(__tstate
);
4035 if (PyErr_Occurred()) return NULL
;
4036 } _resultobj
= Py_BuildValue("i",_result
);
4040 #define wxDragImage_Hide(_swigobj) (_swigobj->Hide())
4041 static PyObject
*_wrap_wxDragImage_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4042 PyObject
* _resultobj
;
4044 wxGenericDragImage
* _arg0
;
4045 PyObject
* _argo0
= 0;
4046 char *_kwnames
[] = { "self", NULL
};
4049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDragImage_Hide",_kwnames
,&_argo0
))
4052 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4053 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
4054 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_Hide. Expected _wxGenericDragImage_p.");
4059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4060 _result
= (bool )wxDragImage_Hide(_arg0
);
4062 wxPyEndAllowThreads(__tstate
);
4063 if (PyErr_Occurred()) return NULL
;
4064 } _resultobj
= Py_BuildValue("i",_result
);
4068 #define wxDragImage_GetImageRect(_swigobj,_swigarg0) (_swigobj->GetImageRect(_swigarg0))
4069 static PyObject
*_wrap_wxDragImage_GetImageRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4070 PyObject
* _resultobj
;
4072 wxGenericDragImage
* _arg0
;
4074 PyObject
* _argo0
= 0;
4076 PyObject
* _obj1
= 0;
4077 char *_kwnames
[] = { "self","pos", NULL
};
4081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDragImage_GetImageRect",_kwnames
,&_argo0
,&_obj1
))
4084 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4085 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
4086 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_GetImageRect. Expected _wxGenericDragImage_p.");
4092 if (! wxPoint_helper(_obj1
, &_arg1
))
4096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4097 _result
= new wxRect (wxDragImage_GetImageRect(_arg0
,*_arg1
));
4099 wxPyEndAllowThreads(__tstate
);
4100 if (PyErr_Occurred()) return NULL
;
4101 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
4102 _resultobj
= Py_BuildValue("s",_ptemp
);
4106 #define wxDragImage_RedrawImage(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->RedrawImage(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4107 static PyObject
*_wrap_wxDragImage_RedrawImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4108 PyObject
* _resultobj
;
4110 wxGenericDragImage
* _arg0
;
4115 PyObject
* _argo0
= 0;
4117 PyObject
* _obj1
= 0;
4119 PyObject
* _obj2
= 0;
4122 char *_kwnames
[] = { "self","oldPos","newPos","eraseOld","drawNew", NULL
};
4125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOii:wxDragImage_RedrawImage",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&tempbool3
,&tempbool4
))
4128 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4129 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
4130 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_RedrawImage. Expected _wxGenericDragImage_p.");
4136 if (! wxPoint_helper(_obj1
, &_arg1
))
4141 if (! wxPoint_helper(_obj2
, &_arg2
))
4144 _arg3
= (bool ) tempbool3
;
4145 _arg4
= (bool ) tempbool4
;
4147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4148 _result
= (bool )wxDragImage_RedrawImage(_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
);
4150 wxPyEndAllowThreads(__tstate
);
4151 if (PyErr_Occurred()) return NULL
;
4152 } _resultobj
= Py_BuildValue("i",_result
);
4156 static void *SwigwxPyTimerTowxObject(void *ptr
) {
4159 src
= (wxPyTimer
*) ptr
;
4160 dest
= (wxObject
*) src
;
4161 return (void *) dest
;
4164 #define new_wxPyTimer(_swigarg0) (new wxPyTimer(_swigarg0))
4165 static PyObject
*_wrap_new_wxPyTimer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4166 PyObject
* _resultobj
;
4167 wxPyTimer
* _result
;
4169 PyObject
* _obj0
= 0;
4170 char *_kwnames
[] = { "notify", NULL
};
4174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxPyTimer",_kwnames
,&_obj0
))
4180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4181 _result
= (wxPyTimer
*)new_wxPyTimer(_arg0
);
4183 wxPyEndAllowThreads(__tstate
);
4184 if (PyErr_Occurred()) return NULL
;
4186 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTimer_p");
4187 _resultobj
= Py_BuildValue("s",_ptemp
);
4190 _resultobj
= Py_None
;
4195 #define delete_wxPyTimer(_swigobj) (delete _swigobj)
4196 static PyObject
*_wrap_delete_wxPyTimer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4197 PyObject
* _resultobj
;
4199 PyObject
* _argo0
= 0;
4200 char *_kwnames
[] = { "self", NULL
};
4203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPyTimer",_kwnames
,&_argo0
))
4206 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4207 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4208 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPyTimer. Expected _wxPyTimer_p.");
4213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4214 delete_wxPyTimer(_arg0
);
4216 wxPyEndAllowThreads(__tstate
);
4217 if (PyErr_Occurred()) return NULL
;
4218 } Py_INCREF(Py_None
);
4219 _resultobj
= Py_None
;
4223 #define wxPyTimer_GetInterval(_swigobj) (_swigobj->GetInterval())
4224 static PyObject
*_wrap_wxPyTimer_GetInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4225 PyObject
* _resultobj
;
4228 PyObject
* _argo0
= 0;
4229 char *_kwnames
[] = { "self", NULL
};
4232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_GetInterval",_kwnames
,&_argo0
))
4235 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4236 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4237 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_GetInterval. Expected _wxPyTimer_p.");
4242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4243 _result
= (int )wxPyTimer_GetInterval(_arg0
);
4245 wxPyEndAllowThreads(__tstate
);
4246 if (PyErr_Occurred()) return NULL
;
4247 } _resultobj
= Py_BuildValue("i",_result
);
4251 #define wxPyTimer_IsOneShot(_swigobj) (_swigobj->IsOneShot())
4252 static PyObject
*_wrap_wxPyTimer_IsOneShot(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4253 PyObject
* _resultobj
;
4256 PyObject
* _argo0
= 0;
4257 char *_kwnames
[] = { "self", NULL
};
4260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_IsOneShot",_kwnames
,&_argo0
))
4263 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4264 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4265 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_IsOneShot. Expected _wxPyTimer_p.");
4270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4271 _result
= (bool )wxPyTimer_IsOneShot(_arg0
);
4273 wxPyEndAllowThreads(__tstate
);
4274 if (PyErr_Occurred()) return NULL
;
4275 } _resultobj
= Py_BuildValue("i",_result
);
4279 #define wxPyTimer_IsRunning(_swigobj) (_swigobj->IsRunning())
4280 static PyObject
*_wrap_wxPyTimer_IsRunning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4281 PyObject
* _resultobj
;
4284 PyObject
* _argo0
= 0;
4285 char *_kwnames
[] = { "self", NULL
};
4288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_IsRunning",_kwnames
,&_argo0
))
4291 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4292 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4293 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_IsRunning. Expected _wxPyTimer_p.");
4298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4299 _result
= (bool )wxPyTimer_IsRunning(_arg0
);
4301 wxPyEndAllowThreads(__tstate
);
4302 if (PyErr_Occurred()) return NULL
;
4303 } _resultobj
= Py_BuildValue("i",_result
);
4307 #define wxPyTimer_SetOwner(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetOwner(_swigarg0,_swigarg1))
4308 static PyObject
*_wrap_wxPyTimer_SetOwner(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4309 PyObject
* _resultobj
;
4311 wxEvtHandler
* _arg1
;
4312 int _arg2
= (int ) -1;
4313 PyObject
* _argo0
= 0;
4314 PyObject
* _argo1
= 0;
4315 char *_kwnames
[] = { "self","owner","id", NULL
};
4318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxPyTimer_SetOwner",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
4321 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4322 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4323 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_SetOwner. Expected _wxPyTimer_p.");
4328 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4329 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
4330 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyTimer_SetOwner. Expected _wxEvtHandler_p.");
4335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4336 wxPyTimer_SetOwner(_arg0
,_arg1
,_arg2
);
4338 wxPyEndAllowThreads(__tstate
);
4339 if (PyErr_Occurred()) return NULL
;
4340 } Py_INCREF(Py_None
);
4341 _resultobj
= Py_None
;
4345 #define wxPyTimer_Start(_swigobj,_swigarg0,_swigarg1) (_swigobj->Start(_swigarg0,_swigarg1))
4346 static PyObject
*_wrap_wxPyTimer_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4347 PyObject
* _resultobj
;
4349 int _arg1
= (int ) -1;
4350 int _arg2
= (int ) FALSE
;
4351 PyObject
* _argo0
= 0;
4352 char *_kwnames
[] = { "self","milliseconds","oneShot", NULL
};
4355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxPyTimer_Start",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4358 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4359 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4360 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_Start. Expected _wxPyTimer_p.");
4365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4366 wxPyTimer_Start(_arg0
,_arg1
,_arg2
);
4368 wxPyEndAllowThreads(__tstate
);
4369 if (PyErr_Occurred()) return NULL
;
4370 } Py_INCREF(Py_None
);
4371 _resultobj
= Py_None
;
4375 #define wxPyTimer_Stop(_swigobj) (_swigobj->Stop())
4376 static PyObject
*_wrap_wxPyTimer_Stop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4377 PyObject
* _resultobj
;
4379 PyObject
* _argo0
= 0;
4380 char *_kwnames
[] = { "self", NULL
};
4383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_Stop",_kwnames
,&_argo0
))
4386 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4387 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4388 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_Stop. Expected _wxPyTimer_p.");
4393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4394 wxPyTimer_Stop(_arg0
);
4396 wxPyEndAllowThreads(__tstate
);
4397 if (PyErr_Occurred()) return NULL
;
4398 } Py_INCREF(Py_None
);
4399 _resultobj
= Py_None
;
4403 #define new_wxStopWatch() (new wxStopWatch())
4404 static PyObject
*_wrap_new_wxStopWatch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4405 PyObject
* _resultobj
;
4406 wxStopWatch
* _result
;
4407 char *_kwnames
[] = { NULL
};
4411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxStopWatch",_kwnames
))
4414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4415 _result
= (wxStopWatch
*)new_wxStopWatch();
4417 wxPyEndAllowThreads(__tstate
);
4418 if (PyErr_Occurred()) return NULL
;
4420 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStopWatch_p");
4421 _resultobj
= Py_BuildValue("s",_ptemp
);
4424 _resultobj
= Py_None
;
4429 #define delete_wxStopWatch(_swigobj) (delete _swigobj)
4430 static PyObject
*_wrap_delete_wxStopWatch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4431 PyObject
* _resultobj
;
4432 wxStopWatch
* _arg0
;
4433 PyObject
* _argo0
= 0;
4434 char *_kwnames
[] = { "self", NULL
};
4437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxStopWatch",_kwnames
,&_argo0
))
4440 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4441 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStopWatch_p")) {
4442 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxStopWatch. Expected _wxStopWatch_p.");
4447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4448 delete_wxStopWatch(_arg0
);
4450 wxPyEndAllowThreads(__tstate
);
4451 if (PyErr_Occurred()) return NULL
;
4452 } Py_INCREF(Py_None
);
4453 _resultobj
= Py_None
;
4457 #define wxStopWatch_Start(_swigobj,_swigarg0) (_swigobj->Start(_swigarg0))
4458 static PyObject
*_wrap_wxStopWatch_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4459 PyObject
* _resultobj
;
4460 wxStopWatch
* _arg0
;
4461 long _arg1
= (long ) 0;
4462 PyObject
* _argo0
= 0;
4463 char *_kwnames
[] = { "self","t", NULL
};
4466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|l:wxStopWatch_Start",_kwnames
,&_argo0
,&_arg1
))
4469 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4470 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStopWatch_p")) {
4471 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStopWatch_Start. Expected _wxStopWatch_p.");
4476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4477 wxStopWatch_Start(_arg0
,_arg1
);
4479 wxPyEndAllowThreads(__tstate
);
4480 if (PyErr_Occurred()) return NULL
;
4481 } Py_INCREF(Py_None
);
4482 _resultobj
= Py_None
;
4486 #define wxStopWatch_Pause(_swigobj) (_swigobj->Pause())
4487 static PyObject
*_wrap_wxStopWatch_Pause(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4488 PyObject
* _resultobj
;
4489 wxStopWatch
* _arg0
;
4490 PyObject
* _argo0
= 0;
4491 char *_kwnames
[] = { "self", NULL
};
4494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStopWatch_Pause",_kwnames
,&_argo0
))
4497 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4498 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStopWatch_p")) {
4499 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStopWatch_Pause. Expected _wxStopWatch_p.");
4504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4505 wxStopWatch_Pause(_arg0
);
4507 wxPyEndAllowThreads(__tstate
);
4508 if (PyErr_Occurred()) return NULL
;
4509 } Py_INCREF(Py_None
);
4510 _resultobj
= Py_None
;
4514 #define wxStopWatch_Resume(_swigobj) (_swigobj->Resume())
4515 static PyObject
*_wrap_wxStopWatch_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4516 PyObject
* _resultobj
;
4517 wxStopWatch
* _arg0
;
4518 PyObject
* _argo0
= 0;
4519 char *_kwnames
[] = { "self", NULL
};
4522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStopWatch_Resume",_kwnames
,&_argo0
))
4525 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4526 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStopWatch_p")) {
4527 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStopWatch_Resume. Expected _wxStopWatch_p.");
4532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4533 wxStopWatch_Resume(_arg0
);
4535 wxPyEndAllowThreads(__tstate
);
4536 if (PyErr_Occurred()) return NULL
;
4537 } Py_INCREF(Py_None
);
4538 _resultobj
= Py_None
;
4542 #define wxStopWatch_Time(_swigobj) (_swigobj->Time())
4543 static PyObject
*_wrap_wxStopWatch_Time(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4544 PyObject
* _resultobj
;
4546 wxStopWatch
* _arg0
;
4547 PyObject
* _argo0
= 0;
4548 char *_kwnames
[] = { "self", NULL
};
4551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStopWatch_Time",_kwnames
,&_argo0
))
4554 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4555 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStopWatch_p")) {
4556 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStopWatch_Time. Expected _wxStopWatch_p.");
4561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4562 _result
= (long )wxStopWatch_Time(_arg0
);
4564 wxPyEndAllowThreads(__tstate
);
4565 if (PyErr_Occurred()) return NULL
;
4566 } _resultobj
= Py_BuildValue("l",_result
);
4570 #define new_wxLog() (new wxLog())
4571 static PyObject
*_wrap_new_wxLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4572 PyObject
* _resultobj
;
4574 char *_kwnames
[] = { NULL
};
4578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLog",_kwnames
))
4581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4582 _result
= (wxLog
*)new_wxLog();
4584 wxPyEndAllowThreads(__tstate
);
4585 if (PyErr_Occurred()) return NULL
;
4587 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
4588 _resultobj
= Py_BuildValue("s",_ptemp
);
4591 _resultobj
= Py_None
;
4596 static PyObject
*_wrap_wxLog_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4597 PyObject
* _resultobj
;
4599 char *_kwnames
[] = { NULL
};
4602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_IsEnabled",_kwnames
))
4605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4606 _result
= (bool )wxLog::IsEnabled();
4608 wxPyEndAllowThreads(__tstate
);
4609 if (PyErr_Occurred()) return NULL
;
4610 } _resultobj
= Py_BuildValue("i",_result
);
4614 static PyObject
*_wrap_wxLog_EnableLogging(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4615 PyObject
* _resultobj
;
4617 bool _arg0
= (bool ) TRUE
;
4618 int tempbool0
= (int) TRUE
;
4619 char *_kwnames
[] = { "doIt", NULL
};
4622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:wxLog_EnableLogging",_kwnames
,&tempbool0
))
4624 _arg0
= (bool ) tempbool0
;
4626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4627 _result
= (bool )wxLog::EnableLogging(_arg0
);
4629 wxPyEndAllowThreads(__tstate
);
4630 if (PyErr_Occurred()) return NULL
;
4631 } _resultobj
= Py_BuildValue("i",_result
);
4635 static PyObject
*_wrap_wxLog_OnLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4636 PyObject
* _resultobj
;
4639 int _arg2
= (int ) 0;
4640 PyObject
* _argo0
= 0;
4641 char *_kwnames
[] = { "level","szString","t", NULL
};
4644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Os|i:wxLog_OnLog",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4647 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4648 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogLevel_p")) {
4649 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_OnLog. Expected _wxLogLevel_p.");
4654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4655 wxLog::OnLog(*_arg0
,_arg1
,_arg2
);
4657 wxPyEndAllowThreads(__tstate
);
4658 if (PyErr_Occurred()) return NULL
;
4659 } Py_INCREF(Py_None
);
4660 _resultobj
= Py_None
;
4664 #define wxLog_Flush(_swigobj) (_swigobj->Flush())
4665 static PyObject
*_wrap_wxLog_Flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4666 PyObject
* _resultobj
;
4668 PyObject
* _argo0
= 0;
4669 char *_kwnames
[] = { "self", NULL
};
4672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_Flush",_kwnames
,&_argo0
))
4675 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4676 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
4677 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_Flush. Expected _wxLog_p.");
4682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4685 wxPyEndAllowThreads(__tstate
);
4686 if (PyErr_Occurred()) return NULL
;
4687 } Py_INCREF(Py_None
);
4688 _resultobj
= Py_None
;
4692 #define wxLog_HasPendingMessages(_swigobj) (_swigobj->HasPendingMessages())
4693 static PyObject
*_wrap_wxLog_HasPendingMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4694 PyObject
* _resultobj
;
4697 PyObject
* _argo0
= 0;
4698 char *_kwnames
[] = { "self", NULL
};
4701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_HasPendingMessages",_kwnames
,&_argo0
))
4704 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4705 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
4706 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_HasPendingMessages. Expected _wxLog_p.");
4711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4712 _result
= (bool )wxLog_HasPendingMessages(_arg0
);
4714 wxPyEndAllowThreads(__tstate
);
4715 if (PyErr_Occurred()) return NULL
;
4716 } _resultobj
= Py_BuildValue("i",_result
);
4720 static PyObject
*_wrap_wxLog_FlushActive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4721 PyObject
* _resultobj
;
4722 char *_kwnames
[] = { NULL
};
4725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_FlushActive",_kwnames
))
4728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4729 wxLog::FlushActive();
4731 wxPyEndAllowThreads(__tstate
);
4732 if (PyErr_Occurred()) return NULL
;
4733 } Py_INCREF(Py_None
);
4734 _resultobj
= Py_None
;
4738 static PyObject
*_wrap_wxLog_GetActiveTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4739 PyObject
* _resultobj
;
4741 char *_kwnames
[] = { NULL
};
4745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_GetActiveTarget",_kwnames
))
4748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4749 _result
= (wxLog
*)wxLog::GetActiveTarget();
4751 wxPyEndAllowThreads(__tstate
);
4752 if (PyErr_Occurred()) return NULL
;
4754 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
4755 _resultobj
= Py_BuildValue("s",_ptemp
);
4758 _resultobj
= Py_None
;
4763 static PyObject
*_wrap_wxLog_SetActiveTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4764 PyObject
* _resultobj
;
4767 PyObject
* _argo0
= 0;
4768 char *_kwnames
[] = { "pLogger", NULL
};
4772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_SetActiveTarget",_kwnames
,&_argo0
))
4775 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4776 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
4777 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_SetActiveTarget. Expected _wxLog_p.");
4782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4783 _result
= (wxLog
*)wxLog::SetActiveTarget(_arg0
);
4785 wxPyEndAllowThreads(__tstate
);
4786 if (PyErr_Occurred()) return NULL
;
4788 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
4789 _resultobj
= Py_BuildValue("s",_ptemp
);
4792 _resultobj
= Py_None
;
4797 static PyObject
*_wrap_wxLog_Suspend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4798 PyObject
* _resultobj
;
4799 char *_kwnames
[] = { NULL
};
4802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_Suspend",_kwnames
))
4805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4808 wxPyEndAllowThreads(__tstate
);
4809 if (PyErr_Occurred()) return NULL
;
4810 } Py_INCREF(Py_None
);
4811 _resultobj
= Py_None
;
4815 static PyObject
*_wrap_wxLog_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4816 PyObject
* _resultobj
;
4817 char *_kwnames
[] = { NULL
};
4820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_Resume",_kwnames
))
4823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4826 wxPyEndAllowThreads(__tstate
);
4827 if (PyErr_Occurred()) return NULL
;
4828 } Py_INCREF(Py_None
);
4829 _resultobj
= Py_None
;
4833 #define wxLog_SetVerbose(_swigobj,_swigarg0) (_swigobj->SetVerbose(_swigarg0))
4834 static PyObject
*_wrap_wxLog_SetVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4835 PyObject
* _resultobj
;
4837 bool _arg1
= (bool ) TRUE
;
4838 PyObject
* _argo0
= 0;
4839 int tempbool1
= (int) TRUE
;
4840 char *_kwnames
[] = { "self","bVerbose", NULL
};
4843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxLog_SetVerbose",_kwnames
,&_argo0
,&tempbool1
))
4846 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4847 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
4848 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_SetVerbose. Expected _wxLog_p.");
4852 _arg1
= (bool ) tempbool1
;
4854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4855 wxLog_SetVerbose(_arg0
,_arg1
);
4857 wxPyEndAllowThreads(__tstate
);
4858 if (PyErr_Occurred()) return NULL
;
4859 } Py_INCREF(Py_None
);
4860 _resultobj
= Py_None
;
4864 static PyObject
*_wrap_wxLog_DontCreateOnDemand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4865 PyObject
* _resultobj
;
4866 char *_kwnames
[] = { NULL
};
4869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_DontCreateOnDemand",_kwnames
))
4872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4873 wxLog::DontCreateOnDemand();
4875 wxPyEndAllowThreads(__tstate
);
4876 if (PyErr_Occurred()) return NULL
;
4877 } Py_INCREF(Py_None
);
4878 _resultobj
= Py_None
;
4882 static PyObject
*_wrap_wxLog_SetTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4883 PyObject
* _resultobj
;
4884 wxTraceMask
* _arg0
;
4885 PyObject
* _argo0
= 0;
4886 char *_kwnames
[] = { "ulMask", NULL
};
4889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_SetTraceMask",_kwnames
,&_argo0
))
4892 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4893 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTraceMask_p")) {
4894 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_SetTraceMask. Expected _wxTraceMask_p.");
4899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4900 wxLog::SetTraceMask(*_arg0
);
4902 wxPyEndAllowThreads(__tstate
);
4903 if (PyErr_Occurred()) return NULL
;
4904 } Py_INCREF(Py_None
);
4905 _resultobj
= Py_None
;
4909 static PyObject
*_wrap_wxLog_AddTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4910 PyObject
* _resultobj
;
4912 PyObject
* _obj0
= 0;
4913 char *_kwnames
[] = { "str", NULL
};
4916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_AddTraceMask",_kwnames
,&_obj0
))
4919 #if PYTHON_API_VERSION >= 1009
4920 char* tmpPtr
; int tmpSize
;
4921 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
4922 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4925 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
4927 _arg0
= new wxString(tmpPtr
, tmpSize
);
4929 if (!PyString_Check(_obj0
)) {
4930 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4933 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
4937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4938 wxLog::AddTraceMask(*_arg0
);
4940 wxPyEndAllowThreads(__tstate
);
4941 if (PyErr_Occurred()) return NULL
;
4942 } Py_INCREF(Py_None
);
4943 _resultobj
= Py_None
;
4951 static PyObject
*_wrap_wxLog_RemoveTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4952 PyObject
* _resultobj
;
4954 PyObject
* _obj0
= 0;
4955 char *_kwnames
[] = { "str", NULL
};
4958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_RemoveTraceMask",_kwnames
,&_obj0
))
4961 #if PYTHON_API_VERSION >= 1009
4962 char* tmpPtr
; int tmpSize
;
4963 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
4964 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4967 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
4969 _arg0
= new wxString(tmpPtr
, tmpSize
);
4971 if (!PyString_Check(_obj0
)) {
4972 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4975 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
4979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4980 wxLog::RemoveTraceMask(*_arg0
);
4982 wxPyEndAllowThreads(__tstate
);
4983 if (PyErr_Occurred()) return NULL
;
4984 } Py_INCREF(Py_None
);
4985 _resultobj
= Py_None
;
4993 static PyObject
*_wrap_wxLog_ClearTraceMasks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4994 PyObject
* _resultobj
;
4995 char *_kwnames
[] = { NULL
};
4998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_ClearTraceMasks",_kwnames
))
5001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5002 wxLog::ClearTraceMasks();
5004 wxPyEndAllowThreads(__tstate
);
5005 if (PyErr_Occurred()) return NULL
;
5006 } Py_INCREF(Py_None
);
5007 _resultobj
= Py_None
;
5011 static PyObject
*_wrap_wxLog_SetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5012 PyObject
* _resultobj
;
5014 char *_kwnames
[] = { "ts", NULL
};
5017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLog_SetTimestamp",_kwnames
,&_arg0
))
5020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5021 wxLog::SetTimestamp(_arg0
);
5023 wxPyEndAllowThreads(__tstate
);
5024 if (PyErr_Occurred()) return NULL
;
5025 } Py_INCREF(Py_None
);
5026 _resultobj
= Py_None
;
5030 static PyObject
*_wrap_wxLog_GetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5031 PyObject
* _resultobj
;
5033 char *_kwnames
[] = { NULL
};
5036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_GetTimestamp",_kwnames
))
5039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5040 _result
= (wxChar
*)wxLog::GetTimestamp();
5042 wxPyEndAllowThreads(__tstate
);
5043 if (PyErr_Occurred()) return NULL
;
5044 } _resultobj
= Py_BuildValue("s", _result
);
5048 #define wxLog_GetVerbose(_swigobj) (_swigobj->GetVerbose())
5049 static PyObject
*_wrap_wxLog_GetVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5050 PyObject
* _resultobj
;
5053 PyObject
* _argo0
= 0;
5054 char *_kwnames
[] = { "self", NULL
};
5057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_GetVerbose",_kwnames
,&_argo0
))
5060 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5061 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
5062 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_GetVerbose. Expected _wxLog_p.");
5067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5068 _result
= (bool )wxLog_GetVerbose(_arg0
);
5070 wxPyEndAllowThreads(__tstate
);
5071 if (PyErr_Occurred()) return NULL
;
5072 } _resultobj
= Py_BuildValue("i",_result
);
5076 static PyObject
*_wrap_wxLog_GetTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5077 PyObject
* _resultobj
;
5078 wxTraceMask
* _result
;
5079 char *_kwnames
[] = { NULL
};
5083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_GetTraceMask",_kwnames
))
5086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5087 _result
= new wxTraceMask (wxLog::GetTraceMask());
5089 wxPyEndAllowThreads(__tstate
);
5090 if (PyErr_Occurred()) return NULL
;
5091 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTraceMask_p");
5092 _resultobj
= Py_BuildValue("s",_ptemp
);
5096 static PyObject
*_wrap_wxLog_IsAllowedTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5097 PyObject
* _resultobj
;
5100 char *_kwnames
[] = { "mask", NULL
};
5103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLog_IsAllowedTraceMask",_kwnames
,&_arg0
))
5106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5107 _result
= (bool )wxLog::IsAllowedTraceMask(_arg0
);
5109 wxPyEndAllowThreads(__tstate
);
5110 if (PyErr_Occurred()) return NULL
;
5111 } _resultobj
= Py_BuildValue("i",_result
);
5115 static wxString
wxLog_TimeStamp(wxLog
*self
) {
5117 wxLog::TimeStamp(&msg
);
5120 static PyObject
*_wrap_wxLog_TimeStamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5121 PyObject
* _resultobj
;
5124 PyObject
* _argo0
= 0;
5125 char *_kwnames
[] = { "self", NULL
};
5128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_TimeStamp",_kwnames
,&_argo0
))
5131 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5132 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
5133 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_TimeStamp. Expected _wxLog_p.");
5138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5139 _result
= new wxString (wxLog_TimeStamp(_arg0
));
5141 wxPyEndAllowThreads(__tstate
);
5142 if (PyErr_Occurred()) return NULL
;
5144 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5152 static void *SwigwxLogStderrTowxLog(void *ptr
) {
5155 src
= (wxLogStderr
*) ptr
;
5156 dest
= (wxLog
*) src
;
5157 return (void *) dest
;
5160 #define new_wxLogStderr() (new wxLogStderr())
5161 static PyObject
*_wrap_new_wxLogStderr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5162 PyObject
* _resultobj
;
5163 wxLogStderr
* _result
;
5164 char *_kwnames
[] = { NULL
};
5168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLogStderr",_kwnames
))
5171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5172 _result
= (wxLogStderr
*)new_wxLogStderr();
5174 wxPyEndAllowThreads(__tstate
);
5175 if (PyErr_Occurred()) return NULL
;
5177 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogStderr_p");
5178 _resultobj
= Py_BuildValue("s",_ptemp
);
5181 _resultobj
= Py_None
;
5186 static void *SwigwxLogTextCtrlTowxLog(void *ptr
) {
5189 src
= (wxLogTextCtrl
*) ptr
;
5190 dest
= (wxLog
*) src
;
5191 return (void *) dest
;
5194 #define new_wxLogTextCtrl(_swigarg0) (new wxLogTextCtrl(_swigarg0))
5195 static PyObject
*_wrap_new_wxLogTextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5196 PyObject
* _resultobj
;
5197 wxLogTextCtrl
* _result
;
5199 PyObject
* _argo0
= 0;
5200 char *_kwnames
[] = { "pTextCtrl", NULL
};
5204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxLogTextCtrl",_kwnames
,&_argo0
))
5207 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5208 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
5209 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxLogTextCtrl. Expected _wxTextCtrl_p.");
5214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5215 _result
= (wxLogTextCtrl
*)new_wxLogTextCtrl(_arg0
);
5217 wxPyEndAllowThreads(__tstate
);
5218 if (PyErr_Occurred()) return NULL
;
5220 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogTextCtrl_p");
5221 _resultobj
= Py_BuildValue("s",_ptemp
);
5224 _resultobj
= Py_None
;
5229 static void *SwigwxLogGuiTowxLog(void *ptr
) {
5232 src
= (wxLogGui
*) ptr
;
5233 dest
= (wxLog
*) src
;
5234 return (void *) dest
;
5237 #define new_wxLogGui() (new wxLogGui())
5238 static PyObject
*_wrap_new_wxLogGui(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5239 PyObject
* _resultobj
;
5241 char *_kwnames
[] = { NULL
};
5245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLogGui",_kwnames
))
5248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5249 _result
= (wxLogGui
*)new_wxLogGui();
5251 wxPyEndAllowThreads(__tstate
);
5252 if (PyErr_Occurred()) return NULL
;
5254 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogGui_p");
5255 _resultobj
= Py_BuildValue("s",_ptemp
);
5258 _resultobj
= Py_None
;
5263 static void *SwigwxLogWindowTowxLog(void *ptr
) {
5266 src
= (wxLogWindow
*) ptr
;
5267 dest
= (wxLog
*) src
;
5268 return (void *) dest
;
5271 #define new_wxLogWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxLogWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5272 static PyObject
*_wrap_new_wxLogWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5273 PyObject
* _resultobj
;
5274 wxLogWindow
* _result
;
5277 bool _arg2
= (bool ) TRUE
;
5278 bool _arg3
= (bool ) TRUE
;
5279 PyObject
* _argo0
= 0;
5280 int tempbool2
= (int) TRUE
;
5281 int tempbool3
= (int) TRUE
;
5282 char *_kwnames
[] = { "pParent","szTitle","bShow","bPassToOld", NULL
};
5286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Os|ii:new_wxLogWindow",_kwnames
,&_argo0
,&_arg1
,&tempbool2
,&tempbool3
))
5289 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5290 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
5291 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxLogWindow. Expected _wxFrame_p.");
5295 _arg2
= (bool ) tempbool2
;
5296 _arg3
= (bool ) tempbool3
;
5298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5299 _result
= (wxLogWindow
*)new_wxLogWindow(_arg0
,_arg1
,_arg2
,_arg3
);
5301 wxPyEndAllowThreads(__tstate
);
5302 if (PyErr_Occurred()) return NULL
;
5304 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogWindow_p");
5305 _resultobj
= Py_BuildValue("s",_ptemp
);
5308 _resultobj
= Py_None
;
5313 #define wxLogWindow_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
5314 static PyObject
*_wrap_wxLogWindow_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5315 PyObject
* _resultobj
;
5316 wxLogWindow
* _arg0
;
5317 bool _arg1
= (bool ) TRUE
;
5318 PyObject
* _argo0
= 0;
5319 int tempbool1
= (int) TRUE
;
5320 char *_kwnames
[] = { "self","bShow", NULL
};
5323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxLogWindow_Show",_kwnames
,&_argo0
,&tempbool1
))
5326 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5327 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
5328 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_Show. Expected _wxLogWindow_p.");
5332 _arg1
= (bool ) tempbool1
;
5334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5335 wxLogWindow_Show(_arg0
,_arg1
);
5337 wxPyEndAllowThreads(__tstate
);
5338 if (PyErr_Occurred()) return NULL
;
5339 } Py_INCREF(Py_None
);
5340 _resultobj
= Py_None
;
5344 #define wxLogWindow_GetFrame(_swigobj) (_swigobj->GetFrame())
5345 static PyObject
*_wrap_wxLogWindow_GetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5346 PyObject
* _resultobj
;
5348 wxLogWindow
* _arg0
;
5349 PyObject
* _argo0
= 0;
5350 char *_kwnames
[] = { "self", NULL
};
5353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogWindow_GetFrame",_kwnames
,&_argo0
))
5356 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5357 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
5358 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_GetFrame. Expected _wxLogWindow_p.");
5363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5364 _result
= (wxFrame
*)wxLogWindow_GetFrame(_arg0
);
5366 wxPyEndAllowThreads(__tstate
);
5367 if (PyErr_Occurred()) return NULL
;
5368 }{ _resultobj
= wxPyMake_wxObject(_result
); }
5372 #define wxLogWindow_GetOldLog(_swigobj) (_swigobj->GetOldLog())
5373 static PyObject
*_wrap_wxLogWindow_GetOldLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5374 PyObject
* _resultobj
;
5376 wxLogWindow
* _arg0
;
5377 PyObject
* _argo0
= 0;
5378 char *_kwnames
[] = { "self", NULL
};
5382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogWindow_GetOldLog",_kwnames
,&_argo0
))
5385 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5386 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
5387 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_GetOldLog. Expected _wxLogWindow_p.");
5392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5393 _result
= (wxLog
*)wxLogWindow_GetOldLog(_arg0
);
5395 wxPyEndAllowThreads(__tstate
);
5396 if (PyErr_Occurred()) return NULL
;
5398 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
5399 _resultobj
= Py_BuildValue("s",_ptemp
);
5402 _resultobj
= Py_None
;
5407 #define wxLogWindow_IsPassingMessages(_swigobj) (_swigobj->IsPassingMessages())
5408 static PyObject
*_wrap_wxLogWindow_IsPassingMessages(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_IsPassingMessages",_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_IsPassingMessages. Expected _wxLogWindow_p.");
5426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5427 _result
= (bool )wxLogWindow_IsPassingMessages(_arg0
);
5429 wxPyEndAllowThreads(__tstate
);
5430 if (PyErr_Occurred()) return NULL
;
5431 } _resultobj
= Py_BuildValue("i",_result
);
5435 #define wxLogWindow_PassMessages(_swigobj,_swigarg0) (_swigobj->PassMessages(_swigarg0))
5436 static PyObject
*_wrap_wxLogWindow_PassMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5437 PyObject
* _resultobj
;
5438 wxLogWindow
* _arg0
;
5440 PyObject
* _argo0
= 0;
5442 char *_kwnames
[] = { "self","bDoPass", NULL
};
5445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxLogWindow_PassMessages",_kwnames
,&_argo0
,&tempbool1
))
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_PassMessages. Expected _wxLogWindow_p.");
5454 _arg1
= (bool ) tempbool1
;
5456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5457 wxLogWindow_PassMessages(_arg0
,_arg1
);
5459 wxPyEndAllowThreads(__tstate
);
5460 if (PyErr_Occurred()) return NULL
;
5461 } Py_INCREF(Py_None
);
5462 _resultobj
= Py_None
;
5466 #define new_wxLogNull() (new wxLogNull())
5467 static PyObject
*_wrap_new_wxLogNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5468 PyObject
* _resultobj
;
5469 wxLogNull
* _result
;
5470 char *_kwnames
[] = { NULL
};
5474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLogNull",_kwnames
))
5477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5478 _result
= (wxLogNull
*)new_wxLogNull();
5480 wxPyEndAllowThreads(__tstate
);
5481 if (PyErr_Occurred()) return NULL
;
5483 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogNull_p");
5484 _resultobj
= Py_BuildValue("s",_ptemp
);
5487 _resultobj
= Py_None
;
5492 #define delete_wxLogNull(_swigobj) (delete _swigobj)
5493 static PyObject
*_wrap_delete_wxLogNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5494 PyObject
* _resultobj
;
5496 PyObject
* _argo0
= 0;
5497 char *_kwnames
[] = { "self", NULL
};
5500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxLogNull",_kwnames
,&_argo0
))
5503 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5504 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogNull_p")) {
5505 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxLogNull. Expected _wxLogNull_p.");
5510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5511 delete_wxLogNull(_arg0
);
5513 wxPyEndAllowThreads(__tstate
);
5514 if (PyErr_Occurred()) return NULL
;
5515 } Py_INCREF(Py_None
);
5516 _resultobj
= Py_None
;
5520 static void *SwigwxLogChainTowxLog(void *ptr
) {
5523 src
= (wxLogChain
*) ptr
;
5524 dest
= (wxLog
*) src
;
5525 return (void *) dest
;
5528 #define new_wxLogChain(_swigarg0) (new wxLogChain(_swigarg0))
5529 static PyObject
*_wrap_new_wxLogChain(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5530 PyObject
* _resultobj
;
5531 wxLogChain
* _result
;
5533 PyObject
* _argo0
= 0;
5534 char *_kwnames
[] = { "logger", NULL
};
5538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxLogChain",_kwnames
,&_argo0
))
5541 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5542 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
5543 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxLogChain. Expected _wxLog_p.");
5548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5549 _result
= (wxLogChain
*)new_wxLogChain(_arg0
);
5551 wxPyEndAllowThreads(__tstate
);
5552 if (PyErr_Occurred()) return NULL
;
5554 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogChain_p");
5555 _resultobj
= Py_BuildValue("s",_ptemp
);
5558 _resultobj
= Py_None
;
5563 #define wxLogChain_SetLog(_swigobj,_swigarg0) (_swigobj->SetLog(_swigarg0))
5564 static PyObject
*_wrap_wxLogChain_SetLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5565 PyObject
* _resultobj
;
5568 PyObject
* _argo0
= 0;
5569 PyObject
* _argo1
= 0;
5570 char *_kwnames
[] = { "self","logger", NULL
};
5573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxLogChain_SetLog",_kwnames
,&_argo0
,&_argo1
))
5576 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5577 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogChain_p")) {
5578 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogChain_SetLog. Expected _wxLogChain_p.");
5583 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5584 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxLog_p")) {
5585 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxLogChain_SetLog. Expected _wxLog_p.");
5590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5591 wxLogChain_SetLog(_arg0
,_arg1
);
5593 wxPyEndAllowThreads(__tstate
);
5594 if (PyErr_Occurred()) return NULL
;
5595 } Py_INCREF(Py_None
);
5596 _resultobj
= Py_None
;
5600 #define wxLogChain_PassMessages(_swigobj,_swigarg0) (_swigobj->PassMessages(_swigarg0))
5601 static PyObject
*_wrap_wxLogChain_PassMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5602 PyObject
* _resultobj
;
5605 PyObject
* _argo0
= 0;
5607 char *_kwnames
[] = { "self","bDoPass", NULL
};
5610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxLogChain_PassMessages",_kwnames
,&_argo0
,&tempbool1
))
5613 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5614 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogChain_p")) {
5615 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogChain_PassMessages. Expected _wxLogChain_p.");
5619 _arg1
= (bool ) tempbool1
;
5621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5622 wxLogChain_PassMessages(_arg0
,_arg1
);
5624 wxPyEndAllowThreads(__tstate
);
5625 if (PyErr_Occurred()) return NULL
;
5626 } Py_INCREF(Py_None
);
5627 _resultobj
= Py_None
;
5631 #define wxLogChain_IsPassingMessages(_swigobj) (_swigobj->IsPassingMessages())
5632 static PyObject
*_wrap_wxLogChain_IsPassingMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5633 PyObject
* _resultobj
;
5636 PyObject
* _argo0
= 0;
5637 char *_kwnames
[] = { "self", NULL
};
5640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogChain_IsPassingMessages",_kwnames
,&_argo0
))
5643 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5644 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogChain_p")) {
5645 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogChain_IsPassingMessages. Expected _wxLogChain_p.");
5650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5651 _result
= (bool )wxLogChain_IsPassingMessages(_arg0
);
5653 wxPyEndAllowThreads(__tstate
);
5654 if (PyErr_Occurred()) return NULL
;
5655 } _resultobj
= Py_BuildValue("i",_result
);
5659 #define wxLogChain_GetOldLog(_swigobj) (_swigobj->GetOldLog())
5660 static PyObject
*_wrap_wxLogChain_GetOldLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5661 PyObject
* _resultobj
;
5664 PyObject
* _argo0
= 0;
5665 char *_kwnames
[] = { "self", NULL
};
5669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogChain_GetOldLog",_kwnames
,&_argo0
))
5672 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5673 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogChain_p")) {
5674 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogChain_GetOldLog. Expected _wxLogChain_p.");
5679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5680 _result
= (wxLog
*)wxLogChain_GetOldLog(_arg0
);
5682 wxPyEndAllowThreads(__tstate
);
5683 if (PyErr_Occurred()) return NULL
;
5685 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
5686 _resultobj
= Py_BuildValue("s",_ptemp
);
5689 _resultobj
= Py_None
;
5694 static void *SwigwxPyLogTowxLog(void *ptr
) {
5697 src
= (wxPyLog
*) ptr
;
5698 dest
= (wxLog
*) src
;
5699 return (void *) dest
;
5702 #define new_wxPyLog() (new wxPyLog())
5703 static PyObject
*_wrap_new_wxPyLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5704 PyObject
* _resultobj
;
5706 char *_kwnames
[] = { NULL
};
5710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPyLog",_kwnames
))
5713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5714 _result
= (wxPyLog
*)new_wxPyLog();
5716 wxPyEndAllowThreads(__tstate
);
5717 if (PyErr_Occurred()) return NULL
;
5719 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyLog_p");
5720 _resultobj
= Py_BuildValue("s",_ptemp
);
5723 _resultobj
= Py_None
;
5728 #define wxPyLog__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
5729 static PyObject
*_wrap_wxPyLog__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5730 PyObject
* _resultobj
;
5734 PyObject
* _argo0
= 0;
5735 PyObject
* _obj1
= 0;
5736 PyObject
* _obj2
= 0;
5737 char *_kwnames
[] = { "self","self","_class", NULL
};
5740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyLog__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
5743 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5744 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLog_p")) {
5745 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLog__setCallbackInfo. Expected _wxPyLog_p.");
5756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5757 wxPyLog__setCallbackInfo(_arg0
,_arg1
,_arg2
);
5759 wxPyEndAllowThreads(__tstate
);
5760 if (PyErr_Occurred()) return NULL
;
5761 } Py_INCREF(Py_None
);
5762 _resultobj
= Py_None
;
5766 static void wxPyLog_Destroy(wxPyLog
*self
) { delete self
; }
5767 static PyObject
*_wrap_wxPyLog_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5768 PyObject
* _resultobj
;
5770 PyObject
* _argo0
= 0;
5771 char *_kwnames
[] = { "self", NULL
};
5774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyLog_Destroy",_kwnames
,&_argo0
))
5777 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5778 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLog_p")) {
5779 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLog_Destroy. Expected _wxPyLog_p.");
5784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5785 wxPyLog_Destroy(_arg0
);
5787 wxPyEndAllowThreads(__tstate
);
5788 if (PyErr_Occurred()) return NULL
;
5789 } Py_INCREF(Py_None
);
5790 _resultobj
= Py_None
;
5794 static void *SwigwxProcessEventTowxEvent(void *ptr
) {
5795 wxProcessEvent
*src
;
5797 src
= (wxProcessEvent
*) ptr
;
5798 dest
= (wxEvent
*) src
;
5799 return (void *) dest
;
5802 static void *SwigwxProcessEventTowxObject(void *ptr
) {
5803 wxProcessEvent
*src
;
5805 src
= (wxProcessEvent
*) ptr
;
5806 dest
= (wxObject
*) src
;
5807 return (void *) dest
;
5810 #define new_wxProcessEvent(_swigarg0,_swigarg1,_swigarg2) (new wxProcessEvent(_swigarg0,_swigarg1,_swigarg2))
5811 static PyObject
*_wrap_new_wxProcessEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5812 PyObject
* _resultobj
;
5813 wxProcessEvent
* _result
;
5814 int _arg0
= (int ) 0;
5815 int _arg1
= (int ) 0;
5816 int _arg2
= (int ) 0;
5817 char *_kwnames
[] = { "id","pid","exitcode", NULL
};
5821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iii:new_wxProcessEvent",_kwnames
,&_arg0
,&_arg1
,&_arg2
))
5824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5825 _result
= (wxProcessEvent
*)new_wxProcessEvent(_arg0
,_arg1
,_arg2
);
5827 wxPyEndAllowThreads(__tstate
);
5828 if (PyErr_Occurred()) return NULL
;
5830 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxProcessEvent_p");
5831 _resultobj
= Py_BuildValue("s",_ptemp
);
5834 _resultobj
= Py_None
;
5839 #define wxProcessEvent_GetPid(_swigobj) (_swigobj->GetPid())
5840 static PyObject
*_wrap_wxProcessEvent_GetPid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5841 PyObject
* _resultobj
;
5843 wxProcessEvent
* _arg0
;
5844 PyObject
* _argo0
= 0;
5845 char *_kwnames
[] = { "self", NULL
};
5848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcessEvent_GetPid",_kwnames
,&_argo0
))
5851 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5852 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
5853 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_GetPid. Expected _wxProcessEvent_p.");
5858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5859 _result
= (int )wxProcessEvent_GetPid(_arg0
);
5861 wxPyEndAllowThreads(__tstate
);
5862 if (PyErr_Occurred()) return NULL
;
5863 } _resultobj
= Py_BuildValue("i",_result
);
5867 #define wxProcessEvent_GetExitCode(_swigobj) (_swigobj->GetExitCode())
5868 static PyObject
*_wrap_wxProcessEvent_GetExitCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5869 PyObject
* _resultobj
;
5871 wxProcessEvent
* _arg0
;
5872 PyObject
* _argo0
= 0;
5873 char *_kwnames
[] = { "self", NULL
};
5876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcessEvent_GetExitCode",_kwnames
,&_argo0
))
5879 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5880 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
5881 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_GetExitCode. Expected _wxProcessEvent_p.");
5886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5887 _result
= (int )wxProcessEvent_GetExitCode(_arg0
);
5889 wxPyEndAllowThreads(__tstate
);
5890 if (PyErr_Occurred()) return NULL
;
5891 } _resultobj
= Py_BuildValue("i",_result
);
5895 #define wxProcessEvent_m_pid_set(_swigobj,_swigval) (_swigobj->m_pid = _swigval,_swigval)
5896 static PyObject
*_wrap_wxProcessEvent_m_pid_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5897 PyObject
* _resultobj
;
5899 wxProcessEvent
* _arg0
;
5901 PyObject
* _argo0
= 0;
5902 char *_kwnames
[] = { "self","m_pid", NULL
};
5905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxProcessEvent_m_pid_set",_kwnames
,&_argo0
,&_arg1
))
5908 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5909 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
5910 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_m_pid_set. Expected _wxProcessEvent_p.");
5915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5916 _result
= (int )wxProcessEvent_m_pid_set(_arg0
,_arg1
);
5918 wxPyEndAllowThreads(__tstate
);
5919 if (PyErr_Occurred()) return NULL
;
5920 } _resultobj
= Py_BuildValue("i",_result
);
5924 #define wxProcessEvent_m_pid_get(_swigobj) ((int ) _swigobj->m_pid)
5925 static PyObject
*_wrap_wxProcessEvent_m_pid_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5926 PyObject
* _resultobj
;
5928 wxProcessEvent
* _arg0
;
5929 PyObject
* _argo0
= 0;
5930 char *_kwnames
[] = { "self", NULL
};
5933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcessEvent_m_pid_get",_kwnames
,&_argo0
))
5936 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5937 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
5938 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_m_pid_get. Expected _wxProcessEvent_p.");
5943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5944 _result
= (int )wxProcessEvent_m_pid_get(_arg0
);
5946 wxPyEndAllowThreads(__tstate
);
5947 if (PyErr_Occurred()) return NULL
;
5948 } _resultobj
= Py_BuildValue("i",_result
);
5952 #define wxProcessEvent_m_exitcode_set(_swigobj,_swigval) (_swigobj->m_exitcode = _swigval,_swigval)
5953 static PyObject
*_wrap_wxProcessEvent_m_exitcode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5954 PyObject
* _resultobj
;
5956 wxProcessEvent
* _arg0
;
5958 PyObject
* _argo0
= 0;
5959 char *_kwnames
[] = { "self","m_exitcode", NULL
};
5962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxProcessEvent_m_exitcode_set",_kwnames
,&_argo0
,&_arg1
))
5965 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5966 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
5967 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_m_exitcode_set. Expected _wxProcessEvent_p.");
5972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5973 _result
= (int )wxProcessEvent_m_exitcode_set(_arg0
,_arg1
);
5975 wxPyEndAllowThreads(__tstate
);
5976 if (PyErr_Occurred()) return NULL
;
5977 } _resultobj
= Py_BuildValue("i",_result
);
5981 #define wxProcessEvent_m_exitcode_get(_swigobj) ((int ) _swigobj->m_exitcode)
5982 static PyObject
*_wrap_wxProcessEvent_m_exitcode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5983 PyObject
* _resultobj
;
5985 wxProcessEvent
* _arg0
;
5986 PyObject
* _argo0
= 0;
5987 char *_kwnames
[] = { "self", NULL
};
5990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcessEvent_m_exitcode_get",_kwnames
,&_argo0
))
5993 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5994 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
5995 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_m_exitcode_get. Expected _wxProcessEvent_p.");
6000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6001 _result
= (int )wxProcessEvent_m_exitcode_get(_arg0
);
6003 wxPyEndAllowThreads(__tstate
);
6004 if (PyErr_Occurred()) return NULL
;
6005 } _resultobj
= Py_BuildValue("i",_result
);
6009 static void *SwigwxPyProcessTowxEvtHandler(void *ptr
) {
6012 src
= (wxPyProcess
*) ptr
;
6013 dest
= (wxEvtHandler
*) src
;
6014 return (void *) dest
;
6017 static void *SwigwxPyProcessTowxObject(void *ptr
) {
6020 src
= (wxPyProcess
*) ptr
;
6021 dest
= (wxObject
*) src
;
6022 return (void *) dest
;
6025 #define new_wxProcess(_swigarg0,_swigarg1) (new wxPyProcess(_swigarg0,_swigarg1))
6026 static PyObject
*_wrap_new_wxProcess(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6027 PyObject
* _resultobj
;
6028 wxPyProcess
* _result
;
6029 wxEvtHandler
* _arg0
= (wxEvtHandler
*) NULL
;
6030 int _arg1
= (int ) -1;
6031 PyObject
* _argo0
= 0;
6032 char *_kwnames
[] = { "parent","id", NULL
};
6036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|Oi:new_wxProcess",_kwnames
,&_argo0
,&_arg1
))
6039 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6040 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
6041 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxProcess. Expected _wxEvtHandler_p.");
6046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6047 _result
= (wxPyProcess
*)new_wxProcess(_arg0
,_arg1
);
6049 wxPyEndAllowThreads(__tstate
);
6050 if (PyErr_Occurred()) return NULL
;
6052 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyProcess_p");
6053 _resultobj
= Py_BuildValue("s",_ptemp
);
6056 _resultobj
= Py_None
;
6061 static void wxPyProcess_Destroy(wxPyProcess
*self
) { delete self
; }
6062 static PyObject
*_wrap_wxProcess_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6063 PyObject
* _resultobj
;
6064 wxPyProcess
* _arg0
;
6065 PyObject
* _argo0
= 0;
6066 char *_kwnames
[] = { "self", NULL
};
6069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_Destroy",_kwnames
,&_argo0
))
6072 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6073 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6074 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_Destroy. Expected _wxPyProcess_p.");
6079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6080 wxPyProcess_Destroy(_arg0
);
6082 wxPyEndAllowThreads(__tstate
);
6083 if (PyErr_Occurred()) return NULL
;
6084 } Py_INCREF(Py_None
);
6085 _resultobj
= Py_None
;
6089 #define wxProcess__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
6090 static PyObject
*_wrap_wxProcess__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6091 PyObject
* _resultobj
;
6092 wxPyProcess
* _arg0
;
6095 PyObject
* _argo0
= 0;
6096 PyObject
* _obj1
= 0;
6097 PyObject
* _obj2
= 0;
6098 char *_kwnames
[] = { "self","self","_class", NULL
};
6101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxProcess__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
6104 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6105 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6106 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess__setCallbackInfo. Expected _wxPyProcess_p.");
6117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6118 wxProcess__setCallbackInfo(_arg0
,_arg1
,_arg2
);
6120 wxPyEndAllowThreads(__tstate
);
6121 if (PyErr_Occurred()) return NULL
;
6122 } Py_INCREF(Py_None
);
6123 _resultobj
= Py_None
;
6127 #define wxProcess_base_OnTerminate(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnTerminate(_swigarg0,_swigarg1))
6128 static PyObject
*_wrap_wxProcess_base_OnTerminate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6129 PyObject
* _resultobj
;
6130 wxPyProcess
* _arg0
;
6133 PyObject
* _argo0
= 0;
6134 char *_kwnames
[] = { "self","pid","status", NULL
};
6137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxProcess_base_OnTerminate",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6140 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6141 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6142 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_base_OnTerminate. Expected _wxPyProcess_p.");
6147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6148 wxProcess_base_OnTerminate(_arg0
,_arg1
,_arg2
);
6150 wxPyEndAllowThreads(__tstate
);
6151 if (PyErr_Occurred()) return NULL
;
6152 } Py_INCREF(Py_None
);
6153 _resultobj
= Py_None
;
6157 #define wxProcess_Redirect(_swigobj) (_swigobj->Redirect())
6158 static PyObject
*_wrap_wxProcess_Redirect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6159 PyObject
* _resultobj
;
6160 wxPyProcess
* _arg0
;
6161 PyObject
* _argo0
= 0;
6162 char *_kwnames
[] = { "self", NULL
};
6165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_Redirect",_kwnames
,&_argo0
))
6168 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6169 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6170 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_Redirect. Expected _wxPyProcess_p.");
6175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6176 wxProcess_Redirect(_arg0
);
6178 wxPyEndAllowThreads(__tstate
);
6179 if (PyErr_Occurred()) return NULL
;
6180 } Py_INCREF(Py_None
);
6181 _resultobj
= Py_None
;
6185 #define wxProcess_IsRedirected(_swigobj) (_swigobj->IsRedirected())
6186 static PyObject
*_wrap_wxProcess_IsRedirected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6187 PyObject
* _resultobj
;
6189 wxPyProcess
* _arg0
;
6190 PyObject
* _argo0
= 0;
6191 char *_kwnames
[] = { "self", NULL
};
6194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_IsRedirected",_kwnames
,&_argo0
))
6197 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6198 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6199 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_IsRedirected. Expected _wxPyProcess_p.");
6204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6205 _result
= (bool )wxProcess_IsRedirected(_arg0
);
6207 wxPyEndAllowThreads(__tstate
);
6208 if (PyErr_Occurred()) return NULL
;
6209 } _resultobj
= Py_BuildValue("i",_result
);
6213 #define wxProcess_Detach(_swigobj) (_swigobj->Detach())
6214 static PyObject
*_wrap_wxProcess_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6215 PyObject
* _resultobj
;
6216 wxPyProcess
* _arg0
;
6217 PyObject
* _argo0
= 0;
6218 char *_kwnames
[] = { "self", NULL
};
6221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_Detach",_kwnames
,&_argo0
))
6224 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6225 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6226 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_Detach. Expected _wxPyProcess_p.");
6231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6232 wxProcess_Detach(_arg0
);
6234 wxPyEndAllowThreads(__tstate
);
6235 if (PyErr_Occurred()) return NULL
;
6236 } Py_INCREF(Py_None
);
6237 _resultobj
= Py_None
;
6241 #define wxProcess_GetInputStream(_swigobj) (_swigobj->GetInputStream())
6242 static PyObject
*_wrap_wxProcess_GetInputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6243 PyObject
* _resultobj
;
6244 wxInputStream
* _result
;
6245 wxPyProcess
* _arg0
;
6246 PyObject
* _argo0
= 0;
6247 char *_kwnames
[] = { "self", NULL
};
6250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_GetInputStream",_kwnames
,&_argo0
))
6253 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6254 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6255 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_GetInputStream. Expected _wxPyProcess_p.");
6260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6261 _result
= (wxInputStream
*)wxProcess_GetInputStream(_arg0
);
6263 wxPyEndAllowThreads(__tstate
);
6264 if (PyErr_Occurred()) return NULL
;
6266 wxPyInputStream
* _ptr
= NULL
;
6269 _ptr
= new wxPyInputStream(_result
);
6271 _resultobj
= wxPyConstructObject(_ptr
, "wxInputStream", TRUE
);
6276 #define wxProcess_GetErrorStream(_swigobj) (_swigobj->GetErrorStream())
6277 static PyObject
*_wrap_wxProcess_GetErrorStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6278 PyObject
* _resultobj
;
6279 wxInputStream
* _result
;
6280 wxPyProcess
* _arg0
;
6281 PyObject
* _argo0
= 0;
6282 char *_kwnames
[] = { "self", NULL
};
6285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_GetErrorStream",_kwnames
,&_argo0
))
6288 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6289 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6290 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_GetErrorStream. Expected _wxPyProcess_p.");
6295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6296 _result
= (wxInputStream
*)wxProcess_GetErrorStream(_arg0
);
6298 wxPyEndAllowThreads(__tstate
);
6299 if (PyErr_Occurred()) return NULL
;
6301 wxPyInputStream
* _ptr
= NULL
;
6304 _ptr
= new wxPyInputStream(_result
);
6306 _resultobj
= wxPyConstructObject(_ptr
, "wxInputStream", TRUE
);
6311 #define wxProcess_GetOutputStream(_swigobj) (_swigobj->GetOutputStream())
6312 static PyObject
*_wrap_wxProcess_GetOutputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6313 PyObject
* _resultobj
;
6314 wxOutputStream
* _result
;
6315 wxPyProcess
* _arg0
;
6316 PyObject
* _argo0
= 0;
6317 char *_kwnames
[] = { "self", NULL
};
6321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_GetOutputStream",_kwnames
,&_argo0
))
6324 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6325 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6326 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_GetOutputStream. Expected _wxPyProcess_p.");
6331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6332 _result
= (wxOutputStream
*)wxProcess_GetOutputStream(_arg0
);
6334 wxPyEndAllowThreads(__tstate
);
6335 if (PyErr_Occurred()) return NULL
;
6337 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxOutputStream_p");
6338 _resultobj
= Py_BuildValue("s",_ptemp
);
6341 _resultobj
= Py_None
;
6346 #define wxProcess_CloseOutput(_swigobj) (_swigobj->CloseOutput())
6347 static PyObject
*_wrap_wxProcess_CloseOutput(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6348 PyObject
* _resultobj
;
6349 wxPyProcess
* _arg0
;
6350 PyObject
* _argo0
= 0;
6351 char *_kwnames
[] = { "self", NULL
};
6354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_CloseOutput",_kwnames
,&_argo0
))
6357 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6358 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6359 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_CloseOutput. Expected _wxPyProcess_p.");
6364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6365 wxProcess_CloseOutput(_arg0
);
6367 wxPyEndAllowThreads(__tstate
);
6368 if (PyErr_Occurred()) return NULL
;
6369 } Py_INCREF(Py_None
);
6370 _resultobj
= Py_None
;
6374 static void *SwigwxJoystickTowxObject(void *ptr
) {
6377 src
= (wxJoystick
*) ptr
;
6378 dest
= (wxObject
*) src
;
6379 return (void *) dest
;
6382 #define new_wxJoystick(_swigarg0) (new wxJoystick(_swigarg0))
6383 static PyObject
*_wrap_new_wxJoystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6384 PyObject
* _resultobj
;
6385 wxJoystick
* _result
;
6386 int _arg0
= (int ) wxJOYSTICK1
;
6387 char *_kwnames
[] = { "joystick", NULL
};
6391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxJoystick",_kwnames
,&_arg0
))
6394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6395 _result
= (wxJoystick
*)new_wxJoystick(_arg0
);
6397 wxPyEndAllowThreads(__tstate
);
6398 if (PyErr_Occurred()) return NULL
;
6400 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxJoystick_p");
6401 _resultobj
= Py_BuildValue("s",_ptemp
);
6404 _resultobj
= Py_None
;
6409 #define delete_wxJoystick(_swigobj) (delete _swigobj)
6410 static PyObject
*_wrap_delete_wxJoystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6411 PyObject
* _resultobj
;
6413 PyObject
* _argo0
= 0;
6414 char *_kwnames
[] = { "self", NULL
};
6417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxJoystick",_kwnames
,&_argo0
))
6420 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6421 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6422 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxJoystick. Expected _wxJoystick_p.");
6427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6428 delete_wxJoystick(_arg0
);
6430 wxPyEndAllowThreads(__tstate
);
6431 if (PyErr_Occurred()) return NULL
;
6432 } Py_INCREF(Py_None
);
6433 _resultobj
= Py_None
;
6437 #define wxJoystick_GetPosition(_swigobj) (_swigobj->GetPosition())
6438 static PyObject
*_wrap_wxJoystick_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6439 PyObject
* _resultobj
;
6442 PyObject
* _argo0
= 0;
6443 char *_kwnames
[] = { "self", NULL
};
6447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPosition",_kwnames
,&_argo0
))
6450 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6451 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6452 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPosition. Expected _wxJoystick_p.");
6457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6458 _result
= new wxPoint (wxJoystick_GetPosition(_arg0
));
6460 wxPyEndAllowThreads(__tstate
);
6461 if (PyErr_Occurred()) return NULL
;
6462 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
6463 _resultobj
= Py_BuildValue("s",_ptemp
);
6467 #define wxJoystick_GetZPosition(_swigobj) (_swigobj->GetZPosition())
6468 static PyObject
*_wrap_wxJoystick_GetZPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6469 PyObject
* _resultobj
;
6472 PyObject
* _argo0
= 0;
6473 char *_kwnames
[] = { "self", NULL
};
6476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetZPosition",_kwnames
,&_argo0
))
6479 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6480 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6481 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetZPosition. Expected _wxJoystick_p.");
6486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6487 _result
= (int )wxJoystick_GetZPosition(_arg0
);
6489 wxPyEndAllowThreads(__tstate
);
6490 if (PyErr_Occurred()) return NULL
;
6491 } _resultobj
= Py_BuildValue("i",_result
);
6495 #define wxJoystick_GetButtonState(_swigobj) (_swigobj->GetButtonState())
6496 static PyObject
*_wrap_wxJoystick_GetButtonState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6497 PyObject
* _resultobj
;
6500 PyObject
* _argo0
= 0;
6501 char *_kwnames
[] = { "self", NULL
};
6504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetButtonState",_kwnames
,&_argo0
))
6507 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6508 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6509 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetButtonState. Expected _wxJoystick_p.");
6514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6515 _result
= (int )wxJoystick_GetButtonState(_arg0
);
6517 wxPyEndAllowThreads(__tstate
);
6518 if (PyErr_Occurred()) return NULL
;
6519 } _resultobj
= Py_BuildValue("i",_result
);
6523 #define wxJoystick_GetPOVPosition(_swigobj) (_swigobj->GetPOVPosition())
6524 static PyObject
*_wrap_wxJoystick_GetPOVPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6525 PyObject
* _resultobj
;
6528 PyObject
* _argo0
= 0;
6529 char *_kwnames
[] = { "self", NULL
};
6532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPOVPosition",_kwnames
,&_argo0
))
6535 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6536 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6537 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPOVPosition. Expected _wxJoystick_p.");
6542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6543 _result
= (int )wxJoystick_GetPOVPosition(_arg0
);
6545 wxPyEndAllowThreads(__tstate
);
6546 if (PyErr_Occurred()) return NULL
;
6547 } _resultobj
= Py_BuildValue("i",_result
);
6551 #define wxJoystick_GetPOVCTSPosition(_swigobj) (_swigobj->GetPOVCTSPosition())
6552 static PyObject
*_wrap_wxJoystick_GetPOVCTSPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6553 PyObject
* _resultobj
;
6556 PyObject
* _argo0
= 0;
6557 char *_kwnames
[] = { "self", NULL
};
6560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPOVCTSPosition",_kwnames
,&_argo0
))
6563 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6564 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6565 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPOVCTSPosition. Expected _wxJoystick_p.");
6570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6571 _result
= (int )wxJoystick_GetPOVCTSPosition(_arg0
);
6573 wxPyEndAllowThreads(__tstate
);
6574 if (PyErr_Occurred()) return NULL
;
6575 } _resultobj
= Py_BuildValue("i",_result
);
6579 #define wxJoystick_GetRudderPosition(_swigobj) (_swigobj->GetRudderPosition())
6580 static PyObject
*_wrap_wxJoystick_GetRudderPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6581 PyObject
* _resultobj
;
6584 PyObject
* _argo0
= 0;
6585 char *_kwnames
[] = { "self", NULL
};
6588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetRudderPosition",_kwnames
,&_argo0
))
6591 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6592 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6593 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetRudderPosition. Expected _wxJoystick_p.");
6598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6599 _result
= (int )wxJoystick_GetRudderPosition(_arg0
);
6601 wxPyEndAllowThreads(__tstate
);
6602 if (PyErr_Occurred()) return NULL
;
6603 } _resultobj
= Py_BuildValue("i",_result
);
6607 #define wxJoystick_GetUPosition(_swigobj) (_swigobj->GetUPosition())
6608 static PyObject
*_wrap_wxJoystick_GetUPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6609 PyObject
* _resultobj
;
6612 PyObject
* _argo0
= 0;
6613 char *_kwnames
[] = { "self", NULL
};
6616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetUPosition",_kwnames
,&_argo0
))
6619 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6620 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6621 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetUPosition. Expected _wxJoystick_p.");
6626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6627 _result
= (int )wxJoystick_GetUPosition(_arg0
);
6629 wxPyEndAllowThreads(__tstate
);
6630 if (PyErr_Occurred()) return NULL
;
6631 } _resultobj
= Py_BuildValue("i",_result
);
6635 #define wxJoystick_GetVPosition(_swigobj) (_swigobj->GetVPosition())
6636 static PyObject
*_wrap_wxJoystick_GetVPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6637 PyObject
* _resultobj
;
6640 PyObject
* _argo0
= 0;
6641 char *_kwnames
[] = { "self", NULL
};
6644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetVPosition",_kwnames
,&_argo0
))
6647 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6648 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6649 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetVPosition. Expected _wxJoystick_p.");
6654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6655 _result
= (int )wxJoystick_GetVPosition(_arg0
);
6657 wxPyEndAllowThreads(__tstate
);
6658 if (PyErr_Occurred()) return NULL
;
6659 } _resultobj
= Py_BuildValue("i",_result
);
6663 #define wxJoystick_GetMovementThreshold(_swigobj) (_swigobj->GetMovementThreshold())
6664 static PyObject
*_wrap_wxJoystick_GetMovementThreshold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6665 PyObject
* _resultobj
;
6668 PyObject
* _argo0
= 0;
6669 char *_kwnames
[] = { "self", NULL
};
6672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetMovementThreshold",_kwnames
,&_argo0
))
6675 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6676 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6677 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetMovementThreshold. Expected _wxJoystick_p.");
6682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6683 _result
= (int )wxJoystick_GetMovementThreshold(_arg0
);
6685 wxPyEndAllowThreads(__tstate
);
6686 if (PyErr_Occurred()) return NULL
;
6687 } _resultobj
= Py_BuildValue("i",_result
);
6691 #define wxJoystick_SetMovementThreshold(_swigobj,_swigarg0) (_swigobj->SetMovementThreshold(_swigarg0))
6692 static PyObject
*_wrap_wxJoystick_SetMovementThreshold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6693 PyObject
* _resultobj
;
6696 PyObject
* _argo0
= 0;
6697 char *_kwnames
[] = { "self","threshold", NULL
};
6700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxJoystick_SetMovementThreshold",_kwnames
,&_argo0
,&_arg1
))
6703 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6704 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6705 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_SetMovementThreshold. Expected _wxJoystick_p.");
6710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6711 wxJoystick_SetMovementThreshold(_arg0
,_arg1
);
6713 wxPyEndAllowThreads(__tstate
);
6714 if (PyErr_Occurred()) return NULL
;
6715 } Py_INCREF(Py_None
);
6716 _resultobj
= Py_None
;
6720 #define wxJoystick_IsOk(_swigobj) (_swigobj->IsOk())
6721 static PyObject
*_wrap_wxJoystick_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6722 PyObject
* _resultobj
;
6725 PyObject
* _argo0
= 0;
6726 char *_kwnames
[] = { "self", NULL
};
6729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_IsOk",_kwnames
,&_argo0
))
6732 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6733 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6734 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_IsOk. Expected _wxJoystick_p.");
6739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6740 _result
= (bool )wxJoystick_IsOk(_arg0
);
6742 wxPyEndAllowThreads(__tstate
);
6743 if (PyErr_Occurred()) return NULL
;
6744 } _resultobj
= Py_BuildValue("i",_result
);
6748 #define wxJoystick_GetNumberJoysticks(_swigobj) (_swigobj->GetNumberJoysticks())
6749 static PyObject
*_wrap_wxJoystick_GetNumberJoysticks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6750 PyObject
* _resultobj
;
6753 PyObject
* _argo0
= 0;
6754 char *_kwnames
[] = { "self", NULL
};
6757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetNumberJoysticks",_kwnames
,&_argo0
))
6760 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6761 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6762 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetNumberJoysticks. Expected _wxJoystick_p.");
6767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6768 _result
= (int )wxJoystick_GetNumberJoysticks(_arg0
);
6770 wxPyEndAllowThreads(__tstate
);
6771 if (PyErr_Occurred()) return NULL
;
6772 } _resultobj
= Py_BuildValue("i",_result
);
6776 #define wxJoystick_GetManufacturerId(_swigobj) (_swigobj->GetManufacturerId())
6777 static PyObject
*_wrap_wxJoystick_GetManufacturerId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6778 PyObject
* _resultobj
;
6781 PyObject
* _argo0
= 0;
6782 char *_kwnames
[] = { "self", NULL
};
6785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetManufacturerId",_kwnames
,&_argo0
))
6788 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6789 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6790 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetManufacturerId. Expected _wxJoystick_p.");
6795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6796 _result
= (int )wxJoystick_GetManufacturerId(_arg0
);
6798 wxPyEndAllowThreads(__tstate
);
6799 if (PyErr_Occurred()) return NULL
;
6800 } _resultobj
= Py_BuildValue("i",_result
);
6804 #define wxJoystick_GetProductId(_swigobj) (_swigobj->GetProductId())
6805 static PyObject
*_wrap_wxJoystick_GetProductId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6806 PyObject
* _resultobj
;
6809 PyObject
* _argo0
= 0;
6810 char *_kwnames
[] = { "self", NULL
};
6813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetProductId",_kwnames
,&_argo0
))
6816 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6817 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6818 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetProductId. Expected _wxJoystick_p.");
6823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6824 _result
= (int )wxJoystick_GetProductId(_arg0
);
6826 wxPyEndAllowThreads(__tstate
);
6827 if (PyErr_Occurred()) return NULL
;
6828 } _resultobj
= Py_BuildValue("i",_result
);
6832 #define wxJoystick_GetProductName(_swigobj) (_swigobj->GetProductName())
6833 static PyObject
*_wrap_wxJoystick_GetProductName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6834 PyObject
* _resultobj
;
6837 PyObject
* _argo0
= 0;
6838 char *_kwnames
[] = { "self", NULL
};
6841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetProductName",_kwnames
,&_argo0
))
6844 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6845 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6846 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetProductName. Expected _wxJoystick_p.");
6851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6852 _result
= new wxString (wxJoystick_GetProductName(_arg0
));
6854 wxPyEndAllowThreads(__tstate
);
6855 if (PyErr_Occurred()) return NULL
;
6857 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
6865 #define wxJoystick_GetXMin(_swigobj) (_swigobj->GetXMin())
6866 static PyObject
*_wrap_wxJoystick_GetXMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6867 PyObject
* _resultobj
;
6870 PyObject
* _argo0
= 0;
6871 char *_kwnames
[] = { "self", NULL
};
6874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetXMin",_kwnames
,&_argo0
))
6877 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6878 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6879 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetXMin. Expected _wxJoystick_p.");
6884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6885 _result
= (int )wxJoystick_GetXMin(_arg0
);
6887 wxPyEndAllowThreads(__tstate
);
6888 if (PyErr_Occurred()) return NULL
;
6889 } _resultobj
= Py_BuildValue("i",_result
);
6893 #define wxJoystick_GetYMin(_swigobj) (_swigobj->GetYMin())
6894 static PyObject
*_wrap_wxJoystick_GetYMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6895 PyObject
* _resultobj
;
6898 PyObject
* _argo0
= 0;
6899 char *_kwnames
[] = { "self", NULL
};
6902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetYMin",_kwnames
,&_argo0
))
6905 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6906 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6907 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetYMin. Expected _wxJoystick_p.");
6912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6913 _result
= (int )wxJoystick_GetYMin(_arg0
);
6915 wxPyEndAllowThreads(__tstate
);
6916 if (PyErr_Occurred()) return NULL
;
6917 } _resultobj
= Py_BuildValue("i",_result
);
6921 #define wxJoystick_GetZMin(_swigobj) (_swigobj->GetZMin())
6922 static PyObject
*_wrap_wxJoystick_GetZMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6923 PyObject
* _resultobj
;
6926 PyObject
* _argo0
= 0;
6927 char *_kwnames
[] = { "self", NULL
};
6930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetZMin",_kwnames
,&_argo0
))
6933 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6934 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6935 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetZMin. Expected _wxJoystick_p.");
6940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6941 _result
= (int )wxJoystick_GetZMin(_arg0
);
6943 wxPyEndAllowThreads(__tstate
);
6944 if (PyErr_Occurred()) return NULL
;
6945 } _resultobj
= Py_BuildValue("i",_result
);
6949 #define wxJoystick_GetXMax(_swigobj) (_swigobj->GetXMax())
6950 static PyObject
*_wrap_wxJoystick_GetXMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6951 PyObject
* _resultobj
;
6954 PyObject
* _argo0
= 0;
6955 char *_kwnames
[] = { "self", NULL
};
6958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetXMax",_kwnames
,&_argo0
))
6961 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6962 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6963 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetXMax. Expected _wxJoystick_p.");
6968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6969 _result
= (int )wxJoystick_GetXMax(_arg0
);
6971 wxPyEndAllowThreads(__tstate
);
6972 if (PyErr_Occurred()) return NULL
;
6973 } _resultobj
= Py_BuildValue("i",_result
);
6977 #define wxJoystick_GetYMax(_swigobj) (_swigobj->GetYMax())
6978 static PyObject
*_wrap_wxJoystick_GetYMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6979 PyObject
* _resultobj
;
6982 PyObject
* _argo0
= 0;
6983 char *_kwnames
[] = { "self", NULL
};
6986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetYMax",_kwnames
,&_argo0
))
6989 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6990 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6991 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetYMax. Expected _wxJoystick_p.");
6996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6997 _result
= (int )wxJoystick_GetYMax(_arg0
);
6999 wxPyEndAllowThreads(__tstate
);
7000 if (PyErr_Occurred()) return NULL
;
7001 } _resultobj
= Py_BuildValue("i",_result
);
7005 #define wxJoystick_GetZMax(_swigobj) (_swigobj->GetZMax())
7006 static PyObject
*_wrap_wxJoystick_GetZMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7007 PyObject
* _resultobj
;
7010 PyObject
* _argo0
= 0;
7011 char *_kwnames
[] = { "self", NULL
};
7014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetZMax",_kwnames
,&_argo0
))
7017 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7018 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7019 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetZMax. Expected _wxJoystick_p.");
7024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7025 _result
= (int )wxJoystick_GetZMax(_arg0
);
7027 wxPyEndAllowThreads(__tstate
);
7028 if (PyErr_Occurred()) return NULL
;
7029 } _resultobj
= Py_BuildValue("i",_result
);
7033 #define wxJoystick_GetNumberButtons(_swigobj) (_swigobj->GetNumberButtons())
7034 static PyObject
*_wrap_wxJoystick_GetNumberButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7035 PyObject
* _resultobj
;
7038 PyObject
* _argo0
= 0;
7039 char *_kwnames
[] = { "self", NULL
};
7042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetNumberButtons",_kwnames
,&_argo0
))
7045 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7046 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7047 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetNumberButtons. Expected _wxJoystick_p.");
7052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7053 _result
= (int )wxJoystick_GetNumberButtons(_arg0
);
7055 wxPyEndAllowThreads(__tstate
);
7056 if (PyErr_Occurred()) return NULL
;
7057 } _resultobj
= Py_BuildValue("i",_result
);
7061 #define wxJoystick_GetNumberAxes(_swigobj) (_swigobj->GetNumberAxes())
7062 static PyObject
*_wrap_wxJoystick_GetNumberAxes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7063 PyObject
* _resultobj
;
7066 PyObject
* _argo0
= 0;
7067 char *_kwnames
[] = { "self", NULL
};
7070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetNumberAxes",_kwnames
,&_argo0
))
7073 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7074 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7075 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetNumberAxes. Expected _wxJoystick_p.");
7080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7081 _result
= (int )wxJoystick_GetNumberAxes(_arg0
);
7083 wxPyEndAllowThreads(__tstate
);
7084 if (PyErr_Occurred()) return NULL
;
7085 } _resultobj
= Py_BuildValue("i",_result
);
7089 #define wxJoystick_GetMaxButtons(_swigobj) (_swigobj->GetMaxButtons())
7090 static PyObject
*_wrap_wxJoystick_GetMaxButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7091 PyObject
* _resultobj
;
7094 PyObject
* _argo0
= 0;
7095 char *_kwnames
[] = { "self", NULL
};
7098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetMaxButtons",_kwnames
,&_argo0
))
7101 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7102 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7103 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetMaxButtons. Expected _wxJoystick_p.");
7108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7109 _result
= (int )wxJoystick_GetMaxButtons(_arg0
);
7111 wxPyEndAllowThreads(__tstate
);
7112 if (PyErr_Occurred()) return NULL
;
7113 } _resultobj
= Py_BuildValue("i",_result
);
7117 #define wxJoystick_GetMaxAxes(_swigobj) (_swigobj->GetMaxAxes())
7118 static PyObject
*_wrap_wxJoystick_GetMaxAxes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7119 PyObject
* _resultobj
;
7122 PyObject
* _argo0
= 0;
7123 char *_kwnames
[] = { "self", NULL
};
7126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetMaxAxes",_kwnames
,&_argo0
))
7129 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7130 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7131 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetMaxAxes. Expected _wxJoystick_p.");
7136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7137 _result
= (int )wxJoystick_GetMaxAxes(_arg0
);
7139 wxPyEndAllowThreads(__tstate
);
7140 if (PyErr_Occurred()) return NULL
;
7141 } _resultobj
= Py_BuildValue("i",_result
);
7145 #define wxJoystick_GetPollingMin(_swigobj) (_swigobj->GetPollingMin())
7146 static PyObject
*_wrap_wxJoystick_GetPollingMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7147 PyObject
* _resultobj
;
7150 PyObject
* _argo0
= 0;
7151 char *_kwnames
[] = { "self", NULL
};
7154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPollingMin",_kwnames
,&_argo0
))
7157 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7158 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7159 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPollingMin. Expected _wxJoystick_p.");
7164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7165 _result
= (int )wxJoystick_GetPollingMin(_arg0
);
7167 wxPyEndAllowThreads(__tstate
);
7168 if (PyErr_Occurred()) return NULL
;
7169 } _resultobj
= Py_BuildValue("i",_result
);
7173 #define wxJoystick_GetPollingMax(_swigobj) (_swigobj->GetPollingMax())
7174 static PyObject
*_wrap_wxJoystick_GetPollingMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7175 PyObject
* _resultobj
;
7178 PyObject
* _argo0
= 0;
7179 char *_kwnames
[] = { "self", NULL
};
7182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPollingMax",_kwnames
,&_argo0
))
7185 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7186 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7187 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPollingMax. Expected _wxJoystick_p.");
7192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7193 _result
= (int )wxJoystick_GetPollingMax(_arg0
);
7195 wxPyEndAllowThreads(__tstate
);
7196 if (PyErr_Occurred()) return NULL
;
7197 } _resultobj
= Py_BuildValue("i",_result
);
7201 #define wxJoystick_GetRudderMin(_swigobj) (_swigobj->GetRudderMin())
7202 static PyObject
*_wrap_wxJoystick_GetRudderMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7203 PyObject
* _resultobj
;
7206 PyObject
* _argo0
= 0;
7207 char *_kwnames
[] = { "self", NULL
};
7210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetRudderMin",_kwnames
,&_argo0
))
7213 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7214 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7215 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetRudderMin. Expected _wxJoystick_p.");
7220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7221 _result
= (int )wxJoystick_GetRudderMin(_arg0
);
7223 wxPyEndAllowThreads(__tstate
);
7224 if (PyErr_Occurred()) return NULL
;
7225 } _resultobj
= Py_BuildValue("i",_result
);
7229 #define wxJoystick_GetRudderMax(_swigobj) (_swigobj->GetRudderMax())
7230 static PyObject
*_wrap_wxJoystick_GetRudderMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7231 PyObject
* _resultobj
;
7234 PyObject
* _argo0
= 0;
7235 char *_kwnames
[] = { "self", NULL
};
7238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetRudderMax",_kwnames
,&_argo0
))
7241 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7242 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7243 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetRudderMax. Expected _wxJoystick_p.");
7248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7249 _result
= (int )wxJoystick_GetRudderMax(_arg0
);
7251 wxPyEndAllowThreads(__tstate
);
7252 if (PyErr_Occurred()) return NULL
;
7253 } _resultobj
= Py_BuildValue("i",_result
);
7257 #define wxJoystick_GetUMin(_swigobj) (_swigobj->GetUMin())
7258 static PyObject
*_wrap_wxJoystick_GetUMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7259 PyObject
* _resultobj
;
7262 PyObject
* _argo0
= 0;
7263 char *_kwnames
[] = { "self", NULL
};
7266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetUMin",_kwnames
,&_argo0
))
7269 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7270 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7271 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetUMin. Expected _wxJoystick_p.");
7276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7277 _result
= (int )wxJoystick_GetUMin(_arg0
);
7279 wxPyEndAllowThreads(__tstate
);
7280 if (PyErr_Occurred()) return NULL
;
7281 } _resultobj
= Py_BuildValue("i",_result
);
7285 #define wxJoystick_GetUMax(_swigobj) (_swigobj->GetUMax())
7286 static PyObject
*_wrap_wxJoystick_GetUMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7287 PyObject
* _resultobj
;
7290 PyObject
* _argo0
= 0;
7291 char *_kwnames
[] = { "self", NULL
};
7294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetUMax",_kwnames
,&_argo0
))
7297 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7298 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7299 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetUMax. Expected _wxJoystick_p.");
7304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7305 _result
= (int )wxJoystick_GetUMax(_arg0
);
7307 wxPyEndAllowThreads(__tstate
);
7308 if (PyErr_Occurred()) return NULL
;
7309 } _resultobj
= Py_BuildValue("i",_result
);
7313 #define wxJoystick_GetVMin(_swigobj) (_swigobj->GetVMin())
7314 static PyObject
*_wrap_wxJoystick_GetVMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7315 PyObject
* _resultobj
;
7318 PyObject
* _argo0
= 0;
7319 char *_kwnames
[] = { "self", NULL
};
7322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetVMin",_kwnames
,&_argo0
))
7325 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7326 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7327 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetVMin. Expected _wxJoystick_p.");
7332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7333 _result
= (int )wxJoystick_GetVMin(_arg0
);
7335 wxPyEndAllowThreads(__tstate
);
7336 if (PyErr_Occurred()) return NULL
;
7337 } _resultobj
= Py_BuildValue("i",_result
);
7341 #define wxJoystick_GetVMax(_swigobj) (_swigobj->GetVMax())
7342 static PyObject
*_wrap_wxJoystick_GetVMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7343 PyObject
* _resultobj
;
7346 PyObject
* _argo0
= 0;
7347 char *_kwnames
[] = { "self", NULL
};
7350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetVMax",_kwnames
,&_argo0
))
7353 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7354 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7355 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetVMax. Expected _wxJoystick_p.");
7360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7361 _result
= (int )wxJoystick_GetVMax(_arg0
);
7363 wxPyEndAllowThreads(__tstate
);
7364 if (PyErr_Occurred()) return NULL
;
7365 } _resultobj
= Py_BuildValue("i",_result
);
7369 #define wxJoystick_HasRudder(_swigobj) (_swigobj->HasRudder())
7370 static PyObject
*_wrap_wxJoystick_HasRudder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7371 PyObject
* _resultobj
;
7374 PyObject
* _argo0
= 0;
7375 char *_kwnames
[] = { "self", NULL
};
7378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasRudder",_kwnames
,&_argo0
))
7381 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7382 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7383 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasRudder. Expected _wxJoystick_p.");
7388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7389 _result
= (bool )wxJoystick_HasRudder(_arg0
);
7391 wxPyEndAllowThreads(__tstate
);
7392 if (PyErr_Occurred()) return NULL
;
7393 } _resultobj
= Py_BuildValue("i",_result
);
7397 #define wxJoystick_HasZ(_swigobj) (_swigobj->HasZ())
7398 static PyObject
*_wrap_wxJoystick_HasZ(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7399 PyObject
* _resultobj
;
7402 PyObject
* _argo0
= 0;
7403 char *_kwnames
[] = { "self", NULL
};
7406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasZ",_kwnames
,&_argo0
))
7409 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7410 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7411 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasZ. Expected _wxJoystick_p.");
7416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7417 _result
= (bool )wxJoystick_HasZ(_arg0
);
7419 wxPyEndAllowThreads(__tstate
);
7420 if (PyErr_Occurred()) return NULL
;
7421 } _resultobj
= Py_BuildValue("i",_result
);
7425 #define wxJoystick_HasU(_swigobj) (_swigobj->HasU())
7426 static PyObject
*_wrap_wxJoystick_HasU(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7427 PyObject
* _resultobj
;
7430 PyObject
* _argo0
= 0;
7431 char *_kwnames
[] = { "self", NULL
};
7434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasU",_kwnames
,&_argo0
))
7437 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7438 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7439 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasU. Expected _wxJoystick_p.");
7444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7445 _result
= (bool )wxJoystick_HasU(_arg0
);
7447 wxPyEndAllowThreads(__tstate
);
7448 if (PyErr_Occurred()) return NULL
;
7449 } _resultobj
= Py_BuildValue("i",_result
);
7453 #define wxJoystick_HasV(_swigobj) (_swigobj->HasV())
7454 static PyObject
*_wrap_wxJoystick_HasV(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7455 PyObject
* _resultobj
;
7458 PyObject
* _argo0
= 0;
7459 char *_kwnames
[] = { "self", NULL
};
7462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasV",_kwnames
,&_argo0
))
7465 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7466 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7467 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasV. Expected _wxJoystick_p.");
7472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7473 _result
= (bool )wxJoystick_HasV(_arg0
);
7475 wxPyEndAllowThreads(__tstate
);
7476 if (PyErr_Occurred()) return NULL
;
7477 } _resultobj
= Py_BuildValue("i",_result
);
7481 #define wxJoystick_HasPOV(_swigobj) (_swigobj->HasPOV())
7482 static PyObject
*_wrap_wxJoystick_HasPOV(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7483 PyObject
* _resultobj
;
7486 PyObject
* _argo0
= 0;
7487 char *_kwnames
[] = { "self", NULL
};
7490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasPOV",_kwnames
,&_argo0
))
7493 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7494 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7495 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasPOV. Expected _wxJoystick_p.");
7500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7501 _result
= (bool )wxJoystick_HasPOV(_arg0
);
7503 wxPyEndAllowThreads(__tstate
);
7504 if (PyErr_Occurred()) return NULL
;
7505 } _resultobj
= Py_BuildValue("i",_result
);
7509 #define wxJoystick_HasPOV4Dir(_swigobj) (_swigobj->HasPOV4Dir())
7510 static PyObject
*_wrap_wxJoystick_HasPOV4Dir(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7511 PyObject
* _resultobj
;
7514 PyObject
* _argo0
= 0;
7515 char *_kwnames
[] = { "self", NULL
};
7518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasPOV4Dir",_kwnames
,&_argo0
))
7521 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7522 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7523 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasPOV4Dir. Expected _wxJoystick_p.");
7528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7529 _result
= (bool )wxJoystick_HasPOV4Dir(_arg0
);
7531 wxPyEndAllowThreads(__tstate
);
7532 if (PyErr_Occurred()) return NULL
;
7533 } _resultobj
= Py_BuildValue("i",_result
);
7537 #define wxJoystick_HasPOVCTS(_swigobj) (_swigobj->HasPOVCTS())
7538 static PyObject
*_wrap_wxJoystick_HasPOVCTS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7539 PyObject
* _resultobj
;
7542 PyObject
* _argo0
= 0;
7543 char *_kwnames
[] = { "self", NULL
};
7546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasPOVCTS",_kwnames
,&_argo0
))
7549 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7550 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7551 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasPOVCTS. Expected _wxJoystick_p.");
7556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7557 _result
= (bool )wxJoystick_HasPOVCTS(_arg0
);
7559 wxPyEndAllowThreads(__tstate
);
7560 if (PyErr_Occurred()) return NULL
;
7561 } _resultobj
= Py_BuildValue("i",_result
);
7565 #define wxJoystick_SetCapture(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetCapture(_swigarg0,_swigarg1))
7566 static PyObject
*_wrap_wxJoystick_SetCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7567 PyObject
* _resultobj
;
7571 int _arg2
= (int ) 0;
7572 PyObject
* _argo0
= 0;
7573 PyObject
* _argo1
= 0;
7574 char *_kwnames
[] = { "self","win","pollingFreq", NULL
};
7577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxJoystick_SetCapture",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
7580 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7581 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7582 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_SetCapture. Expected _wxJoystick_p.");
7587 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7588 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
7589 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxJoystick_SetCapture. Expected _wxWindow_p.");
7594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7595 _result
= (bool )wxJoystick_SetCapture(_arg0
,_arg1
,_arg2
);
7597 wxPyEndAllowThreads(__tstate
);
7598 if (PyErr_Occurred()) return NULL
;
7599 } _resultobj
= Py_BuildValue("i",_result
);
7603 #define wxJoystick_ReleaseCapture(_swigobj) (_swigobj->ReleaseCapture())
7604 static PyObject
*_wrap_wxJoystick_ReleaseCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7605 PyObject
* _resultobj
;
7608 PyObject
* _argo0
= 0;
7609 char *_kwnames
[] = { "self", NULL
};
7612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_ReleaseCapture",_kwnames
,&_argo0
))
7615 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7616 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7617 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_ReleaseCapture. Expected _wxJoystick_p.");
7622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7623 _result
= (bool )wxJoystick_ReleaseCapture(_arg0
);
7625 wxPyEndAllowThreads(__tstate
);
7626 if (PyErr_Occurred()) return NULL
;
7627 } _resultobj
= Py_BuildValue("i",_result
);
7631 static void *SwigwxWaveTowxObject(void *ptr
) {
7634 src
= (wxWave
*) ptr
;
7635 dest
= (wxObject
*) src
;
7636 return (void *) dest
;
7639 #define new_wxWave(_swigarg0,_swigarg1) (new wxWave(_swigarg0,_swigarg1))
7640 static PyObject
*_wrap_new_wxWave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7641 PyObject
* _resultobj
;
7644 bool _arg1
= (bool ) FALSE
;
7645 PyObject
* _obj0
= 0;
7646 int tempbool1
= (int) FALSE
;
7647 char *_kwnames
[] = { "fileName","isResource", NULL
};
7651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:new_wxWave",_kwnames
,&_obj0
,&tempbool1
))
7654 #if PYTHON_API_VERSION >= 1009
7655 char* tmpPtr
; int tmpSize
;
7656 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
7657 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7660 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
7662 _arg0
= new wxString(tmpPtr
, tmpSize
);
7664 if (!PyString_Check(_obj0
)) {
7665 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7668 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
7671 _arg1
= (bool ) tempbool1
;
7673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7674 _result
= (wxWave
*)new_wxWave(*_arg0
,_arg1
);
7676 wxPyEndAllowThreads(__tstate
);
7677 if (PyErr_Occurred()) return NULL
;
7679 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWave_p");
7680 _resultobj
= Py_BuildValue("s",_ptemp
);
7683 _resultobj
= Py_None
;
7692 #define delete_wxWave(_swigobj) (delete _swigobj)
7693 static PyObject
*_wrap_delete_wxWave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7694 PyObject
* _resultobj
;
7696 PyObject
* _argo0
= 0;
7697 char *_kwnames
[] = { "self", NULL
};
7700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxWave",_kwnames
,&_argo0
))
7703 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7704 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWave_p")) {
7705 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxWave. Expected _wxWave_p.");
7710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7711 delete_wxWave(_arg0
);
7713 wxPyEndAllowThreads(__tstate
);
7714 if (PyErr_Occurred()) return NULL
;
7715 } Py_INCREF(Py_None
);
7716 _resultobj
= Py_None
;
7720 #define wxWave_IsOk(_swigobj) (_swigobj->IsOk())
7721 static PyObject
*_wrap_wxWave_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7722 PyObject
* _resultobj
;
7725 PyObject
* _argo0
= 0;
7726 char *_kwnames
[] = { "self", NULL
};
7729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWave_IsOk",_kwnames
,&_argo0
))
7732 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7733 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWave_p")) {
7734 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWave_IsOk. Expected _wxWave_p.");
7739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7740 _result
= (bool )wxWave_IsOk(_arg0
);
7742 wxPyEndAllowThreads(__tstate
);
7743 if (PyErr_Occurred()) return NULL
;
7744 } _resultobj
= Py_BuildValue("i",_result
);
7748 #define wxWave_Play(_swigobj,_swigarg0,_swigarg1) (_swigobj->Play(_swigarg0,_swigarg1))
7749 static PyObject
*_wrap_wxWave_Play(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7750 PyObject
* _resultobj
;
7753 bool _arg1
= (bool ) TRUE
;
7754 bool _arg2
= (bool ) FALSE
;
7755 PyObject
* _argo0
= 0;
7756 int tempbool1
= (int) TRUE
;
7757 int tempbool2
= (int) FALSE
;
7758 char *_kwnames
[] = { "self","async","looped", NULL
};
7761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxWave_Play",_kwnames
,&_argo0
,&tempbool1
,&tempbool2
))
7764 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7765 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWave_p")) {
7766 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWave_Play. Expected _wxWave_p.");
7770 _arg1
= (bool ) tempbool1
;
7771 _arg2
= (bool ) tempbool2
;
7773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7774 _result
= (bool )wxWave_Play(_arg0
,_arg1
,_arg2
);
7776 wxPyEndAllowThreads(__tstate
);
7777 if (PyErr_Occurred()) return NULL
;
7778 } _resultobj
= Py_BuildValue("i",_result
);
7782 #define new_wxFileTypeInfo(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxFileTypeInfo(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7783 static PyObject
*_wrap_new_wxFileTypeInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7784 PyObject
* _resultobj
;
7785 wxFileTypeInfo
* _result
;
7790 char *_kwnames
[] = { "mimeType","openCmd","printCmd","desc", NULL
};
7794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"ssss:new_wxFileTypeInfo",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
))
7797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7798 _result
= (wxFileTypeInfo
*)new_wxFileTypeInfo(_arg0
,_arg1
,_arg2
,_arg3
);
7800 wxPyEndAllowThreads(__tstate
);
7801 if (PyErr_Occurred()) return NULL
;
7803 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileTypeInfo_p");
7804 _resultobj
= Py_BuildValue("s",_ptemp
);
7807 _resultobj
= Py_None
;
7812 #define new_wxFileTypeInfoSequence(_swigarg0) (new wxFileTypeInfo(_swigarg0))
7813 static PyObject
*_wrap_new_wxFileTypeInfoSequence(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7814 PyObject
* _resultobj
;
7815 wxFileTypeInfo
* _result
;
7816 wxArrayString
* _arg0
;
7817 PyObject
* _obj0
= 0;
7818 char *_kwnames
[] = { "sArray", NULL
};
7822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxFileTypeInfoSequence",_kwnames
,&_obj0
))
7825 if (! PySequence_Check(_obj0
)) {
7826 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
7829 _arg0
= new wxArrayString
;
7830 int i
, len
=PySequence_Length(_obj0
);
7831 for (i
=0; i
<len
; i
++) {
7832 PyObject
* item
= PySequence_GetItem(_obj0
, i
);
7833 PyObject
* str
= PyObject_Str(item
);
7834 _arg0
->Add(PyString_AsString(str
));
7840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7841 _result
= (wxFileTypeInfo
*)new_wxFileTypeInfoSequence(*_arg0
);
7843 wxPyEndAllowThreads(__tstate
);
7844 if (PyErr_Occurred()) return NULL
;
7846 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileTypeInfo_p");
7847 _resultobj
= Py_BuildValue("s",_ptemp
);
7850 _resultobj
= Py_None
;
7859 #define new_wxNullFileTypeInfo() (new wxFileTypeInfo())
7860 static PyObject
*_wrap_new_wxNullFileTypeInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7861 PyObject
* _resultobj
;
7862 wxFileTypeInfo
* _result
;
7863 char *_kwnames
[] = { NULL
};
7867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxNullFileTypeInfo",_kwnames
))
7870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7871 _result
= (wxFileTypeInfo
*)new_wxNullFileTypeInfo();
7873 wxPyEndAllowThreads(__tstate
);
7874 if (PyErr_Occurred()) return NULL
;
7876 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileTypeInfo_p");
7877 _resultobj
= Py_BuildValue("s",_ptemp
);
7880 _resultobj
= Py_None
;
7885 #define wxFileTypeInfo_IsValid(_swigobj) (_swigobj->IsValid())
7886 static PyObject
*_wrap_wxFileTypeInfo_IsValid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7887 PyObject
* _resultobj
;
7889 wxFileTypeInfo
* _arg0
;
7890 PyObject
* _argo0
= 0;
7891 char *_kwnames
[] = { "self", NULL
};
7894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_IsValid",_kwnames
,&_argo0
))
7897 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7898 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
7899 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_IsValid. Expected _wxFileTypeInfo_p.");
7904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7905 _result
= (bool )wxFileTypeInfo_IsValid(_arg0
);
7907 wxPyEndAllowThreads(__tstate
);
7908 if (PyErr_Occurred()) return NULL
;
7909 } _resultobj
= Py_BuildValue("i",_result
);
7913 #define wxFileTypeInfo_SetIcon(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetIcon(_swigarg0,_swigarg1))
7914 static PyObject
*_wrap_wxFileTypeInfo_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7915 PyObject
* _resultobj
;
7916 wxFileTypeInfo
* _arg0
;
7918 int _arg2
= (int ) 0;
7919 PyObject
* _argo0
= 0;
7920 PyObject
* _obj1
= 0;
7921 char *_kwnames
[] = { "self","iconFile","iconIndex", NULL
};
7924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxFileTypeInfo_SetIcon",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
7927 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7928 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
7929 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_SetIcon. Expected _wxFileTypeInfo_p.");
7934 #if PYTHON_API_VERSION >= 1009
7935 char* tmpPtr
; int tmpSize
;
7936 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
7937 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7940 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
7942 _arg1
= new wxString(tmpPtr
, tmpSize
);
7944 if (!PyString_Check(_obj1
)) {
7945 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7948 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
7952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7953 wxFileTypeInfo_SetIcon(_arg0
,*_arg1
,_arg2
);
7955 wxPyEndAllowThreads(__tstate
);
7956 if (PyErr_Occurred()) return NULL
;
7957 } Py_INCREF(Py_None
);
7958 _resultobj
= Py_None
;
7966 #define wxFileTypeInfo_SetShortDesc(_swigobj,_swigarg0) (_swigobj->SetShortDesc(_swigarg0))
7967 static PyObject
*_wrap_wxFileTypeInfo_SetShortDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7968 PyObject
* _resultobj
;
7969 wxFileTypeInfo
* _arg0
;
7971 PyObject
* _argo0
= 0;
7972 PyObject
* _obj1
= 0;
7973 char *_kwnames
[] = { "self","shortDesc", NULL
};
7976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileTypeInfo_SetShortDesc",_kwnames
,&_argo0
,&_obj1
))
7979 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7980 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
7981 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_SetShortDesc. Expected _wxFileTypeInfo_p.");
7986 #if PYTHON_API_VERSION >= 1009
7987 char* tmpPtr
; int tmpSize
;
7988 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
7989 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7992 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
7994 _arg1
= new wxString(tmpPtr
, tmpSize
);
7996 if (!PyString_Check(_obj1
)) {
7997 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8000 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
8004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8005 wxFileTypeInfo_SetShortDesc(_arg0
,*_arg1
);
8007 wxPyEndAllowThreads(__tstate
);
8008 if (PyErr_Occurred()) return NULL
;
8009 } Py_INCREF(Py_None
);
8010 _resultobj
= Py_None
;
8018 #define wxFileTypeInfo_GetMimeType(_swigobj) (_swigobj->GetMimeType())
8019 static PyObject
*_wrap_wxFileTypeInfo_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8020 PyObject
* _resultobj
;
8022 wxFileTypeInfo
* _arg0
;
8023 PyObject
* _argo0
= 0;
8024 char *_kwnames
[] = { "self", NULL
};
8027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetMimeType",_kwnames
,&_argo0
))
8030 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8031 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8032 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetMimeType. Expected _wxFileTypeInfo_p.");
8037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8038 const wxString
& _result_ref
= wxFileTypeInfo_GetMimeType(_arg0
);
8039 _result
= (wxString
*) &_result_ref
;
8041 wxPyEndAllowThreads(__tstate
);
8042 if (PyErr_Occurred()) return NULL
;
8044 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8049 #define wxFileTypeInfo_GetOpenCommand(_swigobj) (_swigobj->GetOpenCommand())
8050 static PyObject
*_wrap_wxFileTypeInfo_GetOpenCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8051 PyObject
* _resultobj
;
8053 wxFileTypeInfo
* _arg0
;
8054 PyObject
* _argo0
= 0;
8055 char *_kwnames
[] = { "self", NULL
};
8058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetOpenCommand",_kwnames
,&_argo0
))
8061 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8062 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8063 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetOpenCommand. Expected _wxFileTypeInfo_p.");
8068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8069 const wxString
& _result_ref
= wxFileTypeInfo_GetOpenCommand(_arg0
);
8070 _result
= (wxString
*) &_result_ref
;
8072 wxPyEndAllowThreads(__tstate
);
8073 if (PyErr_Occurred()) return NULL
;
8075 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8080 #define wxFileTypeInfo_GetPrintCommand(_swigobj) (_swigobj->GetPrintCommand())
8081 static PyObject
*_wrap_wxFileTypeInfo_GetPrintCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8082 PyObject
* _resultobj
;
8084 wxFileTypeInfo
* _arg0
;
8085 PyObject
* _argo0
= 0;
8086 char *_kwnames
[] = { "self", NULL
};
8089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetPrintCommand",_kwnames
,&_argo0
))
8092 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8093 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8094 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetPrintCommand. Expected _wxFileTypeInfo_p.");
8099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8100 const wxString
& _result_ref
= wxFileTypeInfo_GetPrintCommand(_arg0
);
8101 _result
= (wxString
*) &_result_ref
;
8103 wxPyEndAllowThreads(__tstate
);
8104 if (PyErr_Occurred()) return NULL
;
8106 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8111 #define wxFileTypeInfo_GetShortDesc(_swigobj) (_swigobj->GetShortDesc())
8112 static PyObject
*_wrap_wxFileTypeInfo_GetShortDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8113 PyObject
* _resultobj
;
8115 wxFileTypeInfo
* _arg0
;
8116 PyObject
* _argo0
= 0;
8117 char *_kwnames
[] = { "self", NULL
};
8120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetShortDesc",_kwnames
,&_argo0
))
8123 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8124 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8125 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetShortDesc. Expected _wxFileTypeInfo_p.");
8130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8131 const wxString
& _result_ref
= wxFileTypeInfo_GetShortDesc(_arg0
);
8132 _result
= (wxString
*) &_result_ref
;
8134 wxPyEndAllowThreads(__tstate
);
8135 if (PyErr_Occurred()) return NULL
;
8137 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8142 #define wxFileTypeInfo_GetDescription(_swigobj) (_swigobj->GetDescription())
8143 static PyObject
*_wrap_wxFileTypeInfo_GetDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8144 PyObject
* _resultobj
;
8146 wxFileTypeInfo
* _arg0
;
8147 PyObject
* _argo0
= 0;
8148 char *_kwnames
[] = { "self", NULL
};
8151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetDescription",_kwnames
,&_argo0
))
8154 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8155 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8156 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetDescription. Expected _wxFileTypeInfo_p.");
8161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8162 const wxString
& _result_ref
= wxFileTypeInfo_GetDescription(_arg0
);
8163 _result
= (wxString
*) &_result_ref
;
8165 wxPyEndAllowThreads(__tstate
);
8166 if (PyErr_Occurred()) return NULL
;
8168 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8173 static PyObject
* wxFileTypeInfo_GetExtensions(wxFileTypeInfo
*self
) {
8174 wxArrayString
& arr
= (wxArrayString
&)self
->GetExtensions();
8175 return wxArrayString2PyList_helper(arr
);
8177 static PyObject
*_wrap_wxFileTypeInfo_GetExtensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8178 PyObject
* _resultobj
;
8180 wxFileTypeInfo
* _arg0
;
8181 PyObject
* _argo0
= 0;
8182 char *_kwnames
[] = { "self", NULL
};
8185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetExtensions",_kwnames
,&_argo0
))
8188 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8189 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8190 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetExtensions. Expected _wxFileTypeInfo_p.");
8195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8196 _result
= (PyObject
*)wxFileTypeInfo_GetExtensions(_arg0
);
8198 wxPyEndAllowThreads(__tstate
);
8199 if (PyErr_Occurred()) return NULL
;
8201 _resultobj
= _result
;
8206 #define wxFileTypeInfo_GetExtensionsCount(_swigobj) (_swigobj->GetExtensionsCount())
8207 static PyObject
*_wrap_wxFileTypeInfo_GetExtensionsCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8208 PyObject
* _resultobj
;
8210 wxFileTypeInfo
* _arg0
;
8211 PyObject
* _argo0
= 0;
8212 char *_kwnames
[] = { "self", NULL
};
8215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetExtensionsCount",_kwnames
,&_argo0
))
8218 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8219 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8220 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetExtensionsCount. Expected _wxFileTypeInfo_p.");
8225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8226 _result
= (int )wxFileTypeInfo_GetExtensionsCount(_arg0
);
8228 wxPyEndAllowThreads(__tstate
);
8229 if (PyErr_Occurred()) return NULL
;
8230 } _resultobj
= Py_BuildValue("i",_result
);
8234 #define wxFileTypeInfo_GetIconFile(_swigobj) (_swigobj->GetIconFile())
8235 static PyObject
*_wrap_wxFileTypeInfo_GetIconFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8236 PyObject
* _resultobj
;
8238 wxFileTypeInfo
* _arg0
;
8239 PyObject
* _argo0
= 0;
8240 char *_kwnames
[] = { "self", NULL
};
8243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetIconFile",_kwnames
,&_argo0
))
8246 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8247 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8248 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetIconFile. Expected _wxFileTypeInfo_p.");
8253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8254 const wxString
& _result_ref
= wxFileTypeInfo_GetIconFile(_arg0
);
8255 _result
= (wxString
*) &_result_ref
;
8257 wxPyEndAllowThreads(__tstate
);
8258 if (PyErr_Occurred()) return NULL
;
8260 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8265 #define wxFileTypeInfo_GetIconIndex(_swigobj) (_swigobj->GetIconIndex())
8266 static PyObject
*_wrap_wxFileTypeInfo_GetIconIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8267 PyObject
* _resultobj
;
8269 wxFileTypeInfo
* _arg0
;
8270 PyObject
* _argo0
= 0;
8271 char *_kwnames
[] = { "self", NULL
};
8274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetIconIndex",_kwnames
,&_argo0
))
8277 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8278 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8279 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetIconIndex. Expected _wxFileTypeInfo_p.");
8284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8285 _result
= (int )wxFileTypeInfo_GetIconIndex(_arg0
);
8287 wxPyEndAllowThreads(__tstate
);
8288 if (PyErr_Occurred()) return NULL
;
8289 } _resultobj
= Py_BuildValue("i",_result
);
8293 #define new_wxFileType(_swigarg0) (new wxFileType(_swigarg0))
8294 static PyObject
*_wrap_new_wxFileType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8295 PyObject
* _resultobj
;
8296 wxFileType
* _result
;
8297 wxFileTypeInfo
* _arg0
;
8298 PyObject
* _argo0
= 0;
8299 char *_kwnames
[] = { "ftInfo", NULL
};
8303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxFileType",_kwnames
,&_argo0
))
8306 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8307 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8308 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxFileType. Expected _wxFileTypeInfo_p.");
8313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8314 _result
= (wxFileType
*)new_wxFileType(*_arg0
);
8316 wxPyEndAllowThreads(__tstate
);
8317 if (PyErr_Occurred()) return NULL
;
8319 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileType_p");
8320 _resultobj
= Py_BuildValue("s",_ptemp
);
8323 _resultobj
= Py_None
;
8328 static PyObject
* wxFileType_GetMimeType(wxFileType
*self
) {
8330 if (self
->GetMimeType(&str
))
8331 return PyString_FromString(str
.c_str());
8335 static PyObject
*_wrap_wxFileType_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8336 PyObject
* _resultobj
;
8339 PyObject
* _argo0
= 0;
8340 char *_kwnames
[] = { "self", NULL
};
8343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_GetMimeType",_kwnames
,&_argo0
))
8346 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8347 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8348 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetMimeType. Expected _wxFileType_p.");
8353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8354 _result
= (PyObject
*)wxFileType_GetMimeType(_arg0
);
8356 wxPyEndAllowThreads(__tstate
);
8357 if (PyErr_Occurred()) return NULL
;
8359 _resultobj
= _result
;
8364 static PyObject
* wxFileType_GetMimeTypes(wxFileType
*self
) {
8366 if (self
->GetMimeTypes(arr
))
8367 return wxArrayString2PyList_helper(arr
);
8371 static PyObject
*_wrap_wxFileType_GetMimeTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8372 PyObject
* _resultobj
;
8375 PyObject
* _argo0
= 0;
8376 char *_kwnames
[] = { "self", NULL
};
8379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_GetMimeTypes",_kwnames
,&_argo0
))
8382 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8383 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8384 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetMimeTypes. Expected _wxFileType_p.");
8389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8390 _result
= (PyObject
*)wxFileType_GetMimeTypes(_arg0
);
8392 wxPyEndAllowThreads(__tstate
);
8393 if (PyErr_Occurred()) return NULL
;
8395 _resultobj
= _result
;
8400 static PyObject
* wxFileType_GetExtensions(wxFileType
*self
) {
8402 if (self
->GetExtensions(arr
))
8403 return wxArrayString2PyList_helper(arr
);
8407 static PyObject
*_wrap_wxFileType_GetExtensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8408 PyObject
* _resultobj
;
8411 PyObject
* _argo0
= 0;
8412 char *_kwnames
[] = { "self", NULL
};
8415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_GetExtensions",_kwnames
,&_argo0
))
8418 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8419 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8420 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetExtensions. Expected _wxFileType_p.");
8425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8426 _result
= (PyObject
*)wxFileType_GetExtensions(_arg0
);
8428 wxPyEndAllowThreads(__tstate
);
8429 if (PyErr_Occurred()) return NULL
;
8431 _resultobj
= _result
;
8436 static wxIcon
* wxFileType_GetIcon(wxFileType
*self
) {
8438 if (self
->GetIcon(&icon
))
8439 return new wxIcon(icon
);
8443 static PyObject
*_wrap_wxFileType_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8444 PyObject
* _resultobj
;
8447 PyObject
* _argo0
= 0;
8448 char *_kwnames
[] = { "self", NULL
};
8452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_GetIcon",_kwnames
,&_argo0
))
8455 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8456 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8457 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetIcon. Expected _wxFileType_p.");
8462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8463 _result
= (wxIcon
*)wxFileType_GetIcon(_arg0
);
8465 wxPyEndAllowThreads(__tstate
);
8466 if (PyErr_Occurred()) return NULL
;
8468 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIcon_p");
8469 _resultobj
= Py_BuildValue("s",_ptemp
);
8472 _resultobj
= Py_None
;
8477 static PyObject
* wxFileType_GetIconInfo(wxFileType
*self
) {
8481 if (self
->GetIcon(&icon
, &iconFile
, &iconIndex
)) {
8482 wxPyBeginBlockThreads();
8483 PyObject
* tuple
= PyTuple_New(3);
8484 PyTuple_SetItem(tuple
, 0, wxPyConstructObject(new wxIcon(icon
),
8486 PyTuple_SetItem(tuple
, 1, PyString_FromString(iconFile
.c_str()));
8487 PyTuple_SetItem(tuple
, 2, PyInt_FromLong(iconIndex
));
8488 wxPyEndBlockThreads();
8494 static PyObject
*_wrap_wxFileType_GetIconInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8495 PyObject
* _resultobj
;
8498 PyObject
* _argo0
= 0;
8499 char *_kwnames
[] = { "self", NULL
};
8502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_GetIconInfo",_kwnames
,&_argo0
))
8505 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8506 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8507 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetIconInfo. Expected _wxFileType_p.");
8512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8513 _result
= (PyObject
*)wxFileType_GetIconInfo(_arg0
);
8515 wxPyEndAllowThreads(__tstate
);
8516 if (PyErr_Occurred()) return NULL
;
8518 _resultobj
= _result
;
8523 static PyObject
* wxFileType_GetDescription(wxFileType
*self
) {
8525 if (self
->GetDescription(&str
))
8526 return PyString_FromString(str
.c_str());
8530 static PyObject
*_wrap_wxFileType_GetDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8531 PyObject
* _resultobj
;
8534 PyObject
* _argo0
= 0;
8535 char *_kwnames
[] = { "self", NULL
};
8538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_GetDescription",_kwnames
,&_argo0
))
8541 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8542 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8543 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetDescription. Expected _wxFileType_p.");
8548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8549 _result
= (PyObject
*)wxFileType_GetDescription(_arg0
);
8551 wxPyEndAllowThreads(__tstate
);
8552 if (PyErr_Occurred()) return NULL
;
8554 _resultobj
= _result
;
8559 static PyObject
* wxFileType_GetOpenCommand(wxFileType
*self
,const wxString
& filename
,const wxString
& mimetype
) {
8561 if (self
->GetOpenCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
8562 return PyString_FromString(str
.c_str());
8566 static PyObject
*_wrap_wxFileType_GetOpenCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8567 PyObject
* _resultobj
;
8571 wxString
* _arg2
= (wxString
*) &wxEmptyString
;
8572 PyObject
* _argo0
= 0;
8573 PyObject
* _obj1
= 0;
8574 PyObject
* _obj2
= 0;
8575 char *_kwnames
[] = { "self","filename","mimetype", NULL
};
8578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxFileType_GetOpenCommand",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
8581 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8582 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8583 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetOpenCommand. Expected _wxFileType_p.");
8588 #if PYTHON_API_VERSION >= 1009
8589 char* tmpPtr
; int tmpSize
;
8590 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
8591 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8594 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
8596 _arg1
= new wxString(tmpPtr
, tmpSize
);
8598 if (!PyString_Check(_obj1
)) {
8599 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8602 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
8607 #if PYTHON_API_VERSION >= 1009
8608 char* tmpPtr
; int tmpSize
;
8609 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
8610 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8613 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
8615 _arg2
= new wxString(tmpPtr
, tmpSize
);
8617 if (!PyString_Check(_obj2
)) {
8618 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8621 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
8625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8626 _result
= (PyObject
*)wxFileType_GetOpenCommand(_arg0
,*_arg1
,*_arg2
);
8628 wxPyEndAllowThreads(__tstate
);
8629 if (PyErr_Occurred()) return NULL
;
8631 _resultobj
= _result
;
8644 static PyObject
* wxFileType_GetPrintCommand(wxFileType
*self
,const wxString
& filename
,const wxString
& mimetype
) {
8646 if (self
->GetPrintCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
8647 return PyString_FromString(str
.c_str());
8651 static PyObject
*_wrap_wxFileType_GetPrintCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8652 PyObject
* _resultobj
;
8656 wxString
* _arg2
= (wxString
*) &wxEmptyString
;
8657 PyObject
* _argo0
= 0;
8658 PyObject
* _obj1
= 0;
8659 PyObject
* _obj2
= 0;
8660 char *_kwnames
[] = { "self","filename","mimetype", NULL
};
8663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxFileType_GetPrintCommand",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
8666 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8667 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8668 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetPrintCommand. Expected _wxFileType_p.");
8673 #if PYTHON_API_VERSION >= 1009
8674 char* tmpPtr
; int tmpSize
;
8675 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
8676 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8679 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
8681 _arg1
= new wxString(tmpPtr
, tmpSize
);
8683 if (!PyString_Check(_obj1
)) {
8684 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8687 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
8692 #if PYTHON_API_VERSION >= 1009
8693 char* tmpPtr
; int tmpSize
;
8694 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
8695 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8698 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
8700 _arg2
= new wxString(tmpPtr
, tmpSize
);
8702 if (!PyString_Check(_obj2
)) {
8703 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8706 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
8710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8711 _result
= (PyObject
*)wxFileType_GetPrintCommand(_arg0
,*_arg1
,*_arg2
);
8713 wxPyEndAllowThreads(__tstate
);
8714 if (PyErr_Occurred()) return NULL
;
8716 _resultobj
= _result
;
8729 static PyObject
* wxFileType_GetAllCommands(wxFileType
*self
,const wxString
& filename
,const wxString
& mimetype
) {
8730 wxArrayString verbs
;
8731 wxArrayString commands
;
8732 if (self
->GetAllCommands(&verbs
, &commands
,
8733 wxFileType::MessageParameters(filename
, mimetype
))) {
8734 wxPyBeginBlockThreads();
8735 PyObject
* tuple
= PyTuple_New(2);
8736 PyTuple_SetItem(tuple
, 0, wxArrayString2PyList_helper(verbs
));
8737 PyTuple_SetItem(tuple
, 1, wxArrayString2PyList_helper(commands
));
8738 wxPyEndBlockThreads();
8744 static PyObject
*_wrap_wxFileType_GetAllCommands(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8745 PyObject
* _resultobj
;
8749 wxString
* _arg2
= (wxString
*) &wxEmptyString
;
8750 PyObject
* _argo0
= 0;
8751 PyObject
* _obj1
= 0;
8752 PyObject
* _obj2
= 0;
8753 char *_kwnames
[] = { "self","filename","mimetype", NULL
};
8756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxFileType_GetAllCommands",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
8759 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8760 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8761 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetAllCommands. Expected _wxFileType_p.");
8766 #if PYTHON_API_VERSION >= 1009
8767 char* tmpPtr
; int tmpSize
;
8768 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
8769 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8772 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
8774 _arg1
= new wxString(tmpPtr
, tmpSize
);
8776 if (!PyString_Check(_obj1
)) {
8777 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8780 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
8785 #if PYTHON_API_VERSION >= 1009
8786 char* tmpPtr
; int tmpSize
;
8787 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
8788 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8791 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
8793 _arg2
= new wxString(tmpPtr
, tmpSize
);
8795 if (!PyString_Check(_obj2
)) {
8796 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8799 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
8803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8804 _result
= (PyObject
*)wxFileType_GetAllCommands(_arg0
,*_arg1
,*_arg2
);
8806 wxPyEndAllowThreads(__tstate
);
8807 if (PyErr_Occurred()) return NULL
;
8809 _resultobj
= _result
;
8822 #define wxFileType_SetCommand(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCommand(_swigarg0,_swigarg1,_swigarg2))
8823 static PyObject
*_wrap_wxFileType_SetCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8824 PyObject
* _resultobj
;
8829 bool _arg3
= (bool ) TRUE
;
8830 PyObject
* _argo0
= 0;
8831 PyObject
* _obj1
= 0;
8832 PyObject
* _obj2
= 0;
8833 int tempbool3
= (int) TRUE
;
8834 char *_kwnames
[] = { "self","cmd","verb","overwriteprompt", NULL
};
8837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|i:wxFileType_SetCommand",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&tempbool3
))
8840 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8841 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8842 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_SetCommand. Expected _wxFileType_p.");
8847 #if PYTHON_API_VERSION >= 1009
8848 char* tmpPtr
; int tmpSize
;
8849 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
8850 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8853 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
8855 _arg1
= new wxString(tmpPtr
, tmpSize
);
8857 if (!PyString_Check(_obj1
)) {
8858 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8861 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
8865 #if PYTHON_API_VERSION >= 1009
8866 char* tmpPtr
; int tmpSize
;
8867 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
8868 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8871 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
8873 _arg2
= new wxString(tmpPtr
, tmpSize
);
8875 if (!PyString_Check(_obj2
)) {
8876 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8879 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
8882 _arg3
= (bool ) tempbool3
;
8884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8885 _result
= (bool )wxFileType_SetCommand(_arg0
,*_arg1
,*_arg2
,_arg3
);
8887 wxPyEndAllowThreads(__tstate
);
8888 if (PyErr_Occurred()) return NULL
;
8889 } _resultobj
= Py_BuildValue("i",_result
);
8901 #define wxFileType_SetDefaultIcon(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDefaultIcon(_swigarg0,_swigarg1))
8902 static PyObject
*_wrap_wxFileType_SetDefaultIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8903 PyObject
* _resultobj
;
8906 wxString
* _arg1
= (wxString
*) &wxEmptyString
;
8907 int _arg2
= (int ) 0;
8908 PyObject
* _argo0
= 0;
8909 PyObject
* _obj1
= 0;
8910 char *_kwnames
[] = { "self","cmd","index", NULL
};
8913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|Oi:wxFileType_SetDefaultIcon",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
8916 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8917 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8918 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_SetDefaultIcon. Expected _wxFileType_p.");
8924 #if PYTHON_API_VERSION >= 1009
8925 char* tmpPtr
; int tmpSize
;
8926 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
8927 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8930 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
8932 _arg1
= new wxString(tmpPtr
, tmpSize
);
8934 if (!PyString_Check(_obj1
)) {
8935 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8938 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
8942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8943 _result
= (bool )wxFileType_SetDefaultIcon(_arg0
,*_arg1
,_arg2
);
8945 wxPyEndAllowThreads(__tstate
);
8946 if (PyErr_Occurred()) return NULL
;
8947 } _resultobj
= Py_BuildValue("i",_result
);
8955 #define wxFileType_Unassociate(_swigobj) (_swigobj->Unassociate())
8956 static PyObject
*_wrap_wxFileType_Unassociate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8957 PyObject
* _resultobj
;
8960 PyObject
* _argo0
= 0;
8961 char *_kwnames
[] = { "self", NULL
};
8964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_Unassociate",_kwnames
,&_argo0
))
8967 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8968 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8969 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_Unassociate. Expected _wxFileType_p.");
8974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8975 _result
= (bool )wxFileType_Unassociate(_arg0
);
8977 wxPyEndAllowThreads(__tstate
);
8978 if (PyErr_Occurred()) return NULL
;
8979 } _resultobj
= Py_BuildValue("i",_result
);
8983 static PyObject
*_wrap_wxFileType_ExpandCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8984 PyObject
* _resultobj
;
8987 wxFileType::MessageParameters
* _arg1
;
8988 PyObject
* _obj0
= 0;
8989 PyObject
* _argo1
= 0;
8990 char *_kwnames
[] = { "command","params", NULL
};
8993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileType_ExpandCommand",_kwnames
,&_obj0
,&_argo1
))
8996 #if PYTHON_API_VERSION >= 1009
8997 char* tmpPtr
; int tmpSize
;
8998 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
8999 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9002 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
9004 _arg0
= new wxString(tmpPtr
, tmpSize
);
9006 if (!PyString_Check(_obj0
)) {
9007 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9010 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
9014 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9015 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFileType::MessageParameters_p")) {
9016 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFileType_ExpandCommand. Expected _wxFileType::MessageParameters_p.");
9021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9022 _result
= new wxString (wxFileType::ExpandCommand(*_arg0
,*_arg1
));
9024 wxPyEndAllowThreads(__tstate
);
9025 if (PyErr_Occurred()) return NULL
;
9027 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9039 #define delete_wxFileType(_swigobj) (delete _swigobj)
9040 static PyObject
*_wrap_delete_wxFileType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9041 PyObject
* _resultobj
;
9043 PyObject
* _argo0
= 0;
9044 char *_kwnames
[] = { "self", NULL
};
9047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxFileType",_kwnames
,&_argo0
))
9050 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9051 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
9052 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxFileType. Expected _wxFileType_p.");
9057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9058 delete_wxFileType(_arg0
);
9060 wxPyEndAllowThreads(__tstate
);
9061 if (PyErr_Occurred()) return NULL
;
9062 } Py_INCREF(Py_None
);
9063 _resultobj
= Py_None
;
9067 static PyObject
*_wrap_wxMimeTypesManager_IsOfType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9068 PyObject
* _resultobj
;
9072 PyObject
* _obj0
= 0;
9073 PyObject
* _obj1
= 0;
9074 char *_kwnames
[] = { "mimeType","wildcard", NULL
};
9077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_IsOfType",_kwnames
,&_obj0
,&_obj1
))
9080 #if PYTHON_API_VERSION >= 1009
9081 char* tmpPtr
; int tmpSize
;
9082 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
9083 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9086 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
9088 _arg0
= new wxString(tmpPtr
, tmpSize
);
9090 if (!PyString_Check(_obj0
)) {
9091 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9094 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
9098 #if PYTHON_API_VERSION >= 1009
9099 char* tmpPtr
; int tmpSize
;
9100 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
9101 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9104 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
9106 _arg1
= new wxString(tmpPtr
, tmpSize
);
9108 if (!PyString_Check(_obj1
)) {
9109 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9112 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
9116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9117 _result
= (bool )wxMimeTypesManager::IsOfType(*_arg0
,*_arg1
);
9119 wxPyEndAllowThreads(__tstate
);
9120 if (PyErr_Occurred()) return NULL
;
9121 } _resultobj
= Py_BuildValue("i",_result
);
9133 #define new_wxMimeTypesManager() (new wxMimeTypesManager())
9134 static PyObject
*_wrap_new_wxMimeTypesManager(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9135 PyObject
* _resultobj
;
9136 wxMimeTypesManager
* _result
;
9137 char *_kwnames
[] = { NULL
};
9141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxMimeTypesManager",_kwnames
))
9144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9145 _result
= (wxMimeTypesManager
*)new_wxMimeTypesManager();
9147 wxPyEndAllowThreads(__tstate
);
9148 if (PyErr_Occurred()) return NULL
;
9150 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMimeTypesManager_p");
9151 _resultobj
= Py_BuildValue("s",_ptemp
);
9154 _resultobj
= Py_None
;
9159 #define wxMimeTypesManager_Initialize(_swigobj,_swigarg0,_swigarg1) (_swigobj->Initialize(_swigarg0,_swigarg1))
9160 static PyObject
*_wrap_wxMimeTypesManager_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9161 PyObject
* _resultobj
;
9162 wxMimeTypesManager
* _arg0
;
9163 int _arg1
= (int ) (wxMAILCAP_STANDARD
);
9164 wxString
* _arg2
= (wxString
*) &wxEmptyString
;
9165 PyObject
* _argo0
= 0;
9166 PyObject
* _obj2
= 0;
9167 char *_kwnames
[] = { "self","mailcapStyle","extraDir", NULL
};
9170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iO:wxMimeTypesManager_Initialize",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
9173 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9174 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9175 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_Initialize. Expected _wxMimeTypesManager_p.");
9181 #if PYTHON_API_VERSION >= 1009
9182 char* tmpPtr
; int tmpSize
;
9183 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
9184 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9187 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
9189 _arg2
= new wxString(tmpPtr
, tmpSize
);
9191 if (!PyString_Check(_obj2
)) {
9192 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9195 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
9199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9200 wxMimeTypesManager_Initialize(_arg0
,_arg1
,*_arg2
);
9202 wxPyEndAllowThreads(__tstate
);
9203 if (PyErr_Occurred()) return NULL
;
9204 } Py_INCREF(Py_None
);
9205 _resultobj
= Py_None
;
9213 #define wxMimeTypesManager_ClearData(_swigobj) (_swigobj->ClearData())
9214 static PyObject
*_wrap_wxMimeTypesManager_ClearData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9215 PyObject
* _resultobj
;
9216 wxMimeTypesManager
* _arg0
;
9217 PyObject
* _argo0
= 0;
9218 char *_kwnames
[] = { "self", NULL
};
9221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMimeTypesManager_ClearData",_kwnames
,&_argo0
))
9224 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9225 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9226 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_ClearData. Expected _wxMimeTypesManager_p.");
9231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9232 wxMimeTypesManager_ClearData(_arg0
);
9234 wxPyEndAllowThreads(__tstate
);
9235 if (PyErr_Occurred()) return NULL
;
9236 } Py_INCREF(Py_None
);
9237 _resultobj
= Py_None
;
9241 #define wxMimeTypesManager_GetFileTypeFromExtension(_swigobj,_swigarg0) (_swigobj->GetFileTypeFromExtension(_swigarg0))
9242 static PyObject
*_wrap_wxMimeTypesManager_GetFileTypeFromExtension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9243 PyObject
* _resultobj
;
9244 wxFileType
* _result
;
9245 wxMimeTypesManager
* _arg0
;
9247 PyObject
* _argo0
= 0;
9248 PyObject
* _obj1
= 0;
9249 char *_kwnames
[] = { "self","ext", NULL
};
9253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_GetFileTypeFromExtension",_kwnames
,&_argo0
,&_obj1
))
9256 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9257 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9258 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_GetFileTypeFromExtension. Expected _wxMimeTypesManager_p.");
9263 #if PYTHON_API_VERSION >= 1009
9264 char* tmpPtr
; int tmpSize
;
9265 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
9266 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9269 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
9271 _arg1
= new wxString(tmpPtr
, tmpSize
);
9273 if (!PyString_Check(_obj1
)) {
9274 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9277 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
9281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9282 _result
= (wxFileType
*)wxMimeTypesManager_GetFileTypeFromExtension(_arg0
,*_arg1
);
9284 wxPyEndAllowThreads(__tstate
);
9285 if (PyErr_Occurred()) return NULL
;
9287 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileType_p");
9288 _resultobj
= Py_BuildValue("s",_ptemp
);
9291 _resultobj
= Py_None
;
9300 #define wxMimeTypesManager_GetFileTypeFromMimeType(_swigobj,_swigarg0) (_swigobj->GetFileTypeFromMimeType(_swigarg0))
9301 static PyObject
*_wrap_wxMimeTypesManager_GetFileTypeFromMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9302 PyObject
* _resultobj
;
9303 wxFileType
* _result
;
9304 wxMimeTypesManager
* _arg0
;
9306 PyObject
* _argo0
= 0;
9307 PyObject
* _obj1
= 0;
9308 char *_kwnames
[] = { "self","mimeType", NULL
};
9312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_GetFileTypeFromMimeType",_kwnames
,&_argo0
,&_obj1
))
9315 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9316 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9317 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_GetFileTypeFromMimeType. Expected _wxMimeTypesManager_p.");
9322 #if PYTHON_API_VERSION >= 1009
9323 char* tmpPtr
; int tmpSize
;
9324 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
9325 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9328 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
9330 _arg1
= new wxString(tmpPtr
, tmpSize
);
9332 if (!PyString_Check(_obj1
)) {
9333 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9336 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
9340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9341 _result
= (wxFileType
*)wxMimeTypesManager_GetFileTypeFromMimeType(_arg0
,*_arg1
);
9343 wxPyEndAllowThreads(__tstate
);
9344 if (PyErr_Occurred()) return NULL
;
9346 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileType_p");
9347 _resultobj
= Py_BuildValue("s",_ptemp
);
9350 _resultobj
= Py_None
;
9359 #define wxMimeTypesManager_ReadMailcap(_swigobj,_swigarg0,_swigarg1) (_swigobj->ReadMailcap(_swigarg0,_swigarg1))
9360 static PyObject
*_wrap_wxMimeTypesManager_ReadMailcap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9361 PyObject
* _resultobj
;
9363 wxMimeTypesManager
* _arg0
;
9365 bool _arg2
= (bool ) FALSE
;
9366 PyObject
* _argo0
= 0;
9367 PyObject
* _obj1
= 0;
9368 int tempbool2
= (int) FALSE
;
9369 char *_kwnames
[] = { "self","filename","fallback", NULL
};
9372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxMimeTypesManager_ReadMailcap",_kwnames
,&_argo0
,&_obj1
,&tempbool2
))
9375 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9376 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9377 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_ReadMailcap. Expected _wxMimeTypesManager_p.");
9382 #if PYTHON_API_VERSION >= 1009
9383 char* tmpPtr
; int tmpSize
;
9384 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
9385 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9388 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
9390 _arg1
= new wxString(tmpPtr
, tmpSize
);
9392 if (!PyString_Check(_obj1
)) {
9393 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9396 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
9399 _arg2
= (bool ) tempbool2
;
9401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9402 _result
= (bool )wxMimeTypesManager_ReadMailcap(_arg0
,*_arg1
,_arg2
);
9404 wxPyEndAllowThreads(__tstate
);
9405 if (PyErr_Occurred()) return NULL
;
9406 } _resultobj
= Py_BuildValue("i",_result
);
9414 #define wxMimeTypesManager_ReadMimeTypes(_swigobj,_swigarg0) (_swigobj->ReadMimeTypes(_swigarg0))
9415 static PyObject
*_wrap_wxMimeTypesManager_ReadMimeTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9416 PyObject
* _resultobj
;
9418 wxMimeTypesManager
* _arg0
;
9420 PyObject
* _argo0
= 0;
9421 PyObject
* _obj1
= 0;
9422 char *_kwnames
[] = { "self","filename", NULL
};
9425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_ReadMimeTypes",_kwnames
,&_argo0
,&_obj1
))
9428 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9429 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9430 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_ReadMimeTypes. Expected _wxMimeTypesManager_p.");
9435 #if PYTHON_API_VERSION >= 1009
9436 char* tmpPtr
; int tmpSize
;
9437 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
9438 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9441 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
9443 _arg1
= new wxString(tmpPtr
, tmpSize
);
9445 if (!PyString_Check(_obj1
)) {
9446 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9449 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
9453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9454 _result
= (bool )wxMimeTypesManager_ReadMimeTypes(_arg0
,*_arg1
);
9456 wxPyEndAllowThreads(__tstate
);
9457 if (PyErr_Occurred()) return NULL
;
9458 } _resultobj
= Py_BuildValue("i",_result
);
9466 static PyObject
* wxMimeTypesManager_EnumAllFileTypes(wxMimeTypesManager
*self
) {
9468 self
->EnumAllFileTypes(arr
);
9469 return wxArrayString2PyList_helper(arr
);
9471 static PyObject
*_wrap_wxMimeTypesManager_EnumAllFileTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9472 PyObject
* _resultobj
;
9474 wxMimeTypesManager
* _arg0
;
9475 PyObject
* _argo0
= 0;
9476 char *_kwnames
[] = { "self", NULL
};
9479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMimeTypesManager_EnumAllFileTypes",_kwnames
,&_argo0
))
9482 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9483 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9484 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_EnumAllFileTypes. Expected _wxMimeTypesManager_p.");
9489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9490 _result
= (PyObject
*)wxMimeTypesManager_EnumAllFileTypes(_arg0
);
9492 wxPyEndAllowThreads(__tstate
);
9493 if (PyErr_Occurred()) return NULL
;
9495 _resultobj
= _result
;
9500 #define wxMimeTypesManager_AddFallback(_swigobj,_swigarg0) (_swigobj->AddFallback(_swigarg0))
9501 static PyObject
*_wrap_wxMimeTypesManager_AddFallback(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9502 PyObject
* _resultobj
;
9503 wxMimeTypesManager
* _arg0
;
9504 wxFileTypeInfo
* _arg1
;
9505 PyObject
* _argo0
= 0;
9506 PyObject
* _argo1
= 0;
9507 char *_kwnames
[] = { "self","ft", NULL
};
9510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_AddFallback",_kwnames
,&_argo0
,&_argo1
))
9513 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9514 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9515 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_AddFallback. Expected _wxMimeTypesManager_p.");
9520 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9521 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFileTypeInfo_p")) {
9522 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMimeTypesManager_AddFallback. Expected _wxFileTypeInfo_p.");
9527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9528 wxMimeTypesManager_AddFallback(_arg0
,*_arg1
);
9530 wxPyEndAllowThreads(__tstate
);
9531 if (PyErr_Occurred()) return NULL
;
9532 } Py_INCREF(Py_None
);
9533 _resultobj
= Py_None
;
9537 #define wxMimeTypesManager_Associate(_swigobj,_swigarg0) (_swigobj->Associate(_swigarg0))
9538 static PyObject
*_wrap_wxMimeTypesManager_Associate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9539 PyObject
* _resultobj
;
9540 wxFileType
* _result
;
9541 wxMimeTypesManager
* _arg0
;
9542 wxFileTypeInfo
* _arg1
;
9543 PyObject
* _argo0
= 0;
9544 PyObject
* _argo1
= 0;
9545 char *_kwnames
[] = { "self","ftInfo", NULL
};
9549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_Associate",_kwnames
,&_argo0
,&_argo1
))
9552 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9553 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9554 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_Associate. Expected _wxMimeTypesManager_p.");
9559 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9560 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFileTypeInfo_p")) {
9561 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMimeTypesManager_Associate. Expected _wxFileTypeInfo_p.");
9566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9567 _result
= (wxFileType
*)wxMimeTypesManager_Associate(_arg0
,*_arg1
);
9569 wxPyEndAllowThreads(__tstate
);
9570 if (PyErr_Occurred()) return NULL
;
9572 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileType_p");
9573 _resultobj
= Py_BuildValue("s",_ptemp
);
9576 _resultobj
= Py_None
;
9581 #define wxMimeTypesManager_Unassociate(_swigobj,_swigarg0) (_swigobj->Unassociate(_swigarg0))
9582 static PyObject
*_wrap_wxMimeTypesManager_Unassociate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9583 PyObject
* _resultobj
;
9585 wxMimeTypesManager
* _arg0
;
9587 PyObject
* _argo0
= 0;
9588 PyObject
* _argo1
= 0;
9589 char *_kwnames
[] = { "self","ft", NULL
};
9592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_Unassociate",_kwnames
,&_argo0
,&_argo1
))
9595 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9596 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9597 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_Unassociate. Expected _wxMimeTypesManager_p.");
9602 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9603 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFileType_p")) {
9604 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMimeTypesManager_Unassociate. Expected _wxFileType_p.");
9609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9610 _result
= (bool )wxMimeTypesManager_Unassociate(_arg0
,_arg1
);
9612 wxPyEndAllowThreads(__tstate
);
9613 if (PyErr_Occurred()) return NULL
;
9614 } _resultobj
= Py_BuildValue("i",_result
);
9618 #define delete_wxMimeTypesManager(_swigobj) (delete _swigobj)
9619 static PyObject
*_wrap_delete_wxMimeTypesManager(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9620 PyObject
* _resultobj
;
9621 wxMimeTypesManager
* _arg0
;
9622 PyObject
* _argo0
= 0;
9623 char *_kwnames
[] = { "self", NULL
};
9626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxMimeTypesManager",_kwnames
,&_argo0
))
9629 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9630 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9631 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxMimeTypesManager. Expected _wxMimeTypesManager_p.");
9636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9637 delete_wxMimeTypesManager(_arg0
);
9639 wxPyEndAllowThreads(__tstate
);
9640 if (PyErr_Occurred()) return NULL
;
9641 } Py_INCREF(Py_None
);
9642 _resultobj
= Py_None
;
9646 static void *SwigwxFileHistoryTowxObject(void *ptr
) {
9649 src
= (wxFileHistory
*) ptr
;
9650 dest
= (wxObject
*) src
;
9651 return (void *) dest
;
9654 #define new_wxFileHistory(_swigarg0) (new wxFileHistory(_swigarg0))
9655 static PyObject
*_wrap_new_wxFileHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9656 PyObject
* _resultobj
;
9657 wxFileHistory
* _result
;
9658 int _arg0
= (int ) 9;
9659 char *_kwnames
[] = { "maxFiles", NULL
};
9663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxFileHistory",_kwnames
,&_arg0
))
9666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9667 _result
= (wxFileHistory
*)new_wxFileHistory(_arg0
);
9669 wxPyEndAllowThreads(__tstate
);
9670 if (PyErr_Occurred()) return NULL
;
9672 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileHistory_p");
9673 _resultobj
= Py_BuildValue("s",_ptemp
);
9676 _resultobj
= Py_None
;
9681 #define delete_wxFileHistory(_swigobj) (delete _swigobj)
9682 static PyObject
*_wrap_delete_wxFileHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9683 PyObject
* _resultobj
;
9684 wxFileHistory
* _arg0
;
9685 PyObject
* _argo0
= 0;
9686 char *_kwnames
[] = { "self", NULL
};
9689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxFileHistory",_kwnames
,&_argo0
))
9692 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9693 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9694 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxFileHistory. Expected _wxFileHistory_p.");
9699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9700 delete_wxFileHistory(_arg0
);
9702 wxPyEndAllowThreads(__tstate
);
9703 if (PyErr_Occurred()) return NULL
;
9704 } Py_INCREF(Py_None
);
9705 _resultobj
= Py_None
;
9709 #define wxFileHistory_AddFileToHistory(_swigobj,_swigarg0) (_swigobj->AddFileToHistory(_swigarg0))
9710 static PyObject
*_wrap_wxFileHistory_AddFileToHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9711 PyObject
* _resultobj
;
9712 wxFileHistory
* _arg0
;
9714 PyObject
* _argo0
= 0;
9715 PyObject
* _obj1
= 0;
9716 char *_kwnames
[] = { "self","file", NULL
};
9719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileHistory_AddFileToHistory",_kwnames
,&_argo0
,&_obj1
))
9722 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9723 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9724 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_AddFileToHistory. Expected _wxFileHistory_p.");
9729 #if PYTHON_API_VERSION >= 1009
9730 char* tmpPtr
; int tmpSize
;
9731 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
9732 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9735 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
9737 _arg1
= new wxString(tmpPtr
, tmpSize
);
9739 if (!PyString_Check(_obj1
)) {
9740 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9743 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
9747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9748 wxFileHistory_AddFileToHistory(_arg0
,*_arg1
);
9750 wxPyEndAllowThreads(__tstate
);
9751 if (PyErr_Occurred()) return NULL
;
9752 } Py_INCREF(Py_None
);
9753 _resultobj
= Py_None
;
9761 #define wxFileHistory_RemoveFileFromHistory(_swigobj,_swigarg0) (_swigobj->RemoveFileFromHistory(_swigarg0))
9762 static PyObject
*_wrap_wxFileHistory_RemoveFileFromHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9763 PyObject
* _resultobj
;
9764 wxFileHistory
* _arg0
;
9766 PyObject
* _argo0
= 0;
9767 char *_kwnames
[] = { "self","i", NULL
};
9770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFileHistory_RemoveFileFromHistory",_kwnames
,&_argo0
,&_arg1
))
9773 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9774 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9775 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_RemoveFileFromHistory. Expected _wxFileHistory_p.");
9780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9781 wxFileHistory_RemoveFileFromHistory(_arg0
,_arg1
);
9783 wxPyEndAllowThreads(__tstate
);
9784 if (PyErr_Occurred()) return NULL
;
9785 } Py_INCREF(Py_None
);
9786 _resultobj
= Py_None
;
9790 #define wxFileHistory_GetMaxFiles(_swigobj) (_swigobj->GetMaxFiles())
9791 static PyObject
*_wrap_wxFileHistory_GetMaxFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9792 PyObject
* _resultobj
;
9794 wxFileHistory
* _arg0
;
9795 PyObject
* _argo0
= 0;
9796 char *_kwnames
[] = { "self", NULL
};
9799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileHistory_GetMaxFiles",_kwnames
,&_argo0
))
9802 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9803 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9804 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_GetMaxFiles. Expected _wxFileHistory_p.");
9809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9810 _result
= (int )wxFileHistory_GetMaxFiles(_arg0
);
9812 wxPyEndAllowThreads(__tstate
);
9813 if (PyErr_Occurred()) return NULL
;
9814 } _resultobj
= Py_BuildValue("i",_result
);
9818 #define wxFileHistory_UseMenu(_swigobj,_swigarg0) (_swigobj->UseMenu(_swigarg0))
9819 static PyObject
*_wrap_wxFileHistory_UseMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9820 PyObject
* _resultobj
;
9821 wxFileHistory
* _arg0
;
9823 PyObject
* _argo0
= 0;
9824 PyObject
* _argo1
= 0;
9825 char *_kwnames
[] = { "self","menu", NULL
};
9828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileHistory_UseMenu",_kwnames
,&_argo0
,&_argo1
))
9831 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9832 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9833 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_UseMenu. Expected _wxFileHistory_p.");
9838 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9839 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
9840 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFileHistory_UseMenu. Expected _wxMenu_p.");
9845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9846 wxFileHistory_UseMenu(_arg0
,_arg1
);
9848 wxPyEndAllowThreads(__tstate
);
9849 if (PyErr_Occurred()) return NULL
;
9850 } Py_INCREF(Py_None
);
9851 _resultobj
= Py_None
;
9855 #define wxFileHistory_RemoveMenu(_swigobj,_swigarg0) (_swigobj->RemoveMenu(_swigarg0))
9856 static PyObject
*_wrap_wxFileHistory_RemoveMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9857 PyObject
* _resultobj
;
9858 wxFileHistory
* _arg0
;
9860 PyObject
* _argo0
= 0;
9861 PyObject
* _argo1
= 0;
9862 char *_kwnames
[] = { "self","menu", NULL
};
9865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileHistory_RemoveMenu",_kwnames
,&_argo0
,&_argo1
))
9868 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9869 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9870 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_RemoveMenu. Expected _wxFileHistory_p.");
9875 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9876 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
9877 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFileHistory_RemoveMenu. Expected _wxMenu_p.");
9882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9883 wxFileHistory_RemoveMenu(_arg0
,_arg1
);
9885 wxPyEndAllowThreads(__tstate
);
9886 if (PyErr_Occurred()) return NULL
;
9887 } Py_INCREF(Py_None
);
9888 _resultobj
= Py_None
;
9892 #define wxFileHistory_Load(_swigobj,_swigarg0) (_swigobj->Load(_swigarg0))
9893 static PyObject
*_wrap_wxFileHistory_Load(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9894 PyObject
* _resultobj
;
9895 wxFileHistory
* _arg0
;
9896 wxConfigBase
* _arg1
;
9897 PyObject
* _argo0
= 0;
9898 PyObject
* _argo1
= 0;
9899 char *_kwnames
[] = { "self","config", NULL
};
9902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileHistory_Load",_kwnames
,&_argo0
,&_argo1
))
9905 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9906 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9907 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_Load. Expected _wxFileHistory_p.");
9912 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9913 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxConfigBase_p")) {
9914 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFileHistory_Load. Expected _wxConfigBase_p.");
9919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9920 wxFileHistory_Load(_arg0
,*_arg1
);
9922 wxPyEndAllowThreads(__tstate
);
9923 if (PyErr_Occurred()) return NULL
;
9924 } Py_INCREF(Py_None
);
9925 _resultobj
= Py_None
;
9929 #define wxFileHistory_Save(_swigobj,_swigarg0) (_swigobj->Save(_swigarg0))
9930 static PyObject
*_wrap_wxFileHistory_Save(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9931 PyObject
* _resultobj
;
9932 wxFileHistory
* _arg0
;
9933 wxConfigBase
* _arg1
;
9934 PyObject
* _argo0
= 0;
9935 PyObject
* _argo1
= 0;
9936 char *_kwnames
[] = { "self","config", NULL
};
9939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileHistory_Save",_kwnames
,&_argo0
,&_argo1
))
9942 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9943 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9944 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_Save. Expected _wxFileHistory_p.");
9949 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9950 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxConfigBase_p")) {
9951 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFileHistory_Save. Expected _wxConfigBase_p.");
9956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9957 wxFileHistory_Save(_arg0
,*_arg1
);
9959 wxPyEndAllowThreads(__tstate
);
9960 if (PyErr_Occurred()) return NULL
;
9961 } Py_INCREF(Py_None
);
9962 _resultobj
= Py_None
;
9966 #define wxFileHistory_AddFilesToMenu(_swigobj) (_swigobj->AddFilesToMenu())
9967 static PyObject
*_wrap_wxFileHistory_AddFilesToMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9968 PyObject
* _resultobj
;
9969 wxFileHistory
* _arg0
;
9970 PyObject
* _argo0
= 0;
9971 char *_kwnames
[] = { "self", NULL
};
9974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileHistory_AddFilesToMenu",_kwnames
,&_argo0
))
9977 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9978 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9979 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_AddFilesToMenu. Expected _wxFileHistory_p.");
9984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9985 wxFileHistory_AddFilesToMenu(_arg0
);
9987 wxPyEndAllowThreads(__tstate
);
9988 if (PyErr_Occurred()) return NULL
;
9989 } Py_INCREF(Py_None
);
9990 _resultobj
= Py_None
;
9994 #define wxFileHistory_AddFilesToSingleMenu(_swigobj,_swigarg0) (_swigobj->AddFilesToMenu(_swigarg0))
9995 static PyObject
*_wrap_wxFileHistory_AddFilesToSingleMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9996 PyObject
* _resultobj
;
9997 wxFileHistory
* _arg0
;
9999 PyObject
* _argo0
= 0;
10000 PyObject
* _argo1
= 0;
10001 char *_kwnames
[] = { "self","menu", NULL
};
10004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileHistory_AddFilesToSingleMenu",_kwnames
,&_argo0
,&_argo1
))
10007 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10008 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
10009 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_AddFilesToSingleMenu. Expected _wxFileHistory_p.");
10014 if (_argo1
== Py_None
) { _arg1
= NULL
; }
10015 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
10016 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFileHistory_AddFilesToSingleMenu. Expected _wxMenu_p.");
10021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10022 wxFileHistory_AddFilesToSingleMenu(_arg0
,_arg1
);
10024 wxPyEndAllowThreads(__tstate
);
10025 if (PyErr_Occurred()) return NULL
;
10026 } Py_INCREF(Py_None
);
10027 _resultobj
= Py_None
;
10031 #define wxFileHistory_GetHistoryFile(_swigobj,_swigarg0) (_swigobj->GetHistoryFile(_swigarg0))
10032 static PyObject
*_wrap_wxFileHistory_GetHistoryFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10033 PyObject
* _resultobj
;
10034 wxString
* _result
;
10035 wxFileHistory
* _arg0
;
10037 PyObject
* _argo0
= 0;
10038 char *_kwnames
[] = { "self","i", NULL
};
10041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFileHistory_GetHistoryFile",_kwnames
,&_argo0
,&_arg1
))
10044 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10045 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
10046 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_GetHistoryFile. Expected _wxFileHistory_p.");
10051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10052 _result
= new wxString (wxFileHistory_GetHistoryFile(_arg0
,_arg1
));
10054 wxPyEndAllowThreads(__tstate
);
10055 if (PyErr_Occurred()) return NULL
;
10057 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
10065 #define wxFileHistory_GetCount(_swigobj) (_swigobj->GetCount())
10066 static PyObject
*_wrap_wxFileHistory_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10067 PyObject
* _resultobj
;
10069 wxFileHistory
* _arg0
;
10070 PyObject
* _argo0
= 0;
10071 char *_kwnames
[] = { "self", NULL
};
10074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileHistory_GetCount",_kwnames
,&_argo0
))
10077 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10078 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
10079 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_GetCount. Expected _wxFileHistory_p.");
10084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10085 _result
= (int )wxFileHistory_GetCount(_arg0
);
10087 wxPyEndAllowThreads(__tstate
);
10088 if (PyErr_Occurred()) return NULL
;
10089 } _resultobj
= Py_BuildValue("i",_result
);
10093 #define wxFileHistory_GetNoHistoryFiles(_swigobj) (_swigobj->GetNoHistoryFiles())
10094 static PyObject
*_wrap_wxFileHistory_GetNoHistoryFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10095 PyObject
* _resultobj
;
10097 wxFileHistory
* _arg0
;
10098 PyObject
* _argo0
= 0;
10099 char *_kwnames
[] = { "self", NULL
};
10102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileHistory_GetNoHistoryFiles",_kwnames
,&_argo0
))
10105 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10106 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
10107 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_GetNoHistoryFiles. Expected _wxFileHistory_p.");
10112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10113 _result
= (int )wxFileHistory_GetNoHistoryFiles(_arg0
);
10115 wxPyEndAllowThreads(__tstate
);
10116 if (PyErr_Occurred()) return NULL
;
10117 } _resultobj
= Py_BuildValue("i",_result
);
10121 static PyMethodDef misc2cMethods
[] = {
10122 { "wxFileHistory_GetNoHistoryFiles", (PyCFunction
) _wrap_wxFileHistory_GetNoHistoryFiles
, METH_VARARGS
| METH_KEYWORDS
},
10123 { "wxFileHistory_GetCount", (PyCFunction
) _wrap_wxFileHistory_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
10124 { "wxFileHistory_GetHistoryFile", (PyCFunction
) _wrap_wxFileHistory_GetHistoryFile
, METH_VARARGS
| METH_KEYWORDS
},
10125 { "wxFileHistory_AddFilesToSingleMenu", (PyCFunction
) _wrap_wxFileHistory_AddFilesToSingleMenu
, METH_VARARGS
| METH_KEYWORDS
},
10126 { "wxFileHistory_AddFilesToMenu", (PyCFunction
) _wrap_wxFileHistory_AddFilesToMenu
, METH_VARARGS
| METH_KEYWORDS
},
10127 { "wxFileHistory_Save", (PyCFunction
) _wrap_wxFileHistory_Save
, METH_VARARGS
| METH_KEYWORDS
},
10128 { "wxFileHistory_Load", (PyCFunction
) _wrap_wxFileHistory_Load
, METH_VARARGS
| METH_KEYWORDS
},
10129 { "wxFileHistory_RemoveMenu", (PyCFunction
) _wrap_wxFileHistory_RemoveMenu
, METH_VARARGS
| METH_KEYWORDS
},
10130 { "wxFileHistory_UseMenu", (PyCFunction
) _wrap_wxFileHistory_UseMenu
, METH_VARARGS
| METH_KEYWORDS
},
10131 { "wxFileHistory_GetMaxFiles", (PyCFunction
) _wrap_wxFileHistory_GetMaxFiles
, METH_VARARGS
| METH_KEYWORDS
},
10132 { "wxFileHistory_RemoveFileFromHistory", (PyCFunction
) _wrap_wxFileHistory_RemoveFileFromHistory
, METH_VARARGS
| METH_KEYWORDS
},
10133 { "wxFileHistory_AddFileToHistory", (PyCFunction
) _wrap_wxFileHistory_AddFileToHistory
, METH_VARARGS
| METH_KEYWORDS
},
10134 { "delete_wxFileHistory", (PyCFunction
) _wrap_delete_wxFileHistory
, METH_VARARGS
| METH_KEYWORDS
},
10135 { "new_wxFileHistory", (PyCFunction
) _wrap_new_wxFileHistory
, METH_VARARGS
| METH_KEYWORDS
},
10136 { "delete_wxMimeTypesManager", (PyCFunction
) _wrap_delete_wxMimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
},
10137 { "wxMimeTypesManager_Unassociate", (PyCFunction
) _wrap_wxMimeTypesManager_Unassociate
, METH_VARARGS
| METH_KEYWORDS
},
10138 { "wxMimeTypesManager_Associate", (PyCFunction
) _wrap_wxMimeTypesManager_Associate
, METH_VARARGS
| METH_KEYWORDS
},
10139 { "wxMimeTypesManager_AddFallback", (PyCFunction
) _wrap_wxMimeTypesManager_AddFallback
, METH_VARARGS
| METH_KEYWORDS
},
10140 { "wxMimeTypesManager_EnumAllFileTypes", (PyCFunction
) _wrap_wxMimeTypesManager_EnumAllFileTypes
, METH_VARARGS
| METH_KEYWORDS
},
10141 { "wxMimeTypesManager_ReadMimeTypes", (PyCFunction
) _wrap_wxMimeTypesManager_ReadMimeTypes
, METH_VARARGS
| METH_KEYWORDS
},
10142 { "wxMimeTypesManager_ReadMailcap", (PyCFunction
) _wrap_wxMimeTypesManager_ReadMailcap
, METH_VARARGS
| METH_KEYWORDS
},
10143 { "wxMimeTypesManager_GetFileTypeFromMimeType", (PyCFunction
) _wrap_wxMimeTypesManager_GetFileTypeFromMimeType
, METH_VARARGS
| METH_KEYWORDS
},
10144 { "wxMimeTypesManager_GetFileTypeFromExtension", (PyCFunction
) _wrap_wxMimeTypesManager_GetFileTypeFromExtension
, METH_VARARGS
| METH_KEYWORDS
},
10145 { "wxMimeTypesManager_ClearData", (PyCFunction
) _wrap_wxMimeTypesManager_ClearData
, METH_VARARGS
| METH_KEYWORDS
},
10146 { "wxMimeTypesManager_Initialize", (PyCFunction
) _wrap_wxMimeTypesManager_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
10147 { "new_wxMimeTypesManager", (PyCFunction
) _wrap_new_wxMimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
},
10148 { "wxMimeTypesManager_IsOfType", (PyCFunction
) _wrap_wxMimeTypesManager_IsOfType
, METH_VARARGS
| METH_KEYWORDS
},
10149 { "delete_wxFileType", (PyCFunction
) _wrap_delete_wxFileType
, METH_VARARGS
| METH_KEYWORDS
},
10150 { "wxFileType_ExpandCommand", (PyCFunction
) _wrap_wxFileType_ExpandCommand
, METH_VARARGS
| METH_KEYWORDS
},
10151 { "wxFileType_Unassociate", (PyCFunction
) _wrap_wxFileType_Unassociate
, METH_VARARGS
| METH_KEYWORDS
},
10152 { "wxFileType_SetDefaultIcon", (PyCFunction
) _wrap_wxFileType_SetDefaultIcon
, METH_VARARGS
| METH_KEYWORDS
},
10153 { "wxFileType_SetCommand", (PyCFunction
) _wrap_wxFileType_SetCommand
, METH_VARARGS
| METH_KEYWORDS
},
10154 { "wxFileType_GetAllCommands", (PyCFunction
) _wrap_wxFileType_GetAllCommands
, METH_VARARGS
| METH_KEYWORDS
},
10155 { "wxFileType_GetPrintCommand", (PyCFunction
) _wrap_wxFileType_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
},
10156 { "wxFileType_GetOpenCommand", (PyCFunction
) _wrap_wxFileType_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
},
10157 { "wxFileType_GetDescription", (PyCFunction
) _wrap_wxFileType_GetDescription
, METH_VARARGS
| METH_KEYWORDS
},
10158 { "wxFileType_GetIconInfo", (PyCFunction
) _wrap_wxFileType_GetIconInfo
, METH_VARARGS
| METH_KEYWORDS
},
10159 { "wxFileType_GetIcon", (PyCFunction
) _wrap_wxFileType_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
10160 { "wxFileType_GetExtensions", (PyCFunction
) _wrap_wxFileType_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
},
10161 { "wxFileType_GetMimeTypes", (PyCFunction
) _wrap_wxFileType_GetMimeTypes
, METH_VARARGS
| METH_KEYWORDS
},
10162 { "wxFileType_GetMimeType", (PyCFunction
) _wrap_wxFileType_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
10163 { "new_wxFileType", (PyCFunction
) _wrap_new_wxFileType
, METH_VARARGS
| METH_KEYWORDS
},
10164 { "wxFileTypeInfo_GetIconIndex", (PyCFunction
) _wrap_wxFileTypeInfo_GetIconIndex
, METH_VARARGS
| METH_KEYWORDS
},
10165 { "wxFileTypeInfo_GetIconFile", (PyCFunction
) _wrap_wxFileTypeInfo_GetIconFile
, METH_VARARGS
| METH_KEYWORDS
},
10166 { "wxFileTypeInfo_GetExtensionsCount", (PyCFunction
) _wrap_wxFileTypeInfo_GetExtensionsCount
, METH_VARARGS
| METH_KEYWORDS
},
10167 { "wxFileTypeInfo_GetExtensions", (PyCFunction
) _wrap_wxFileTypeInfo_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
},
10168 { "wxFileTypeInfo_GetDescription", (PyCFunction
) _wrap_wxFileTypeInfo_GetDescription
, METH_VARARGS
| METH_KEYWORDS
},
10169 { "wxFileTypeInfo_GetShortDesc", (PyCFunction
) _wrap_wxFileTypeInfo_GetShortDesc
, METH_VARARGS
| METH_KEYWORDS
},
10170 { "wxFileTypeInfo_GetPrintCommand", (PyCFunction
) _wrap_wxFileTypeInfo_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
},
10171 { "wxFileTypeInfo_GetOpenCommand", (PyCFunction
) _wrap_wxFileTypeInfo_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
},
10172 { "wxFileTypeInfo_GetMimeType", (PyCFunction
) _wrap_wxFileTypeInfo_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
10173 { "wxFileTypeInfo_SetShortDesc", (PyCFunction
) _wrap_wxFileTypeInfo_SetShortDesc
, METH_VARARGS
| METH_KEYWORDS
},
10174 { "wxFileTypeInfo_SetIcon", (PyCFunction
) _wrap_wxFileTypeInfo_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
10175 { "wxFileTypeInfo_IsValid", (PyCFunction
) _wrap_wxFileTypeInfo_IsValid
, METH_VARARGS
| METH_KEYWORDS
},
10176 { "new_wxNullFileTypeInfo", (PyCFunction
) _wrap_new_wxNullFileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
},
10177 { "new_wxFileTypeInfoSequence", (PyCFunction
) _wrap_new_wxFileTypeInfoSequence
, METH_VARARGS
| METH_KEYWORDS
},
10178 { "new_wxFileTypeInfo", (PyCFunction
) _wrap_new_wxFileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
},
10179 { "wxWave_Play", (PyCFunction
) _wrap_wxWave_Play
, METH_VARARGS
| METH_KEYWORDS
},
10180 { "wxWave_IsOk", (PyCFunction
) _wrap_wxWave_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
10181 { "delete_wxWave", (PyCFunction
) _wrap_delete_wxWave
, METH_VARARGS
| METH_KEYWORDS
},
10182 { "new_wxWave", (PyCFunction
) _wrap_new_wxWave
, METH_VARARGS
| METH_KEYWORDS
},
10183 { "wxJoystick_ReleaseCapture", (PyCFunction
) _wrap_wxJoystick_ReleaseCapture
, METH_VARARGS
| METH_KEYWORDS
},
10184 { "wxJoystick_SetCapture", (PyCFunction
) _wrap_wxJoystick_SetCapture
, METH_VARARGS
| METH_KEYWORDS
},
10185 { "wxJoystick_HasPOVCTS", (PyCFunction
) _wrap_wxJoystick_HasPOVCTS
, METH_VARARGS
| METH_KEYWORDS
},
10186 { "wxJoystick_HasPOV4Dir", (PyCFunction
) _wrap_wxJoystick_HasPOV4Dir
, METH_VARARGS
| METH_KEYWORDS
},
10187 { "wxJoystick_HasPOV", (PyCFunction
) _wrap_wxJoystick_HasPOV
, METH_VARARGS
| METH_KEYWORDS
},
10188 { "wxJoystick_HasV", (PyCFunction
) _wrap_wxJoystick_HasV
, METH_VARARGS
| METH_KEYWORDS
},
10189 { "wxJoystick_HasU", (PyCFunction
) _wrap_wxJoystick_HasU
, METH_VARARGS
| METH_KEYWORDS
},
10190 { "wxJoystick_HasZ", (PyCFunction
) _wrap_wxJoystick_HasZ
, METH_VARARGS
| METH_KEYWORDS
},
10191 { "wxJoystick_HasRudder", (PyCFunction
) _wrap_wxJoystick_HasRudder
, METH_VARARGS
| METH_KEYWORDS
},
10192 { "wxJoystick_GetVMax", (PyCFunction
) _wrap_wxJoystick_GetVMax
, METH_VARARGS
| METH_KEYWORDS
},
10193 { "wxJoystick_GetVMin", (PyCFunction
) _wrap_wxJoystick_GetVMin
, METH_VARARGS
| METH_KEYWORDS
},
10194 { "wxJoystick_GetUMax", (PyCFunction
) _wrap_wxJoystick_GetUMax
, METH_VARARGS
| METH_KEYWORDS
},
10195 { "wxJoystick_GetUMin", (PyCFunction
) _wrap_wxJoystick_GetUMin
, METH_VARARGS
| METH_KEYWORDS
},
10196 { "wxJoystick_GetRudderMax", (PyCFunction
) _wrap_wxJoystick_GetRudderMax
, METH_VARARGS
| METH_KEYWORDS
},
10197 { "wxJoystick_GetRudderMin", (PyCFunction
) _wrap_wxJoystick_GetRudderMin
, METH_VARARGS
| METH_KEYWORDS
},
10198 { "wxJoystick_GetPollingMax", (PyCFunction
) _wrap_wxJoystick_GetPollingMax
, METH_VARARGS
| METH_KEYWORDS
},
10199 { "wxJoystick_GetPollingMin", (PyCFunction
) _wrap_wxJoystick_GetPollingMin
, METH_VARARGS
| METH_KEYWORDS
},
10200 { "wxJoystick_GetMaxAxes", (PyCFunction
) _wrap_wxJoystick_GetMaxAxes
, METH_VARARGS
| METH_KEYWORDS
},
10201 { "wxJoystick_GetMaxButtons", (PyCFunction
) _wrap_wxJoystick_GetMaxButtons
, METH_VARARGS
| METH_KEYWORDS
},
10202 { "wxJoystick_GetNumberAxes", (PyCFunction
) _wrap_wxJoystick_GetNumberAxes
, METH_VARARGS
| METH_KEYWORDS
},
10203 { "wxJoystick_GetNumberButtons", (PyCFunction
) _wrap_wxJoystick_GetNumberButtons
, METH_VARARGS
| METH_KEYWORDS
},
10204 { "wxJoystick_GetZMax", (PyCFunction
) _wrap_wxJoystick_GetZMax
, METH_VARARGS
| METH_KEYWORDS
},
10205 { "wxJoystick_GetYMax", (PyCFunction
) _wrap_wxJoystick_GetYMax
, METH_VARARGS
| METH_KEYWORDS
},
10206 { "wxJoystick_GetXMax", (PyCFunction
) _wrap_wxJoystick_GetXMax
, METH_VARARGS
| METH_KEYWORDS
},
10207 { "wxJoystick_GetZMin", (PyCFunction
) _wrap_wxJoystick_GetZMin
, METH_VARARGS
| METH_KEYWORDS
},
10208 { "wxJoystick_GetYMin", (PyCFunction
) _wrap_wxJoystick_GetYMin
, METH_VARARGS
| METH_KEYWORDS
},
10209 { "wxJoystick_GetXMin", (PyCFunction
) _wrap_wxJoystick_GetXMin
, METH_VARARGS
| METH_KEYWORDS
},
10210 { "wxJoystick_GetProductName", (PyCFunction
) _wrap_wxJoystick_GetProductName
, METH_VARARGS
| METH_KEYWORDS
},
10211 { "wxJoystick_GetProductId", (PyCFunction
) _wrap_wxJoystick_GetProductId
, METH_VARARGS
| METH_KEYWORDS
},
10212 { "wxJoystick_GetManufacturerId", (PyCFunction
) _wrap_wxJoystick_GetManufacturerId
, METH_VARARGS
| METH_KEYWORDS
},
10213 { "wxJoystick_GetNumberJoysticks", (PyCFunction
) _wrap_wxJoystick_GetNumberJoysticks
, METH_VARARGS
| METH_KEYWORDS
},
10214 { "wxJoystick_IsOk", (PyCFunction
) _wrap_wxJoystick_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
10215 { "wxJoystick_SetMovementThreshold", (PyCFunction
) _wrap_wxJoystick_SetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
},
10216 { "wxJoystick_GetMovementThreshold", (PyCFunction
) _wrap_wxJoystick_GetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
},
10217 { "wxJoystick_GetVPosition", (PyCFunction
) _wrap_wxJoystick_GetVPosition
, METH_VARARGS
| METH_KEYWORDS
},
10218 { "wxJoystick_GetUPosition", (PyCFunction
) _wrap_wxJoystick_GetUPosition
, METH_VARARGS
| METH_KEYWORDS
},
10219 { "wxJoystick_GetRudderPosition", (PyCFunction
) _wrap_wxJoystick_GetRudderPosition
, METH_VARARGS
| METH_KEYWORDS
},
10220 { "wxJoystick_GetPOVCTSPosition", (PyCFunction
) _wrap_wxJoystick_GetPOVCTSPosition
, METH_VARARGS
| METH_KEYWORDS
},
10221 { "wxJoystick_GetPOVPosition", (PyCFunction
) _wrap_wxJoystick_GetPOVPosition
, METH_VARARGS
| METH_KEYWORDS
},
10222 { "wxJoystick_GetButtonState", (PyCFunction
) _wrap_wxJoystick_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
},
10223 { "wxJoystick_GetZPosition", (PyCFunction
) _wrap_wxJoystick_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
},
10224 { "wxJoystick_GetPosition", (PyCFunction
) _wrap_wxJoystick_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
10225 { "delete_wxJoystick", (PyCFunction
) _wrap_delete_wxJoystick
, METH_VARARGS
| METH_KEYWORDS
},
10226 { "new_wxJoystick", (PyCFunction
) _wrap_new_wxJoystick
, METH_VARARGS
| METH_KEYWORDS
},
10227 { "wxProcess_CloseOutput", (PyCFunction
) _wrap_wxProcess_CloseOutput
, METH_VARARGS
| METH_KEYWORDS
},
10228 { "wxProcess_GetOutputStream", (PyCFunction
) _wrap_wxProcess_GetOutputStream
, METH_VARARGS
| METH_KEYWORDS
},
10229 { "wxProcess_GetErrorStream", (PyCFunction
) _wrap_wxProcess_GetErrorStream
, METH_VARARGS
| METH_KEYWORDS
},
10230 { "wxProcess_GetInputStream", (PyCFunction
) _wrap_wxProcess_GetInputStream
, METH_VARARGS
| METH_KEYWORDS
},
10231 { "wxProcess_Detach", (PyCFunction
) _wrap_wxProcess_Detach
, METH_VARARGS
| METH_KEYWORDS
},
10232 { "wxProcess_IsRedirected", (PyCFunction
) _wrap_wxProcess_IsRedirected
, METH_VARARGS
| METH_KEYWORDS
},
10233 { "wxProcess_Redirect", (PyCFunction
) _wrap_wxProcess_Redirect
, METH_VARARGS
| METH_KEYWORDS
},
10234 { "wxProcess_base_OnTerminate", (PyCFunction
) _wrap_wxProcess_base_OnTerminate
, METH_VARARGS
| METH_KEYWORDS
},
10235 { "wxProcess__setCallbackInfo", (PyCFunction
) _wrap_wxProcess__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
10236 { "wxProcess_Destroy", (PyCFunction
) _wrap_wxProcess_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
10237 { "new_wxProcess", (PyCFunction
) _wrap_new_wxProcess
, METH_VARARGS
| METH_KEYWORDS
},
10238 { "wxProcessEvent_m_exitcode_get", (PyCFunction
) _wrap_wxProcessEvent_m_exitcode_get
, METH_VARARGS
| METH_KEYWORDS
},
10239 { "wxProcessEvent_m_exitcode_set", (PyCFunction
) _wrap_wxProcessEvent_m_exitcode_set
, METH_VARARGS
| METH_KEYWORDS
},
10240 { "wxProcessEvent_m_pid_get", (PyCFunction
) _wrap_wxProcessEvent_m_pid_get
, METH_VARARGS
| METH_KEYWORDS
},
10241 { "wxProcessEvent_m_pid_set", (PyCFunction
) _wrap_wxProcessEvent_m_pid_set
, METH_VARARGS
| METH_KEYWORDS
},
10242 { "wxProcessEvent_GetExitCode", (PyCFunction
) _wrap_wxProcessEvent_GetExitCode
, METH_VARARGS
| METH_KEYWORDS
},
10243 { "wxProcessEvent_GetPid", (PyCFunction
) _wrap_wxProcessEvent_GetPid
, METH_VARARGS
| METH_KEYWORDS
},
10244 { "new_wxProcessEvent", (PyCFunction
) _wrap_new_wxProcessEvent
, METH_VARARGS
| METH_KEYWORDS
},
10245 { "wxPyLog_Destroy", (PyCFunction
) _wrap_wxPyLog_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
10246 { "wxPyLog__setCallbackInfo", (PyCFunction
) _wrap_wxPyLog__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
10247 { "new_wxPyLog", (PyCFunction
) _wrap_new_wxPyLog
, METH_VARARGS
| METH_KEYWORDS
},
10248 { "wxLogChain_GetOldLog", (PyCFunction
) _wrap_wxLogChain_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
},
10249 { "wxLogChain_IsPassingMessages", (PyCFunction
) _wrap_wxLogChain_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
},
10250 { "wxLogChain_PassMessages", (PyCFunction
) _wrap_wxLogChain_PassMessages
, METH_VARARGS
| METH_KEYWORDS
},
10251 { "wxLogChain_SetLog", (PyCFunction
) _wrap_wxLogChain_SetLog
, METH_VARARGS
| METH_KEYWORDS
},
10252 { "new_wxLogChain", (PyCFunction
) _wrap_new_wxLogChain
, METH_VARARGS
| METH_KEYWORDS
},
10253 { "delete_wxLogNull", (PyCFunction
) _wrap_delete_wxLogNull
, METH_VARARGS
| METH_KEYWORDS
},
10254 { "new_wxLogNull", (PyCFunction
) _wrap_new_wxLogNull
, METH_VARARGS
| METH_KEYWORDS
},
10255 { "wxLogWindow_PassMessages", (PyCFunction
) _wrap_wxLogWindow_PassMessages
, METH_VARARGS
| METH_KEYWORDS
},
10256 { "wxLogWindow_IsPassingMessages", (PyCFunction
) _wrap_wxLogWindow_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
},
10257 { "wxLogWindow_GetOldLog", (PyCFunction
) _wrap_wxLogWindow_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
},
10258 { "wxLogWindow_GetFrame", (PyCFunction
) _wrap_wxLogWindow_GetFrame
, METH_VARARGS
| METH_KEYWORDS
},
10259 { "wxLogWindow_Show", (PyCFunction
) _wrap_wxLogWindow_Show
, METH_VARARGS
| METH_KEYWORDS
},
10260 { "new_wxLogWindow", (PyCFunction
) _wrap_new_wxLogWindow
, METH_VARARGS
| METH_KEYWORDS
},
10261 { "new_wxLogGui", (PyCFunction
) _wrap_new_wxLogGui
, METH_VARARGS
| METH_KEYWORDS
},
10262 { "new_wxLogTextCtrl", (PyCFunction
) _wrap_new_wxLogTextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
10263 { "new_wxLogStderr", (PyCFunction
) _wrap_new_wxLogStderr
, METH_VARARGS
| METH_KEYWORDS
},
10264 { "wxLog_TimeStamp", (PyCFunction
) _wrap_wxLog_TimeStamp
, METH_VARARGS
| METH_KEYWORDS
},
10265 { "wxLog_IsAllowedTraceMask", (PyCFunction
) _wrap_wxLog_IsAllowedTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
10266 { "wxLog_GetTraceMask", (PyCFunction
) _wrap_wxLog_GetTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
10267 { "wxLog_GetVerbose", (PyCFunction
) _wrap_wxLog_GetVerbose
, METH_VARARGS
| METH_KEYWORDS
},
10268 { "wxLog_GetTimestamp", (PyCFunction
) _wrap_wxLog_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
10269 { "wxLog_SetTimestamp", (PyCFunction
) _wrap_wxLog_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
10270 { "wxLog_ClearTraceMasks", (PyCFunction
) _wrap_wxLog_ClearTraceMasks
, METH_VARARGS
| METH_KEYWORDS
},
10271 { "wxLog_RemoveTraceMask", (PyCFunction
) _wrap_wxLog_RemoveTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
10272 { "wxLog_AddTraceMask", (PyCFunction
) _wrap_wxLog_AddTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
10273 { "wxLog_SetTraceMask", (PyCFunction
) _wrap_wxLog_SetTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
10274 { "wxLog_DontCreateOnDemand", (PyCFunction
) _wrap_wxLog_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
},
10275 { "wxLog_SetVerbose", (PyCFunction
) _wrap_wxLog_SetVerbose
, METH_VARARGS
| METH_KEYWORDS
},
10276 { "wxLog_Resume", (PyCFunction
) _wrap_wxLog_Resume
, METH_VARARGS
| METH_KEYWORDS
},
10277 { "wxLog_Suspend", (PyCFunction
) _wrap_wxLog_Suspend
, METH_VARARGS
| METH_KEYWORDS
},
10278 { "wxLog_SetActiveTarget", (PyCFunction
) _wrap_wxLog_SetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
},
10279 { "wxLog_GetActiveTarget", (PyCFunction
) _wrap_wxLog_GetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
},
10280 { "wxLog_FlushActive", (PyCFunction
) _wrap_wxLog_FlushActive
, METH_VARARGS
| METH_KEYWORDS
},
10281 { "wxLog_HasPendingMessages", (PyCFunction
) _wrap_wxLog_HasPendingMessages
, METH_VARARGS
| METH_KEYWORDS
},
10282 { "wxLog_Flush", (PyCFunction
) _wrap_wxLog_Flush
, METH_VARARGS
| METH_KEYWORDS
},
10283 { "wxLog_OnLog", (PyCFunction
) _wrap_wxLog_OnLog
, METH_VARARGS
| METH_KEYWORDS
},
10284 { "wxLog_EnableLogging", (PyCFunction
) _wrap_wxLog_EnableLogging
, METH_VARARGS
| METH_KEYWORDS
},
10285 { "wxLog_IsEnabled", (PyCFunction
) _wrap_wxLog_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
10286 { "new_wxLog", (PyCFunction
) _wrap_new_wxLog
, METH_VARARGS
| METH_KEYWORDS
},
10287 { "wxStopWatch_Time", (PyCFunction
) _wrap_wxStopWatch_Time
, METH_VARARGS
| METH_KEYWORDS
},
10288 { "wxStopWatch_Resume", (PyCFunction
) _wrap_wxStopWatch_Resume
, METH_VARARGS
| METH_KEYWORDS
},
10289 { "wxStopWatch_Pause", (PyCFunction
) _wrap_wxStopWatch_Pause
, METH_VARARGS
| METH_KEYWORDS
},
10290 { "wxStopWatch_Start", (PyCFunction
) _wrap_wxStopWatch_Start
, METH_VARARGS
| METH_KEYWORDS
},
10291 { "delete_wxStopWatch", (PyCFunction
) _wrap_delete_wxStopWatch
, METH_VARARGS
| METH_KEYWORDS
},
10292 { "new_wxStopWatch", (PyCFunction
) _wrap_new_wxStopWatch
, METH_VARARGS
| METH_KEYWORDS
},
10293 { "wxPyTimer_Stop", (PyCFunction
) _wrap_wxPyTimer_Stop
, METH_VARARGS
| METH_KEYWORDS
},
10294 { "wxPyTimer_Start", (PyCFunction
) _wrap_wxPyTimer_Start
, METH_VARARGS
| METH_KEYWORDS
},
10295 { "wxPyTimer_SetOwner", (PyCFunction
) _wrap_wxPyTimer_SetOwner
, METH_VARARGS
| METH_KEYWORDS
},
10296 { "wxPyTimer_IsRunning", (PyCFunction
) _wrap_wxPyTimer_IsRunning
, METH_VARARGS
| METH_KEYWORDS
},
10297 { "wxPyTimer_IsOneShot", (PyCFunction
) _wrap_wxPyTimer_IsOneShot
, METH_VARARGS
| METH_KEYWORDS
},
10298 { "wxPyTimer_GetInterval", (PyCFunction
) _wrap_wxPyTimer_GetInterval
, METH_VARARGS
| METH_KEYWORDS
},
10299 { "delete_wxPyTimer", (PyCFunction
) _wrap_delete_wxPyTimer
, METH_VARARGS
| METH_KEYWORDS
},
10300 { "new_wxPyTimer", (PyCFunction
) _wrap_new_wxPyTimer
, METH_VARARGS
| METH_KEYWORDS
},
10301 { "wxDragImage_RedrawImage", (PyCFunction
) _wrap_wxDragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
},
10302 { "wxDragImage_GetImageRect", (PyCFunction
) _wrap_wxDragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
},
10303 { "wxDragImage_Hide", (PyCFunction
) _wrap_wxDragImage_Hide
, METH_VARARGS
| METH_KEYWORDS
},
10304 { "wxDragImage_Show", (PyCFunction
) _wrap_wxDragImage_Show
, METH_VARARGS
| METH_KEYWORDS
},
10305 { "wxDragImage_Move", (PyCFunction
) _wrap_wxDragImage_Move
, METH_VARARGS
| METH_KEYWORDS
},
10306 { "wxDragImage_EndDrag", (PyCFunction
) _wrap_wxDragImage_EndDrag
, METH_VARARGS
| METH_KEYWORDS
},
10307 { "wxDragImage_BeginDrag2", (PyCFunction
) _wrap_wxDragImage_BeginDrag2
, METH_VARARGS
| METH_KEYWORDS
},
10308 { "wxDragImage_BeginDrag", (PyCFunction
) _wrap_wxDragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
},
10309 { "wxDragImage_SetBackingBitmap", (PyCFunction
) _wrap_wxDragImage_SetBackingBitmap
, METH_VARARGS
| METH_KEYWORDS
},
10310 { "delete_wxDragImage", (PyCFunction
) _wrap_delete_wxDragImage
, METH_VARARGS
| METH_KEYWORDS
},
10311 { "new_wxDragListItem", (PyCFunction
) _wrap_new_wxDragListItem
, METH_VARARGS
| METH_KEYWORDS
},
10312 { "new_wxDragTreeItem", (PyCFunction
) _wrap_new_wxDragTreeItem
, METH_VARARGS
| METH_KEYWORDS
},
10313 { "new_wxDragString", (PyCFunction
) _wrap_new_wxDragString
, METH_VARARGS
| METH_KEYWORDS
},
10314 { "new_wxDragIcon", (PyCFunction
) _wrap_new_wxDragIcon
, METH_VARARGS
| METH_KEYWORDS
},
10315 { "new_wxDragImage", (PyCFunction
) _wrap_new_wxDragImage
, METH_VARARGS
| METH_KEYWORDS
},
10316 { "new_wxPyTipProvider", (PyCFunction
) _wrap_new_wxPyTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
10317 { "wxTipProvider_GetCurrentTip", (PyCFunction
) _wrap_wxTipProvider_GetCurrentTip
, METH_VARARGS
| METH_KEYWORDS
},
10318 { "wxTipProvider_GetTip", (PyCFunction
) _wrap_wxTipProvider_GetTip
, METH_VARARGS
| METH_KEYWORDS
},
10319 { "delete_wxTipProvider", (PyCFunction
) _wrap_delete_wxTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
10320 { "delete_wxMutexGuiLocker", (PyCFunction
) _wrap_delete_wxMutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
},
10321 { "new_wxMutexGuiLocker", (PyCFunction
) _wrap_new_wxMutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
},
10322 { "delete_wxWindowDisabler", (PyCFunction
) _wrap_delete_wxWindowDisabler
, METH_VARARGS
| METH_KEYWORDS
},
10323 { "new_wxWindowDisabler", (PyCFunction
) _wrap_new_wxWindowDisabler
, METH_VARARGS
| METH_KEYWORDS
},
10324 { "delete_wxBusyCursor", (PyCFunction
) _wrap_delete_wxBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
10325 { "new_wxBusyCursor", (PyCFunction
) _wrap_new_wxBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
10326 { "wxFontEnumerator_GetFacenames", (PyCFunction
) _wrap_wxFontEnumerator_GetFacenames
, METH_VARARGS
| METH_KEYWORDS
},
10327 { "wxFontEnumerator_GetEncodings", (PyCFunction
) _wrap_wxFontEnumerator_GetEncodings
, METH_VARARGS
| METH_KEYWORDS
},
10328 { "wxFontEnumerator_EnumerateEncodings", (PyCFunction
) _wrap_wxFontEnumerator_EnumerateEncodings
, METH_VARARGS
| METH_KEYWORDS
},
10329 { "wxFontEnumerator_EnumerateFacenames", (PyCFunction
) _wrap_wxFontEnumerator_EnumerateFacenames
, METH_VARARGS
| METH_KEYWORDS
},
10330 { "wxFontEnumerator__setCallbackInfo", (PyCFunction
) _wrap_wxFontEnumerator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
10331 { "delete_wxFontEnumerator", (PyCFunction
) _wrap_delete_wxFontEnumerator
, METH_VARARGS
| METH_KEYWORDS
},
10332 { "new_wxFontEnumerator", (PyCFunction
) _wrap_new_wxFontEnumerator
, METH_VARARGS
| METH_KEYWORDS
},
10333 { "wxCaret_Hide", (PyCFunction
) _wrap_wxCaret_Hide
, METH_VARARGS
| METH_KEYWORDS
},
10334 { "wxCaret_Show", (PyCFunction
) _wrap_wxCaret_Show
, METH_VARARGS
| METH_KEYWORDS
},
10335 { "wxCaret_SetSize", (PyCFunction
) _wrap_wxCaret_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
10336 { "wxCaret_SetSizeWH", (PyCFunction
) _wrap_wxCaret_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
10337 { "wxCaret_Move", (PyCFunction
) _wrap_wxCaret_Move
, METH_VARARGS
| METH_KEYWORDS
},
10338 { "wxCaret_MoveXY", (PyCFunction
) _wrap_wxCaret_MoveXY
, METH_VARARGS
| METH_KEYWORDS
},
10339 { "wxCaret_GetWindow", (PyCFunction
) _wrap_wxCaret_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
10340 { "wxCaret_GetSize", (PyCFunction
) _wrap_wxCaret_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
10341 { "wxCaret_GetSizeTuple", (PyCFunction
) _wrap_wxCaret_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
10342 { "wxCaret_GetPosition", (PyCFunction
) _wrap_wxCaret_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
10343 { "wxCaret_GetPositionTuple", (PyCFunction
) _wrap_wxCaret_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
10344 { "wxCaret_IsVisible", (PyCFunction
) _wrap_wxCaret_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
10345 { "wxCaret_IsOk", (PyCFunction
) _wrap_wxCaret_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
10346 { "delete_wxCaret", (PyCFunction
) _wrap_delete_wxCaret
, METH_VARARGS
| METH_KEYWORDS
},
10347 { "new_wxCaret", (PyCFunction
) _wrap_new_wxCaret
, METH_VARARGS
| METH_KEYWORDS
},
10348 { "wxToolTip_SetDelay", (PyCFunction
) _wrap_wxToolTip_SetDelay
, METH_VARARGS
| METH_KEYWORDS
},
10349 { "wxToolTip_Enable", (PyCFunction
) _wrap_wxToolTip_Enable
, METH_VARARGS
| METH_KEYWORDS
},
10350 { "wxToolTip_GetWindow", (PyCFunction
) _wrap_wxToolTip_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
10351 { "wxToolTip_GetTip", (PyCFunction
) _wrap_wxToolTip_GetTip
, METH_VARARGS
| METH_KEYWORDS
},
10352 { "wxToolTip_SetTip", (PyCFunction
) _wrap_wxToolTip_SetTip
, METH_VARARGS
| METH_KEYWORDS
},
10353 { "new_wxToolTip", (PyCFunction
) _wrap_new_wxToolTip
, METH_VARARGS
| METH_KEYWORDS
},
10354 { "wxSystemSettings_HasFeature", (PyCFunction
) _wrap_wxSystemSettings_HasFeature
, METH_VARARGS
| METH_KEYWORDS
},
10355 { "wxSystemSettings_GetMetric", (PyCFunction
) _wrap_wxSystemSettings_GetMetric
, METH_VARARGS
| METH_KEYWORDS
},
10356 { "wxSystemSettings_GetFont", (PyCFunction
) _wrap_wxSystemSettings_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
10357 { "wxSystemSettings_GetColour", (PyCFunction
) _wrap_wxSystemSettings_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
10358 { "wxWaveData", (PyCFunction
) _wrap_wxWaveData
, METH_VARARGS
| METH_KEYWORDS
},
10359 { "wxExecute", (PyCFunction
) _wrap_wxExecute
, METH_VARARGS
| METH_KEYWORDS
},
10360 { "wxLogSysError", (PyCFunction
) _wrap_wxLogSysError
, METH_VARARGS
| METH_KEYWORDS
},
10361 { "wxLogStatusFrame", (PyCFunction
) _wrap_wxLogStatusFrame
, METH_VARARGS
| METH_KEYWORDS
},
10362 { "wxLogStatus", (PyCFunction
) _wrap_wxLogStatus
, METH_VARARGS
| METH_KEYWORDS
},
10363 { "wxLogVerbose", (PyCFunction
) _wrap_wxLogVerbose
, METH_VARARGS
| METH_KEYWORDS
},
10364 { "wxLogInfo", (PyCFunction
) _wrap_wxLogInfo
, METH_VARARGS
| METH_KEYWORDS
},
10365 { "wxLogMessage", (PyCFunction
) _wrap_wxLogMessage
, METH_VARARGS
| METH_KEYWORDS
},
10366 { "wxLogWarning", (PyCFunction
) _wrap_wxLogWarning
, METH_VARARGS
| METH_KEYWORDS
},
10367 { "wxLogError", (PyCFunction
) _wrap_wxLogError
, METH_VARARGS
| METH_KEYWORDS
},
10368 { "wxLogFatalError", (PyCFunction
) _wrap_wxLogFatalError
, METH_VARARGS
| METH_KEYWORDS
},
10369 { "wxSysErrorMsg", (PyCFunction
) _wrap_wxSysErrorMsg
, METH_VARARGS
| METH_KEYWORDS
},
10370 { "wxSysErrorCode", (PyCFunction
) _wrap_wxSysErrorCode
, METH_VARARGS
| METH_KEYWORDS
},
10371 { "wxCreateFileTipProvider", (PyCFunction
) _wrap_wxCreateFileTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
10372 { "wxShowTip", (PyCFunction
) _wrap_wxShowTip
, METH_VARARGS
| METH_KEYWORDS
},
10373 { "wxThread_IsMain", (PyCFunction
) _wrap_wxThread_IsMain
, METH_VARARGS
| METH_KEYWORDS
},
10374 { "wxMutexGuiLeave", (PyCFunction
) _wrap_wxMutexGuiLeave
, METH_VARARGS
| METH_KEYWORDS
},
10375 { "wxMutexGuiEnter", (PyCFunction
) _wrap_wxMutexGuiEnter
, METH_VARARGS
| METH_KEYWORDS
},
10376 { "wxWakeUpIdle", (PyCFunction
) _wrap_wxWakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
},
10377 { "wxPostEvent", (PyCFunction
) _wrap_wxPostEvent
, METH_VARARGS
| METH_KEYWORDS
},
10378 { "wxSafeYield", (PyCFunction
) _wrap_wxSafeYield
, METH_VARARGS
| METH_KEYWORDS
},
10379 { "wxCaret_SetBlinkTime", (PyCFunction
) _wrap_wxCaret_SetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
},
10380 { "wxCaret_GetBlinkTime", (PyCFunction
) _wrap_wxCaret_GetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
},
10381 { "wxResourceParseString", (PyCFunction
) _wrap_wxResourceParseString
, METH_VARARGS
| METH_KEYWORDS
},
10382 { "wxResourceParseFile", (PyCFunction
) _wrap_wxResourceParseFile
, METH_VARARGS
| METH_KEYWORDS
},
10383 { "wxResourceParseData", (PyCFunction
) _wrap_wxResourceParseData
, METH_VARARGS
| METH_KEYWORDS
},
10384 { "wxResourceGetIdentifier", (PyCFunction
) _wrap_wxResourceGetIdentifier
, METH_VARARGS
| METH_KEYWORDS
},
10385 { "wxResourceCreateMenuBar", (PyCFunction
) _wrap_wxResourceCreateMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
10386 { "wxResourceCreateIcon", (PyCFunction
) _wrap_wxResourceCreateIcon
, METH_VARARGS
| METH_KEYWORDS
},
10387 { "wxResourceCreateBitmap", (PyCFunction
) _wrap_wxResourceCreateBitmap
, METH_VARARGS
| METH_KEYWORDS
},
10388 { "wxResourceClear", (PyCFunction
) _wrap_wxResourceClear
, METH_VARARGS
| METH_KEYWORDS
},
10389 { "wxResourceAddIdentifier", (PyCFunction
) _wrap_wxResourceAddIdentifier
, METH_VARARGS
| METH_KEYWORDS
},
10390 { "wxFindWindowAtPoint", (PyCFunction
) _wrap_wxFindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
},
10391 { "wxGenericFindWindowAtPoint", (PyCFunction
) _wrap_wxGenericFindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
},
10392 { "wxGetActiveWindow", (PyCFunction
) _wrap_wxGetActiveWindow
, METH_VARARGS
| METH_KEYWORDS
},
10393 { "wxBeginBusyCursor", (PyCFunction
) _wrap_wxBeginBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
10394 { "wxFindWindowByName", (PyCFunction
) _wrap_wxFindWindowByName
, METH_VARARGS
| METH_KEYWORDS
},
10395 { "wxFindWindowByLabel", (PyCFunction
) _wrap_wxFindWindowByLabel
, METH_VARARGS
| METH_KEYWORDS
},
10396 { "wxSetCursor", (PyCFunction
) _wrap_wxSetCursor
, METH_VARARGS
| METH_KEYWORDS
},
10397 { "wxGetClientDisplayRect", (PyCFunction
) _wrap_wxGetClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
},
10398 { "wxClientDisplayRect", (PyCFunction
) _wrap_wxClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
},
10399 { "wxGetDisplaySizeMM", (PyCFunction
) _wrap_wxGetDisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
},
10400 { "wxDisplaySizeMM", (PyCFunction
) _wrap_wxDisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
},
10401 { "wxGetDisplaySize", (PyCFunction
) _wrap_wxGetDisplaySize
, METH_VARARGS
| METH_KEYWORDS
},
10402 { "wxDisplaySize", (PyCFunction
) _wrap_wxDisplaySize
, METH_VARARGS
| METH_KEYWORDS
},
10403 { "wxGetDisplayDepth", (PyCFunction
) _wrap_wxGetDisplayDepth
, METH_VARARGS
| METH_KEYWORDS
},
10404 { "wxDisplayDepth", (PyCFunction
) _wrap_wxDisplayDepth
, METH_VARARGS
| METH_KEYWORDS
},
10405 { "wxColourDisplay", (PyCFunction
) _wrap_wxColourDisplay
, METH_VARARGS
| METH_KEYWORDS
},
10406 { "wxGetNumberFromUser", (PyCFunction
) _wrap_wxGetNumberFromUser
, METH_VARARGS
| METH_KEYWORDS
},
10407 { "wxMessageBox", (PyCFunction
) _wrap_wxMessageBox
, METH_VARARGS
| METH_KEYWORDS
},
10408 { "wxGetSingleChoiceIndex", (PyCFunction
) _wrap_wxGetSingleChoiceIndex
, METH_VARARGS
| METH_KEYWORDS
},
10409 { "wxGetSingleChoice", (PyCFunction
) _wrap_wxGetSingleChoice
, METH_VARARGS
| METH_KEYWORDS
},
10410 { "wxGetPasswordFromUser", (PyCFunction
) _wrap_wxGetPasswordFromUser
, METH_VARARGS
| METH_KEYWORDS
},
10411 { "wxGetTextFromUser", (PyCFunction
) _wrap_wxGetTextFromUser
, METH_VARARGS
| METH_KEYWORDS
},
10412 { "wxFileSelector", (PyCFunction
) _wrap_wxFileSelector
, METH_VARARGS
| METH_KEYWORDS
},
10419 * This table is used by the pointer type-checker
10421 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
10422 { "_wxEvent","_wxProcessEvent",SwigwxProcessEventTowxEvent
},
10423 { "_signed_long","_long",0},
10424 { "_wxPrintQuality","_wxCoord",0},
10425 { "_wxPrintQuality","_int",0},
10426 { "_wxPrintQuality","_signed_int",0},
10427 { "_wxPrintQuality","_unsigned_int",0},
10428 { "_wxPrintQuality","_wxWindowID",0},
10429 { "_wxPrintQuality","_uint",0},
10430 { "_wxPrintQuality","_EBool",0},
10431 { "_wxPrintQuality","_size_t",0},
10432 { "_wxPrintQuality","_time_t",0},
10433 { "_wxLog","_wxPyLog",SwigwxPyLogTowxLog
},
10434 { "_wxLog","_wxLogChain",SwigwxLogChainTowxLog
},
10435 { "_wxLog","_wxLogWindow",SwigwxLogWindowTowxLog
},
10436 { "_wxLog","_wxLogGui",SwigwxLogGuiTowxLog
},
10437 { "_wxLog","_wxLogTextCtrl",SwigwxLogTextCtrlTowxLog
},
10438 { "_wxLog","_wxLogStderr",SwigwxLogStderrTowxLog
},
10439 { "_byte","_unsigned_char",0},
10440 { "_long","_unsigned_long",0},
10441 { "_long","_signed_long",0},
10442 { "_size_t","_wxCoord",0},
10443 { "_size_t","_wxPrintQuality",0},
10444 { "_size_t","_time_t",0},
10445 { "_size_t","_unsigned_int",0},
10446 { "_size_t","_int",0},
10447 { "_size_t","_wxWindowID",0},
10448 { "_size_t","_uint",0},
10449 { "_uint","_wxCoord",0},
10450 { "_uint","_wxPrintQuality",0},
10451 { "_uint","_time_t",0},
10452 { "_uint","_size_t",0},
10453 { "_uint","_unsigned_int",0},
10454 { "_uint","_int",0},
10455 { "_uint","_wxWindowID",0},
10456 { "_wxChar","_char",0},
10457 { "_char","_wxChar",0},
10458 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
10459 { "_EBool","_wxCoord",0},
10460 { "_EBool","_wxPrintQuality",0},
10461 { "_EBool","_signed_int",0},
10462 { "_EBool","_int",0},
10463 { "_EBool","_wxWindowID",0},
10464 { "_unsigned_long","_long",0},
10465 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
10466 { "_signed_int","_wxCoord",0},
10467 { "_signed_int","_wxPrintQuality",0},
10468 { "_signed_int","_EBool",0},
10469 { "_signed_int","_wxWindowID",0},
10470 { "_signed_int","_int",0},
10471 { "_WXTYPE","_wxDateTime_t",0},
10472 { "_WXTYPE","_short",0},
10473 { "_WXTYPE","_signed_short",0},
10474 { "_WXTYPE","_unsigned_short",0},
10475 { "_wxTipProvider","_wxPyTipProvider",SwigwxPyTipProviderTowxTipProvider
},
10476 { "_unsigned_short","_wxDateTime_t",0},
10477 { "_unsigned_short","_WXTYPE",0},
10478 { "_unsigned_short","_short",0},
10479 { "_wxObject","_wxFileHistory",SwigwxFileHistoryTowxObject
},
10480 { "_wxObject","_wxWave",SwigwxWaveTowxObject
},
10481 { "_wxObject","_wxJoystick",SwigwxJoystickTowxObject
},
10482 { "_wxObject","_wxPyProcess",SwigwxPyProcessTowxObject
},
10483 { "_wxObject","_wxProcessEvent",SwigwxProcessEventTowxObject
},
10484 { "_wxObject","_wxPyTimer",SwigwxPyTimerTowxObject
},
10485 { "_wxObject","_wxGenericDragImage",SwigwxGenericDragImageTowxObject
},
10486 { "_wxObject","_wxToolTip",SwigwxToolTipTowxObject
},
10487 { "_signed_short","_WXTYPE",0},
10488 { "_signed_short","_short",0},
10489 { "_unsigned_char","_byte",0},
10490 { "_unsigned_int","_wxCoord",0},
10491 { "_unsigned_int","_wxPrintQuality",0},
10492 { "_unsigned_int","_time_t",0},
10493 { "_unsigned_int","_size_t",0},
10494 { "_unsigned_int","_uint",0},
10495 { "_unsigned_int","_wxWindowID",0},
10496 { "_unsigned_int","_int",0},
10497 { "_short","_wxDateTime_t",0},
10498 { "_short","_WXTYPE",0},
10499 { "_short","_unsigned_short",0},
10500 { "_short","_signed_short",0},
10501 { "_wxWindowID","_wxCoord",0},
10502 { "_wxWindowID","_wxPrintQuality",0},
10503 { "_wxWindowID","_time_t",0},
10504 { "_wxWindowID","_size_t",0},
10505 { "_wxWindowID","_EBool",0},
10506 { "_wxWindowID","_uint",0},
10507 { "_wxWindowID","_int",0},
10508 { "_wxWindowID","_signed_int",0},
10509 { "_wxWindowID","_unsigned_int",0},
10510 { "_int","_wxCoord",0},
10511 { "_int","_wxPrintQuality",0},
10512 { "_int","_time_t",0},
10513 { "_int","_size_t",0},
10514 { "_int","_EBool",0},
10515 { "_int","_uint",0},
10516 { "_int","_wxWindowID",0},
10517 { "_int","_unsigned_int",0},
10518 { "_int","_signed_int",0},
10519 { "_wxDateTime_t","_unsigned_short",0},
10520 { "_wxDateTime_t","_short",0},
10521 { "_wxDateTime_t","_WXTYPE",0},
10522 { "_time_t","_wxCoord",0},
10523 { "_time_t","_wxPrintQuality",0},
10524 { "_time_t","_unsigned_int",0},
10525 { "_time_t","_int",0},
10526 { "_time_t","_wxWindowID",0},
10527 { "_time_t","_uint",0},
10528 { "_time_t","_size_t",0},
10529 { "_wxCoord","_int",0},
10530 { "_wxCoord","_signed_int",0},
10531 { "_wxCoord","_unsigned_int",0},
10532 { "_wxCoord","_wxWindowID",0},
10533 { "_wxCoord","_uint",0},
10534 { "_wxCoord","_EBool",0},
10535 { "_wxCoord","_size_t",0},
10536 { "_wxCoord","_time_t",0},
10537 { "_wxCoord","_wxPrintQuality",0},
10538 { "_wxEvtHandler","_wxPyProcess",SwigwxPyProcessTowxEvtHandler
},
10541 static PyObject
*SWIG_globals
;
10545 SWIGEXPORT(void) initmisc2c() {
10547 SWIG_globals
= SWIG_newvarlink();
10548 m
= Py_InitModule("misc2c", misc2cMethods
);
10549 d
= PyModule_GetDict(m
);
10550 PyDict_SetItemString(d
,"wxSYS_OEM_FIXED_FONT", PyInt_FromLong((long) wxSYS_OEM_FIXED_FONT
));
10551 PyDict_SetItemString(d
,"wxSYS_ANSI_FIXED_FONT", PyInt_FromLong((long) wxSYS_ANSI_FIXED_FONT
));
10552 PyDict_SetItemString(d
,"wxSYS_ANSI_VAR_FONT", PyInt_FromLong((long) wxSYS_ANSI_VAR_FONT
));
10553 PyDict_SetItemString(d
,"wxSYS_SYSTEM_FONT", PyInt_FromLong((long) wxSYS_SYSTEM_FONT
));
10554 PyDict_SetItemString(d
,"wxSYS_DEVICE_DEFAULT_FONT", PyInt_FromLong((long) wxSYS_DEVICE_DEFAULT_FONT
));
10555 PyDict_SetItemString(d
,"wxSYS_DEFAULT_PALETTE", PyInt_FromLong((long) wxSYS_DEFAULT_PALETTE
));
10556 PyDict_SetItemString(d
,"wxSYS_SYSTEM_FIXED_FONT", PyInt_FromLong((long) wxSYS_SYSTEM_FIXED_FONT
));
10557 PyDict_SetItemString(d
,"wxSYS_DEFAULT_GUI_FONT", PyInt_FromLong((long) wxSYS_DEFAULT_GUI_FONT
));
10558 PyDict_SetItemString(d
,"wxSYS_COLOUR_SCROLLBAR", PyInt_FromLong((long) wxSYS_COLOUR_SCROLLBAR
));
10559 PyDict_SetItemString(d
,"wxSYS_COLOUR_BACKGROUND", PyInt_FromLong((long) wxSYS_COLOUR_BACKGROUND
));
10560 PyDict_SetItemString(d
,"wxSYS_COLOUR_DESKTOP", PyInt_FromLong((long) wxSYS_COLOUR_DESKTOP
));
10561 PyDict_SetItemString(d
,"wxSYS_COLOUR_ACTIVECAPTION", PyInt_FromLong((long) wxSYS_COLOUR_ACTIVECAPTION
));
10562 PyDict_SetItemString(d
,"wxSYS_COLOUR_INACTIVECAPTION", PyInt_FromLong((long) wxSYS_COLOUR_INACTIVECAPTION
));
10563 PyDict_SetItemString(d
,"wxSYS_COLOUR_MENU", PyInt_FromLong((long) wxSYS_COLOUR_MENU
));
10564 PyDict_SetItemString(d
,"wxSYS_COLOUR_WINDOW", PyInt_FromLong((long) wxSYS_COLOUR_WINDOW
));
10565 PyDict_SetItemString(d
,"wxSYS_COLOUR_WINDOWFRAME", PyInt_FromLong((long) wxSYS_COLOUR_WINDOWFRAME
));
10566 PyDict_SetItemString(d
,"wxSYS_COLOUR_MENUTEXT", PyInt_FromLong((long) wxSYS_COLOUR_MENUTEXT
));
10567 PyDict_SetItemString(d
,"wxSYS_COLOUR_WINDOWTEXT", PyInt_FromLong((long) wxSYS_COLOUR_WINDOWTEXT
));
10568 PyDict_SetItemString(d
,"wxSYS_COLOUR_CAPTIONTEXT", PyInt_FromLong((long) wxSYS_COLOUR_CAPTIONTEXT
));
10569 PyDict_SetItemString(d
,"wxSYS_COLOUR_ACTIVEBORDER", PyInt_FromLong((long) wxSYS_COLOUR_ACTIVEBORDER
));
10570 PyDict_SetItemString(d
,"wxSYS_COLOUR_INACTIVEBORDER", PyInt_FromLong((long) wxSYS_COLOUR_INACTIVEBORDER
));
10571 PyDict_SetItemString(d
,"wxSYS_COLOUR_APPWORKSPACE", PyInt_FromLong((long) wxSYS_COLOUR_APPWORKSPACE
));
10572 PyDict_SetItemString(d
,"wxSYS_COLOUR_HIGHLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_HIGHLIGHT
));
10573 PyDict_SetItemString(d
,"wxSYS_COLOUR_HIGHLIGHTTEXT", PyInt_FromLong((long) wxSYS_COLOUR_HIGHLIGHTTEXT
));
10574 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNFACE", PyInt_FromLong((long) wxSYS_COLOUR_BTNFACE
));
10575 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DFACE", PyInt_FromLong((long) wxSYS_COLOUR_3DFACE
));
10576 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNSHADOW", PyInt_FromLong((long) wxSYS_COLOUR_BTNSHADOW
));
10577 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DSHADOW", PyInt_FromLong((long) wxSYS_COLOUR_3DSHADOW
));
10578 PyDict_SetItemString(d
,"wxSYS_COLOUR_GRAYTEXT", PyInt_FromLong((long) wxSYS_COLOUR_GRAYTEXT
));
10579 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNTEXT", PyInt_FromLong((long) wxSYS_COLOUR_BTNTEXT
));
10580 PyDict_SetItemString(d
,"wxSYS_COLOUR_INACTIVECAPTIONTEXT", PyInt_FromLong((long) wxSYS_COLOUR_INACTIVECAPTIONTEXT
));
10581 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNHIGHLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_BTNHIGHLIGHT
));
10582 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNHILIGHT", PyInt_FromLong((long) wxSYS_COLOUR_BTNHILIGHT
));
10583 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DHIGHLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_3DHIGHLIGHT
));
10584 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DHILIGHT", PyInt_FromLong((long) wxSYS_COLOUR_3DHILIGHT
));
10585 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DDKSHADOW", PyInt_FromLong((long) wxSYS_COLOUR_3DDKSHADOW
));
10586 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_3DLIGHT
));
10587 PyDict_SetItemString(d
,"wxSYS_COLOUR_INFOTEXT", PyInt_FromLong((long) wxSYS_COLOUR_INFOTEXT
));
10588 PyDict_SetItemString(d
,"wxSYS_COLOUR_INFOBK", PyInt_FromLong((long) wxSYS_COLOUR_INFOBK
));
10589 PyDict_SetItemString(d
,"wxSYS_COLOUR_LISTBOX", PyInt_FromLong((long) wxSYS_COLOUR_LISTBOX
));
10590 PyDict_SetItemString(d
,"wxSYS_COLOUR_HOTLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_HOTLIGHT
));
10591 PyDict_SetItemString(d
,"wxSYS_COLOUR_GRADIENTACTIVECAPTION", PyInt_FromLong((long) wxSYS_COLOUR_GRADIENTACTIVECAPTION
));
10592 PyDict_SetItemString(d
,"wxSYS_COLOUR_GRADIENTINACTIVECAPTION", PyInt_FromLong((long) wxSYS_COLOUR_GRADIENTINACTIVECAPTION
));
10593 PyDict_SetItemString(d
,"wxSYS_COLOUR_MENUHILIGHT", PyInt_FromLong((long) wxSYS_COLOUR_MENUHILIGHT
));
10594 PyDict_SetItemString(d
,"wxSYS_COLOUR_MENUBAR", PyInt_FromLong((long) wxSYS_COLOUR_MENUBAR
));
10595 PyDict_SetItemString(d
,"wxSYS_COLOUR_MAX", PyInt_FromLong((long) wxSYS_COLOUR_MAX
));
10596 PyDict_SetItemString(d
,"wxSYS_MOUSE_BUTTONS", PyInt_FromLong((long) wxSYS_MOUSE_BUTTONS
));
10597 PyDict_SetItemString(d
,"wxSYS_BORDER_X", PyInt_FromLong((long) wxSYS_BORDER_X
));
10598 PyDict_SetItemString(d
,"wxSYS_BORDER_Y", PyInt_FromLong((long) wxSYS_BORDER_Y
));
10599 PyDict_SetItemString(d
,"wxSYS_CURSOR_X", PyInt_FromLong((long) wxSYS_CURSOR_X
));
10600 PyDict_SetItemString(d
,"wxSYS_CURSOR_Y", PyInt_FromLong((long) wxSYS_CURSOR_Y
));
10601 PyDict_SetItemString(d
,"wxSYS_DCLICK_X", PyInt_FromLong((long) wxSYS_DCLICK_X
));
10602 PyDict_SetItemString(d
,"wxSYS_DCLICK_Y", PyInt_FromLong((long) wxSYS_DCLICK_Y
));
10603 PyDict_SetItemString(d
,"wxSYS_DRAG_X", PyInt_FromLong((long) wxSYS_DRAG_X
));
10604 PyDict_SetItemString(d
,"wxSYS_DRAG_Y", PyInt_FromLong((long) wxSYS_DRAG_Y
));
10605 PyDict_SetItemString(d
,"wxSYS_EDGE_X", PyInt_FromLong((long) wxSYS_EDGE_X
));
10606 PyDict_SetItemString(d
,"wxSYS_EDGE_Y", PyInt_FromLong((long) wxSYS_EDGE_Y
));
10607 PyDict_SetItemString(d
,"wxSYS_HSCROLL_ARROW_X", PyInt_FromLong((long) wxSYS_HSCROLL_ARROW_X
));
10608 PyDict_SetItemString(d
,"wxSYS_HSCROLL_ARROW_Y", PyInt_FromLong((long) wxSYS_HSCROLL_ARROW_Y
));
10609 PyDict_SetItemString(d
,"wxSYS_HTHUMB_X", PyInt_FromLong((long) wxSYS_HTHUMB_X
));
10610 PyDict_SetItemString(d
,"wxSYS_ICON_X", PyInt_FromLong((long) wxSYS_ICON_X
));
10611 PyDict_SetItemString(d
,"wxSYS_ICON_Y", PyInt_FromLong((long) wxSYS_ICON_Y
));
10612 PyDict_SetItemString(d
,"wxSYS_ICONSPACING_X", PyInt_FromLong((long) wxSYS_ICONSPACING_X
));
10613 PyDict_SetItemString(d
,"wxSYS_ICONSPACING_Y", PyInt_FromLong((long) wxSYS_ICONSPACING_Y
));
10614 PyDict_SetItemString(d
,"wxSYS_WINDOWMIN_X", PyInt_FromLong((long) wxSYS_WINDOWMIN_X
));
10615 PyDict_SetItemString(d
,"wxSYS_WINDOWMIN_Y", PyInt_FromLong((long) wxSYS_WINDOWMIN_Y
));
10616 PyDict_SetItemString(d
,"wxSYS_SCREEN_X", PyInt_FromLong((long) wxSYS_SCREEN_X
));
10617 PyDict_SetItemString(d
,"wxSYS_SCREEN_Y", PyInt_FromLong((long) wxSYS_SCREEN_Y
));
10618 PyDict_SetItemString(d
,"wxSYS_FRAMESIZE_X", PyInt_FromLong((long) wxSYS_FRAMESIZE_X
));
10619 PyDict_SetItemString(d
,"wxSYS_FRAMESIZE_Y", PyInt_FromLong((long) wxSYS_FRAMESIZE_Y
));
10620 PyDict_SetItemString(d
,"wxSYS_SMALLICON_X", PyInt_FromLong((long) wxSYS_SMALLICON_X
));
10621 PyDict_SetItemString(d
,"wxSYS_SMALLICON_Y", PyInt_FromLong((long) wxSYS_SMALLICON_Y
));
10622 PyDict_SetItemString(d
,"wxSYS_HSCROLL_Y", PyInt_FromLong((long) wxSYS_HSCROLL_Y
));
10623 PyDict_SetItemString(d
,"wxSYS_VSCROLL_X", PyInt_FromLong((long) wxSYS_VSCROLL_X
));
10624 PyDict_SetItemString(d
,"wxSYS_VSCROLL_ARROW_X", PyInt_FromLong((long) wxSYS_VSCROLL_ARROW_X
));
10625 PyDict_SetItemString(d
,"wxSYS_VSCROLL_ARROW_Y", PyInt_FromLong((long) wxSYS_VSCROLL_ARROW_Y
));
10626 PyDict_SetItemString(d
,"wxSYS_VTHUMB_Y", PyInt_FromLong((long) wxSYS_VTHUMB_Y
));
10627 PyDict_SetItemString(d
,"wxSYS_CAPTION_Y", PyInt_FromLong((long) wxSYS_CAPTION_Y
));
10628 PyDict_SetItemString(d
,"wxSYS_MENU_Y", PyInt_FromLong((long) wxSYS_MENU_Y
));
10629 PyDict_SetItemString(d
,"wxSYS_NETWORK_PRESENT", PyInt_FromLong((long) wxSYS_NETWORK_PRESENT
));
10630 PyDict_SetItemString(d
,"wxSYS_PENWINDOWS_PRESENT", PyInt_FromLong((long) wxSYS_PENWINDOWS_PRESENT
));
10631 PyDict_SetItemString(d
,"wxSYS_SHOW_SOUNDS", PyInt_FromLong((long) wxSYS_SHOW_SOUNDS
));
10632 PyDict_SetItemString(d
,"wxSYS_SWAP_BUTTONS", PyInt_FromLong((long) wxSYS_SWAP_BUTTONS
));
10633 PyDict_SetItemString(d
,"wxSYS_CAN_DRAW_FRAME_DECORATIONS", PyInt_FromLong((long) wxSYS_CAN_DRAW_FRAME_DECORATIONS
));
10634 PyDict_SetItemString(d
,"wxSYS_CAN_ICONIZE_FRAME", PyInt_FromLong((long) wxSYS_CAN_ICONIZE_FRAME
));
10635 PyDict_SetItemString(d
,"wxLOG_FatalError", PyInt_FromLong((long) wxLOG_FatalError
));
10636 PyDict_SetItemString(d
,"wxLOG_Error", PyInt_FromLong((long) wxLOG_Error
));
10637 PyDict_SetItemString(d
,"wxLOG_Warning", PyInt_FromLong((long) wxLOG_Warning
));
10638 PyDict_SetItemString(d
,"wxLOG_Message", PyInt_FromLong((long) wxLOG_Message
));
10639 PyDict_SetItemString(d
,"wxLOG_Info", PyInt_FromLong((long) wxLOG_Info
));
10640 PyDict_SetItemString(d
,"wxLOG_Status", PyInt_FromLong((long) wxLOG_Status
));
10641 PyDict_SetItemString(d
,"wxLOG_Debug", PyInt_FromLong((long) wxLOG_Debug
));
10642 PyDict_SetItemString(d
,"wxLOG_Trace", PyInt_FromLong((long) wxLOG_Trace
));
10643 PyDict_SetItemString(d
,"wxLOG_Progress", PyInt_FromLong((long) wxLOG_Progress
));
10644 PyDict_SetItemString(d
,"wxLOG_User", PyInt_FromLong((long) wxLOG_User
));
10645 PyDict_SetItemString(d
,"wxEVT_END_PROCESS", PyInt_FromLong((long) wxEVT_END_PROCESS
));
10646 PyDict_SetItemString(d
,"wxMAILCAP_STANDARD", PyInt_FromLong((long) wxMAILCAP_STANDARD
));
10647 PyDict_SetItemString(d
,"wxMAILCAP_NETSCAPE", PyInt_FromLong((long) wxMAILCAP_NETSCAPE
));
10648 PyDict_SetItemString(d
,"wxMAILCAP_KDE", PyInt_FromLong((long) wxMAILCAP_KDE
));
10649 PyDict_SetItemString(d
,"wxMAILCAP_GNOME", PyInt_FromLong((long) wxMAILCAP_GNOME
));
10650 PyDict_SetItemString(d
,"wxMAILCAP_ALL", PyInt_FromLong((long) wxMAILCAP_ALL
));
10651 PyDict_SetItemString(d
,"cvar", SWIG_globals
);
10652 SWIG_addvarlink(SWIG_globals
,"wxTheMimeTypesManager",_wrap_wxTheMimeTypesManager_get
, _wrap_wxTheMimeTypesManager_set
);
10654 wxPyPtrTypeMap_Add("wxFontEnumerator", "wxPyFontEnumerator");
10655 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
10656 wxPyPtrTypeMap_Add("wxProcess", "wxPyProcess");
10659 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
10660 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);