2 * FILE : src/mac/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 static wxString
wxPyEmptyStr("");
111 int wxCaret_GetBlinkTime() {
112 return wxCaret::GetBlinkTime();
115 void wxCaret_SetBlinkTime(int milliseconds
) {
116 wxCaret::SetBlinkTime(milliseconds
);
119 class wxPyFontEnumerator
: public wxFontEnumerator
{
121 wxPyFontEnumerator() {}
122 ~wxPyFontEnumerator() {}
124 DEC_PYCALLBACK_BOOL_STRING(OnFacename
);
125 DEC_PYCALLBACK_BOOL_STRINGSTRING(OnFontEncoding
);
130 IMP_PYCALLBACK_BOOL_STRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFacename
);
131 IMP_PYCALLBACK_BOOL_STRINGSTRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFontEncoding
);
134 bool wxThread_IsMain() {
135 #ifdef WXP_WITH_THREAD
136 return wxThread::IsMain();
142 class wxPyTipProvider
: public wxTipProvider
{
144 wxPyTipProvider(size_t currentTip
)
145 : wxTipProvider(currentTip
) {}
147 DEC_PYCALLBACK_STRING__pure(GetTip
);
152 IMP_PYCALLBACK_STRING__pure( wxPyTipProvider
, wxTipProvider
, GetTip
);
155 #include <wx/generic/dragimgg.h>
157 // A Log class that can be derived from in wxPython
158 class wxPyLog
: public wxLog
{
160 wxPyLog() : wxLog() {}
162 virtual void DoLog(wxLogLevel level
, const wxChar
*szString
, time_t t
) {
164 wxPyBeginBlockThreads();
165 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLog")))
166 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(isi)", level
, szString
, t
));
167 wxPyEndBlockThreads();
169 wxLog::DoLog(level
, szString
, t
);
172 virtual void DoLogString(const wxChar
*szString
, time_t t
) {
174 wxPyBeginBlockThreads();
175 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLogString")))
176 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(si)", szString
, t
));
177 wxPyEndBlockThreads();
179 wxLog::DoLogString(szString
, t
);
184 // C++ version of wxProcess derived class
186 class wxPyProcess
: public wxProcess
{
188 wxPyProcess(wxEvtHandler
*parent
= NULL
, int id
= -1)
189 : wxProcess(parent
, id
)
192 DEC_PYCALLBACK_VOID_INTINT(OnTerminate
);
197 IMP_PYCALLBACK_VOID_INTINT( wxPyProcess
, wxProcess
, OnTerminate
);
200 #if !wxUSE_JOYSTICK && !defined(__WXMSW__)
201 // A C++ stub class for wxJoystick for platforms that don't have it.
202 class wxJoystick
: public wxObject
{
204 wxJoystick(int joystick
= wxJOYSTICK1
) {
205 wxPyBeginBlockThreads();
206 PyErr_SetString(PyExc_NotImplementedError
, "wxJoystick is not available on this platform.");
207 wxPyEndBlockThreads();
209 wxPoint
GetPosition() { return wxPoint(-1,-1); }
210 int GetZPosition() { return -1; }
211 int GetButtonState() { return -1; }
212 int GetPOVPosition() { return -1; }
213 int GetPOVCTSPosition() { return -1; }
214 int GetRudderPosition() { return -1; }
215 int GetUPosition() { return -1; }
216 int GetVPosition() { return -1; }
217 int GetMovementThreshold() { return -1; }
218 void SetMovementThreshold(int threshold
) {}
220 bool IsOk(void) { return FALSE
; }
221 int GetNumberJoysticks() { return -1; }
222 int GetManufacturerId() { return -1; }
223 int GetProductId() { return -1; }
224 wxString
GetProductName() { return ""; }
225 int GetXMin() { return -1; }
226 int GetYMin() { return -1; }
227 int GetZMin() { return -1; }
228 int GetXMax() { return -1; }
229 int GetYMax() { return -1; }
230 int GetZMax() { return -1; }
231 int GetNumberButtons() { return -1; }
232 int GetNumberAxes() { return -1; }
233 int GetMaxButtons() { return -1; }
234 int GetMaxAxes() { return -1; }
235 int GetPollingMin() { return -1; }
236 int GetPollingMax() { return -1; }
237 int GetRudderMin() { return -1; }
238 int GetRudderMax() { return -1; }
239 int GetUMin() { return -1; }
240 int GetUMax() { return -1; }
241 int GetVMin() { return -1; }
242 int GetVMax() { return -1; }
244 bool HasRudder() { return FALSE
; }
245 bool HasZ() { return FALSE
; }
246 bool HasU() { return FALSE
; }
247 bool HasV() { return FALSE
; }
248 bool HasPOV() { return FALSE
; }
249 bool HasPOV4Dir() { return FALSE
; }
250 bool HasPOVCTS() { return FALSE
; }
252 bool SetCapture(wxWindow
* win
, int pollingFreq
= 0) { return FALSE
; }
253 bool ReleaseCapture() { return FALSE
; }
258 // A C++ stub class for wxWave for platforms that don't have it.
259 class wxWave
: public wxObject
262 wxWave(const wxString
& fileName
, bool isResource
= FALSE
) {
263 wxPyBeginBlockThreads();
264 PyErr_SetString(PyExc_NotImplementedError
, "wxWave is not available on this platform.");
265 wxPyEndBlockThreads();
267 wxWave(int size
, const wxByte
* data
) {
268 wxPyBeginBlockThreads();
269 PyErr_SetString(PyExc_NotImplementedError
, "wxWave is not available on this platform.");
270 wxPyEndBlockThreads();
275 bool IsOk() const { return FALSE
; }
276 bool Play(bool async
= TRUE
, bool looped
= FALSE
) const { return FALSE
; }
280 // Implementations of some alternate "constructors"
281 wxWave
* wxWaveData(const wxString
& data
) {
282 return new wxWave(data
.Len(), (wxByte
*)data
.c_str());
286 extern wxMimeTypesManager
* wxTheMimeTypesManager
;
290 #include <wx/docview.h>
294 static PyObject
*_wrap_wxFileSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
295 PyObject
* _resultobj
;
298 char * _arg1
= (char *) NULL
;
299 char * _arg2
= (char *) NULL
;
300 char * _arg3
= (char *) NULL
;
301 char * _arg4
= (char *) "*.*";
302 int _arg5
= (int ) 0;
303 wxWindow
* _arg6
= (wxWindow
*) NULL
;
304 int _arg7
= (int ) -1;
305 int _arg8
= (int ) -1;
306 PyObject
* _argo6
= 0;
307 char *_kwnames
[] = { "message","default_path","default_filename","default_extension","wildcard","flags","parent","x","y", NULL
};
310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s|ssssiOii:wxFileSelector",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_argo6
,&_arg7
,&_arg8
))
313 if (_argo6
== Py_None
) { _arg6
= NULL
; }
314 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxWindow_p")) {
315 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxFileSelector. Expected _wxWindow_p.");
320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
321 _result
= new wxString (wxFileSelector(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
,_arg8
));
323 wxPyEndAllowThreads(__tstate
);
324 if (PyErr_Occurred()) return NULL
;
326 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
334 static PyObject
*_wrap_wxGetTextFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
335 PyObject
* _resultobj
;
338 wxString
* _arg1
= (wxString
*) &wxPyEmptyStr
;
339 wxString
* _arg2
= (wxString
*) &wxPyEmptyStr
;
340 wxWindow
* _arg3
= (wxWindow
*) NULL
;
341 int _arg4
= (int ) -1;
342 int _arg5
= (int ) -1;
343 bool _arg6
= (bool ) TRUE
;
344 PyObject
* _obj0
= 0;
345 PyObject
* _obj1
= 0;
346 PyObject
* _obj2
= 0;
347 PyObject
* _argo3
= 0;
348 int tempbool6
= (int) TRUE
;
349 char *_kwnames
[] = { "message","caption","default_value","parent","x","y","centre", NULL
};
352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|OOOiii:wxGetTextFromUser",_kwnames
,&_obj0
,&_obj1
,&_obj2
,&_argo3
,&_arg4
,&_arg5
,&tempbool6
))
355 #if PYTHON_API_VERSION >= 1009
356 char* tmpPtr
; int tmpSize
;
357 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
358 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
361 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
363 _arg0
= new wxString(tmpPtr
, tmpSize
);
365 if (!PyString_Check(_obj0
)) {
366 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
369 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
374 #if PYTHON_API_VERSION >= 1009
375 char* tmpPtr
; int tmpSize
;
376 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
377 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
380 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
382 _arg1
= new wxString(tmpPtr
, tmpSize
);
384 if (!PyString_Check(_obj1
)) {
385 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
388 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
393 #if PYTHON_API_VERSION >= 1009
394 char* tmpPtr
; int tmpSize
;
395 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
396 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
399 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
401 _arg2
= new wxString(tmpPtr
, tmpSize
);
403 if (!PyString_Check(_obj2
)) {
404 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
407 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
411 if (_argo3
== Py_None
) { _arg3
= NULL
; }
412 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxWindow_p")) {
413 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGetTextFromUser. Expected _wxWindow_p.");
417 _arg6
= (bool ) tempbool6
;
419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
420 _result
= new wxString (wxGetTextFromUser(*_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
,_arg6
));
422 wxPyEndAllowThreads(__tstate
);
423 if (PyErr_Occurred()) return NULL
;
425 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
445 static PyObject
*_wrap_wxGetPasswordFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
446 PyObject
* _resultobj
;
449 wxString
* _arg1
= (wxString
*) &wxPyEmptyStr
;
450 wxString
* _arg2
= (wxString
*) &wxPyEmptyStr
;
451 wxWindow
* _arg3
= (wxWindow
*) NULL
;
452 PyObject
* _obj0
= 0;
453 PyObject
* _obj1
= 0;
454 PyObject
* _obj2
= 0;
455 PyObject
* _argo3
= 0;
456 char *_kwnames
[] = { "message","caption","default_value","parent", NULL
};
459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|OOO:wxGetPasswordFromUser",_kwnames
,&_obj0
,&_obj1
,&_obj2
,&_argo3
))
462 #if PYTHON_API_VERSION >= 1009
463 char* tmpPtr
; int tmpSize
;
464 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
465 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
468 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
470 _arg0
= new wxString(tmpPtr
, tmpSize
);
472 if (!PyString_Check(_obj0
)) {
473 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
476 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
481 #if PYTHON_API_VERSION >= 1009
482 char* tmpPtr
; int tmpSize
;
483 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
484 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
487 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
489 _arg1
= new wxString(tmpPtr
, tmpSize
);
491 if (!PyString_Check(_obj1
)) {
492 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
495 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
500 #if PYTHON_API_VERSION >= 1009
501 char* tmpPtr
; int tmpSize
;
502 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
503 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
506 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
508 _arg2
= new wxString(tmpPtr
, tmpSize
);
510 if (!PyString_Check(_obj2
)) {
511 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
514 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
518 if (_argo3
== Py_None
) { _arg3
= NULL
; }
519 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxWindow_p")) {
520 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGetPasswordFromUser. Expected _wxWindow_p.");
525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
526 _result
= new wxString (wxGetPasswordFromUser(*_arg0
,*_arg1
,*_arg2
,_arg3
));
528 wxPyEndAllowThreads(__tstate
);
529 if (PyErr_Occurred()) return NULL
;
531 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
551 static PyObject
*_wrap_wxGetSingleChoice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
552 PyObject
* _resultobj
;
558 wxWindow
* _arg4
= (wxWindow
*) NULL
;
559 int _arg5
= (int ) -1;
560 int _arg6
= (int ) -1;
561 bool _arg7
= (bool ) TRUE
;
562 int _arg8
= (int ) 150;
563 int _arg9
= (int ) 200;
564 PyObject
* _obj0
= 0;
565 PyObject
* _obj1
= 0;
566 PyObject
* _obj3
= 0;
567 PyObject
* _argo4
= 0;
568 int tempbool7
= (int) TRUE
;
569 char *_kwnames
[] = { "message","caption","choices","parent","x","y","centre","width","height", NULL
};
572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|Oiiiii:wxGetSingleChoice",_kwnames
,&_obj0
,&_obj1
,&_obj3
,&_argo4
,&_arg5
,&_arg6
,&tempbool7
,&_arg8
,&_arg9
))
575 #if PYTHON_API_VERSION >= 1009
576 char* tmpPtr
; int tmpSize
;
577 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
578 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
581 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
583 _arg0
= new wxString(tmpPtr
, tmpSize
);
585 if (!PyString_Check(_obj0
)) {
586 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
589 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
593 #if PYTHON_API_VERSION >= 1009
594 char* tmpPtr
; int tmpSize
;
595 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
596 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
599 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
601 _arg1
= new wxString(tmpPtr
, tmpSize
);
603 if (!PyString_Check(_obj1
)) {
604 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
607 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
612 _arg3
= wxString_LIST_helper(_obj3
);
618 if (_argo4
== Py_None
) { _arg4
= NULL
; }
619 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_wxWindow_p")) {
620 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxGetSingleChoice. Expected _wxWindow_p.");
624 _arg7
= (bool ) tempbool7
;
627 _arg2
= PyList_Size(_obj3
);
634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
635 _result
= new wxString (wxGetSingleChoice(*_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,_arg9
));
637 wxPyEndAllowThreads(__tstate
);
638 if (PyErr_Occurred()) return NULL
;
640 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
659 static PyObject
*_wrap_wxGetSingleChoiceIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
660 PyObject
* _resultobj
;
666 wxWindow
* _arg4
= (wxWindow
*) NULL
;
667 int _arg5
= (int ) -1;
668 int _arg6
= (int ) -1;
669 bool _arg7
= (bool ) TRUE
;
670 int _arg8
= (int ) 150;
671 int _arg9
= (int ) 200;
672 PyObject
* _obj0
= 0;
673 PyObject
* _obj1
= 0;
674 PyObject
* _obj3
= 0;
675 PyObject
* _argo4
= 0;
676 int tempbool7
= (int) TRUE
;
677 char *_kwnames
[] = { "message","caption","choices","parent","x","y","centre","width","height", NULL
};
680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|Oiiiii:wxGetSingleChoiceIndex",_kwnames
,&_obj0
,&_obj1
,&_obj3
,&_argo4
,&_arg5
,&_arg6
,&tempbool7
,&_arg8
,&_arg9
))
683 #if PYTHON_API_VERSION >= 1009
684 char* tmpPtr
; int tmpSize
;
685 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
686 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
689 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
691 _arg0
= new wxString(tmpPtr
, tmpSize
);
693 if (!PyString_Check(_obj0
)) {
694 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
697 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
701 #if PYTHON_API_VERSION >= 1009
702 char* tmpPtr
; int tmpSize
;
703 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
704 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
707 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
709 _arg1
= new wxString(tmpPtr
, tmpSize
);
711 if (!PyString_Check(_obj1
)) {
712 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
715 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
720 _arg3
= wxString_LIST_helper(_obj3
);
726 if (_argo4
== Py_None
) { _arg4
= NULL
; }
727 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_wxWindow_p")) {
728 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxGetSingleChoiceIndex. Expected _wxWindow_p.");
732 _arg7
= (bool ) tempbool7
;
735 _arg2
= PyList_Size(_obj3
);
742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
743 _result
= (int )wxGetSingleChoiceIndex(*_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,_arg9
);
745 wxPyEndAllowThreads(__tstate
);
746 if (PyErr_Occurred()) return NULL
;
747 } _resultobj
= Py_BuildValue("i",_result
);
762 static PyObject
*_wrap_wxMessageBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
763 PyObject
* _resultobj
;
766 wxString
* _arg1
= (wxString
*) &wxPyEmptyStr
;
767 int _arg2
= (int ) wxOK
|wxCENTRE
;
768 wxWindow
* _arg3
= (wxWindow
*) NULL
;
769 int _arg4
= (int ) -1;
770 int _arg5
= (int ) -1;
771 PyObject
* _obj0
= 0;
772 PyObject
* _obj1
= 0;
773 PyObject
* _argo3
= 0;
774 char *_kwnames
[] = { "message","caption","style","parent","x","y", NULL
};
777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|OiOii:wxMessageBox",_kwnames
,&_obj0
,&_obj1
,&_arg2
,&_argo3
,&_arg4
,&_arg5
))
780 #if PYTHON_API_VERSION >= 1009
781 char* tmpPtr
; int tmpSize
;
782 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
783 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
786 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
788 _arg0
= new wxString(tmpPtr
, tmpSize
);
790 if (!PyString_Check(_obj0
)) {
791 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
794 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
799 #if PYTHON_API_VERSION >= 1009
800 char* tmpPtr
; int tmpSize
;
801 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
802 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
805 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
807 _arg1
= new wxString(tmpPtr
, tmpSize
);
809 if (!PyString_Check(_obj1
)) {
810 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
813 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
817 if (_argo3
== Py_None
) { _arg3
= NULL
; }
818 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxWindow_p")) {
819 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxMessageBox. Expected _wxWindow_p.");
824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
825 _result
= (int )wxMessageBox(*_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
827 wxPyEndAllowThreads(__tstate
);
828 if (PyErr_Occurred()) return NULL
;
829 } _resultobj
= Py_BuildValue("i",_result
);
841 static PyObject
*_wrap_wxGetNumberFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
842 PyObject
* _resultobj
;
848 long _arg4
= (long ) 0;
849 long _arg5
= (long ) 100;
850 wxWindow
* _arg6
= (wxWindow
*) NULL
;
851 wxPoint
* _arg7
= (wxPoint
*) &wxDefaultPosition
;
852 PyObject
* _obj0
= 0;
853 PyObject
* _obj1
= 0;
854 PyObject
* _obj2
= 0;
855 PyObject
* _argo6
= 0;
857 PyObject
* _obj7
= 0;
858 char *_kwnames
[] = { "message","prompt","caption","value","min","max","parent","pos", NULL
};
861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOl|llOO:wxGetNumberFromUser",_kwnames
,&_obj0
,&_obj1
,&_obj2
,&_arg3
,&_arg4
,&_arg5
,&_argo6
,&_obj7
))
864 #if PYTHON_API_VERSION >= 1009
865 char* tmpPtr
; int tmpSize
;
866 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
867 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
870 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
872 _arg0
= new wxString(tmpPtr
, tmpSize
);
874 if (!PyString_Check(_obj0
)) {
875 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
878 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
882 #if PYTHON_API_VERSION >= 1009
883 char* tmpPtr
; int tmpSize
;
884 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
885 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
888 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
890 _arg1
= new wxString(tmpPtr
, tmpSize
);
892 if (!PyString_Check(_obj1
)) {
893 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
896 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
900 #if PYTHON_API_VERSION >= 1009
901 char* tmpPtr
; int tmpSize
;
902 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
903 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
906 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
908 _arg2
= new wxString(tmpPtr
, tmpSize
);
910 if (!PyString_Check(_obj2
)) {
911 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
914 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
918 if (_argo6
== Py_None
) { _arg6
= NULL
; }
919 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxWindow_p")) {
920 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxGetNumberFromUser. Expected _wxWindow_p.");
927 if (! wxPoint_helper(_obj7
, &_arg7
))
931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
932 _result
= (long )wxGetNumberFromUser(*_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,*_arg7
);
934 wxPyEndAllowThreads(__tstate
);
935 if (PyErr_Occurred()) return NULL
;
936 } _resultobj
= Py_BuildValue("l",_result
);
952 static PyObject
*_wrap_wxColourDisplay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
953 PyObject
* _resultobj
;
955 char *_kwnames
[] = { NULL
};
958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxColourDisplay",_kwnames
))
961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
962 _result
= (bool )wxColourDisplay();
964 wxPyEndAllowThreads(__tstate
);
965 if (PyErr_Occurred()) return NULL
;
966 } _resultobj
= Py_BuildValue("i",_result
);
970 static PyObject
*_wrap_wxDisplayDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
971 PyObject
* _resultobj
;
973 char *_kwnames
[] = { NULL
};
976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxDisplayDepth",_kwnames
))
979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
980 _result
= (int )wxDisplayDepth();
982 wxPyEndAllowThreads(__tstate
);
983 if (PyErr_Occurred()) return NULL
;
984 } _resultobj
= Py_BuildValue("i",_result
);
988 static PyObject
*_wrap_wxGetDisplayDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
989 PyObject
* _resultobj
;
991 char *_kwnames
[] = { NULL
};
994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetDisplayDepth",_kwnames
))
997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
998 _result
= (int )wxGetDisplayDepth();
1000 wxPyEndAllowThreads(__tstate
);
1001 if (PyErr_Occurred()) return NULL
;
1002 } _resultobj
= Py_BuildValue("i",_result
);
1006 static PyObject
*_wrap_wxDisplaySize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1007 PyObject
* _resultobj
;
1012 char *_kwnames
[] = { NULL
};
1021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxDisplaySize",_kwnames
))
1024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1025 wxDisplaySize(_arg0
,_arg1
);
1027 wxPyEndAllowThreads(__tstate
);
1028 if (PyErr_Occurred()) return NULL
;
1029 } Py_INCREF(Py_None
);
1030 _resultobj
= Py_None
;
1033 o
= PyInt_FromLong((long) (*_arg0
));
1034 _resultobj
= t_output_helper(_resultobj
, o
);
1038 o
= PyInt_FromLong((long) (*_arg1
));
1039 _resultobj
= t_output_helper(_resultobj
, o
);
1044 static PyObject
*_wrap_wxGetDisplaySize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1045 PyObject
* _resultobj
;
1047 char *_kwnames
[] = { NULL
};
1051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetDisplaySize",_kwnames
))
1054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1055 _result
= new wxSize (wxGetDisplaySize());
1057 wxPyEndAllowThreads(__tstate
);
1058 if (PyErr_Occurred()) return NULL
;
1059 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
1060 _resultobj
= Py_BuildValue("s",_ptemp
);
1064 static PyObject
*_wrap_wxDisplaySizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1065 PyObject
* _resultobj
;
1070 char *_kwnames
[] = { NULL
};
1079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxDisplaySizeMM",_kwnames
))
1082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1083 wxDisplaySizeMM(_arg0
,_arg1
);
1085 wxPyEndAllowThreads(__tstate
);
1086 if (PyErr_Occurred()) return NULL
;
1087 } Py_INCREF(Py_None
);
1088 _resultobj
= Py_None
;
1091 o
= PyInt_FromLong((long) (*_arg0
));
1092 _resultobj
= t_output_helper(_resultobj
, o
);
1096 o
= PyInt_FromLong((long) (*_arg1
));
1097 _resultobj
= t_output_helper(_resultobj
, o
);
1102 static PyObject
*_wrap_wxGetDisplaySizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1103 PyObject
* _resultobj
;
1105 char *_kwnames
[] = { NULL
};
1109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetDisplaySizeMM",_kwnames
))
1112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1113 _result
= new wxSize (wxGetDisplaySizeMM());
1115 wxPyEndAllowThreads(__tstate
);
1116 if (PyErr_Occurred()) return NULL
;
1117 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
1118 _resultobj
= Py_BuildValue("s",_ptemp
);
1122 static PyObject
*_wrap_wxClientDisplayRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1123 PyObject
* _resultobj
;
1132 char *_kwnames
[] = { NULL
};
1147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxClientDisplayRect",_kwnames
))
1150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1151 wxClientDisplayRect(_arg0
,_arg1
,_arg2
,_arg3
);
1153 wxPyEndAllowThreads(__tstate
);
1154 if (PyErr_Occurred()) return NULL
;
1155 } Py_INCREF(Py_None
);
1156 _resultobj
= Py_None
;
1159 o
= PyInt_FromLong((long) (*_arg0
));
1160 _resultobj
= t_output_helper(_resultobj
, o
);
1164 o
= PyInt_FromLong((long) (*_arg1
));
1165 _resultobj
= t_output_helper(_resultobj
, o
);
1169 o
= PyInt_FromLong((long) (*_arg2
));
1170 _resultobj
= t_output_helper(_resultobj
, o
);
1174 o
= PyInt_FromLong((long) (*_arg3
));
1175 _resultobj
= t_output_helper(_resultobj
, o
);
1180 static PyObject
*_wrap_wxGetClientDisplayRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1181 PyObject
* _resultobj
;
1183 char *_kwnames
[] = { NULL
};
1187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetClientDisplayRect",_kwnames
))
1190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1191 _result
= new wxRect (wxGetClientDisplayRect());
1193 wxPyEndAllowThreads(__tstate
);
1194 if (PyErr_Occurred()) return NULL
;
1195 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
1196 _resultobj
= Py_BuildValue("s",_ptemp
);
1200 static PyObject
*_wrap_wxSetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1201 PyObject
* _resultobj
;
1203 PyObject
* _argo0
= 0;
1204 char *_kwnames
[] = { "cursor", NULL
};
1207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSetCursor",_kwnames
,&_argo0
))
1210 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1211 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
1212 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSetCursor. Expected _wxCursor_p.");
1217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1218 wxSetCursor(*_arg0
);
1220 wxPyEndAllowThreads(__tstate
);
1221 if (PyErr_Occurred()) return NULL
;
1222 } Py_INCREF(Py_None
);
1223 _resultobj
= Py_None
;
1227 static PyObject
*_wrap_wxFindWindowByLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1228 PyObject
* _resultobj
;
1231 wxWindow
* _arg1
= (wxWindow
*) NULL
;
1232 PyObject
* _obj0
= 0;
1233 PyObject
* _argo1
= 0;
1234 char *_kwnames
[] = { "label","parent", NULL
};
1237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxFindWindowByLabel",_kwnames
,&_obj0
,&_argo1
))
1240 #if PYTHON_API_VERSION >= 1009
1241 char* tmpPtr
; int tmpSize
;
1242 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
1243 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1246 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
1248 _arg0
= new wxString(tmpPtr
, tmpSize
);
1250 if (!PyString_Check(_obj0
)) {
1251 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1254 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
1258 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1259 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1260 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFindWindowByLabel. Expected _wxWindow_p.");
1265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1266 _result
= (wxWindow
*)wxFindWindowByLabel(*_arg0
,_arg1
);
1268 wxPyEndAllowThreads(__tstate
);
1269 if (PyErr_Occurred()) return NULL
;
1270 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1278 static PyObject
*_wrap_wxFindWindowByName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1279 PyObject
* _resultobj
;
1282 wxWindow
* _arg1
= (wxWindow
*) NULL
;
1283 PyObject
* _obj0
= 0;
1284 PyObject
* _argo1
= 0;
1285 char *_kwnames
[] = { "name","parent", NULL
};
1288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxFindWindowByName",_kwnames
,&_obj0
,&_argo1
))
1291 #if PYTHON_API_VERSION >= 1009
1292 char* tmpPtr
; int tmpSize
;
1293 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
1294 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1297 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
1299 _arg0
= new wxString(tmpPtr
, tmpSize
);
1301 if (!PyString_Check(_obj0
)) {
1302 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1305 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
1309 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1310 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1311 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFindWindowByName. Expected _wxWindow_p.");
1316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1317 _result
= (wxWindow
*)wxFindWindowByName(*_arg0
,_arg1
);
1319 wxPyEndAllowThreads(__tstate
);
1320 if (PyErr_Occurred()) return NULL
;
1321 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1329 static PyObject
*_wrap_wxBeginBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1330 PyObject
* _resultobj
;
1331 wxCursor
* _arg0
= (wxCursor
*) wxHOURGLASS_CURSOR
;
1332 PyObject
* _argo0
= 0;
1333 char *_kwnames
[] = { "cursor", NULL
};
1336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:wxBeginBusyCursor",_kwnames
,&_argo0
))
1339 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1340 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
1341 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBeginBusyCursor. Expected _wxCursor_p.");
1346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1347 wxBeginBusyCursor(_arg0
);
1349 wxPyEndAllowThreads(__tstate
);
1350 if (PyErr_Occurred()) return NULL
;
1351 } Py_INCREF(Py_None
);
1352 _resultobj
= Py_None
;
1356 static PyObject
*_wrap_wxGetActiveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1357 PyObject
* _resultobj
;
1359 char *_kwnames
[] = { NULL
};
1362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetActiveWindow",_kwnames
))
1365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1366 _result
= (wxWindow
*)wxGetActiveWindow();
1368 wxPyEndAllowThreads(__tstate
);
1369 if (PyErr_Occurred()) return NULL
;
1370 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1374 static PyObject
*_wrap_wxGenericFindWindowAtPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1375 PyObject
* _resultobj
;
1379 PyObject
* _obj0
= 0;
1380 char *_kwnames
[] = { "pt", NULL
};
1383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGenericFindWindowAtPoint",_kwnames
,&_obj0
))
1387 if (! wxPoint_helper(_obj0
, &_arg0
))
1391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1392 _result
= (wxWindow
*)wxGenericFindWindowAtPoint(*_arg0
);
1394 wxPyEndAllowThreads(__tstate
);
1395 if (PyErr_Occurred()) return NULL
;
1396 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1400 static PyObject
*_wrap_wxFindWindowAtPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1401 PyObject
* _resultobj
;
1405 PyObject
* _obj0
= 0;
1406 char *_kwnames
[] = { "pt", NULL
};
1409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFindWindowAtPoint",_kwnames
,&_obj0
))
1413 if (! wxPoint_helper(_obj0
, &_arg0
))
1417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1418 _result
= (wxWindow
*)wxFindWindowAtPoint(*_arg0
);
1420 wxPyEndAllowThreads(__tstate
);
1421 if (PyErr_Occurred()) return NULL
;
1422 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1426 static PyObject
*_wrap_wxResourceAddIdentifier(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1427 PyObject
* _resultobj
;
1431 char *_kwnames
[] = { "name","value", NULL
};
1434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"si:wxResourceAddIdentifier",_kwnames
,&_arg0
,&_arg1
))
1437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1438 _result
= (bool )wxResourceAddIdentifier(_arg0
,_arg1
);
1440 wxPyEndAllowThreads(__tstate
);
1441 if (PyErr_Occurred()) return NULL
;
1442 } _resultobj
= Py_BuildValue("i",_result
);
1446 static PyObject
*_wrap_wxResourceClear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1447 PyObject
* _resultobj
;
1448 char *_kwnames
[] = { NULL
};
1451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxResourceClear",_kwnames
))
1454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1457 wxPyEndAllowThreads(__tstate
);
1458 if (PyErr_Occurred()) return NULL
;
1459 } Py_INCREF(Py_None
);
1460 _resultobj
= Py_None
;
1464 static PyObject
*_wrap_wxResourceCreateBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1465 PyObject
* _resultobj
;
1468 char *_kwnames
[] = { "resource", NULL
};
1472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxResourceCreateBitmap",_kwnames
,&_arg0
))
1475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1476 _result
= new wxBitmap (wxResourceCreateBitmap(_arg0
));
1478 wxPyEndAllowThreads(__tstate
);
1479 if (PyErr_Occurred()) return NULL
;
1480 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBitmap_p");
1481 _resultobj
= Py_BuildValue("s",_ptemp
);
1485 static PyObject
*_wrap_wxResourceCreateIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1486 PyObject
* _resultobj
;
1489 char *_kwnames
[] = { "resource", NULL
};
1493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxResourceCreateIcon",_kwnames
,&_arg0
))
1496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1497 _result
= new wxIcon (wxResourceCreateIcon(_arg0
));
1499 wxPyEndAllowThreads(__tstate
);
1500 if (PyErr_Occurred()) return NULL
;
1501 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxIcon_p");
1502 _resultobj
= Py_BuildValue("s",_ptemp
);
1506 static PyObject
*_wrap_wxResourceCreateMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1507 PyObject
* _resultobj
;
1508 wxMenuBar
* _result
;
1510 char *_kwnames
[] = { "resource", NULL
};
1513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxResourceCreateMenuBar",_kwnames
,&_arg0
))
1516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1517 _result
= (wxMenuBar
*)wxResourceCreateMenuBar(_arg0
);
1519 wxPyEndAllowThreads(__tstate
);
1520 if (PyErr_Occurred()) return NULL
;
1521 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1525 static PyObject
*_wrap_wxResourceGetIdentifier(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1526 PyObject
* _resultobj
;
1529 char *_kwnames
[] = { "name", NULL
};
1532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxResourceGetIdentifier",_kwnames
,&_arg0
))
1535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1536 _result
= (int )wxResourceGetIdentifier(_arg0
);
1538 wxPyEndAllowThreads(__tstate
);
1539 if (PyErr_Occurred()) return NULL
;
1540 } _resultobj
= Py_BuildValue("i",_result
);
1544 static PyObject
*_wrap_wxResourceParseData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1545 PyObject
* _resultobj
;
1548 wxResourceTable
* _arg1
= (wxResourceTable
*) NULL
;
1549 PyObject
* _argo1
= 0;
1550 char *_kwnames
[] = { "resource","table", NULL
};
1553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s|O:wxResourceParseData",_kwnames
,&_arg0
,&_argo1
))
1556 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1557 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxResourceTable_p")) {
1558 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxResourceParseData. Expected _wxResourceTable_p.");
1563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1564 _result
= (bool )wxResourceParseData(_arg0
,_arg1
);
1566 wxPyEndAllowThreads(__tstate
);
1567 if (PyErr_Occurred()) return NULL
;
1568 } _resultobj
= Py_BuildValue("i",_result
);
1572 static PyObject
*_wrap_wxResourceParseFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1573 PyObject
* _resultobj
;
1576 wxResourceTable
* _arg1
= (wxResourceTable
*) NULL
;
1577 PyObject
* _argo1
= 0;
1578 char *_kwnames
[] = { "filename","table", NULL
};
1581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s|O:wxResourceParseFile",_kwnames
,&_arg0
,&_argo1
))
1584 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1585 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxResourceTable_p")) {
1586 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxResourceParseFile. Expected _wxResourceTable_p.");
1591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1592 _result
= (bool )wxResourceParseFile(_arg0
,_arg1
);
1594 wxPyEndAllowThreads(__tstate
);
1595 if (PyErr_Occurred()) return NULL
;
1596 } _resultobj
= Py_BuildValue("i",_result
);
1600 static PyObject
*_wrap_wxResourceParseString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1601 PyObject
* _resultobj
;
1604 wxResourceTable
* _arg1
= (wxResourceTable
*) NULL
;
1605 PyObject
* _argo1
= 0;
1606 char *_kwnames
[] = { "resource","table", NULL
};
1609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s|O:wxResourceParseString",_kwnames
,&_arg0
,&_argo1
))
1612 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1613 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxResourceTable_p")) {
1614 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxResourceParseString. Expected _wxResourceTable_p.");
1619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1620 _result
= (bool )wxResourceParseString(_arg0
,_arg1
);
1622 wxPyEndAllowThreads(__tstate
);
1623 if (PyErr_Occurred()) return NULL
;
1624 } _resultobj
= Py_BuildValue("i",_result
);
1628 static PyObject
*_wrap_wxCaret_GetBlinkTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1629 PyObject
* _resultobj
;
1631 char *_kwnames
[] = { NULL
};
1634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxCaret_GetBlinkTime",_kwnames
))
1637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1638 _result
= (int )wxCaret_GetBlinkTime();
1640 wxPyEndAllowThreads(__tstate
);
1641 if (PyErr_Occurred()) return NULL
;
1642 } _resultobj
= Py_BuildValue("i",_result
);
1646 static PyObject
*_wrap_wxCaret_SetBlinkTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1647 PyObject
* _resultobj
;
1649 char *_kwnames
[] = { "milliseconds", NULL
};
1652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxCaret_SetBlinkTime",_kwnames
,&_arg0
))
1655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1656 wxCaret_SetBlinkTime(_arg0
);
1658 wxPyEndAllowThreads(__tstate
);
1659 if (PyErr_Occurred()) return NULL
;
1660 } Py_INCREF(Py_None
);
1661 _resultobj
= Py_None
;
1665 static PyObject
*_wrap_wxSafeYield(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1666 PyObject
* _resultobj
;
1668 wxWindow
* _arg0
= (wxWindow
*) NULL
;
1669 PyObject
* _argo0
= 0;
1670 char *_kwnames
[] = { "win", NULL
};
1673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:wxSafeYield",_kwnames
,&_argo0
))
1676 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1677 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1678 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSafeYield. Expected _wxWindow_p.");
1683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1684 _result
= (bool )wxSafeYield(_arg0
);
1686 wxPyEndAllowThreads(__tstate
);
1687 if (PyErr_Occurred()) return NULL
;
1688 } _resultobj
= Py_BuildValue("i",_result
);
1692 static PyObject
*_wrap_wxPostEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1693 PyObject
* _resultobj
;
1694 wxEvtHandler
* _arg0
;
1696 PyObject
* _argo0
= 0;
1697 PyObject
* _argo1
= 0;
1698 char *_kwnames
[] = { "dest","event", NULL
};
1701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPostEvent",_kwnames
,&_argo0
,&_argo1
))
1704 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1705 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
1706 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPostEvent. Expected _wxEvtHandler_p.");
1711 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1712 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvent_p")) {
1713 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPostEvent. Expected _wxEvent_p.");
1718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1719 wxPostEvent(_arg0
,*_arg1
);
1721 wxPyEndAllowThreads(__tstate
);
1722 if (PyErr_Occurred()) return NULL
;
1723 } Py_INCREF(Py_None
);
1724 _resultobj
= Py_None
;
1728 static PyObject
*_wrap_wxWakeUpIdle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1729 PyObject
* _resultobj
;
1730 char *_kwnames
[] = { NULL
};
1733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxWakeUpIdle",_kwnames
))
1736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1739 wxPyEndAllowThreads(__tstate
);
1740 if (PyErr_Occurred()) return NULL
;
1741 } Py_INCREF(Py_None
);
1742 _resultobj
= Py_None
;
1746 static PyObject
*_wrap_wxMutexGuiEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1747 PyObject
* _resultobj
;
1748 char *_kwnames
[] = { NULL
};
1751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxMutexGuiEnter",_kwnames
))
1754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1757 wxPyEndAllowThreads(__tstate
);
1758 if (PyErr_Occurred()) return NULL
;
1759 } Py_INCREF(Py_None
);
1760 _resultobj
= Py_None
;
1764 static PyObject
*_wrap_wxMutexGuiLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1765 PyObject
* _resultobj
;
1766 char *_kwnames
[] = { NULL
};
1769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxMutexGuiLeave",_kwnames
))
1772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1775 wxPyEndAllowThreads(__tstate
);
1776 if (PyErr_Occurred()) return NULL
;
1777 } Py_INCREF(Py_None
);
1778 _resultobj
= Py_None
;
1782 static PyObject
*_wrap_wxThread_IsMain(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1783 PyObject
* _resultobj
;
1785 char *_kwnames
[] = { NULL
};
1788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxThread_IsMain",_kwnames
))
1791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1792 _result
= (bool )wxThread_IsMain();
1794 wxPyEndAllowThreads(__tstate
);
1795 if (PyErr_Occurred()) return NULL
;
1796 } _resultobj
= Py_BuildValue("i",_result
);
1800 static PyObject
*_wrap_wxShowTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1801 PyObject
* _resultobj
;
1804 wxTipProvider
* _arg1
;
1805 bool _arg2
= (bool ) TRUE
;
1806 PyObject
* _argo0
= 0;
1807 PyObject
* _argo1
= 0;
1808 int tempbool2
= (int) TRUE
;
1809 char *_kwnames
[] = { "parent","tipProvider","showAtStartup", NULL
};
1812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxShowTip",_kwnames
,&_argo0
,&_argo1
,&tempbool2
))
1815 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1816 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1817 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShowTip. Expected _wxWindow_p.");
1822 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1823 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTipProvider_p")) {
1824 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxShowTip. Expected _wxTipProvider_p.");
1828 _arg2
= (bool ) tempbool2
;
1830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1831 _result
= (bool )wxShowTip(_arg0
,_arg1
,_arg2
);
1833 wxPyEndAllowThreads(__tstate
);
1834 if (PyErr_Occurred()) return NULL
;
1835 } _resultobj
= Py_BuildValue("i",_result
);
1839 static PyObject
*_wrap_wxCreateFileTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1840 PyObject
* _resultobj
;
1841 wxTipProvider
* _result
;
1844 PyObject
* _obj0
= 0;
1845 char *_kwnames
[] = { "filename","currentTip", NULL
};
1849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxCreateFileTipProvider",_kwnames
,&_obj0
,&_arg1
))
1852 #if PYTHON_API_VERSION >= 1009
1853 char* tmpPtr
; int tmpSize
;
1854 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
1855 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1858 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
1860 _arg0
= new wxString(tmpPtr
, tmpSize
);
1862 if (!PyString_Check(_obj0
)) {
1863 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1866 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
1870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1871 _result
= (wxTipProvider
*)wxCreateFileTipProvider(*_arg0
,_arg1
);
1873 wxPyEndAllowThreads(__tstate
);
1874 if (PyErr_Occurred()) return NULL
;
1876 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTipProvider_p");
1877 _resultobj
= Py_BuildValue("s",_ptemp
);
1880 _resultobj
= Py_None
;
1889 static PyObject
*_wrap_wxSysErrorCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1890 PyObject
* _resultobj
;
1891 unsigned long _result
;
1892 char *_kwnames
[] = { NULL
};
1895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxSysErrorCode",_kwnames
))
1898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1899 _result
= (unsigned long )wxSysErrorCode();
1901 wxPyEndAllowThreads(__tstate
);
1902 if (PyErr_Occurred()) return NULL
;
1903 } _resultobj
= Py_BuildValue("l",_result
);
1907 static PyObject
*_wrap_wxSysErrorMsg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1908 PyObject
* _resultobj
;
1910 unsigned long _arg0
= (unsigned long ) 0;
1911 char *_kwnames
[] = { "nErrCode", NULL
};
1914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|l:wxSysErrorMsg",_kwnames
,&_arg0
))
1917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1918 _result
= (char *)wxSysErrorMsg(_arg0
);
1920 wxPyEndAllowThreads(__tstate
);
1921 if (PyErr_Occurred()) return NULL
;
1922 } _resultobj
= Py_BuildValue("s", _result
);
1926 static PyObject
*_wrap_wxLogFatalError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1927 PyObject
* _resultobj
;
1929 char *_kwnames
[] = { "szFormat", NULL
};
1932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLogFatalError",_kwnames
,&_arg0
))
1935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1936 wxLogFatalError(_arg0
);
1938 wxPyEndAllowThreads(__tstate
);
1939 if (PyErr_Occurred()) return NULL
;
1940 } Py_INCREF(Py_None
);
1941 _resultobj
= Py_None
;
1945 static PyObject
*_wrap_wxLogError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1946 PyObject
* _resultobj
;
1948 char *_kwnames
[] = { "szFormat", NULL
};
1951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLogError",_kwnames
,&_arg0
))
1954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1957 wxPyEndAllowThreads(__tstate
);
1958 if (PyErr_Occurred()) return NULL
;
1959 } Py_INCREF(Py_None
);
1960 _resultobj
= Py_None
;
1964 static PyObject
*_wrap_wxLogWarning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1965 PyObject
* _resultobj
;
1967 char *_kwnames
[] = { "szFormat", NULL
};
1970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLogWarning",_kwnames
,&_arg0
))
1973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1974 wxLogWarning(_arg0
);
1976 wxPyEndAllowThreads(__tstate
);
1977 if (PyErr_Occurred()) return NULL
;
1978 } Py_INCREF(Py_None
);
1979 _resultobj
= Py_None
;
1983 static PyObject
*_wrap_wxLogMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1984 PyObject
* _resultobj
;
1986 char *_kwnames
[] = { "szFormat", NULL
};
1989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLogMessage",_kwnames
,&_arg0
))
1992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1993 wxLogMessage(_arg0
);
1995 wxPyEndAllowThreads(__tstate
);
1996 if (PyErr_Occurred()) return NULL
;
1997 } Py_INCREF(Py_None
);
1998 _resultobj
= Py_None
;
2002 static PyObject
*_wrap_wxLogInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2003 PyObject
* _resultobj
;
2005 char *_kwnames
[] = { "szFormat", NULL
};
2008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLogInfo",_kwnames
,&_arg0
))
2011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2014 wxPyEndAllowThreads(__tstate
);
2015 if (PyErr_Occurred()) return NULL
;
2016 } Py_INCREF(Py_None
);
2017 _resultobj
= Py_None
;
2021 static PyObject
*_wrap_wxLogVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2022 PyObject
* _resultobj
;
2024 char *_kwnames
[] = { "szFormat", NULL
};
2027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLogVerbose",_kwnames
,&_arg0
))
2030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2031 wxLogVerbose(_arg0
);
2033 wxPyEndAllowThreads(__tstate
);
2034 if (PyErr_Occurred()) return NULL
;
2035 } Py_INCREF(Py_None
);
2036 _resultobj
= Py_None
;
2040 static PyObject
*_wrap_wxLogStatus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2041 PyObject
* _resultobj
;
2043 char *_kwnames
[] = { "szFormat", NULL
};
2046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLogStatus",_kwnames
,&_arg0
))
2049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2052 wxPyEndAllowThreads(__tstate
);
2053 if (PyErr_Occurred()) return NULL
;
2054 } Py_INCREF(Py_None
);
2055 _resultobj
= Py_None
;
2059 static PyObject
*_wrap_wxLogStatusFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2060 PyObject
* _resultobj
;
2063 PyObject
* _argo0
= 0;
2064 char *_kwnames
[] = { "pFrame","szFormat", NULL
};
2067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Os:wxLogStatusFrame",_kwnames
,&_argo0
,&_arg1
))
2070 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2071 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
2072 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogStatusFrame. Expected _wxFrame_p.");
2077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2078 wxLogStatus(_arg0
,_arg1
);
2080 wxPyEndAllowThreads(__tstate
);
2081 if (PyErr_Occurred()) return NULL
;
2082 } Py_INCREF(Py_None
);
2083 _resultobj
= Py_None
;
2087 static PyObject
*_wrap_wxLogSysError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2088 PyObject
* _resultobj
;
2090 char *_kwnames
[] = { "szFormat", NULL
};
2093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLogSysError",_kwnames
,&_arg0
))
2096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2097 wxLogSysError(_arg0
);
2099 wxPyEndAllowThreads(__tstate
);
2100 if (PyErr_Occurred()) return NULL
;
2101 } Py_INCREF(Py_None
);
2102 _resultobj
= Py_None
;
2106 static PyObject
*_wrap_wxExecute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2107 PyObject
* _resultobj
;
2110 int _arg1
= (int ) FALSE
;
2111 wxPyProcess
* _arg2
= (wxPyProcess
*) NULL
;
2112 PyObject
* _obj0
= 0;
2113 PyObject
* _argo2
= 0;
2114 char *_kwnames
[] = { "command","sync","process", NULL
};
2117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iO:wxExecute",_kwnames
,&_obj0
,&_arg1
,&_argo2
))
2120 #if PYTHON_API_VERSION >= 1009
2121 char* tmpPtr
; int tmpSize
;
2122 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
2123 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2126 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
2128 _arg0
= new wxString(tmpPtr
, tmpSize
);
2130 if (!PyString_Check(_obj0
)) {
2131 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2134 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
2138 if (_argo2
== Py_None
) { _arg2
= NULL
; }
2139 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPyProcess_p")) {
2140 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxExecute. Expected _wxPyProcess_p.");
2145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2146 _result
= (long )wxExecute(*_arg0
,_arg1
,_arg2
);
2148 wxPyEndAllowThreads(__tstate
);
2149 if (PyErr_Occurred()) return NULL
;
2150 } _resultobj
= Py_BuildValue("l",_result
);
2158 static PyObject
*_wrap_wxWaveData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2159 PyObject
* _resultobj
;
2162 PyObject
* _obj0
= 0;
2163 char *_kwnames
[] = { "data", NULL
};
2167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWaveData",_kwnames
,&_obj0
))
2170 #if PYTHON_API_VERSION >= 1009
2171 char* tmpPtr
; int tmpSize
;
2172 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
2173 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2176 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
2178 _arg0
= new wxString(tmpPtr
, tmpSize
);
2180 if (!PyString_Check(_obj0
)) {
2181 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2184 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
2188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2189 _result
= (wxWave
*)wxWaveData(*_arg0
);
2191 wxPyEndAllowThreads(__tstate
);
2192 if (PyErr_Occurred()) return NULL
;
2194 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWave_p");
2195 _resultobj
= Py_BuildValue("s",_ptemp
);
2198 _resultobj
= Py_None
;
2207 static int _wrap_wxTheMimeTypesManager_set(PyObject
*val
) {
2209 PyErr_SetString(PyExc_TypeError
,"Variable wxTheMimeTypesManager is read-only.");
2213 static PyObject
*_wrap_wxTheMimeTypesManager_get() {
2217 SWIG_MakePtr(ptemp
, (char *) wxTheMimeTypesManager
,"_wxMimeTypesManager_p");
2218 pyobj
= PyString_FromString(ptemp
);
2222 static PyObject
*_wrap_wxSystemSettings_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2223 PyObject
* _resultobj
;
2225 wxSystemColour _arg0
;
2226 char *_kwnames
[] = { "index", NULL
};
2230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSystemSettings_GetColour",_kwnames
,&_arg0
))
2233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2234 _result
= new wxColour (wxSystemSettings::GetColour(_arg0
));
2236 wxPyEndAllowThreads(__tstate
);
2237 if (PyErr_Occurred()) return NULL
;
2238 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
2239 _resultobj
= Py_BuildValue("s",_ptemp
);
2243 static PyObject
*_wrap_wxSystemSettings_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2244 PyObject
* _resultobj
;
2247 char *_kwnames
[] = { "index", NULL
};
2251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSystemSettings_GetFont",_kwnames
,&_arg0
))
2254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2255 _result
= new wxFont (wxSystemSettings::GetFont(_arg0
));
2257 wxPyEndAllowThreads(__tstate
);
2258 if (PyErr_Occurred()) return NULL
;
2259 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
2260 _resultobj
= Py_BuildValue("s",_ptemp
);
2264 static PyObject
*_wrap_wxSystemSettings_GetMetric(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2265 PyObject
* _resultobj
;
2267 wxSystemMetric _arg0
;
2268 char *_kwnames
[] = { "index", NULL
};
2271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSystemSettings_GetMetric",_kwnames
,&_arg0
))
2274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2275 _result
= (int )wxSystemSettings::GetMetric(_arg0
);
2277 wxPyEndAllowThreads(__tstate
);
2278 if (PyErr_Occurred()) return NULL
;
2279 } _resultobj
= Py_BuildValue("i",_result
);
2283 static PyObject
*_wrap_wxSystemSettings_HasFeature(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2284 PyObject
* _resultobj
;
2286 wxSystemFeature _arg0
;
2287 char *_kwnames
[] = { "index", NULL
};
2290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSystemSettings_HasFeature",_kwnames
,&_arg0
))
2293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2294 _result
= (bool )wxSystemSettings::HasFeature(_arg0
);
2296 wxPyEndAllowThreads(__tstate
);
2297 if (PyErr_Occurred()) return NULL
;
2298 } _resultobj
= Py_BuildValue("i",_result
);
2302 static PyObject
*_wrap_wxSystemSettings_GetSystemColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2303 PyObject
* _resultobj
;
2306 char *_kwnames
[] = { "index", NULL
};
2310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSystemSettings_GetSystemColour",_kwnames
,&_arg0
))
2313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2314 _result
= new wxColour (wxSystemSettings::GetColour(_arg0
));
2316 wxPyEndAllowThreads(__tstate
);
2317 if (PyErr_Occurred()) return NULL
;
2318 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
2319 _resultobj
= Py_BuildValue("s",_ptemp
);
2323 static PyObject
*_wrap_wxSystemSettings_GetSystemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2324 PyObject
* _resultobj
;
2327 char *_kwnames
[] = { "index", NULL
};
2331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSystemSettings_GetSystemFont",_kwnames
,&_arg0
))
2334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2335 _result
= new wxFont (wxSystemSettings::GetFont(_arg0
));
2337 wxPyEndAllowThreads(__tstate
);
2338 if (PyErr_Occurred()) return NULL
;
2339 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
2340 _resultobj
= Py_BuildValue("s",_ptemp
);
2344 static PyObject
*_wrap_wxSystemSettings_GetSystemMetric(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2345 PyObject
* _resultobj
;
2348 char *_kwnames
[] = { "index", NULL
};
2351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSystemSettings_GetSystemMetric",_kwnames
,&_arg0
))
2354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2355 _result
= (int )wxSystemSettings::GetMetric(_arg0
);
2357 wxPyEndAllowThreads(__tstate
);
2358 if (PyErr_Occurred()) return NULL
;
2359 } _resultobj
= Py_BuildValue("i",_result
);
2363 static void *SwigwxToolTipTowxObject(void *ptr
) {
2366 src
= (wxToolTip
*) ptr
;
2367 dest
= (wxObject
*) src
;
2368 return (void *) dest
;
2371 #define new_wxToolTip(_swigarg0) (new wxToolTip(_swigarg0))
2372 static PyObject
*_wrap_new_wxToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2373 PyObject
* _resultobj
;
2374 wxToolTip
* _result
;
2376 PyObject
* _obj0
= 0;
2377 char *_kwnames
[] = { "tip", NULL
};
2381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxToolTip",_kwnames
,&_obj0
))
2384 #if PYTHON_API_VERSION >= 1009
2385 char* tmpPtr
; int tmpSize
;
2386 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
2387 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2390 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
2392 _arg0
= new wxString(tmpPtr
, tmpSize
);
2394 if (!PyString_Check(_obj0
)) {
2395 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2398 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
2402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2403 _result
= (wxToolTip
*)new_wxToolTip(*_arg0
);
2405 wxPyEndAllowThreads(__tstate
);
2406 if (PyErr_Occurred()) return NULL
;
2408 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToolTip_p");
2409 _resultobj
= Py_BuildValue("s",_ptemp
);
2412 _resultobj
= Py_None
;
2421 #define wxToolTip_SetTip(_swigobj,_swigarg0) (_swigobj->SetTip(_swigarg0))
2422 static PyObject
*_wrap_wxToolTip_SetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2423 PyObject
* _resultobj
;
2426 PyObject
* _argo0
= 0;
2427 PyObject
* _obj1
= 0;
2428 char *_kwnames
[] = { "self","tip", NULL
};
2431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxToolTip_SetTip",_kwnames
,&_argo0
,&_obj1
))
2434 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2435 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolTip_p")) {
2436 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolTip_SetTip. Expected _wxToolTip_p.");
2441 #if PYTHON_API_VERSION >= 1009
2442 char* tmpPtr
; int tmpSize
;
2443 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
2444 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2447 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
2449 _arg1
= new wxString(tmpPtr
, tmpSize
);
2451 if (!PyString_Check(_obj1
)) {
2452 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2455 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
2459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2460 wxToolTip_SetTip(_arg0
,*_arg1
);
2462 wxPyEndAllowThreads(__tstate
);
2463 if (PyErr_Occurred()) return NULL
;
2464 } Py_INCREF(Py_None
);
2465 _resultobj
= Py_None
;
2473 #define wxToolTip_GetTip(_swigobj) (_swigobj->GetTip())
2474 static PyObject
*_wrap_wxToolTip_GetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2475 PyObject
* _resultobj
;
2478 PyObject
* _argo0
= 0;
2479 char *_kwnames
[] = { "self", NULL
};
2482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolTip_GetTip",_kwnames
,&_argo0
))
2485 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2486 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolTip_p")) {
2487 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolTip_GetTip. Expected _wxToolTip_p.");
2492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2493 _result
= new wxString (wxToolTip_GetTip(_arg0
));
2495 wxPyEndAllowThreads(__tstate
);
2496 if (PyErr_Occurred()) return NULL
;
2498 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2506 #define wxToolTip_GetWindow(_swigobj) (_swigobj->GetWindow())
2507 static PyObject
*_wrap_wxToolTip_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2508 PyObject
* _resultobj
;
2511 PyObject
* _argo0
= 0;
2512 char *_kwnames
[] = { "self", NULL
};
2515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolTip_GetWindow",_kwnames
,&_argo0
))
2518 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2519 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolTip_p")) {
2520 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolTip_GetWindow. Expected _wxToolTip_p.");
2525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2526 _result
= (wxWindow
*)wxToolTip_GetWindow(_arg0
);
2528 wxPyEndAllowThreads(__tstate
);
2529 if (PyErr_Occurred()) return NULL
;
2530 }{ _resultobj
= wxPyMake_wxObject(_result
); }
2534 static PyObject
*_wrap_wxToolTip_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2535 PyObject
* _resultobj
;
2538 char *_kwnames
[] = { "flag", NULL
};
2541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxToolTip_Enable",_kwnames
,&tempbool0
))
2543 _arg0
= (bool ) tempbool0
;
2545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2546 wxToolTip::Enable(_arg0
);
2548 wxPyEndAllowThreads(__tstate
);
2549 if (PyErr_Occurred()) return NULL
;
2550 } Py_INCREF(Py_None
);
2551 _resultobj
= Py_None
;
2555 static PyObject
*_wrap_wxToolTip_SetDelay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2556 PyObject
* _resultobj
;
2558 char *_kwnames
[] = { "milliseconds", NULL
};
2561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:wxToolTip_SetDelay",_kwnames
,&_arg0
))
2564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2565 wxToolTip::SetDelay(_arg0
);
2567 wxPyEndAllowThreads(__tstate
);
2568 if (PyErr_Occurred()) return NULL
;
2569 } Py_INCREF(Py_None
);
2570 _resultobj
= Py_None
;
2574 #define new_wxCaret(_swigarg0,_swigarg1) (new wxCaret(_swigarg0,_swigarg1))
2575 static PyObject
*_wrap_new_wxCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2576 PyObject
* _resultobj
;
2580 PyObject
* _argo0
= 0;
2582 PyObject
* _obj1
= 0;
2583 char *_kwnames
[] = { "window","size", NULL
};
2587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:new_wxCaret",_kwnames
,&_argo0
,&_obj1
))
2590 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2591 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2592 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxCaret. Expected _wxWindow_p.");
2598 if (! wxSize_helper(_obj1
, &_arg1
))
2602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2603 _result
= (wxCaret
*)new_wxCaret(_arg0
,*_arg1
);
2605 wxPyEndAllowThreads(__tstate
);
2606 if (PyErr_Occurred()) return NULL
;
2608 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCaret_p");
2609 _resultobj
= Py_BuildValue("s",_ptemp
);
2612 _resultobj
= Py_None
;
2617 #define delete_wxCaret(_swigobj) (delete _swigobj)
2618 static PyObject
*_wrap_delete_wxCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2619 PyObject
* _resultobj
;
2621 PyObject
* _argo0
= 0;
2622 char *_kwnames
[] = { "self", NULL
};
2625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxCaret",_kwnames
,&_argo0
))
2628 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2629 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2630 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxCaret. Expected _wxCaret_p.");
2635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2636 delete_wxCaret(_arg0
);
2638 wxPyEndAllowThreads(__tstate
);
2639 if (PyErr_Occurred()) return NULL
;
2640 } Py_INCREF(Py_None
);
2641 _resultobj
= Py_None
;
2645 #define wxCaret_IsOk(_swigobj) (_swigobj->IsOk())
2646 static PyObject
*_wrap_wxCaret_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2647 PyObject
* _resultobj
;
2650 PyObject
* _argo0
= 0;
2651 char *_kwnames
[] = { "self", NULL
};
2654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_IsOk",_kwnames
,&_argo0
))
2657 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2658 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2659 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_IsOk. Expected _wxCaret_p.");
2664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2665 _result
= (bool )wxCaret_IsOk(_arg0
);
2667 wxPyEndAllowThreads(__tstate
);
2668 if (PyErr_Occurred()) return NULL
;
2669 } _resultobj
= Py_BuildValue("i",_result
);
2673 #define wxCaret_IsVisible(_swigobj) (_swigobj->IsVisible())
2674 static PyObject
*_wrap_wxCaret_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2675 PyObject
* _resultobj
;
2678 PyObject
* _argo0
= 0;
2679 char *_kwnames
[] = { "self", NULL
};
2682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_IsVisible",_kwnames
,&_argo0
))
2685 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2686 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2687 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_IsVisible. Expected _wxCaret_p.");
2692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2693 _result
= (bool )wxCaret_IsVisible(_arg0
);
2695 wxPyEndAllowThreads(__tstate
);
2696 if (PyErr_Occurred()) return NULL
;
2697 } _resultobj
= Py_BuildValue("i",_result
);
2701 #define wxCaret_GetPositionTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPosition(_swigarg0,_swigarg1))
2702 static PyObject
*_wrap_wxCaret_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2703 PyObject
* _resultobj
;
2709 PyObject
* _argo0
= 0;
2710 char *_kwnames
[] = { "self", NULL
};
2719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetPositionTuple",_kwnames
,&_argo0
))
2722 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2723 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2724 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetPositionTuple. Expected _wxCaret_p.");
2729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2730 wxCaret_GetPositionTuple(_arg0
,_arg1
,_arg2
);
2732 wxPyEndAllowThreads(__tstate
);
2733 if (PyErr_Occurred()) return NULL
;
2734 } Py_INCREF(Py_None
);
2735 _resultobj
= Py_None
;
2738 o
= PyInt_FromLong((long) (*_arg1
));
2739 _resultobj
= t_output_helper(_resultobj
, o
);
2743 o
= PyInt_FromLong((long) (*_arg2
));
2744 _resultobj
= t_output_helper(_resultobj
, o
);
2749 #define wxCaret_GetPosition(_swigobj) (_swigobj->GetPosition())
2750 static PyObject
*_wrap_wxCaret_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2751 PyObject
* _resultobj
;
2754 PyObject
* _argo0
= 0;
2755 char *_kwnames
[] = { "self", NULL
};
2759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetPosition",_kwnames
,&_argo0
))
2762 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2763 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2764 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetPosition. Expected _wxCaret_p.");
2769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2770 _result
= new wxPoint (wxCaret_GetPosition(_arg0
));
2772 wxPyEndAllowThreads(__tstate
);
2773 if (PyErr_Occurred()) return NULL
;
2774 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2775 _resultobj
= Py_BuildValue("s",_ptemp
);
2779 #define wxCaret_GetSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSize(_swigarg0,_swigarg1))
2780 static PyObject
*_wrap_wxCaret_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2781 PyObject
* _resultobj
;
2787 PyObject
* _argo0
= 0;
2788 char *_kwnames
[] = { "self", NULL
};
2797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetSizeTuple",_kwnames
,&_argo0
))
2800 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2801 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2802 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetSizeTuple. Expected _wxCaret_p.");
2807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2808 wxCaret_GetSizeTuple(_arg0
,_arg1
,_arg2
);
2810 wxPyEndAllowThreads(__tstate
);
2811 if (PyErr_Occurred()) return NULL
;
2812 } Py_INCREF(Py_None
);
2813 _resultobj
= Py_None
;
2816 o
= PyInt_FromLong((long) (*_arg1
));
2817 _resultobj
= t_output_helper(_resultobj
, o
);
2821 o
= PyInt_FromLong((long) (*_arg2
));
2822 _resultobj
= t_output_helper(_resultobj
, o
);
2827 #define wxCaret_GetSize(_swigobj) (_swigobj->GetSize())
2828 static PyObject
*_wrap_wxCaret_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2829 PyObject
* _resultobj
;
2832 PyObject
* _argo0
= 0;
2833 char *_kwnames
[] = { "self", NULL
};
2837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetSize",_kwnames
,&_argo0
))
2840 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2841 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2842 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetSize. Expected _wxCaret_p.");
2847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2848 _result
= new wxSize (wxCaret_GetSize(_arg0
));
2850 wxPyEndAllowThreads(__tstate
);
2851 if (PyErr_Occurred()) return NULL
;
2852 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
2853 _resultobj
= Py_BuildValue("s",_ptemp
);
2857 #define wxCaret_GetWindow(_swigobj) (_swigobj->GetWindow())
2858 static PyObject
*_wrap_wxCaret_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2859 PyObject
* _resultobj
;
2862 PyObject
* _argo0
= 0;
2863 char *_kwnames
[] = { "self", NULL
};
2866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetWindow",_kwnames
,&_argo0
))
2869 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2870 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2871 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetWindow. Expected _wxCaret_p.");
2876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2877 _result
= (wxWindow
*)wxCaret_GetWindow(_arg0
);
2879 wxPyEndAllowThreads(__tstate
);
2880 if (PyErr_Occurred()) return NULL
;
2881 }{ _resultobj
= wxPyMake_wxObject(_result
); }
2885 #define wxCaret_MoveXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->Move(_swigarg0,_swigarg1))
2886 static PyObject
*_wrap_wxCaret_MoveXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2887 PyObject
* _resultobj
;
2891 PyObject
* _argo0
= 0;
2892 char *_kwnames
[] = { "self","x","y", NULL
};
2895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxCaret_MoveXY",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2898 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2899 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2900 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_MoveXY. Expected _wxCaret_p.");
2905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2906 wxCaret_MoveXY(_arg0
,_arg1
,_arg2
);
2908 wxPyEndAllowThreads(__tstate
);
2909 if (PyErr_Occurred()) return NULL
;
2910 } Py_INCREF(Py_None
);
2911 _resultobj
= Py_None
;
2915 #define wxCaret_Move(_swigobj,_swigarg0) (_swigobj->Move(_swigarg0))
2916 static PyObject
*_wrap_wxCaret_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2917 PyObject
* _resultobj
;
2920 PyObject
* _argo0
= 0;
2922 PyObject
* _obj1
= 0;
2923 char *_kwnames
[] = { "self","pt", NULL
};
2926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxCaret_Move",_kwnames
,&_argo0
,&_obj1
))
2929 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2930 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2931 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_Move. Expected _wxCaret_p.");
2937 if (! wxPoint_helper(_obj1
, &_arg1
))
2941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2942 wxCaret_Move(_arg0
,*_arg1
);
2944 wxPyEndAllowThreads(__tstate
);
2945 if (PyErr_Occurred()) return NULL
;
2946 } Py_INCREF(Py_None
);
2947 _resultobj
= Py_None
;
2951 #define wxCaret_SetSizeWH(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSize(_swigarg0,_swigarg1))
2952 static PyObject
*_wrap_wxCaret_SetSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2953 PyObject
* _resultobj
;
2957 PyObject
* _argo0
= 0;
2958 char *_kwnames
[] = { "self","width","height", NULL
};
2961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxCaret_SetSizeWH",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2964 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2965 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2966 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_SetSizeWH. Expected _wxCaret_p.");
2971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2972 wxCaret_SetSizeWH(_arg0
,_arg1
,_arg2
);
2974 wxPyEndAllowThreads(__tstate
);
2975 if (PyErr_Occurred()) return NULL
;
2976 } Py_INCREF(Py_None
);
2977 _resultobj
= Py_None
;
2981 #define wxCaret_SetSize(_swigobj,_swigarg0) (_swigobj->SetSize(_swigarg0))
2982 static PyObject
*_wrap_wxCaret_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2983 PyObject
* _resultobj
;
2986 PyObject
* _argo0
= 0;
2988 PyObject
* _obj1
= 0;
2989 char *_kwnames
[] = { "self","size", NULL
};
2992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxCaret_SetSize",_kwnames
,&_argo0
,&_obj1
))
2995 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2996 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2997 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_SetSize. Expected _wxCaret_p.");
3003 if (! wxSize_helper(_obj1
, &_arg1
))
3007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3008 wxCaret_SetSize(_arg0
,*_arg1
);
3010 wxPyEndAllowThreads(__tstate
);
3011 if (PyErr_Occurred()) return NULL
;
3012 } Py_INCREF(Py_None
);
3013 _resultobj
= Py_None
;
3017 #define wxCaret_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
3018 static PyObject
*_wrap_wxCaret_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3019 PyObject
* _resultobj
;
3021 int _arg1
= (int ) TRUE
;
3022 PyObject
* _argo0
= 0;
3023 char *_kwnames
[] = { "self","show", NULL
};
3026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxCaret_Show",_kwnames
,&_argo0
,&_arg1
))
3029 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3030 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
3031 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_Show. Expected _wxCaret_p.");
3036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3037 wxCaret_Show(_arg0
,_arg1
);
3039 wxPyEndAllowThreads(__tstate
);
3040 if (PyErr_Occurred()) return NULL
;
3041 } Py_INCREF(Py_None
);
3042 _resultobj
= Py_None
;
3046 #define wxCaret_Hide(_swigobj) (_swigobj->Hide())
3047 static PyObject
*_wrap_wxCaret_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3048 PyObject
* _resultobj
;
3050 PyObject
* _argo0
= 0;
3051 char *_kwnames
[] = { "self", NULL
};
3054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_Hide",_kwnames
,&_argo0
))
3057 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3058 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
3059 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_Hide. Expected _wxCaret_p.");
3064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3065 wxCaret_Hide(_arg0
);
3067 wxPyEndAllowThreads(__tstate
);
3068 if (PyErr_Occurred()) return NULL
;
3069 } Py_INCREF(Py_None
);
3070 _resultobj
= Py_None
;
3074 #define new_wxFontEnumerator() (new wxPyFontEnumerator())
3075 static PyObject
*_wrap_new_wxFontEnumerator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3076 PyObject
* _resultobj
;
3077 wxPyFontEnumerator
* _result
;
3078 char *_kwnames
[] = { NULL
};
3082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxFontEnumerator",_kwnames
))
3085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3086 _result
= (wxPyFontEnumerator
*)new_wxFontEnumerator();
3088 wxPyEndAllowThreads(__tstate
);
3089 if (PyErr_Occurred()) return NULL
;
3091 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyFontEnumerator_p");
3092 _resultobj
= Py_BuildValue("s",_ptemp
);
3095 _resultobj
= Py_None
;
3100 #define delete_wxPyFontEnumerator(_swigobj) (delete _swigobj)
3101 static PyObject
*_wrap_delete_wxFontEnumerator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3102 PyObject
* _resultobj
;
3103 wxPyFontEnumerator
* _arg0
;
3104 PyObject
* _argo0
= 0;
3105 char *_kwnames
[] = { "self", NULL
};
3108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxFontEnumerator",_kwnames
,&_argo0
))
3111 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3112 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) {
3113 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxFontEnumerator. Expected _wxPyFontEnumerator_p.");
3118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3119 delete_wxPyFontEnumerator(_arg0
);
3121 wxPyEndAllowThreads(__tstate
);
3122 if (PyErr_Occurred()) return NULL
;
3123 } Py_INCREF(Py_None
);
3124 _resultobj
= Py_None
;
3128 #define wxFontEnumerator__setCallbackInfo(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1,_swigarg2))
3129 static PyObject
*_wrap_wxFontEnumerator__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3130 PyObject
* _resultobj
;
3131 wxPyFontEnumerator
* _arg0
;
3135 PyObject
* _argo0
= 0;
3136 PyObject
* _obj1
= 0;
3137 PyObject
* _obj2
= 0;
3139 char *_kwnames
[] = { "self","self","_class","incref", NULL
};
3142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOi:wxFontEnumerator__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&tempbool3
))
3145 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3146 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) {
3147 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontEnumerator__setCallbackInfo. Expected _wxPyFontEnumerator_p.");
3157 _arg3
= (bool ) tempbool3
;
3159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3160 wxFontEnumerator__setCallbackInfo(_arg0
,_arg1
,_arg2
,_arg3
);
3162 wxPyEndAllowThreads(__tstate
);
3163 if (PyErr_Occurred()) return NULL
;
3164 } Py_INCREF(Py_None
);
3165 _resultobj
= Py_None
;
3169 #define wxFontEnumerator_EnumerateFacenames(_swigobj,_swigarg0,_swigarg1) (_swigobj->EnumerateFacenames(_swigarg0,_swigarg1))
3170 static PyObject
*_wrap_wxFontEnumerator_EnumerateFacenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3171 PyObject
* _resultobj
;
3173 wxPyFontEnumerator
* _arg0
;
3174 wxFontEncoding _arg1
= (wxFontEncoding
) wxFONTENCODING_SYSTEM
;
3175 bool _arg2
= (bool ) FALSE
;
3176 PyObject
* _argo0
= 0;
3177 int tempbool2
= (int) FALSE
;
3178 char *_kwnames
[] = { "self","encoding","fixedWidthOnly", NULL
};
3181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxFontEnumerator_EnumerateFacenames",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
3184 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3185 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) {
3186 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontEnumerator_EnumerateFacenames. Expected _wxPyFontEnumerator_p.");
3190 _arg2
= (bool ) tempbool2
;
3192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3193 _result
= (bool )wxFontEnumerator_EnumerateFacenames(_arg0
,_arg1
,_arg2
);
3195 wxPyEndAllowThreads(__tstate
);
3196 if (PyErr_Occurred()) return NULL
;
3197 } _resultobj
= Py_BuildValue("i",_result
);
3201 #define wxFontEnumerator_EnumerateEncodings(_swigobj,_swigarg0) (_swigobj->EnumerateEncodings(_swigarg0))
3202 static PyObject
*_wrap_wxFontEnumerator_EnumerateEncodings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3203 PyObject
* _resultobj
;
3205 wxPyFontEnumerator
* _arg0
;
3206 char * _arg1
= (char *) "";
3207 PyObject
* _argo0
= 0;
3208 char *_kwnames
[] = { "self","facename", NULL
};
3211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|s:wxFontEnumerator_EnumerateEncodings",_kwnames
,&_argo0
,&_arg1
))
3214 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3215 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) {
3216 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontEnumerator_EnumerateEncodings. Expected _wxPyFontEnumerator_p.");
3221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3222 _result
= (bool )wxFontEnumerator_EnumerateEncodings(_arg0
,_arg1
);
3224 wxPyEndAllowThreads(__tstate
);
3225 if (PyErr_Occurred()) return NULL
;
3226 } _resultobj
= Py_BuildValue("i",_result
);
3230 static PyObject
* wxPyFontEnumerator_GetEncodings(wxPyFontEnumerator
*self
) {
3231 wxArrayString
* arr
= self
->GetEncodings();
3232 return wxArrayString2PyList_helper(*arr
);
3234 static PyObject
*_wrap_wxFontEnumerator_GetEncodings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3235 PyObject
* _resultobj
;
3237 wxPyFontEnumerator
* _arg0
;
3238 PyObject
* _argo0
= 0;
3239 char *_kwnames
[] = { "self", NULL
};
3242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFontEnumerator_GetEncodings",_kwnames
,&_argo0
))
3245 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3246 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) {
3247 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontEnumerator_GetEncodings. Expected _wxPyFontEnumerator_p.");
3252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3253 _result
= (PyObject
*)wxPyFontEnumerator_GetEncodings(_arg0
);
3255 wxPyEndAllowThreads(__tstate
);
3256 if (PyErr_Occurred()) return NULL
;
3258 _resultobj
= _result
;
3263 static PyObject
* wxPyFontEnumerator_GetFacenames(wxPyFontEnumerator
*self
) {
3264 wxArrayString
* arr
= self
->GetFacenames();
3265 return wxArrayString2PyList_helper(*arr
);
3267 static PyObject
*_wrap_wxFontEnumerator_GetFacenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3268 PyObject
* _resultobj
;
3270 wxPyFontEnumerator
* _arg0
;
3271 PyObject
* _argo0
= 0;
3272 char *_kwnames
[] = { "self", NULL
};
3275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFontEnumerator_GetFacenames",_kwnames
,&_argo0
))
3278 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3279 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) {
3280 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontEnumerator_GetFacenames. Expected _wxPyFontEnumerator_p.");
3285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3286 _result
= (PyObject
*)wxPyFontEnumerator_GetFacenames(_arg0
);
3288 wxPyEndAllowThreads(__tstate
);
3289 if (PyErr_Occurred()) return NULL
;
3291 _resultobj
= _result
;
3296 #define new_wxBusyCursor(_swigarg0) (new wxBusyCursor(_swigarg0))
3297 static PyObject
*_wrap_new_wxBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3298 PyObject
* _resultobj
;
3299 wxBusyCursor
* _result
;
3300 wxCursor
* _arg0
= (wxCursor
*) wxHOURGLASS_CURSOR
;
3301 PyObject
* _argo0
= 0;
3302 char *_kwnames
[] = { "cursor", NULL
};
3306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxBusyCursor",_kwnames
,&_argo0
))
3309 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3310 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
3311 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxBusyCursor. Expected _wxCursor_p.");
3316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3317 _result
= (wxBusyCursor
*)new_wxBusyCursor(_arg0
);
3319 wxPyEndAllowThreads(__tstate
);
3320 if (PyErr_Occurred()) return NULL
;
3322 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBusyCursor_p");
3323 _resultobj
= Py_BuildValue("s",_ptemp
);
3326 _resultobj
= Py_None
;
3331 #define delete_wxBusyCursor(_swigobj) (delete _swigobj)
3332 static PyObject
*_wrap_delete_wxBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3333 PyObject
* _resultobj
;
3334 wxBusyCursor
* _arg0
;
3335 PyObject
* _argo0
= 0;
3336 char *_kwnames
[] = { "self", NULL
};
3339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxBusyCursor",_kwnames
,&_argo0
))
3342 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3343 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBusyCursor_p")) {
3344 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxBusyCursor. Expected _wxBusyCursor_p.");
3349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3350 delete_wxBusyCursor(_arg0
);
3352 wxPyEndAllowThreads(__tstate
);
3353 if (PyErr_Occurred()) return NULL
;
3354 } Py_INCREF(Py_None
);
3355 _resultobj
= Py_None
;
3359 #define new_wxWindowDisabler(_swigarg0) (new wxWindowDisabler(_swigarg0))
3360 static PyObject
*_wrap_new_wxWindowDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3361 PyObject
* _resultobj
;
3362 wxWindowDisabler
* _result
;
3363 wxWindow
* _arg0
= (wxWindow
*) NULL
;
3364 PyObject
* _argo0
= 0;
3365 char *_kwnames
[] = { "winToSkip", NULL
};
3369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxWindowDisabler",_kwnames
,&_argo0
))
3372 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3373 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3374 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxWindowDisabler. Expected _wxWindow_p.");
3379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3380 _result
= (wxWindowDisabler
*)new_wxWindowDisabler(_arg0
);
3382 wxPyEndAllowThreads(__tstate
);
3383 if (PyErr_Occurred()) return NULL
;
3385 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindowDisabler_p");
3386 _resultobj
= Py_BuildValue("s",_ptemp
);
3389 _resultobj
= Py_None
;
3394 #define delete_wxWindowDisabler(_swigobj) (delete _swigobj)
3395 static PyObject
*_wrap_delete_wxWindowDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3396 PyObject
* _resultobj
;
3397 wxWindowDisabler
* _arg0
;
3398 PyObject
* _argo0
= 0;
3399 char *_kwnames
[] = { "self", NULL
};
3402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxWindowDisabler",_kwnames
,&_argo0
))
3405 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3406 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindowDisabler_p")) {
3407 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxWindowDisabler. Expected _wxWindowDisabler_p.");
3412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3413 delete_wxWindowDisabler(_arg0
);
3415 wxPyEndAllowThreads(__tstate
);
3416 if (PyErr_Occurred()) return NULL
;
3417 } Py_INCREF(Py_None
);
3418 _resultobj
= Py_None
;
3422 #define new_wxMutexGuiLocker() (new wxMutexGuiLocker())
3423 static PyObject
*_wrap_new_wxMutexGuiLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3424 PyObject
* _resultobj
;
3425 wxMutexGuiLocker
* _result
;
3426 char *_kwnames
[] = { NULL
};
3430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxMutexGuiLocker",_kwnames
))
3433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3434 _result
= (wxMutexGuiLocker
*)new_wxMutexGuiLocker();
3436 wxPyEndAllowThreads(__tstate
);
3437 if (PyErr_Occurred()) return NULL
;
3439 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMutexGuiLocker_p");
3440 _resultobj
= Py_BuildValue("s",_ptemp
);
3443 _resultobj
= Py_None
;
3448 #define delete_wxMutexGuiLocker(_swigobj) (delete _swigobj)
3449 static PyObject
*_wrap_delete_wxMutexGuiLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3450 PyObject
* _resultobj
;
3451 wxMutexGuiLocker
* _arg0
;
3452 PyObject
* _argo0
= 0;
3453 char *_kwnames
[] = { "self", NULL
};
3456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxMutexGuiLocker",_kwnames
,&_argo0
))
3459 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3460 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMutexGuiLocker_p")) {
3461 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxMutexGuiLocker. Expected _wxMutexGuiLocker_p.");
3466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3467 delete_wxMutexGuiLocker(_arg0
);
3469 wxPyEndAllowThreads(__tstate
);
3470 if (PyErr_Occurred()) return NULL
;
3471 } Py_INCREF(Py_None
);
3472 _resultobj
= Py_None
;
3476 #define delete_wxTipProvider(_swigobj) (delete _swigobj)
3477 static PyObject
*_wrap_delete_wxTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3478 PyObject
* _resultobj
;
3479 wxTipProvider
* _arg0
;
3480 PyObject
* _argo0
= 0;
3481 char *_kwnames
[] = { "self", NULL
};
3484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxTipProvider",_kwnames
,&_argo0
))
3487 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3488 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTipProvider_p")) {
3489 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxTipProvider. Expected _wxTipProvider_p.");
3494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3495 delete_wxTipProvider(_arg0
);
3497 wxPyEndAllowThreads(__tstate
);
3498 if (PyErr_Occurred()) return NULL
;
3499 } Py_INCREF(Py_None
);
3500 _resultobj
= Py_None
;
3504 #define wxTipProvider_GetTip(_swigobj) (_swigobj->GetTip())
3505 static PyObject
*_wrap_wxTipProvider_GetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3506 PyObject
* _resultobj
;
3508 wxTipProvider
* _arg0
;
3509 PyObject
* _argo0
= 0;
3510 char *_kwnames
[] = { "self", NULL
};
3513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTipProvider_GetTip",_kwnames
,&_argo0
))
3516 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3517 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTipProvider_p")) {
3518 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTipProvider_GetTip. Expected _wxTipProvider_p.");
3523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3524 _result
= new wxString (wxTipProvider_GetTip(_arg0
));
3526 wxPyEndAllowThreads(__tstate
);
3527 if (PyErr_Occurred()) return NULL
;
3529 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3537 #define wxTipProvider_GetCurrentTip(_swigobj) (_swigobj->GetCurrentTip())
3538 static PyObject
*_wrap_wxTipProvider_GetCurrentTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3539 PyObject
* _resultobj
;
3541 wxTipProvider
* _arg0
;
3542 PyObject
* _argo0
= 0;
3543 char *_kwnames
[] = { "self", NULL
};
3546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTipProvider_GetCurrentTip",_kwnames
,&_argo0
))
3549 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3550 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTipProvider_p")) {
3551 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTipProvider_GetCurrentTip. Expected _wxTipProvider_p.");
3556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3557 _result
= (size_t )wxTipProvider_GetCurrentTip(_arg0
);
3559 wxPyEndAllowThreads(__tstate
);
3560 if (PyErr_Occurred()) return NULL
;
3561 } _resultobj
= Py_BuildValue("i",_result
);
3565 static void *SwigwxPyTipProviderTowxTipProvider(void *ptr
) {
3566 wxPyTipProvider
*src
;
3567 wxTipProvider
*dest
;
3568 src
= (wxPyTipProvider
*) ptr
;
3569 dest
= (wxTipProvider
*) src
;
3570 return (void *) dest
;
3573 #define new_wxPyTipProvider(_swigarg0) (new wxPyTipProvider(_swigarg0))
3574 static PyObject
*_wrap_new_wxPyTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3575 PyObject
* _resultobj
;
3576 wxPyTipProvider
* _result
;
3578 char *_kwnames
[] = { "currentTip", NULL
};
3582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:new_wxPyTipProvider",_kwnames
,&_arg0
))
3585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3586 _result
= (wxPyTipProvider
*)new_wxPyTipProvider(_arg0
);
3588 wxPyEndAllowThreads(__tstate
);
3589 if (PyErr_Occurred()) return NULL
;
3591 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTipProvider_p");
3592 _resultobj
= Py_BuildValue("s",_ptemp
);
3595 _resultobj
= Py_None
;
3600 static void *SwigwxGenericDragImageTowxObject(void *ptr
) {
3601 wxGenericDragImage
*src
;
3603 src
= (wxGenericDragImage
*) ptr
;
3604 dest
= (wxObject
*) src
;
3605 return (void *) dest
;
3608 #define new_wxDragImage(_swigarg0,_swigarg1) (new wxGenericDragImage(_swigarg0,_swigarg1))
3609 static PyObject
*_wrap_new_wxDragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3610 PyObject
* _resultobj
;
3611 wxGenericDragImage
* _result
;
3613 wxCursor
* _arg1
= (wxCursor
*) &wxNullCursor
;
3614 PyObject
* _argo0
= 0;
3615 PyObject
* _argo1
= 0;
3616 char *_kwnames
[] = { "image","cursor", NULL
};
3620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:new_wxDragImage",_kwnames
,&_argo0
,&_argo1
))
3623 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3624 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
3625 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDragImage. Expected _wxBitmap_p.");
3630 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3631 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCursor_p")) {
3632 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxDragImage. Expected _wxCursor_p.");
3637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3638 _result
= (wxGenericDragImage
*)new_wxDragImage(*_arg0
,*_arg1
);
3640 wxPyEndAllowThreads(__tstate
);
3641 if (PyErr_Occurred()) return NULL
;
3643 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
3644 _resultobj
= Py_BuildValue("s",_ptemp
);
3647 _resultobj
= Py_None
;
3652 #define new_wxDragIcon(_swigarg0,_swigarg1) (new wxGenericDragImage(_swigarg0,_swigarg1))
3653 static PyObject
*_wrap_new_wxDragIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3654 PyObject
* _resultobj
;
3655 wxGenericDragImage
* _result
;
3657 wxCursor
* _arg1
= (wxCursor
*) &wxNullCursor
;
3658 PyObject
* _argo0
= 0;
3659 PyObject
* _argo1
= 0;
3660 char *_kwnames
[] = { "image","cursor", NULL
};
3664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:new_wxDragIcon",_kwnames
,&_argo0
,&_argo1
))
3667 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3668 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
3669 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDragIcon. Expected _wxIcon_p.");
3674 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3675 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCursor_p")) {
3676 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxDragIcon. Expected _wxCursor_p.");
3681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3682 _result
= (wxGenericDragImage
*)new_wxDragIcon(*_arg0
,*_arg1
);
3684 wxPyEndAllowThreads(__tstate
);
3685 if (PyErr_Occurred()) return NULL
;
3687 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
3688 _resultobj
= Py_BuildValue("s",_ptemp
);
3691 _resultobj
= Py_None
;
3696 #define new_wxDragString(_swigarg0,_swigarg1) (new wxGenericDragImage(_swigarg0,_swigarg1))
3697 static PyObject
*_wrap_new_wxDragString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3698 PyObject
* _resultobj
;
3699 wxGenericDragImage
* _result
;
3701 wxCursor
* _arg1
= (wxCursor
*) &wxNullCursor
;
3702 PyObject
* _obj0
= 0;
3703 PyObject
* _argo1
= 0;
3704 char *_kwnames
[] = { "str","cursor", NULL
};
3708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:new_wxDragString",_kwnames
,&_obj0
,&_argo1
))
3711 #if PYTHON_API_VERSION >= 1009
3712 char* tmpPtr
; int tmpSize
;
3713 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
3714 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3717 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
3719 _arg0
= new wxString(tmpPtr
, tmpSize
);
3721 if (!PyString_Check(_obj0
)) {
3722 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3725 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
3729 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3730 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCursor_p")) {
3731 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxDragString. Expected _wxCursor_p.");
3736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3737 _result
= (wxGenericDragImage
*)new_wxDragString(*_arg0
,*_arg1
);
3739 wxPyEndAllowThreads(__tstate
);
3740 if (PyErr_Occurred()) return NULL
;
3742 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
3743 _resultobj
= Py_BuildValue("s",_ptemp
);
3746 _resultobj
= Py_None
;
3755 #define new_wxDragTreeItem(_swigarg0,_swigarg1) (new wxGenericDragImage(_swigarg0,_swigarg1))
3756 static PyObject
*_wrap_new_wxDragTreeItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3757 PyObject
* _resultobj
;
3758 wxGenericDragImage
* _result
;
3760 wxTreeItemId
* _arg1
;
3761 PyObject
* _argo0
= 0;
3762 PyObject
* _argo1
= 0;
3763 char *_kwnames
[] = { "treeCtrl","id", NULL
};
3767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:new_wxDragTreeItem",_kwnames
,&_argo0
,&_argo1
))
3770 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3771 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3772 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDragTreeItem. Expected _wxTreeCtrl_p.");
3777 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3778 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3779 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxDragTreeItem. Expected _wxTreeItemId_p.");
3784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3785 _result
= (wxGenericDragImage
*)new_wxDragTreeItem(*_arg0
,*_arg1
);
3787 wxPyEndAllowThreads(__tstate
);
3788 if (PyErr_Occurred()) return NULL
;
3790 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
3791 _resultobj
= Py_BuildValue("s",_ptemp
);
3794 _resultobj
= Py_None
;
3799 #define new_wxDragListItem(_swigarg0,_swigarg1) (new wxGenericDragImage(_swigarg0,_swigarg1))
3800 static PyObject
*_wrap_new_wxDragListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3801 PyObject
* _resultobj
;
3802 wxGenericDragImage
* _result
;
3805 PyObject
* _argo0
= 0;
3806 char *_kwnames
[] = { "listCtrl","id", NULL
};
3810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:new_wxDragListItem",_kwnames
,&_argo0
,&_arg1
))
3813 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3814 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3815 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDragListItem. Expected _wxListCtrl_p.");
3820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3821 _result
= (wxGenericDragImage
*)new_wxDragListItem(*_arg0
,_arg1
);
3823 wxPyEndAllowThreads(__tstate
);
3824 if (PyErr_Occurred()) return NULL
;
3826 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
3827 _resultobj
= Py_BuildValue("s",_ptemp
);
3830 _resultobj
= Py_None
;
3835 #define delete_wxGenericDragImage(_swigobj) (delete _swigobj)
3836 static PyObject
*_wrap_delete_wxDragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3837 PyObject
* _resultobj
;
3838 wxGenericDragImage
* _arg0
;
3839 PyObject
* _argo0
= 0;
3840 char *_kwnames
[] = { "self", NULL
};
3843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxDragImage",_kwnames
,&_argo0
))
3846 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3847 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3848 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxDragImage. Expected _wxGenericDragImage_p.");
3853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3854 delete_wxGenericDragImage(_arg0
);
3856 wxPyEndAllowThreads(__tstate
);
3857 if (PyErr_Occurred()) return NULL
;
3858 } Py_INCREF(Py_None
);
3859 _resultobj
= Py_None
;
3863 #define wxDragImage_SetBackingBitmap(_swigobj,_swigarg0) (_swigobj->SetBackingBitmap(_swigarg0))
3864 static PyObject
*_wrap_wxDragImage_SetBackingBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3865 PyObject
* _resultobj
;
3866 wxGenericDragImage
* _arg0
;
3868 PyObject
* _argo0
= 0;
3869 PyObject
* _argo1
= 0;
3870 char *_kwnames
[] = { "self","bitmap", NULL
};
3873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDragImage_SetBackingBitmap",_kwnames
,&_argo0
,&_argo1
))
3876 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3877 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3878 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_SetBackingBitmap. Expected _wxGenericDragImage_p.");
3883 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3884 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
3885 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDragImage_SetBackingBitmap. Expected _wxBitmap_p.");
3890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3891 wxDragImage_SetBackingBitmap(_arg0
,_arg1
);
3893 wxPyEndAllowThreads(__tstate
);
3894 if (PyErr_Occurred()) return NULL
;
3895 } Py_INCREF(Py_None
);
3896 _resultobj
= Py_None
;
3900 #define wxDragImage_BeginDrag(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->BeginDrag(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3901 static PyObject
*_wrap_wxDragImage_BeginDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3902 PyObject
* _resultobj
;
3904 wxGenericDragImage
* _arg0
;
3907 bool _arg3
= (bool ) FALSE
;
3908 wxRect
* _arg4
= (wxRect
*) NULL
;
3909 PyObject
* _argo0
= 0;
3911 PyObject
* _obj1
= 0;
3912 PyObject
* _argo2
= 0;
3913 int tempbool3
= (int) FALSE
;
3915 PyObject
* _obj4
= 0;
3916 char *_kwnames
[] = { "self","hotspot","window","fullScreen","rect", NULL
};
3919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|iO:wxDragImage_BeginDrag",_kwnames
,&_argo0
,&_obj1
,&_argo2
,&tempbool3
,&_obj4
))
3922 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3923 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3924 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_BeginDrag. Expected _wxGenericDragImage_p.");
3930 if (! wxPoint_helper(_obj1
, &_arg1
))
3934 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3935 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
3936 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxDragImage_BeginDrag. Expected _wxWindow_p.");
3940 _arg3
= (bool ) tempbool3
;
3944 if (! wxRect_helper(_obj4
, &_arg4
))
3948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3949 _result
= (bool )wxDragImage_BeginDrag(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
);
3951 wxPyEndAllowThreads(__tstate
);
3952 if (PyErr_Occurred()) return NULL
;
3953 } _resultobj
= Py_BuildValue("i",_result
);
3957 #define wxDragImage_BeginDrag2(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->BeginDrag(_swigarg0,_swigarg1,_swigarg2))
3958 static PyObject
*_wrap_wxDragImage_BeginDrag2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3959 PyObject
* _resultobj
;
3961 wxGenericDragImage
* _arg0
;
3965 PyObject
* _argo0
= 0;
3967 PyObject
* _obj1
= 0;
3968 PyObject
* _argo2
= 0;
3969 PyObject
* _argo3
= 0;
3970 char *_kwnames
[] = { "self","hotspot","window","fullScreenRect", NULL
};
3973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO:wxDragImage_BeginDrag2",_kwnames
,&_argo0
,&_obj1
,&_argo2
,&_argo3
))
3976 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3977 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3978 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_BeginDrag2. Expected _wxGenericDragImage_p.");
3984 if (! wxPoint_helper(_obj1
, &_arg1
))
3988 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3989 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
3990 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxDragImage_BeginDrag2. Expected _wxWindow_p.");
3995 if (_argo3
== Py_None
) { _arg3
= NULL
; }
3996 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxWindow_p")) {
3997 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxDragImage_BeginDrag2. Expected _wxWindow_p.");
4002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4003 _result
= (bool )wxDragImage_BeginDrag2(_arg0
,*_arg1
,_arg2
,_arg3
);
4005 wxPyEndAllowThreads(__tstate
);
4006 if (PyErr_Occurred()) return NULL
;
4007 } _resultobj
= Py_BuildValue("i",_result
);
4011 #define wxDragImage_EndDrag(_swigobj) (_swigobj->EndDrag())
4012 static PyObject
*_wrap_wxDragImage_EndDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4013 PyObject
* _resultobj
;
4015 wxGenericDragImage
* _arg0
;
4016 PyObject
* _argo0
= 0;
4017 char *_kwnames
[] = { "self", NULL
};
4020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDragImage_EndDrag",_kwnames
,&_argo0
))
4023 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4024 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
4025 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_EndDrag. Expected _wxGenericDragImage_p.");
4030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4031 _result
= (bool )wxDragImage_EndDrag(_arg0
);
4033 wxPyEndAllowThreads(__tstate
);
4034 if (PyErr_Occurred()) return NULL
;
4035 } _resultobj
= Py_BuildValue("i",_result
);
4039 #define wxDragImage_Move(_swigobj,_swigarg0) (_swigobj->Move(_swigarg0))
4040 static PyObject
*_wrap_wxDragImage_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4041 PyObject
* _resultobj
;
4043 wxGenericDragImage
* _arg0
;
4045 PyObject
* _argo0
= 0;
4047 PyObject
* _obj1
= 0;
4048 char *_kwnames
[] = { "self","pt", NULL
};
4051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDragImage_Move",_kwnames
,&_argo0
,&_obj1
))
4054 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4055 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
4056 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_Move. Expected _wxGenericDragImage_p.");
4062 if (! wxPoint_helper(_obj1
, &_arg1
))
4066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4067 _result
= (bool )wxDragImage_Move(_arg0
,*_arg1
);
4069 wxPyEndAllowThreads(__tstate
);
4070 if (PyErr_Occurred()) return NULL
;
4071 } _resultobj
= Py_BuildValue("i",_result
);
4075 #define wxDragImage_Show(_swigobj) (_swigobj->Show())
4076 static PyObject
*_wrap_wxDragImage_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4077 PyObject
* _resultobj
;
4079 wxGenericDragImage
* _arg0
;
4080 PyObject
* _argo0
= 0;
4081 char *_kwnames
[] = { "self", NULL
};
4084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDragImage_Show",_kwnames
,&_argo0
))
4087 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4088 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
4089 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_Show. Expected _wxGenericDragImage_p.");
4094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4095 _result
= (bool )wxDragImage_Show(_arg0
);
4097 wxPyEndAllowThreads(__tstate
);
4098 if (PyErr_Occurred()) return NULL
;
4099 } _resultobj
= Py_BuildValue("i",_result
);
4103 #define wxDragImage_Hide(_swigobj) (_swigobj->Hide())
4104 static PyObject
*_wrap_wxDragImage_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4105 PyObject
* _resultobj
;
4107 wxGenericDragImage
* _arg0
;
4108 PyObject
* _argo0
= 0;
4109 char *_kwnames
[] = { "self", NULL
};
4112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDragImage_Hide",_kwnames
,&_argo0
))
4115 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4116 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
4117 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_Hide. Expected _wxGenericDragImage_p.");
4122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4123 _result
= (bool )wxDragImage_Hide(_arg0
);
4125 wxPyEndAllowThreads(__tstate
);
4126 if (PyErr_Occurred()) return NULL
;
4127 } _resultobj
= Py_BuildValue("i",_result
);
4131 #define wxDragImage_GetImageRect(_swigobj,_swigarg0) (_swigobj->GetImageRect(_swigarg0))
4132 static PyObject
*_wrap_wxDragImage_GetImageRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4133 PyObject
* _resultobj
;
4135 wxGenericDragImage
* _arg0
;
4137 PyObject
* _argo0
= 0;
4139 PyObject
* _obj1
= 0;
4140 char *_kwnames
[] = { "self","pos", NULL
};
4144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDragImage_GetImageRect",_kwnames
,&_argo0
,&_obj1
))
4147 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4148 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
4149 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_GetImageRect. Expected _wxGenericDragImage_p.");
4155 if (! wxPoint_helper(_obj1
, &_arg1
))
4159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4160 _result
= new wxRect (wxDragImage_GetImageRect(_arg0
,*_arg1
));
4162 wxPyEndAllowThreads(__tstate
);
4163 if (PyErr_Occurred()) return NULL
;
4164 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
4165 _resultobj
= Py_BuildValue("s",_ptemp
);
4169 #define wxDragImage_RedrawImage(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->RedrawImage(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4170 static PyObject
*_wrap_wxDragImage_RedrawImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4171 PyObject
* _resultobj
;
4173 wxGenericDragImage
* _arg0
;
4178 PyObject
* _argo0
= 0;
4180 PyObject
* _obj1
= 0;
4182 PyObject
* _obj2
= 0;
4185 char *_kwnames
[] = { "self","oldPos","newPos","eraseOld","drawNew", NULL
};
4188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOii:wxDragImage_RedrawImage",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&tempbool3
,&tempbool4
))
4191 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4192 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
4193 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_RedrawImage. Expected _wxGenericDragImage_p.");
4199 if (! wxPoint_helper(_obj1
, &_arg1
))
4204 if (! wxPoint_helper(_obj2
, &_arg2
))
4207 _arg3
= (bool ) tempbool3
;
4208 _arg4
= (bool ) tempbool4
;
4210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4211 _result
= (bool )wxDragImage_RedrawImage(_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
);
4213 wxPyEndAllowThreads(__tstate
);
4214 if (PyErr_Occurred()) return NULL
;
4215 } _resultobj
= Py_BuildValue("i",_result
);
4219 static void *SwigwxPyTimerTowxObject(void *ptr
) {
4222 src
= (wxPyTimer
*) ptr
;
4223 dest
= (wxObject
*) src
;
4224 return (void *) dest
;
4227 #define new_wxPyTimer(_swigarg0) (new wxPyTimer(_swigarg0))
4228 static PyObject
*_wrap_new_wxPyTimer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4229 PyObject
* _resultobj
;
4230 wxPyTimer
* _result
;
4232 PyObject
* _obj0
= 0;
4233 char *_kwnames
[] = { "notify", NULL
};
4237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxPyTimer",_kwnames
,&_obj0
))
4243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4244 _result
= (wxPyTimer
*)new_wxPyTimer(_arg0
);
4246 wxPyEndAllowThreads(__tstate
);
4247 if (PyErr_Occurred()) return NULL
;
4249 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTimer_p");
4250 _resultobj
= Py_BuildValue("s",_ptemp
);
4253 _resultobj
= Py_None
;
4258 #define delete_wxPyTimer(_swigobj) (delete _swigobj)
4259 static PyObject
*_wrap_delete_wxPyTimer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4260 PyObject
* _resultobj
;
4262 PyObject
* _argo0
= 0;
4263 char *_kwnames
[] = { "self", NULL
};
4266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPyTimer",_kwnames
,&_argo0
))
4269 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4270 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4271 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPyTimer. Expected _wxPyTimer_p.");
4276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4277 delete_wxPyTimer(_arg0
);
4279 wxPyEndAllowThreads(__tstate
);
4280 if (PyErr_Occurred()) return NULL
;
4281 } Py_INCREF(Py_None
);
4282 _resultobj
= Py_None
;
4286 #define wxPyTimer_GetInterval(_swigobj) (_swigobj->GetInterval())
4287 static PyObject
*_wrap_wxPyTimer_GetInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4288 PyObject
* _resultobj
;
4291 PyObject
* _argo0
= 0;
4292 char *_kwnames
[] = { "self", NULL
};
4295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_GetInterval",_kwnames
,&_argo0
))
4298 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4299 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4300 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_GetInterval. Expected _wxPyTimer_p.");
4305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4306 _result
= (int )wxPyTimer_GetInterval(_arg0
);
4308 wxPyEndAllowThreads(__tstate
);
4309 if (PyErr_Occurred()) return NULL
;
4310 } _resultobj
= Py_BuildValue("i",_result
);
4314 #define wxPyTimer_IsOneShot(_swigobj) (_swigobj->IsOneShot())
4315 static PyObject
*_wrap_wxPyTimer_IsOneShot(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4316 PyObject
* _resultobj
;
4319 PyObject
* _argo0
= 0;
4320 char *_kwnames
[] = { "self", NULL
};
4323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_IsOneShot",_kwnames
,&_argo0
))
4326 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4327 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4328 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_IsOneShot. Expected _wxPyTimer_p.");
4333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4334 _result
= (bool )wxPyTimer_IsOneShot(_arg0
);
4336 wxPyEndAllowThreads(__tstate
);
4337 if (PyErr_Occurred()) return NULL
;
4338 } _resultobj
= Py_BuildValue("i",_result
);
4342 #define wxPyTimer_IsRunning(_swigobj) (_swigobj->IsRunning())
4343 static PyObject
*_wrap_wxPyTimer_IsRunning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4344 PyObject
* _resultobj
;
4347 PyObject
* _argo0
= 0;
4348 char *_kwnames
[] = { "self", NULL
};
4351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_IsRunning",_kwnames
,&_argo0
))
4354 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4355 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4356 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_IsRunning. Expected _wxPyTimer_p.");
4361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4362 _result
= (bool )wxPyTimer_IsRunning(_arg0
);
4364 wxPyEndAllowThreads(__tstate
);
4365 if (PyErr_Occurred()) return NULL
;
4366 } _resultobj
= Py_BuildValue("i",_result
);
4370 #define wxPyTimer_SetOwner(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetOwner(_swigarg0,_swigarg1))
4371 static PyObject
*_wrap_wxPyTimer_SetOwner(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4372 PyObject
* _resultobj
;
4374 wxEvtHandler
* _arg1
;
4375 int _arg2
= (int ) -1;
4376 PyObject
* _argo0
= 0;
4377 PyObject
* _argo1
= 0;
4378 char *_kwnames
[] = { "self","owner","id", NULL
};
4381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxPyTimer_SetOwner",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
4384 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4385 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4386 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_SetOwner. Expected _wxPyTimer_p.");
4391 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4392 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
4393 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyTimer_SetOwner. Expected _wxEvtHandler_p.");
4398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4399 wxPyTimer_SetOwner(_arg0
,_arg1
,_arg2
);
4401 wxPyEndAllowThreads(__tstate
);
4402 if (PyErr_Occurred()) return NULL
;
4403 } Py_INCREF(Py_None
);
4404 _resultobj
= Py_None
;
4408 #define wxPyTimer_Start(_swigobj,_swigarg0,_swigarg1) (_swigobj->Start(_swigarg0,_swigarg1))
4409 static PyObject
*_wrap_wxPyTimer_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4410 PyObject
* _resultobj
;
4412 int _arg1
= (int ) -1;
4413 int _arg2
= (int ) FALSE
;
4414 PyObject
* _argo0
= 0;
4415 char *_kwnames
[] = { "self","milliseconds","oneShot", NULL
};
4418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxPyTimer_Start",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4421 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4422 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4423 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_Start. Expected _wxPyTimer_p.");
4428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4429 wxPyTimer_Start(_arg0
,_arg1
,_arg2
);
4431 wxPyEndAllowThreads(__tstate
);
4432 if (PyErr_Occurred()) return NULL
;
4433 } Py_INCREF(Py_None
);
4434 _resultobj
= Py_None
;
4438 #define wxPyTimer_Stop(_swigobj) (_swigobj->Stop())
4439 static PyObject
*_wrap_wxPyTimer_Stop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4440 PyObject
* _resultobj
;
4442 PyObject
* _argo0
= 0;
4443 char *_kwnames
[] = { "self", NULL
};
4446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_Stop",_kwnames
,&_argo0
))
4449 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4450 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4451 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_Stop. Expected _wxPyTimer_p.");
4456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4457 wxPyTimer_Stop(_arg0
);
4459 wxPyEndAllowThreads(__tstate
);
4460 if (PyErr_Occurred()) return NULL
;
4461 } Py_INCREF(Py_None
);
4462 _resultobj
= Py_None
;
4466 #define new_wxStopWatch() (new wxStopWatch())
4467 static PyObject
*_wrap_new_wxStopWatch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4468 PyObject
* _resultobj
;
4469 wxStopWatch
* _result
;
4470 char *_kwnames
[] = { NULL
};
4474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxStopWatch",_kwnames
))
4477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4478 _result
= (wxStopWatch
*)new_wxStopWatch();
4480 wxPyEndAllowThreads(__tstate
);
4481 if (PyErr_Occurred()) return NULL
;
4483 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStopWatch_p");
4484 _resultobj
= Py_BuildValue("s",_ptemp
);
4487 _resultobj
= Py_None
;
4492 #define wxStopWatch_Start(_swigobj,_swigarg0) (_swigobj->Start(_swigarg0))
4493 static PyObject
*_wrap_wxStopWatch_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4494 PyObject
* _resultobj
;
4495 wxStopWatch
* _arg0
;
4496 long _arg1
= (long ) 0;
4497 PyObject
* _argo0
= 0;
4498 char *_kwnames
[] = { "self","t", NULL
};
4501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|l:wxStopWatch_Start",_kwnames
,&_argo0
,&_arg1
))
4504 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4505 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStopWatch_p")) {
4506 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStopWatch_Start. Expected _wxStopWatch_p.");
4511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4512 wxStopWatch_Start(_arg0
,_arg1
);
4514 wxPyEndAllowThreads(__tstate
);
4515 if (PyErr_Occurred()) return NULL
;
4516 } Py_INCREF(Py_None
);
4517 _resultobj
= Py_None
;
4521 #define wxStopWatch_Pause(_swigobj) (_swigobj->Pause())
4522 static PyObject
*_wrap_wxStopWatch_Pause(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4523 PyObject
* _resultobj
;
4524 wxStopWatch
* _arg0
;
4525 PyObject
* _argo0
= 0;
4526 char *_kwnames
[] = { "self", NULL
};
4529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStopWatch_Pause",_kwnames
,&_argo0
))
4532 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4533 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStopWatch_p")) {
4534 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStopWatch_Pause. Expected _wxStopWatch_p.");
4539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4540 wxStopWatch_Pause(_arg0
);
4542 wxPyEndAllowThreads(__tstate
);
4543 if (PyErr_Occurred()) return NULL
;
4544 } Py_INCREF(Py_None
);
4545 _resultobj
= Py_None
;
4549 #define wxStopWatch_Resume(_swigobj) (_swigobj->Resume())
4550 static PyObject
*_wrap_wxStopWatch_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4551 PyObject
* _resultobj
;
4552 wxStopWatch
* _arg0
;
4553 PyObject
* _argo0
= 0;
4554 char *_kwnames
[] = { "self", NULL
};
4557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStopWatch_Resume",_kwnames
,&_argo0
))
4560 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4561 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStopWatch_p")) {
4562 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStopWatch_Resume. Expected _wxStopWatch_p.");
4567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4568 wxStopWatch_Resume(_arg0
);
4570 wxPyEndAllowThreads(__tstate
);
4571 if (PyErr_Occurred()) return NULL
;
4572 } Py_INCREF(Py_None
);
4573 _resultobj
= Py_None
;
4577 #define wxStopWatch_Time(_swigobj) (_swigobj->Time())
4578 static PyObject
*_wrap_wxStopWatch_Time(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4579 PyObject
* _resultobj
;
4581 wxStopWatch
* _arg0
;
4582 PyObject
* _argo0
= 0;
4583 char *_kwnames
[] = { "self", NULL
};
4586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStopWatch_Time",_kwnames
,&_argo0
))
4589 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4590 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStopWatch_p")) {
4591 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStopWatch_Time. Expected _wxStopWatch_p.");
4596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4597 _result
= (long )wxStopWatch_Time(_arg0
);
4599 wxPyEndAllowThreads(__tstate
);
4600 if (PyErr_Occurred()) return NULL
;
4601 } _resultobj
= Py_BuildValue("l",_result
);
4605 #define new_wxLog() (new wxLog())
4606 static PyObject
*_wrap_new_wxLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4607 PyObject
* _resultobj
;
4609 char *_kwnames
[] = { NULL
};
4613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLog",_kwnames
))
4616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4617 _result
= (wxLog
*)new_wxLog();
4619 wxPyEndAllowThreads(__tstate
);
4620 if (PyErr_Occurred()) return NULL
;
4622 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
4623 _resultobj
= Py_BuildValue("s",_ptemp
);
4626 _resultobj
= Py_None
;
4631 static PyObject
*_wrap_wxLog_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4632 PyObject
* _resultobj
;
4634 char *_kwnames
[] = { NULL
};
4637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_IsEnabled",_kwnames
))
4640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4641 _result
= (bool )wxLog::IsEnabled();
4643 wxPyEndAllowThreads(__tstate
);
4644 if (PyErr_Occurred()) return NULL
;
4645 } _resultobj
= Py_BuildValue("i",_result
);
4649 static PyObject
*_wrap_wxLog_EnableLogging(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4650 PyObject
* _resultobj
;
4652 bool _arg0
= (bool ) TRUE
;
4653 int tempbool0
= (int) TRUE
;
4654 char *_kwnames
[] = { "doIt", NULL
};
4657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:wxLog_EnableLogging",_kwnames
,&tempbool0
))
4659 _arg0
= (bool ) tempbool0
;
4661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4662 _result
= (bool )wxLog::EnableLogging(_arg0
);
4664 wxPyEndAllowThreads(__tstate
);
4665 if (PyErr_Occurred()) return NULL
;
4666 } _resultobj
= Py_BuildValue("i",_result
);
4670 static PyObject
*_wrap_wxLog_OnLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4671 PyObject
* _resultobj
;
4674 int _arg2
= (int ) 0;
4675 PyObject
* _argo0
= 0;
4676 char *_kwnames
[] = { "level","szString","t", NULL
};
4679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Os|i:wxLog_OnLog",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4682 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4683 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogLevel_p")) {
4684 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_OnLog. Expected _wxLogLevel_p.");
4689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4690 wxLog::OnLog(*_arg0
,_arg1
,_arg2
);
4692 wxPyEndAllowThreads(__tstate
);
4693 if (PyErr_Occurred()) return NULL
;
4694 } Py_INCREF(Py_None
);
4695 _resultobj
= Py_None
;
4699 #define wxLog_Flush(_swigobj) (_swigobj->Flush())
4700 static PyObject
*_wrap_wxLog_Flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4701 PyObject
* _resultobj
;
4703 PyObject
* _argo0
= 0;
4704 char *_kwnames
[] = { "self", NULL
};
4707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_Flush",_kwnames
,&_argo0
))
4710 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4711 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
4712 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_Flush. Expected _wxLog_p.");
4717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4720 wxPyEndAllowThreads(__tstate
);
4721 if (PyErr_Occurred()) return NULL
;
4722 } Py_INCREF(Py_None
);
4723 _resultobj
= Py_None
;
4727 #define wxLog_HasPendingMessages(_swigobj) (_swigobj->HasPendingMessages())
4728 static PyObject
*_wrap_wxLog_HasPendingMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4729 PyObject
* _resultobj
;
4732 PyObject
* _argo0
= 0;
4733 char *_kwnames
[] = { "self", NULL
};
4736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_HasPendingMessages",_kwnames
,&_argo0
))
4739 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4740 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
4741 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_HasPendingMessages. Expected _wxLog_p.");
4746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4747 _result
= (bool )wxLog_HasPendingMessages(_arg0
);
4749 wxPyEndAllowThreads(__tstate
);
4750 if (PyErr_Occurred()) return NULL
;
4751 } _resultobj
= Py_BuildValue("i",_result
);
4755 static PyObject
*_wrap_wxLog_FlushActive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4756 PyObject
* _resultobj
;
4757 char *_kwnames
[] = { NULL
};
4760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_FlushActive",_kwnames
))
4763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4764 wxLog::FlushActive();
4766 wxPyEndAllowThreads(__tstate
);
4767 if (PyErr_Occurred()) return NULL
;
4768 } Py_INCREF(Py_None
);
4769 _resultobj
= Py_None
;
4773 static PyObject
*_wrap_wxLog_GetActiveTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4774 PyObject
* _resultobj
;
4776 char *_kwnames
[] = { NULL
};
4780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_GetActiveTarget",_kwnames
))
4783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4784 _result
= (wxLog
*)wxLog::GetActiveTarget();
4786 wxPyEndAllowThreads(__tstate
);
4787 if (PyErr_Occurred()) return NULL
;
4789 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
4790 _resultobj
= Py_BuildValue("s",_ptemp
);
4793 _resultobj
= Py_None
;
4798 static PyObject
*_wrap_wxLog_SetActiveTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4799 PyObject
* _resultobj
;
4802 PyObject
* _argo0
= 0;
4803 char *_kwnames
[] = { "pLogger", NULL
};
4807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_SetActiveTarget",_kwnames
,&_argo0
))
4810 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4811 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
4812 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_SetActiveTarget. Expected _wxLog_p.");
4817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4818 _result
= (wxLog
*)wxLog::SetActiveTarget(_arg0
);
4820 wxPyEndAllowThreads(__tstate
);
4821 if (PyErr_Occurred()) return NULL
;
4823 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
4824 _resultobj
= Py_BuildValue("s",_ptemp
);
4827 _resultobj
= Py_None
;
4832 static PyObject
*_wrap_wxLog_Suspend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4833 PyObject
* _resultobj
;
4834 char *_kwnames
[] = { NULL
};
4837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_Suspend",_kwnames
))
4840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4843 wxPyEndAllowThreads(__tstate
);
4844 if (PyErr_Occurred()) return NULL
;
4845 } Py_INCREF(Py_None
);
4846 _resultobj
= Py_None
;
4850 static PyObject
*_wrap_wxLog_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4851 PyObject
* _resultobj
;
4852 char *_kwnames
[] = { NULL
};
4855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_Resume",_kwnames
))
4858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4861 wxPyEndAllowThreads(__tstate
);
4862 if (PyErr_Occurred()) return NULL
;
4863 } Py_INCREF(Py_None
);
4864 _resultobj
= Py_None
;
4868 #define wxLog_SetVerbose(_swigobj,_swigarg0) (_swigobj->SetVerbose(_swigarg0))
4869 static PyObject
*_wrap_wxLog_SetVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4870 PyObject
* _resultobj
;
4872 bool _arg1
= (bool ) TRUE
;
4873 PyObject
* _argo0
= 0;
4874 int tempbool1
= (int) TRUE
;
4875 char *_kwnames
[] = { "self","bVerbose", NULL
};
4878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxLog_SetVerbose",_kwnames
,&_argo0
,&tempbool1
))
4881 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4882 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
4883 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_SetVerbose. Expected _wxLog_p.");
4887 _arg1
= (bool ) tempbool1
;
4889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4890 wxLog_SetVerbose(_arg0
,_arg1
);
4892 wxPyEndAllowThreads(__tstate
);
4893 if (PyErr_Occurred()) return NULL
;
4894 } Py_INCREF(Py_None
);
4895 _resultobj
= Py_None
;
4899 static PyObject
*_wrap_wxLog_DontCreateOnDemand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4900 PyObject
* _resultobj
;
4901 char *_kwnames
[] = { NULL
};
4904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_DontCreateOnDemand",_kwnames
))
4907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4908 wxLog::DontCreateOnDemand();
4910 wxPyEndAllowThreads(__tstate
);
4911 if (PyErr_Occurred()) return NULL
;
4912 } Py_INCREF(Py_None
);
4913 _resultobj
= Py_None
;
4917 static PyObject
*_wrap_wxLog_SetTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4918 PyObject
* _resultobj
;
4919 wxTraceMask
* _arg0
;
4920 PyObject
* _argo0
= 0;
4921 char *_kwnames
[] = { "ulMask", NULL
};
4924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_SetTraceMask",_kwnames
,&_argo0
))
4927 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4928 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTraceMask_p")) {
4929 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_SetTraceMask. Expected _wxTraceMask_p.");
4934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4935 wxLog::SetTraceMask(*_arg0
);
4937 wxPyEndAllowThreads(__tstate
);
4938 if (PyErr_Occurred()) return NULL
;
4939 } Py_INCREF(Py_None
);
4940 _resultobj
= Py_None
;
4944 static PyObject
*_wrap_wxLog_AddTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4945 PyObject
* _resultobj
;
4947 PyObject
* _obj0
= 0;
4948 char *_kwnames
[] = { "str", NULL
};
4951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_AddTraceMask",_kwnames
,&_obj0
))
4954 #if PYTHON_API_VERSION >= 1009
4955 char* tmpPtr
; int tmpSize
;
4956 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
4957 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4960 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
4962 _arg0
= new wxString(tmpPtr
, tmpSize
);
4964 if (!PyString_Check(_obj0
)) {
4965 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4968 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
4972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4973 wxLog::AddTraceMask(*_arg0
);
4975 wxPyEndAllowThreads(__tstate
);
4976 if (PyErr_Occurred()) return NULL
;
4977 } Py_INCREF(Py_None
);
4978 _resultobj
= Py_None
;
4986 static PyObject
*_wrap_wxLog_RemoveTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4987 PyObject
* _resultobj
;
4989 PyObject
* _obj0
= 0;
4990 char *_kwnames
[] = { "str", NULL
};
4993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_RemoveTraceMask",_kwnames
,&_obj0
))
4996 #if PYTHON_API_VERSION >= 1009
4997 char* tmpPtr
; int tmpSize
;
4998 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
4999 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5002 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
5004 _arg0
= new wxString(tmpPtr
, tmpSize
);
5006 if (!PyString_Check(_obj0
)) {
5007 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5010 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
5014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5015 wxLog::RemoveTraceMask(*_arg0
);
5017 wxPyEndAllowThreads(__tstate
);
5018 if (PyErr_Occurred()) return NULL
;
5019 } Py_INCREF(Py_None
);
5020 _resultobj
= Py_None
;
5028 static PyObject
*_wrap_wxLog_ClearTraceMasks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5029 PyObject
* _resultobj
;
5030 char *_kwnames
[] = { NULL
};
5033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_ClearTraceMasks",_kwnames
))
5036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5037 wxLog::ClearTraceMasks();
5039 wxPyEndAllowThreads(__tstate
);
5040 if (PyErr_Occurred()) return NULL
;
5041 } Py_INCREF(Py_None
);
5042 _resultobj
= Py_None
;
5046 static PyObject
*_wrap_wxLog_SetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5047 PyObject
* _resultobj
;
5049 char *_kwnames
[] = { "ts", NULL
};
5052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLog_SetTimestamp",_kwnames
,&_arg0
))
5055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5056 wxLog::SetTimestamp(_arg0
);
5058 wxPyEndAllowThreads(__tstate
);
5059 if (PyErr_Occurred()) return NULL
;
5060 } Py_INCREF(Py_None
);
5061 _resultobj
= Py_None
;
5065 static PyObject
*_wrap_wxLog_GetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5066 PyObject
* _resultobj
;
5068 char *_kwnames
[] = { NULL
};
5071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_GetTimestamp",_kwnames
))
5074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5075 _result
= (wxChar
*)wxLog::GetTimestamp();
5077 wxPyEndAllowThreads(__tstate
);
5078 if (PyErr_Occurred()) return NULL
;
5079 } _resultobj
= Py_BuildValue("s", _result
);
5083 #define wxLog_GetVerbose(_swigobj) (_swigobj->GetVerbose())
5084 static PyObject
*_wrap_wxLog_GetVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5085 PyObject
* _resultobj
;
5088 PyObject
* _argo0
= 0;
5089 char *_kwnames
[] = { "self", NULL
};
5092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_GetVerbose",_kwnames
,&_argo0
))
5095 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5096 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
5097 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_GetVerbose. Expected _wxLog_p.");
5102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5103 _result
= (bool )wxLog_GetVerbose(_arg0
);
5105 wxPyEndAllowThreads(__tstate
);
5106 if (PyErr_Occurred()) return NULL
;
5107 } _resultobj
= Py_BuildValue("i",_result
);
5111 static PyObject
*_wrap_wxLog_GetTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5112 PyObject
* _resultobj
;
5113 wxTraceMask
* _result
;
5114 char *_kwnames
[] = { NULL
};
5118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_GetTraceMask",_kwnames
))
5121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5122 _result
= new wxTraceMask (wxLog::GetTraceMask());
5124 wxPyEndAllowThreads(__tstate
);
5125 if (PyErr_Occurred()) return NULL
;
5126 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTraceMask_p");
5127 _resultobj
= Py_BuildValue("s",_ptemp
);
5131 static PyObject
*_wrap_wxLog_IsAllowedTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5132 PyObject
* _resultobj
;
5135 char *_kwnames
[] = { "mask", NULL
};
5138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLog_IsAllowedTraceMask",_kwnames
,&_arg0
))
5141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5142 _result
= (bool )wxLog::IsAllowedTraceMask(_arg0
);
5144 wxPyEndAllowThreads(__tstate
);
5145 if (PyErr_Occurred()) return NULL
;
5146 } _resultobj
= Py_BuildValue("i",_result
);
5150 static wxString
wxLog_TimeStamp(wxLog
*self
) {
5152 wxLog::TimeStamp(&msg
);
5155 static PyObject
*_wrap_wxLog_TimeStamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5156 PyObject
* _resultobj
;
5159 PyObject
* _argo0
= 0;
5160 char *_kwnames
[] = { "self", NULL
};
5163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_TimeStamp",_kwnames
,&_argo0
))
5166 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5167 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
5168 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_TimeStamp. Expected _wxLog_p.");
5173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5174 _result
= new wxString (wxLog_TimeStamp(_arg0
));
5176 wxPyEndAllowThreads(__tstate
);
5177 if (PyErr_Occurred()) return NULL
;
5179 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5187 static void *SwigwxLogStderrTowxLog(void *ptr
) {
5190 src
= (wxLogStderr
*) ptr
;
5191 dest
= (wxLog
*) src
;
5192 return (void *) dest
;
5195 #define new_wxLogStderr() (new wxLogStderr())
5196 static PyObject
*_wrap_new_wxLogStderr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5197 PyObject
* _resultobj
;
5198 wxLogStderr
* _result
;
5199 char *_kwnames
[] = { NULL
};
5203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLogStderr",_kwnames
))
5206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5207 _result
= (wxLogStderr
*)new_wxLogStderr();
5209 wxPyEndAllowThreads(__tstate
);
5210 if (PyErr_Occurred()) return NULL
;
5212 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogStderr_p");
5213 _resultobj
= Py_BuildValue("s",_ptemp
);
5216 _resultobj
= Py_None
;
5221 static void *SwigwxLogTextCtrlTowxLog(void *ptr
) {
5224 src
= (wxLogTextCtrl
*) ptr
;
5225 dest
= (wxLog
*) src
;
5226 return (void *) dest
;
5229 #define new_wxLogTextCtrl(_swigarg0) (new wxLogTextCtrl(_swigarg0))
5230 static PyObject
*_wrap_new_wxLogTextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5231 PyObject
* _resultobj
;
5232 wxLogTextCtrl
* _result
;
5234 PyObject
* _argo0
= 0;
5235 char *_kwnames
[] = { "pTextCtrl", NULL
};
5239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxLogTextCtrl",_kwnames
,&_argo0
))
5242 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5243 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
5244 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxLogTextCtrl. Expected _wxTextCtrl_p.");
5249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5250 _result
= (wxLogTextCtrl
*)new_wxLogTextCtrl(_arg0
);
5252 wxPyEndAllowThreads(__tstate
);
5253 if (PyErr_Occurred()) return NULL
;
5255 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogTextCtrl_p");
5256 _resultobj
= Py_BuildValue("s",_ptemp
);
5259 _resultobj
= Py_None
;
5264 static void *SwigwxLogGuiTowxLog(void *ptr
) {
5267 src
= (wxLogGui
*) ptr
;
5268 dest
= (wxLog
*) src
;
5269 return (void *) dest
;
5272 #define new_wxLogGui() (new wxLogGui())
5273 static PyObject
*_wrap_new_wxLogGui(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5274 PyObject
* _resultobj
;
5276 char *_kwnames
[] = { NULL
};
5280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLogGui",_kwnames
))
5283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5284 _result
= (wxLogGui
*)new_wxLogGui();
5286 wxPyEndAllowThreads(__tstate
);
5287 if (PyErr_Occurred()) return NULL
;
5289 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogGui_p");
5290 _resultobj
= Py_BuildValue("s",_ptemp
);
5293 _resultobj
= Py_None
;
5298 static void *SwigwxLogWindowTowxLog(void *ptr
) {
5301 src
= (wxLogWindow
*) ptr
;
5302 dest
= (wxLog
*) src
;
5303 return (void *) dest
;
5306 #define new_wxLogWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxLogWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5307 static PyObject
*_wrap_new_wxLogWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5308 PyObject
* _resultobj
;
5309 wxLogWindow
* _result
;
5312 bool _arg2
= (bool ) TRUE
;
5313 bool _arg3
= (bool ) TRUE
;
5314 PyObject
* _argo0
= 0;
5315 int tempbool2
= (int) TRUE
;
5316 int tempbool3
= (int) TRUE
;
5317 char *_kwnames
[] = { "pParent","szTitle","bShow","bPassToOld", NULL
};
5321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Os|ii:new_wxLogWindow",_kwnames
,&_argo0
,&_arg1
,&tempbool2
,&tempbool3
))
5324 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5325 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
5326 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxLogWindow. Expected _wxFrame_p.");
5330 _arg2
= (bool ) tempbool2
;
5331 _arg3
= (bool ) tempbool3
;
5333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5334 _result
= (wxLogWindow
*)new_wxLogWindow(_arg0
,_arg1
,_arg2
,_arg3
);
5336 wxPyEndAllowThreads(__tstate
);
5337 if (PyErr_Occurred()) return NULL
;
5339 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogWindow_p");
5340 _resultobj
= Py_BuildValue("s",_ptemp
);
5343 _resultobj
= Py_None
;
5348 #define wxLogWindow_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
5349 static PyObject
*_wrap_wxLogWindow_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5350 PyObject
* _resultobj
;
5351 wxLogWindow
* _arg0
;
5352 bool _arg1
= (bool ) TRUE
;
5353 PyObject
* _argo0
= 0;
5354 int tempbool1
= (int) TRUE
;
5355 char *_kwnames
[] = { "self","bShow", NULL
};
5358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxLogWindow_Show",_kwnames
,&_argo0
,&tempbool1
))
5361 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5362 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
5363 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_Show. Expected _wxLogWindow_p.");
5367 _arg1
= (bool ) tempbool1
;
5369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5370 wxLogWindow_Show(_arg0
,_arg1
);
5372 wxPyEndAllowThreads(__tstate
);
5373 if (PyErr_Occurred()) return NULL
;
5374 } Py_INCREF(Py_None
);
5375 _resultobj
= Py_None
;
5379 #define wxLogWindow_GetFrame(_swigobj) (_swigobj->GetFrame())
5380 static PyObject
*_wrap_wxLogWindow_GetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5381 PyObject
* _resultobj
;
5383 wxLogWindow
* _arg0
;
5384 PyObject
* _argo0
= 0;
5385 char *_kwnames
[] = { "self", NULL
};
5388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogWindow_GetFrame",_kwnames
,&_argo0
))
5391 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5392 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
5393 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_GetFrame. Expected _wxLogWindow_p.");
5398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5399 _result
= (wxFrame
*)wxLogWindow_GetFrame(_arg0
);
5401 wxPyEndAllowThreads(__tstate
);
5402 if (PyErr_Occurred()) return NULL
;
5403 }{ _resultobj
= wxPyMake_wxObject(_result
); }
5407 #define wxLogWindow_GetOldLog(_swigobj) (_swigobj->GetOldLog())
5408 static PyObject
*_wrap_wxLogWindow_GetOldLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5409 PyObject
* _resultobj
;
5411 wxLogWindow
* _arg0
;
5412 PyObject
* _argo0
= 0;
5413 char *_kwnames
[] = { "self", NULL
};
5417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogWindow_GetOldLog",_kwnames
,&_argo0
))
5420 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5421 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
5422 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_GetOldLog. Expected _wxLogWindow_p.");
5427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5428 _result
= (wxLog
*)wxLogWindow_GetOldLog(_arg0
);
5430 wxPyEndAllowThreads(__tstate
);
5431 if (PyErr_Occurred()) return NULL
;
5433 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
5434 _resultobj
= Py_BuildValue("s",_ptemp
);
5437 _resultobj
= Py_None
;
5442 #define wxLogWindow_IsPassingMessages(_swigobj) (_swigobj->IsPassingMessages())
5443 static PyObject
*_wrap_wxLogWindow_IsPassingMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5444 PyObject
* _resultobj
;
5446 wxLogWindow
* _arg0
;
5447 PyObject
* _argo0
= 0;
5448 char *_kwnames
[] = { "self", NULL
};
5451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogWindow_IsPassingMessages",_kwnames
,&_argo0
))
5454 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5455 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
5456 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_IsPassingMessages. Expected _wxLogWindow_p.");
5461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5462 _result
= (bool )wxLogWindow_IsPassingMessages(_arg0
);
5464 wxPyEndAllowThreads(__tstate
);
5465 if (PyErr_Occurred()) return NULL
;
5466 } _resultobj
= Py_BuildValue("i",_result
);
5470 #define wxLogWindow_PassMessages(_swigobj,_swigarg0) (_swigobj->PassMessages(_swigarg0))
5471 static PyObject
*_wrap_wxLogWindow_PassMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5472 PyObject
* _resultobj
;
5473 wxLogWindow
* _arg0
;
5475 PyObject
* _argo0
= 0;
5477 char *_kwnames
[] = { "self","bDoPass", NULL
};
5480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxLogWindow_PassMessages",_kwnames
,&_argo0
,&tempbool1
))
5483 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5484 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
5485 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_PassMessages. Expected _wxLogWindow_p.");
5489 _arg1
= (bool ) tempbool1
;
5491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5492 wxLogWindow_PassMessages(_arg0
,_arg1
);
5494 wxPyEndAllowThreads(__tstate
);
5495 if (PyErr_Occurred()) return NULL
;
5496 } Py_INCREF(Py_None
);
5497 _resultobj
= Py_None
;
5501 #define new_wxLogNull() (new wxLogNull())
5502 static PyObject
*_wrap_new_wxLogNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5503 PyObject
* _resultobj
;
5504 wxLogNull
* _result
;
5505 char *_kwnames
[] = { NULL
};
5509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLogNull",_kwnames
))
5512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5513 _result
= (wxLogNull
*)new_wxLogNull();
5515 wxPyEndAllowThreads(__tstate
);
5516 if (PyErr_Occurred()) return NULL
;
5518 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogNull_p");
5519 _resultobj
= Py_BuildValue("s",_ptemp
);
5522 _resultobj
= Py_None
;
5527 #define delete_wxLogNull(_swigobj) (delete _swigobj)
5528 static PyObject
*_wrap_delete_wxLogNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5529 PyObject
* _resultobj
;
5531 PyObject
* _argo0
= 0;
5532 char *_kwnames
[] = { "self", NULL
};
5535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxLogNull",_kwnames
,&_argo0
))
5538 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5539 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogNull_p")) {
5540 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxLogNull. Expected _wxLogNull_p.");
5545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5546 delete_wxLogNull(_arg0
);
5548 wxPyEndAllowThreads(__tstate
);
5549 if (PyErr_Occurred()) return NULL
;
5550 } Py_INCREF(Py_None
);
5551 _resultobj
= Py_None
;
5555 static void *SwigwxLogChainTowxLog(void *ptr
) {
5558 src
= (wxLogChain
*) ptr
;
5559 dest
= (wxLog
*) src
;
5560 return (void *) dest
;
5563 #define new_wxLogChain(_swigarg0) (new wxLogChain(_swigarg0))
5564 static PyObject
*_wrap_new_wxLogChain(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5565 PyObject
* _resultobj
;
5566 wxLogChain
* _result
;
5568 PyObject
* _argo0
= 0;
5569 char *_kwnames
[] = { "logger", NULL
};
5573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxLogChain",_kwnames
,&_argo0
))
5576 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5577 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
5578 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxLogChain. Expected _wxLog_p.");
5583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5584 _result
= (wxLogChain
*)new_wxLogChain(_arg0
);
5586 wxPyEndAllowThreads(__tstate
);
5587 if (PyErr_Occurred()) return NULL
;
5589 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogChain_p");
5590 _resultobj
= Py_BuildValue("s",_ptemp
);
5593 _resultobj
= Py_None
;
5598 #define wxLogChain_SetLog(_swigobj,_swigarg0) (_swigobj->SetLog(_swigarg0))
5599 static PyObject
*_wrap_wxLogChain_SetLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5600 PyObject
* _resultobj
;
5603 PyObject
* _argo0
= 0;
5604 PyObject
* _argo1
= 0;
5605 char *_kwnames
[] = { "self","logger", NULL
};
5608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxLogChain_SetLog",_kwnames
,&_argo0
,&_argo1
))
5611 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5612 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogChain_p")) {
5613 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogChain_SetLog. Expected _wxLogChain_p.");
5618 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5619 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxLog_p")) {
5620 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxLogChain_SetLog. Expected _wxLog_p.");
5625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5626 wxLogChain_SetLog(_arg0
,_arg1
);
5628 wxPyEndAllowThreads(__tstate
);
5629 if (PyErr_Occurred()) return NULL
;
5630 } Py_INCREF(Py_None
);
5631 _resultobj
= Py_None
;
5635 #define wxLogChain_PassMessages(_swigobj,_swigarg0) (_swigobj->PassMessages(_swigarg0))
5636 static PyObject
*_wrap_wxLogChain_PassMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5637 PyObject
* _resultobj
;
5640 PyObject
* _argo0
= 0;
5642 char *_kwnames
[] = { "self","bDoPass", NULL
};
5645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxLogChain_PassMessages",_kwnames
,&_argo0
,&tempbool1
))
5648 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5649 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogChain_p")) {
5650 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogChain_PassMessages. Expected _wxLogChain_p.");
5654 _arg1
= (bool ) tempbool1
;
5656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5657 wxLogChain_PassMessages(_arg0
,_arg1
);
5659 wxPyEndAllowThreads(__tstate
);
5660 if (PyErr_Occurred()) return NULL
;
5661 } Py_INCREF(Py_None
);
5662 _resultobj
= Py_None
;
5666 #define wxLogChain_IsPassingMessages(_swigobj) (_swigobj->IsPassingMessages())
5667 static PyObject
*_wrap_wxLogChain_IsPassingMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5668 PyObject
* _resultobj
;
5671 PyObject
* _argo0
= 0;
5672 char *_kwnames
[] = { "self", NULL
};
5675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogChain_IsPassingMessages",_kwnames
,&_argo0
))
5678 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5679 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogChain_p")) {
5680 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogChain_IsPassingMessages. Expected _wxLogChain_p.");
5685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5686 _result
= (bool )wxLogChain_IsPassingMessages(_arg0
);
5688 wxPyEndAllowThreads(__tstate
);
5689 if (PyErr_Occurred()) return NULL
;
5690 } _resultobj
= Py_BuildValue("i",_result
);
5694 #define wxLogChain_GetOldLog(_swigobj) (_swigobj->GetOldLog())
5695 static PyObject
*_wrap_wxLogChain_GetOldLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5696 PyObject
* _resultobj
;
5699 PyObject
* _argo0
= 0;
5700 char *_kwnames
[] = { "self", NULL
};
5704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogChain_GetOldLog",_kwnames
,&_argo0
))
5707 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5708 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogChain_p")) {
5709 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogChain_GetOldLog. Expected _wxLogChain_p.");
5714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5715 _result
= (wxLog
*)wxLogChain_GetOldLog(_arg0
);
5717 wxPyEndAllowThreads(__tstate
);
5718 if (PyErr_Occurred()) return NULL
;
5720 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
5721 _resultobj
= Py_BuildValue("s",_ptemp
);
5724 _resultobj
= Py_None
;
5729 static void *SwigwxPyLogTowxLog(void *ptr
) {
5732 src
= (wxPyLog
*) ptr
;
5733 dest
= (wxLog
*) src
;
5734 return (void *) dest
;
5737 #define new_wxPyLog() (new wxPyLog())
5738 static PyObject
*_wrap_new_wxPyLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5739 PyObject
* _resultobj
;
5741 char *_kwnames
[] = { NULL
};
5745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPyLog",_kwnames
))
5748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5749 _result
= (wxPyLog
*)new_wxPyLog();
5751 wxPyEndAllowThreads(__tstate
);
5752 if (PyErr_Occurred()) return NULL
;
5754 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyLog_p");
5755 _resultobj
= Py_BuildValue("s",_ptemp
);
5758 _resultobj
= Py_None
;
5763 #define wxPyLog__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
5764 static PyObject
*_wrap_wxPyLog__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5765 PyObject
* _resultobj
;
5769 PyObject
* _argo0
= 0;
5770 PyObject
* _obj1
= 0;
5771 PyObject
* _obj2
= 0;
5772 char *_kwnames
[] = { "self","self","_class", NULL
};
5775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyLog__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
5778 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5779 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLog_p")) {
5780 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLog__setCallbackInfo. Expected _wxPyLog_p.");
5791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5792 wxPyLog__setCallbackInfo(_arg0
,_arg1
,_arg2
);
5794 wxPyEndAllowThreads(__tstate
);
5795 if (PyErr_Occurred()) return NULL
;
5796 } Py_INCREF(Py_None
);
5797 _resultobj
= Py_None
;
5801 static void wxPyLog_Destroy(wxPyLog
*self
) { delete self
; }
5802 static PyObject
*_wrap_wxPyLog_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5803 PyObject
* _resultobj
;
5805 PyObject
* _argo0
= 0;
5806 char *_kwnames
[] = { "self", NULL
};
5809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyLog_Destroy",_kwnames
,&_argo0
))
5812 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5813 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLog_p")) {
5814 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLog_Destroy. Expected _wxPyLog_p.");
5819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5820 wxPyLog_Destroy(_arg0
);
5822 wxPyEndAllowThreads(__tstate
);
5823 if (PyErr_Occurred()) return NULL
;
5824 } Py_INCREF(Py_None
);
5825 _resultobj
= Py_None
;
5829 static void *SwigwxProcessEventTowxEvent(void *ptr
) {
5830 wxProcessEvent
*src
;
5832 src
= (wxProcessEvent
*) ptr
;
5833 dest
= (wxEvent
*) src
;
5834 return (void *) dest
;
5837 static void *SwigwxProcessEventTowxObject(void *ptr
) {
5838 wxProcessEvent
*src
;
5840 src
= (wxProcessEvent
*) ptr
;
5841 dest
= (wxObject
*) src
;
5842 return (void *) dest
;
5845 #define new_wxProcessEvent(_swigarg0,_swigarg1,_swigarg2) (new wxProcessEvent(_swigarg0,_swigarg1,_swigarg2))
5846 static PyObject
*_wrap_new_wxProcessEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5847 PyObject
* _resultobj
;
5848 wxProcessEvent
* _result
;
5849 int _arg0
= (int ) 0;
5850 int _arg1
= (int ) 0;
5851 int _arg2
= (int ) 0;
5852 char *_kwnames
[] = { "id","pid","exitcode", NULL
};
5856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iii:new_wxProcessEvent",_kwnames
,&_arg0
,&_arg1
,&_arg2
))
5859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5860 _result
= (wxProcessEvent
*)new_wxProcessEvent(_arg0
,_arg1
,_arg2
);
5862 wxPyEndAllowThreads(__tstate
);
5863 if (PyErr_Occurred()) return NULL
;
5865 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxProcessEvent_p");
5866 _resultobj
= Py_BuildValue("s",_ptemp
);
5869 _resultobj
= Py_None
;
5874 #define wxProcessEvent_GetPid(_swigobj) (_swigobj->GetPid())
5875 static PyObject
*_wrap_wxProcessEvent_GetPid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5876 PyObject
* _resultobj
;
5878 wxProcessEvent
* _arg0
;
5879 PyObject
* _argo0
= 0;
5880 char *_kwnames
[] = { "self", NULL
};
5883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcessEvent_GetPid",_kwnames
,&_argo0
))
5886 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5887 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
5888 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_GetPid. Expected _wxProcessEvent_p.");
5893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5894 _result
= (int )wxProcessEvent_GetPid(_arg0
);
5896 wxPyEndAllowThreads(__tstate
);
5897 if (PyErr_Occurred()) return NULL
;
5898 } _resultobj
= Py_BuildValue("i",_result
);
5902 #define wxProcessEvent_GetExitCode(_swigobj) (_swigobj->GetExitCode())
5903 static PyObject
*_wrap_wxProcessEvent_GetExitCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5904 PyObject
* _resultobj
;
5906 wxProcessEvent
* _arg0
;
5907 PyObject
* _argo0
= 0;
5908 char *_kwnames
[] = { "self", NULL
};
5911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcessEvent_GetExitCode",_kwnames
,&_argo0
))
5914 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5915 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
5916 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_GetExitCode. Expected _wxProcessEvent_p.");
5921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5922 _result
= (int )wxProcessEvent_GetExitCode(_arg0
);
5924 wxPyEndAllowThreads(__tstate
);
5925 if (PyErr_Occurred()) return NULL
;
5926 } _resultobj
= Py_BuildValue("i",_result
);
5930 #define wxProcessEvent_m_pid_set(_swigobj,_swigval) (_swigobj->m_pid = _swigval,_swigval)
5931 static PyObject
*_wrap_wxProcessEvent_m_pid_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5932 PyObject
* _resultobj
;
5934 wxProcessEvent
* _arg0
;
5936 PyObject
* _argo0
= 0;
5937 char *_kwnames
[] = { "self","m_pid", NULL
};
5940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxProcessEvent_m_pid_set",_kwnames
,&_argo0
,&_arg1
))
5943 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5944 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
5945 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_m_pid_set. Expected _wxProcessEvent_p.");
5950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5951 _result
= (int )wxProcessEvent_m_pid_set(_arg0
,_arg1
);
5953 wxPyEndAllowThreads(__tstate
);
5954 if (PyErr_Occurred()) return NULL
;
5955 } _resultobj
= Py_BuildValue("i",_result
);
5959 #define wxProcessEvent_m_pid_get(_swigobj) ((int ) _swigobj->m_pid)
5960 static PyObject
*_wrap_wxProcessEvent_m_pid_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5961 PyObject
* _resultobj
;
5963 wxProcessEvent
* _arg0
;
5964 PyObject
* _argo0
= 0;
5965 char *_kwnames
[] = { "self", NULL
};
5968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcessEvent_m_pid_get",_kwnames
,&_argo0
))
5971 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5972 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
5973 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_m_pid_get. Expected _wxProcessEvent_p.");
5978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5979 _result
= (int )wxProcessEvent_m_pid_get(_arg0
);
5981 wxPyEndAllowThreads(__tstate
);
5982 if (PyErr_Occurred()) return NULL
;
5983 } _resultobj
= Py_BuildValue("i",_result
);
5987 #define wxProcessEvent_m_exitcode_set(_swigobj,_swigval) (_swigobj->m_exitcode = _swigval,_swigval)
5988 static PyObject
*_wrap_wxProcessEvent_m_exitcode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5989 PyObject
* _resultobj
;
5991 wxProcessEvent
* _arg0
;
5993 PyObject
* _argo0
= 0;
5994 char *_kwnames
[] = { "self","m_exitcode", NULL
};
5997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxProcessEvent_m_exitcode_set",_kwnames
,&_argo0
,&_arg1
))
6000 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6001 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
6002 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_m_exitcode_set. Expected _wxProcessEvent_p.");
6007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6008 _result
= (int )wxProcessEvent_m_exitcode_set(_arg0
,_arg1
);
6010 wxPyEndAllowThreads(__tstate
);
6011 if (PyErr_Occurred()) return NULL
;
6012 } _resultobj
= Py_BuildValue("i",_result
);
6016 #define wxProcessEvent_m_exitcode_get(_swigobj) ((int ) _swigobj->m_exitcode)
6017 static PyObject
*_wrap_wxProcessEvent_m_exitcode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6018 PyObject
* _resultobj
;
6020 wxProcessEvent
* _arg0
;
6021 PyObject
* _argo0
= 0;
6022 char *_kwnames
[] = { "self", NULL
};
6025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcessEvent_m_exitcode_get",_kwnames
,&_argo0
))
6028 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6029 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
6030 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_m_exitcode_get. Expected _wxProcessEvent_p.");
6035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6036 _result
= (int )wxProcessEvent_m_exitcode_get(_arg0
);
6038 wxPyEndAllowThreads(__tstate
);
6039 if (PyErr_Occurred()) return NULL
;
6040 } _resultobj
= Py_BuildValue("i",_result
);
6044 static void *SwigwxPyProcessTowxEvtHandler(void *ptr
) {
6047 src
= (wxPyProcess
*) ptr
;
6048 dest
= (wxEvtHandler
*) src
;
6049 return (void *) dest
;
6052 static void *SwigwxPyProcessTowxObject(void *ptr
) {
6055 src
= (wxPyProcess
*) ptr
;
6056 dest
= (wxObject
*) src
;
6057 return (void *) dest
;
6060 #define new_wxProcess(_swigarg0,_swigarg1) (new wxPyProcess(_swigarg0,_swigarg1))
6061 static PyObject
*_wrap_new_wxProcess(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6062 PyObject
* _resultobj
;
6063 wxPyProcess
* _result
;
6064 wxEvtHandler
* _arg0
= (wxEvtHandler
*) NULL
;
6065 int _arg1
= (int ) -1;
6066 PyObject
* _argo0
= 0;
6067 char *_kwnames
[] = { "parent","id", NULL
};
6071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|Oi:new_wxProcess",_kwnames
,&_argo0
,&_arg1
))
6074 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6075 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
6076 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxProcess. Expected _wxEvtHandler_p.");
6081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6082 _result
= (wxPyProcess
*)new_wxProcess(_arg0
,_arg1
);
6084 wxPyEndAllowThreads(__tstate
);
6085 if (PyErr_Occurred()) return NULL
;
6087 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyProcess_p");
6088 _resultobj
= Py_BuildValue("s",_ptemp
);
6091 _resultobj
= Py_None
;
6096 static void wxPyProcess_Destroy(wxPyProcess
*self
) { delete self
; }
6097 static PyObject
*_wrap_wxProcess_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6098 PyObject
* _resultobj
;
6099 wxPyProcess
* _arg0
;
6100 PyObject
* _argo0
= 0;
6101 char *_kwnames
[] = { "self", NULL
};
6104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_Destroy",_kwnames
,&_argo0
))
6107 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6108 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6109 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_Destroy. Expected _wxPyProcess_p.");
6114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6115 wxPyProcess_Destroy(_arg0
);
6117 wxPyEndAllowThreads(__tstate
);
6118 if (PyErr_Occurred()) return NULL
;
6119 } Py_INCREF(Py_None
);
6120 _resultobj
= Py_None
;
6124 #define wxProcess__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
6125 static PyObject
*_wrap_wxProcess__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6126 PyObject
* _resultobj
;
6127 wxPyProcess
* _arg0
;
6130 PyObject
* _argo0
= 0;
6131 PyObject
* _obj1
= 0;
6132 PyObject
* _obj2
= 0;
6133 char *_kwnames
[] = { "self","self","_class", NULL
};
6136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxProcess__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
6139 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6140 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6141 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess__setCallbackInfo. Expected _wxPyProcess_p.");
6152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6153 wxProcess__setCallbackInfo(_arg0
,_arg1
,_arg2
);
6155 wxPyEndAllowThreads(__tstate
);
6156 if (PyErr_Occurred()) return NULL
;
6157 } Py_INCREF(Py_None
);
6158 _resultobj
= Py_None
;
6162 #define wxProcess_base_OnTerminate(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnTerminate(_swigarg0,_swigarg1))
6163 static PyObject
*_wrap_wxProcess_base_OnTerminate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6164 PyObject
* _resultobj
;
6165 wxPyProcess
* _arg0
;
6168 PyObject
* _argo0
= 0;
6169 char *_kwnames
[] = { "self","pid","status", NULL
};
6172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxProcess_base_OnTerminate",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6175 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6176 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6177 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_base_OnTerminate. Expected _wxPyProcess_p.");
6182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6183 wxProcess_base_OnTerminate(_arg0
,_arg1
,_arg2
);
6185 wxPyEndAllowThreads(__tstate
);
6186 if (PyErr_Occurred()) return NULL
;
6187 } Py_INCREF(Py_None
);
6188 _resultobj
= Py_None
;
6192 #define wxProcess_Redirect(_swigobj) (_swigobj->Redirect())
6193 static PyObject
*_wrap_wxProcess_Redirect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6194 PyObject
* _resultobj
;
6195 wxPyProcess
* _arg0
;
6196 PyObject
* _argo0
= 0;
6197 char *_kwnames
[] = { "self", NULL
};
6200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_Redirect",_kwnames
,&_argo0
))
6203 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6204 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6205 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_Redirect. Expected _wxPyProcess_p.");
6210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6211 wxProcess_Redirect(_arg0
);
6213 wxPyEndAllowThreads(__tstate
);
6214 if (PyErr_Occurred()) return NULL
;
6215 } Py_INCREF(Py_None
);
6216 _resultobj
= Py_None
;
6220 #define wxProcess_IsRedirected(_swigobj) (_swigobj->IsRedirected())
6221 static PyObject
*_wrap_wxProcess_IsRedirected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6222 PyObject
* _resultobj
;
6224 wxPyProcess
* _arg0
;
6225 PyObject
* _argo0
= 0;
6226 char *_kwnames
[] = { "self", NULL
};
6229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_IsRedirected",_kwnames
,&_argo0
))
6232 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6233 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6234 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_IsRedirected. Expected _wxPyProcess_p.");
6239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6240 _result
= (bool )wxProcess_IsRedirected(_arg0
);
6242 wxPyEndAllowThreads(__tstate
);
6243 if (PyErr_Occurred()) return NULL
;
6244 } _resultobj
= Py_BuildValue("i",_result
);
6248 #define wxProcess_Detach(_swigobj) (_swigobj->Detach())
6249 static PyObject
*_wrap_wxProcess_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6250 PyObject
* _resultobj
;
6251 wxPyProcess
* _arg0
;
6252 PyObject
* _argo0
= 0;
6253 char *_kwnames
[] = { "self", NULL
};
6256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_Detach",_kwnames
,&_argo0
))
6259 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6260 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6261 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_Detach. Expected _wxPyProcess_p.");
6266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6267 wxProcess_Detach(_arg0
);
6269 wxPyEndAllowThreads(__tstate
);
6270 if (PyErr_Occurred()) return NULL
;
6271 } Py_INCREF(Py_None
);
6272 _resultobj
= Py_None
;
6276 #define wxProcess_GetInputStream(_swigobj) (_swigobj->GetInputStream())
6277 static PyObject
*_wrap_wxProcess_GetInputStream(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_GetInputStream",_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_GetInputStream. Expected _wxPyProcess_p.");
6295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6296 _result
= (wxInputStream
*)wxProcess_GetInputStream(_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_GetErrorStream(_swigobj) (_swigobj->GetErrorStream())
6312 static PyObject
*_wrap_wxProcess_GetErrorStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6313 PyObject
* _resultobj
;
6314 wxInputStream
* _result
;
6315 wxPyProcess
* _arg0
;
6316 PyObject
* _argo0
= 0;
6317 char *_kwnames
[] = { "self", NULL
};
6320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_GetErrorStream",_kwnames
,&_argo0
))
6323 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6324 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6325 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_GetErrorStream. Expected _wxPyProcess_p.");
6330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6331 _result
= (wxInputStream
*)wxProcess_GetErrorStream(_arg0
);
6333 wxPyEndAllowThreads(__tstate
);
6334 if (PyErr_Occurred()) return NULL
;
6336 wxPyInputStream
* _ptr
= NULL
;
6339 _ptr
= new wxPyInputStream(_result
);
6341 _resultobj
= wxPyConstructObject(_ptr
, "wxInputStream", TRUE
);
6346 #define wxProcess_GetOutputStream(_swigobj) (_swigobj->GetOutputStream())
6347 static PyObject
*_wrap_wxProcess_GetOutputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6348 PyObject
* _resultobj
;
6349 wxOutputStream
* _result
;
6350 wxPyProcess
* _arg0
;
6351 PyObject
* _argo0
= 0;
6352 char *_kwnames
[] = { "self", NULL
};
6356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_GetOutputStream",_kwnames
,&_argo0
))
6359 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6360 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6361 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_GetOutputStream. Expected _wxPyProcess_p.");
6366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6367 _result
= (wxOutputStream
*)wxProcess_GetOutputStream(_arg0
);
6369 wxPyEndAllowThreads(__tstate
);
6370 if (PyErr_Occurred()) return NULL
;
6372 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxOutputStream_p");
6373 _resultobj
= Py_BuildValue("s",_ptemp
);
6376 _resultobj
= Py_None
;
6381 #define wxProcess_CloseOutput(_swigobj) (_swigobj->CloseOutput())
6382 static PyObject
*_wrap_wxProcess_CloseOutput(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6383 PyObject
* _resultobj
;
6384 wxPyProcess
* _arg0
;
6385 PyObject
* _argo0
= 0;
6386 char *_kwnames
[] = { "self", NULL
};
6389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_CloseOutput",_kwnames
,&_argo0
))
6392 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6393 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6394 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_CloseOutput. Expected _wxPyProcess_p.");
6399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6400 wxProcess_CloseOutput(_arg0
);
6402 wxPyEndAllowThreads(__tstate
);
6403 if (PyErr_Occurred()) return NULL
;
6404 } Py_INCREF(Py_None
);
6405 _resultobj
= Py_None
;
6409 static void *SwigwxJoystickTowxObject(void *ptr
) {
6412 src
= (wxJoystick
*) ptr
;
6413 dest
= (wxObject
*) src
;
6414 return (void *) dest
;
6417 #define new_wxJoystick(_swigarg0) (new wxJoystick(_swigarg0))
6418 static PyObject
*_wrap_new_wxJoystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6419 PyObject
* _resultobj
;
6420 wxJoystick
* _result
;
6421 int _arg0
= (int ) wxJOYSTICK1
;
6422 char *_kwnames
[] = { "joystick", NULL
};
6426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxJoystick",_kwnames
,&_arg0
))
6429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6430 _result
= (wxJoystick
*)new_wxJoystick(_arg0
);
6432 wxPyEndAllowThreads(__tstate
);
6433 if (PyErr_Occurred()) return NULL
;
6435 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxJoystick_p");
6436 _resultobj
= Py_BuildValue("s",_ptemp
);
6439 _resultobj
= Py_None
;
6444 #define delete_wxJoystick(_swigobj) (delete _swigobj)
6445 static PyObject
*_wrap_delete_wxJoystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6446 PyObject
* _resultobj
;
6448 PyObject
* _argo0
= 0;
6449 char *_kwnames
[] = { "self", NULL
};
6452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxJoystick",_kwnames
,&_argo0
))
6455 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6456 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6457 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxJoystick. Expected _wxJoystick_p.");
6462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6463 delete_wxJoystick(_arg0
);
6465 wxPyEndAllowThreads(__tstate
);
6466 if (PyErr_Occurred()) return NULL
;
6467 } Py_INCREF(Py_None
);
6468 _resultobj
= Py_None
;
6472 #define wxJoystick_GetPosition(_swigobj) (_swigobj->GetPosition())
6473 static PyObject
*_wrap_wxJoystick_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6474 PyObject
* _resultobj
;
6477 PyObject
* _argo0
= 0;
6478 char *_kwnames
[] = { "self", NULL
};
6482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPosition",_kwnames
,&_argo0
))
6485 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6486 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6487 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPosition. Expected _wxJoystick_p.");
6492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6493 _result
= new wxPoint (wxJoystick_GetPosition(_arg0
));
6495 wxPyEndAllowThreads(__tstate
);
6496 if (PyErr_Occurred()) return NULL
;
6497 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
6498 _resultobj
= Py_BuildValue("s",_ptemp
);
6502 #define wxJoystick_GetZPosition(_swigobj) (_swigobj->GetZPosition())
6503 static PyObject
*_wrap_wxJoystick_GetZPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6504 PyObject
* _resultobj
;
6507 PyObject
* _argo0
= 0;
6508 char *_kwnames
[] = { "self", NULL
};
6511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetZPosition",_kwnames
,&_argo0
))
6514 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6515 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6516 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetZPosition. Expected _wxJoystick_p.");
6521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6522 _result
= (int )wxJoystick_GetZPosition(_arg0
);
6524 wxPyEndAllowThreads(__tstate
);
6525 if (PyErr_Occurred()) return NULL
;
6526 } _resultobj
= Py_BuildValue("i",_result
);
6530 #define wxJoystick_GetButtonState(_swigobj) (_swigobj->GetButtonState())
6531 static PyObject
*_wrap_wxJoystick_GetButtonState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6532 PyObject
* _resultobj
;
6535 PyObject
* _argo0
= 0;
6536 char *_kwnames
[] = { "self", NULL
};
6539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetButtonState",_kwnames
,&_argo0
))
6542 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6543 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6544 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetButtonState. Expected _wxJoystick_p.");
6549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6550 _result
= (int )wxJoystick_GetButtonState(_arg0
);
6552 wxPyEndAllowThreads(__tstate
);
6553 if (PyErr_Occurred()) return NULL
;
6554 } _resultobj
= Py_BuildValue("i",_result
);
6558 #define wxJoystick_GetPOVPosition(_swigobj) (_swigobj->GetPOVPosition())
6559 static PyObject
*_wrap_wxJoystick_GetPOVPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6560 PyObject
* _resultobj
;
6563 PyObject
* _argo0
= 0;
6564 char *_kwnames
[] = { "self", NULL
};
6567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPOVPosition",_kwnames
,&_argo0
))
6570 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6571 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6572 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPOVPosition. Expected _wxJoystick_p.");
6577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6578 _result
= (int )wxJoystick_GetPOVPosition(_arg0
);
6580 wxPyEndAllowThreads(__tstate
);
6581 if (PyErr_Occurred()) return NULL
;
6582 } _resultobj
= Py_BuildValue("i",_result
);
6586 #define wxJoystick_GetPOVCTSPosition(_swigobj) (_swigobj->GetPOVCTSPosition())
6587 static PyObject
*_wrap_wxJoystick_GetPOVCTSPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6588 PyObject
* _resultobj
;
6591 PyObject
* _argo0
= 0;
6592 char *_kwnames
[] = { "self", NULL
};
6595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPOVCTSPosition",_kwnames
,&_argo0
))
6598 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6599 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6600 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPOVCTSPosition. Expected _wxJoystick_p.");
6605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6606 _result
= (int )wxJoystick_GetPOVCTSPosition(_arg0
);
6608 wxPyEndAllowThreads(__tstate
);
6609 if (PyErr_Occurred()) return NULL
;
6610 } _resultobj
= Py_BuildValue("i",_result
);
6614 #define wxJoystick_GetRudderPosition(_swigobj) (_swigobj->GetRudderPosition())
6615 static PyObject
*_wrap_wxJoystick_GetRudderPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6616 PyObject
* _resultobj
;
6619 PyObject
* _argo0
= 0;
6620 char *_kwnames
[] = { "self", NULL
};
6623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetRudderPosition",_kwnames
,&_argo0
))
6626 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6627 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6628 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetRudderPosition. Expected _wxJoystick_p.");
6633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6634 _result
= (int )wxJoystick_GetRudderPosition(_arg0
);
6636 wxPyEndAllowThreads(__tstate
);
6637 if (PyErr_Occurred()) return NULL
;
6638 } _resultobj
= Py_BuildValue("i",_result
);
6642 #define wxJoystick_GetUPosition(_swigobj) (_swigobj->GetUPosition())
6643 static PyObject
*_wrap_wxJoystick_GetUPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6644 PyObject
* _resultobj
;
6647 PyObject
* _argo0
= 0;
6648 char *_kwnames
[] = { "self", NULL
};
6651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetUPosition",_kwnames
,&_argo0
))
6654 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6655 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6656 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetUPosition. Expected _wxJoystick_p.");
6661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6662 _result
= (int )wxJoystick_GetUPosition(_arg0
);
6664 wxPyEndAllowThreads(__tstate
);
6665 if (PyErr_Occurred()) return NULL
;
6666 } _resultobj
= Py_BuildValue("i",_result
);
6670 #define wxJoystick_GetVPosition(_swigobj) (_swigobj->GetVPosition())
6671 static PyObject
*_wrap_wxJoystick_GetVPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6672 PyObject
* _resultobj
;
6675 PyObject
* _argo0
= 0;
6676 char *_kwnames
[] = { "self", NULL
};
6679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetVPosition",_kwnames
,&_argo0
))
6682 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6683 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6684 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetVPosition. Expected _wxJoystick_p.");
6689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6690 _result
= (int )wxJoystick_GetVPosition(_arg0
);
6692 wxPyEndAllowThreads(__tstate
);
6693 if (PyErr_Occurred()) return NULL
;
6694 } _resultobj
= Py_BuildValue("i",_result
);
6698 #define wxJoystick_GetMovementThreshold(_swigobj) (_swigobj->GetMovementThreshold())
6699 static PyObject
*_wrap_wxJoystick_GetMovementThreshold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6700 PyObject
* _resultobj
;
6703 PyObject
* _argo0
= 0;
6704 char *_kwnames
[] = { "self", NULL
};
6707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetMovementThreshold",_kwnames
,&_argo0
))
6710 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6711 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6712 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetMovementThreshold. Expected _wxJoystick_p.");
6717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6718 _result
= (int )wxJoystick_GetMovementThreshold(_arg0
);
6720 wxPyEndAllowThreads(__tstate
);
6721 if (PyErr_Occurred()) return NULL
;
6722 } _resultobj
= Py_BuildValue("i",_result
);
6726 #define wxJoystick_SetMovementThreshold(_swigobj,_swigarg0) (_swigobj->SetMovementThreshold(_swigarg0))
6727 static PyObject
*_wrap_wxJoystick_SetMovementThreshold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6728 PyObject
* _resultobj
;
6731 PyObject
* _argo0
= 0;
6732 char *_kwnames
[] = { "self","threshold", NULL
};
6735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxJoystick_SetMovementThreshold",_kwnames
,&_argo0
,&_arg1
))
6738 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6739 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6740 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_SetMovementThreshold. Expected _wxJoystick_p.");
6745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6746 wxJoystick_SetMovementThreshold(_arg0
,_arg1
);
6748 wxPyEndAllowThreads(__tstate
);
6749 if (PyErr_Occurred()) return NULL
;
6750 } Py_INCREF(Py_None
);
6751 _resultobj
= Py_None
;
6755 #define wxJoystick_IsOk(_swigobj) (_swigobj->IsOk())
6756 static PyObject
*_wrap_wxJoystick_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6757 PyObject
* _resultobj
;
6760 PyObject
* _argo0
= 0;
6761 char *_kwnames
[] = { "self", NULL
};
6764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_IsOk",_kwnames
,&_argo0
))
6767 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6768 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6769 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_IsOk. Expected _wxJoystick_p.");
6774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6775 _result
= (bool )wxJoystick_IsOk(_arg0
);
6777 wxPyEndAllowThreads(__tstate
);
6778 if (PyErr_Occurred()) return NULL
;
6779 } _resultobj
= Py_BuildValue("i",_result
);
6783 #define wxJoystick_GetNumberJoysticks(_swigobj) (_swigobj->GetNumberJoysticks())
6784 static PyObject
*_wrap_wxJoystick_GetNumberJoysticks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6785 PyObject
* _resultobj
;
6788 PyObject
* _argo0
= 0;
6789 char *_kwnames
[] = { "self", NULL
};
6792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetNumberJoysticks",_kwnames
,&_argo0
))
6795 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6796 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6797 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetNumberJoysticks. Expected _wxJoystick_p.");
6802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6803 _result
= (int )wxJoystick_GetNumberJoysticks(_arg0
);
6805 wxPyEndAllowThreads(__tstate
);
6806 if (PyErr_Occurred()) return NULL
;
6807 } _resultobj
= Py_BuildValue("i",_result
);
6811 #define wxJoystick_GetManufacturerId(_swigobj) (_swigobj->GetManufacturerId())
6812 static PyObject
*_wrap_wxJoystick_GetManufacturerId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6813 PyObject
* _resultobj
;
6816 PyObject
* _argo0
= 0;
6817 char *_kwnames
[] = { "self", NULL
};
6820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetManufacturerId",_kwnames
,&_argo0
))
6823 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6824 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6825 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetManufacturerId. Expected _wxJoystick_p.");
6830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6831 _result
= (int )wxJoystick_GetManufacturerId(_arg0
);
6833 wxPyEndAllowThreads(__tstate
);
6834 if (PyErr_Occurred()) return NULL
;
6835 } _resultobj
= Py_BuildValue("i",_result
);
6839 #define wxJoystick_GetProductId(_swigobj) (_swigobj->GetProductId())
6840 static PyObject
*_wrap_wxJoystick_GetProductId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6841 PyObject
* _resultobj
;
6844 PyObject
* _argo0
= 0;
6845 char *_kwnames
[] = { "self", NULL
};
6848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetProductId",_kwnames
,&_argo0
))
6851 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6852 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6853 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetProductId. Expected _wxJoystick_p.");
6858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6859 _result
= (int )wxJoystick_GetProductId(_arg0
);
6861 wxPyEndAllowThreads(__tstate
);
6862 if (PyErr_Occurred()) return NULL
;
6863 } _resultobj
= Py_BuildValue("i",_result
);
6867 #define wxJoystick_GetProductName(_swigobj) (_swigobj->GetProductName())
6868 static PyObject
*_wrap_wxJoystick_GetProductName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6869 PyObject
* _resultobj
;
6872 PyObject
* _argo0
= 0;
6873 char *_kwnames
[] = { "self", NULL
};
6876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetProductName",_kwnames
,&_argo0
))
6879 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6880 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6881 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetProductName. Expected _wxJoystick_p.");
6886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6887 _result
= new wxString (wxJoystick_GetProductName(_arg0
));
6889 wxPyEndAllowThreads(__tstate
);
6890 if (PyErr_Occurred()) return NULL
;
6892 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
6900 #define wxJoystick_GetXMin(_swigobj) (_swigobj->GetXMin())
6901 static PyObject
*_wrap_wxJoystick_GetXMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6902 PyObject
* _resultobj
;
6905 PyObject
* _argo0
= 0;
6906 char *_kwnames
[] = { "self", NULL
};
6909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetXMin",_kwnames
,&_argo0
))
6912 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6913 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6914 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetXMin. Expected _wxJoystick_p.");
6919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6920 _result
= (int )wxJoystick_GetXMin(_arg0
);
6922 wxPyEndAllowThreads(__tstate
);
6923 if (PyErr_Occurred()) return NULL
;
6924 } _resultobj
= Py_BuildValue("i",_result
);
6928 #define wxJoystick_GetYMin(_swigobj) (_swigobj->GetYMin())
6929 static PyObject
*_wrap_wxJoystick_GetYMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6930 PyObject
* _resultobj
;
6933 PyObject
* _argo0
= 0;
6934 char *_kwnames
[] = { "self", NULL
};
6937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetYMin",_kwnames
,&_argo0
))
6940 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6941 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6942 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetYMin. Expected _wxJoystick_p.");
6947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6948 _result
= (int )wxJoystick_GetYMin(_arg0
);
6950 wxPyEndAllowThreads(__tstate
);
6951 if (PyErr_Occurred()) return NULL
;
6952 } _resultobj
= Py_BuildValue("i",_result
);
6956 #define wxJoystick_GetZMin(_swigobj) (_swigobj->GetZMin())
6957 static PyObject
*_wrap_wxJoystick_GetZMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6958 PyObject
* _resultobj
;
6961 PyObject
* _argo0
= 0;
6962 char *_kwnames
[] = { "self", NULL
};
6965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetZMin",_kwnames
,&_argo0
))
6968 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6969 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6970 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetZMin. Expected _wxJoystick_p.");
6975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6976 _result
= (int )wxJoystick_GetZMin(_arg0
);
6978 wxPyEndAllowThreads(__tstate
);
6979 if (PyErr_Occurred()) return NULL
;
6980 } _resultobj
= Py_BuildValue("i",_result
);
6984 #define wxJoystick_GetXMax(_swigobj) (_swigobj->GetXMax())
6985 static PyObject
*_wrap_wxJoystick_GetXMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6986 PyObject
* _resultobj
;
6989 PyObject
* _argo0
= 0;
6990 char *_kwnames
[] = { "self", NULL
};
6993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetXMax",_kwnames
,&_argo0
))
6996 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6997 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6998 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetXMax. Expected _wxJoystick_p.");
7003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7004 _result
= (int )wxJoystick_GetXMax(_arg0
);
7006 wxPyEndAllowThreads(__tstate
);
7007 if (PyErr_Occurred()) return NULL
;
7008 } _resultobj
= Py_BuildValue("i",_result
);
7012 #define wxJoystick_GetYMax(_swigobj) (_swigobj->GetYMax())
7013 static PyObject
*_wrap_wxJoystick_GetYMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7014 PyObject
* _resultobj
;
7017 PyObject
* _argo0
= 0;
7018 char *_kwnames
[] = { "self", NULL
};
7021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetYMax",_kwnames
,&_argo0
))
7024 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7025 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7026 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetYMax. Expected _wxJoystick_p.");
7031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7032 _result
= (int )wxJoystick_GetYMax(_arg0
);
7034 wxPyEndAllowThreads(__tstate
);
7035 if (PyErr_Occurred()) return NULL
;
7036 } _resultobj
= Py_BuildValue("i",_result
);
7040 #define wxJoystick_GetZMax(_swigobj) (_swigobj->GetZMax())
7041 static PyObject
*_wrap_wxJoystick_GetZMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7042 PyObject
* _resultobj
;
7045 PyObject
* _argo0
= 0;
7046 char *_kwnames
[] = { "self", NULL
};
7049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetZMax",_kwnames
,&_argo0
))
7052 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7053 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7054 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetZMax. Expected _wxJoystick_p.");
7059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7060 _result
= (int )wxJoystick_GetZMax(_arg0
);
7062 wxPyEndAllowThreads(__tstate
);
7063 if (PyErr_Occurred()) return NULL
;
7064 } _resultobj
= Py_BuildValue("i",_result
);
7068 #define wxJoystick_GetNumberButtons(_swigobj) (_swigobj->GetNumberButtons())
7069 static PyObject
*_wrap_wxJoystick_GetNumberButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7070 PyObject
* _resultobj
;
7073 PyObject
* _argo0
= 0;
7074 char *_kwnames
[] = { "self", NULL
};
7077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetNumberButtons",_kwnames
,&_argo0
))
7080 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7081 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7082 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetNumberButtons. Expected _wxJoystick_p.");
7087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7088 _result
= (int )wxJoystick_GetNumberButtons(_arg0
);
7090 wxPyEndAllowThreads(__tstate
);
7091 if (PyErr_Occurred()) return NULL
;
7092 } _resultobj
= Py_BuildValue("i",_result
);
7096 #define wxJoystick_GetNumberAxes(_swigobj) (_swigobj->GetNumberAxes())
7097 static PyObject
*_wrap_wxJoystick_GetNumberAxes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7098 PyObject
* _resultobj
;
7101 PyObject
* _argo0
= 0;
7102 char *_kwnames
[] = { "self", NULL
};
7105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetNumberAxes",_kwnames
,&_argo0
))
7108 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7109 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7110 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetNumberAxes. Expected _wxJoystick_p.");
7115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7116 _result
= (int )wxJoystick_GetNumberAxes(_arg0
);
7118 wxPyEndAllowThreads(__tstate
);
7119 if (PyErr_Occurred()) return NULL
;
7120 } _resultobj
= Py_BuildValue("i",_result
);
7124 #define wxJoystick_GetMaxButtons(_swigobj) (_swigobj->GetMaxButtons())
7125 static PyObject
*_wrap_wxJoystick_GetMaxButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7126 PyObject
* _resultobj
;
7129 PyObject
* _argo0
= 0;
7130 char *_kwnames
[] = { "self", NULL
};
7133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetMaxButtons",_kwnames
,&_argo0
))
7136 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7137 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7138 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetMaxButtons. Expected _wxJoystick_p.");
7143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7144 _result
= (int )wxJoystick_GetMaxButtons(_arg0
);
7146 wxPyEndAllowThreads(__tstate
);
7147 if (PyErr_Occurred()) return NULL
;
7148 } _resultobj
= Py_BuildValue("i",_result
);
7152 #define wxJoystick_GetMaxAxes(_swigobj) (_swigobj->GetMaxAxes())
7153 static PyObject
*_wrap_wxJoystick_GetMaxAxes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7154 PyObject
* _resultobj
;
7157 PyObject
* _argo0
= 0;
7158 char *_kwnames
[] = { "self", NULL
};
7161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetMaxAxes",_kwnames
,&_argo0
))
7164 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7165 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7166 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetMaxAxes. Expected _wxJoystick_p.");
7171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7172 _result
= (int )wxJoystick_GetMaxAxes(_arg0
);
7174 wxPyEndAllowThreads(__tstate
);
7175 if (PyErr_Occurred()) return NULL
;
7176 } _resultobj
= Py_BuildValue("i",_result
);
7180 #define wxJoystick_GetPollingMin(_swigobj) (_swigobj->GetPollingMin())
7181 static PyObject
*_wrap_wxJoystick_GetPollingMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7182 PyObject
* _resultobj
;
7185 PyObject
* _argo0
= 0;
7186 char *_kwnames
[] = { "self", NULL
};
7189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPollingMin",_kwnames
,&_argo0
))
7192 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7193 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7194 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPollingMin. Expected _wxJoystick_p.");
7199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7200 _result
= (int )wxJoystick_GetPollingMin(_arg0
);
7202 wxPyEndAllowThreads(__tstate
);
7203 if (PyErr_Occurred()) return NULL
;
7204 } _resultobj
= Py_BuildValue("i",_result
);
7208 #define wxJoystick_GetPollingMax(_swigobj) (_swigobj->GetPollingMax())
7209 static PyObject
*_wrap_wxJoystick_GetPollingMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7210 PyObject
* _resultobj
;
7213 PyObject
* _argo0
= 0;
7214 char *_kwnames
[] = { "self", NULL
};
7217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPollingMax",_kwnames
,&_argo0
))
7220 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7221 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7222 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPollingMax. Expected _wxJoystick_p.");
7227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7228 _result
= (int )wxJoystick_GetPollingMax(_arg0
);
7230 wxPyEndAllowThreads(__tstate
);
7231 if (PyErr_Occurred()) return NULL
;
7232 } _resultobj
= Py_BuildValue("i",_result
);
7236 #define wxJoystick_GetRudderMin(_swigobj) (_swigobj->GetRudderMin())
7237 static PyObject
*_wrap_wxJoystick_GetRudderMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7238 PyObject
* _resultobj
;
7241 PyObject
* _argo0
= 0;
7242 char *_kwnames
[] = { "self", NULL
};
7245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetRudderMin",_kwnames
,&_argo0
))
7248 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7249 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7250 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetRudderMin. Expected _wxJoystick_p.");
7255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7256 _result
= (int )wxJoystick_GetRudderMin(_arg0
);
7258 wxPyEndAllowThreads(__tstate
);
7259 if (PyErr_Occurred()) return NULL
;
7260 } _resultobj
= Py_BuildValue("i",_result
);
7264 #define wxJoystick_GetRudderMax(_swigobj) (_swigobj->GetRudderMax())
7265 static PyObject
*_wrap_wxJoystick_GetRudderMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7266 PyObject
* _resultobj
;
7269 PyObject
* _argo0
= 0;
7270 char *_kwnames
[] = { "self", NULL
};
7273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetRudderMax",_kwnames
,&_argo0
))
7276 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7277 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7278 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetRudderMax. Expected _wxJoystick_p.");
7283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7284 _result
= (int )wxJoystick_GetRudderMax(_arg0
);
7286 wxPyEndAllowThreads(__tstate
);
7287 if (PyErr_Occurred()) return NULL
;
7288 } _resultobj
= Py_BuildValue("i",_result
);
7292 #define wxJoystick_GetUMin(_swigobj) (_swigobj->GetUMin())
7293 static PyObject
*_wrap_wxJoystick_GetUMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7294 PyObject
* _resultobj
;
7297 PyObject
* _argo0
= 0;
7298 char *_kwnames
[] = { "self", NULL
};
7301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetUMin",_kwnames
,&_argo0
))
7304 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7305 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7306 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetUMin. Expected _wxJoystick_p.");
7311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7312 _result
= (int )wxJoystick_GetUMin(_arg0
);
7314 wxPyEndAllowThreads(__tstate
);
7315 if (PyErr_Occurred()) return NULL
;
7316 } _resultobj
= Py_BuildValue("i",_result
);
7320 #define wxJoystick_GetUMax(_swigobj) (_swigobj->GetUMax())
7321 static PyObject
*_wrap_wxJoystick_GetUMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7322 PyObject
* _resultobj
;
7325 PyObject
* _argo0
= 0;
7326 char *_kwnames
[] = { "self", NULL
};
7329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetUMax",_kwnames
,&_argo0
))
7332 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7333 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7334 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetUMax. Expected _wxJoystick_p.");
7339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7340 _result
= (int )wxJoystick_GetUMax(_arg0
);
7342 wxPyEndAllowThreads(__tstate
);
7343 if (PyErr_Occurred()) return NULL
;
7344 } _resultobj
= Py_BuildValue("i",_result
);
7348 #define wxJoystick_GetVMin(_swigobj) (_swigobj->GetVMin())
7349 static PyObject
*_wrap_wxJoystick_GetVMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7350 PyObject
* _resultobj
;
7353 PyObject
* _argo0
= 0;
7354 char *_kwnames
[] = { "self", NULL
};
7357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetVMin",_kwnames
,&_argo0
))
7360 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7361 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7362 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetVMin. Expected _wxJoystick_p.");
7367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7368 _result
= (int )wxJoystick_GetVMin(_arg0
);
7370 wxPyEndAllowThreads(__tstate
);
7371 if (PyErr_Occurred()) return NULL
;
7372 } _resultobj
= Py_BuildValue("i",_result
);
7376 #define wxJoystick_GetVMax(_swigobj) (_swigobj->GetVMax())
7377 static PyObject
*_wrap_wxJoystick_GetVMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7378 PyObject
* _resultobj
;
7381 PyObject
* _argo0
= 0;
7382 char *_kwnames
[] = { "self", NULL
};
7385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetVMax",_kwnames
,&_argo0
))
7388 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7389 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7390 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetVMax. Expected _wxJoystick_p.");
7395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7396 _result
= (int )wxJoystick_GetVMax(_arg0
);
7398 wxPyEndAllowThreads(__tstate
);
7399 if (PyErr_Occurred()) return NULL
;
7400 } _resultobj
= Py_BuildValue("i",_result
);
7404 #define wxJoystick_HasRudder(_swigobj) (_swigobj->HasRudder())
7405 static PyObject
*_wrap_wxJoystick_HasRudder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7406 PyObject
* _resultobj
;
7409 PyObject
* _argo0
= 0;
7410 char *_kwnames
[] = { "self", NULL
};
7413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasRudder",_kwnames
,&_argo0
))
7416 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7417 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7418 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasRudder. Expected _wxJoystick_p.");
7423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7424 _result
= (bool )wxJoystick_HasRudder(_arg0
);
7426 wxPyEndAllowThreads(__tstate
);
7427 if (PyErr_Occurred()) return NULL
;
7428 } _resultobj
= Py_BuildValue("i",_result
);
7432 #define wxJoystick_HasZ(_swigobj) (_swigobj->HasZ())
7433 static PyObject
*_wrap_wxJoystick_HasZ(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7434 PyObject
* _resultobj
;
7437 PyObject
* _argo0
= 0;
7438 char *_kwnames
[] = { "self", NULL
};
7441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasZ",_kwnames
,&_argo0
))
7444 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7445 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7446 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasZ. Expected _wxJoystick_p.");
7451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7452 _result
= (bool )wxJoystick_HasZ(_arg0
);
7454 wxPyEndAllowThreads(__tstate
);
7455 if (PyErr_Occurred()) return NULL
;
7456 } _resultobj
= Py_BuildValue("i",_result
);
7460 #define wxJoystick_HasU(_swigobj) (_swigobj->HasU())
7461 static PyObject
*_wrap_wxJoystick_HasU(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7462 PyObject
* _resultobj
;
7465 PyObject
* _argo0
= 0;
7466 char *_kwnames
[] = { "self", NULL
};
7469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasU",_kwnames
,&_argo0
))
7472 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7473 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7474 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasU. Expected _wxJoystick_p.");
7479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7480 _result
= (bool )wxJoystick_HasU(_arg0
);
7482 wxPyEndAllowThreads(__tstate
);
7483 if (PyErr_Occurred()) return NULL
;
7484 } _resultobj
= Py_BuildValue("i",_result
);
7488 #define wxJoystick_HasV(_swigobj) (_swigobj->HasV())
7489 static PyObject
*_wrap_wxJoystick_HasV(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7490 PyObject
* _resultobj
;
7493 PyObject
* _argo0
= 0;
7494 char *_kwnames
[] = { "self", NULL
};
7497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasV",_kwnames
,&_argo0
))
7500 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7501 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7502 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasV. Expected _wxJoystick_p.");
7507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7508 _result
= (bool )wxJoystick_HasV(_arg0
);
7510 wxPyEndAllowThreads(__tstate
);
7511 if (PyErr_Occurred()) return NULL
;
7512 } _resultobj
= Py_BuildValue("i",_result
);
7516 #define wxJoystick_HasPOV(_swigobj) (_swigobj->HasPOV())
7517 static PyObject
*_wrap_wxJoystick_HasPOV(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7518 PyObject
* _resultobj
;
7521 PyObject
* _argo0
= 0;
7522 char *_kwnames
[] = { "self", NULL
};
7525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasPOV",_kwnames
,&_argo0
))
7528 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7529 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7530 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasPOV. Expected _wxJoystick_p.");
7535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7536 _result
= (bool )wxJoystick_HasPOV(_arg0
);
7538 wxPyEndAllowThreads(__tstate
);
7539 if (PyErr_Occurred()) return NULL
;
7540 } _resultobj
= Py_BuildValue("i",_result
);
7544 #define wxJoystick_HasPOV4Dir(_swigobj) (_swigobj->HasPOV4Dir())
7545 static PyObject
*_wrap_wxJoystick_HasPOV4Dir(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7546 PyObject
* _resultobj
;
7549 PyObject
* _argo0
= 0;
7550 char *_kwnames
[] = { "self", NULL
};
7553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasPOV4Dir",_kwnames
,&_argo0
))
7556 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7557 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7558 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasPOV4Dir. Expected _wxJoystick_p.");
7563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7564 _result
= (bool )wxJoystick_HasPOV4Dir(_arg0
);
7566 wxPyEndAllowThreads(__tstate
);
7567 if (PyErr_Occurred()) return NULL
;
7568 } _resultobj
= Py_BuildValue("i",_result
);
7572 #define wxJoystick_HasPOVCTS(_swigobj) (_swigobj->HasPOVCTS())
7573 static PyObject
*_wrap_wxJoystick_HasPOVCTS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7574 PyObject
* _resultobj
;
7577 PyObject
* _argo0
= 0;
7578 char *_kwnames
[] = { "self", NULL
};
7581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasPOVCTS",_kwnames
,&_argo0
))
7584 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7585 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7586 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasPOVCTS. Expected _wxJoystick_p.");
7591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7592 _result
= (bool )wxJoystick_HasPOVCTS(_arg0
);
7594 wxPyEndAllowThreads(__tstate
);
7595 if (PyErr_Occurred()) return NULL
;
7596 } _resultobj
= Py_BuildValue("i",_result
);
7600 #define wxJoystick_SetCapture(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetCapture(_swigarg0,_swigarg1))
7601 static PyObject
*_wrap_wxJoystick_SetCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7602 PyObject
* _resultobj
;
7606 int _arg2
= (int ) 0;
7607 PyObject
* _argo0
= 0;
7608 PyObject
* _argo1
= 0;
7609 char *_kwnames
[] = { "self","win","pollingFreq", NULL
};
7612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxJoystick_SetCapture",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
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_SetCapture. Expected _wxJoystick_p.");
7622 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7623 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
7624 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxJoystick_SetCapture. Expected _wxWindow_p.");
7629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7630 _result
= (bool )wxJoystick_SetCapture(_arg0
,_arg1
,_arg2
);
7632 wxPyEndAllowThreads(__tstate
);
7633 if (PyErr_Occurred()) return NULL
;
7634 } _resultobj
= Py_BuildValue("i",_result
);
7638 #define wxJoystick_ReleaseCapture(_swigobj) (_swigobj->ReleaseCapture())
7639 static PyObject
*_wrap_wxJoystick_ReleaseCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7640 PyObject
* _resultobj
;
7643 PyObject
* _argo0
= 0;
7644 char *_kwnames
[] = { "self", NULL
};
7647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_ReleaseCapture",_kwnames
,&_argo0
))
7650 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7651 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7652 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_ReleaseCapture. Expected _wxJoystick_p.");
7657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7658 _result
= (bool )wxJoystick_ReleaseCapture(_arg0
);
7660 wxPyEndAllowThreads(__tstate
);
7661 if (PyErr_Occurred()) return NULL
;
7662 } _resultobj
= Py_BuildValue("i",_result
);
7666 static void *SwigwxWaveTowxObject(void *ptr
) {
7669 src
= (wxWave
*) ptr
;
7670 dest
= (wxObject
*) src
;
7671 return (void *) dest
;
7674 #define new_wxWave(_swigarg0,_swigarg1) (new wxWave(_swigarg0,_swigarg1))
7675 static PyObject
*_wrap_new_wxWave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7676 PyObject
* _resultobj
;
7679 bool _arg1
= (bool ) FALSE
;
7680 PyObject
* _obj0
= 0;
7681 int tempbool1
= (int) FALSE
;
7682 char *_kwnames
[] = { "fileName","isResource", NULL
};
7686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:new_wxWave",_kwnames
,&_obj0
,&tempbool1
))
7689 #if PYTHON_API_VERSION >= 1009
7690 char* tmpPtr
; int tmpSize
;
7691 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
7692 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7695 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
7697 _arg0
= new wxString(tmpPtr
, tmpSize
);
7699 if (!PyString_Check(_obj0
)) {
7700 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7703 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
7706 _arg1
= (bool ) tempbool1
;
7708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7709 _result
= (wxWave
*)new_wxWave(*_arg0
,_arg1
);
7711 wxPyEndAllowThreads(__tstate
);
7712 if (PyErr_Occurred()) return NULL
;
7714 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWave_p");
7715 _resultobj
= Py_BuildValue("s",_ptemp
);
7718 _resultobj
= Py_None
;
7727 #define delete_wxWave(_swigobj) (delete _swigobj)
7728 static PyObject
*_wrap_delete_wxWave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7729 PyObject
* _resultobj
;
7731 PyObject
* _argo0
= 0;
7732 char *_kwnames
[] = { "self", NULL
};
7735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxWave",_kwnames
,&_argo0
))
7738 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7739 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWave_p")) {
7740 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxWave. Expected _wxWave_p.");
7745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7746 delete_wxWave(_arg0
);
7748 wxPyEndAllowThreads(__tstate
);
7749 if (PyErr_Occurred()) return NULL
;
7750 } Py_INCREF(Py_None
);
7751 _resultobj
= Py_None
;
7755 #define wxWave_IsOk(_swigobj) (_swigobj->IsOk())
7756 static PyObject
*_wrap_wxWave_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7757 PyObject
* _resultobj
;
7760 PyObject
* _argo0
= 0;
7761 char *_kwnames
[] = { "self", NULL
};
7764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWave_IsOk",_kwnames
,&_argo0
))
7767 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7768 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWave_p")) {
7769 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWave_IsOk. Expected _wxWave_p.");
7774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7775 _result
= (bool )wxWave_IsOk(_arg0
);
7777 wxPyEndAllowThreads(__tstate
);
7778 if (PyErr_Occurred()) return NULL
;
7779 } _resultobj
= Py_BuildValue("i",_result
);
7783 #define wxWave_Play(_swigobj,_swigarg0,_swigarg1) (_swigobj->Play(_swigarg0,_swigarg1))
7784 static PyObject
*_wrap_wxWave_Play(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7785 PyObject
* _resultobj
;
7788 bool _arg1
= (bool ) TRUE
;
7789 bool _arg2
= (bool ) FALSE
;
7790 PyObject
* _argo0
= 0;
7791 int tempbool1
= (int) TRUE
;
7792 int tempbool2
= (int) FALSE
;
7793 char *_kwnames
[] = { "self","async","looped", NULL
};
7796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxWave_Play",_kwnames
,&_argo0
,&tempbool1
,&tempbool2
))
7799 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7800 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWave_p")) {
7801 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWave_Play. Expected _wxWave_p.");
7805 _arg1
= (bool ) tempbool1
;
7806 _arg2
= (bool ) tempbool2
;
7808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7809 _result
= (bool )wxWave_Play(_arg0
,_arg1
,_arg2
);
7811 wxPyEndAllowThreads(__tstate
);
7812 if (PyErr_Occurred()) return NULL
;
7813 } _resultobj
= Py_BuildValue("i",_result
);
7817 #define new_wxFileTypeInfo(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxFileTypeInfo(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7818 static PyObject
*_wrap_new_wxFileTypeInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7819 PyObject
* _resultobj
;
7820 wxFileTypeInfo
* _result
;
7825 char *_kwnames
[] = { "mimeType","openCmd","printCmd","desc", NULL
};
7829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"ssss:new_wxFileTypeInfo",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
))
7832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7833 _result
= (wxFileTypeInfo
*)new_wxFileTypeInfo(_arg0
,_arg1
,_arg2
,_arg3
);
7835 wxPyEndAllowThreads(__tstate
);
7836 if (PyErr_Occurred()) return NULL
;
7838 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileTypeInfo_p");
7839 _resultobj
= Py_BuildValue("s",_ptemp
);
7842 _resultobj
= Py_None
;
7847 #define new_wxFileTypeInfoSequence(_swigarg0) (new wxFileTypeInfo(_swigarg0))
7848 static PyObject
*_wrap_new_wxFileTypeInfoSequence(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7849 PyObject
* _resultobj
;
7850 wxFileTypeInfo
* _result
;
7851 wxArrayString
* _arg0
;
7852 PyObject
* _obj0
= 0;
7853 char *_kwnames
[] = { "sArray", NULL
};
7857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxFileTypeInfoSequence",_kwnames
,&_obj0
))
7860 if (! PySequence_Check(_obj0
)) {
7861 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
7864 _arg0
= new wxArrayString
;
7865 int i
, len
=PySequence_Length(_obj0
);
7866 for (i
=0; i
<len
; i
++) {
7867 PyObject
* item
= PySequence_GetItem(_obj0
, i
);
7868 PyObject
* str
= PyObject_Str(item
);
7869 _arg0
->Add(PyString_AsString(item
));
7875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7876 _result
= (wxFileTypeInfo
*)new_wxFileTypeInfoSequence(*_arg0
);
7878 wxPyEndAllowThreads(__tstate
);
7879 if (PyErr_Occurred()) return NULL
;
7881 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileTypeInfo_p");
7882 _resultobj
= Py_BuildValue("s",_ptemp
);
7885 _resultobj
= Py_None
;
7894 #define new_wxNullFileTypeInfo() (new wxFileTypeInfo())
7895 static PyObject
*_wrap_new_wxNullFileTypeInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7896 PyObject
* _resultobj
;
7897 wxFileTypeInfo
* _result
;
7898 char *_kwnames
[] = { NULL
};
7902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxNullFileTypeInfo",_kwnames
))
7905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7906 _result
= (wxFileTypeInfo
*)new_wxNullFileTypeInfo();
7908 wxPyEndAllowThreads(__tstate
);
7909 if (PyErr_Occurred()) return NULL
;
7911 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileTypeInfo_p");
7912 _resultobj
= Py_BuildValue("s",_ptemp
);
7915 _resultobj
= Py_None
;
7920 #define wxFileTypeInfo_IsValid(_swigobj) (_swigobj->IsValid())
7921 static PyObject
*_wrap_wxFileTypeInfo_IsValid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7922 PyObject
* _resultobj
;
7924 wxFileTypeInfo
* _arg0
;
7925 PyObject
* _argo0
= 0;
7926 char *_kwnames
[] = { "self", NULL
};
7929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_IsValid",_kwnames
,&_argo0
))
7932 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7933 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
7934 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_IsValid. Expected _wxFileTypeInfo_p.");
7939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7940 _result
= (bool )wxFileTypeInfo_IsValid(_arg0
);
7942 wxPyEndAllowThreads(__tstate
);
7943 if (PyErr_Occurred()) return NULL
;
7944 } _resultobj
= Py_BuildValue("i",_result
);
7948 #define wxFileTypeInfo_SetIcon(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetIcon(_swigarg0,_swigarg1))
7949 static PyObject
*_wrap_wxFileTypeInfo_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7950 PyObject
* _resultobj
;
7951 wxFileTypeInfo
* _arg0
;
7953 int _arg2
= (int ) 0;
7954 PyObject
* _argo0
= 0;
7955 PyObject
* _obj1
= 0;
7956 char *_kwnames
[] = { "self","iconFile","iconIndex", NULL
};
7959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxFileTypeInfo_SetIcon",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
7962 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7963 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
7964 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_SetIcon. Expected _wxFileTypeInfo_p.");
7969 #if PYTHON_API_VERSION >= 1009
7970 char* tmpPtr
; int tmpSize
;
7971 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
7972 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7975 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
7977 _arg1
= new wxString(tmpPtr
, tmpSize
);
7979 if (!PyString_Check(_obj1
)) {
7980 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7983 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
7987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7988 wxFileTypeInfo_SetIcon(_arg0
,*_arg1
,_arg2
);
7990 wxPyEndAllowThreads(__tstate
);
7991 if (PyErr_Occurred()) return NULL
;
7992 } Py_INCREF(Py_None
);
7993 _resultobj
= Py_None
;
8001 #define wxFileTypeInfo_SetShortDesc(_swigobj,_swigarg0) (_swigobj->SetShortDesc(_swigarg0))
8002 static PyObject
*_wrap_wxFileTypeInfo_SetShortDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8003 PyObject
* _resultobj
;
8004 wxFileTypeInfo
* _arg0
;
8006 PyObject
* _argo0
= 0;
8007 PyObject
* _obj1
= 0;
8008 char *_kwnames
[] = { "self","shortDesc", NULL
};
8011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileTypeInfo_SetShortDesc",_kwnames
,&_argo0
,&_obj1
))
8014 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8015 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8016 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_SetShortDesc. Expected _wxFileTypeInfo_p.");
8021 #if PYTHON_API_VERSION >= 1009
8022 char* tmpPtr
; int tmpSize
;
8023 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
8024 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8027 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
8029 _arg1
= new wxString(tmpPtr
, tmpSize
);
8031 if (!PyString_Check(_obj1
)) {
8032 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8035 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
8039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8040 wxFileTypeInfo_SetShortDesc(_arg0
,*_arg1
);
8042 wxPyEndAllowThreads(__tstate
);
8043 if (PyErr_Occurred()) return NULL
;
8044 } Py_INCREF(Py_None
);
8045 _resultobj
= Py_None
;
8053 #define wxFileTypeInfo_GetMimeType(_swigobj) (_swigobj->GetMimeType())
8054 static PyObject
*_wrap_wxFileTypeInfo_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8055 PyObject
* _resultobj
;
8057 wxFileTypeInfo
* _arg0
;
8058 PyObject
* _argo0
= 0;
8059 char *_kwnames
[] = { "self", NULL
};
8062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetMimeType",_kwnames
,&_argo0
))
8065 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8066 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8067 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetMimeType. Expected _wxFileTypeInfo_p.");
8072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8073 const wxString
& _result_ref
= wxFileTypeInfo_GetMimeType(_arg0
);
8074 _result
= (wxString
*) &_result_ref
;
8076 wxPyEndAllowThreads(__tstate
);
8077 if (PyErr_Occurred()) return NULL
;
8079 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8084 #define wxFileTypeInfo_GetOpenCommand(_swigobj) (_swigobj->GetOpenCommand())
8085 static PyObject
*_wrap_wxFileTypeInfo_GetOpenCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8086 PyObject
* _resultobj
;
8088 wxFileTypeInfo
* _arg0
;
8089 PyObject
* _argo0
= 0;
8090 char *_kwnames
[] = { "self", NULL
};
8093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetOpenCommand",_kwnames
,&_argo0
))
8096 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8097 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8098 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetOpenCommand. Expected _wxFileTypeInfo_p.");
8103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8104 const wxString
& _result_ref
= wxFileTypeInfo_GetOpenCommand(_arg0
);
8105 _result
= (wxString
*) &_result_ref
;
8107 wxPyEndAllowThreads(__tstate
);
8108 if (PyErr_Occurred()) return NULL
;
8110 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8115 #define wxFileTypeInfo_GetPrintCommand(_swigobj) (_swigobj->GetPrintCommand())
8116 static PyObject
*_wrap_wxFileTypeInfo_GetPrintCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8117 PyObject
* _resultobj
;
8119 wxFileTypeInfo
* _arg0
;
8120 PyObject
* _argo0
= 0;
8121 char *_kwnames
[] = { "self", NULL
};
8124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetPrintCommand",_kwnames
,&_argo0
))
8127 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8128 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8129 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetPrintCommand. Expected _wxFileTypeInfo_p.");
8134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8135 const wxString
& _result_ref
= wxFileTypeInfo_GetPrintCommand(_arg0
);
8136 _result
= (wxString
*) &_result_ref
;
8138 wxPyEndAllowThreads(__tstate
);
8139 if (PyErr_Occurred()) return NULL
;
8141 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8146 #define wxFileTypeInfo_GetShortDesc(_swigobj) (_swigobj->GetShortDesc())
8147 static PyObject
*_wrap_wxFileTypeInfo_GetShortDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8148 PyObject
* _resultobj
;
8150 wxFileTypeInfo
* _arg0
;
8151 PyObject
* _argo0
= 0;
8152 char *_kwnames
[] = { "self", NULL
};
8155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetShortDesc",_kwnames
,&_argo0
))
8158 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8159 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8160 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetShortDesc. Expected _wxFileTypeInfo_p.");
8165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8166 const wxString
& _result_ref
= wxFileTypeInfo_GetShortDesc(_arg0
);
8167 _result
= (wxString
*) &_result_ref
;
8169 wxPyEndAllowThreads(__tstate
);
8170 if (PyErr_Occurred()) return NULL
;
8172 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8177 #define wxFileTypeInfo_GetDescription(_swigobj) (_swigobj->GetDescription())
8178 static PyObject
*_wrap_wxFileTypeInfo_GetDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8179 PyObject
* _resultobj
;
8181 wxFileTypeInfo
* _arg0
;
8182 PyObject
* _argo0
= 0;
8183 char *_kwnames
[] = { "self", NULL
};
8186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetDescription",_kwnames
,&_argo0
))
8189 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8190 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8191 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetDescription. Expected _wxFileTypeInfo_p.");
8196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8197 const wxString
& _result_ref
= wxFileTypeInfo_GetDescription(_arg0
);
8198 _result
= (wxString
*) &_result_ref
;
8200 wxPyEndAllowThreads(__tstate
);
8201 if (PyErr_Occurred()) return NULL
;
8203 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8208 static PyObject
* wxFileTypeInfo_GetExtensions(wxFileTypeInfo
*self
) {
8209 wxArrayString
& arr
= (wxArrayString
&)self
->GetExtensions();
8210 return wxArrayString2PyList_helper(arr
);
8212 static PyObject
*_wrap_wxFileTypeInfo_GetExtensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8213 PyObject
* _resultobj
;
8215 wxFileTypeInfo
* _arg0
;
8216 PyObject
* _argo0
= 0;
8217 char *_kwnames
[] = { "self", NULL
};
8220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetExtensions",_kwnames
,&_argo0
))
8223 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8224 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8225 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetExtensions. Expected _wxFileTypeInfo_p.");
8230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8231 _result
= (PyObject
*)wxFileTypeInfo_GetExtensions(_arg0
);
8233 wxPyEndAllowThreads(__tstate
);
8234 if (PyErr_Occurred()) return NULL
;
8236 _resultobj
= _result
;
8241 #define wxFileTypeInfo_GetExtensionsCount(_swigobj) (_swigobj->GetExtensionsCount())
8242 static PyObject
*_wrap_wxFileTypeInfo_GetExtensionsCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8243 PyObject
* _resultobj
;
8245 wxFileTypeInfo
* _arg0
;
8246 PyObject
* _argo0
= 0;
8247 char *_kwnames
[] = { "self", NULL
};
8250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetExtensionsCount",_kwnames
,&_argo0
))
8253 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8254 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8255 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetExtensionsCount. Expected _wxFileTypeInfo_p.");
8260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8261 _result
= (int )wxFileTypeInfo_GetExtensionsCount(_arg0
);
8263 wxPyEndAllowThreads(__tstate
);
8264 if (PyErr_Occurred()) return NULL
;
8265 } _resultobj
= Py_BuildValue("i",_result
);
8269 #define wxFileTypeInfo_GetIconFile(_swigobj) (_swigobj->GetIconFile())
8270 static PyObject
*_wrap_wxFileTypeInfo_GetIconFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8271 PyObject
* _resultobj
;
8273 wxFileTypeInfo
* _arg0
;
8274 PyObject
* _argo0
= 0;
8275 char *_kwnames
[] = { "self", NULL
};
8278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetIconFile",_kwnames
,&_argo0
))
8281 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8282 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8283 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetIconFile. Expected _wxFileTypeInfo_p.");
8288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8289 const wxString
& _result_ref
= wxFileTypeInfo_GetIconFile(_arg0
);
8290 _result
= (wxString
*) &_result_ref
;
8292 wxPyEndAllowThreads(__tstate
);
8293 if (PyErr_Occurred()) return NULL
;
8295 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8300 #define wxFileTypeInfo_GetIconIndex(_swigobj) (_swigobj->GetIconIndex())
8301 static PyObject
*_wrap_wxFileTypeInfo_GetIconIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8302 PyObject
* _resultobj
;
8304 wxFileTypeInfo
* _arg0
;
8305 PyObject
* _argo0
= 0;
8306 char *_kwnames
[] = { "self", NULL
};
8309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetIconIndex",_kwnames
,&_argo0
))
8312 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8313 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8314 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetIconIndex. Expected _wxFileTypeInfo_p.");
8319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8320 _result
= (int )wxFileTypeInfo_GetIconIndex(_arg0
);
8322 wxPyEndAllowThreads(__tstate
);
8323 if (PyErr_Occurred()) return NULL
;
8324 } _resultobj
= Py_BuildValue("i",_result
);
8328 #define new_wxFileType(_swigarg0) (new wxFileType(_swigarg0))
8329 static PyObject
*_wrap_new_wxFileType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8330 PyObject
* _resultobj
;
8331 wxFileType
* _result
;
8332 wxFileTypeInfo
* _arg0
;
8333 PyObject
* _argo0
= 0;
8334 char *_kwnames
[] = { "ftInfo", NULL
};
8338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxFileType",_kwnames
,&_argo0
))
8341 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8342 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8343 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxFileType. Expected _wxFileTypeInfo_p.");
8348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8349 _result
= (wxFileType
*)new_wxFileType(*_arg0
);
8351 wxPyEndAllowThreads(__tstate
);
8352 if (PyErr_Occurred()) return NULL
;
8354 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileType_p");
8355 _resultobj
= Py_BuildValue("s",_ptemp
);
8358 _resultobj
= Py_None
;
8363 static PyObject
* wxFileType_GetMimeType(wxFileType
*self
) {
8365 if (self
->GetMimeType(&str
))
8366 return PyString_FromString(str
.c_str());
8370 static PyObject
*_wrap_wxFileType_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8371 PyObject
* _resultobj
;
8374 PyObject
* _argo0
= 0;
8375 char *_kwnames
[] = { "self", NULL
};
8378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_GetMimeType",_kwnames
,&_argo0
))
8381 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8382 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8383 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetMimeType. Expected _wxFileType_p.");
8388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8389 _result
= (PyObject
*)wxFileType_GetMimeType(_arg0
);
8391 wxPyEndAllowThreads(__tstate
);
8392 if (PyErr_Occurred()) return NULL
;
8394 _resultobj
= _result
;
8399 static PyObject
* wxFileType_GetMimeTypes(wxFileType
*self
) {
8401 if (self
->GetMimeTypes(arr
))
8402 return wxArrayString2PyList_helper(arr
);
8406 static PyObject
*_wrap_wxFileType_GetMimeTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8407 PyObject
* _resultobj
;
8410 PyObject
* _argo0
= 0;
8411 char *_kwnames
[] = { "self", NULL
};
8414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_GetMimeTypes",_kwnames
,&_argo0
))
8417 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8418 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8419 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetMimeTypes. Expected _wxFileType_p.");
8424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8425 _result
= (PyObject
*)wxFileType_GetMimeTypes(_arg0
);
8427 wxPyEndAllowThreads(__tstate
);
8428 if (PyErr_Occurred()) return NULL
;
8430 _resultobj
= _result
;
8435 static PyObject
* wxFileType_GetExtensions(wxFileType
*self
) {
8437 if (self
->GetExtensions(arr
))
8438 return wxArrayString2PyList_helper(arr
);
8442 static PyObject
*_wrap_wxFileType_GetExtensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8443 PyObject
* _resultobj
;
8446 PyObject
* _argo0
= 0;
8447 char *_kwnames
[] = { "self", NULL
};
8450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_GetExtensions",_kwnames
,&_argo0
))
8453 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8454 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8455 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetExtensions. Expected _wxFileType_p.");
8460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8461 _result
= (PyObject
*)wxFileType_GetExtensions(_arg0
);
8463 wxPyEndAllowThreads(__tstate
);
8464 if (PyErr_Occurred()) return NULL
;
8466 _resultobj
= _result
;
8471 static wxIcon
* wxFileType_GetIcon(wxFileType
*self
) {
8473 if (self
->GetIcon(&icon
))
8474 return new wxIcon(icon
);
8478 static PyObject
*_wrap_wxFileType_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8479 PyObject
* _resultobj
;
8482 PyObject
* _argo0
= 0;
8483 char *_kwnames
[] = { "self", NULL
};
8487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_GetIcon",_kwnames
,&_argo0
))
8490 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8491 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8492 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetIcon. Expected _wxFileType_p.");
8497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8498 _result
= (wxIcon
*)wxFileType_GetIcon(_arg0
);
8500 wxPyEndAllowThreads(__tstate
);
8501 if (PyErr_Occurred()) return NULL
;
8503 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIcon_p");
8504 _resultobj
= Py_BuildValue("s",_ptemp
);
8507 _resultobj
= Py_None
;
8512 static PyObject
* wxFileType_GetIconInfo(wxFileType
*self
) {
8516 if (self
->GetIcon(&icon
, &iconFile
, &iconIndex
)) {
8517 wxPyBeginBlockThreads();
8518 PyObject
* tuple
= PyTuple_New(3);
8519 PyTuple_SetItem(tuple
, 0, wxPyConstructObject(new wxIcon(icon
),
8521 PyTuple_SetItem(tuple
, 1, PyString_FromString(iconFile
.c_str()));
8522 PyTuple_SetItem(tuple
, 2, PyInt_FromLong(iconIndex
));
8523 wxPyEndBlockThreads();
8529 static PyObject
*_wrap_wxFileType_GetIconInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8530 PyObject
* _resultobj
;
8533 PyObject
* _argo0
= 0;
8534 char *_kwnames
[] = { "self", NULL
};
8537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_GetIconInfo",_kwnames
,&_argo0
))
8540 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8541 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8542 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetIconInfo. Expected _wxFileType_p.");
8547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8548 _result
= (PyObject
*)wxFileType_GetIconInfo(_arg0
);
8550 wxPyEndAllowThreads(__tstate
);
8551 if (PyErr_Occurred()) return NULL
;
8553 _resultobj
= _result
;
8558 static PyObject
* wxFileType_GetDescription(wxFileType
*self
) {
8560 if (self
->GetDescription(&str
))
8561 return PyString_FromString(str
.c_str());
8565 static PyObject
*_wrap_wxFileType_GetDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8566 PyObject
* _resultobj
;
8569 PyObject
* _argo0
= 0;
8570 char *_kwnames
[] = { "self", NULL
};
8573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_GetDescription",_kwnames
,&_argo0
))
8576 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8577 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8578 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetDescription. Expected _wxFileType_p.");
8583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8584 _result
= (PyObject
*)wxFileType_GetDescription(_arg0
);
8586 wxPyEndAllowThreads(__tstate
);
8587 if (PyErr_Occurred()) return NULL
;
8589 _resultobj
= _result
;
8594 static PyObject
* wxFileType_GetOpenCommand(wxFileType
*self
,const wxString
& filename
,const wxString
& mimetype
) {
8596 if (self
->GetOpenCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
8597 return PyString_FromString(str
.c_str());
8601 static PyObject
*_wrap_wxFileType_GetOpenCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8602 PyObject
* _resultobj
;
8606 wxString
* _arg2
= (wxString
*) &wxPyEmptyStr
;
8607 PyObject
* _argo0
= 0;
8608 PyObject
* _obj1
= 0;
8609 PyObject
* _obj2
= 0;
8610 char *_kwnames
[] = { "self","filename","mimetype", NULL
};
8613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxFileType_GetOpenCommand",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
8616 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8617 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8618 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetOpenCommand. Expected _wxFileType_p.");
8623 #if PYTHON_API_VERSION >= 1009
8624 char* tmpPtr
; int tmpSize
;
8625 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
8626 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8629 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
8631 _arg1
= new wxString(tmpPtr
, tmpSize
);
8633 if (!PyString_Check(_obj1
)) {
8634 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8637 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
8642 #if PYTHON_API_VERSION >= 1009
8643 char* tmpPtr
; int tmpSize
;
8644 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
8645 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8648 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
8650 _arg2
= new wxString(tmpPtr
, tmpSize
);
8652 if (!PyString_Check(_obj2
)) {
8653 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8656 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
8660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8661 _result
= (PyObject
*)wxFileType_GetOpenCommand(_arg0
,*_arg1
,*_arg2
);
8663 wxPyEndAllowThreads(__tstate
);
8664 if (PyErr_Occurred()) return NULL
;
8666 _resultobj
= _result
;
8679 static PyObject
* wxFileType_GetPrintCommand(wxFileType
*self
,const wxString
& filename
,const wxString
& mimetype
) {
8681 if (self
->GetPrintCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
8682 return PyString_FromString(str
.c_str());
8686 static PyObject
*_wrap_wxFileType_GetPrintCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8687 PyObject
* _resultobj
;
8691 wxString
* _arg2
= (wxString
*) &wxPyEmptyStr
;
8692 PyObject
* _argo0
= 0;
8693 PyObject
* _obj1
= 0;
8694 PyObject
* _obj2
= 0;
8695 char *_kwnames
[] = { "self","filename","mimetype", NULL
};
8698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxFileType_GetPrintCommand",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
8701 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8702 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8703 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetPrintCommand. Expected _wxFileType_p.");
8708 #if PYTHON_API_VERSION >= 1009
8709 char* tmpPtr
; int tmpSize
;
8710 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
8711 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8714 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
8716 _arg1
= new wxString(tmpPtr
, tmpSize
);
8718 if (!PyString_Check(_obj1
)) {
8719 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8722 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
8727 #if PYTHON_API_VERSION >= 1009
8728 char* tmpPtr
; int tmpSize
;
8729 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
8730 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8733 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
8735 _arg2
= new wxString(tmpPtr
, tmpSize
);
8737 if (!PyString_Check(_obj2
)) {
8738 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8741 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
8745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8746 _result
= (PyObject
*)wxFileType_GetPrintCommand(_arg0
,*_arg1
,*_arg2
);
8748 wxPyEndAllowThreads(__tstate
);
8749 if (PyErr_Occurred()) return NULL
;
8751 _resultobj
= _result
;
8764 static PyObject
* wxFileType_GetAllCommands(wxFileType
*self
,const wxString
& filename
,const wxString
& mimetype
) {
8765 wxArrayString verbs
;
8766 wxArrayString commands
;
8767 if (self
->GetAllCommands(&verbs
, &commands
,
8768 wxFileType::MessageParameters(filename
, mimetype
))) {
8769 wxPyBeginBlockThreads();
8770 PyObject
* tuple
= PyTuple_New(2);
8771 PyTuple_SetItem(tuple
, 0, wxArrayString2PyList_helper(verbs
));
8772 PyTuple_SetItem(tuple
, 1, wxArrayString2PyList_helper(commands
));
8773 wxPyEndBlockThreads();
8779 static PyObject
*_wrap_wxFileType_GetAllCommands(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8780 PyObject
* _resultobj
;
8784 wxString
* _arg2
= (wxString
*) &wxPyEmptyStr
;
8785 PyObject
* _argo0
= 0;
8786 PyObject
* _obj1
= 0;
8787 PyObject
* _obj2
= 0;
8788 char *_kwnames
[] = { "self","filename","mimetype", NULL
};
8791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxFileType_GetAllCommands",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
8794 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8795 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8796 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetAllCommands. Expected _wxFileType_p.");
8801 #if PYTHON_API_VERSION >= 1009
8802 char* tmpPtr
; int tmpSize
;
8803 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
8804 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8807 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
8809 _arg1
= new wxString(tmpPtr
, tmpSize
);
8811 if (!PyString_Check(_obj1
)) {
8812 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8815 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
8820 #if PYTHON_API_VERSION >= 1009
8821 char* tmpPtr
; int tmpSize
;
8822 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
8823 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8826 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
8828 _arg2
= new wxString(tmpPtr
, tmpSize
);
8830 if (!PyString_Check(_obj2
)) {
8831 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8834 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
8838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8839 _result
= (PyObject
*)wxFileType_GetAllCommands(_arg0
,*_arg1
,*_arg2
);
8841 wxPyEndAllowThreads(__tstate
);
8842 if (PyErr_Occurred()) return NULL
;
8844 _resultobj
= _result
;
8857 #define wxFileType_SetCommand(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCommand(_swigarg0,_swigarg1,_swigarg2))
8858 static PyObject
*_wrap_wxFileType_SetCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8859 PyObject
* _resultobj
;
8864 bool _arg3
= (bool ) TRUE
;
8865 PyObject
* _argo0
= 0;
8866 PyObject
* _obj1
= 0;
8867 PyObject
* _obj2
= 0;
8868 int tempbool3
= (int) TRUE
;
8869 char *_kwnames
[] = { "self","cmd","verb","overwriteprompt", NULL
};
8872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|i:wxFileType_SetCommand",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&tempbool3
))
8875 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8876 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8877 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_SetCommand. Expected _wxFileType_p.");
8882 #if PYTHON_API_VERSION >= 1009
8883 char* tmpPtr
; int tmpSize
;
8884 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
8885 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8888 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
8890 _arg1
= new wxString(tmpPtr
, tmpSize
);
8892 if (!PyString_Check(_obj1
)) {
8893 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8896 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
8900 #if PYTHON_API_VERSION >= 1009
8901 char* tmpPtr
; int tmpSize
;
8902 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
8903 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8906 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
8908 _arg2
= new wxString(tmpPtr
, tmpSize
);
8910 if (!PyString_Check(_obj2
)) {
8911 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8914 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
8917 _arg3
= (bool ) tempbool3
;
8919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8920 _result
= (bool )wxFileType_SetCommand(_arg0
,*_arg1
,*_arg2
,_arg3
);
8922 wxPyEndAllowThreads(__tstate
);
8923 if (PyErr_Occurred()) return NULL
;
8924 } _resultobj
= Py_BuildValue("i",_result
);
8936 #define wxFileType_SetDefaultIcon(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDefaultIcon(_swigarg0,_swigarg1))
8937 static PyObject
*_wrap_wxFileType_SetDefaultIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8938 PyObject
* _resultobj
;
8941 wxString
* _arg1
= (wxString
*) &wxEmptyString
;
8942 int _arg2
= (int ) 0;
8943 PyObject
* _argo0
= 0;
8944 PyObject
* _obj1
= 0;
8945 char *_kwnames
[] = { "self","cmd","index", NULL
};
8948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|Oi:wxFileType_SetDefaultIcon",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
8951 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8952 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8953 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_SetDefaultIcon. Expected _wxFileType_p.");
8959 #if PYTHON_API_VERSION >= 1009
8960 char* tmpPtr
; int tmpSize
;
8961 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
8962 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8965 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
8967 _arg1
= new wxString(tmpPtr
, tmpSize
);
8969 if (!PyString_Check(_obj1
)) {
8970 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8973 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
8977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8978 _result
= (bool )wxFileType_SetDefaultIcon(_arg0
,*_arg1
,_arg2
);
8980 wxPyEndAllowThreads(__tstate
);
8981 if (PyErr_Occurred()) return NULL
;
8982 } _resultobj
= Py_BuildValue("i",_result
);
8990 #define wxFileType_Unassociate(_swigobj) (_swigobj->Unassociate())
8991 static PyObject
*_wrap_wxFileType_Unassociate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8992 PyObject
* _resultobj
;
8995 PyObject
* _argo0
= 0;
8996 char *_kwnames
[] = { "self", NULL
};
8999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_Unassociate",_kwnames
,&_argo0
))
9002 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9003 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
9004 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_Unassociate. Expected _wxFileType_p.");
9009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9010 _result
= (bool )wxFileType_Unassociate(_arg0
);
9012 wxPyEndAllowThreads(__tstate
);
9013 if (PyErr_Occurred()) return NULL
;
9014 } _resultobj
= Py_BuildValue("i",_result
);
9018 static PyObject
*_wrap_wxFileType_ExpandCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9019 PyObject
* _resultobj
;
9022 wxFileType::MessageParameters
* _arg1
;
9023 PyObject
* _obj0
= 0;
9024 PyObject
* _argo1
= 0;
9025 char *_kwnames
[] = { "command","params", NULL
};
9028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileType_ExpandCommand",_kwnames
,&_obj0
,&_argo1
))
9031 #if PYTHON_API_VERSION >= 1009
9032 char* tmpPtr
; int tmpSize
;
9033 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
9034 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9037 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
9039 _arg0
= new wxString(tmpPtr
, tmpSize
);
9041 if (!PyString_Check(_obj0
)) {
9042 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9045 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
9049 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9050 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFileType::MessageParameters_p")) {
9051 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFileType_ExpandCommand. Expected _wxFileType::MessageParameters_p.");
9056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9057 _result
= new wxString (wxFileType::ExpandCommand(*_arg0
,*_arg1
));
9059 wxPyEndAllowThreads(__tstate
);
9060 if (PyErr_Occurred()) return NULL
;
9062 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9074 #define delete_wxFileType(_swigobj) (delete _swigobj)
9075 static PyObject
*_wrap_delete_wxFileType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9076 PyObject
* _resultobj
;
9078 PyObject
* _argo0
= 0;
9079 char *_kwnames
[] = { "self", NULL
};
9082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxFileType",_kwnames
,&_argo0
))
9085 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9086 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
9087 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxFileType. Expected _wxFileType_p.");
9092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9093 delete_wxFileType(_arg0
);
9095 wxPyEndAllowThreads(__tstate
);
9096 if (PyErr_Occurred()) return NULL
;
9097 } Py_INCREF(Py_None
);
9098 _resultobj
= Py_None
;
9102 static PyObject
*_wrap_wxMimeTypesManager_IsOfType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9103 PyObject
* _resultobj
;
9107 PyObject
* _obj0
= 0;
9108 PyObject
* _obj1
= 0;
9109 char *_kwnames
[] = { "mimeType","wildcard", NULL
};
9112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_IsOfType",_kwnames
,&_obj0
,&_obj1
))
9115 #if PYTHON_API_VERSION >= 1009
9116 char* tmpPtr
; int tmpSize
;
9117 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
9118 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9121 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
9123 _arg0
= new wxString(tmpPtr
, tmpSize
);
9125 if (!PyString_Check(_obj0
)) {
9126 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9129 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
9133 #if PYTHON_API_VERSION >= 1009
9134 char* tmpPtr
; int tmpSize
;
9135 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
9136 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9139 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
9141 _arg1
= new wxString(tmpPtr
, tmpSize
);
9143 if (!PyString_Check(_obj1
)) {
9144 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9147 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
9151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9152 _result
= (bool )wxMimeTypesManager::IsOfType(*_arg0
,*_arg1
);
9154 wxPyEndAllowThreads(__tstate
);
9155 if (PyErr_Occurred()) return NULL
;
9156 } _resultobj
= Py_BuildValue("i",_result
);
9168 #define new_wxMimeTypesManager() (new wxMimeTypesManager())
9169 static PyObject
*_wrap_new_wxMimeTypesManager(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9170 PyObject
* _resultobj
;
9171 wxMimeTypesManager
* _result
;
9172 char *_kwnames
[] = { NULL
};
9176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxMimeTypesManager",_kwnames
))
9179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9180 _result
= (wxMimeTypesManager
*)new_wxMimeTypesManager();
9182 wxPyEndAllowThreads(__tstate
);
9183 if (PyErr_Occurred()) return NULL
;
9185 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMimeTypesManager_p");
9186 _resultobj
= Py_BuildValue("s",_ptemp
);
9189 _resultobj
= Py_None
;
9194 #define wxMimeTypesManager_Initialize(_swigobj,_swigarg0,_swigarg1) (_swigobj->Initialize(_swigarg0,_swigarg1))
9195 static PyObject
*_wrap_wxMimeTypesManager_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9196 PyObject
* _resultobj
;
9197 wxMimeTypesManager
* _arg0
;
9198 int _arg1
= (int ) (wxMAILCAP_STANDARD
);
9199 wxString
* _arg2
= (wxString
*) &wxEmptyString
;
9200 PyObject
* _argo0
= 0;
9201 PyObject
* _obj2
= 0;
9202 char *_kwnames
[] = { "self","mailcapStyle","extraDir", NULL
};
9205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iO:wxMimeTypesManager_Initialize",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
9208 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9209 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9210 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_Initialize. Expected _wxMimeTypesManager_p.");
9216 #if PYTHON_API_VERSION >= 1009
9217 char* tmpPtr
; int tmpSize
;
9218 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
9219 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9222 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
9224 _arg2
= new wxString(tmpPtr
, tmpSize
);
9226 if (!PyString_Check(_obj2
)) {
9227 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9230 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
9234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9235 wxMimeTypesManager_Initialize(_arg0
,_arg1
,*_arg2
);
9237 wxPyEndAllowThreads(__tstate
);
9238 if (PyErr_Occurred()) return NULL
;
9239 } Py_INCREF(Py_None
);
9240 _resultobj
= Py_None
;
9248 #define wxMimeTypesManager_ClearData(_swigobj) (_swigobj->ClearData())
9249 static PyObject
*_wrap_wxMimeTypesManager_ClearData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9250 PyObject
* _resultobj
;
9251 wxMimeTypesManager
* _arg0
;
9252 PyObject
* _argo0
= 0;
9253 char *_kwnames
[] = { "self", NULL
};
9256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMimeTypesManager_ClearData",_kwnames
,&_argo0
))
9259 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9260 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9261 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_ClearData. Expected _wxMimeTypesManager_p.");
9266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9267 wxMimeTypesManager_ClearData(_arg0
);
9269 wxPyEndAllowThreads(__tstate
);
9270 if (PyErr_Occurred()) return NULL
;
9271 } Py_INCREF(Py_None
);
9272 _resultobj
= Py_None
;
9276 #define wxMimeTypesManager_GetFileTypeFromExtension(_swigobj,_swigarg0) (_swigobj->GetFileTypeFromExtension(_swigarg0))
9277 static PyObject
*_wrap_wxMimeTypesManager_GetFileTypeFromExtension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9278 PyObject
* _resultobj
;
9279 wxFileType
* _result
;
9280 wxMimeTypesManager
* _arg0
;
9282 PyObject
* _argo0
= 0;
9283 PyObject
* _obj1
= 0;
9284 char *_kwnames
[] = { "self","ext", NULL
};
9288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_GetFileTypeFromExtension",_kwnames
,&_argo0
,&_obj1
))
9291 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9292 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9293 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_GetFileTypeFromExtension. Expected _wxMimeTypesManager_p.");
9298 #if PYTHON_API_VERSION >= 1009
9299 char* tmpPtr
; int tmpSize
;
9300 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
9301 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9304 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
9306 _arg1
= new wxString(tmpPtr
, tmpSize
);
9308 if (!PyString_Check(_obj1
)) {
9309 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9312 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
9316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9317 _result
= (wxFileType
*)wxMimeTypesManager_GetFileTypeFromExtension(_arg0
,*_arg1
);
9319 wxPyEndAllowThreads(__tstate
);
9320 if (PyErr_Occurred()) return NULL
;
9322 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileType_p");
9323 _resultobj
= Py_BuildValue("s",_ptemp
);
9326 _resultobj
= Py_None
;
9335 #define wxMimeTypesManager_GetFileTypeFromMimeType(_swigobj,_swigarg0) (_swigobj->GetFileTypeFromMimeType(_swigarg0))
9336 static PyObject
*_wrap_wxMimeTypesManager_GetFileTypeFromMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9337 PyObject
* _resultobj
;
9338 wxFileType
* _result
;
9339 wxMimeTypesManager
* _arg0
;
9341 PyObject
* _argo0
= 0;
9342 PyObject
* _obj1
= 0;
9343 char *_kwnames
[] = { "self","mimeType", NULL
};
9347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_GetFileTypeFromMimeType",_kwnames
,&_argo0
,&_obj1
))
9350 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9351 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9352 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_GetFileTypeFromMimeType. Expected _wxMimeTypesManager_p.");
9357 #if PYTHON_API_VERSION >= 1009
9358 char* tmpPtr
; int tmpSize
;
9359 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
9360 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9363 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
9365 _arg1
= new wxString(tmpPtr
, tmpSize
);
9367 if (!PyString_Check(_obj1
)) {
9368 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9371 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
9375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9376 _result
= (wxFileType
*)wxMimeTypesManager_GetFileTypeFromMimeType(_arg0
,*_arg1
);
9378 wxPyEndAllowThreads(__tstate
);
9379 if (PyErr_Occurred()) return NULL
;
9381 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileType_p");
9382 _resultobj
= Py_BuildValue("s",_ptemp
);
9385 _resultobj
= Py_None
;
9394 #define wxMimeTypesManager_ReadMailcap(_swigobj,_swigarg0,_swigarg1) (_swigobj->ReadMailcap(_swigarg0,_swigarg1))
9395 static PyObject
*_wrap_wxMimeTypesManager_ReadMailcap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9396 PyObject
* _resultobj
;
9398 wxMimeTypesManager
* _arg0
;
9400 bool _arg2
= (bool ) FALSE
;
9401 PyObject
* _argo0
= 0;
9402 PyObject
* _obj1
= 0;
9403 int tempbool2
= (int) FALSE
;
9404 char *_kwnames
[] = { "self","filename","fallback", NULL
};
9407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxMimeTypesManager_ReadMailcap",_kwnames
,&_argo0
,&_obj1
,&tempbool2
))
9410 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9411 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9412 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_ReadMailcap. Expected _wxMimeTypesManager_p.");
9417 #if PYTHON_API_VERSION >= 1009
9418 char* tmpPtr
; int tmpSize
;
9419 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
9420 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9423 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
9425 _arg1
= new wxString(tmpPtr
, tmpSize
);
9427 if (!PyString_Check(_obj1
)) {
9428 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9431 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
9434 _arg2
= (bool ) tempbool2
;
9436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9437 _result
= (bool )wxMimeTypesManager_ReadMailcap(_arg0
,*_arg1
,_arg2
);
9439 wxPyEndAllowThreads(__tstate
);
9440 if (PyErr_Occurred()) return NULL
;
9441 } _resultobj
= Py_BuildValue("i",_result
);
9449 #define wxMimeTypesManager_ReadMimeTypes(_swigobj,_swigarg0) (_swigobj->ReadMimeTypes(_swigarg0))
9450 static PyObject
*_wrap_wxMimeTypesManager_ReadMimeTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9451 PyObject
* _resultobj
;
9453 wxMimeTypesManager
* _arg0
;
9455 PyObject
* _argo0
= 0;
9456 PyObject
* _obj1
= 0;
9457 char *_kwnames
[] = { "self","filename", NULL
};
9460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_ReadMimeTypes",_kwnames
,&_argo0
,&_obj1
))
9463 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9464 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9465 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_ReadMimeTypes. Expected _wxMimeTypesManager_p.");
9470 #if PYTHON_API_VERSION >= 1009
9471 char* tmpPtr
; int tmpSize
;
9472 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
9473 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9476 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
9478 _arg1
= new wxString(tmpPtr
, tmpSize
);
9480 if (!PyString_Check(_obj1
)) {
9481 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9484 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
9488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9489 _result
= (bool )wxMimeTypesManager_ReadMimeTypes(_arg0
,*_arg1
);
9491 wxPyEndAllowThreads(__tstate
);
9492 if (PyErr_Occurred()) return NULL
;
9493 } _resultobj
= Py_BuildValue("i",_result
);
9501 static PyObject
* wxMimeTypesManager_EnumAllFileTypes(wxMimeTypesManager
*self
) {
9503 self
->EnumAllFileTypes(arr
);
9504 return wxArrayString2PyList_helper(arr
);
9506 static PyObject
*_wrap_wxMimeTypesManager_EnumAllFileTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9507 PyObject
* _resultobj
;
9509 wxMimeTypesManager
* _arg0
;
9510 PyObject
* _argo0
= 0;
9511 char *_kwnames
[] = { "self", NULL
};
9514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMimeTypesManager_EnumAllFileTypes",_kwnames
,&_argo0
))
9517 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9518 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9519 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_EnumAllFileTypes. Expected _wxMimeTypesManager_p.");
9524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9525 _result
= (PyObject
*)wxMimeTypesManager_EnumAllFileTypes(_arg0
);
9527 wxPyEndAllowThreads(__tstate
);
9528 if (PyErr_Occurred()) return NULL
;
9530 _resultobj
= _result
;
9535 #define wxMimeTypesManager_AddFallback(_swigobj,_swigarg0) (_swigobj->AddFallback(_swigarg0))
9536 static PyObject
*_wrap_wxMimeTypesManager_AddFallback(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9537 PyObject
* _resultobj
;
9538 wxMimeTypesManager
* _arg0
;
9539 wxFileTypeInfo
* _arg1
;
9540 PyObject
* _argo0
= 0;
9541 PyObject
* _argo1
= 0;
9542 char *_kwnames
[] = { "self","ft", NULL
};
9545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_AddFallback",_kwnames
,&_argo0
,&_argo1
))
9548 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9549 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9550 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_AddFallback. Expected _wxMimeTypesManager_p.");
9555 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9556 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFileTypeInfo_p")) {
9557 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMimeTypesManager_AddFallback. Expected _wxFileTypeInfo_p.");
9562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9563 wxMimeTypesManager_AddFallback(_arg0
,*_arg1
);
9565 wxPyEndAllowThreads(__tstate
);
9566 if (PyErr_Occurred()) return NULL
;
9567 } Py_INCREF(Py_None
);
9568 _resultobj
= Py_None
;
9572 #define wxMimeTypesManager_Associate(_swigobj,_swigarg0) (_swigobj->Associate(_swigarg0))
9573 static PyObject
*_wrap_wxMimeTypesManager_Associate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9574 PyObject
* _resultobj
;
9575 wxFileType
* _result
;
9576 wxMimeTypesManager
* _arg0
;
9577 wxFileTypeInfo
* _arg1
;
9578 PyObject
* _argo0
= 0;
9579 PyObject
* _argo1
= 0;
9580 char *_kwnames
[] = { "self","ftInfo", NULL
};
9584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_Associate",_kwnames
,&_argo0
,&_argo1
))
9587 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9588 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9589 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_Associate. Expected _wxMimeTypesManager_p.");
9594 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9595 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFileTypeInfo_p")) {
9596 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMimeTypesManager_Associate. Expected _wxFileTypeInfo_p.");
9601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9602 _result
= (wxFileType
*)wxMimeTypesManager_Associate(_arg0
,*_arg1
);
9604 wxPyEndAllowThreads(__tstate
);
9605 if (PyErr_Occurred()) return NULL
;
9607 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileType_p");
9608 _resultobj
= Py_BuildValue("s",_ptemp
);
9611 _resultobj
= Py_None
;
9616 #define wxMimeTypesManager_Unassociate(_swigobj,_swigarg0) (_swigobj->Unassociate(_swigarg0))
9617 static PyObject
*_wrap_wxMimeTypesManager_Unassociate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9618 PyObject
* _resultobj
;
9620 wxMimeTypesManager
* _arg0
;
9622 PyObject
* _argo0
= 0;
9623 PyObject
* _argo1
= 0;
9624 char *_kwnames
[] = { "self","ft", NULL
};
9627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_Unassociate",_kwnames
,&_argo0
,&_argo1
))
9630 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9631 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9632 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_Unassociate. Expected _wxMimeTypesManager_p.");
9637 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9638 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFileType_p")) {
9639 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMimeTypesManager_Unassociate. Expected _wxFileType_p.");
9644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9645 _result
= (bool )wxMimeTypesManager_Unassociate(_arg0
,_arg1
);
9647 wxPyEndAllowThreads(__tstate
);
9648 if (PyErr_Occurred()) return NULL
;
9649 } _resultobj
= Py_BuildValue("i",_result
);
9653 #define delete_wxMimeTypesManager(_swigobj) (delete _swigobj)
9654 static PyObject
*_wrap_delete_wxMimeTypesManager(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9655 PyObject
* _resultobj
;
9656 wxMimeTypesManager
* _arg0
;
9657 PyObject
* _argo0
= 0;
9658 char *_kwnames
[] = { "self", NULL
};
9661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxMimeTypesManager",_kwnames
,&_argo0
))
9664 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9665 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9666 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxMimeTypesManager. Expected _wxMimeTypesManager_p.");
9671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9672 delete_wxMimeTypesManager(_arg0
);
9674 wxPyEndAllowThreads(__tstate
);
9675 if (PyErr_Occurred()) return NULL
;
9676 } Py_INCREF(Py_None
);
9677 _resultobj
= Py_None
;
9681 static void *SwigwxFileHistoryTowxObject(void *ptr
) {
9684 src
= (wxFileHistory
*) ptr
;
9685 dest
= (wxObject
*) src
;
9686 return (void *) dest
;
9689 #define new_wxFileHistory(_swigarg0) (new wxFileHistory(_swigarg0))
9690 static PyObject
*_wrap_new_wxFileHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9691 PyObject
* _resultobj
;
9692 wxFileHistory
* _result
;
9693 int _arg0
= (int ) 9;
9694 char *_kwnames
[] = { "maxFiles", NULL
};
9698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxFileHistory",_kwnames
,&_arg0
))
9701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9702 _result
= (wxFileHistory
*)new_wxFileHistory(_arg0
);
9704 wxPyEndAllowThreads(__tstate
);
9705 if (PyErr_Occurred()) return NULL
;
9707 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileHistory_p");
9708 _resultobj
= Py_BuildValue("s",_ptemp
);
9711 _resultobj
= Py_None
;
9716 #define delete_wxFileHistory(_swigobj) (delete _swigobj)
9717 static PyObject
*_wrap_delete_wxFileHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9718 PyObject
* _resultobj
;
9719 wxFileHistory
* _arg0
;
9720 PyObject
* _argo0
= 0;
9721 char *_kwnames
[] = { "self", NULL
};
9724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxFileHistory",_kwnames
,&_argo0
))
9727 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9728 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9729 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxFileHistory. Expected _wxFileHistory_p.");
9734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9735 delete_wxFileHistory(_arg0
);
9737 wxPyEndAllowThreads(__tstate
);
9738 if (PyErr_Occurred()) return NULL
;
9739 } Py_INCREF(Py_None
);
9740 _resultobj
= Py_None
;
9744 #define wxFileHistory_AddFileToHistory(_swigobj,_swigarg0) (_swigobj->AddFileToHistory(_swigarg0))
9745 static PyObject
*_wrap_wxFileHistory_AddFileToHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9746 PyObject
* _resultobj
;
9747 wxFileHistory
* _arg0
;
9749 PyObject
* _argo0
= 0;
9750 PyObject
* _obj1
= 0;
9751 char *_kwnames
[] = { "self","file", NULL
};
9754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileHistory_AddFileToHistory",_kwnames
,&_argo0
,&_obj1
))
9757 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9758 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9759 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_AddFileToHistory. Expected _wxFileHistory_p.");
9764 #if PYTHON_API_VERSION >= 1009
9765 char* tmpPtr
; int tmpSize
;
9766 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
9767 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9770 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
9772 _arg1
= new wxString(tmpPtr
, tmpSize
);
9774 if (!PyString_Check(_obj1
)) {
9775 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9778 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
9782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9783 wxFileHistory_AddFileToHistory(_arg0
,*_arg1
);
9785 wxPyEndAllowThreads(__tstate
);
9786 if (PyErr_Occurred()) return NULL
;
9787 } Py_INCREF(Py_None
);
9788 _resultobj
= Py_None
;
9796 #define wxFileHistory_RemoveFileFromHistory(_swigobj,_swigarg0) (_swigobj->RemoveFileFromHistory(_swigarg0))
9797 static PyObject
*_wrap_wxFileHistory_RemoveFileFromHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9798 PyObject
* _resultobj
;
9799 wxFileHistory
* _arg0
;
9801 PyObject
* _argo0
= 0;
9802 char *_kwnames
[] = { "self","i", NULL
};
9805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFileHistory_RemoveFileFromHistory",_kwnames
,&_argo0
,&_arg1
))
9808 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9809 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9810 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_RemoveFileFromHistory. Expected _wxFileHistory_p.");
9815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9816 wxFileHistory_RemoveFileFromHistory(_arg0
,_arg1
);
9818 wxPyEndAllowThreads(__tstate
);
9819 if (PyErr_Occurred()) return NULL
;
9820 } Py_INCREF(Py_None
);
9821 _resultobj
= Py_None
;
9825 #define wxFileHistory_GetMaxFiles(_swigobj) (_swigobj->GetMaxFiles())
9826 static PyObject
*_wrap_wxFileHistory_GetMaxFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9827 PyObject
* _resultobj
;
9829 wxFileHistory
* _arg0
;
9830 PyObject
* _argo0
= 0;
9831 char *_kwnames
[] = { "self", NULL
};
9834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileHistory_GetMaxFiles",_kwnames
,&_argo0
))
9837 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9838 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9839 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_GetMaxFiles. Expected _wxFileHistory_p.");
9844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9845 _result
= (int )wxFileHistory_GetMaxFiles(_arg0
);
9847 wxPyEndAllowThreads(__tstate
);
9848 if (PyErr_Occurred()) return NULL
;
9849 } _resultobj
= Py_BuildValue("i",_result
);
9853 #define wxFileHistory_UseMenu(_swigobj,_swigarg0) (_swigobj->UseMenu(_swigarg0))
9854 static PyObject
*_wrap_wxFileHistory_UseMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9855 PyObject
* _resultobj
;
9856 wxFileHistory
* _arg0
;
9858 PyObject
* _argo0
= 0;
9859 PyObject
* _argo1
= 0;
9860 char *_kwnames
[] = { "self","menu", NULL
};
9863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileHistory_UseMenu",_kwnames
,&_argo0
,&_argo1
))
9866 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9867 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9868 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_UseMenu. Expected _wxFileHistory_p.");
9873 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9874 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
9875 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFileHistory_UseMenu. Expected _wxMenu_p.");
9880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9881 wxFileHistory_UseMenu(_arg0
,_arg1
);
9883 wxPyEndAllowThreads(__tstate
);
9884 if (PyErr_Occurred()) return NULL
;
9885 } Py_INCREF(Py_None
);
9886 _resultobj
= Py_None
;
9890 #define wxFileHistory_RemoveMenu(_swigobj,_swigarg0) (_swigobj->RemoveMenu(_swigarg0))
9891 static PyObject
*_wrap_wxFileHistory_RemoveMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9892 PyObject
* _resultobj
;
9893 wxFileHistory
* _arg0
;
9895 PyObject
* _argo0
= 0;
9896 PyObject
* _argo1
= 0;
9897 char *_kwnames
[] = { "self","menu", NULL
};
9900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileHistory_RemoveMenu",_kwnames
,&_argo0
,&_argo1
))
9903 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9904 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9905 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_RemoveMenu. Expected _wxFileHistory_p.");
9910 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9911 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
9912 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFileHistory_RemoveMenu. Expected _wxMenu_p.");
9917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9918 wxFileHistory_RemoveMenu(_arg0
,_arg1
);
9920 wxPyEndAllowThreads(__tstate
);
9921 if (PyErr_Occurred()) return NULL
;
9922 } Py_INCREF(Py_None
);
9923 _resultobj
= Py_None
;
9927 #define wxFileHistory_Load(_swigobj,_swigarg0) (_swigobj->Load(_swigarg0))
9928 static PyObject
*_wrap_wxFileHistory_Load(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9929 PyObject
* _resultobj
;
9930 wxFileHistory
* _arg0
;
9931 wxConfigBase
* _arg1
;
9932 PyObject
* _argo0
= 0;
9933 PyObject
* _argo1
= 0;
9934 char *_kwnames
[] = { "self","config", NULL
};
9937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileHistory_Load",_kwnames
,&_argo0
,&_argo1
))
9940 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9941 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9942 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_Load. Expected _wxFileHistory_p.");
9947 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9948 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxConfigBase_p")) {
9949 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFileHistory_Load. Expected _wxConfigBase_p.");
9954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9955 wxFileHistory_Load(_arg0
,*_arg1
);
9957 wxPyEndAllowThreads(__tstate
);
9958 if (PyErr_Occurred()) return NULL
;
9959 } Py_INCREF(Py_None
);
9960 _resultobj
= Py_None
;
9964 #define wxFileHistory_Save(_swigobj,_swigarg0) (_swigobj->Save(_swigarg0))
9965 static PyObject
*_wrap_wxFileHistory_Save(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9966 PyObject
* _resultobj
;
9967 wxFileHistory
* _arg0
;
9968 wxConfigBase
* _arg1
;
9969 PyObject
* _argo0
= 0;
9970 PyObject
* _argo1
= 0;
9971 char *_kwnames
[] = { "self","config", NULL
};
9974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileHistory_Save",_kwnames
,&_argo0
,&_argo1
))
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_Save. Expected _wxFileHistory_p.");
9984 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9985 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxConfigBase_p")) {
9986 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFileHistory_Save. Expected _wxConfigBase_p.");
9991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9992 wxFileHistory_Save(_arg0
,*_arg1
);
9994 wxPyEndAllowThreads(__tstate
);
9995 if (PyErr_Occurred()) return NULL
;
9996 } Py_INCREF(Py_None
);
9997 _resultobj
= Py_None
;
10001 #define wxFileHistory_AddFilesToMenu(_swigobj) (_swigobj->AddFilesToMenu())
10002 static PyObject
*_wrap_wxFileHistory_AddFilesToMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10003 PyObject
* _resultobj
;
10004 wxFileHistory
* _arg0
;
10005 PyObject
* _argo0
= 0;
10006 char *_kwnames
[] = { "self", NULL
};
10009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileHistory_AddFilesToMenu",_kwnames
,&_argo0
))
10012 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10013 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
10014 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_AddFilesToMenu. Expected _wxFileHistory_p.");
10019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10020 wxFileHistory_AddFilesToMenu(_arg0
);
10022 wxPyEndAllowThreads(__tstate
);
10023 if (PyErr_Occurred()) return NULL
;
10024 } Py_INCREF(Py_None
);
10025 _resultobj
= Py_None
;
10029 #define wxFileHistory_AddFilesToSingleMenu(_swigobj,_swigarg0) (_swigobj->AddFilesToMenu(_swigarg0))
10030 static PyObject
*_wrap_wxFileHistory_AddFilesToSingleMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10031 PyObject
* _resultobj
;
10032 wxFileHistory
* _arg0
;
10034 PyObject
* _argo0
= 0;
10035 PyObject
* _argo1
= 0;
10036 char *_kwnames
[] = { "self","menu", NULL
};
10039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileHistory_AddFilesToSingleMenu",_kwnames
,&_argo0
,&_argo1
))
10042 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10043 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
10044 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_AddFilesToSingleMenu. Expected _wxFileHistory_p.");
10049 if (_argo1
== Py_None
) { _arg1
= NULL
; }
10050 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
10051 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFileHistory_AddFilesToSingleMenu. Expected _wxMenu_p.");
10056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10057 wxFileHistory_AddFilesToSingleMenu(_arg0
,_arg1
);
10059 wxPyEndAllowThreads(__tstate
);
10060 if (PyErr_Occurred()) return NULL
;
10061 } Py_INCREF(Py_None
);
10062 _resultobj
= Py_None
;
10066 #define wxFileHistory_GetHistoryFile(_swigobj,_swigarg0) (_swigobj->GetHistoryFile(_swigarg0))
10067 static PyObject
*_wrap_wxFileHistory_GetHistoryFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10068 PyObject
* _resultobj
;
10069 wxString
* _result
;
10070 wxFileHistory
* _arg0
;
10072 PyObject
* _argo0
= 0;
10073 char *_kwnames
[] = { "self","i", NULL
};
10076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFileHistory_GetHistoryFile",_kwnames
,&_argo0
,&_arg1
))
10079 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10080 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
10081 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_GetHistoryFile. Expected _wxFileHistory_p.");
10086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10087 _result
= new wxString (wxFileHistory_GetHistoryFile(_arg0
,_arg1
));
10089 wxPyEndAllowThreads(__tstate
);
10090 if (PyErr_Occurred()) return NULL
;
10092 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
10100 #define wxFileHistory_GetCount(_swigobj) (_swigobj->GetCount())
10101 static PyObject
*_wrap_wxFileHistory_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10102 PyObject
* _resultobj
;
10104 wxFileHistory
* _arg0
;
10105 PyObject
* _argo0
= 0;
10106 char *_kwnames
[] = { "self", NULL
};
10109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileHistory_GetCount",_kwnames
,&_argo0
))
10112 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10113 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
10114 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_GetCount. Expected _wxFileHistory_p.");
10119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10120 _result
= (int )wxFileHistory_GetCount(_arg0
);
10122 wxPyEndAllowThreads(__tstate
);
10123 if (PyErr_Occurred()) return NULL
;
10124 } _resultobj
= Py_BuildValue("i",_result
);
10128 #define wxFileHistory_GetNoHistoryFiles(_swigobj) (_swigobj->GetNoHistoryFiles())
10129 static PyObject
*_wrap_wxFileHistory_GetNoHistoryFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10130 PyObject
* _resultobj
;
10132 wxFileHistory
* _arg0
;
10133 PyObject
* _argo0
= 0;
10134 char *_kwnames
[] = { "self", NULL
};
10137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileHistory_GetNoHistoryFiles",_kwnames
,&_argo0
))
10140 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10141 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
10142 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_GetNoHistoryFiles. Expected _wxFileHistory_p.");
10147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10148 _result
= (int )wxFileHistory_GetNoHistoryFiles(_arg0
);
10150 wxPyEndAllowThreads(__tstate
);
10151 if (PyErr_Occurred()) return NULL
;
10152 } _resultobj
= Py_BuildValue("i",_result
);
10156 static PyMethodDef misc2cMethods
[] = {
10157 { "wxFileHistory_GetNoHistoryFiles", (PyCFunction
) _wrap_wxFileHistory_GetNoHistoryFiles
, METH_VARARGS
| METH_KEYWORDS
},
10158 { "wxFileHistory_GetCount", (PyCFunction
) _wrap_wxFileHistory_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
10159 { "wxFileHistory_GetHistoryFile", (PyCFunction
) _wrap_wxFileHistory_GetHistoryFile
, METH_VARARGS
| METH_KEYWORDS
},
10160 { "wxFileHistory_AddFilesToSingleMenu", (PyCFunction
) _wrap_wxFileHistory_AddFilesToSingleMenu
, METH_VARARGS
| METH_KEYWORDS
},
10161 { "wxFileHistory_AddFilesToMenu", (PyCFunction
) _wrap_wxFileHistory_AddFilesToMenu
, METH_VARARGS
| METH_KEYWORDS
},
10162 { "wxFileHistory_Save", (PyCFunction
) _wrap_wxFileHistory_Save
, METH_VARARGS
| METH_KEYWORDS
},
10163 { "wxFileHistory_Load", (PyCFunction
) _wrap_wxFileHistory_Load
, METH_VARARGS
| METH_KEYWORDS
},
10164 { "wxFileHistory_RemoveMenu", (PyCFunction
) _wrap_wxFileHistory_RemoveMenu
, METH_VARARGS
| METH_KEYWORDS
},
10165 { "wxFileHistory_UseMenu", (PyCFunction
) _wrap_wxFileHistory_UseMenu
, METH_VARARGS
| METH_KEYWORDS
},
10166 { "wxFileHistory_GetMaxFiles", (PyCFunction
) _wrap_wxFileHistory_GetMaxFiles
, METH_VARARGS
| METH_KEYWORDS
},
10167 { "wxFileHistory_RemoveFileFromHistory", (PyCFunction
) _wrap_wxFileHistory_RemoveFileFromHistory
, METH_VARARGS
| METH_KEYWORDS
},
10168 { "wxFileHistory_AddFileToHistory", (PyCFunction
) _wrap_wxFileHistory_AddFileToHistory
, METH_VARARGS
| METH_KEYWORDS
},
10169 { "delete_wxFileHistory", (PyCFunction
) _wrap_delete_wxFileHistory
, METH_VARARGS
| METH_KEYWORDS
},
10170 { "new_wxFileHistory", (PyCFunction
) _wrap_new_wxFileHistory
, METH_VARARGS
| METH_KEYWORDS
},
10171 { "delete_wxMimeTypesManager", (PyCFunction
) _wrap_delete_wxMimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
},
10172 { "wxMimeTypesManager_Unassociate", (PyCFunction
) _wrap_wxMimeTypesManager_Unassociate
, METH_VARARGS
| METH_KEYWORDS
},
10173 { "wxMimeTypesManager_Associate", (PyCFunction
) _wrap_wxMimeTypesManager_Associate
, METH_VARARGS
| METH_KEYWORDS
},
10174 { "wxMimeTypesManager_AddFallback", (PyCFunction
) _wrap_wxMimeTypesManager_AddFallback
, METH_VARARGS
| METH_KEYWORDS
},
10175 { "wxMimeTypesManager_EnumAllFileTypes", (PyCFunction
) _wrap_wxMimeTypesManager_EnumAllFileTypes
, METH_VARARGS
| METH_KEYWORDS
},
10176 { "wxMimeTypesManager_ReadMimeTypes", (PyCFunction
) _wrap_wxMimeTypesManager_ReadMimeTypes
, METH_VARARGS
| METH_KEYWORDS
},
10177 { "wxMimeTypesManager_ReadMailcap", (PyCFunction
) _wrap_wxMimeTypesManager_ReadMailcap
, METH_VARARGS
| METH_KEYWORDS
},
10178 { "wxMimeTypesManager_GetFileTypeFromMimeType", (PyCFunction
) _wrap_wxMimeTypesManager_GetFileTypeFromMimeType
, METH_VARARGS
| METH_KEYWORDS
},
10179 { "wxMimeTypesManager_GetFileTypeFromExtension", (PyCFunction
) _wrap_wxMimeTypesManager_GetFileTypeFromExtension
, METH_VARARGS
| METH_KEYWORDS
},
10180 { "wxMimeTypesManager_ClearData", (PyCFunction
) _wrap_wxMimeTypesManager_ClearData
, METH_VARARGS
| METH_KEYWORDS
},
10181 { "wxMimeTypesManager_Initialize", (PyCFunction
) _wrap_wxMimeTypesManager_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
10182 { "new_wxMimeTypesManager", (PyCFunction
) _wrap_new_wxMimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
},
10183 { "wxMimeTypesManager_IsOfType", (PyCFunction
) _wrap_wxMimeTypesManager_IsOfType
, METH_VARARGS
| METH_KEYWORDS
},
10184 { "delete_wxFileType", (PyCFunction
) _wrap_delete_wxFileType
, METH_VARARGS
| METH_KEYWORDS
},
10185 { "wxFileType_ExpandCommand", (PyCFunction
) _wrap_wxFileType_ExpandCommand
, METH_VARARGS
| METH_KEYWORDS
},
10186 { "wxFileType_Unassociate", (PyCFunction
) _wrap_wxFileType_Unassociate
, METH_VARARGS
| METH_KEYWORDS
},
10187 { "wxFileType_SetDefaultIcon", (PyCFunction
) _wrap_wxFileType_SetDefaultIcon
, METH_VARARGS
| METH_KEYWORDS
},
10188 { "wxFileType_SetCommand", (PyCFunction
) _wrap_wxFileType_SetCommand
, METH_VARARGS
| METH_KEYWORDS
},
10189 { "wxFileType_GetAllCommands", (PyCFunction
) _wrap_wxFileType_GetAllCommands
, METH_VARARGS
| METH_KEYWORDS
},
10190 { "wxFileType_GetPrintCommand", (PyCFunction
) _wrap_wxFileType_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
},
10191 { "wxFileType_GetOpenCommand", (PyCFunction
) _wrap_wxFileType_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
},
10192 { "wxFileType_GetDescription", (PyCFunction
) _wrap_wxFileType_GetDescription
, METH_VARARGS
| METH_KEYWORDS
},
10193 { "wxFileType_GetIconInfo", (PyCFunction
) _wrap_wxFileType_GetIconInfo
, METH_VARARGS
| METH_KEYWORDS
},
10194 { "wxFileType_GetIcon", (PyCFunction
) _wrap_wxFileType_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
10195 { "wxFileType_GetExtensions", (PyCFunction
) _wrap_wxFileType_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
},
10196 { "wxFileType_GetMimeTypes", (PyCFunction
) _wrap_wxFileType_GetMimeTypes
, METH_VARARGS
| METH_KEYWORDS
},
10197 { "wxFileType_GetMimeType", (PyCFunction
) _wrap_wxFileType_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
10198 { "new_wxFileType", (PyCFunction
) _wrap_new_wxFileType
, METH_VARARGS
| METH_KEYWORDS
},
10199 { "wxFileTypeInfo_GetIconIndex", (PyCFunction
) _wrap_wxFileTypeInfo_GetIconIndex
, METH_VARARGS
| METH_KEYWORDS
},
10200 { "wxFileTypeInfo_GetIconFile", (PyCFunction
) _wrap_wxFileTypeInfo_GetIconFile
, METH_VARARGS
| METH_KEYWORDS
},
10201 { "wxFileTypeInfo_GetExtensionsCount", (PyCFunction
) _wrap_wxFileTypeInfo_GetExtensionsCount
, METH_VARARGS
| METH_KEYWORDS
},
10202 { "wxFileTypeInfo_GetExtensions", (PyCFunction
) _wrap_wxFileTypeInfo_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
},
10203 { "wxFileTypeInfo_GetDescription", (PyCFunction
) _wrap_wxFileTypeInfo_GetDescription
, METH_VARARGS
| METH_KEYWORDS
},
10204 { "wxFileTypeInfo_GetShortDesc", (PyCFunction
) _wrap_wxFileTypeInfo_GetShortDesc
, METH_VARARGS
| METH_KEYWORDS
},
10205 { "wxFileTypeInfo_GetPrintCommand", (PyCFunction
) _wrap_wxFileTypeInfo_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
},
10206 { "wxFileTypeInfo_GetOpenCommand", (PyCFunction
) _wrap_wxFileTypeInfo_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
},
10207 { "wxFileTypeInfo_GetMimeType", (PyCFunction
) _wrap_wxFileTypeInfo_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
10208 { "wxFileTypeInfo_SetShortDesc", (PyCFunction
) _wrap_wxFileTypeInfo_SetShortDesc
, METH_VARARGS
| METH_KEYWORDS
},
10209 { "wxFileTypeInfo_SetIcon", (PyCFunction
) _wrap_wxFileTypeInfo_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
10210 { "wxFileTypeInfo_IsValid", (PyCFunction
) _wrap_wxFileTypeInfo_IsValid
, METH_VARARGS
| METH_KEYWORDS
},
10211 { "new_wxNullFileTypeInfo", (PyCFunction
) _wrap_new_wxNullFileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
},
10212 { "new_wxFileTypeInfoSequence", (PyCFunction
) _wrap_new_wxFileTypeInfoSequence
, METH_VARARGS
| METH_KEYWORDS
},
10213 { "new_wxFileTypeInfo", (PyCFunction
) _wrap_new_wxFileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
},
10214 { "wxWave_Play", (PyCFunction
) _wrap_wxWave_Play
, METH_VARARGS
| METH_KEYWORDS
},
10215 { "wxWave_IsOk", (PyCFunction
) _wrap_wxWave_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
10216 { "delete_wxWave", (PyCFunction
) _wrap_delete_wxWave
, METH_VARARGS
| METH_KEYWORDS
},
10217 { "new_wxWave", (PyCFunction
) _wrap_new_wxWave
, METH_VARARGS
| METH_KEYWORDS
},
10218 { "wxJoystick_ReleaseCapture", (PyCFunction
) _wrap_wxJoystick_ReleaseCapture
, METH_VARARGS
| METH_KEYWORDS
},
10219 { "wxJoystick_SetCapture", (PyCFunction
) _wrap_wxJoystick_SetCapture
, METH_VARARGS
| METH_KEYWORDS
},
10220 { "wxJoystick_HasPOVCTS", (PyCFunction
) _wrap_wxJoystick_HasPOVCTS
, METH_VARARGS
| METH_KEYWORDS
},
10221 { "wxJoystick_HasPOV4Dir", (PyCFunction
) _wrap_wxJoystick_HasPOV4Dir
, METH_VARARGS
| METH_KEYWORDS
},
10222 { "wxJoystick_HasPOV", (PyCFunction
) _wrap_wxJoystick_HasPOV
, METH_VARARGS
| METH_KEYWORDS
},
10223 { "wxJoystick_HasV", (PyCFunction
) _wrap_wxJoystick_HasV
, METH_VARARGS
| METH_KEYWORDS
},
10224 { "wxJoystick_HasU", (PyCFunction
) _wrap_wxJoystick_HasU
, METH_VARARGS
| METH_KEYWORDS
},
10225 { "wxJoystick_HasZ", (PyCFunction
) _wrap_wxJoystick_HasZ
, METH_VARARGS
| METH_KEYWORDS
},
10226 { "wxJoystick_HasRudder", (PyCFunction
) _wrap_wxJoystick_HasRudder
, METH_VARARGS
| METH_KEYWORDS
},
10227 { "wxJoystick_GetVMax", (PyCFunction
) _wrap_wxJoystick_GetVMax
, METH_VARARGS
| METH_KEYWORDS
},
10228 { "wxJoystick_GetVMin", (PyCFunction
) _wrap_wxJoystick_GetVMin
, METH_VARARGS
| METH_KEYWORDS
},
10229 { "wxJoystick_GetUMax", (PyCFunction
) _wrap_wxJoystick_GetUMax
, METH_VARARGS
| METH_KEYWORDS
},
10230 { "wxJoystick_GetUMin", (PyCFunction
) _wrap_wxJoystick_GetUMin
, METH_VARARGS
| METH_KEYWORDS
},
10231 { "wxJoystick_GetRudderMax", (PyCFunction
) _wrap_wxJoystick_GetRudderMax
, METH_VARARGS
| METH_KEYWORDS
},
10232 { "wxJoystick_GetRudderMin", (PyCFunction
) _wrap_wxJoystick_GetRudderMin
, METH_VARARGS
| METH_KEYWORDS
},
10233 { "wxJoystick_GetPollingMax", (PyCFunction
) _wrap_wxJoystick_GetPollingMax
, METH_VARARGS
| METH_KEYWORDS
},
10234 { "wxJoystick_GetPollingMin", (PyCFunction
) _wrap_wxJoystick_GetPollingMin
, METH_VARARGS
| METH_KEYWORDS
},
10235 { "wxJoystick_GetMaxAxes", (PyCFunction
) _wrap_wxJoystick_GetMaxAxes
, METH_VARARGS
| METH_KEYWORDS
},
10236 { "wxJoystick_GetMaxButtons", (PyCFunction
) _wrap_wxJoystick_GetMaxButtons
, METH_VARARGS
| METH_KEYWORDS
},
10237 { "wxJoystick_GetNumberAxes", (PyCFunction
) _wrap_wxJoystick_GetNumberAxes
, METH_VARARGS
| METH_KEYWORDS
},
10238 { "wxJoystick_GetNumberButtons", (PyCFunction
) _wrap_wxJoystick_GetNumberButtons
, METH_VARARGS
| METH_KEYWORDS
},
10239 { "wxJoystick_GetZMax", (PyCFunction
) _wrap_wxJoystick_GetZMax
, METH_VARARGS
| METH_KEYWORDS
},
10240 { "wxJoystick_GetYMax", (PyCFunction
) _wrap_wxJoystick_GetYMax
, METH_VARARGS
| METH_KEYWORDS
},
10241 { "wxJoystick_GetXMax", (PyCFunction
) _wrap_wxJoystick_GetXMax
, METH_VARARGS
| METH_KEYWORDS
},
10242 { "wxJoystick_GetZMin", (PyCFunction
) _wrap_wxJoystick_GetZMin
, METH_VARARGS
| METH_KEYWORDS
},
10243 { "wxJoystick_GetYMin", (PyCFunction
) _wrap_wxJoystick_GetYMin
, METH_VARARGS
| METH_KEYWORDS
},
10244 { "wxJoystick_GetXMin", (PyCFunction
) _wrap_wxJoystick_GetXMin
, METH_VARARGS
| METH_KEYWORDS
},
10245 { "wxJoystick_GetProductName", (PyCFunction
) _wrap_wxJoystick_GetProductName
, METH_VARARGS
| METH_KEYWORDS
},
10246 { "wxJoystick_GetProductId", (PyCFunction
) _wrap_wxJoystick_GetProductId
, METH_VARARGS
| METH_KEYWORDS
},
10247 { "wxJoystick_GetManufacturerId", (PyCFunction
) _wrap_wxJoystick_GetManufacturerId
, METH_VARARGS
| METH_KEYWORDS
},
10248 { "wxJoystick_GetNumberJoysticks", (PyCFunction
) _wrap_wxJoystick_GetNumberJoysticks
, METH_VARARGS
| METH_KEYWORDS
},
10249 { "wxJoystick_IsOk", (PyCFunction
) _wrap_wxJoystick_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
10250 { "wxJoystick_SetMovementThreshold", (PyCFunction
) _wrap_wxJoystick_SetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
},
10251 { "wxJoystick_GetMovementThreshold", (PyCFunction
) _wrap_wxJoystick_GetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
},
10252 { "wxJoystick_GetVPosition", (PyCFunction
) _wrap_wxJoystick_GetVPosition
, METH_VARARGS
| METH_KEYWORDS
},
10253 { "wxJoystick_GetUPosition", (PyCFunction
) _wrap_wxJoystick_GetUPosition
, METH_VARARGS
| METH_KEYWORDS
},
10254 { "wxJoystick_GetRudderPosition", (PyCFunction
) _wrap_wxJoystick_GetRudderPosition
, METH_VARARGS
| METH_KEYWORDS
},
10255 { "wxJoystick_GetPOVCTSPosition", (PyCFunction
) _wrap_wxJoystick_GetPOVCTSPosition
, METH_VARARGS
| METH_KEYWORDS
},
10256 { "wxJoystick_GetPOVPosition", (PyCFunction
) _wrap_wxJoystick_GetPOVPosition
, METH_VARARGS
| METH_KEYWORDS
},
10257 { "wxJoystick_GetButtonState", (PyCFunction
) _wrap_wxJoystick_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
},
10258 { "wxJoystick_GetZPosition", (PyCFunction
) _wrap_wxJoystick_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
},
10259 { "wxJoystick_GetPosition", (PyCFunction
) _wrap_wxJoystick_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
10260 { "delete_wxJoystick", (PyCFunction
) _wrap_delete_wxJoystick
, METH_VARARGS
| METH_KEYWORDS
},
10261 { "new_wxJoystick", (PyCFunction
) _wrap_new_wxJoystick
, METH_VARARGS
| METH_KEYWORDS
},
10262 { "wxProcess_CloseOutput", (PyCFunction
) _wrap_wxProcess_CloseOutput
, METH_VARARGS
| METH_KEYWORDS
},
10263 { "wxProcess_GetOutputStream", (PyCFunction
) _wrap_wxProcess_GetOutputStream
, METH_VARARGS
| METH_KEYWORDS
},
10264 { "wxProcess_GetErrorStream", (PyCFunction
) _wrap_wxProcess_GetErrorStream
, METH_VARARGS
| METH_KEYWORDS
},
10265 { "wxProcess_GetInputStream", (PyCFunction
) _wrap_wxProcess_GetInputStream
, METH_VARARGS
| METH_KEYWORDS
},
10266 { "wxProcess_Detach", (PyCFunction
) _wrap_wxProcess_Detach
, METH_VARARGS
| METH_KEYWORDS
},
10267 { "wxProcess_IsRedirected", (PyCFunction
) _wrap_wxProcess_IsRedirected
, METH_VARARGS
| METH_KEYWORDS
},
10268 { "wxProcess_Redirect", (PyCFunction
) _wrap_wxProcess_Redirect
, METH_VARARGS
| METH_KEYWORDS
},
10269 { "wxProcess_base_OnTerminate", (PyCFunction
) _wrap_wxProcess_base_OnTerminate
, METH_VARARGS
| METH_KEYWORDS
},
10270 { "wxProcess__setCallbackInfo", (PyCFunction
) _wrap_wxProcess__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
10271 { "wxProcess_Destroy", (PyCFunction
) _wrap_wxProcess_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
10272 { "new_wxProcess", (PyCFunction
) _wrap_new_wxProcess
, METH_VARARGS
| METH_KEYWORDS
},
10273 { "wxProcessEvent_m_exitcode_get", (PyCFunction
) _wrap_wxProcessEvent_m_exitcode_get
, METH_VARARGS
| METH_KEYWORDS
},
10274 { "wxProcessEvent_m_exitcode_set", (PyCFunction
) _wrap_wxProcessEvent_m_exitcode_set
, METH_VARARGS
| METH_KEYWORDS
},
10275 { "wxProcessEvent_m_pid_get", (PyCFunction
) _wrap_wxProcessEvent_m_pid_get
, METH_VARARGS
| METH_KEYWORDS
},
10276 { "wxProcessEvent_m_pid_set", (PyCFunction
) _wrap_wxProcessEvent_m_pid_set
, METH_VARARGS
| METH_KEYWORDS
},
10277 { "wxProcessEvent_GetExitCode", (PyCFunction
) _wrap_wxProcessEvent_GetExitCode
, METH_VARARGS
| METH_KEYWORDS
},
10278 { "wxProcessEvent_GetPid", (PyCFunction
) _wrap_wxProcessEvent_GetPid
, METH_VARARGS
| METH_KEYWORDS
},
10279 { "new_wxProcessEvent", (PyCFunction
) _wrap_new_wxProcessEvent
, METH_VARARGS
| METH_KEYWORDS
},
10280 { "wxPyLog_Destroy", (PyCFunction
) _wrap_wxPyLog_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
10281 { "wxPyLog__setCallbackInfo", (PyCFunction
) _wrap_wxPyLog__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
10282 { "new_wxPyLog", (PyCFunction
) _wrap_new_wxPyLog
, METH_VARARGS
| METH_KEYWORDS
},
10283 { "wxLogChain_GetOldLog", (PyCFunction
) _wrap_wxLogChain_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
},
10284 { "wxLogChain_IsPassingMessages", (PyCFunction
) _wrap_wxLogChain_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
},
10285 { "wxLogChain_PassMessages", (PyCFunction
) _wrap_wxLogChain_PassMessages
, METH_VARARGS
| METH_KEYWORDS
},
10286 { "wxLogChain_SetLog", (PyCFunction
) _wrap_wxLogChain_SetLog
, METH_VARARGS
| METH_KEYWORDS
},
10287 { "new_wxLogChain", (PyCFunction
) _wrap_new_wxLogChain
, METH_VARARGS
| METH_KEYWORDS
},
10288 { "delete_wxLogNull", (PyCFunction
) _wrap_delete_wxLogNull
, METH_VARARGS
| METH_KEYWORDS
},
10289 { "new_wxLogNull", (PyCFunction
) _wrap_new_wxLogNull
, METH_VARARGS
| METH_KEYWORDS
},
10290 { "wxLogWindow_PassMessages", (PyCFunction
) _wrap_wxLogWindow_PassMessages
, METH_VARARGS
| METH_KEYWORDS
},
10291 { "wxLogWindow_IsPassingMessages", (PyCFunction
) _wrap_wxLogWindow_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
},
10292 { "wxLogWindow_GetOldLog", (PyCFunction
) _wrap_wxLogWindow_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
},
10293 { "wxLogWindow_GetFrame", (PyCFunction
) _wrap_wxLogWindow_GetFrame
, METH_VARARGS
| METH_KEYWORDS
},
10294 { "wxLogWindow_Show", (PyCFunction
) _wrap_wxLogWindow_Show
, METH_VARARGS
| METH_KEYWORDS
},
10295 { "new_wxLogWindow", (PyCFunction
) _wrap_new_wxLogWindow
, METH_VARARGS
| METH_KEYWORDS
},
10296 { "new_wxLogGui", (PyCFunction
) _wrap_new_wxLogGui
, METH_VARARGS
| METH_KEYWORDS
},
10297 { "new_wxLogTextCtrl", (PyCFunction
) _wrap_new_wxLogTextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
10298 { "new_wxLogStderr", (PyCFunction
) _wrap_new_wxLogStderr
, METH_VARARGS
| METH_KEYWORDS
},
10299 { "wxLog_TimeStamp", (PyCFunction
) _wrap_wxLog_TimeStamp
, METH_VARARGS
| METH_KEYWORDS
},
10300 { "wxLog_IsAllowedTraceMask", (PyCFunction
) _wrap_wxLog_IsAllowedTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
10301 { "wxLog_GetTraceMask", (PyCFunction
) _wrap_wxLog_GetTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
10302 { "wxLog_GetVerbose", (PyCFunction
) _wrap_wxLog_GetVerbose
, METH_VARARGS
| METH_KEYWORDS
},
10303 { "wxLog_GetTimestamp", (PyCFunction
) _wrap_wxLog_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
10304 { "wxLog_SetTimestamp", (PyCFunction
) _wrap_wxLog_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
10305 { "wxLog_ClearTraceMasks", (PyCFunction
) _wrap_wxLog_ClearTraceMasks
, METH_VARARGS
| METH_KEYWORDS
},
10306 { "wxLog_RemoveTraceMask", (PyCFunction
) _wrap_wxLog_RemoveTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
10307 { "wxLog_AddTraceMask", (PyCFunction
) _wrap_wxLog_AddTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
10308 { "wxLog_SetTraceMask", (PyCFunction
) _wrap_wxLog_SetTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
10309 { "wxLog_DontCreateOnDemand", (PyCFunction
) _wrap_wxLog_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
},
10310 { "wxLog_SetVerbose", (PyCFunction
) _wrap_wxLog_SetVerbose
, METH_VARARGS
| METH_KEYWORDS
},
10311 { "wxLog_Resume", (PyCFunction
) _wrap_wxLog_Resume
, METH_VARARGS
| METH_KEYWORDS
},
10312 { "wxLog_Suspend", (PyCFunction
) _wrap_wxLog_Suspend
, METH_VARARGS
| METH_KEYWORDS
},
10313 { "wxLog_SetActiveTarget", (PyCFunction
) _wrap_wxLog_SetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
},
10314 { "wxLog_GetActiveTarget", (PyCFunction
) _wrap_wxLog_GetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
},
10315 { "wxLog_FlushActive", (PyCFunction
) _wrap_wxLog_FlushActive
, METH_VARARGS
| METH_KEYWORDS
},
10316 { "wxLog_HasPendingMessages", (PyCFunction
) _wrap_wxLog_HasPendingMessages
, METH_VARARGS
| METH_KEYWORDS
},
10317 { "wxLog_Flush", (PyCFunction
) _wrap_wxLog_Flush
, METH_VARARGS
| METH_KEYWORDS
},
10318 { "wxLog_OnLog", (PyCFunction
) _wrap_wxLog_OnLog
, METH_VARARGS
| METH_KEYWORDS
},
10319 { "wxLog_EnableLogging", (PyCFunction
) _wrap_wxLog_EnableLogging
, METH_VARARGS
| METH_KEYWORDS
},
10320 { "wxLog_IsEnabled", (PyCFunction
) _wrap_wxLog_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
10321 { "new_wxLog", (PyCFunction
) _wrap_new_wxLog
, METH_VARARGS
| METH_KEYWORDS
},
10322 { "wxStopWatch_Time", (PyCFunction
) _wrap_wxStopWatch_Time
, METH_VARARGS
| METH_KEYWORDS
},
10323 { "wxStopWatch_Resume", (PyCFunction
) _wrap_wxStopWatch_Resume
, METH_VARARGS
| METH_KEYWORDS
},
10324 { "wxStopWatch_Pause", (PyCFunction
) _wrap_wxStopWatch_Pause
, METH_VARARGS
| METH_KEYWORDS
},
10325 { "wxStopWatch_Start", (PyCFunction
) _wrap_wxStopWatch_Start
, METH_VARARGS
| METH_KEYWORDS
},
10326 { "new_wxStopWatch", (PyCFunction
) _wrap_new_wxStopWatch
, METH_VARARGS
| METH_KEYWORDS
},
10327 { "wxPyTimer_Stop", (PyCFunction
) _wrap_wxPyTimer_Stop
, METH_VARARGS
| METH_KEYWORDS
},
10328 { "wxPyTimer_Start", (PyCFunction
) _wrap_wxPyTimer_Start
, METH_VARARGS
| METH_KEYWORDS
},
10329 { "wxPyTimer_SetOwner", (PyCFunction
) _wrap_wxPyTimer_SetOwner
, METH_VARARGS
| METH_KEYWORDS
},
10330 { "wxPyTimer_IsRunning", (PyCFunction
) _wrap_wxPyTimer_IsRunning
, METH_VARARGS
| METH_KEYWORDS
},
10331 { "wxPyTimer_IsOneShot", (PyCFunction
) _wrap_wxPyTimer_IsOneShot
, METH_VARARGS
| METH_KEYWORDS
},
10332 { "wxPyTimer_GetInterval", (PyCFunction
) _wrap_wxPyTimer_GetInterval
, METH_VARARGS
| METH_KEYWORDS
},
10333 { "delete_wxPyTimer", (PyCFunction
) _wrap_delete_wxPyTimer
, METH_VARARGS
| METH_KEYWORDS
},
10334 { "new_wxPyTimer", (PyCFunction
) _wrap_new_wxPyTimer
, METH_VARARGS
| METH_KEYWORDS
},
10335 { "wxDragImage_RedrawImage", (PyCFunction
) _wrap_wxDragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
},
10336 { "wxDragImage_GetImageRect", (PyCFunction
) _wrap_wxDragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
},
10337 { "wxDragImage_Hide", (PyCFunction
) _wrap_wxDragImage_Hide
, METH_VARARGS
| METH_KEYWORDS
},
10338 { "wxDragImage_Show", (PyCFunction
) _wrap_wxDragImage_Show
, METH_VARARGS
| METH_KEYWORDS
},
10339 { "wxDragImage_Move", (PyCFunction
) _wrap_wxDragImage_Move
, METH_VARARGS
| METH_KEYWORDS
},
10340 { "wxDragImage_EndDrag", (PyCFunction
) _wrap_wxDragImage_EndDrag
, METH_VARARGS
| METH_KEYWORDS
},
10341 { "wxDragImage_BeginDrag2", (PyCFunction
) _wrap_wxDragImage_BeginDrag2
, METH_VARARGS
| METH_KEYWORDS
},
10342 { "wxDragImage_BeginDrag", (PyCFunction
) _wrap_wxDragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
},
10343 { "wxDragImage_SetBackingBitmap", (PyCFunction
) _wrap_wxDragImage_SetBackingBitmap
, METH_VARARGS
| METH_KEYWORDS
},
10344 { "delete_wxDragImage", (PyCFunction
) _wrap_delete_wxDragImage
, METH_VARARGS
| METH_KEYWORDS
},
10345 { "new_wxDragListItem", (PyCFunction
) _wrap_new_wxDragListItem
, METH_VARARGS
| METH_KEYWORDS
},
10346 { "new_wxDragTreeItem", (PyCFunction
) _wrap_new_wxDragTreeItem
, METH_VARARGS
| METH_KEYWORDS
},
10347 { "new_wxDragString", (PyCFunction
) _wrap_new_wxDragString
, METH_VARARGS
| METH_KEYWORDS
},
10348 { "new_wxDragIcon", (PyCFunction
) _wrap_new_wxDragIcon
, METH_VARARGS
| METH_KEYWORDS
},
10349 { "new_wxDragImage", (PyCFunction
) _wrap_new_wxDragImage
, METH_VARARGS
| METH_KEYWORDS
},
10350 { "new_wxPyTipProvider", (PyCFunction
) _wrap_new_wxPyTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
10351 { "wxTipProvider_GetCurrentTip", (PyCFunction
) _wrap_wxTipProvider_GetCurrentTip
, METH_VARARGS
| METH_KEYWORDS
},
10352 { "wxTipProvider_GetTip", (PyCFunction
) _wrap_wxTipProvider_GetTip
, METH_VARARGS
| METH_KEYWORDS
},
10353 { "delete_wxTipProvider", (PyCFunction
) _wrap_delete_wxTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
10354 { "delete_wxMutexGuiLocker", (PyCFunction
) _wrap_delete_wxMutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
},
10355 { "new_wxMutexGuiLocker", (PyCFunction
) _wrap_new_wxMutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
},
10356 { "delete_wxWindowDisabler", (PyCFunction
) _wrap_delete_wxWindowDisabler
, METH_VARARGS
| METH_KEYWORDS
},
10357 { "new_wxWindowDisabler", (PyCFunction
) _wrap_new_wxWindowDisabler
, METH_VARARGS
| METH_KEYWORDS
},
10358 { "delete_wxBusyCursor", (PyCFunction
) _wrap_delete_wxBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
10359 { "new_wxBusyCursor", (PyCFunction
) _wrap_new_wxBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
10360 { "wxFontEnumerator_GetFacenames", (PyCFunction
) _wrap_wxFontEnumerator_GetFacenames
, METH_VARARGS
| METH_KEYWORDS
},
10361 { "wxFontEnumerator_GetEncodings", (PyCFunction
) _wrap_wxFontEnumerator_GetEncodings
, METH_VARARGS
| METH_KEYWORDS
},
10362 { "wxFontEnumerator_EnumerateEncodings", (PyCFunction
) _wrap_wxFontEnumerator_EnumerateEncodings
, METH_VARARGS
| METH_KEYWORDS
},
10363 { "wxFontEnumerator_EnumerateFacenames", (PyCFunction
) _wrap_wxFontEnumerator_EnumerateFacenames
, METH_VARARGS
| METH_KEYWORDS
},
10364 { "wxFontEnumerator__setCallbackInfo", (PyCFunction
) _wrap_wxFontEnumerator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
10365 { "delete_wxFontEnumerator", (PyCFunction
) _wrap_delete_wxFontEnumerator
, METH_VARARGS
| METH_KEYWORDS
},
10366 { "new_wxFontEnumerator", (PyCFunction
) _wrap_new_wxFontEnumerator
, METH_VARARGS
| METH_KEYWORDS
},
10367 { "wxCaret_Hide", (PyCFunction
) _wrap_wxCaret_Hide
, METH_VARARGS
| METH_KEYWORDS
},
10368 { "wxCaret_Show", (PyCFunction
) _wrap_wxCaret_Show
, METH_VARARGS
| METH_KEYWORDS
},
10369 { "wxCaret_SetSize", (PyCFunction
) _wrap_wxCaret_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
10370 { "wxCaret_SetSizeWH", (PyCFunction
) _wrap_wxCaret_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
10371 { "wxCaret_Move", (PyCFunction
) _wrap_wxCaret_Move
, METH_VARARGS
| METH_KEYWORDS
},
10372 { "wxCaret_MoveXY", (PyCFunction
) _wrap_wxCaret_MoveXY
, METH_VARARGS
| METH_KEYWORDS
},
10373 { "wxCaret_GetWindow", (PyCFunction
) _wrap_wxCaret_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
10374 { "wxCaret_GetSize", (PyCFunction
) _wrap_wxCaret_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
10375 { "wxCaret_GetSizeTuple", (PyCFunction
) _wrap_wxCaret_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
10376 { "wxCaret_GetPosition", (PyCFunction
) _wrap_wxCaret_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
10377 { "wxCaret_GetPositionTuple", (PyCFunction
) _wrap_wxCaret_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
10378 { "wxCaret_IsVisible", (PyCFunction
) _wrap_wxCaret_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
10379 { "wxCaret_IsOk", (PyCFunction
) _wrap_wxCaret_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
10380 { "delete_wxCaret", (PyCFunction
) _wrap_delete_wxCaret
, METH_VARARGS
| METH_KEYWORDS
},
10381 { "new_wxCaret", (PyCFunction
) _wrap_new_wxCaret
, METH_VARARGS
| METH_KEYWORDS
},
10382 { "wxToolTip_SetDelay", (PyCFunction
) _wrap_wxToolTip_SetDelay
, METH_VARARGS
| METH_KEYWORDS
},
10383 { "wxToolTip_Enable", (PyCFunction
) _wrap_wxToolTip_Enable
, METH_VARARGS
| METH_KEYWORDS
},
10384 { "wxToolTip_GetWindow", (PyCFunction
) _wrap_wxToolTip_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
10385 { "wxToolTip_GetTip", (PyCFunction
) _wrap_wxToolTip_GetTip
, METH_VARARGS
| METH_KEYWORDS
},
10386 { "wxToolTip_SetTip", (PyCFunction
) _wrap_wxToolTip_SetTip
, METH_VARARGS
| METH_KEYWORDS
},
10387 { "new_wxToolTip", (PyCFunction
) _wrap_new_wxToolTip
, METH_VARARGS
| METH_KEYWORDS
},
10388 { "wxSystemSettings_GetSystemMetric", (PyCFunction
) _wrap_wxSystemSettings_GetSystemMetric
, METH_VARARGS
| METH_KEYWORDS
},
10389 { "wxSystemSettings_GetSystemFont", (PyCFunction
) _wrap_wxSystemSettings_GetSystemFont
, METH_VARARGS
| METH_KEYWORDS
},
10390 { "wxSystemSettings_GetSystemColour", (PyCFunction
) _wrap_wxSystemSettings_GetSystemColour
, METH_VARARGS
| METH_KEYWORDS
},
10391 { "wxSystemSettings_HasFeature", (PyCFunction
) _wrap_wxSystemSettings_HasFeature
, METH_VARARGS
| METH_KEYWORDS
},
10392 { "wxSystemSettings_GetMetric", (PyCFunction
) _wrap_wxSystemSettings_GetMetric
, METH_VARARGS
| METH_KEYWORDS
},
10393 { "wxSystemSettings_GetFont", (PyCFunction
) _wrap_wxSystemSettings_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
10394 { "wxSystemSettings_GetColour", (PyCFunction
) _wrap_wxSystemSettings_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
10395 { "wxWaveData", (PyCFunction
) _wrap_wxWaveData
, METH_VARARGS
| METH_KEYWORDS
},
10396 { "wxExecute", (PyCFunction
) _wrap_wxExecute
, METH_VARARGS
| METH_KEYWORDS
},
10397 { "wxLogSysError", (PyCFunction
) _wrap_wxLogSysError
, METH_VARARGS
| METH_KEYWORDS
},
10398 { "wxLogStatusFrame", (PyCFunction
) _wrap_wxLogStatusFrame
, METH_VARARGS
| METH_KEYWORDS
},
10399 { "wxLogStatus", (PyCFunction
) _wrap_wxLogStatus
, METH_VARARGS
| METH_KEYWORDS
},
10400 { "wxLogVerbose", (PyCFunction
) _wrap_wxLogVerbose
, METH_VARARGS
| METH_KEYWORDS
},
10401 { "wxLogInfo", (PyCFunction
) _wrap_wxLogInfo
, METH_VARARGS
| METH_KEYWORDS
},
10402 { "wxLogMessage", (PyCFunction
) _wrap_wxLogMessage
, METH_VARARGS
| METH_KEYWORDS
},
10403 { "wxLogWarning", (PyCFunction
) _wrap_wxLogWarning
, METH_VARARGS
| METH_KEYWORDS
},
10404 { "wxLogError", (PyCFunction
) _wrap_wxLogError
, METH_VARARGS
| METH_KEYWORDS
},
10405 { "wxLogFatalError", (PyCFunction
) _wrap_wxLogFatalError
, METH_VARARGS
| METH_KEYWORDS
},
10406 { "wxSysErrorMsg", (PyCFunction
) _wrap_wxSysErrorMsg
, METH_VARARGS
| METH_KEYWORDS
},
10407 { "wxSysErrorCode", (PyCFunction
) _wrap_wxSysErrorCode
, METH_VARARGS
| METH_KEYWORDS
},
10408 { "wxCreateFileTipProvider", (PyCFunction
) _wrap_wxCreateFileTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
10409 { "wxShowTip", (PyCFunction
) _wrap_wxShowTip
, METH_VARARGS
| METH_KEYWORDS
},
10410 { "wxThread_IsMain", (PyCFunction
) _wrap_wxThread_IsMain
, METH_VARARGS
| METH_KEYWORDS
},
10411 { "wxMutexGuiLeave", (PyCFunction
) _wrap_wxMutexGuiLeave
, METH_VARARGS
| METH_KEYWORDS
},
10412 { "wxMutexGuiEnter", (PyCFunction
) _wrap_wxMutexGuiEnter
, METH_VARARGS
| METH_KEYWORDS
},
10413 { "wxWakeUpIdle", (PyCFunction
) _wrap_wxWakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
},
10414 { "wxPostEvent", (PyCFunction
) _wrap_wxPostEvent
, METH_VARARGS
| METH_KEYWORDS
},
10415 { "wxSafeYield", (PyCFunction
) _wrap_wxSafeYield
, METH_VARARGS
| METH_KEYWORDS
},
10416 { "wxCaret_SetBlinkTime", (PyCFunction
) _wrap_wxCaret_SetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
},
10417 { "wxCaret_GetBlinkTime", (PyCFunction
) _wrap_wxCaret_GetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
},
10418 { "wxResourceParseString", (PyCFunction
) _wrap_wxResourceParseString
, METH_VARARGS
| METH_KEYWORDS
},
10419 { "wxResourceParseFile", (PyCFunction
) _wrap_wxResourceParseFile
, METH_VARARGS
| METH_KEYWORDS
},
10420 { "wxResourceParseData", (PyCFunction
) _wrap_wxResourceParseData
, METH_VARARGS
| METH_KEYWORDS
},
10421 { "wxResourceGetIdentifier", (PyCFunction
) _wrap_wxResourceGetIdentifier
, METH_VARARGS
| METH_KEYWORDS
},
10422 { "wxResourceCreateMenuBar", (PyCFunction
) _wrap_wxResourceCreateMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
10423 { "wxResourceCreateIcon", (PyCFunction
) _wrap_wxResourceCreateIcon
, METH_VARARGS
| METH_KEYWORDS
},
10424 { "wxResourceCreateBitmap", (PyCFunction
) _wrap_wxResourceCreateBitmap
, METH_VARARGS
| METH_KEYWORDS
},
10425 { "wxResourceClear", (PyCFunction
) _wrap_wxResourceClear
, METH_VARARGS
| METH_KEYWORDS
},
10426 { "wxResourceAddIdentifier", (PyCFunction
) _wrap_wxResourceAddIdentifier
, METH_VARARGS
| METH_KEYWORDS
},
10427 { "wxFindWindowAtPoint", (PyCFunction
) _wrap_wxFindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
},
10428 { "wxGenericFindWindowAtPoint", (PyCFunction
) _wrap_wxGenericFindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
},
10429 { "wxGetActiveWindow", (PyCFunction
) _wrap_wxGetActiveWindow
, METH_VARARGS
| METH_KEYWORDS
},
10430 { "wxBeginBusyCursor", (PyCFunction
) _wrap_wxBeginBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
10431 { "wxFindWindowByName", (PyCFunction
) _wrap_wxFindWindowByName
, METH_VARARGS
| METH_KEYWORDS
},
10432 { "wxFindWindowByLabel", (PyCFunction
) _wrap_wxFindWindowByLabel
, METH_VARARGS
| METH_KEYWORDS
},
10433 { "wxSetCursor", (PyCFunction
) _wrap_wxSetCursor
, METH_VARARGS
| METH_KEYWORDS
},
10434 { "wxGetClientDisplayRect", (PyCFunction
) _wrap_wxGetClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
},
10435 { "wxClientDisplayRect", (PyCFunction
) _wrap_wxClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
},
10436 { "wxGetDisplaySizeMM", (PyCFunction
) _wrap_wxGetDisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
},
10437 { "wxDisplaySizeMM", (PyCFunction
) _wrap_wxDisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
},
10438 { "wxGetDisplaySize", (PyCFunction
) _wrap_wxGetDisplaySize
, METH_VARARGS
| METH_KEYWORDS
},
10439 { "wxDisplaySize", (PyCFunction
) _wrap_wxDisplaySize
, METH_VARARGS
| METH_KEYWORDS
},
10440 { "wxGetDisplayDepth", (PyCFunction
) _wrap_wxGetDisplayDepth
, METH_VARARGS
| METH_KEYWORDS
},
10441 { "wxDisplayDepth", (PyCFunction
) _wrap_wxDisplayDepth
, METH_VARARGS
| METH_KEYWORDS
},
10442 { "wxColourDisplay", (PyCFunction
) _wrap_wxColourDisplay
, METH_VARARGS
| METH_KEYWORDS
},
10443 { "wxGetNumberFromUser", (PyCFunction
) _wrap_wxGetNumberFromUser
, METH_VARARGS
| METH_KEYWORDS
},
10444 { "wxMessageBox", (PyCFunction
) _wrap_wxMessageBox
, METH_VARARGS
| METH_KEYWORDS
},
10445 { "wxGetSingleChoiceIndex", (PyCFunction
) _wrap_wxGetSingleChoiceIndex
, METH_VARARGS
| METH_KEYWORDS
},
10446 { "wxGetSingleChoice", (PyCFunction
) _wrap_wxGetSingleChoice
, METH_VARARGS
| METH_KEYWORDS
},
10447 { "wxGetPasswordFromUser", (PyCFunction
) _wrap_wxGetPasswordFromUser
, METH_VARARGS
| METH_KEYWORDS
},
10448 { "wxGetTextFromUser", (PyCFunction
) _wrap_wxGetTextFromUser
, METH_VARARGS
| METH_KEYWORDS
},
10449 { "wxFileSelector", (PyCFunction
) _wrap_wxFileSelector
, METH_VARARGS
| METH_KEYWORDS
},
10456 * This table is used by the pointer type-checker
10458 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
10459 { "_wxEvent","_wxProcessEvent",SwigwxProcessEventTowxEvent
},
10460 { "_signed_long","_long",0},
10461 { "_wxPrintQuality","_wxCoord",0},
10462 { "_wxPrintQuality","_int",0},
10463 { "_wxPrintQuality","_signed_int",0},
10464 { "_wxPrintQuality","_unsigned_int",0},
10465 { "_wxPrintQuality","_wxWindowID",0},
10466 { "_wxPrintQuality","_uint",0},
10467 { "_wxPrintQuality","_EBool",0},
10468 { "_wxPrintQuality","_size_t",0},
10469 { "_wxPrintQuality","_time_t",0},
10470 { "_wxLog","_wxPyLog",SwigwxPyLogTowxLog
},
10471 { "_wxLog","_wxLogChain",SwigwxLogChainTowxLog
},
10472 { "_wxLog","_wxLogWindow",SwigwxLogWindowTowxLog
},
10473 { "_wxLog","_wxLogGui",SwigwxLogGuiTowxLog
},
10474 { "_wxLog","_wxLogTextCtrl",SwigwxLogTextCtrlTowxLog
},
10475 { "_wxLog","_wxLogStderr",SwigwxLogStderrTowxLog
},
10476 { "_byte","_unsigned_char",0},
10477 { "_long","_unsigned_long",0},
10478 { "_long","_signed_long",0},
10479 { "_size_t","_wxCoord",0},
10480 { "_size_t","_wxPrintQuality",0},
10481 { "_size_t","_time_t",0},
10482 { "_size_t","_unsigned_int",0},
10483 { "_size_t","_int",0},
10484 { "_size_t","_wxWindowID",0},
10485 { "_size_t","_uint",0},
10486 { "_uint","_wxCoord",0},
10487 { "_uint","_wxPrintQuality",0},
10488 { "_uint","_time_t",0},
10489 { "_uint","_size_t",0},
10490 { "_uint","_unsigned_int",0},
10491 { "_uint","_int",0},
10492 { "_uint","_wxWindowID",0},
10493 { "_wxChar","_char",0},
10494 { "_char","_wxChar",0},
10495 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
10496 { "_EBool","_wxCoord",0},
10497 { "_EBool","_wxPrintQuality",0},
10498 { "_EBool","_signed_int",0},
10499 { "_EBool","_int",0},
10500 { "_EBool","_wxWindowID",0},
10501 { "_unsigned_long","_long",0},
10502 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
10503 { "_signed_int","_wxCoord",0},
10504 { "_signed_int","_wxPrintQuality",0},
10505 { "_signed_int","_EBool",0},
10506 { "_signed_int","_wxWindowID",0},
10507 { "_signed_int","_int",0},
10508 { "_WXTYPE","_wxDateTime_t",0},
10509 { "_WXTYPE","_short",0},
10510 { "_WXTYPE","_signed_short",0},
10511 { "_WXTYPE","_unsigned_short",0},
10512 { "_wxTipProvider","_wxPyTipProvider",SwigwxPyTipProviderTowxTipProvider
},
10513 { "_unsigned_short","_wxDateTime_t",0},
10514 { "_unsigned_short","_WXTYPE",0},
10515 { "_unsigned_short","_short",0},
10516 { "_wxObject","_wxFileHistory",SwigwxFileHistoryTowxObject
},
10517 { "_wxObject","_wxWave",SwigwxWaveTowxObject
},
10518 { "_wxObject","_wxJoystick",SwigwxJoystickTowxObject
},
10519 { "_wxObject","_wxPyProcess",SwigwxPyProcessTowxObject
},
10520 { "_wxObject","_wxProcessEvent",SwigwxProcessEventTowxObject
},
10521 { "_wxObject","_wxPyTimer",SwigwxPyTimerTowxObject
},
10522 { "_wxObject","_wxGenericDragImage",SwigwxGenericDragImageTowxObject
},
10523 { "_wxObject","_wxToolTip",SwigwxToolTipTowxObject
},
10524 { "_signed_short","_WXTYPE",0},
10525 { "_signed_short","_short",0},
10526 { "_unsigned_char","_byte",0},
10527 { "_unsigned_int","_wxCoord",0},
10528 { "_unsigned_int","_wxPrintQuality",0},
10529 { "_unsigned_int","_time_t",0},
10530 { "_unsigned_int","_size_t",0},
10531 { "_unsigned_int","_uint",0},
10532 { "_unsigned_int","_wxWindowID",0},
10533 { "_unsigned_int","_int",0},
10534 { "_short","_wxDateTime_t",0},
10535 { "_short","_WXTYPE",0},
10536 { "_short","_unsigned_short",0},
10537 { "_short","_signed_short",0},
10538 { "_wxWindowID","_wxCoord",0},
10539 { "_wxWindowID","_wxPrintQuality",0},
10540 { "_wxWindowID","_time_t",0},
10541 { "_wxWindowID","_size_t",0},
10542 { "_wxWindowID","_EBool",0},
10543 { "_wxWindowID","_uint",0},
10544 { "_wxWindowID","_int",0},
10545 { "_wxWindowID","_signed_int",0},
10546 { "_wxWindowID","_unsigned_int",0},
10547 { "_int","_wxCoord",0},
10548 { "_int","_wxPrintQuality",0},
10549 { "_int","_time_t",0},
10550 { "_int","_size_t",0},
10551 { "_int","_EBool",0},
10552 { "_int","_uint",0},
10553 { "_int","_wxWindowID",0},
10554 { "_int","_unsigned_int",0},
10555 { "_int","_signed_int",0},
10556 { "_wxDateTime_t","_unsigned_short",0},
10557 { "_wxDateTime_t","_short",0},
10558 { "_wxDateTime_t","_WXTYPE",0},
10559 { "_time_t","_wxCoord",0},
10560 { "_time_t","_wxPrintQuality",0},
10561 { "_time_t","_unsigned_int",0},
10562 { "_time_t","_int",0},
10563 { "_time_t","_wxWindowID",0},
10564 { "_time_t","_uint",0},
10565 { "_time_t","_size_t",0},
10566 { "_wxCoord","_int",0},
10567 { "_wxCoord","_signed_int",0},
10568 { "_wxCoord","_unsigned_int",0},
10569 { "_wxCoord","_wxWindowID",0},
10570 { "_wxCoord","_uint",0},
10571 { "_wxCoord","_EBool",0},
10572 { "_wxCoord","_size_t",0},
10573 { "_wxCoord","_time_t",0},
10574 { "_wxCoord","_wxPrintQuality",0},
10575 { "_wxEvtHandler","_wxPyProcess",SwigwxPyProcessTowxEvtHandler
},
10578 static PyObject
*SWIG_globals
;
10582 SWIGEXPORT(void) initmisc2c() {
10584 SWIG_globals
= SWIG_newvarlink();
10585 m
= Py_InitModule("misc2c", misc2cMethods
);
10586 d
= PyModule_GetDict(m
);
10587 PyDict_SetItemString(d
,"wxSYS_OEM_FIXED_FONT", PyInt_FromLong((long) wxSYS_OEM_FIXED_FONT
));
10588 PyDict_SetItemString(d
,"wxSYS_ANSI_FIXED_FONT", PyInt_FromLong((long) wxSYS_ANSI_FIXED_FONT
));
10589 PyDict_SetItemString(d
,"wxSYS_ANSI_VAR_FONT", PyInt_FromLong((long) wxSYS_ANSI_VAR_FONT
));
10590 PyDict_SetItemString(d
,"wxSYS_SYSTEM_FONT", PyInt_FromLong((long) wxSYS_SYSTEM_FONT
));
10591 PyDict_SetItemString(d
,"wxSYS_DEVICE_DEFAULT_FONT", PyInt_FromLong((long) wxSYS_DEVICE_DEFAULT_FONT
));
10592 PyDict_SetItemString(d
,"wxSYS_DEFAULT_PALETTE", PyInt_FromLong((long) wxSYS_DEFAULT_PALETTE
));
10593 PyDict_SetItemString(d
,"wxSYS_SYSTEM_FIXED_FONT", PyInt_FromLong((long) wxSYS_SYSTEM_FIXED_FONT
));
10594 PyDict_SetItemString(d
,"wxSYS_DEFAULT_GUI_FONT", PyInt_FromLong((long) wxSYS_DEFAULT_GUI_FONT
));
10595 PyDict_SetItemString(d
,"wxSYS_COLOUR_SCROLLBAR", PyInt_FromLong((long) wxSYS_COLOUR_SCROLLBAR
));
10596 PyDict_SetItemString(d
,"wxSYS_COLOUR_BACKGROUND", PyInt_FromLong((long) wxSYS_COLOUR_BACKGROUND
));
10597 PyDict_SetItemString(d
,"wxSYS_COLOUR_ACTIVECAPTION", PyInt_FromLong((long) wxSYS_COLOUR_ACTIVECAPTION
));
10598 PyDict_SetItemString(d
,"wxSYS_COLOUR_INACTIVECAPTION", PyInt_FromLong((long) wxSYS_COLOUR_INACTIVECAPTION
));
10599 PyDict_SetItemString(d
,"wxSYS_COLOUR_MENU", PyInt_FromLong((long) wxSYS_COLOUR_MENU
));
10600 PyDict_SetItemString(d
,"wxSYS_COLOUR_WINDOW", PyInt_FromLong((long) wxSYS_COLOUR_WINDOW
));
10601 PyDict_SetItemString(d
,"wxSYS_COLOUR_WINDOWFRAME", PyInt_FromLong((long) wxSYS_COLOUR_WINDOWFRAME
));
10602 PyDict_SetItemString(d
,"wxSYS_COLOUR_MENUTEXT", PyInt_FromLong((long) wxSYS_COLOUR_MENUTEXT
));
10603 PyDict_SetItemString(d
,"wxSYS_COLOUR_WINDOWTEXT", PyInt_FromLong((long) wxSYS_COLOUR_WINDOWTEXT
));
10604 PyDict_SetItemString(d
,"wxSYS_COLOUR_CAPTIONTEXT", PyInt_FromLong((long) wxSYS_COLOUR_CAPTIONTEXT
));
10605 PyDict_SetItemString(d
,"wxSYS_COLOUR_ACTIVEBORDER", PyInt_FromLong((long) wxSYS_COLOUR_ACTIVEBORDER
));
10606 PyDict_SetItemString(d
,"wxSYS_COLOUR_INACTIVEBORDER", PyInt_FromLong((long) wxSYS_COLOUR_INACTIVEBORDER
));
10607 PyDict_SetItemString(d
,"wxSYS_COLOUR_APPWORKSPACE", PyInt_FromLong((long) wxSYS_COLOUR_APPWORKSPACE
));
10608 PyDict_SetItemString(d
,"wxSYS_COLOUR_HIGHLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_HIGHLIGHT
));
10609 PyDict_SetItemString(d
,"wxSYS_COLOUR_HIGHLIGHTTEXT", PyInt_FromLong((long) wxSYS_COLOUR_HIGHLIGHTTEXT
));
10610 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNFACE", PyInt_FromLong((long) wxSYS_COLOUR_BTNFACE
));
10611 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNSHADOW", PyInt_FromLong((long) wxSYS_COLOUR_BTNSHADOW
));
10612 PyDict_SetItemString(d
,"wxSYS_COLOUR_GRAYTEXT", PyInt_FromLong((long) wxSYS_COLOUR_GRAYTEXT
));
10613 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNTEXT", PyInt_FromLong((long) wxSYS_COLOUR_BTNTEXT
));
10614 PyDict_SetItemString(d
,"wxSYS_COLOUR_INACTIVECAPTIONTEXT", PyInt_FromLong((long) wxSYS_COLOUR_INACTIVECAPTIONTEXT
));
10615 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNHIGHLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_BTNHIGHLIGHT
));
10616 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DDKSHADOW", PyInt_FromLong((long) wxSYS_COLOUR_3DDKSHADOW
));
10617 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_3DLIGHT
));
10618 PyDict_SetItemString(d
,"wxSYS_COLOUR_INFOTEXT", PyInt_FromLong((long) wxSYS_COLOUR_INFOTEXT
));
10619 PyDict_SetItemString(d
,"wxSYS_COLOUR_INFOBK", PyInt_FromLong((long) wxSYS_COLOUR_INFOBK
));
10620 PyDict_SetItemString(d
,"wxSYS_COLOUR_LISTBOX", PyInt_FromLong((long) wxSYS_COLOUR_LISTBOX
));
10621 PyDict_SetItemString(d
,"wxSYS_COLOUR_DESKTOP", PyInt_FromLong((long) wxSYS_COLOUR_DESKTOP
));
10622 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DFACE", PyInt_FromLong((long) wxSYS_COLOUR_3DFACE
));
10623 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DSHADOW", PyInt_FromLong((long) wxSYS_COLOUR_3DSHADOW
));
10624 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DHIGHLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_3DHIGHLIGHT
));
10625 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DHILIGHT", PyInt_FromLong((long) wxSYS_COLOUR_3DHILIGHT
));
10626 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNHILIGHT", PyInt_FromLong((long) wxSYS_COLOUR_BTNHILIGHT
));
10627 PyDict_SetItemString(d
,"wxSYS_MOUSE_BUTTONS", PyInt_FromLong((long) wxSYS_MOUSE_BUTTONS
));
10628 PyDict_SetItemString(d
,"wxSYS_BORDER_X", PyInt_FromLong((long) wxSYS_BORDER_X
));
10629 PyDict_SetItemString(d
,"wxSYS_BORDER_Y", PyInt_FromLong((long) wxSYS_BORDER_Y
));
10630 PyDict_SetItemString(d
,"wxSYS_CURSOR_X", PyInt_FromLong((long) wxSYS_CURSOR_X
));
10631 PyDict_SetItemString(d
,"wxSYS_CURSOR_Y", PyInt_FromLong((long) wxSYS_CURSOR_Y
));
10632 PyDict_SetItemString(d
,"wxSYS_DCLICK_X", PyInt_FromLong((long) wxSYS_DCLICK_X
));
10633 PyDict_SetItemString(d
,"wxSYS_DCLICK_Y", PyInt_FromLong((long) wxSYS_DCLICK_Y
));
10634 PyDict_SetItemString(d
,"wxSYS_DRAG_X", PyInt_FromLong((long) wxSYS_DRAG_X
));
10635 PyDict_SetItemString(d
,"wxSYS_DRAG_Y", PyInt_FromLong((long) wxSYS_DRAG_Y
));
10636 PyDict_SetItemString(d
,"wxSYS_EDGE_X", PyInt_FromLong((long) wxSYS_EDGE_X
));
10637 PyDict_SetItemString(d
,"wxSYS_EDGE_Y", PyInt_FromLong((long) wxSYS_EDGE_Y
));
10638 PyDict_SetItemString(d
,"wxSYS_HSCROLL_ARROW_X", PyInt_FromLong((long) wxSYS_HSCROLL_ARROW_X
));
10639 PyDict_SetItemString(d
,"wxSYS_HSCROLL_ARROW_Y", PyInt_FromLong((long) wxSYS_HSCROLL_ARROW_Y
));
10640 PyDict_SetItemString(d
,"wxSYS_HTHUMB_X", PyInt_FromLong((long) wxSYS_HTHUMB_X
));
10641 PyDict_SetItemString(d
,"wxSYS_ICON_X", PyInt_FromLong((long) wxSYS_ICON_X
));
10642 PyDict_SetItemString(d
,"wxSYS_ICON_Y", PyInt_FromLong((long) wxSYS_ICON_Y
));
10643 PyDict_SetItemString(d
,"wxSYS_ICONSPACING_X", PyInt_FromLong((long) wxSYS_ICONSPACING_X
));
10644 PyDict_SetItemString(d
,"wxSYS_ICONSPACING_Y", PyInt_FromLong((long) wxSYS_ICONSPACING_Y
));
10645 PyDict_SetItemString(d
,"wxSYS_WINDOWMIN_X", PyInt_FromLong((long) wxSYS_WINDOWMIN_X
));
10646 PyDict_SetItemString(d
,"wxSYS_WINDOWMIN_Y", PyInt_FromLong((long) wxSYS_WINDOWMIN_Y
));
10647 PyDict_SetItemString(d
,"wxSYS_SCREEN_X", PyInt_FromLong((long) wxSYS_SCREEN_X
));
10648 PyDict_SetItemString(d
,"wxSYS_SCREEN_Y", PyInt_FromLong((long) wxSYS_SCREEN_Y
));
10649 PyDict_SetItemString(d
,"wxSYS_FRAMESIZE_X", PyInt_FromLong((long) wxSYS_FRAMESIZE_X
));
10650 PyDict_SetItemString(d
,"wxSYS_FRAMESIZE_Y", PyInt_FromLong((long) wxSYS_FRAMESIZE_Y
));
10651 PyDict_SetItemString(d
,"wxSYS_SMALLICON_X", PyInt_FromLong((long) wxSYS_SMALLICON_X
));
10652 PyDict_SetItemString(d
,"wxSYS_SMALLICON_Y", PyInt_FromLong((long) wxSYS_SMALLICON_Y
));
10653 PyDict_SetItemString(d
,"wxSYS_HSCROLL_Y", PyInt_FromLong((long) wxSYS_HSCROLL_Y
));
10654 PyDict_SetItemString(d
,"wxSYS_VSCROLL_X", PyInt_FromLong((long) wxSYS_VSCROLL_X
));
10655 PyDict_SetItemString(d
,"wxSYS_VSCROLL_ARROW_X", PyInt_FromLong((long) wxSYS_VSCROLL_ARROW_X
));
10656 PyDict_SetItemString(d
,"wxSYS_VSCROLL_ARROW_Y", PyInt_FromLong((long) wxSYS_VSCROLL_ARROW_Y
));
10657 PyDict_SetItemString(d
,"wxSYS_VTHUMB_Y", PyInt_FromLong((long) wxSYS_VTHUMB_Y
));
10658 PyDict_SetItemString(d
,"wxSYS_CAPTION_Y", PyInt_FromLong((long) wxSYS_CAPTION_Y
));
10659 PyDict_SetItemString(d
,"wxSYS_MENU_Y", PyInt_FromLong((long) wxSYS_MENU_Y
));
10660 PyDict_SetItemString(d
,"wxSYS_NETWORK_PRESENT", PyInt_FromLong((long) wxSYS_NETWORK_PRESENT
));
10661 PyDict_SetItemString(d
,"wxSYS_PENWINDOWS_PRESENT", PyInt_FromLong((long) wxSYS_PENWINDOWS_PRESENT
));
10662 PyDict_SetItemString(d
,"wxSYS_SHOW_SOUNDS", PyInt_FromLong((long) wxSYS_SHOW_SOUNDS
));
10663 PyDict_SetItemString(d
,"wxSYS_SWAP_BUTTONS", PyInt_FromLong((long) wxSYS_SWAP_BUTTONS
));
10664 PyDict_SetItemString(d
,"wxSYS_CAN_DRAW_FRAME_DECORATIONS", PyInt_FromLong((long) wxSYS_CAN_DRAW_FRAME_DECORATIONS
));
10665 PyDict_SetItemString(d
,"wxSYS_CAN_ICONIZE_FRAME", PyInt_FromLong((long) wxSYS_CAN_ICONIZE_FRAME
));
10666 PyDict_SetItemString(d
,"wxLOG_FatalError", PyInt_FromLong((long) wxLOG_FatalError
));
10667 PyDict_SetItemString(d
,"wxLOG_Error", PyInt_FromLong((long) wxLOG_Error
));
10668 PyDict_SetItemString(d
,"wxLOG_Warning", PyInt_FromLong((long) wxLOG_Warning
));
10669 PyDict_SetItemString(d
,"wxLOG_Message", PyInt_FromLong((long) wxLOG_Message
));
10670 PyDict_SetItemString(d
,"wxLOG_Info", PyInt_FromLong((long) wxLOG_Info
));
10671 PyDict_SetItemString(d
,"wxLOG_Status", PyInt_FromLong((long) wxLOG_Status
));
10672 PyDict_SetItemString(d
,"wxLOG_Debug", PyInt_FromLong((long) wxLOG_Debug
));
10673 PyDict_SetItemString(d
,"wxLOG_Trace", PyInt_FromLong((long) wxLOG_Trace
));
10674 PyDict_SetItemString(d
,"wxLOG_Progress", PyInt_FromLong((long) wxLOG_Progress
));
10675 PyDict_SetItemString(d
,"wxLOG_User", PyInt_FromLong((long) wxLOG_User
));
10676 PyDict_SetItemString(d
,"wxEVT_END_PROCESS", PyInt_FromLong((long) wxEVT_END_PROCESS
));
10677 PyDict_SetItemString(d
,"wxMAILCAP_STANDARD", PyInt_FromLong((long) wxMAILCAP_STANDARD
));
10678 PyDict_SetItemString(d
,"wxMAILCAP_NETSCAPE", PyInt_FromLong((long) wxMAILCAP_NETSCAPE
));
10679 PyDict_SetItemString(d
,"wxMAILCAP_KDE", PyInt_FromLong((long) wxMAILCAP_KDE
));
10680 PyDict_SetItemString(d
,"wxMAILCAP_GNOME", PyInt_FromLong((long) wxMAILCAP_GNOME
));
10681 PyDict_SetItemString(d
,"wxMAILCAP_ALL", PyInt_FromLong((long) wxMAILCAP_ALL
));
10682 PyDict_SetItemString(d
,"cvar", SWIG_globals
);
10683 SWIG_addvarlink(SWIG_globals
,"wxTheMimeTypesManager",_wrap_wxTheMimeTypesManager_get
, _wrap_wxTheMimeTypesManager_set
);
10685 wxPyPtrTypeMap_Add("wxFontEnumerator", "wxPyFontEnumerator");
10686 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
10687 wxPyPtrTypeMap_Add("wxProcess", "wxPyProcess");
10690 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
10691 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);