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 void *SwigwxToolTipTowxObject(void *ptr
) {
2305 src
= (wxToolTip
*) ptr
;
2306 dest
= (wxObject
*) src
;
2307 return (void *) dest
;
2310 #define new_wxToolTip(_swigarg0) (new wxToolTip(_swigarg0))
2311 static PyObject
*_wrap_new_wxToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2312 PyObject
* _resultobj
;
2313 wxToolTip
* _result
;
2315 PyObject
* _obj0
= 0;
2316 char *_kwnames
[] = { "tip", NULL
};
2320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxToolTip",_kwnames
,&_obj0
))
2323 #if PYTHON_API_VERSION >= 1009
2324 char* tmpPtr
; int tmpSize
;
2325 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
2326 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2329 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
2331 _arg0
= new wxString(tmpPtr
, tmpSize
);
2333 if (!PyString_Check(_obj0
)) {
2334 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2337 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
2341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2342 _result
= (wxToolTip
*)new_wxToolTip(*_arg0
);
2344 wxPyEndAllowThreads(__tstate
);
2345 if (PyErr_Occurred()) return NULL
;
2347 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToolTip_p");
2348 _resultobj
= Py_BuildValue("s",_ptemp
);
2351 _resultobj
= Py_None
;
2360 #define wxToolTip_SetTip(_swigobj,_swigarg0) (_swigobj->SetTip(_swigarg0))
2361 static PyObject
*_wrap_wxToolTip_SetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2362 PyObject
* _resultobj
;
2365 PyObject
* _argo0
= 0;
2366 PyObject
* _obj1
= 0;
2367 char *_kwnames
[] = { "self","tip", NULL
};
2370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxToolTip_SetTip",_kwnames
,&_argo0
,&_obj1
))
2373 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2374 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolTip_p")) {
2375 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolTip_SetTip. Expected _wxToolTip_p.");
2380 #if PYTHON_API_VERSION >= 1009
2381 char* tmpPtr
; int tmpSize
;
2382 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
2383 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2386 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
2388 _arg1
= new wxString(tmpPtr
, tmpSize
);
2390 if (!PyString_Check(_obj1
)) {
2391 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2394 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
2398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2399 wxToolTip_SetTip(_arg0
,*_arg1
);
2401 wxPyEndAllowThreads(__tstate
);
2402 if (PyErr_Occurred()) return NULL
;
2403 } Py_INCREF(Py_None
);
2404 _resultobj
= Py_None
;
2412 #define wxToolTip_GetTip(_swigobj) (_swigobj->GetTip())
2413 static PyObject
*_wrap_wxToolTip_GetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2414 PyObject
* _resultobj
;
2417 PyObject
* _argo0
= 0;
2418 char *_kwnames
[] = { "self", NULL
};
2421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolTip_GetTip",_kwnames
,&_argo0
))
2424 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2425 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolTip_p")) {
2426 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolTip_GetTip. Expected _wxToolTip_p.");
2431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2432 _result
= new wxString (wxToolTip_GetTip(_arg0
));
2434 wxPyEndAllowThreads(__tstate
);
2435 if (PyErr_Occurred()) return NULL
;
2437 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2445 #define wxToolTip_GetWindow(_swigobj) (_swigobj->GetWindow())
2446 static PyObject
*_wrap_wxToolTip_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2447 PyObject
* _resultobj
;
2450 PyObject
* _argo0
= 0;
2451 char *_kwnames
[] = { "self", NULL
};
2454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolTip_GetWindow",_kwnames
,&_argo0
))
2457 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2458 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolTip_p")) {
2459 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolTip_GetWindow. Expected _wxToolTip_p.");
2464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2465 _result
= (wxWindow
*)wxToolTip_GetWindow(_arg0
);
2467 wxPyEndAllowThreads(__tstate
);
2468 if (PyErr_Occurred()) return NULL
;
2469 }{ _resultobj
= wxPyMake_wxObject(_result
); }
2473 static PyObject
*_wrap_wxToolTip_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2474 PyObject
* _resultobj
;
2477 char *_kwnames
[] = { "flag", NULL
};
2480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxToolTip_Enable",_kwnames
,&tempbool0
))
2482 _arg0
= (bool ) tempbool0
;
2484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2485 wxToolTip::Enable(_arg0
);
2487 wxPyEndAllowThreads(__tstate
);
2488 if (PyErr_Occurred()) return NULL
;
2489 } Py_INCREF(Py_None
);
2490 _resultobj
= Py_None
;
2494 static PyObject
*_wrap_wxToolTip_SetDelay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2495 PyObject
* _resultobj
;
2497 char *_kwnames
[] = { "milliseconds", NULL
};
2500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:wxToolTip_SetDelay",_kwnames
,&_arg0
))
2503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2504 wxToolTip::SetDelay(_arg0
);
2506 wxPyEndAllowThreads(__tstate
);
2507 if (PyErr_Occurred()) return NULL
;
2508 } Py_INCREF(Py_None
);
2509 _resultobj
= Py_None
;
2513 #define new_wxCaret(_swigarg0,_swigarg1) (new wxCaret(_swigarg0,_swigarg1))
2514 static PyObject
*_wrap_new_wxCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2515 PyObject
* _resultobj
;
2519 PyObject
* _argo0
= 0;
2521 PyObject
* _obj1
= 0;
2522 char *_kwnames
[] = { "window","size", NULL
};
2526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:new_wxCaret",_kwnames
,&_argo0
,&_obj1
))
2529 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2530 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2531 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxCaret. Expected _wxWindow_p.");
2537 if (! wxSize_helper(_obj1
, &_arg1
))
2541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2542 _result
= (wxCaret
*)new_wxCaret(_arg0
,*_arg1
);
2544 wxPyEndAllowThreads(__tstate
);
2545 if (PyErr_Occurred()) return NULL
;
2547 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCaret_p");
2548 _resultobj
= Py_BuildValue("s",_ptemp
);
2551 _resultobj
= Py_None
;
2556 #define delete_wxCaret(_swigobj) (delete _swigobj)
2557 static PyObject
*_wrap_delete_wxCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2558 PyObject
* _resultobj
;
2560 PyObject
* _argo0
= 0;
2561 char *_kwnames
[] = { "self", NULL
};
2564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxCaret",_kwnames
,&_argo0
))
2567 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2568 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2569 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxCaret. Expected _wxCaret_p.");
2574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2575 delete_wxCaret(_arg0
);
2577 wxPyEndAllowThreads(__tstate
);
2578 if (PyErr_Occurred()) return NULL
;
2579 } Py_INCREF(Py_None
);
2580 _resultobj
= Py_None
;
2584 #define wxCaret_IsOk(_swigobj) (_swigobj->IsOk())
2585 static PyObject
*_wrap_wxCaret_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2586 PyObject
* _resultobj
;
2589 PyObject
* _argo0
= 0;
2590 char *_kwnames
[] = { "self", NULL
};
2593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_IsOk",_kwnames
,&_argo0
))
2596 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2597 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2598 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_IsOk. Expected _wxCaret_p.");
2603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2604 _result
= (bool )wxCaret_IsOk(_arg0
);
2606 wxPyEndAllowThreads(__tstate
);
2607 if (PyErr_Occurred()) return NULL
;
2608 } _resultobj
= Py_BuildValue("i",_result
);
2612 #define wxCaret_IsVisible(_swigobj) (_swigobj->IsVisible())
2613 static PyObject
*_wrap_wxCaret_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2614 PyObject
* _resultobj
;
2617 PyObject
* _argo0
= 0;
2618 char *_kwnames
[] = { "self", NULL
};
2621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_IsVisible",_kwnames
,&_argo0
))
2624 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2625 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2626 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_IsVisible. Expected _wxCaret_p.");
2631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2632 _result
= (bool )wxCaret_IsVisible(_arg0
);
2634 wxPyEndAllowThreads(__tstate
);
2635 if (PyErr_Occurred()) return NULL
;
2636 } _resultobj
= Py_BuildValue("i",_result
);
2640 #define wxCaret_GetPositionTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPosition(_swigarg0,_swigarg1))
2641 static PyObject
*_wrap_wxCaret_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2642 PyObject
* _resultobj
;
2648 PyObject
* _argo0
= 0;
2649 char *_kwnames
[] = { "self", NULL
};
2658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetPositionTuple",_kwnames
,&_argo0
))
2661 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2662 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2663 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetPositionTuple. Expected _wxCaret_p.");
2668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2669 wxCaret_GetPositionTuple(_arg0
,_arg1
,_arg2
);
2671 wxPyEndAllowThreads(__tstate
);
2672 if (PyErr_Occurred()) return NULL
;
2673 } Py_INCREF(Py_None
);
2674 _resultobj
= Py_None
;
2677 o
= PyInt_FromLong((long) (*_arg1
));
2678 _resultobj
= t_output_helper(_resultobj
, o
);
2682 o
= PyInt_FromLong((long) (*_arg2
));
2683 _resultobj
= t_output_helper(_resultobj
, o
);
2688 #define wxCaret_GetPosition(_swigobj) (_swigobj->GetPosition())
2689 static PyObject
*_wrap_wxCaret_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2690 PyObject
* _resultobj
;
2693 PyObject
* _argo0
= 0;
2694 char *_kwnames
[] = { "self", NULL
};
2698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetPosition",_kwnames
,&_argo0
))
2701 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2702 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2703 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetPosition. Expected _wxCaret_p.");
2708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2709 _result
= new wxPoint (wxCaret_GetPosition(_arg0
));
2711 wxPyEndAllowThreads(__tstate
);
2712 if (PyErr_Occurred()) return NULL
;
2713 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2714 _resultobj
= Py_BuildValue("s",_ptemp
);
2718 #define wxCaret_GetSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSize(_swigarg0,_swigarg1))
2719 static PyObject
*_wrap_wxCaret_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2720 PyObject
* _resultobj
;
2726 PyObject
* _argo0
= 0;
2727 char *_kwnames
[] = { "self", NULL
};
2736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetSizeTuple",_kwnames
,&_argo0
))
2739 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2740 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2741 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetSizeTuple. Expected _wxCaret_p.");
2746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2747 wxCaret_GetSizeTuple(_arg0
,_arg1
,_arg2
);
2749 wxPyEndAllowThreads(__tstate
);
2750 if (PyErr_Occurred()) return NULL
;
2751 } Py_INCREF(Py_None
);
2752 _resultobj
= Py_None
;
2755 o
= PyInt_FromLong((long) (*_arg1
));
2756 _resultobj
= t_output_helper(_resultobj
, o
);
2760 o
= PyInt_FromLong((long) (*_arg2
));
2761 _resultobj
= t_output_helper(_resultobj
, o
);
2766 #define wxCaret_GetSize(_swigobj) (_swigobj->GetSize())
2767 static PyObject
*_wrap_wxCaret_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2768 PyObject
* _resultobj
;
2771 PyObject
* _argo0
= 0;
2772 char *_kwnames
[] = { "self", NULL
};
2776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetSize",_kwnames
,&_argo0
))
2779 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2780 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2781 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetSize. Expected _wxCaret_p.");
2786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2787 _result
= new wxSize (wxCaret_GetSize(_arg0
));
2789 wxPyEndAllowThreads(__tstate
);
2790 if (PyErr_Occurred()) return NULL
;
2791 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
2792 _resultobj
= Py_BuildValue("s",_ptemp
);
2796 #define wxCaret_GetWindow(_swigobj) (_swigobj->GetWindow())
2797 static PyObject
*_wrap_wxCaret_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2798 PyObject
* _resultobj
;
2801 PyObject
* _argo0
= 0;
2802 char *_kwnames
[] = { "self", NULL
};
2805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetWindow",_kwnames
,&_argo0
))
2808 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2809 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2810 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetWindow. Expected _wxCaret_p.");
2815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2816 _result
= (wxWindow
*)wxCaret_GetWindow(_arg0
);
2818 wxPyEndAllowThreads(__tstate
);
2819 if (PyErr_Occurred()) return NULL
;
2820 }{ _resultobj
= wxPyMake_wxObject(_result
); }
2824 #define wxCaret_MoveXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->Move(_swigarg0,_swigarg1))
2825 static PyObject
*_wrap_wxCaret_MoveXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2826 PyObject
* _resultobj
;
2830 PyObject
* _argo0
= 0;
2831 char *_kwnames
[] = { "self","x","y", NULL
};
2834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxCaret_MoveXY",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2837 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2838 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2839 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_MoveXY. Expected _wxCaret_p.");
2844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2845 wxCaret_MoveXY(_arg0
,_arg1
,_arg2
);
2847 wxPyEndAllowThreads(__tstate
);
2848 if (PyErr_Occurred()) return NULL
;
2849 } Py_INCREF(Py_None
);
2850 _resultobj
= Py_None
;
2854 #define wxCaret_Move(_swigobj,_swigarg0) (_swigobj->Move(_swigarg0))
2855 static PyObject
*_wrap_wxCaret_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2856 PyObject
* _resultobj
;
2859 PyObject
* _argo0
= 0;
2861 PyObject
* _obj1
= 0;
2862 char *_kwnames
[] = { "self","pt", NULL
};
2865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxCaret_Move",_kwnames
,&_argo0
,&_obj1
))
2868 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2869 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2870 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_Move. Expected _wxCaret_p.");
2876 if (! wxPoint_helper(_obj1
, &_arg1
))
2880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2881 wxCaret_Move(_arg0
,*_arg1
);
2883 wxPyEndAllowThreads(__tstate
);
2884 if (PyErr_Occurred()) return NULL
;
2885 } Py_INCREF(Py_None
);
2886 _resultobj
= Py_None
;
2890 #define wxCaret_SetSizeWH(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSize(_swigarg0,_swigarg1))
2891 static PyObject
*_wrap_wxCaret_SetSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2892 PyObject
* _resultobj
;
2896 PyObject
* _argo0
= 0;
2897 char *_kwnames
[] = { "self","width","height", NULL
};
2900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxCaret_SetSizeWH",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2903 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2904 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2905 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_SetSizeWH. Expected _wxCaret_p.");
2910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2911 wxCaret_SetSizeWH(_arg0
,_arg1
,_arg2
);
2913 wxPyEndAllowThreads(__tstate
);
2914 if (PyErr_Occurred()) return NULL
;
2915 } Py_INCREF(Py_None
);
2916 _resultobj
= Py_None
;
2920 #define wxCaret_SetSize(_swigobj,_swigarg0) (_swigobj->SetSize(_swigarg0))
2921 static PyObject
*_wrap_wxCaret_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2922 PyObject
* _resultobj
;
2925 PyObject
* _argo0
= 0;
2927 PyObject
* _obj1
= 0;
2928 char *_kwnames
[] = { "self","size", NULL
};
2931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxCaret_SetSize",_kwnames
,&_argo0
,&_obj1
))
2934 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2935 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2936 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_SetSize. Expected _wxCaret_p.");
2942 if (! wxSize_helper(_obj1
, &_arg1
))
2946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2947 wxCaret_SetSize(_arg0
,*_arg1
);
2949 wxPyEndAllowThreads(__tstate
);
2950 if (PyErr_Occurred()) return NULL
;
2951 } Py_INCREF(Py_None
);
2952 _resultobj
= Py_None
;
2956 #define wxCaret_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
2957 static PyObject
*_wrap_wxCaret_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2958 PyObject
* _resultobj
;
2960 int _arg1
= (int ) TRUE
;
2961 PyObject
* _argo0
= 0;
2962 char *_kwnames
[] = { "self","show", NULL
};
2965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxCaret_Show",_kwnames
,&_argo0
,&_arg1
))
2968 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2969 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2970 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_Show. Expected _wxCaret_p.");
2975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2976 wxCaret_Show(_arg0
,_arg1
);
2978 wxPyEndAllowThreads(__tstate
);
2979 if (PyErr_Occurred()) return NULL
;
2980 } Py_INCREF(Py_None
);
2981 _resultobj
= Py_None
;
2985 #define wxCaret_Hide(_swigobj) (_swigobj->Hide())
2986 static PyObject
*_wrap_wxCaret_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2987 PyObject
* _resultobj
;
2989 PyObject
* _argo0
= 0;
2990 char *_kwnames
[] = { "self", NULL
};
2993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_Hide",_kwnames
,&_argo0
))
2996 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2997 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2998 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_Hide. Expected _wxCaret_p.");
3003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3004 wxCaret_Hide(_arg0
);
3006 wxPyEndAllowThreads(__tstate
);
3007 if (PyErr_Occurred()) return NULL
;
3008 } Py_INCREF(Py_None
);
3009 _resultobj
= Py_None
;
3013 #define new_wxFontEnumerator() (new wxPyFontEnumerator())
3014 static PyObject
*_wrap_new_wxFontEnumerator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3015 PyObject
* _resultobj
;
3016 wxPyFontEnumerator
* _result
;
3017 char *_kwnames
[] = { NULL
};
3021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxFontEnumerator",_kwnames
))
3024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3025 _result
= (wxPyFontEnumerator
*)new_wxFontEnumerator();
3027 wxPyEndAllowThreads(__tstate
);
3028 if (PyErr_Occurred()) return NULL
;
3030 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyFontEnumerator_p");
3031 _resultobj
= Py_BuildValue("s",_ptemp
);
3034 _resultobj
= Py_None
;
3039 #define delete_wxPyFontEnumerator(_swigobj) (delete _swigobj)
3040 static PyObject
*_wrap_delete_wxFontEnumerator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3041 PyObject
* _resultobj
;
3042 wxPyFontEnumerator
* _arg0
;
3043 PyObject
* _argo0
= 0;
3044 char *_kwnames
[] = { "self", NULL
};
3047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxFontEnumerator",_kwnames
,&_argo0
))
3050 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3051 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) {
3052 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxFontEnumerator. Expected _wxPyFontEnumerator_p.");
3057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3058 delete_wxPyFontEnumerator(_arg0
);
3060 wxPyEndAllowThreads(__tstate
);
3061 if (PyErr_Occurred()) return NULL
;
3062 } Py_INCREF(Py_None
);
3063 _resultobj
= Py_None
;
3067 #define wxFontEnumerator__setCallbackInfo(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1,_swigarg2))
3068 static PyObject
*_wrap_wxFontEnumerator__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3069 PyObject
* _resultobj
;
3070 wxPyFontEnumerator
* _arg0
;
3074 PyObject
* _argo0
= 0;
3075 PyObject
* _obj1
= 0;
3076 PyObject
* _obj2
= 0;
3078 char *_kwnames
[] = { "self","self","_class","incref", NULL
};
3081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOi:wxFontEnumerator__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&tempbool3
))
3084 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3085 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) {
3086 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontEnumerator__setCallbackInfo. Expected _wxPyFontEnumerator_p.");
3096 _arg3
= (bool ) tempbool3
;
3098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3099 wxFontEnumerator__setCallbackInfo(_arg0
,_arg1
,_arg2
,_arg3
);
3101 wxPyEndAllowThreads(__tstate
);
3102 if (PyErr_Occurred()) return NULL
;
3103 } Py_INCREF(Py_None
);
3104 _resultobj
= Py_None
;
3108 #define wxFontEnumerator_EnumerateFacenames(_swigobj,_swigarg0,_swigarg1) (_swigobj->EnumerateFacenames(_swigarg0,_swigarg1))
3109 static PyObject
*_wrap_wxFontEnumerator_EnumerateFacenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3110 PyObject
* _resultobj
;
3112 wxPyFontEnumerator
* _arg0
;
3113 wxFontEncoding _arg1
= (wxFontEncoding
) wxFONTENCODING_SYSTEM
;
3114 bool _arg2
= (bool ) FALSE
;
3115 PyObject
* _argo0
= 0;
3116 int tempbool2
= (int) FALSE
;
3117 char *_kwnames
[] = { "self","encoding","fixedWidthOnly", NULL
};
3120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxFontEnumerator_EnumerateFacenames",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
3123 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3124 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) {
3125 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontEnumerator_EnumerateFacenames. Expected _wxPyFontEnumerator_p.");
3129 _arg2
= (bool ) tempbool2
;
3131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3132 _result
= (bool )wxFontEnumerator_EnumerateFacenames(_arg0
,_arg1
,_arg2
);
3134 wxPyEndAllowThreads(__tstate
);
3135 if (PyErr_Occurred()) return NULL
;
3136 } _resultobj
= Py_BuildValue("i",_result
);
3140 #define wxFontEnumerator_EnumerateEncodings(_swigobj,_swigarg0) (_swigobj->EnumerateEncodings(_swigarg0))
3141 static PyObject
*_wrap_wxFontEnumerator_EnumerateEncodings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3142 PyObject
* _resultobj
;
3144 wxPyFontEnumerator
* _arg0
;
3145 char * _arg1
= (char *) "";
3146 PyObject
* _argo0
= 0;
3147 char *_kwnames
[] = { "self","facename", NULL
};
3150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|s:wxFontEnumerator_EnumerateEncodings",_kwnames
,&_argo0
,&_arg1
))
3153 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3154 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) {
3155 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontEnumerator_EnumerateEncodings. Expected _wxPyFontEnumerator_p.");
3160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3161 _result
= (bool )wxFontEnumerator_EnumerateEncodings(_arg0
,_arg1
);
3163 wxPyEndAllowThreads(__tstate
);
3164 if (PyErr_Occurred()) return NULL
;
3165 } _resultobj
= Py_BuildValue("i",_result
);
3169 static PyObject
* wxPyFontEnumerator_GetEncodings(wxPyFontEnumerator
*self
) {
3170 wxArrayString
* arr
= self
->GetEncodings();
3171 return wxArrayString2PyList_helper(*arr
);
3173 static PyObject
*_wrap_wxFontEnumerator_GetEncodings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3174 PyObject
* _resultobj
;
3176 wxPyFontEnumerator
* _arg0
;
3177 PyObject
* _argo0
= 0;
3178 char *_kwnames
[] = { "self", NULL
};
3181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFontEnumerator_GetEncodings",_kwnames
,&_argo0
))
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_GetEncodings. Expected _wxPyFontEnumerator_p.");
3191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3192 _result
= (PyObject
*)wxPyFontEnumerator_GetEncodings(_arg0
);
3194 wxPyEndAllowThreads(__tstate
);
3195 if (PyErr_Occurred()) return NULL
;
3197 _resultobj
= _result
;
3202 static PyObject
* wxPyFontEnumerator_GetFacenames(wxPyFontEnumerator
*self
) {
3203 wxArrayString
* arr
= self
->GetFacenames();
3204 return wxArrayString2PyList_helper(*arr
);
3206 static PyObject
*_wrap_wxFontEnumerator_GetFacenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3207 PyObject
* _resultobj
;
3209 wxPyFontEnumerator
* _arg0
;
3210 PyObject
* _argo0
= 0;
3211 char *_kwnames
[] = { "self", NULL
};
3214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFontEnumerator_GetFacenames",_kwnames
,&_argo0
))
3217 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3218 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) {
3219 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontEnumerator_GetFacenames. Expected _wxPyFontEnumerator_p.");
3224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3225 _result
= (PyObject
*)wxPyFontEnumerator_GetFacenames(_arg0
);
3227 wxPyEndAllowThreads(__tstate
);
3228 if (PyErr_Occurred()) return NULL
;
3230 _resultobj
= _result
;
3235 #define new_wxBusyCursor(_swigarg0) (new wxBusyCursor(_swigarg0))
3236 static PyObject
*_wrap_new_wxBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3237 PyObject
* _resultobj
;
3238 wxBusyCursor
* _result
;
3239 wxCursor
* _arg0
= (wxCursor
*) wxHOURGLASS_CURSOR
;
3240 PyObject
* _argo0
= 0;
3241 char *_kwnames
[] = { "cursor", NULL
};
3245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxBusyCursor",_kwnames
,&_argo0
))
3248 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3249 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
3250 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxBusyCursor. Expected _wxCursor_p.");
3255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3256 _result
= (wxBusyCursor
*)new_wxBusyCursor(_arg0
);
3258 wxPyEndAllowThreads(__tstate
);
3259 if (PyErr_Occurred()) return NULL
;
3261 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBusyCursor_p");
3262 _resultobj
= Py_BuildValue("s",_ptemp
);
3265 _resultobj
= Py_None
;
3270 #define delete_wxBusyCursor(_swigobj) (delete _swigobj)
3271 static PyObject
*_wrap_delete_wxBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3272 PyObject
* _resultobj
;
3273 wxBusyCursor
* _arg0
;
3274 PyObject
* _argo0
= 0;
3275 char *_kwnames
[] = { "self", NULL
};
3278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxBusyCursor",_kwnames
,&_argo0
))
3281 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3282 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBusyCursor_p")) {
3283 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxBusyCursor. Expected _wxBusyCursor_p.");
3288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3289 delete_wxBusyCursor(_arg0
);
3291 wxPyEndAllowThreads(__tstate
);
3292 if (PyErr_Occurred()) return NULL
;
3293 } Py_INCREF(Py_None
);
3294 _resultobj
= Py_None
;
3298 #define new_wxWindowDisabler(_swigarg0) (new wxWindowDisabler(_swigarg0))
3299 static PyObject
*_wrap_new_wxWindowDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3300 PyObject
* _resultobj
;
3301 wxWindowDisabler
* _result
;
3302 wxWindow
* _arg0
= (wxWindow
*) NULL
;
3303 PyObject
* _argo0
= 0;
3304 char *_kwnames
[] = { "winToSkip", NULL
};
3308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxWindowDisabler",_kwnames
,&_argo0
))
3311 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3312 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3313 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxWindowDisabler. Expected _wxWindow_p.");
3318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3319 _result
= (wxWindowDisabler
*)new_wxWindowDisabler(_arg0
);
3321 wxPyEndAllowThreads(__tstate
);
3322 if (PyErr_Occurred()) return NULL
;
3324 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindowDisabler_p");
3325 _resultobj
= Py_BuildValue("s",_ptemp
);
3328 _resultobj
= Py_None
;
3333 #define delete_wxWindowDisabler(_swigobj) (delete _swigobj)
3334 static PyObject
*_wrap_delete_wxWindowDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3335 PyObject
* _resultobj
;
3336 wxWindowDisabler
* _arg0
;
3337 PyObject
* _argo0
= 0;
3338 char *_kwnames
[] = { "self", NULL
};
3341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxWindowDisabler",_kwnames
,&_argo0
))
3344 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3345 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindowDisabler_p")) {
3346 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxWindowDisabler. Expected _wxWindowDisabler_p.");
3351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3352 delete_wxWindowDisabler(_arg0
);
3354 wxPyEndAllowThreads(__tstate
);
3355 if (PyErr_Occurred()) return NULL
;
3356 } Py_INCREF(Py_None
);
3357 _resultobj
= Py_None
;
3361 #define new_wxMutexGuiLocker() (new wxMutexGuiLocker())
3362 static PyObject
*_wrap_new_wxMutexGuiLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3363 PyObject
* _resultobj
;
3364 wxMutexGuiLocker
* _result
;
3365 char *_kwnames
[] = { NULL
};
3369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxMutexGuiLocker",_kwnames
))
3372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3373 _result
= (wxMutexGuiLocker
*)new_wxMutexGuiLocker();
3375 wxPyEndAllowThreads(__tstate
);
3376 if (PyErr_Occurred()) return NULL
;
3378 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMutexGuiLocker_p");
3379 _resultobj
= Py_BuildValue("s",_ptemp
);
3382 _resultobj
= Py_None
;
3387 #define delete_wxMutexGuiLocker(_swigobj) (delete _swigobj)
3388 static PyObject
*_wrap_delete_wxMutexGuiLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3389 PyObject
* _resultobj
;
3390 wxMutexGuiLocker
* _arg0
;
3391 PyObject
* _argo0
= 0;
3392 char *_kwnames
[] = { "self", NULL
};
3395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxMutexGuiLocker",_kwnames
,&_argo0
))
3398 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3399 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMutexGuiLocker_p")) {
3400 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxMutexGuiLocker. Expected _wxMutexGuiLocker_p.");
3405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3406 delete_wxMutexGuiLocker(_arg0
);
3408 wxPyEndAllowThreads(__tstate
);
3409 if (PyErr_Occurred()) return NULL
;
3410 } Py_INCREF(Py_None
);
3411 _resultobj
= Py_None
;
3415 #define delete_wxTipProvider(_swigobj) (delete _swigobj)
3416 static PyObject
*_wrap_delete_wxTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3417 PyObject
* _resultobj
;
3418 wxTipProvider
* _arg0
;
3419 PyObject
* _argo0
= 0;
3420 char *_kwnames
[] = { "self", NULL
};
3423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxTipProvider",_kwnames
,&_argo0
))
3426 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3427 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTipProvider_p")) {
3428 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxTipProvider. Expected _wxTipProvider_p.");
3433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3434 delete_wxTipProvider(_arg0
);
3436 wxPyEndAllowThreads(__tstate
);
3437 if (PyErr_Occurred()) return NULL
;
3438 } Py_INCREF(Py_None
);
3439 _resultobj
= Py_None
;
3443 #define wxTipProvider_GetTip(_swigobj) (_swigobj->GetTip())
3444 static PyObject
*_wrap_wxTipProvider_GetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3445 PyObject
* _resultobj
;
3447 wxTipProvider
* _arg0
;
3448 PyObject
* _argo0
= 0;
3449 char *_kwnames
[] = { "self", NULL
};
3452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTipProvider_GetTip",_kwnames
,&_argo0
))
3455 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3456 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTipProvider_p")) {
3457 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTipProvider_GetTip. Expected _wxTipProvider_p.");
3462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3463 _result
= new wxString (wxTipProvider_GetTip(_arg0
));
3465 wxPyEndAllowThreads(__tstate
);
3466 if (PyErr_Occurred()) return NULL
;
3468 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3476 #define wxTipProvider_GetCurrentTip(_swigobj) (_swigobj->GetCurrentTip())
3477 static PyObject
*_wrap_wxTipProvider_GetCurrentTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3478 PyObject
* _resultobj
;
3480 wxTipProvider
* _arg0
;
3481 PyObject
* _argo0
= 0;
3482 char *_kwnames
[] = { "self", NULL
};
3485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTipProvider_GetCurrentTip",_kwnames
,&_argo0
))
3488 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3489 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTipProvider_p")) {
3490 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTipProvider_GetCurrentTip. Expected _wxTipProvider_p.");
3495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3496 _result
= (size_t )wxTipProvider_GetCurrentTip(_arg0
);
3498 wxPyEndAllowThreads(__tstate
);
3499 if (PyErr_Occurred()) return NULL
;
3500 } _resultobj
= Py_BuildValue("i",_result
);
3504 static void *SwigwxPyTipProviderTowxTipProvider(void *ptr
) {
3505 wxPyTipProvider
*src
;
3506 wxTipProvider
*dest
;
3507 src
= (wxPyTipProvider
*) ptr
;
3508 dest
= (wxTipProvider
*) src
;
3509 return (void *) dest
;
3512 #define new_wxPyTipProvider(_swigarg0) (new wxPyTipProvider(_swigarg0))
3513 static PyObject
*_wrap_new_wxPyTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3514 PyObject
* _resultobj
;
3515 wxPyTipProvider
* _result
;
3517 char *_kwnames
[] = { "currentTip", NULL
};
3521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:new_wxPyTipProvider",_kwnames
,&_arg0
))
3524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3525 _result
= (wxPyTipProvider
*)new_wxPyTipProvider(_arg0
);
3527 wxPyEndAllowThreads(__tstate
);
3528 if (PyErr_Occurred()) return NULL
;
3530 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTipProvider_p");
3531 _resultobj
= Py_BuildValue("s",_ptemp
);
3534 _resultobj
= Py_None
;
3539 static void *SwigwxGenericDragImageTowxObject(void *ptr
) {
3540 wxGenericDragImage
*src
;
3542 src
= (wxGenericDragImage
*) ptr
;
3543 dest
= (wxObject
*) src
;
3544 return (void *) dest
;
3547 #define new_wxDragImage(_swigarg0,_swigarg1) (new wxGenericDragImage(_swigarg0,_swigarg1))
3548 static PyObject
*_wrap_new_wxDragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3549 PyObject
* _resultobj
;
3550 wxGenericDragImage
* _result
;
3552 wxCursor
* _arg1
= (wxCursor
*) &wxNullCursor
;
3553 PyObject
* _argo0
= 0;
3554 PyObject
* _argo1
= 0;
3555 char *_kwnames
[] = { "image","cursor", NULL
};
3559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:new_wxDragImage",_kwnames
,&_argo0
,&_argo1
))
3562 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3563 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
3564 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDragImage. Expected _wxBitmap_p.");
3569 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3570 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCursor_p")) {
3571 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxDragImage. Expected _wxCursor_p.");
3576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3577 _result
= (wxGenericDragImage
*)new_wxDragImage(*_arg0
,*_arg1
);
3579 wxPyEndAllowThreads(__tstate
);
3580 if (PyErr_Occurred()) return NULL
;
3582 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
3583 _resultobj
= Py_BuildValue("s",_ptemp
);
3586 _resultobj
= Py_None
;
3591 #define new_wxDragIcon(_swigarg0,_swigarg1) (new wxGenericDragImage(_swigarg0,_swigarg1))
3592 static PyObject
*_wrap_new_wxDragIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3593 PyObject
* _resultobj
;
3594 wxGenericDragImage
* _result
;
3596 wxCursor
* _arg1
= (wxCursor
*) &wxNullCursor
;
3597 PyObject
* _argo0
= 0;
3598 PyObject
* _argo1
= 0;
3599 char *_kwnames
[] = { "image","cursor", NULL
};
3603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:new_wxDragIcon",_kwnames
,&_argo0
,&_argo1
))
3606 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3607 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
3608 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDragIcon. Expected _wxIcon_p.");
3613 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3614 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCursor_p")) {
3615 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxDragIcon. Expected _wxCursor_p.");
3620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3621 _result
= (wxGenericDragImage
*)new_wxDragIcon(*_arg0
,*_arg1
);
3623 wxPyEndAllowThreads(__tstate
);
3624 if (PyErr_Occurred()) return NULL
;
3626 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
3627 _resultobj
= Py_BuildValue("s",_ptemp
);
3630 _resultobj
= Py_None
;
3635 #define new_wxDragString(_swigarg0,_swigarg1) (new wxGenericDragImage(_swigarg0,_swigarg1))
3636 static PyObject
*_wrap_new_wxDragString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3637 PyObject
* _resultobj
;
3638 wxGenericDragImage
* _result
;
3640 wxCursor
* _arg1
= (wxCursor
*) &wxNullCursor
;
3641 PyObject
* _obj0
= 0;
3642 PyObject
* _argo1
= 0;
3643 char *_kwnames
[] = { "str","cursor", NULL
};
3647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:new_wxDragString",_kwnames
,&_obj0
,&_argo1
))
3650 #if PYTHON_API_VERSION >= 1009
3651 char* tmpPtr
; int tmpSize
;
3652 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
3653 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3656 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
3658 _arg0
= new wxString(tmpPtr
, tmpSize
);
3660 if (!PyString_Check(_obj0
)) {
3661 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3664 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
3668 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3669 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCursor_p")) {
3670 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxDragString. Expected _wxCursor_p.");
3675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3676 _result
= (wxGenericDragImage
*)new_wxDragString(*_arg0
,*_arg1
);
3678 wxPyEndAllowThreads(__tstate
);
3679 if (PyErr_Occurred()) return NULL
;
3681 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
3682 _resultobj
= Py_BuildValue("s",_ptemp
);
3685 _resultobj
= Py_None
;
3694 #define new_wxDragTreeItem(_swigarg0,_swigarg1) (new wxGenericDragImage(_swigarg0,_swigarg1))
3695 static PyObject
*_wrap_new_wxDragTreeItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3696 PyObject
* _resultobj
;
3697 wxGenericDragImage
* _result
;
3699 wxTreeItemId
* _arg1
;
3700 PyObject
* _argo0
= 0;
3701 PyObject
* _argo1
= 0;
3702 char *_kwnames
[] = { "treeCtrl","id", NULL
};
3706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:new_wxDragTreeItem",_kwnames
,&_argo0
,&_argo1
))
3709 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3710 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3711 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDragTreeItem. Expected _wxTreeCtrl_p.");
3716 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3717 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3718 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxDragTreeItem. Expected _wxTreeItemId_p.");
3723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3724 _result
= (wxGenericDragImage
*)new_wxDragTreeItem(*_arg0
,*_arg1
);
3726 wxPyEndAllowThreads(__tstate
);
3727 if (PyErr_Occurred()) return NULL
;
3729 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
3730 _resultobj
= Py_BuildValue("s",_ptemp
);
3733 _resultobj
= Py_None
;
3738 #define new_wxDragListItem(_swigarg0,_swigarg1) (new wxGenericDragImage(_swigarg0,_swigarg1))
3739 static PyObject
*_wrap_new_wxDragListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3740 PyObject
* _resultobj
;
3741 wxGenericDragImage
* _result
;
3744 PyObject
* _argo0
= 0;
3745 char *_kwnames
[] = { "listCtrl","id", NULL
};
3749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:new_wxDragListItem",_kwnames
,&_argo0
,&_arg1
))
3752 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3753 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3754 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDragListItem. Expected _wxListCtrl_p.");
3759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3760 _result
= (wxGenericDragImage
*)new_wxDragListItem(*_arg0
,_arg1
);
3762 wxPyEndAllowThreads(__tstate
);
3763 if (PyErr_Occurred()) return NULL
;
3765 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
3766 _resultobj
= Py_BuildValue("s",_ptemp
);
3769 _resultobj
= Py_None
;
3774 #define delete_wxGenericDragImage(_swigobj) (delete _swigobj)
3775 static PyObject
*_wrap_delete_wxDragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3776 PyObject
* _resultobj
;
3777 wxGenericDragImage
* _arg0
;
3778 PyObject
* _argo0
= 0;
3779 char *_kwnames
[] = { "self", NULL
};
3782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxDragImage",_kwnames
,&_argo0
))
3785 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3786 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3787 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxDragImage. Expected _wxGenericDragImage_p.");
3792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3793 delete_wxGenericDragImage(_arg0
);
3795 wxPyEndAllowThreads(__tstate
);
3796 if (PyErr_Occurred()) return NULL
;
3797 } Py_INCREF(Py_None
);
3798 _resultobj
= Py_None
;
3802 #define wxDragImage_SetBackingBitmap(_swigobj,_swigarg0) (_swigobj->SetBackingBitmap(_swigarg0))
3803 static PyObject
*_wrap_wxDragImage_SetBackingBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3804 PyObject
* _resultobj
;
3805 wxGenericDragImage
* _arg0
;
3807 PyObject
* _argo0
= 0;
3808 PyObject
* _argo1
= 0;
3809 char *_kwnames
[] = { "self","bitmap", NULL
};
3812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDragImage_SetBackingBitmap",_kwnames
,&_argo0
,&_argo1
))
3815 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3816 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3817 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_SetBackingBitmap. Expected _wxGenericDragImage_p.");
3822 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3823 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
3824 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDragImage_SetBackingBitmap. Expected _wxBitmap_p.");
3829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3830 wxDragImage_SetBackingBitmap(_arg0
,_arg1
);
3832 wxPyEndAllowThreads(__tstate
);
3833 if (PyErr_Occurred()) return NULL
;
3834 } Py_INCREF(Py_None
);
3835 _resultobj
= Py_None
;
3839 #define wxDragImage_BeginDrag(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->BeginDrag(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3840 static PyObject
*_wrap_wxDragImage_BeginDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3841 PyObject
* _resultobj
;
3843 wxGenericDragImage
* _arg0
;
3846 bool _arg3
= (bool ) FALSE
;
3847 wxRect
* _arg4
= (wxRect
*) NULL
;
3848 PyObject
* _argo0
= 0;
3850 PyObject
* _obj1
= 0;
3851 PyObject
* _argo2
= 0;
3852 int tempbool3
= (int) FALSE
;
3854 PyObject
* _obj4
= 0;
3855 char *_kwnames
[] = { "self","hotspot","window","fullScreen","rect", NULL
};
3858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|iO:wxDragImage_BeginDrag",_kwnames
,&_argo0
,&_obj1
,&_argo2
,&tempbool3
,&_obj4
))
3861 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3862 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3863 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_BeginDrag. Expected _wxGenericDragImage_p.");
3869 if (! wxPoint_helper(_obj1
, &_arg1
))
3873 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3874 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
3875 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxDragImage_BeginDrag. Expected _wxWindow_p.");
3879 _arg3
= (bool ) tempbool3
;
3883 if (! wxRect_helper(_obj4
, &_arg4
))
3887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3888 _result
= (bool )wxDragImage_BeginDrag(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
);
3890 wxPyEndAllowThreads(__tstate
);
3891 if (PyErr_Occurred()) return NULL
;
3892 } _resultobj
= Py_BuildValue("i",_result
);
3896 #define wxDragImage_BeginDrag2(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->BeginDrag(_swigarg0,_swigarg1,_swigarg2))
3897 static PyObject
*_wrap_wxDragImage_BeginDrag2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3898 PyObject
* _resultobj
;
3900 wxGenericDragImage
* _arg0
;
3904 PyObject
* _argo0
= 0;
3906 PyObject
* _obj1
= 0;
3907 PyObject
* _argo2
= 0;
3908 PyObject
* _argo3
= 0;
3909 char *_kwnames
[] = { "self","hotspot","window","fullScreenRect", NULL
};
3912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO:wxDragImage_BeginDrag2",_kwnames
,&_argo0
,&_obj1
,&_argo2
,&_argo3
))
3915 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3916 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3917 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_BeginDrag2. Expected _wxGenericDragImage_p.");
3923 if (! wxPoint_helper(_obj1
, &_arg1
))
3927 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3928 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
3929 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxDragImage_BeginDrag2. Expected _wxWindow_p.");
3934 if (_argo3
== Py_None
) { _arg3
= NULL
; }
3935 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxWindow_p")) {
3936 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxDragImage_BeginDrag2. Expected _wxWindow_p.");
3941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3942 _result
= (bool )wxDragImage_BeginDrag2(_arg0
,*_arg1
,_arg2
,_arg3
);
3944 wxPyEndAllowThreads(__tstate
);
3945 if (PyErr_Occurred()) return NULL
;
3946 } _resultobj
= Py_BuildValue("i",_result
);
3950 #define wxDragImage_EndDrag(_swigobj) (_swigobj->EndDrag())
3951 static PyObject
*_wrap_wxDragImage_EndDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3952 PyObject
* _resultobj
;
3954 wxGenericDragImage
* _arg0
;
3955 PyObject
* _argo0
= 0;
3956 char *_kwnames
[] = { "self", NULL
};
3959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDragImage_EndDrag",_kwnames
,&_argo0
))
3962 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3963 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3964 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_EndDrag. Expected _wxGenericDragImage_p.");
3969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3970 _result
= (bool )wxDragImage_EndDrag(_arg0
);
3972 wxPyEndAllowThreads(__tstate
);
3973 if (PyErr_Occurred()) return NULL
;
3974 } _resultobj
= Py_BuildValue("i",_result
);
3978 #define wxDragImage_Move(_swigobj,_swigarg0) (_swigobj->Move(_swigarg0))
3979 static PyObject
*_wrap_wxDragImage_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3980 PyObject
* _resultobj
;
3982 wxGenericDragImage
* _arg0
;
3984 PyObject
* _argo0
= 0;
3986 PyObject
* _obj1
= 0;
3987 char *_kwnames
[] = { "self","pt", NULL
};
3990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDragImage_Move",_kwnames
,&_argo0
,&_obj1
))
3993 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3994 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3995 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_Move. Expected _wxGenericDragImage_p.");
4001 if (! wxPoint_helper(_obj1
, &_arg1
))
4005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4006 _result
= (bool )wxDragImage_Move(_arg0
,*_arg1
);
4008 wxPyEndAllowThreads(__tstate
);
4009 if (PyErr_Occurred()) return NULL
;
4010 } _resultobj
= Py_BuildValue("i",_result
);
4014 #define wxDragImage_Show(_swigobj) (_swigobj->Show())
4015 static PyObject
*_wrap_wxDragImage_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4016 PyObject
* _resultobj
;
4018 wxGenericDragImage
* _arg0
;
4019 PyObject
* _argo0
= 0;
4020 char *_kwnames
[] = { "self", NULL
};
4023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDragImage_Show",_kwnames
,&_argo0
))
4026 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4027 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
4028 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_Show. Expected _wxGenericDragImage_p.");
4033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4034 _result
= (bool )wxDragImage_Show(_arg0
);
4036 wxPyEndAllowThreads(__tstate
);
4037 if (PyErr_Occurred()) return NULL
;
4038 } _resultobj
= Py_BuildValue("i",_result
);
4042 #define wxDragImage_Hide(_swigobj) (_swigobj->Hide())
4043 static PyObject
*_wrap_wxDragImage_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4044 PyObject
* _resultobj
;
4046 wxGenericDragImage
* _arg0
;
4047 PyObject
* _argo0
= 0;
4048 char *_kwnames
[] = { "self", NULL
};
4051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDragImage_Hide",_kwnames
,&_argo0
))
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_Hide. Expected _wxGenericDragImage_p.");
4061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4062 _result
= (bool )wxDragImage_Hide(_arg0
);
4064 wxPyEndAllowThreads(__tstate
);
4065 if (PyErr_Occurred()) return NULL
;
4066 } _resultobj
= Py_BuildValue("i",_result
);
4070 #define wxDragImage_GetImageRect(_swigobj,_swigarg0) (_swigobj->GetImageRect(_swigarg0))
4071 static PyObject
*_wrap_wxDragImage_GetImageRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4072 PyObject
* _resultobj
;
4074 wxGenericDragImage
* _arg0
;
4076 PyObject
* _argo0
= 0;
4078 PyObject
* _obj1
= 0;
4079 char *_kwnames
[] = { "self","pos", NULL
};
4083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDragImage_GetImageRect",_kwnames
,&_argo0
,&_obj1
))
4086 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4087 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
4088 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_GetImageRect. Expected _wxGenericDragImage_p.");
4094 if (! wxPoint_helper(_obj1
, &_arg1
))
4098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4099 _result
= new wxRect (wxDragImage_GetImageRect(_arg0
,*_arg1
));
4101 wxPyEndAllowThreads(__tstate
);
4102 if (PyErr_Occurred()) return NULL
;
4103 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
4104 _resultobj
= Py_BuildValue("s",_ptemp
);
4108 #define wxDragImage_RedrawImage(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->RedrawImage(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4109 static PyObject
*_wrap_wxDragImage_RedrawImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4110 PyObject
* _resultobj
;
4112 wxGenericDragImage
* _arg0
;
4117 PyObject
* _argo0
= 0;
4119 PyObject
* _obj1
= 0;
4121 PyObject
* _obj2
= 0;
4124 char *_kwnames
[] = { "self","oldPos","newPos","eraseOld","drawNew", NULL
};
4127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOii:wxDragImage_RedrawImage",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&tempbool3
,&tempbool4
))
4130 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4131 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
4132 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_RedrawImage. Expected _wxGenericDragImage_p.");
4138 if (! wxPoint_helper(_obj1
, &_arg1
))
4143 if (! wxPoint_helper(_obj2
, &_arg2
))
4146 _arg3
= (bool ) tempbool3
;
4147 _arg4
= (bool ) tempbool4
;
4149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4150 _result
= (bool )wxDragImage_RedrawImage(_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
);
4152 wxPyEndAllowThreads(__tstate
);
4153 if (PyErr_Occurred()) return NULL
;
4154 } _resultobj
= Py_BuildValue("i",_result
);
4158 static void *SwigwxPyTimerTowxObject(void *ptr
) {
4161 src
= (wxPyTimer
*) ptr
;
4162 dest
= (wxObject
*) src
;
4163 return (void *) dest
;
4166 #define new_wxPyTimer(_swigarg0) (new wxPyTimer(_swigarg0))
4167 static PyObject
*_wrap_new_wxPyTimer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4168 PyObject
* _resultobj
;
4169 wxPyTimer
* _result
;
4171 PyObject
* _obj0
= 0;
4172 char *_kwnames
[] = { "notify", NULL
};
4176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxPyTimer",_kwnames
,&_obj0
))
4182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4183 _result
= (wxPyTimer
*)new_wxPyTimer(_arg0
);
4185 wxPyEndAllowThreads(__tstate
);
4186 if (PyErr_Occurred()) return NULL
;
4188 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTimer_p");
4189 _resultobj
= Py_BuildValue("s",_ptemp
);
4192 _resultobj
= Py_None
;
4197 #define delete_wxPyTimer(_swigobj) (delete _swigobj)
4198 static PyObject
*_wrap_delete_wxPyTimer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4199 PyObject
* _resultobj
;
4201 PyObject
* _argo0
= 0;
4202 char *_kwnames
[] = { "self", NULL
};
4205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPyTimer",_kwnames
,&_argo0
))
4208 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4209 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4210 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPyTimer. Expected _wxPyTimer_p.");
4215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4216 delete_wxPyTimer(_arg0
);
4218 wxPyEndAllowThreads(__tstate
);
4219 if (PyErr_Occurred()) return NULL
;
4220 } Py_INCREF(Py_None
);
4221 _resultobj
= Py_None
;
4225 #define wxPyTimer_GetInterval(_swigobj) (_swigobj->GetInterval())
4226 static PyObject
*_wrap_wxPyTimer_GetInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4227 PyObject
* _resultobj
;
4230 PyObject
* _argo0
= 0;
4231 char *_kwnames
[] = { "self", NULL
};
4234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_GetInterval",_kwnames
,&_argo0
))
4237 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4238 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4239 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_GetInterval. Expected _wxPyTimer_p.");
4244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4245 _result
= (int )wxPyTimer_GetInterval(_arg0
);
4247 wxPyEndAllowThreads(__tstate
);
4248 if (PyErr_Occurred()) return NULL
;
4249 } _resultobj
= Py_BuildValue("i",_result
);
4253 #define wxPyTimer_IsOneShot(_swigobj) (_swigobj->IsOneShot())
4254 static PyObject
*_wrap_wxPyTimer_IsOneShot(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4255 PyObject
* _resultobj
;
4258 PyObject
* _argo0
= 0;
4259 char *_kwnames
[] = { "self", NULL
};
4262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_IsOneShot",_kwnames
,&_argo0
))
4265 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4266 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4267 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_IsOneShot. Expected _wxPyTimer_p.");
4272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4273 _result
= (bool )wxPyTimer_IsOneShot(_arg0
);
4275 wxPyEndAllowThreads(__tstate
);
4276 if (PyErr_Occurred()) return NULL
;
4277 } _resultobj
= Py_BuildValue("i",_result
);
4281 #define wxPyTimer_IsRunning(_swigobj) (_swigobj->IsRunning())
4282 static PyObject
*_wrap_wxPyTimer_IsRunning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4283 PyObject
* _resultobj
;
4286 PyObject
* _argo0
= 0;
4287 char *_kwnames
[] = { "self", NULL
};
4290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_IsRunning",_kwnames
,&_argo0
))
4293 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4294 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4295 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_IsRunning. Expected _wxPyTimer_p.");
4300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4301 _result
= (bool )wxPyTimer_IsRunning(_arg0
);
4303 wxPyEndAllowThreads(__tstate
);
4304 if (PyErr_Occurred()) return NULL
;
4305 } _resultobj
= Py_BuildValue("i",_result
);
4309 #define wxPyTimer_SetOwner(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetOwner(_swigarg0,_swigarg1))
4310 static PyObject
*_wrap_wxPyTimer_SetOwner(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4311 PyObject
* _resultobj
;
4313 wxEvtHandler
* _arg1
;
4314 int _arg2
= (int ) -1;
4315 PyObject
* _argo0
= 0;
4316 PyObject
* _argo1
= 0;
4317 char *_kwnames
[] = { "self","owner","id", NULL
};
4320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxPyTimer_SetOwner",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
4323 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4324 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4325 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_SetOwner. Expected _wxPyTimer_p.");
4330 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4331 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
4332 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyTimer_SetOwner. Expected _wxEvtHandler_p.");
4337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4338 wxPyTimer_SetOwner(_arg0
,_arg1
,_arg2
);
4340 wxPyEndAllowThreads(__tstate
);
4341 if (PyErr_Occurred()) return NULL
;
4342 } Py_INCREF(Py_None
);
4343 _resultobj
= Py_None
;
4347 #define wxPyTimer_Start(_swigobj,_swigarg0,_swigarg1) (_swigobj->Start(_swigarg0,_swigarg1))
4348 static PyObject
*_wrap_wxPyTimer_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4349 PyObject
* _resultobj
;
4351 int _arg1
= (int ) -1;
4352 int _arg2
= (int ) FALSE
;
4353 PyObject
* _argo0
= 0;
4354 char *_kwnames
[] = { "self","milliseconds","oneShot", NULL
};
4357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxPyTimer_Start",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4360 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4361 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4362 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_Start. Expected _wxPyTimer_p.");
4367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4368 wxPyTimer_Start(_arg0
,_arg1
,_arg2
);
4370 wxPyEndAllowThreads(__tstate
);
4371 if (PyErr_Occurred()) return NULL
;
4372 } Py_INCREF(Py_None
);
4373 _resultobj
= Py_None
;
4377 #define wxPyTimer_Stop(_swigobj) (_swigobj->Stop())
4378 static PyObject
*_wrap_wxPyTimer_Stop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4379 PyObject
* _resultobj
;
4381 PyObject
* _argo0
= 0;
4382 char *_kwnames
[] = { "self", NULL
};
4385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_Stop",_kwnames
,&_argo0
))
4388 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4389 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4390 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_Stop. Expected _wxPyTimer_p.");
4395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4396 wxPyTimer_Stop(_arg0
);
4398 wxPyEndAllowThreads(__tstate
);
4399 if (PyErr_Occurred()) return NULL
;
4400 } Py_INCREF(Py_None
);
4401 _resultobj
= Py_None
;
4405 #define new_wxStopWatch() (new wxStopWatch())
4406 static PyObject
*_wrap_new_wxStopWatch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4407 PyObject
* _resultobj
;
4408 wxStopWatch
* _result
;
4409 char *_kwnames
[] = { NULL
};
4413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxStopWatch",_kwnames
))
4416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4417 _result
= (wxStopWatch
*)new_wxStopWatch();
4419 wxPyEndAllowThreads(__tstate
);
4420 if (PyErr_Occurred()) return NULL
;
4422 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStopWatch_p");
4423 _resultobj
= Py_BuildValue("s",_ptemp
);
4426 _resultobj
= Py_None
;
4431 #define delete_wxStopWatch(_swigobj) (delete _swigobj)
4432 static PyObject
*_wrap_delete_wxStopWatch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4433 PyObject
* _resultobj
;
4434 wxStopWatch
* _arg0
;
4435 PyObject
* _argo0
= 0;
4436 char *_kwnames
[] = { "self", NULL
};
4439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxStopWatch",_kwnames
,&_argo0
))
4442 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4443 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStopWatch_p")) {
4444 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxStopWatch. Expected _wxStopWatch_p.");
4449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4450 delete_wxStopWatch(_arg0
);
4452 wxPyEndAllowThreads(__tstate
);
4453 if (PyErr_Occurred()) return NULL
;
4454 } Py_INCREF(Py_None
);
4455 _resultobj
= Py_None
;
4459 #define wxStopWatch_Start(_swigobj,_swigarg0) (_swigobj->Start(_swigarg0))
4460 static PyObject
*_wrap_wxStopWatch_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4461 PyObject
* _resultobj
;
4462 wxStopWatch
* _arg0
;
4463 long _arg1
= (long ) 0;
4464 PyObject
* _argo0
= 0;
4465 char *_kwnames
[] = { "self","t", NULL
};
4468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|l:wxStopWatch_Start",_kwnames
,&_argo0
,&_arg1
))
4471 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4472 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStopWatch_p")) {
4473 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStopWatch_Start. Expected _wxStopWatch_p.");
4478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4479 wxStopWatch_Start(_arg0
,_arg1
);
4481 wxPyEndAllowThreads(__tstate
);
4482 if (PyErr_Occurred()) return NULL
;
4483 } Py_INCREF(Py_None
);
4484 _resultobj
= Py_None
;
4488 #define wxStopWatch_Pause(_swigobj) (_swigobj->Pause())
4489 static PyObject
*_wrap_wxStopWatch_Pause(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4490 PyObject
* _resultobj
;
4491 wxStopWatch
* _arg0
;
4492 PyObject
* _argo0
= 0;
4493 char *_kwnames
[] = { "self", NULL
};
4496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStopWatch_Pause",_kwnames
,&_argo0
))
4499 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4500 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStopWatch_p")) {
4501 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStopWatch_Pause. Expected _wxStopWatch_p.");
4506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4507 wxStopWatch_Pause(_arg0
);
4509 wxPyEndAllowThreads(__tstate
);
4510 if (PyErr_Occurred()) return NULL
;
4511 } Py_INCREF(Py_None
);
4512 _resultobj
= Py_None
;
4516 #define wxStopWatch_Resume(_swigobj) (_swigobj->Resume())
4517 static PyObject
*_wrap_wxStopWatch_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4518 PyObject
* _resultobj
;
4519 wxStopWatch
* _arg0
;
4520 PyObject
* _argo0
= 0;
4521 char *_kwnames
[] = { "self", NULL
};
4524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStopWatch_Resume",_kwnames
,&_argo0
))
4527 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4528 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStopWatch_p")) {
4529 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStopWatch_Resume. Expected _wxStopWatch_p.");
4534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4535 wxStopWatch_Resume(_arg0
);
4537 wxPyEndAllowThreads(__tstate
);
4538 if (PyErr_Occurred()) return NULL
;
4539 } Py_INCREF(Py_None
);
4540 _resultobj
= Py_None
;
4544 #define wxStopWatch_Time(_swigobj) (_swigobj->Time())
4545 static PyObject
*_wrap_wxStopWatch_Time(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4546 PyObject
* _resultobj
;
4548 wxStopWatch
* _arg0
;
4549 PyObject
* _argo0
= 0;
4550 char *_kwnames
[] = { "self", NULL
};
4553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStopWatch_Time",_kwnames
,&_argo0
))
4556 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4557 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStopWatch_p")) {
4558 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStopWatch_Time. Expected _wxStopWatch_p.");
4563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4564 _result
= (long )wxStopWatch_Time(_arg0
);
4566 wxPyEndAllowThreads(__tstate
);
4567 if (PyErr_Occurred()) return NULL
;
4568 } _resultobj
= Py_BuildValue("l",_result
);
4572 #define new_wxLog() (new wxLog())
4573 static PyObject
*_wrap_new_wxLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4574 PyObject
* _resultobj
;
4576 char *_kwnames
[] = { NULL
};
4580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLog",_kwnames
))
4583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4584 _result
= (wxLog
*)new_wxLog();
4586 wxPyEndAllowThreads(__tstate
);
4587 if (PyErr_Occurred()) return NULL
;
4589 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
4590 _resultobj
= Py_BuildValue("s",_ptemp
);
4593 _resultobj
= Py_None
;
4598 static PyObject
*_wrap_wxLog_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4599 PyObject
* _resultobj
;
4601 char *_kwnames
[] = { NULL
};
4604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_IsEnabled",_kwnames
))
4607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4608 _result
= (bool )wxLog::IsEnabled();
4610 wxPyEndAllowThreads(__tstate
);
4611 if (PyErr_Occurred()) return NULL
;
4612 } _resultobj
= Py_BuildValue("i",_result
);
4616 static PyObject
*_wrap_wxLog_EnableLogging(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4617 PyObject
* _resultobj
;
4619 bool _arg0
= (bool ) TRUE
;
4620 int tempbool0
= (int) TRUE
;
4621 char *_kwnames
[] = { "doIt", NULL
};
4624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:wxLog_EnableLogging",_kwnames
,&tempbool0
))
4626 _arg0
= (bool ) tempbool0
;
4628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4629 _result
= (bool )wxLog::EnableLogging(_arg0
);
4631 wxPyEndAllowThreads(__tstate
);
4632 if (PyErr_Occurred()) return NULL
;
4633 } _resultobj
= Py_BuildValue("i",_result
);
4637 static PyObject
*_wrap_wxLog_OnLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4638 PyObject
* _resultobj
;
4641 int _arg2
= (int ) 0;
4642 PyObject
* _argo0
= 0;
4643 char *_kwnames
[] = { "level","szString","t", NULL
};
4646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Os|i:wxLog_OnLog",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4649 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4650 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogLevel_p")) {
4651 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_OnLog. Expected _wxLogLevel_p.");
4656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4657 wxLog::OnLog(*_arg0
,_arg1
,_arg2
);
4659 wxPyEndAllowThreads(__tstate
);
4660 if (PyErr_Occurred()) return NULL
;
4661 } Py_INCREF(Py_None
);
4662 _resultobj
= Py_None
;
4666 #define wxLog_Flush(_swigobj) (_swigobj->Flush())
4667 static PyObject
*_wrap_wxLog_Flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4668 PyObject
* _resultobj
;
4670 PyObject
* _argo0
= 0;
4671 char *_kwnames
[] = { "self", NULL
};
4674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_Flush",_kwnames
,&_argo0
))
4677 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4678 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
4679 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_Flush. Expected _wxLog_p.");
4684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4687 wxPyEndAllowThreads(__tstate
);
4688 if (PyErr_Occurred()) return NULL
;
4689 } Py_INCREF(Py_None
);
4690 _resultobj
= Py_None
;
4694 #define wxLog_HasPendingMessages(_swigobj) (_swigobj->HasPendingMessages())
4695 static PyObject
*_wrap_wxLog_HasPendingMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4696 PyObject
* _resultobj
;
4699 PyObject
* _argo0
= 0;
4700 char *_kwnames
[] = { "self", NULL
};
4703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_HasPendingMessages",_kwnames
,&_argo0
))
4706 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4707 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
4708 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_HasPendingMessages. Expected _wxLog_p.");
4713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4714 _result
= (bool )wxLog_HasPendingMessages(_arg0
);
4716 wxPyEndAllowThreads(__tstate
);
4717 if (PyErr_Occurred()) return NULL
;
4718 } _resultobj
= Py_BuildValue("i",_result
);
4722 static PyObject
*_wrap_wxLog_FlushActive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4723 PyObject
* _resultobj
;
4724 char *_kwnames
[] = { NULL
};
4727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_FlushActive",_kwnames
))
4730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4731 wxLog::FlushActive();
4733 wxPyEndAllowThreads(__tstate
);
4734 if (PyErr_Occurred()) return NULL
;
4735 } Py_INCREF(Py_None
);
4736 _resultobj
= Py_None
;
4740 static PyObject
*_wrap_wxLog_GetActiveTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4741 PyObject
* _resultobj
;
4743 char *_kwnames
[] = { NULL
};
4747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_GetActiveTarget",_kwnames
))
4750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4751 _result
= (wxLog
*)wxLog::GetActiveTarget();
4753 wxPyEndAllowThreads(__tstate
);
4754 if (PyErr_Occurred()) return NULL
;
4756 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
4757 _resultobj
= Py_BuildValue("s",_ptemp
);
4760 _resultobj
= Py_None
;
4765 static PyObject
*_wrap_wxLog_SetActiveTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4766 PyObject
* _resultobj
;
4769 PyObject
* _argo0
= 0;
4770 char *_kwnames
[] = { "pLogger", NULL
};
4774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_SetActiveTarget",_kwnames
,&_argo0
))
4777 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4778 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
4779 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_SetActiveTarget. Expected _wxLog_p.");
4784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4785 _result
= (wxLog
*)wxLog::SetActiveTarget(_arg0
);
4787 wxPyEndAllowThreads(__tstate
);
4788 if (PyErr_Occurred()) return NULL
;
4790 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
4791 _resultobj
= Py_BuildValue("s",_ptemp
);
4794 _resultobj
= Py_None
;
4799 static PyObject
*_wrap_wxLog_Suspend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4800 PyObject
* _resultobj
;
4801 char *_kwnames
[] = { NULL
};
4804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_Suspend",_kwnames
))
4807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4810 wxPyEndAllowThreads(__tstate
);
4811 if (PyErr_Occurred()) return NULL
;
4812 } Py_INCREF(Py_None
);
4813 _resultobj
= Py_None
;
4817 static PyObject
*_wrap_wxLog_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4818 PyObject
* _resultobj
;
4819 char *_kwnames
[] = { NULL
};
4822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_Resume",_kwnames
))
4825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4828 wxPyEndAllowThreads(__tstate
);
4829 if (PyErr_Occurred()) return NULL
;
4830 } Py_INCREF(Py_None
);
4831 _resultobj
= Py_None
;
4835 #define wxLog_SetVerbose(_swigobj,_swigarg0) (_swigobj->SetVerbose(_swigarg0))
4836 static PyObject
*_wrap_wxLog_SetVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4837 PyObject
* _resultobj
;
4839 bool _arg1
= (bool ) TRUE
;
4840 PyObject
* _argo0
= 0;
4841 int tempbool1
= (int) TRUE
;
4842 char *_kwnames
[] = { "self","bVerbose", NULL
};
4845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxLog_SetVerbose",_kwnames
,&_argo0
,&tempbool1
))
4848 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4849 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
4850 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_SetVerbose. Expected _wxLog_p.");
4854 _arg1
= (bool ) tempbool1
;
4856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4857 wxLog_SetVerbose(_arg0
,_arg1
);
4859 wxPyEndAllowThreads(__tstate
);
4860 if (PyErr_Occurred()) return NULL
;
4861 } Py_INCREF(Py_None
);
4862 _resultobj
= Py_None
;
4866 static PyObject
*_wrap_wxLog_DontCreateOnDemand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4867 PyObject
* _resultobj
;
4868 char *_kwnames
[] = { NULL
};
4871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_DontCreateOnDemand",_kwnames
))
4874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4875 wxLog::DontCreateOnDemand();
4877 wxPyEndAllowThreads(__tstate
);
4878 if (PyErr_Occurred()) return NULL
;
4879 } Py_INCREF(Py_None
);
4880 _resultobj
= Py_None
;
4884 static PyObject
*_wrap_wxLog_SetTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4885 PyObject
* _resultobj
;
4886 wxTraceMask
* _arg0
;
4887 PyObject
* _argo0
= 0;
4888 char *_kwnames
[] = { "ulMask", NULL
};
4891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_SetTraceMask",_kwnames
,&_argo0
))
4894 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4895 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTraceMask_p")) {
4896 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_SetTraceMask. Expected _wxTraceMask_p.");
4901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4902 wxLog::SetTraceMask(*_arg0
);
4904 wxPyEndAllowThreads(__tstate
);
4905 if (PyErr_Occurred()) return NULL
;
4906 } Py_INCREF(Py_None
);
4907 _resultobj
= Py_None
;
4911 static PyObject
*_wrap_wxLog_AddTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4912 PyObject
* _resultobj
;
4914 PyObject
* _obj0
= 0;
4915 char *_kwnames
[] = { "str", NULL
};
4918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_AddTraceMask",_kwnames
,&_obj0
))
4921 #if PYTHON_API_VERSION >= 1009
4922 char* tmpPtr
; int tmpSize
;
4923 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
4924 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4927 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
4929 _arg0
= new wxString(tmpPtr
, tmpSize
);
4931 if (!PyString_Check(_obj0
)) {
4932 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4935 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
4939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4940 wxLog::AddTraceMask(*_arg0
);
4942 wxPyEndAllowThreads(__tstate
);
4943 if (PyErr_Occurred()) return NULL
;
4944 } Py_INCREF(Py_None
);
4945 _resultobj
= Py_None
;
4953 static PyObject
*_wrap_wxLog_RemoveTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4954 PyObject
* _resultobj
;
4956 PyObject
* _obj0
= 0;
4957 char *_kwnames
[] = { "str", NULL
};
4960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_RemoveTraceMask",_kwnames
,&_obj0
))
4963 #if PYTHON_API_VERSION >= 1009
4964 char* tmpPtr
; int tmpSize
;
4965 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
4966 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4969 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
4971 _arg0
= new wxString(tmpPtr
, tmpSize
);
4973 if (!PyString_Check(_obj0
)) {
4974 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4977 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
4981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4982 wxLog::RemoveTraceMask(*_arg0
);
4984 wxPyEndAllowThreads(__tstate
);
4985 if (PyErr_Occurred()) return NULL
;
4986 } Py_INCREF(Py_None
);
4987 _resultobj
= Py_None
;
4995 static PyObject
*_wrap_wxLog_ClearTraceMasks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4996 PyObject
* _resultobj
;
4997 char *_kwnames
[] = { NULL
};
5000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_ClearTraceMasks",_kwnames
))
5003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5004 wxLog::ClearTraceMasks();
5006 wxPyEndAllowThreads(__tstate
);
5007 if (PyErr_Occurred()) return NULL
;
5008 } Py_INCREF(Py_None
);
5009 _resultobj
= Py_None
;
5013 static PyObject
*_wrap_wxLog_SetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5014 PyObject
* _resultobj
;
5016 char *_kwnames
[] = { "ts", NULL
};
5019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLog_SetTimestamp",_kwnames
,&_arg0
))
5022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5023 wxLog::SetTimestamp(_arg0
);
5025 wxPyEndAllowThreads(__tstate
);
5026 if (PyErr_Occurred()) return NULL
;
5027 } Py_INCREF(Py_None
);
5028 _resultobj
= Py_None
;
5032 static PyObject
*_wrap_wxLog_GetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5033 PyObject
* _resultobj
;
5035 char *_kwnames
[] = { NULL
};
5038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_GetTimestamp",_kwnames
))
5041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5042 _result
= (wxChar
*)wxLog::GetTimestamp();
5044 wxPyEndAllowThreads(__tstate
);
5045 if (PyErr_Occurred()) return NULL
;
5046 } _resultobj
= Py_BuildValue("s", _result
);
5050 #define wxLog_GetVerbose(_swigobj) (_swigobj->GetVerbose())
5051 static PyObject
*_wrap_wxLog_GetVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5052 PyObject
* _resultobj
;
5055 PyObject
* _argo0
= 0;
5056 char *_kwnames
[] = { "self", NULL
};
5059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_GetVerbose",_kwnames
,&_argo0
))
5062 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5063 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
5064 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_GetVerbose. Expected _wxLog_p.");
5069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5070 _result
= (bool )wxLog_GetVerbose(_arg0
);
5072 wxPyEndAllowThreads(__tstate
);
5073 if (PyErr_Occurred()) return NULL
;
5074 } _resultobj
= Py_BuildValue("i",_result
);
5078 static PyObject
*_wrap_wxLog_GetTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5079 PyObject
* _resultobj
;
5080 wxTraceMask
* _result
;
5081 char *_kwnames
[] = { NULL
};
5085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_GetTraceMask",_kwnames
))
5088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5089 _result
= new wxTraceMask (wxLog::GetTraceMask());
5091 wxPyEndAllowThreads(__tstate
);
5092 if (PyErr_Occurred()) return NULL
;
5093 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTraceMask_p");
5094 _resultobj
= Py_BuildValue("s",_ptemp
);
5098 static PyObject
*_wrap_wxLog_IsAllowedTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5099 PyObject
* _resultobj
;
5102 char *_kwnames
[] = { "mask", NULL
};
5105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLog_IsAllowedTraceMask",_kwnames
,&_arg0
))
5108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5109 _result
= (bool )wxLog::IsAllowedTraceMask(_arg0
);
5111 wxPyEndAllowThreads(__tstate
);
5112 if (PyErr_Occurred()) return NULL
;
5113 } _resultobj
= Py_BuildValue("i",_result
);
5117 static wxString
wxLog_TimeStamp(wxLog
*self
) {
5119 wxLog::TimeStamp(&msg
);
5122 static PyObject
*_wrap_wxLog_TimeStamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5123 PyObject
* _resultobj
;
5126 PyObject
* _argo0
= 0;
5127 char *_kwnames
[] = { "self", NULL
};
5130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_TimeStamp",_kwnames
,&_argo0
))
5133 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5134 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
5135 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_TimeStamp. Expected _wxLog_p.");
5140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5141 _result
= new wxString (wxLog_TimeStamp(_arg0
));
5143 wxPyEndAllowThreads(__tstate
);
5144 if (PyErr_Occurred()) return NULL
;
5146 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5154 static void *SwigwxLogStderrTowxLog(void *ptr
) {
5157 src
= (wxLogStderr
*) ptr
;
5158 dest
= (wxLog
*) src
;
5159 return (void *) dest
;
5162 #define new_wxLogStderr() (new wxLogStderr())
5163 static PyObject
*_wrap_new_wxLogStderr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5164 PyObject
* _resultobj
;
5165 wxLogStderr
* _result
;
5166 char *_kwnames
[] = { NULL
};
5170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLogStderr",_kwnames
))
5173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5174 _result
= (wxLogStderr
*)new_wxLogStderr();
5176 wxPyEndAllowThreads(__tstate
);
5177 if (PyErr_Occurred()) return NULL
;
5179 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogStderr_p");
5180 _resultobj
= Py_BuildValue("s",_ptemp
);
5183 _resultobj
= Py_None
;
5188 static void *SwigwxLogTextCtrlTowxLog(void *ptr
) {
5191 src
= (wxLogTextCtrl
*) ptr
;
5192 dest
= (wxLog
*) src
;
5193 return (void *) dest
;
5196 #define new_wxLogTextCtrl(_swigarg0) (new wxLogTextCtrl(_swigarg0))
5197 static PyObject
*_wrap_new_wxLogTextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5198 PyObject
* _resultobj
;
5199 wxLogTextCtrl
* _result
;
5201 PyObject
* _argo0
= 0;
5202 char *_kwnames
[] = { "pTextCtrl", NULL
};
5206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxLogTextCtrl",_kwnames
,&_argo0
))
5209 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5210 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
5211 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxLogTextCtrl. Expected _wxTextCtrl_p.");
5216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5217 _result
= (wxLogTextCtrl
*)new_wxLogTextCtrl(_arg0
);
5219 wxPyEndAllowThreads(__tstate
);
5220 if (PyErr_Occurred()) return NULL
;
5222 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogTextCtrl_p");
5223 _resultobj
= Py_BuildValue("s",_ptemp
);
5226 _resultobj
= Py_None
;
5231 static void *SwigwxLogGuiTowxLog(void *ptr
) {
5234 src
= (wxLogGui
*) ptr
;
5235 dest
= (wxLog
*) src
;
5236 return (void *) dest
;
5239 #define new_wxLogGui() (new wxLogGui())
5240 static PyObject
*_wrap_new_wxLogGui(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5241 PyObject
* _resultobj
;
5243 char *_kwnames
[] = { NULL
};
5247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLogGui",_kwnames
))
5250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5251 _result
= (wxLogGui
*)new_wxLogGui();
5253 wxPyEndAllowThreads(__tstate
);
5254 if (PyErr_Occurred()) return NULL
;
5256 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogGui_p");
5257 _resultobj
= Py_BuildValue("s",_ptemp
);
5260 _resultobj
= Py_None
;
5265 static void *SwigwxLogWindowTowxLog(void *ptr
) {
5268 src
= (wxLogWindow
*) ptr
;
5269 dest
= (wxLog
*) src
;
5270 return (void *) dest
;
5273 #define new_wxLogWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxLogWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5274 static PyObject
*_wrap_new_wxLogWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5275 PyObject
* _resultobj
;
5276 wxLogWindow
* _result
;
5279 bool _arg2
= (bool ) TRUE
;
5280 bool _arg3
= (bool ) TRUE
;
5281 PyObject
* _argo0
= 0;
5282 int tempbool2
= (int) TRUE
;
5283 int tempbool3
= (int) TRUE
;
5284 char *_kwnames
[] = { "pParent","szTitle","bShow","bPassToOld", NULL
};
5288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Os|ii:new_wxLogWindow",_kwnames
,&_argo0
,&_arg1
,&tempbool2
,&tempbool3
))
5291 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5292 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
5293 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxLogWindow. Expected _wxFrame_p.");
5297 _arg2
= (bool ) tempbool2
;
5298 _arg3
= (bool ) tempbool3
;
5300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5301 _result
= (wxLogWindow
*)new_wxLogWindow(_arg0
,_arg1
,_arg2
,_arg3
);
5303 wxPyEndAllowThreads(__tstate
);
5304 if (PyErr_Occurred()) return NULL
;
5306 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogWindow_p");
5307 _resultobj
= Py_BuildValue("s",_ptemp
);
5310 _resultobj
= Py_None
;
5315 #define wxLogWindow_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
5316 static PyObject
*_wrap_wxLogWindow_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5317 PyObject
* _resultobj
;
5318 wxLogWindow
* _arg0
;
5319 bool _arg1
= (bool ) TRUE
;
5320 PyObject
* _argo0
= 0;
5321 int tempbool1
= (int) TRUE
;
5322 char *_kwnames
[] = { "self","bShow", NULL
};
5325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxLogWindow_Show",_kwnames
,&_argo0
,&tempbool1
))
5328 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5329 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
5330 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_Show. Expected _wxLogWindow_p.");
5334 _arg1
= (bool ) tempbool1
;
5336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5337 wxLogWindow_Show(_arg0
,_arg1
);
5339 wxPyEndAllowThreads(__tstate
);
5340 if (PyErr_Occurred()) return NULL
;
5341 } Py_INCREF(Py_None
);
5342 _resultobj
= Py_None
;
5346 #define wxLogWindow_GetFrame(_swigobj) (_swigobj->GetFrame())
5347 static PyObject
*_wrap_wxLogWindow_GetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5348 PyObject
* _resultobj
;
5350 wxLogWindow
* _arg0
;
5351 PyObject
* _argo0
= 0;
5352 char *_kwnames
[] = { "self", NULL
};
5355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogWindow_GetFrame",_kwnames
,&_argo0
))
5358 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5359 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
5360 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_GetFrame. Expected _wxLogWindow_p.");
5365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5366 _result
= (wxFrame
*)wxLogWindow_GetFrame(_arg0
);
5368 wxPyEndAllowThreads(__tstate
);
5369 if (PyErr_Occurred()) return NULL
;
5370 }{ _resultobj
= wxPyMake_wxObject(_result
); }
5374 #define wxLogWindow_GetOldLog(_swigobj) (_swigobj->GetOldLog())
5375 static PyObject
*_wrap_wxLogWindow_GetOldLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5376 PyObject
* _resultobj
;
5378 wxLogWindow
* _arg0
;
5379 PyObject
* _argo0
= 0;
5380 char *_kwnames
[] = { "self", NULL
};
5384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogWindow_GetOldLog",_kwnames
,&_argo0
))
5387 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5388 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
5389 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_GetOldLog. Expected _wxLogWindow_p.");
5394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5395 _result
= (wxLog
*)wxLogWindow_GetOldLog(_arg0
);
5397 wxPyEndAllowThreads(__tstate
);
5398 if (PyErr_Occurred()) return NULL
;
5400 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
5401 _resultobj
= Py_BuildValue("s",_ptemp
);
5404 _resultobj
= Py_None
;
5409 #define wxLogWindow_IsPassingMessages(_swigobj) (_swigobj->IsPassingMessages())
5410 static PyObject
*_wrap_wxLogWindow_IsPassingMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5411 PyObject
* _resultobj
;
5413 wxLogWindow
* _arg0
;
5414 PyObject
* _argo0
= 0;
5415 char *_kwnames
[] = { "self", NULL
};
5418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogWindow_IsPassingMessages",_kwnames
,&_argo0
))
5421 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5422 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
5423 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_IsPassingMessages. Expected _wxLogWindow_p.");
5428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5429 _result
= (bool )wxLogWindow_IsPassingMessages(_arg0
);
5431 wxPyEndAllowThreads(__tstate
);
5432 if (PyErr_Occurred()) return NULL
;
5433 } _resultobj
= Py_BuildValue("i",_result
);
5437 #define wxLogWindow_PassMessages(_swigobj,_swigarg0) (_swigobj->PassMessages(_swigarg0))
5438 static PyObject
*_wrap_wxLogWindow_PassMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5439 PyObject
* _resultobj
;
5440 wxLogWindow
* _arg0
;
5442 PyObject
* _argo0
= 0;
5444 char *_kwnames
[] = { "self","bDoPass", NULL
};
5447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxLogWindow_PassMessages",_kwnames
,&_argo0
,&tempbool1
))
5450 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5451 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
5452 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_PassMessages. Expected _wxLogWindow_p.");
5456 _arg1
= (bool ) tempbool1
;
5458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5459 wxLogWindow_PassMessages(_arg0
,_arg1
);
5461 wxPyEndAllowThreads(__tstate
);
5462 if (PyErr_Occurred()) return NULL
;
5463 } Py_INCREF(Py_None
);
5464 _resultobj
= Py_None
;
5468 #define new_wxLogNull() (new wxLogNull())
5469 static PyObject
*_wrap_new_wxLogNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5470 PyObject
* _resultobj
;
5471 wxLogNull
* _result
;
5472 char *_kwnames
[] = { NULL
};
5476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLogNull",_kwnames
))
5479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5480 _result
= (wxLogNull
*)new_wxLogNull();
5482 wxPyEndAllowThreads(__tstate
);
5483 if (PyErr_Occurred()) return NULL
;
5485 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogNull_p");
5486 _resultobj
= Py_BuildValue("s",_ptemp
);
5489 _resultobj
= Py_None
;
5494 #define delete_wxLogNull(_swigobj) (delete _swigobj)
5495 static PyObject
*_wrap_delete_wxLogNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5496 PyObject
* _resultobj
;
5498 PyObject
* _argo0
= 0;
5499 char *_kwnames
[] = { "self", NULL
};
5502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxLogNull",_kwnames
,&_argo0
))
5505 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5506 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogNull_p")) {
5507 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxLogNull. Expected _wxLogNull_p.");
5512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5513 delete_wxLogNull(_arg0
);
5515 wxPyEndAllowThreads(__tstate
);
5516 if (PyErr_Occurred()) return NULL
;
5517 } Py_INCREF(Py_None
);
5518 _resultobj
= Py_None
;
5522 static void *SwigwxLogChainTowxLog(void *ptr
) {
5525 src
= (wxLogChain
*) ptr
;
5526 dest
= (wxLog
*) src
;
5527 return (void *) dest
;
5530 #define new_wxLogChain(_swigarg0) (new wxLogChain(_swigarg0))
5531 static PyObject
*_wrap_new_wxLogChain(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5532 PyObject
* _resultobj
;
5533 wxLogChain
* _result
;
5535 PyObject
* _argo0
= 0;
5536 char *_kwnames
[] = { "logger", NULL
};
5540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxLogChain",_kwnames
,&_argo0
))
5543 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5544 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
5545 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxLogChain. Expected _wxLog_p.");
5550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5551 _result
= (wxLogChain
*)new_wxLogChain(_arg0
);
5553 wxPyEndAllowThreads(__tstate
);
5554 if (PyErr_Occurred()) return NULL
;
5556 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogChain_p");
5557 _resultobj
= Py_BuildValue("s",_ptemp
);
5560 _resultobj
= Py_None
;
5565 #define wxLogChain_SetLog(_swigobj,_swigarg0) (_swigobj->SetLog(_swigarg0))
5566 static PyObject
*_wrap_wxLogChain_SetLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5567 PyObject
* _resultobj
;
5570 PyObject
* _argo0
= 0;
5571 PyObject
* _argo1
= 0;
5572 char *_kwnames
[] = { "self","logger", NULL
};
5575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxLogChain_SetLog",_kwnames
,&_argo0
,&_argo1
))
5578 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5579 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogChain_p")) {
5580 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogChain_SetLog. Expected _wxLogChain_p.");
5585 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5586 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxLog_p")) {
5587 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxLogChain_SetLog. Expected _wxLog_p.");
5592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5593 wxLogChain_SetLog(_arg0
,_arg1
);
5595 wxPyEndAllowThreads(__tstate
);
5596 if (PyErr_Occurred()) return NULL
;
5597 } Py_INCREF(Py_None
);
5598 _resultobj
= Py_None
;
5602 #define wxLogChain_PassMessages(_swigobj,_swigarg0) (_swigobj->PassMessages(_swigarg0))
5603 static PyObject
*_wrap_wxLogChain_PassMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5604 PyObject
* _resultobj
;
5607 PyObject
* _argo0
= 0;
5609 char *_kwnames
[] = { "self","bDoPass", NULL
};
5612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxLogChain_PassMessages",_kwnames
,&_argo0
,&tempbool1
))
5615 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5616 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogChain_p")) {
5617 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogChain_PassMessages. Expected _wxLogChain_p.");
5621 _arg1
= (bool ) tempbool1
;
5623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5624 wxLogChain_PassMessages(_arg0
,_arg1
);
5626 wxPyEndAllowThreads(__tstate
);
5627 if (PyErr_Occurred()) return NULL
;
5628 } Py_INCREF(Py_None
);
5629 _resultobj
= Py_None
;
5633 #define wxLogChain_IsPassingMessages(_swigobj) (_swigobj->IsPassingMessages())
5634 static PyObject
*_wrap_wxLogChain_IsPassingMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5635 PyObject
* _resultobj
;
5638 PyObject
* _argo0
= 0;
5639 char *_kwnames
[] = { "self", NULL
};
5642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogChain_IsPassingMessages",_kwnames
,&_argo0
))
5645 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5646 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogChain_p")) {
5647 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogChain_IsPassingMessages. Expected _wxLogChain_p.");
5652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5653 _result
= (bool )wxLogChain_IsPassingMessages(_arg0
);
5655 wxPyEndAllowThreads(__tstate
);
5656 if (PyErr_Occurred()) return NULL
;
5657 } _resultobj
= Py_BuildValue("i",_result
);
5661 #define wxLogChain_GetOldLog(_swigobj) (_swigobj->GetOldLog())
5662 static PyObject
*_wrap_wxLogChain_GetOldLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5663 PyObject
* _resultobj
;
5666 PyObject
* _argo0
= 0;
5667 char *_kwnames
[] = { "self", NULL
};
5671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogChain_GetOldLog",_kwnames
,&_argo0
))
5674 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5675 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogChain_p")) {
5676 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogChain_GetOldLog. Expected _wxLogChain_p.");
5681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5682 _result
= (wxLog
*)wxLogChain_GetOldLog(_arg0
);
5684 wxPyEndAllowThreads(__tstate
);
5685 if (PyErr_Occurred()) return NULL
;
5687 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
5688 _resultobj
= Py_BuildValue("s",_ptemp
);
5691 _resultobj
= Py_None
;
5696 static void *SwigwxPyLogTowxLog(void *ptr
) {
5699 src
= (wxPyLog
*) ptr
;
5700 dest
= (wxLog
*) src
;
5701 return (void *) dest
;
5704 #define new_wxPyLog() (new wxPyLog())
5705 static PyObject
*_wrap_new_wxPyLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5706 PyObject
* _resultobj
;
5708 char *_kwnames
[] = { NULL
};
5712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPyLog",_kwnames
))
5715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5716 _result
= (wxPyLog
*)new_wxPyLog();
5718 wxPyEndAllowThreads(__tstate
);
5719 if (PyErr_Occurred()) return NULL
;
5721 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyLog_p");
5722 _resultobj
= Py_BuildValue("s",_ptemp
);
5725 _resultobj
= Py_None
;
5730 #define wxPyLog__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
5731 static PyObject
*_wrap_wxPyLog__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5732 PyObject
* _resultobj
;
5736 PyObject
* _argo0
= 0;
5737 PyObject
* _obj1
= 0;
5738 PyObject
* _obj2
= 0;
5739 char *_kwnames
[] = { "self","self","_class", NULL
};
5742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyLog__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
5745 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5746 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLog_p")) {
5747 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLog__setCallbackInfo. Expected _wxPyLog_p.");
5758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5759 wxPyLog__setCallbackInfo(_arg0
,_arg1
,_arg2
);
5761 wxPyEndAllowThreads(__tstate
);
5762 if (PyErr_Occurred()) return NULL
;
5763 } Py_INCREF(Py_None
);
5764 _resultobj
= Py_None
;
5768 static void wxPyLog_Destroy(wxPyLog
*self
) { delete self
; }
5769 static PyObject
*_wrap_wxPyLog_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5770 PyObject
* _resultobj
;
5772 PyObject
* _argo0
= 0;
5773 char *_kwnames
[] = { "self", NULL
};
5776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyLog_Destroy",_kwnames
,&_argo0
))
5779 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5780 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLog_p")) {
5781 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLog_Destroy. Expected _wxPyLog_p.");
5786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5787 wxPyLog_Destroy(_arg0
);
5789 wxPyEndAllowThreads(__tstate
);
5790 if (PyErr_Occurred()) return NULL
;
5791 } Py_INCREF(Py_None
);
5792 _resultobj
= Py_None
;
5796 static void *SwigwxProcessEventTowxEvent(void *ptr
) {
5797 wxProcessEvent
*src
;
5799 src
= (wxProcessEvent
*) ptr
;
5800 dest
= (wxEvent
*) src
;
5801 return (void *) dest
;
5804 static void *SwigwxProcessEventTowxObject(void *ptr
) {
5805 wxProcessEvent
*src
;
5807 src
= (wxProcessEvent
*) ptr
;
5808 dest
= (wxObject
*) src
;
5809 return (void *) dest
;
5812 #define new_wxProcessEvent(_swigarg0,_swigarg1,_swigarg2) (new wxProcessEvent(_swigarg0,_swigarg1,_swigarg2))
5813 static PyObject
*_wrap_new_wxProcessEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5814 PyObject
* _resultobj
;
5815 wxProcessEvent
* _result
;
5816 int _arg0
= (int ) 0;
5817 int _arg1
= (int ) 0;
5818 int _arg2
= (int ) 0;
5819 char *_kwnames
[] = { "id","pid","exitcode", NULL
};
5823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iii:new_wxProcessEvent",_kwnames
,&_arg0
,&_arg1
,&_arg2
))
5826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5827 _result
= (wxProcessEvent
*)new_wxProcessEvent(_arg0
,_arg1
,_arg2
);
5829 wxPyEndAllowThreads(__tstate
);
5830 if (PyErr_Occurred()) return NULL
;
5832 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxProcessEvent_p");
5833 _resultobj
= Py_BuildValue("s",_ptemp
);
5836 _resultobj
= Py_None
;
5841 #define wxProcessEvent_GetPid(_swigobj) (_swigobj->GetPid())
5842 static PyObject
*_wrap_wxProcessEvent_GetPid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5843 PyObject
* _resultobj
;
5845 wxProcessEvent
* _arg0
;
5846 PyObject
* _argo0
= 0;
5847 char *_kwnames
[] = { "self", NULL
};
5850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcessEvent_GetPid",_kwnames
,&_argo0
))
5853 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5854 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
5855 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_GetPid. Expected _wxProcessEvent_p.");
5860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5861 _result
= (int )wxProcessEvent_GetPid(_arg0
);
5863 wxPyEndAllowThreads(__tstate
);
5864 if (PyErr_Occurred()) return NULL
;
5865 } _resultobj
= Py_BuildValue("i",_result
);
5869 #define wxProcessEvent_GetExitCode(_swigobj) (_swigobj->GetExitCode())
5870 static PyObject
*_wrap_wxProcessEvent_GetExitCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5871 PyObject
* _resultobj
;
5873 wxProcessEvent
* _arg0
;
5874 PyObject
* _argo0
= 0;
5875 char *_kwnames
[] = { "self", NULL
};
5878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcessEvent_GetExitCode",_kwnames
,&_argo0
))
5881 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5882 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
5883 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_GetExitCode. Expected _wxProcessEvent_p.");
5888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5889 _result
= (int )wxProcessEvent_GetExitCode(_arg0
);
5891 wxPyEndAllowThreads(__tstate
);
5892 if (PyErr_Occurred()) return NULL
;
5893 } _resultobj
= Py_BuildValue("i",_result
);
5897 #define wxProcessEvent_m_pid_set(_swigobj,_swigval) (_swigobj->m_pid = _swigval,_swigval)
5898 static PyObject
*_wrap_wxProcessEvent_m_pid_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5899 PyObject
* _resultobj
;
5901 wxProcessEvent
* _arg0
;
5903 PyObject
* _argo0
= 0;
5904 char *_kwnames
[] = { "self","m_pid", NULL
};
5907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxProcessEvent_m_pid_set",_kwnames
,&_argo0
,&_arg1
))
5910 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5911 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
5912 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_m_pid_set. Expected _wxProcessEvent_p.");
5917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5918 _result
= (int )wxProcessEvent_m_pid_set(_arg0
,_arg1
);
5920 wxPyEndAllowThreads(__tstate
);
5921 if (PyErr_Occurred()) return NULL
;
5922 } _resultobj
= Py_BuildValue("i",_result
);
5926 #define wxProcessEvent_m_pid_get(_swigobj) ((int ) _swigobj->m_pid)
5927 static PyObject
*_wrap_wxProcessEvent_m_pid_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5928 PyObject
* _resultobj
;
5930 wxProcessEvent
* _arg0
;
5931 PyObject
* _argo0
= 0;
5932 char *_kwnames
[] = { "self", NULL
};
5935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcessEvent_m_pid_get",_kwnames
,&_argo0
))
5938 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5939 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
5940 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_m_pid_get. Expected _wxProcessEvent_p.");
5945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5946 _result
= (int )wxProcessEvent_m_pid_get(_arg0
);
5948 wxPyEndAllowThreads(__tstate
);
5949 if (PyErr_Occurred()) return NULL
;
5950 } _resultobj
= Py_BuildValue("i",_result
);
5954 #define wxProcessEvent_m_exitcode_set(_swigobj,_swigval) (_swigobj->m_exitcode = _swigval,_swigval)
5955 static PyObject
*_wrap_wxProcessEvent_m_exitcode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5956 PyObject
* _resultobj
;
5958 wxProcessEvent
* _arg0
;
5960 PyObject
* _argo0
= 0;
5961 char *_kwnames
[] = { "self","m_exitcode", NULL
};
5964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxProcessEvent_m_exitcode_set",_kwnames
,&_argo0
,&_arg1
))
5967 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5968 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
5969 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_m_exitcode_set. Expected _wxProcessEvent_p.");
5974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5975 _result
= (int )wxProcessEvent_m_exitcode_set(_arg0
,_arg1
);
5977 wxPyEndAllowThreads(__tstate
);
5978 if (PyErr_Occurred()) return NULL
;
5979 } _resultobj
= Py_BuildValue("i",_result
);
5983 #define wxProcessEvent_m_exitcode_get(_swigobj) ((int ) _swigobj->m_exitcode)
5984 static PyObject
*_wrap_wxProcessEvent_m_exitcode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5985 PyObject
* _resultobj
;
5987 wxProcessEvent
* _arg0
;
5988 PyObject
* _argo0
= 0;
5989 char *_kwnames
[] = { "self", NULL
};
5992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcessEvent_m_exitcode_get",_kwnames
,&_argo0
))
5995 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5996 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
5997 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_m_exitcode_get. Expected _wxProcessEvent_p.");
6002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6003 _result
= (int )wxProcessEvent_m_exitcode_get(_arg0
);
6005 wxPyEndAllowThreads(__tstate
);
6006 if (PyErr_Occurred()) return NULL
;
6007 } _resultobj
= Py_BuildValue("i",_result
);
6011 static void *SwigwxPyProcessTowxEvtHandler(void *ptr
) {
6014 src
= (wxPyProcess
*) ptr
;
6015 dest
= (wxEvtHandler
*) src
;
6016 return (void *) dest
;
6019 static void *SwigwxPyProcessTowxObject(void *ptr
) {
6022 src
= (wxPyProcess
*) ptr
;
6023 dest
= (wxObject
*) src
;
6024 return (void *) dest
;
6027 #define new_wxProcess(_swigarg0,_swigarg1) (new wxPyProcess(_swigarg0,_swigarg1))
6028 static PyObject
*_wrap_new_wxProcess(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6029 PyObject
* _resultobj
;
6030 wxPyProcess
* _result
;
6031 wxEvtHandler
* _arg0
= (wxEvtHandler
*) NULL
;
6032 int _arg1
= (int ) -1;
6033 PyObject
* _argo0
= 0;
6034 char *_kwnames
[] = { "parent","id", NULL
};
6038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|Oi:new_wxProcess",_kwnames
,&_argo0
,&_arg1
))
6041 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6042 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
6043 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxProcess. Expected _wxEvtHandler_p.");
6048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6049 _result
= (wxPyProcess
*)new_wxProcess(_arg0
,_arg1
);
6051 wxPyEndAllowThreads(__tstate
);
6052 if (PyErr_Occurred()) return NULL
;
6054 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyProcess_p");
6055 _resultobj
= Py_BuildValue("s",_ptemp
);
6058 _resultobj
= Py_None
;
6063 static void wxPyProcess_Destroy(wxPyProcess
*self
) { delete self
; }
6064 static PyObject
*_wrap_wxProcess_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6065 PyObject
* _resultobj
;
6066 wxPyProcess
* _arg0
;
6067 PyObject
* _argo0
= 0;
6068 char *_kwnames
[] = { "self", NULL
};
6071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_Destroy",_kwnames
,&_argo0
))
6074 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6075 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6076 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_Destroy. Expected _wxPyProcess_p.");
6081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6082 wxPyProcess_Destroy(_arg0
);
6084 wxPyEndAllowThreads(__tstate
);
6085 if (PyErr_Occurred()) return NULL
;
6086 } Py_INCREF(Py_None
);
6087 _resultobj
= Py_None
;
6091 #define wxProcess__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
6092 static PyObject
*_wrap_wxProcess__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6093 PyObject
* _resultobj
;
6094 wxPyProcess
* _arg0
;
6097 PyObject
* _argo0
= 0;
6098 PyObject
* _obj1
= 0;
6099 PyObject
* _obj2
= 0;
6100 char *_kwnames
[] = { "self","self","_class", NULL
};
6103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxProcess__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
6106 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6107 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6108 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess__setCallbackInfo. Expected _wxPyProcess_p.");
6119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6120 wxProcess__setCallbackInfo(_arg0
,_arg1
,_arg2
);
6122 wxPyEndAllowThreads(__tstate
);
6123 if (PyErr_Occurred()) return NULL
;
6124 } Py_INCREF(Py_None
);
6125 _resultobj
= Py_None
;
6129 #define wxProcess_base_OnTerminate(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnTerminate(_swigarg0,_swigarg1))
6130 static PyObject
*_wrap_wxProcess_base_OnTerminate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6131 PyObject
* _resultobj
;
6132 wxPyProcess
* _arg0
;
6135 PyObject
* _argo0
= 0;
6136 char *_kwnames
[] = { "self","pid","status", NULL
};
6139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxProcess_base_OnTerminate",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6142 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6143 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6144 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_base_OnTerminate. Expected _wxPyProcess_p.");
6149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6150 wxProcess_base_OnTerminate(_arg0
,_arg1
,_arg2
);
6152 wxPyEndAllowThreads(__tstate
);
6153 if (PyErr_Occurred()) return NULL
;
6154 } Py_INCREF(Py_None
);
6155 _resultobj
= Py_None
;
6159 #define wxProcess_Redirect(_swigobj) (_swigobj->Redirect())
6160 static PyObject
*_wrap_wxProcess_Redirect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6161 PyObject
* _resultobj
;
6162 wxPyProcess
* _arg0
;
6163 PyObject
* _argo0
= 0;
6164 char *_kwnames
[] = { "self", NULL
};
6167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_Redirect",_kwnames
,&_argo0
))
6170 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6171 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6172 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_Redirect. Expected _wxPyProcess_p.");
6177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6178 wxProcess_Redirect(_arg0
);
6180 wxPyEndAllowThreads(__tstate
);
6181 if (PyErr_Occurred()) return NULL
;
6182 } Py_INCREF(Py_None
);
6183 _resultobj
= Py_None
;
6187 #define wxProcess_IsRedirected(_swigobj) (_swigobj->IsRedirected())
6188 static PyObject
*_wrap_wxProcess_IsRedirected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6189 PyObject
* _resultobj
;
6191 wxPyProcess
* _arg0
;
6192 PyObject
* _argo0
= 0;
6193 char *_kwnames
[] = { "self", NULL
};
6196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_IsRedirected",_kwnames
,&_argo0
))
6199 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6200 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6201 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_IsRedirected. Expected _wxPyProcess_p.");
6206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6207 _result
= (bool )wxProcess_IsRedirected(_arg0
);
6209 wxPyEndAllowThreads(__tstate
);
6210 if (PyErr_Occurred()) return NULL
;
6211 } _resultobj
= Py_BuildValue("i",_result
);
6215 #define wxProcess_Detach(_swigobj) (_swigobj->Detach())
6216 static PyObject
*_wrap_wxProcess_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6217 PyObject
* _resultobj
;
6218 wxPyProcess
* _arg0
;
6219 PyObject
* _argo0
= 0;
6220 char *_kwnames
[] = { "self", NULL
};
6223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_Detach",_kwnames
,&_argo0
))
6226 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6227 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6228 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_Detach. Expected _wxPyProcess_p.");
6233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6234 wxProcess_Detach(_arg0
);
6236 wxPyEndAllowThreads(__tstate
);
6237 if (PyErr_Occurred()) return NULL
;
6238 } Py_INCREF(Py_None
);
6239 _resultobj
= Py_None
;
6243 #define wxProcess_GetInputStream(_swigobj) (_swigobj->GetInputStream())
6244 static PyObject
*_wrap_wxProcess_GetInputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6245 PyObject
* _resultobj
;
6246 wxInputStream
* _result
;
6247 wxPyProcess
* _arg0
;
6248 PyObject
* _argo0
= 0;
6249 char *_kwnames
[] = { "self", NULL
};
6252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_GetInputStream",_kwnames
,&_argo0
))
6255 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6256 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6257 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_GetInputStream. Expected _wxPyProcess_p.");
6262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6263 _result
= (wxInputStream
*)wxProcess_GetInputStream(_arg0
);
6265 wxPyEndAllowThreads(__tstate
);
6266 if (PyErr_Occurred()) return NULL
;
6268 wxPyInputStream
* _ptr
= NULL
;
6271 _ptr
= new wxPyInputStream(_result
);
6273 _resultobj
= wxPyConstructObject(_ptr
, "wxInputStream", TRUE
);
6278 #define wxProcess_GetErrorStream(_swigobj) (_swigobj->GetErrorStream())
6279 static PyObject
*_wrap_wxProcess_GetErrorStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6280 PyObject
* _resultobj
;
6281 wxInputStream
* _result
;
6282 wxPyProcess
* _arg0
;
6283 PyObject
* _argo0
= 0;
6284 char *_kwnames
[] = { "self", NULL
};
6287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_GetErrorStream",_kwnames
,&_argo0
))
6290 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6291 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6292 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_GetErrorStream. Expected _wxPyProcess_p.");
6297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6298 _result
= (wxInputStream
*)wxProcess_GetErrorStream(_arg0
);
6300 wxPyEndAllowThreads(__tstate
);
6301 if (PyErr_Occurred()) return NULL
;
6303 wxPyInputStream
* _ptr
= NULL
;
6306 _ptr
= new wxPyInputStream(_result
);
6308 _resultobj
= wxPyConstructObject(_ptr
, "wxInputStream", TRUE
);
6313 #define wxProcess_GetOutputStream(_swigobj) (_swigobj->GetOutputStream())
6314 static PyObject
*_wrap_wxProcess_GetOutputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6315 PyObject
* _resultobj
;
6316 wxOutputStream
* _result
;
6317 wxPyProcess
* _arg0
;
6318 PyObject
* _argo0
= 0;
6319 char *_kwnames
[] = { "self", NULL
};
6323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_GetOutputStream",_kwnames
,&_argo0
))
6326 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6327 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6328 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_GetOutputStream. Expected _wxPyProcess_p.");
6333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6334 _result
= (wxOutputStream
*)wxProcess_GetOutputStream(_arg0
);
6336 wxPyEndAllowThreads(__tstate
);
6337 if (PyErr_Occurred()) return NULL
;
6339 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxOutputStream_p");
6340 _resultobj
= Py_BuildValue("s",_ptemp
);
6343 _resultobj
= Py_None
;
6348 #define wxProcess_CloseOutput(_swigobj) (_swigobj->CloseOutput())
6349 static PyObject
*_wrap_wxProcess_CloseOutput(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6350 PyObject
* _resultobj
;
6351 wxPyProcess
* _arg0
;
6352 PyObject
* _argo0
= 0;
6353 char *_kwnames
[] = { "self", NULL
};
6356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_CloseOutput",_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_CloseOutput. Expected _wxPyProcess_p.");
6366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6367 wxProcess_CloseOutput(_arg0
);
6369 wxPyEndAllowThreads(__tstate
);
6370 if (PyErr_Occurred()) return NULL
;
6371 } Py_INCREF(Py_None
);
6372 _resultobj
= Py_None
;
6376 static void *SwigwxJoystickTowxObject(void *ptr
) {
6379 src
= (wxJoystick
*) ptr
;
6380 dest
= (wxObject
*) src
;
6381 return (void *) dest
;
6384 #define new_wxJoystick(_swigarg0) (new wxJoystick(_swigarg0))
6385 static PyObject
*_wrap_new_wxJoystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6386 PyObject
* _resultobj
;
6387 wxJoystick
* _result
;
6388 int _arg0
= (int ) wxJOYSTICK1
;
6389 char *_kwnames
[] = { "joystick", NULL
};
6393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxJoystick",_kwnames
,&_arg0
))
6396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6397 _result
= (wxJoystick
*)new_wxJoystick(_arg0
);
6399 wxPyEndAllowThreads(__tstate
);
6400 if (PyErr_Occurred()) return NULL
;
6402 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxJoystick_p");
6403 _resultobj
= Py_BuildValue("s",_ptemp
);
6406 _resultobj
= Py_None
;
6411 #define delete_wxJoystick(_swigobj) (delete _swigobj)
6412 static PyObject
*_wrap_delete_wxJoystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6413 PyObject
* _resultobj
;
6415 PyObject
* _argo0
= 0;
6416 char *_kwnames
[] = { "self", NULL
};
6419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxJoystick",_kwnames
,&_argo0
))
6422 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6423 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6424 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxJoystick. Expected _wxJoystick_p.");
6429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6430 delete_wxJoystick(_arg0
);
6432 wxPyEndAllowThreads(__tstate
);
6433 if (PyErr_Occurred()) return NULL
;
6434 } Py_INCREF(Py_None
);
6435 _resultobj
= Py_None
;
6439 #define wxJoystick_GetPosition(_swigobj) (_swigobj->GetPosition())
6440 static PyObject
*_wrap_wxJoystick_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6441 PyObject
* _resultobj
;
6444 PyObject
* _argo0
= 0;
6445 char *_kwnames
[] = { "self", NULL
};
6449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPosition",_kwnames
,&_argo0
))
6452 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6453 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6454 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPosition. Expected _wxJoystick_p.");
6459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6460 _result
= new wxPoint (wxJoystick_GetPosition(_arg0
));
6462 wxPyEndAllowThreads(__tstate
);
6463 if (PyErr_Occurred()) return NULL
;
6464 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
6465 _resultobj
= Py_BuildValue("s",_ptemp
);
6469 #define wxJoystick_GetZPosition(_swigobj) (_swigobj->GetZPosition())
6470 static PyObject
*_wrap_wxJoystick_GetZPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6471 PyObject
* _resultobj
;
6474 PyObject
* _argo0
= 0;
6475 char *_kwnames
[] = { "self", NULL
};
6478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetZPosition",_kwnames
,&_argo0
))
6481 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6482 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6483 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetZPosition. Expected _wxJoystick_p.");
6488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6489 _result
= (int )wxJoystick_GetZPosition(_arg0
);
6491 wxPyEndAllowThreads(__tstate
);
6492 if (PyErr_Occurred()) return NULL
;
6493 } _resultobj
= Py_BuildValue("i",_result
);
6497 #define wxJoystick_GetButtonState(_swigobj) (_swigobj->GetButtonState())
6498 static PyObject
*_wrap_wxJoystick_GetButtonState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6499 PyObject
* _resultobj
;
6502 PyObject
* _argo0
= 0;
6503 char *_kwnames
[] = { "self", NULL
};
6506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetButtonState",_kwnames
,&_argo0
))
6509 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6510 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6511 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetButtonState. Expected _wxJoystick_p.");
6516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6517 _result
= (int )wxJoystick_GetButtonState(_arg0
);
6519 wxPyEndAllowThreads(__tstate
);
6520 if (PyErr_Occurred()) return NULL
;
6521 } _resultobj
= Py_BuildValue("i",_result
);
6525 #define wxJoystick_GetPOVPosition(_swigobj) (_swigobj->GetPOVPosition())
6526 static PyObject
*_wrap_wxJoystick_GetPOVPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6527 PyObject
* _resultobj
;
6530 PyObject
* _argo0
= 0;
6531 char *_kwnames
[] = { "self", NULL
};
6534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPOVPosition",_kwnames
,&_argo0
))
6537 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6538 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6539 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPOVPosition. Expected _wxJoystick_p.");
6544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6545 _result
= (int )wxJoystick_GetPOVPosition(_arg0
);
6547 wxPyEndAllowThreads(__tstate
);
6548 if (PyErr_Occurred()) return NULL
;
6549 } _resultobj
= Py_BuildValue("i",_result
);
6553 #define wxJoystick_GetPOVCTSPosition(_swigobj) (_swigobj->GetPOVCTSPosition())
6554 static PyObject
*_wrap_wxJoystick_GetPOVCTSPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6555 PyObject
* _resultobj
;
6558 PyObject
* _argo0
= 0;
6559 char *_kwnames
[] = { "self", NULL
};
6562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPOVCTSPosition",_kwnames
,&_argo0
))
6565 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6566 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6567 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPOVCTSPosition. Expected _wxJoystick_p.");
6572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6573 _result
= (int )wxJoystick_GetPOVCTSPosition(_arg0
);
6575 wxPyEndAllowThreads(__tstate
);
6576 if (PyErr_Occurred()) return NULL
;
6577 } _resultobj
= Py_BuildValue("i",_result
);
6581 #define wxJoystick_GetRudderPosition(_swigobj) (_swigobj->GetRudderPosition())
6582 static PyObject
*_wrap_wxJoystick_GetRudderPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6583 PyObject
* _resultobj
;
6586 PyObject
* _argo0
= 0;
6587 char *_kwnames
[] = { "self", NULL
};
6590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetRudderPosition",_kwnames
,&_argo0
))
6593 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6594 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6595 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetRudderPosition. Expected _wxJoystick_p.");
6600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6601 _result
= (int )wxJoystick_GetRudderPosition(_arg0
);
6603 wxPyEndAllowThreads(__tstate
);
6604 if (PyErr_Occurred()) return NULL
;
6605 } _resultobj
= Py_BuildValue("i",_result
);
6609 #define wxJoystick_GetUPosition(_swigobj) (_swigobj->GetUPosition())
6610 static PyObject
*_wrap_wxJoystick_GetUPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6611 PyObject
* _resultobj
;
6614 PyObject
* _argo0
= 0;
6615 char *_kwnames
[] = { "self", NULL
};
6618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetUPosition",_kwnames
,&_argo0
))
6621 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6622 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6623 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetUPosition. Expected _wxJoystick_p.");
6628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6629 _result
= (int )wxJoystick_GetUPosition(_arg0
);
6631 wxPyEndAllowThreads(__tstate
);
6632 if (PyErr_Occurred()) return NULL
;
6633 } _resultobj
= Py_BuildValue("i",_result
);
6637 #define wxJoystick_GetVPosition(_swigobj) (_swigobj->GetVPosition())
6638 static PyObject
*_wrap_wxJoystick_GetVPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6639 PyObject
* _resultobj
;
6642 PyObject
* _argo0
= 0;
6643 char *_kwnames
[] = { "self", NULL
};
6646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetVPosition",_kwnames
,&_argo0
))
6649 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6650 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6651 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetVPosition. Expected _wxJoystick_p.");
6656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6657 _result
= (int )wxJoystick_GetVPosition(_arg0
);
6659 wxPyEndAllowThreads(__tstate
);
6660 if (PyErr_Occurred()) return NULL
;
6661 } _resultobj
= Py_BuildValue("i",_result
);
6665 #define wxJoystick_GetMovementThreshold(_swigobj) (_swigobj->GetMovementThreshold())
6666 static PyObject
*_wrap_wxJoystick_GetMovementThreshold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6667 PyObject
* _resultobj
;
6670 PyObject
* _argo0
= 0;
6671 char *_kwnames
[] = { "self", NULL
};
6674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetMovementThreshold",_kwnames
,&_argo0
))
6677 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6678 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6679 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetMovementThreshold. Expected _wxJoystick_p.");
6684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6685 _result
= (int )wxJoystick_GetMovementThreshold(_arg0
);
6687 wxPyEndAllowThreads(__tstate
);
6688 if (PyErr_Occurred()) return NULL
;
6689 } _resultobj
= Py_BuildValue("i",_result
);
6693 #define wxJoystick_SetMovementThreshold(_swigobj,_swigarg0) (_swigobj->SetMovementThreshold(_swigarg0))
6694 static PyObject
*_wrap_wxJoystick_SetMovementThreshold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6695 PyObject
* _resultobj
;
6698 PyObject
* _argo0
= 0;
6699 char *_kwnames
[] = { "self","threshold", NULL
};
6702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxJoystick_SetMovementThreshold",_kwnames
,&_argo0
,&_arg1
))
6705 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6706 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6707 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_SetMovementThreshold. Expected _wxJoystick_p.");
6712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6713 wxJoystick_SetMovementThreshold(_arg0
,_arg1
);
6715 wxPyEndAllowThreads(__tstate
);
6716 if (PyErr_Occurred()) return NULL
;
6717 } Py_INCREF(Py_None
);
6718 _resultobj
= Py_None
;
6722 #define wxJoystick_IsOk(_swigobj) (_swigobj->IsOk())
6723 static PyObject
*_wrap_wxJoystick_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6724 PyObject
* _resultobj
;
6727 PyObject
* _argo0
= 0;
6728 char *_kwnames
[] = { "self", NULL
};
6731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_IsOk",_kwnames
,&_argo0
))
6734 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6735 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6736 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_IsOk. Expected _wxJoystick_p.");
6741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6742 _result
= (bool )wxJoystick_IsOk(_arg0
);
6744 wxPyEndAllowThreads(__tstate
);
6745 if (PyErr_Occurred()) return NULL
;
6746 } _resultobj
= Py_BuildValue("i",_result
);
6750 #define wxJoystick_GetNumberJoysticks(_swigobj) (_swigobj->GetNumberJoysticks())
6751 static PyObject
*_wrap_wxJoystick_GetNumberJoysticks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6752 PyObject
* _resultobj
;
6755 PyObject
* _argo0
= 0;
6756 char *_kwnames
[] = { "self", NULL
};
6759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetNumberJoysticks",_kwnames
,&_argo0
))
6762 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6763 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6764 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetNumberJoysticks. Expected _wxJoystick_p.");
6769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6770 _result
= (int )wxJoystick_GetNumberJoysticks(_arg0
);
6772 wxPyEndAllowThreads(__tstate
);
6773 if (PyErr_Occurred()) return NULL
;
6774 } _resultobj
= Py_BuildValue("i",_result
);
6778 #define wxJoystick_GetManufacturerId(_swigobj) (_swigobj->GetManufacturerId())
6779 static PyObject
*_wrap_wxJoystick_GetManufacturerId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6780 PyObject
* _resultobj
;
6783 PyObject
* _argo0
= 0;
6784 char *_kwnames
[] = { "self", NULL
};
6787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetManufacturerId",_kwnames
,&_argo0
))
6790 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6791 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6792 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetManufacturerId. Expected _wxJoystick_p.");
6797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6798 _result
= (int )wxJoystick_GetManufacturerId(_arg0
);
6800 wxPyEndAllowThreads(__tstate
);
6801 if (PyErr_Occurred()) return NULL
;
6802 } _resultobj
= Py_BuildValue("i",_result
);
6806 #define wxJoystick_GetProductId(_swigobj) (_swigobj->GetProductId())
6807 static PyObject
*_wrap_wxJoystick_GetProductId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6808 PyObject
* _resultobj
;
6811 PyObject
* _argo0
= 0;
6812 char *_kwnames
[] = { "self", NULL
};
6815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetProductId",_kwnames
,&_argo0
))
6818 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6819 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6820 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetProductId. Expected _wxJoystick_p.");
6825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6826 _result
= (int )wxJoystick_GetProductId(_arg0
);
6828 wxPyEndAllowThreads(__tstate
);
6829 if (PyErr_Occurred()) return NULL
;
6830 } _resultobj
= Py_BuildValue("i",_result
);
6834 #define wxJoystick_GetProductName(_swigobj) (_swigobj->GetProductName())
6835 static PyObject
*_wrap_wxJoystick_GetProductName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6836 PyObject
* _resultobj
;
6839 PyObject
* _argo0
= 0;
6840 char *_kwnames
[] = { "self", NULL
};
6843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetProductName",_kwnames
,&_argo0
))
6846 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6847 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6848 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetProductName. Expected _wxJoystick_p.");
6853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6854 _result
= new wxString (wxJoystick_GetProductName(_arg0
));
6856 wxPyEndAllowThreads(__tstate
);
6857 if (PyErr_Occurred()) return NULL
;
6859 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
6867 #define wxJoystick_GetXMin(_swigobj) (_swigobj->GetXMin())
6868 static PyObject
*_wrap_wxJoystick_GetXMin(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_GetXMin",_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_GetXMin. Expected _wxJoystick_p.");
6886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6887 _result
= (int )wxJoystick_GetXMin(_arg0
);
6889 wxPyEndAllowThreads(__tstate
);
6890 if (PyErr_Occurred()) return NULL
;
6891 } _resultobj
= Py_BuildValue("i",_result
);
6895 #define wxJoystick_GetYMin(_swigobj) (_swigobj->GetYMin())
6896 static PyObject
*_wrap_wxJoystick_GetYMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6897 PyObject
* _resultobj
;
6900 PyObject
* _argo0
= 0;
6901 char *_kwnames
[] = { "self", NULL
};
6904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetYMin",_kwnames
,&_argo0
))
6907 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6908 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6909 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetYMin. Expected _wxJoystick_p.");
6914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6915 _result
= (int )wxJoystick_GetYMin(_arg0
);
6917 wxPyEndAllowThreads(__tstate
);
6918 if (PyErr_Occurred()) return NULL
;
6919 } _resultobj
= Py_BuildValue("i",_result
);
6923 #define wxJoystick_GetZMin(_swigobj) (_swigobj->GetZMin())
6924 static PyObject
*_wrap_wxJoystick_GetZMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6925 PyObject
* _resultobj
;
6928 PyObject
* _argo0
= 0;
6929 char *_kwnames
[] = { "self", NULL
};
6932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetZMin",_kwnames
,&_argo0
))
6935 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6936 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6937 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetZMin. Expected _wxJoystick_p.");
6942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6943 _result
= (int )wxJoystick_GetZMin(_arg0
);
6945 wxPyEndAllowThreads(__tstate
);
6946 if (PyErr_Occurred()) return NULL
;
6947 } _resultobj
= Py_BuildValue("i",_result
);
6951 #define wxJoystick_GetXMax(_swigobj) (_swigobj->GetXMax())
6952 static PyObject
*_wrap_wxJoystick_GetXMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6953 PyObject
* _resultobj
;
6956 PyObject
* _argo0
= 0;
6957 char *_kwnames
[] = { "self", NULL
};
6960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetXMax",_kwnames
,&_argo0
))
6963 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6964 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6965 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetXMax. Expected _wxJoystick_p.");
6970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6971 _result
= (int )wxJoystick_GetXMax(_arg0
);
6973 wxPyEndAllowThreads(__tstate
);
6974 if (PyErr_Occurred()) return NULL
;
6975 } _resultobj
= Py_BuildValue("i",_result
);
6979 #define wxJoystick_GetYMax(_swigobj) (_swigobj->GetYMax())
6980 static PyObject
*_wrap_wxJoystick_GetYMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6981 PyObject
* _resultobj
;
6984 PyObject
* _argo0
= 0;
6985 char *_kwnames
[] = { "self", NULL
};
6988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetYMax",_kwnames
,&_argo0
))
6991 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6992 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6993 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetYMax. Expected _wxJoystick_p.");
6998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6999 _result
= (int )wxJoystick_GetYMax(_arg0
);
7001 wxPyEndAllowThreads(__tstate
);
7002 if (PyErr_Occurred()) return NULL
;
7003 } _resultobj
= Py_BuildValue("i",_result
);
7007 #define wxJoystick_GetZMax(_swigobj) (_swigobj->GetZMax())
7008 static PyObject
*_wrap_wxJoystick_GetZMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7009 PyObject
* _resultobj
;
7012 PyObject
* _argo0
= 0;
7013 char *_kwnames
[] = { "self", NULL
};
7016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetZMax",_kwnames
,&_argo0
))
7019 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7020 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7021 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetZMax. Expected _wxJoystick_p.");
7026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7027 _result
= (int )wxJoystick_GetZMax(_arg0
);
7029 wxPyEndAllowThreads(__tstate
);
7030 if (PyErr_Occurred()) return NULL
;
7031 } _resultobj
= Py_BuildValue("i",_result
);
7035 #define wxJoystick_GetNumberButtons(_swigobj) (_swigobj->GetNumberButtons())
7036 static PyObject
*_wrap_wxJoystick_GetNumberButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7037 PyObject
* _resultobj
;
7040 PyObject
* _argo0
= 0;
7041 char *_kwnames
[] = { "self", NULL
};
7044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetNumberButtons",_kwnames
,&_argo0
))
7047 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7048 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7049 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetNumberButtons. Expected _wxJoystick_p.");
7054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7055 _result
= (int )wxJoystick_GetNumberButtons(_arg0
);
7057 wxPyEndAllowThreads(__tstate
);
7058 if (PyErr_Occurred()) return NULL
;
7059 } _resultobj
= Py_BuildValue("i",_result
);
7063 #define wxJoystick_GetNumberAxes(_swigobj) (_swigobj->GetNumberAxes())
7064 static PyObject
*_wrap_wxJoystick_GetNumberAxes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7065 PyObject
* _resultobj
;
7068 PyObject
* _argo0
= 0;
7069 char *_kwnames
[] = { "self", NULL
};
7072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetNumberAxes",_kwnames
,&_argo0
))
7075 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7076 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7077 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetNumberAxes. Expected _wxJoystick_p.");
7082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7083 _result
= (int )wxJoystick_GetNumberAxes(_arg0
);
7085 wxPyEndAllowThreads(__tstate
);
7086 if (PyErr_Occurred()) return NULL
;
7087 } _resultobj
= Py_BuildValue("i",_result
);
7091 #define wxJoystick_GetMaxButtons(_swigobj) (_swigobj->GetMaxButtons())
7092 static PyObject
*_wrap_wxJoystick_GetMaxButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7093 PyObject
* _resultobj
;
7096 PyObject
* _argo0
= 0;
7097 char *_kwnames
[] = { "self", NULL
};
7100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetMaxButtons",_kwnames
,&_argo0
))
7103 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7104 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7105 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetMaxButtons. Expected _wxJoystick_p.");
7110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7111 _result
= (int )wxJoystick_GetMaxButtons(_arg0
);
7113 wxPyEndAllowThreads(__tstate
);
7114 if (PyErr_Occurred()) return NULL
;
7115 } _resultobj
= Py_BuildValue("i",_result
);
7119 #define wxJoystick_GetMaxAxes(_swigobj) (_swigobj->GetMaxAxes())
7120 static PyObject
*_wrap_wxJoystick_GetMaxAxes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7121 PyObject
* _resultobj
;
7124 PyObject
* _argo0
= 0;
7125 char *_kwnames
[] = { "self", NULL
};
7128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetMaxAxes",_kwnames
,&_argo0
))
7131 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7132 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7133 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetMaxAxes. Expected _wxJoystick_p.");
7138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7139 _result
= (int )wxJoystick_GetMaxAxes(_arg0
);
7141 wxPyEndAllowThreads(__tstate
);
7142 if (PyErr_Occurred()) return NULL
;
7143 } _resultobj
= Py_BuildValue("i",_result
);
7147 #define wxJoystick_GetPollingMin(_swigobj) (_swigobj->GetPollingMin())
7148 static PyObject
*_wrap_wxJoystick_GetPollingMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7149 PyObject
* _resultobj
;
7152 PyObject
* _argo0
= 0;
7153 char *_kwnames
[] = { "self", NULL
};
7156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPollingMin",_kwnames
,&_argo0
))
7159 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7160 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7161 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPollingMin. Expected _wxJoystick_p.");
7166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7167 _result
= (int )wxJoystick_GetPollingMin(_arg0
);
7169 wxPyEndAllowThreads(__tstate
);
7170 if (PyErr_Occurred()) return NULL
;
7171 } _resultobj
= Py_BuildValue("i",_result
);
7175 #define wxJoystick_GetPollingMax(_swigobj) (_swigobj->GetPollingMax())
7176 static PyObject
*_wrap_wxJoystick_GetPollingMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7177 PyObject
* _resultobj
;
7180 PyObject
* _argo0
= 0;
7181 char *_kwnames
[] = { "self", NULL
};
7184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPollingMax",_kwnames
,&_argo0
))
7187 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7188 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7189 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPollingMax. Expected _wxJoystick_p.");
7194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7195 _result
= (int )wxJoystick_GetPollingMax(_arg0
);
7197 wxPyEndAllowThreads(__tstate
);
7198 if (PyErr_Occurred()) return NULL
;
7199 } _resultobj
= Py_BuildValue("i",_result
);
7203 #define wxJoystick_GetRudderMin(_swigobj) (_swigobj->GetRudderMin())
7204 static PyObject
*_wrap_wxJoystick_GetRudderMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7205 PyObject
* _resultobj
;
7208 PyObject
* _argo0
= 0;
7209 char *_kwnames
[] = { "self", NULL
};
7212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetRudderMin",_kwnames
,&_argo0
))
7215 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7216 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7217 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetRudderMin. Expected _wxJoystick_p.");
7222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7223 _result
= (int )wxJoystick_GetRudderMin(_arg0
);
7225 wxPyEndAllowThreads(__tstate
);
7226 if (PyErr_Occurred()) return NULL
;
7227 } _resultobj
= Py_BuildValue("i",_result
);
7231 #define wxJoystick_GetRudderMax(_swigobj) (_swigobj->GetRudderMax())
7232 static PyObject
*_wrap_wxJoystick_GetRudderMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7233 PyObject
* _resultobj
;
7236 PyObject
* _argo0
= 0;
7237 char *_kwnames
[] = { "self", NULL
};
7240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetRudderMax",_kwnames
,&_argo0
))
7243 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7244 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7245 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetRudderMax. Expected _wxJoystick_p.");
7250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7251 _result
= (int )wxJoystick_GetRudderMax(_arg0
);
7253 wxPyEndAllowThreads(__tstate
);
7254 if (PyErr_Occurred()) return NULL
;
7255 } _resultobj
= Py_BuildValue("i",_result
);
7259 #define wxJoystick_GetUMin(_swigobj) (_swigobj->GetUMin())
7260 static PyObject
*_wrap_wxJoystick_GetUMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7261 PyObject
* _resultobj
;
7264 PyObject
* _argo0
= 0;
7265 char *_kwnames
[] = { "self", NULL
};
7268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetUMin",_kwnames
,&_argo0
))
7271 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7272 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7273 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetUMin. Expected _wxJoystick_p.");
7278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7279 _result
= (int )wxJoystick_GetUMin(_arg0
);
7281 wxPyEndAllowThreads(__tstate
);
7282 if (PyErr_Occurred()) return NULL
;
7283 } _resultobj
= Py_BuildValue("i",_result
);
7287 #define wxJoystick_GetUMax(_swigobj) (_swigobj->GetUMax())
7288 static PyObject
*_wrap_wxJoystick_GetUMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7289 PyObject
* _resultobj
;
7292 PyObject
* _argo0
= 0;
7293 char *_kwnames
[] = { "self", NULL
};
7296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetUMax",_kwnames
,&_argo0
))
7299 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7300 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7301 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetUMax. Expected _wxJoystick_p.");
7306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7307 _result
= (int )wxJoystick_GetUMax(_arg0
);
7309 wxPyEndAllowThreads(__tstate
);
7310 if (PyErr_Occurred()) return NULL
;
7311 } _resultobj
= Py_BuildValue("i",_result
);
7315 #define wxJoystick_GetVMin(_swigobj) (_swigobj->GetVMin())
7316 static PyObject
*_wrap_wxJoystick_GetVMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7317 PyObject
* _resultobj
;
7320 PyObject
* _argo0
= 0;
7321 char *_kwnames
[] = { "self", NULL
};
7324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetVMin",_kwnames
,&_argo0
))
7327 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7328 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7329 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetVMin. Expected _wxJoystick_p.");
7334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7335 _result
= (int )wxJoystick_GetVMin(_arg0
);
7337 wxPyEndAllowThreads(__tstate
);
7338 if (PyErr_Occurred()) return NULL
;
7339 } _resultobj
= Py_BuildValue("i",_result
);
7343 #define wxJoystick_GetVMax(_swigobj) (_swigobj->GetVMax())
7344 static PyObject
*_wrap_wxJoystick_GetVMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7345 PyObject
* _resultobj
;
7348 PyObject
* _argo0
= 0;
7349 char *_kwnames
[] = { "self", NULL
};
7352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetVMax",_kwnames
,&_argo0
))
7355 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7356 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7357 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetVMax. Expected _wxJoystick_p.");
7362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7363 _result
= (int )wxJoystick_GetVMax(_arg0
);
7365 wxPyEndAllowThreads(__tstate
);
7366 if (PyErr_Occurred()) return NULL
;
7367 } _resultobj
= Py_BuildValue("i",_result
);
7371 #define wxJoystick_HasRudder(_swigobj) (_swigobj->HasRudder())
7372 static PyObject
*_wrap_wxJoystick_HasRudder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7373 PyObject
* _resultobj
;
7376 PyObject
* _argo0
= 0;
7377 char *_kwnames
[] = { "self", NULL
};
7380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasRudder",_kwnames
,&_argo0
))
7383 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7384 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7385 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasRudder. Expected _wxJoystick_p.");
7390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7391 _result
= (bool )wxJoystick_HasRudder(_arg0
);
7393 wxPyEndAllowThreads(__tstate
);
7394 if (PyErr_Occurred()) return NULL
;
7395 } _resultobj
= Py_BuildValue("i",_result
);
7399 #define wxJoystick_HasZ(_swigobj) (_swigobj->HasZ())
7400 static PyObject
*_wrap_wxJoystick_HasZ(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7401 PyObject
* _resultobj
;
7404 PyObject
* _argo0
= 0;
7405 char *_kwnames
[] = { "self", NULL
};
7408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasZ",_kwnames
,&_argo0
))
7411 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7412 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7413 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasZ. Expected _wxJoystick_p.");
7418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7419 _result
= (bool )wxJoystick_HasZ(_arg0
);
7421 wxPyEndAllowThreads(__tstate
);
7422 if (PyErr_Occurred()) return NULL
;
7423 } _resultobj
= Py_BuildValue("i",_result
);
7427 #define wxJoystick_HasU(_swigobj) (_swigobj->HasU())
7428 static PyObject
*_wrap_wxJoystick_HasU(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7429 PyObject
* _resultobj
;
7432 PyObject
* _argo0
= 0;
7433 char *_kwnames
[] = { "self", NULL
};
7436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasU",_kwnames
,&_argo0
))
7439 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7440 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7441 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasU. Expected _wxJoystick_p.");
7446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7447 _result
= (bool )wxJoystick_HasU(_arg0
);
7449 wxPyEndAllowThreads(__tstate
);
7450 if (PyErr_Occurred()) return NULL
;
7451 } _resultobj
= Py_BuildValue("i",_result
);
7455 #define wxJoystick_HasV(_swigobj) (_swigobj->HasV())
7456 static PyObject
*_wrap_wxJoystick_HasV(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7457 PyObject
* _resultobj
;
7460 PyObject
* _argo0
= 0;
7461 char *_kwnames
[] = { "self", NULL
};
7464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasV",_kwnames
,&_argo0
))
7467 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7468 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7469 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasV. Expected _wxJoystick_p.");
7474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7475 _result
= (bool )wxJoystick_HasV(_arg0
);
7477 wxPyEndAllowThreads(__tstate
);
7478 if (PyErr_Occurred()) return NULL
;
7479 } _resultobj
= Py_BuildValue("i",_result
);
7483 #define wxJoystick_HasPOV(_swigobj) (_swigobj->HasPOV())
7484 static PyObject
*_wrap_wxJoystick_HasPOV(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7485 PyObject
* _resultobj
;
7488 PyObject
* _argo0
= 0;
7489 char *_kwnames
[] = { "self", NULL
};
7492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasPOV",_kwnames
,&_argo0
))
7495 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7496 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7497 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasPOV. Expected _wxJoystick_p.");
7502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7503 _result
= (bool )wxJoystick_HasPOV(_arg0
);
7505 wxPyEndAllowThreads(__tstate
);
7506 if (PyErr_Occurred()) return NULL
;
7507 } _resultobj
= Py_BuildValue("i",_result
);
7511 #define wxJoystick_HasPOV4Dir(_swigobj) (_swigobj->HasPOV4Dir())
7512 static PyObject
*_wrap_wxJoystick_HasPOV4Dir(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7513 PyObject
* _resultobj
;
7516 PyObject
* _argo0
= 0;
7517 char *_kwnames
[] = { "self", NULL
};
7520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasPOV4Dir",_kwnames
,&_argo0
))
7523 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7524 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7525 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasPOV4Dir. Expected _wxJoystick_p.");
7530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7531 _result
= (bool )wxJoystick_HasPOV4Dir(_arg0
);
7533 wxPyEndAllowThreads(__tstate
);
7534 if (PyErr_Occurred()) return NULL
;
7535 } _resultobj
= Py_BuildValue("i",_result
);
7539 #define wxJoystick_HasPOVCTS(_swigobj) (_swigobj->HasPOVCTS())
7540 static PyObject
*_wrap_wxJoystick_HasPOVCTS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7541 PyObject
* _resultobj
;
7544 PyObject
* _argo0
= 0;
7545 char *_kwnames
[] = { "self", NULL
};
7548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasPOVCTS",_kwnames
,&_argo0
))
7551 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7552 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7553 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasPOVCTS. Expected _wxJoystick_p.");
7558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7559 _result
= (bool )wxJoystick_HasPOVCTS(_arg0
);
7561 wxPyEndAllowThreads(__tstate
);
7562 if (PyErr_Occurred()) return NULL
;
7563 } _resultobj
= Py_BuildValue("i",_result
);
7567 #define wxJoystick_SetCapture(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetCapture(_swigarg0,_swigarg1))
7568 static PyObject
*_wrap_wxJoystick_SetCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7569 PyObject
* _resultobj
;
7573 int _arg2
= (int ) 0;
7574 PyObject
* _argo0
= 0;
7575 PyObject
* _argo1
= 0;
7576 char *_kwnames
[] = { "self","win","pollingFreq", NULL
};
7579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxJoystick_SetCapture",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
7582 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7583 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7584 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_SetCapture. Expected _wxJoystick_p.");
7589 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7590 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
7591 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxJoystick_SetCapture. Expected _wxWindow_p.");
7596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7597 _result
= (bool )wxJoystick_SetCapture(_arg0
,_arg1
,_arg2
);
7599 wxPyEndAllowThreads(__tstate
);
7600 if (PyErr_Occurred()) return NULL
;
7601 } _resultobj
= Py_BuildValue("i",_result
);
7605 #define wxJoystick_ReleaseCapture(_swigobj) (_swigobj->ReleaseCapture())
7606 static PyObject
*_wrap_wxJoystick_ReleaseCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7607 PyObject
* _resultobj
;
7610 PyObject
* _argo0
= 0;
7611 char *_kwnames
[] = { "self", NULL
};
7614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_ReleaseCapture",_kwnames
,&_argo0
))
7617 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7618 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7619 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_ReleaseCapture. Expected _wxJoystick_p.");
7624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7625 _result
= (bool )wxJoystick_ReleaseCapture(_arg0
);
7627 wxPyEndAllowThreads(__tstate
);
7628 if (PyErr_Occurred()) return NULL
;
7629 } _resultobj
= Py_BuildValue("i",_result
);
7633 static void *SwigwxWaveTowxObject(void *ptr
) {
7636 src
= (wxWave
*) ptr
;
7637 dest
= (wxObject
*) src
;
7638 return (void *) dest
;
7641 #define new_wxWave(_swigarg0,_swigarg1) (new wxWave(_swigarg0,_swigarg1))
7642 static PyObject
*_wrap_new_wxWave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7643 PyObject
* _resultobj
;
7646 bool _arg1
= (bool ) FALSE
;
7647 PyObject
* _obj0
= 0;
7648 int tempbool1
= (int) FALSE
;
7649 char *_kwnames
[] = { "fileName","isResource", NULL
};
7653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:new_wxWave",_kwnames
,&_obj0
,&tempbool1
))
7656 #if PYTHON_API_VERSION >= 1009
7657 char* tmpPtr
; int tmpSize
;
7658 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
7659 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7662 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
7664 _arg0
= new wxString(tmpPtr
, tmpSize
);
7666 if (!PyString_Check(_obj0
)) {
7667 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7670 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
7673 _arg1
= (bool ) tempbool1
;
7675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7676 _result
= (wxWave
*)new_wxWave(*_arg0
,_arg1
);
7678 wxPyEndAllowThreads(__tstate
);
7679 if (PyErr_Occurred()) return NULL
;
7681 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWave_p");
7682 _resultobj
= Py_BuildValue("s",_ptemp
);
7685 _resultobj
= Py_None
;
7694 #define delete_wxWave(_swigobj) (delete _swigobj)
7695 static PyObject
*_wrap_delete_wxWave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7696 PyObject
* _resultobj
;
7698 PyObject
* _argo0
= 0;
7699 char *_kwnames
[] = { "self", NULL
};
7702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxWave",_kwnames
,&_argo0
))
7705 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7706 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWave_p")) {
7707 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxWave. Expected _wxWave_p.");
7712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7713 delete_wxWave(_arg0
);
7715 wxPyEndAllowThreads(__tstate
);
7716 if (PyErr_Occurred()) return NULL
;
7717 } Py_INCREF(Py_None
);
7718 _resultobj
= Py_None
;
7722 #define wxWave_IsOk(_swigobj) (_swigobj->IsOk())
7723 static PyObject
*_wrap_wxWave_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7724 PyObject
* _resultobj
;
7727 PyObject
* _argo0
= 0;
7728 char *_kwnames
[] = { "self", NULL
};
7731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWave_IsOk",_kwnames
,&_argo0
))
7734 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7735 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWave_p")) {
7736 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWave_IsOk. Expected _wxWave_p.");
7741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7742 _result
= (bool )wxWave_IsOk(_arg0
);
7744 wxPyEndAllowThreads(__tstate
);
7745 if (PyErr_Occurred()) return NULL
;
7746 } _resultobj
= Py_BuildValue("i",_result
);
7750 #define wxWave_Play(_swigobj,_swigarg0,_swigarg1) (_swigobj->Play(_swigarg0,_swigarg1))
7751 static PyObject
*_wrap_wxWave_Play(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7752 PyObject
* _resultobj
;
7755 bool _arg1
= (bool ) TRUE
;
7756 bool _arg2
= (bool ) FALSE
;
7757 PyObject
* _argo0
= 0;
7758 int tempbool1
= (int) TRUE
;
7759 int tempbool2
= (int) FALSE
;
7760 char *_kwnames
[] = { "self","async","looped", NULL
};
7763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxWave_Play",_kwnames
,&_argo0
,&tempbool1
,&tempbool2
))
7766 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7767 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWave_p")) {
7768 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWave_Play. Expected _wxWave_p.");
7772 _arg1
= (bool ) tempbool1
;
7773 _arg2
= (bool ) tempbool2
;
7775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7776 _result
= (bool )wxWave_Play(_arg0
,_arg1
,_arg2
);
7778 wxPyEndAllowThreads(__tstate
);
7779 if (PyErr_Occurred()) return NULL
;
7780 } _resultobj
= Py_BuildValue("i",_result
);
7784 #define new_wxFileTypeInfo(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxFileTypeInfo(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7785 static PyObject
*_wrap_new_wxFileTypeInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7786 PyObject
* _resultobj
;
7787 wxFileTypeInfo
* _result
;
7792 char *_kwnames
[] = { "mimeType","openCmd","printCmd","desc", NULL
};
7796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"ssss:new_wxFileTypeInfo",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
))
7799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7800 _result
= (wxFileTypeInfo
*)new_wxFileTypeInfo(_arg0
,_arg1
,_arg2
,_arg3
);
7802 wxPyEndAllowThreads(__tstate
);
7803 if (PyErr_Occurred()) return NULL
;
7805 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileTypeInfo_p");
7806 _resultobj
= Py_BuildValue("s",_ptemp
);
7809 _resultobj
= Py_None
;
7814 #define new_wxFileTypeInfoSequence(_swigarg0) (new wxFileTypeInfo(_swigarg0))
7815 static PyObject
*_wrap_new_wxFileTypeInfoSequence(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7816 PyObject
* _resultobj
;
7817 wxFileTypeInfo
* _result
;
7818 wxArrayString
* _arg0
;
7819 PyObject
* _obj0
= 0;
7820 char *_kwnames
[] = { "sArray", NULL
};
7824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxFileTypeInfoSequence",_kwnames
,&_obj0
))
7827 if (! PySequence_Check(_obj0
)) {
7828 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
7831 _arg0
= new wxArrayString
;
7832 int i
, len
=PySequence_Length(_obj0
);
7833 for (i
=0; i
<len
; i
++) {
7834 PyObject
* item
= PySequence_GetItem(_obj0
, i
);
7835 PyObject
* str
= PyObject_Str(item
);
7836 _arg0
->Add(PyString_AsString(item
));
7842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7843 _result
= (wxFileTypeInfo
*)new_wxFileTypeInfoSequence(*_arg0
);
7845 wxPyEndAllowThreads(__tstate
);
7846 if (PyErr_Occurred()) return NULL
;
7848 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileTypeInfo_p");
7849 _resultobj
= Py_BuildValue("s",_ptemp
);
7852 _resultobj
= Py_None
;
7861 #define new_wxNullFileTypeInfo() (new wxFileTypeInfo())
7862 static PyObject
*_wrap_new_wxNullFileTypeInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7863 PyObject
* _resultobj
;
7864 wxFileTypeInfo
* _result
;
7865 char *_kwnames
[] = { NULL
};
7869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxNullFileTypeInfo",_kwnames
))
7872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7873 _result
= (wxFileTypeInfo
*)new_wxNullFileTypeInfo();
7875 wxPyEndAllowThreads(__tstate
);
7876 if (PyErr_Occurred()) return NULL
;
7878 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileTypeInfo_p");
7879 _resultobj
= Py_BuildValue("s",_ptemp
);
7882 _resultobj
= Py_None
;
7887 #define wxFileTypeInfo_IsValid(_swigobj) (_swigobj->IsValid())
7888 static PyObject
*_wrap_wxFileTypeInfo_IsValid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7889 PyObject
* _resultobj
;
7891 wxFileTypeInfo
* _arg0
;
7892 PyObject
* _argo0
= 0;
7893 char *_kwnames
[] = { "self", NULL
};
7896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_IsValid",_kwnames
,&_argo0
))
7899 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7900 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
7901 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_IsValid. Expected _wxFileTypeInfo_p.");
7906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7907 _result
= (bool )wxFileTypeInfo_IsValid(_arg0
);
7909 wxPyEndAllowThreads(__tstate
);
7910 if (PyErr_Occurred()) return NULL
;
7911 } _resultobj
= Py_BuildValue("i",_result
);
7915 #define wxFileTypeInfo_SetIcon(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetIcon(_swigarg0,_swigarg1))
7916 static PyObject
*_wrap_wxFileTypeInfo_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7917 PyObject
* _resultobj
;
7918 wxFileTypeInfo
* _arg0
;
7920 int _arg2
= (int ) 0;
7921 PyObject
* _argo0
= 0;
7922 PyObject
* _obj1
= 0;
7923 char *_kwnames
[] = { "self","iconFile","iconIndex", NULL
};
7926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxFileTypeInfo_SetIcon",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
7929 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7930 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
7931 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_SetIcon. Expected _wxFileTypeInfo_p.");
7936 #if PYTHON_API_VERSION >= 1009
7937 char* tmpPtr
; int tmpSize
;
7938 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
7939 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7942 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
7944 _arg1
= new wxString(tmpPtr
, tmpSize
);
7946 if (!PyString_Check(_obj1
)) {
7947 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7950 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
7954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7955 wxFileTypeInfo_SetIcon(_arg0
,*_arg1
,_arg2
);
7957 wxPyEndAllowThreads(__tstate
);
7958 if (PyErr_Occurred()) return NULL
;
7959 } Py_INCREF(Py_None
);
7960 _resultobj
= Py_None
;
7968 #define wxFileTypeInfo_SetShortDesc(_swigobj,_swigarg0) (_swigobj->SetShortDesc(_swigarg0))
7969 static PyObject
*_wrap_wxFileTypeInfo_SetShortDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7970 PyObject
* _resultobj
;
7971 wxFileTypeInfo
* _arg0
;
7973 PyObject
* _argo0
= 0;
7974 PyObject
* _obj1
= 0;
7975 char *_kwnames
[] = { "self","shortDesc", NULL
};
7978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileTypeInfo_SetShortDesc",_kwnames
,&_argo0
,&_obj1
))
7981 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7982 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
7983 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_SetShortDesc. Expected _wxFileTypeInfo_p.");
7988 #if PYTHON_API_VERSION >= 1009
7989 char* tmpPtr
; int tmpSize
;
7990 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
7991 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7994 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
7996 _arg1
= new wxString(tmpPtr
, tmpSize
);
7998 if (!PyString_Check(_obj1
)) {
7999 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8002 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
8006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8007 wxFileTypeInfo_SetShortDesc(_arg0
,*_arg1
);
8009 wxPyEndAllowThreads(__tstate
);
8010 if (PyErr_Occurred()) return NULL
;
8011 } Py_INCREF(Py_None
);
8012 _resultobj
= Py_None
;
8020 #define wxFileTypeInfo_GetMimeType(_swigobj) (_swigobj->GetMimeType())
8021 static PyObject
*_wrap_wxFileTypeInfo_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8022 PyObject
* _resultobj
;
8024 wxFileTypeInfo
* _arg0
;
8025 PyObject
* _argo0
= 0;
8026 char *_kwnames
[] = { "self", NULL
};
8029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetMimeType",_kwnames
,&_argo0
))
8032 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8033 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8034 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetMimeType. Expected _wxFileTypeInfo_p.");
8039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8040 const wxString
& _result_ref
= wxFileTypeInfo_GetMimeType(_arg0
);
8041 _result
= (wxString
*) &_result_ref
;
8043 wxPyEndAllowThreads(__tstate
);
8044 if (PyErr_Occurred()) return NULL
;
8046 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8051 #define wxFileTypeInfo_GetOpenCommand(_swigobj) (_swigobj->GetOpenCommand())
8052 static PyObject
*_wrap_wxFileTypeInfo_GetOpenCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8053 PyObject
* _resultobj
;
8055 wxFileTypeInfo
* _arg0
;
8056 PyObject
* _argo0
= 0;
8057 char *_kwnames
[] = { "self", NULL
};
8060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetOpenCommand",_kwnames
,&_argo0
))
8063 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8064 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8065 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetOpenCommand. Expected _wxFileTypeInfo_p.");
8070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8071 const wxString
& _result_ref
= wxFileTypeInfo_GetOpenCommand(_arg0
);
8072 _result
= (wxString
*) &_result_ref
;
8074 wxPyEndAllowThreads(__tstate
);
8075 if (PyErr_Occurred()) return NULL
;
8077 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8082 #define wxFileTypeInfo_GetPrintCommand(_swigobj) (_swigobj->GetPrintCommand())
8083 static PyObject
*_wrap_wxFileTypeInfo_GetPrintCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8084 PyObject
* _resultobj
;
8086 wxFileTypeInfo
* _arg0
;
8087 PyObject
* _argo0
= 0;
8088 char *_kwnames
[] = { "self", NULL
};
8091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetPrintCommand",_kwnames
,&_argo0
))
8094 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8095 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8096 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetPrintCommand. Expected _wxFileTypeInfo_p.");
8101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8102 const wxString
& _result_ref
= wxFileTypeInfo_GetPrintCommand(_arg0
);
8103 _result
= (wxString
*) &_result_ref
;
8105 wxPyEndAllowThreads(__tstate
);
8106 if (PyErr_Occurred()) return NULL
;
8108 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8113 #define wxFileTypeInfo_GetShortDesc(_swigobj) (_swigobj->GetShortDesc())
8114 static PyObject
*_wrap_wxFileTypeInfo_GetShortDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8115 PyObject
* _resultobj
;
8117 wxFileTypeInfo
* _arg0
;
8118 PyObject
* _argo0
= 0;
8119 char *_kwnames
[] = { "self", NULL
};
8122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetShortDesc",_kwnames
,&_argo0
))
8125 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8126 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8127 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetShortDesc. Expected _wxFileTypeInfo_p.");
8132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8133 const wxString
& _result_ref
= wxFileTypeInfo_GetShortDesc(_arg0
);
8134 _result
= (wxString
*) &_result_ref
;
8136 wxPyEndAllowThreads(__tstate
);
8137 if (PyErr_Occurred()) return NULL
;
8139 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8144 #define wxFileTypeInfo_GetDescription(_swigobj) (_swigobj->GetDescription())
8145 static PyObject
*_wrap_wxFileTypeInfo_GetDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8146 PyObject
* _resultobj
;
8148 wxFileTypeInfo
* _arg0
;
8149 PyObject
* _argo0
= 0;
8150 char *_kwnames
[] = { "self", NULL
};
8153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetDescription",_kwnames
,&_argo0
))
8156 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8157 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8158 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetDescription. Expected _wxFileTypeInfo_p.");
8163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8164 const wxString
& _result_ref
= wxFileTypeInfo_GetDescription(_arg0
);
8165 _result
= (wxString
*) &_result_ref
;
8167 wxPyEndAllowThreads(__tstate
);
8168 if (PyErr_Occurred()) return NULL
;
8170 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8175 static PyObject
* wxFileTypeInfo_GetExtensions(wxFileTypeInfo
*self
) {
8176 wxArrayString
& arr
= (wxArrayString
&)self
->GetExtensions();
8177 return wxArrayString2PyList_helper(arr
);
8179 static PyObject
*_wrap_wxFileTypeInfo_GetExtensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8180 PyObject
* _resultobj
;
8182 wxFileTypeInfo
* _arg0
;
8183 PyObject
* _argo0
= 0;
8184 char *_kwnames
[] = { "self", NULL
};
8187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetExtensions",_kwnames
,&_argo0
))
8190 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8191 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8192 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetExtensions. Expected _wxFileTypeInfo_p.");
8197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8198 _result
= (PyObject
*)wxFileTypeInfo_GetExtensions(_arg0
);
8200 wxPyEndAllowThreads(__tstate
);
8201 if (PyErr_Occurred()) return NULL
;
8203 _resultobj
= _result
;
8208 #define wxFileTypeInfo_GetExtensionsCount(_swigobj) (_swigobj->GetExtensionsCount())
8209 static PyObject
*_wrap_wxFileTypeInfo_GetExtensionsCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8210 PyObject
* _resultobj
;
8212 wxFileTypeInfo
* _arg0
;
8213 PyObject
* _argo0
= 0;
8214 char *_kwnames
[] = { "self", NULL
};
8217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetExtensionsCount",_kwnames
,&_argo0
))
8220 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8221 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8222 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetExtensionsCount. Expected _wxFileTypeInfo_p.");
8227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8228 _result
= (int )wxFileTypeInfo_GetExtensionsCount(_arg0
);
8230 wxPyEndAllowThreads(__tstate
);
8231 if (PyErr_Occurred()) return NULL
;
8232 } _resultobj
= Py_BuildValue("i",_result
);
8236 #define wxFileTypeInfo_GetIconFile(_swigobj) (_swigobj->GetIconFile())
8237 static PyObject
*_wrap_wxFileTypeInfo_GetIconFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8238 PyObject
* _resultobj
;
8240 wxFileTypeInfo
* _arg0
;
8241 PyObject
* _argo0
= 0;
8242 char *_kwnames
[] = { "self", NULL
};
8245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetIconFile",_kwnames
,&_argo0
))
8248 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8249 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8250 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetIconFile. Expected _wxFileTypeInfo_p.");
8255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8256 const wxString
& _result_ref
= wxFileTypeInfo_GetIconFile(_arg0
);
8257 _result
= (wxString
*) &_result_ref
;
8259 wxPyEndAllowThreads(__tstate
);
8260 if (PyErr_Occurred()) return NULL
;
8262 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8267 #define wxFileTypeInfo_GetIconIndex(_swigobj) (_swigobj->GetIconIndex())
8268 static PyObject
*_wrap_wxFileTypeInfo_GetIconIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8269 PyObject
* _resultobj
;
8271 wxFileTypeInfo
* _arg0
;
8272 PyObject
* _argo0
= 0;
8273 char *_kwnames
[] = { "self", NULL
};
8276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetIconIndex",_kwnames
,&_argo0
))
8279 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8280 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8281 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetIconIndex. Expected _wxFileTypeInfo_p.");
8286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8287 _result
= (int )wxFileTypeInfo_GetIconIndex(_arg0
);
8289 wxPyEndAllowThreads(__tstate
);
8290 if (PyErr_Occurred()) return NULL
;
8291 } _resultobj
= Py_BuildValue("i",_result
);
8295 #define new_wxFileType(_swigarg0) (new wxFileType(_swigarg0))
8296 static PyObject
*_wrap_new_wxFileType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8297 PyObject
* _resultobj
;
8298 wxFileType
* _result
;
8299 wxFileTypeInfo
* _arg0
;
8300 PyObject
* _argo0
= 0;
8301 char *_kwnames
[] = { "ftInfo", NULL
};
8305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxFileType",_kwnames
,&_argo0
))
8308 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8309 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8310 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxFileType. Expected _wxFileTypeInfo_p.");
8315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8316 _result
= (wxFileType
*)new_wxFileType(*_arg0
);
8318 wxPyEndAllowThreads(__tstate
);
8319 if (PyErr_Occurred()) return NULL
;
8321 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileType_p");
8322 _resultobj
= Py_BuildValue("s",_ptemp
);
8325 _resultobj
= Py_None
;
8330 static PyObject
* wxFileType_GetMimeType(wxFileType
*self
) {
8332 if (self
->GetMimeType(&str
))
8333 return PyString_FromString(str
.c_str());
8337 static PyObject
*_wrap_wxFileType_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8338 PyObject
* _resultobj
;
8341 PyObject
* _argo0
= 0;
8342 char *_kwnames
[] = { "self", NULL
};
8345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_GetMimeType",_kwnames
,&_argo0
))
8348 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8349 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8350 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetMimeType. Expected _wxFileType_p.");
8355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8356 _result
= (PyObject
*)wxFileType_GetMimeType(_arg0
);
8358 wxPyEndAllowThreads(__tstate
);
8359 if (PyErr_Occurred()) return NULL
;
8361 _resultobj
= _result
;
8366 static PyObject
* wxFileType_GetMimeTypes(wxFileType
*self
) {
8368 if (self
->GetMimeTypes(arr
))
8369 return wxArrayString2PyList_helper(arr
);
8373 static PyObject
*_wrap_wxFileType_GetMimeTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8374 PyObject
* _resultobj
;
8377 PyObject
* _argo0
= 0;
8378 char *_kwnames
[] = { "self", NULL
};
8381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_GetMimeTypes",_kwnames
,&_argo0
))
8384 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8385 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8386 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetMimeTypes. Expected _wxFileType_p.");
8391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8392 _result
= (PyObject
*)wxFileType_GetMimeTypes(_arg0
);
8394 wxPyEndAllowThreads(__tstate
);
8395 if (PyErr_Occurred()) return NULL
;
8397 _resultobj
= _result
;
8402 static PyObject
* wxFileType_GetExtensions(wxFileType
*self
) {
8404 if (self
->GetExtensions(arr
))
8405 return wxArrayString2PyList_helper(arr
);
8409 static PyObject
*_wrap_wxFileType_GetExtensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8410 PyObject
* _resultobj
;
8413 PyObject
* _argo0
= 0;
8414 char *_kwnames
[] = { "self", NULL
};
8417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_GetExtensions",_kwnames
,&_argo0
))
8420 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8421 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8422 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetExtensions. Expected _wxFileType_p.");
8427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8428 _result
= (PyObject
*)wxFileType_GetExtensions(_arg0
);
8430 wxPyEndAllowThreads(__tstate
);
8431 if (PyErr_Occurred()) return NULL
;
8433 _resultobj
= _result
;
8438 static wxIcon
* wxFileType_GetIcon(wxFileType
*self
) {
8440 if (self
->GetIcon(&icon
))
8441 return new wxIcon(icon
);
8445 static PyObject
*_wrap_wxFileType_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8446 PyObject
* _resultobj
;
8449 PyObject
* _argo0
= 0;
8450 char *_kwnames
[] = { "self", NULL
};
8454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_GetIcon",_kwnames
,&_argo0
))
8457 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8458 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8459 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetIcon. Expected _wxFileType_p.");
8464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8465 _result
= (wxIcon
*)wxFileType_GetIcon(_arg0
);
8467 wxPyEndAllowThreads(__tstate
);
8468 if (PyErr_Occurred()) return NULL
;
8470 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIcon_p");
8471 _resultobj
= Py_BuildValue("s",_ptemp
);
8474 _resultobj
= Py_None
;
8479 static PyObject
* wxFileType_GetIconInfo(wxFileType
*self
) {
8483 if (self
->GetIcon(&icon
, &iconFile
, &iconIndex
)) {
8484 wxPyBeginBlockThreads();
8485 PyObject
* tuple
= PyTuple_New(3);
8486 PyTuple_SetItem(tuple
, 0, wxPyConstructObject(new wxIcon(icon
),
8488 PyTuple_SetItem(tuple
, 1, PyString_FromString(iconFile
.c_str()));
8489 PyTuple_SetItem(tuple
, 2, PyInt_FromLong(iconIndex
));
8490 wxPyEndBlockThreads();
8496 static PyObject
*_wrap_wxFileType_GetIconInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8497 PyObject
* _resultobj
;
8500 PyObject
* _argo0
= 0;
8501 char *_kwnames
[] = { "self", NULL
};
8504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_GetIconInfo",_kwnames
,&_argo0
))
8507 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8508 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8509 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetIconInfo. Expected _wxFileType_p.");
8514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8515 _result
= (PyObject
*)wxFileType_GetIconInfo(_arg0
);
8517 wxPyEndAllowThreads(__tstate
);
8518 if (PyErr_Occurred()) return NULL
;
8520 _resultobj
= _result
;
8525 static PyObject
* wxFileType_GetDescription(wxFileType
*self
) {
8527 if (self
->GetDescription(&str
))
8528 return PyString_FromString(str
.c_str());
8532 static PyObject
*_wrap_wxFileType_GetDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8533 PyObject
* _resultobj
;
8536 PyObject
* _argo0
= 0;
8537 char *_kwnames
[] = { "self", NULL
};
8540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_GetDescription",_kwnames
,&_argo0
))
8543 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8544 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8545 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetDescription. Expected _wxFileType_p.");
8550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8551 _result
= (PyObject
*)wxFileType_GetDescription(_arg0
);
8553 wxPyEndAllowThreads(__tstate
);
8554 if (PyErr_Occurred()) return NULL
;
8556 _resultobj
= _result
;
8561 static PyObject
* wxFileType_GetOpenCommand(wxFileType
*self
,const wxString
& filename
,const wxString
& mimetype
) {
8563 if (self
->GetOpenCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
8564 return PyString_FromString(str
.c_str());
8568 static PyObject
*_wrap_wxFileType_GetOpenCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8569 PyObject
* _resultobj
;
8573 wxString
* _arg2
= (wxString
*) &wxPyEmptyStr
;
8574 PyObject
* _argo0
= 0;
8575 PyObject
* _obj1
= 0;
8576 PyObject
* _obj2
= 0;
8577 char *_kwnames
[] = { "self","filename","mimetype", NULL
};
8580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxFileType_GetOpenCommand",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
8583 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8584 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8585 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetOpenCommand. Expected _wxFileType_p.");
8590 #if PYTHON_API_VERSION >= 1009
8591 char* tmpPtr
; int tmpSize
;
8592 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
8593 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8596 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
8598 _arg1
= new wxString(tmpPtr
, tmpSize
);
8600 if (!PyString_Check(_obj1
)) {
8601 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8604 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
8609 #if PYTHON_API_VERSION >= 1009
8610 char* tmpPtr
; int tmpSize
;
8611 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
8612 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8615 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
8617 _arg2
= new wxString(tmpPtr
, tmpSize
);
8619 if (!PyString_Check(_obj2
)) {
8620 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8623 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
8627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8628 _result
= (PyObject
*)wxFileType_GetOpenCommand(_arg0
,*_arg1
,*_arg2
);
8630 wxPyEndAllowThreads(__tstate
);
8631 if (PyErr_Occurred()) return NULL
;
8633 _resultobj
= _result
;
8646 static PyObject
* wxFileType_GetPrintCommand(wxFileType
*self
,const wxString
& filename
,const wxString
& mimetype
) {
8648 if (self
->GetPrintCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
8649 return PyString_FromString(str
.c_str());
8653 static PyObject
*_wrap_wxFileType_GetPrintCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8654 PyObject
* _resultobj
;
8658 wxString
* _arg2
= (wxString
*) &wxPyEmptyStr
;
8659 PyObject
* _argo0
= 0;
8660 PyObject
* _obj1
= 0;
8661 PyObject
* _obj2
= 0;
8662 char *_kwnames
[] = { "self","filename","mimetype", NULL
};
8665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxFileType_GetPrintCommand",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
8668 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8669 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8670 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetPrintCommand. Expected _wxFileType_p.");
8675 #if PYTHON_API_VERSION >= 1009
8676 char* tmpPtr
; int tmpSize
;
8677 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
8678 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8681 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
8683 _arg1
= new wxString(tmpPtr
, tmpSize
);
8685 if (!PyString_Check(_obj1
)) {
8686 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8689 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
8694 #if PYTHON_API_VERSION >= 1009
8695 char* tmpPtr
; int tmpSize
;
8696 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
8697 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8700 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
8702 _arg2
= new wxString(tmpPtr
, tmpSize
);
8704 if (!PyString_Check(_obj2
)) {
8705 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8708 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
8712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8713 _result
= (PyObject
*)wxFileType_GetPrintCommand(_arg0
,*_arg1
,*_arg2
);
8715 wxPyEndAllowThreads(__tstate
);
8716 if (PyErr_Occurred()) return NULL
;
8718 _resultobj
= _result
;
8731 static PyObject
* wxFileType_GetAllCommands(wxFileType
*self
,const wxString
& filename
,const wxString
& mimetype
) {
8732 wxArrayString verbs
;
8733 wxArrayString commands
;
8734 if (self
->GetAllCommands(&verbs
, &commands
,
8735 wxFileType::MessageParameters(filename
, mimetype
))) {
8736 wxPyBeginBlockThreads();
8737 PyObject
* tuple
= PyTuple_New(2);
8738 PyTuple_SetItem(tuple
, 0, wxArrayString2PyList_helper(verbs
));
8739 PyTuple_SetItem(tuple
, 1, wxArrayString2PyList_helper(commands
));
8740 wxPyEndBlockThreads();
8746 static PyObject
*_wrap_wxFileType_GetAllCommands(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8747 PyObject
* _resultobj
;
8751 wxString
* _arg2
= (wxString
*) &wxPyEmptyStr
;
8752 PyObject
* _argo0
= 0;
8753 PyObject
* _obj1
= 0;
8754 PyObject
* _obj2
= 0;
8755 char *_kwnames
[] = { "self","filename","mimetype", NULL
};
8758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxFileType_GetAllCommands",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
8761 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8762 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8763 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetAllCommands. Expected _wxFileType_p.");
8768 #if PYTHON_API_VERSION >= 1009
8769 char* tmpPtr
; int tmpSize
;
8770 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
8771 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8774 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
8776 _arg1
= new wxString(tmpPtr
, tmpSize
);
8778 if (!PyString_Check(_obj1
)) {
8779 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8782 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
8787 #if PYTHON_API_VERSION >= 1009
8788 char* tmpPtr
; int tmpSize
;
8789 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
8790 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8793 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
8795 _arg2
= new wxString(tmpPtr
, tmpSize
);
8797 if (!PyString_Check(_obj2
)) {
8798 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8801 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
8805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8806 _result
= (PyObject
*)wxFileType_GetAllCommands(_arg0
,*_arg1
,*_arg2
);
8808 wxPyEndAllowThreads(__tstate
);
8809 if (PyErr_Occurred()) return NULL
;
8811 _resultobj
= _result
;
8824 #define wxFileType_SetCommand(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCommand(_swigarg0,_swigarg1,_swigarg2))
8825 static PyObject
*_wrap_wxFileType_SetCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8826 PyObject
* _resultobj
;
8831 bool _arg3
= (bool ) TRUE
;
8832 PyObject
* _argo0
= 0;
8833 PyObject
* _obj1
= 0;
8834 PyObject
* _obj2
= 0;
8835 int tempbool3
= (int) TRUE
;
8836 char *_kwnames
[] = { "self","cmd","verb","overwriteprompt", NULL
};
8839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|i:wxFileType_SetCommand",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&tempbool3
))
8842 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8843 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8844 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_SetCommand. Expected _wxFileType_p.");
8849 #if PYTHON_API_VERSION >= 1009
8850 char* tmpPtr
; int tmpSize
;
8851 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
8852 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8855 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
8857 _arg1
= new wxString(tmpPtr
, tmpSize
);
8859 if (!PyString_Check(_obj1
)) {
8860 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8863 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
8867 #if PYTHON_API_VERSION >= 1009
8868 char* tmpPtr
; int tmpSize
;
8869 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
8870 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8873 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
8875 _arg2
= new wxString(tmpPtr
, tmpSize
);
8877 if (!PyString_Check(_obj2
)) {
8878 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8881 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
8884 _arg3
= (bool ) tempbool3
;
8886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8887 _result
= (bool )wxFileType_SetCommand(_arg0
,*_arg1
,*_arg2
,_arg3
);
8889 wxPyEndAllowThreads(__tstate
);
8890 if (PyErr_Occurred()) return NULL
;
8891 } _resultobj
= Py_BuildValue("i",_result
);
8903 #define wxFileType_SetDefaultIcon(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDefaultIcon(_swigarg0,_swigarg1))
8904 static PyObject
*_wrap_wxFileType_SetDefaultIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8905 PyObject
* _resultobj
;
8908 wxString
* _arg1
= (wxString
*) &wxEmptyString
;
8909 int _arg2
= (int ) 0;
8910 PyObject
* _argo0
= 0;
8911 PyObject
* _obj1
= 0;
8912 char *_kwnames
[] = { "self","cmd","index", NULL
};
8915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|Oi:wxFileType_SetDefaultIcon",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
8918 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8919 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8920 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_SetDefaultIcon. Expected _wxFileType_p.");
8926 #if PYTHON_API_VERSION >= 1009
8927 char* tmpPtr
; int tmpSize
;
8928 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
8929 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8932 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
8934 _arg1
= new wxString(tmpPtr
, tmpSize
);
8936 if (!PyString_Check(_obj1
)) {
8937 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8940 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
8944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8945 _result
= (bool )wxFileType_SetDefaultIcon(_arg0
,*_arg1
,_arg2
);
8947 wxPyEndAllowThreads(__tstate
);
8948 if (PyErr_Occurred()) return NULL
;
8949 } _resultobj
= Py_BuildValue("i",_result
);
8957 #define wxFileType_Unassociate(_swigobj) (_swigobj->Unassociate())
8958 static PyObject
*_wrap_wxFileType_Unassociate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8959 PyObject
* _resultobj
;
8962 PyObject
* _argo0
= 0;
8963 char *_kwnames
[] = { "self", NULL
};
8966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_Unassociate",_kwnames
,&_argo0
))
8969 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8970 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8971 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_Unassociate. Expected _wxFileType_p.");
8976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8977 _result
= (bool )wxFileType_Unassociate(_arg0
);
8979 wxPyEndAllowThreads(__tstate
);
8980 if (PyErr_Occurred()) return NULL
;
8981 } _resultobj
= Py_BuildValue("i",_result
);
8985 static PyObject
*_wrap_wxFileType_ExpandCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8986 PyObject
* _resultobj
;
8989 wxFileType::MessageParameters
* _arg1
;
8990 PyObject
* _obj0
= 0;
8991 PyObject
* _argo1
= 0;
8992 char *_kwnames
[] = { "command","params", NULL
};
8995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileType_ExpandCommand",_kwnames
,&_obj0
,&_argo1
))
8998 #if PYTHON_API_VERSION >= 1009
8999 char* tmpPtr
; int tmpSize
;
9000 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
9001 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9004 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
9006 _arg0
= new wxString(tmpPtr
, tmpSize
);
9008 if (!PyString_Check(_obj0
)) {
9009 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9012 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
9016 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9017 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFileType::MessageParameters_p")) {
9018 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFileType_ExpandCommand. Expected _wxFileType::MessageParameters_p.");
9023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9024 _result
= new wxString (wxFileType::ExpandCommand(*_arg0
,*_arg1
));
9026 wxPyEndAllowThreads(__tstate
);
9027 if (PyErr_Occurred()) return NULL
;
9029 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9041 #define delete_wxFileType(_swigobj) (delete _swigobj)
9042 static PyObject
*_wrap_delete_wxFileType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9043 PyObject
* _resultobj
;
9045 PyObject
* _argo0
= 0;
9046 char *_kwnames
[] = { "self", NULL
};
9049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxFileType",_kwnames
,&_argo0
))
9052 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9053 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
9054 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxFileType. Expected _wxFileType_p.");
9059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9060 delete_wxFileType(_arg0
);
9062 wxPyEndAllowThreads(__tstate
);
9063 if (PyErr_Occurred()) return NULL
;
9064 } Py_INCREF(Py_None
);
9065 _resultobj
= Py_None
;
9069 static PyObject
*_wrap_wxMimeTypesManager_IsOfType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9070 PyObject
* _resultobj
;
9074 PyObject
* _obj0
= 0;
9075 PyObject
* _obj1
= 0;
9076 char *_kwnames
[] = { "mimeType","wildcard", NULL
};
9079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_IsOfType",_kwnames
,&_obj0
,&_obj1
))
9082 #if PYTHON_API_VERSION >= 1009
9083 char* tmpPtr
; int tmpSize
;
9084 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
9085 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9088 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
9090 _arg0
= new wxString(tmpPtr
, tmpSize
);
9092 if (!PyString_Check(_obj0
)) {
9093 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9096 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
9100 #if PYTHON_API_VERSION >= 1009
9101 char* tmpPtr
; int tmpSize
;
9102 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
9103 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9106 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
9108 _arg1
= new wxString(tmpPtr
, tmpSize
);
9110 if (!PyString_Check(_obj1
)) {
9111 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9114 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
9118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9119 _result
= (bool )wxMimeTypesManager::IsOfType(*_arg0
,*_arg1
);
9121 wxPyEndAllowThreads(__tstate
);
9122 if (PyErr_Occurred()) return NULL
;
9123 } _resultobj
= Py_BuildValue("i",_result
);
9135 #define new_wxMimeTypesManager() (new wxMimeTypesManager())
9136 static PyObject
*_wrap_new_wxMimeTypesManager(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9137 PyObject
* _resultobj
;
9138 wxMimeTypesManager
* _result
;
9139 char *_kwnames
[] = { NULL
};
9143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxMimeTypesManager",_kwnames
))
9146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9147 _result
= (wxMimeTypesManager
*)new_wxMimeTypesManager();
9149 wxPyEndAllowThreads(__tstate
);
9150 if (PyErr_Occurred()) return NULL
;
9152 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMimeTypesManager_p");
9153 _resultobj
= Py_BuildValue("s",_ptemp
);
9156 _resultobj
= Py_None
;
9161 #define wxMimeTypesManager_Initialize(_swigobj,_swigarg0,_swigarg1) (_swigobj->Initialize(_swigarg0,_swigarg1))
9162 static PyObject
*_wrap_wxMimeTypesManager_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9163 PyObject
* _resultobj
;
9164 wxMimeTypesManager
* _arg0
;
9165 int _arg1
= (int ) (wxMAILCAP_STANDARD
);
9166 wxString
* _arg2
= (wxString
*) &wxEmptyString
;
9167 PyObject
* _argo0
= 0;
9168 PyObject
* _obj2
= 0;
9169 char *_kwnames
[] = { "self","mailcapStyle","extraDir", NULL
};
9172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iO:wxMimeTypesManager_Initialize",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
9175 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9176 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9177 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_Initialize. Expected _wxMimeTypesManager_p.");
9183 #if PYTHON_API_VERSION >= 1009
9184 char* tmpPtr
; int tmpSize
;
9185 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
9186 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9189 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
9191 _arg2
= new wxString(tmpPtr
, tmpSize
);
9193 if (!PyString_Check(_obj2
)) {
9194 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9197 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
9201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9202 wxMimeTypesManager_Initialize(_arg0
,_arg1
,*_arg2
);
9204 wxPyEndAllowThreads(__tstate
);
9205 if (PyErr_Occurred()) return NULL
;
9206 } Py_INCREF(Py_None
);
9207 _resultobj
= Py_None
;
9215 #define wxMimeTypesManager_ClearData(_swigobj) (_swigobj->ClearData())
9216 static PyObject
*_wrap_wxMimeTypesManager_ClearData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9217 PyObject
* _resultobj
;
9218 wxMimeTypesManager
* _arg0
;
9219 PyObject
* _argo0
= 0;
9220 char *_kwnames
[] = { "self", NULL
};
9223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMimeTypesManager_ClearData",_kwnames
,&_argo0
))
9226 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9227 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9228 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_ClearData. Expected _wxMimeTypesManager_p.");
9233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9234 wxMimeTypesManager_ClearData(_arg0
);
9236 wxPyEndAllowThreads(__tstate
);
9237 if (PyErr_Occurred()) return NULL
;
9238 } Py_INCREF(Py_None
);
9239 _resultobj
= Py_None
;
9243 #define wxMimeTypesManager_GetFileTypeFromExtension(_swigobj,_swigarg0) (_swigobj->GetFileTypeFromExtension(_swigarg0))
9244 static PyObject
*_wrap_wxMimeTypesManager_GetFileTypeFromExtension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9245 PyObject
* _resultobj
;
9246 wxFileType
* _result
;
9247 wxMimeTypesManager
* _arg0
;
9249 PyObject
* _argo0
= 0;
9250 PyObject
* _obj1
= 0;
9251 char *_kwnames
[] = { "self","ext", NULL
};
9255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_GetFileTypeFromExtension",_kwnames
,&_argo0
,&_obj1
))
9258 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9259 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9260 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_GetFileTypeFromExtension. Expected _wxMimeTypesManager_p.");
9265 #if PYTHON_API_VERSION >= 1009
9266 char* tmpPtr
; int tmpSize
;
9267 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
9268 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9271 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
9273 _arg1
= new wxString(tmpPtr
, tmpSize
);
9275 if (!PyString_Check(_obj1
)) {
9276 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9279 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
9283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9284 _result
= (wxFileType
*)wxMimeTypesManager_GetFileTypeFromExtension(_arg0
,*_arg1
);
9286 wxPyEndAllowThreads(__tstate
);
9287 if (PyErr_Occurred()) return NULL
;
9289 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileType_p");
9290 _resultobj
= Py_BuildValue("s",_ptemp
);
9293 _resultobj
= Py_None
;
9302 #define wxMimeTypesManager_GetFileTypeFromMimeType(_swigobj,_swigarg0) (_swigobj->GetFileTypeFromMimeType(_swigarg0))
9303 static PyObject
*_wrap_wxMimeTypesManager_GetFileTypeFromMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9304 PyObject
* _resultobj
;
9305 wxFileType
* _result
;
9306 wxMimeTypesManager
* _arg0
;
9308 PyObject
* _argo0
= 0;
9309 PyObject
* _obj1
= 0;
9310 char *_kwnames
[] = { "self","mimeType", NULL
};
9314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_GetFileTypeFromMimeType",_kwnames
,&_argo0
,&_obj1
))
9317 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9318 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9319 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_GetFileTypeFromMimeType. Expected _wxMimeTypesManager_p.");
9324 #if PYTHON_API_VERSION >= 1009
9325 char* tmpPtr
; int tmpSize
;
9326 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
9327 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9330 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
9332 _arg1
= new wxString(tmpPtr
, tmpSize
);
9334 if (!PyString_Check(_obj1
)) {
9335 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9338 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
9342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9343 _result
= (wxFileType
*)wxMimeTypesManager_GetFileTypeFromMimeType(_arg0
,*_arg1
);
9345 wxPyEndAllowThreads(__tstate
);
9346 if (PyErr_Occurred()) return NULL
;
9348 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileType_p");
9349 _resultobj
= Py_BuildValue("s",_ptemp
);
9352 _resultobj
= Py_None
;
9361 #define wxMimeTypesManager_ReadMailcap(_swigobj,_swigarg0,_swigarg1) (_swigobj->ReadMailcap(_swigarg0,_swigarg1))
9362 static PyObject
*_wrap_wxMimeTypesManager_ReadMailcap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9363 PyObject
* _resultobj
;
9365 wxMimeTypesManager
* _arg0
;
9367 bool _arg2
= (bool ) FALSE
;
9368 PyObject
* _argo0
= 0;
9369 PyObject
* _obj1
= 0;
9370 int tempbool2
= (int) FALSE
;
9371 char *_kwnames
[] = { "self","filename","fallback", NULL
};
9374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxMimeTypesManager_ReadMailcap",_kwnames
,&_argo0
,&_obj1
,&tempbool2
))
9377 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9378 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9379 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_ReadMailcap. Expected _wxMimeTypesManager_p.");
9384 #if PYTHON_API_VERSION >= 1009
9385 char* tmpPtr
; int tmpSize
;
9386 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
9387 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9390 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
9392 _arg1
= new wxString(tmpPtr
, tmpSize
);
9394 if (!PyString_Check(_obj1
)) {
9395 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9398 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
9401 _arg2
= (bool ) tempbool2
;
9403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9404 _result
= (bool )wxMimeTypesManager_ReadMailcap(_arg0
,*_arg1
,_arg2
);
9406 wxPyEndAllowThreads(__tstate
);
9407 if (PyErr_Occurred()) return NULL
;
9408 } _resultobj
= Py_BuildValue("i",_result
);
9416 #define wxMimeTypesManager_ReadMimeTypes(_swigobj,_swigarg0) (_swigobj->ReadMimeTypes(_swigarg0))
9417 static PyObject
*_wrap_wxMimeTypesManager_ReadMimeTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9418 PyObject
* _resultobj
;
9420 wxMimeTypesManager
* _arg0
;
9422 PyObject
* _argo0
= 0;
9423 PyObject
* _obj1
= 0;
9424 char *_kwnames
[] = { "self","filename", NULL
};
9427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_ReadMimeTypes",_kwnames
,&_argo0
,&_obj1
))
9430 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9431 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9432 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_ReadMimeTypes. Expected _wxMimeTypesManager_p.");
9437 #if PYTHON_API_VERSION >= 1009
9438 char* tmpPtr
; int tmpSize
;
9439 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
9440 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9443 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
9445 _arg1
= new wxString(tmpPtr
, tmpSize
);
9447 if (!PyString_Check(_obj1
)) {
9448 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9451 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
9455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9456 _result
= (bool )wxMimeTypesManager_ReadMimeTypes(_arg0
,*_arg1
);
9458 wxPyEndAllowThreads(__tstate
);
9459 if (PyErr_Occurred()) return NULL
;
9460 } _resultobj
= Py_BuildValue("i",_result
);
9468 static PyObject
* wxMimeTypesManager_EnumAllFileTypes(wxMimeTypesManager
*self
) {
9470 self
->EnumAllFileTypes(arr
);
9471 return wxArrayString2PyList_helper(arr
);
9473 static PyObject
*_wrap_wxMimeTypesManager_EnumAllFileTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9474 PyObject
* _resultobj
;
9476 wxMimeTypesManager
* _arg0
;
9477 PyObject
* _argo0
= 0;
9478 char *_kwnames
[] = { "self", NULL
};
9481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMimeTypesManager_EnumAllFileTypes",_kwnames
,&_argo0
))
9484 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9485 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9486 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_EnumAllFileTypes. Expected _wxMimeTypesManager_p.");
9491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9492 _result
= (PyObject
*)wxMimeTypesManager_EnumAllFileTypes(_arg0
);
9494 wxPyEndAllowThreads(__tstate
);
9495 if (PyErr_Occurred()) return NULL
;
9497 _resultobj
= _result
;
9502 #define wxMimeTypesManager_AddFallback(_swigobj,_swigarg0) (_swigobj->AddFallback(_swigarg0))
9503 static PyObject
*_wrap_wxMimeTypesManager_AddFallback(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9504 PyObject
* _resultobj
;
9505 wxMimeTypesManager
* _arg0
;
9506 wxFileTypeInfo
* _arg1
;
9507 PyObject
* _argo0
= 0;
9508 PyObject
* _argo1
= 0;
9509 char *_kwnames
[] = { "self","ft", NULL
};
9512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_AddFallback",_kwnames
,&_argo0
,&_argo1
))
9515 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9516 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9517 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_AddFallback. Expected _wxMimeTypesManager_p.");
9522 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9523 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFileTypeInfo_p")) {
9524 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMimeTypesManager_AddFallback. Expected _wxFileTypeInfo_p.");
9529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9530 wxMimeTypesManager_AddFallback(_arg0
,*_arg1
);
9532 wxPyEndAllowThreads(__tstate
);
9533 if (PyErr_Occurred()) return NULL
;
9534 } Py_INCREF(Py_None
);
9535 _resultobj
= Py_None
;
9539 #define wxMimeTypesManager_Associate(_swigobj,_swigarg0) (_swigobj->Associate(_swigarg0))
9540 static PyObject
*_wrap_wxMimeTypesManager_Associate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9541 PyObject
* _resultobj
;
9542 wxFileType
* _result
;
9543 wxMimeTypesManager
* _arg0
;
9544 wxFileTypeInfo
* _arg1
;
9545 PyObject
* _argo0
= 0;
9546 PyObject
* _argo1
= 0;
9547 char *_kwnames
[] = { "self","ftInfo", NULL
};
9551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_Associate",_kwnames
,&_argo0
,&_argo1
))
9554 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9555 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9556 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_Associate. Expected _wxMimeTypesManager_p.");
9561 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9562 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFileTypeInfo_p")) {
9563 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMimeTypesManager_Associate. Expected _wxFileTypeInfo_p.");
9568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9569 _result
= (wxFileType
*)wxMimeTypesManager_Associate(_arg0
,*_arg1
);
9571 wxPyEndAllowThreads(__tstate
);
9572 if (PyErr_Occurred()) return NULL
;
9574 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileType_p");
9575 _resultobj
= Py_BuildValue("s",_ptemp
);
9578 _resultobj
= Py_None
;
9583 #define wxMimeTypesManager_Unassociate(_swigobj,_swigarg0) (_swigobj->Unassociate(_swigarg0))
9584 static PyObject
*_wrap_wxMimeTypesManager_Unassociate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9585 PyObject
* _resultobj
;
9587 wxMimeTypesManager
* _arg0
;
9589 PyObject
* _argo0
= 0;
9590 PyObject
* _argo1
= 0;
9591 char *_kwnames
[] = { "self","ft", NULL
};
9594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_Unassociate",_kwnames
,&_argo0
,&_argo1
))
9597 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9598 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9599 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_Unassociate. Expected _wxMimeTypesManager_p.");
9604 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9605 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFileType_p")) {
9606 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMimeTypesManager_Unassociate. Expected _wxFileType_p.");
9611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9612 _result
= (bool )wxMimeTypesManager_Unassociate(_arg0
,_arg1
);
9614 wxPyEndAllowThreads(__tstate
);
9615 if (PyErr_Occurred()) return NULL
;
9616 } _resultobj
= Py_BuildValue("i",_result
);
9620 #define delete_wxMimeTypesManager(_swigobj) (delete _swigobj)
9621 static PyObject
*_wrap_delete_wxMimeTypesManager(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9622 PyObject
* _resultobj
;
9623 wxMimeTypesManager
* _arg0
;
9624 PyObject
* _argo0
= 0;
9625 char *_kwnames
[] = { "self", NULL
};
9628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxMimeTypesManager",_kwnames
,&_argo0
))
9631 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9632 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9633 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxMimeTypesManager. Expected _wxMimeTypesManager_p.");
9638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9639 delete_wxMimeTypesManager(_arg0
);
9641 wxPyEndAllowThreads(__tstate
);
9642 if (PyErr_Occurred()) return NULL
;
9643 } Py_INCREF(Py_None
);
9644 _resultobj
= Py_None
;
9648 static void *SwigwxFileHistoryTowxObject(void *ptr
) {
9651 src
= (wxFileHistory
*) ptr
;
9652 dest
= (wxObject
*) src
;
9653 return (void *) dest
;
9656 #define new_wxFileHistory(_swigarg0) (new wxFileHistory(_swigarg0))
9657 static PyObject
*_wrap_new_wxFileHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9658 PyObject
* _resultobj
;
9659 wxFileHistory
* _result
;
9660 int _arg0
= (int ) 9;
9661 char *_kwnames
[] = { "maxFiles", NULL
};
9665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxFileHistory",_kwnames
,&_arg0
))
9668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9669 _result
= (wxFileHistory
*)new_wxFileHistory(_arg0
);
9671 wxPyEndAllowThreads(__tstate
);
9672 if (PyErr_Occurred()) return NULL
;
9674 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileHistory_p");
9675 _resultobj
= Py_BuildValue("s",_ptemp
);
9678 _resultobj
= Py_None
;
9683 #define delete_wxFileHistory(_swigobj) (delete _swigobj)
9684 static PyObject
*_wrap_delete_wxFileHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9685 PyObject
* _resultobj
;
9686 wxFileHistory
* _arg0
;
9687 PyObject
* _argo0
= 0;
9688 char *_kwnames
[] = { "self", NULL
};
9691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxFileHistory",_kwnames
,&_argo0
))
9694 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9695 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9696 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxFileHistory. Expected _wxFileHistory_p.");
9701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9702 delete_wxFileHistory(_arg0
);
9704 wxPyEndAllowThreads(__tstate
);
9705 if (PyErr_Occurred()) return NULL
;
9706 } Py_INCREF(Py_None
);
9707 _resultobj
= Py_None
;
9711 #define wxFileHistory_AddFileToHistory(_swigobj,_swigarg0) (_swigobj->AddFileToHistory(_swigarg0))
9712 static PyObject
*_wrap_wxFileHistory_AddFileToHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9713 PyObject
* _resultobj
;
9714 wxFileHistory
* _arg0
;
9716 PyObject
* _argo0
= 0;
9717 PyObject
* _obj1
= 0;
9718 char *_kwnames
[] = { "self","file", NULL
};
9721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileHistory_AddFileToHistory",_kwnames
,&_argo0
,&_obj1
))
9724 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9725 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9726 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_AddFileToHistory. Expected _wxFileHistory_p.");
9731 #if PYTHON_API_VERSION >= 1009
9732 char* tmpPtr
; int tmpSize
;
9733 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
9734 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9737 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
9739 _arg1
= new wxString(tmpPtr
, tmpSize
);
9741 if (!PyString_Check(_obj1
)) {
9742 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9745 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
9749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9750 wxFileHistory_AddFileToHistory(_arg0
,*_arg1
);
9752 wxPyEndAllowThreads(__tstate
);
9753 if (PyErr_Occurred()) return NULL
;
9754 } Py_INCREF(Py_None
);
9755 _resultobj
= Py_None
;
9763 #define wxFileHistory_RemoveFileFromHistory(_swigobj,_swigarg0) (_swigobj->RemoveFileFromHistory(_swigarg0))
9764 static PyObject
*_wrap_wxFileHistory_RemoveFileFromHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9765 PyObject
* _resultobj
;
9766 wxFileHistory
* _arg0
;
9768 PyObject
* _argo0
= 0;
9769 char *_kwnames
[] = { "self","i", NULL
};
9772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFileHistory_RemoveFileFromHistory",_kwnames
,&_argo0
,&_arg1
))
9775 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9776 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9777 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_RemoveFileFromHistory. Expected _wxFileHistory_p.");
9782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9783 wxFileHistory_RemoveFileFromHistory(_arg0
,_arg1
);
9785 wxPyEndAllowThreads(__tstate
);
9786 if (PyErr_Occurred()) return NULL
;
9787 } Py_INCREF(Py_None
);
9788 _resultobj
= Py_None
;
9792 #define wxFileHistory_GetMaxFiles(_swigobj) (_swigobj->GetMaxFiles())
9793 static PyObject
*_wrap_wxFileHistory_GetMaxFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9794 PyObject
* _resultobj
;
9796 wxFileHistory
* _arg0
;
9797 PyObject
* _argo0
= 0;
9798 char *_kwnames
[] = { "self", NULL
};
9801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileHistory_GetMaxFiles",_kwnames
,&_argo0
))
9804 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9805 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9806 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_GetMaxFiles. Expected _wxFileHistory_p.");
9811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9812 _result
= (int )wxFileHistory_GetMaxFiles(_arg0
);
9814 wxPyEndAllowThreads(__tstate
);
9815 if (PyErr_Occurred()) return NULL
;
9816 } _resultobj
= Py_BuildValue("i",_result
);
9820 #define wxFileHistory_UseMenu(_swigobj,_swigarg0) (_swigobj->UseMenu(_swigarg0))
9821 static PyObject
*_wrap_wxFileHistory_UseMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9822 PyObject
* _resultobj
;
9823 wxFileHistory
* _arg0
;
9825 PyObject
* _argo0
= 0;
9826 PyObject
* _argo1
= 0;
9827 char *_kwnames
[] = { "self","menu", NULL
};
9830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileHistory_UseMenu",_kwnames
,&_argo0
,&_argo1
))
9833 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9834 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9835 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_UseMenu. Expected _wxFileHistory_p.");
9840 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9841 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
9842 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFileHistory_UseMenu. Expected _wxMenu_p.");
9847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9848 wxFileHistory_UseMenu(_arg0
,_arg1
);
9850 wxPyEndAllowThreads(__tstate
);
9851 if (PyErr_Occurred()) return NULL
;
9852 } Py_INCREF(Py_None
);
9853 _resultobj
= Py_None
;
9857 #define wxFileHistory_RemoveMenu(_swigobj,_swigarg0) (_swigobj->RemoveMenu(_swigarg0))
9858 static PyObject
*_wrap_wxFileHistory_RemoveMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9859 PyObject
* _resultobj
;
9860 wxFileHistory
* _arg0
;
9862 PyObject
* _argo0
= 0;
9863 PyObject
* _argo1
= 0;
9864 char *_kwnames
[] = { "self","menu", NULL
};
9867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileHistory_RemoveMenu",_kwnames
,&_argo0
,&_argo1
))
9870 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9871 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9872 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_RemoveMenu. Expected _wxFileHistory_p.");
9877 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9878 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
9879 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFileHistory_RemoveMenu. Expected _wxMenu_p.");
9884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9885 wxFileHistory_RemoveMenu(_arg0
,_arg1
);
9887 wxPyEndAllowThreads(__tstate
);
9888 if (PyErr_Occurred()) return NULL
;
9889 } Py_INCREF(Py_None
);
9890 _resultobj
= Py_None
;
9894 #define wxFileHistory_Load(_swigobj,_swigarg0) (_swigobj->Load(_swigarg0))
9895 static PyObject
*_wrap_wxFileHistory_Load(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9896 PyObject
* _resultobj
;
9897 wxFileHistory
* _arg0
;
9898 wxConfigBase
* _arg1
;
9899 PyObject
* _argo0
= 0;
9900 PyObject
* _argo1
= 0;
9901 char *_kwnames
[] = { "self","config", NULL
};
9904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileHistory_Load",_kwnames
,&_argo0
,&_argo1
))
9907 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9908 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9909 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_Load. Expected _wxFileHistory_p.");
9914 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9915 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxConfigBase_p")) {
9916 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFileHistory_Load. Expected _wxConfigBase_p.");
9921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9922 wxFileHistory_Load(_arg0
,*_arg1
);
9924 wxPyEndAllowThreads(__tstate
);
9925 if (PyErr_Occurred()) return NULL
;
9926 } Py_INCREF(Py_None
);
9927 _resultobj
= Py_None
;
9931 #define wxFileHistory_Save(_swigobj,_swigarg0) (_swigobj->Save(_swigarg0))
9932 static PyObject
*_wrap_wxFileHistory_Save(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9933 PyObject
* _resultobj
;
9934 wxFileHistory
* _arg0
;
9935 wxConfigBase
* _arg1
;
9936 PyObject
* _argo0
= 0;
9937 PyObject
* _argo1
= 0;
9938 char *_kwnames
[] = { "self","config", NULL
};
9941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileHistory_Save",_kwnames
,&_argo0
,&_argo1
))
9944 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9945 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9946 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_Save. Expected _wxFileHistory_p.");
9951 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9952 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxConfigBase_p")) {
9953 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFileHistory_Save. Expected _wxConfigBase_p.");
9958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9959 wxFileHistory_Save(_arg0
,*_arg1
);
9961 wxPyEndAllowThreads(__tstate
);
9962 if (PyErr_Occurred()) return NULL
;
9963 } Py_INCREF(Py_None
);
9964 _resultobj
= Py_None
;
9968 #define wxFileHistory_AddFilesToMenu(_swigobj) (_swigobj->AddFilesToMenu())
9969 static PyObject
*_wrap_wxFileHistory_AddFilesToMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9970 PyObject
* _resultobj
;
9971 wxFileHistory
* _arg0
;
9972 PyObject
* _argo0
= 0;
9973 char *_kwnames
[] = { "self", NULL
};
9976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileHistory_AddFilesToMenu",_kwnames
,&_argo0
))
9979 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9980 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9981 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_AddFilesToMenu. Expected _wxFileHistory_p.");
9986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9987 wxFileHistory_AddFilesToMenu(_arg0
);
9989 wxPyEndAllowThreads(__tstate
);
9990 if (PyErr_Occurred()) return NULL
;
9991 } Py_INCREF(Py_None
);
9992 _resultobj
= Py_None
;
9996 #define wxFileHistory_AddFilesToSingleMenu(_swigobj,_swigarg0) (_swigobj->AddFilesToMenu(_swigarg0))
9997 static PyObject
*_wrap_wxFileHistory_AddFilesToSingleMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9998 PyObject
* _resultobj
;
9999 wxFileHistory
* _arg0
;
10001 PyObject
* _argo0
= 0;
10002 PyObject
* _argo1
= 0;
10003 char *_kwnames
[] = { "self","menu", NULL
};
10006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileHistory_AddFilesToSingleMenu",_kwnames
,&_argo0
,&_argo1
))
10009 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10010 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
10011 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_AddFilesToSingleMenu. Expected _wxFileHistory_p.");
10016 if (_argo1
== Py_None
) { _arg1
= NULL
; }
10017 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
10018 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFileHistory_AddFilesToSingleMenu. Expected _wxMenu_p.");
10023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10024 wxFileHistory_AddFilesToSingleMenu(_arg0
,_arg1
);
10026 wxPyEndAllowThreads(__tstate
);
10027 if (PyErr_Occurred()) return NULL
;
10028 } Py_INCREF(Py_None
);
10029 _resultobj
= Py_None
;
10033 #define wxFileHistory_GetHistoryFile(_swigobj,_swigarg0) (_swigobj->GetHistoryFile(_swigarg0))
10034 static PyObject
*_wrap_wxFileHistory_GetHistoryFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10035 PyObject
* _resultobj
;
10036 wxString
* _result
;
10037 wxFileHistory
* _arg0
;
10039 PyObject
* _argo0
= 0;
10040 char *_kwnames
[] = { "self","i", NULL
};
10043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFileHistory_GetHistoryFile",_kwnames
,&_argo0
,&_arg1
))
10046 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10047 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
10048 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_GetHistoryFile. Expected _wxFileHistory_p.");
10053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10054 _result
= new wxString (wxFileHistory_GetHistoryFile(_arg0
,_arg1
));
10056 wxPyEndAllowThreads(__tstate
);
10057 if (PyErr_Occurred()) return NULL
;
10059 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
10067 #define wxFileHistory_GetCount(_swigobj) (_swigobj->GetCount())
10068 static PyObject
*_wrap_wxFileHistory_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10069 PyObject
* _resultobj
;
10071 wxFileHistory
* _arg0
;
10072 PyObject
* _argo0
= 0;
10073 char *_kwnames
[] = { "self", NULL
};
10076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileHistory_GetCount",_kwnames
,&_argo0
))
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_GetCount. Expected _wxFileHistory_p.");
10086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10087 _result
= (int )wxFileHistory_GetCount(_arg0
);
10089 wxPyEndAllowThreads(__tstate
);
10090 if (PyErr_Occurred()) return NULL
;
10091 } _resultobj
= Py_BuildValue("i",_result
);
10095 #define wxFileHistory_GetNoHistoryFiles(_swigobj) (_swigobj->GetNoHistoryFiles())
10096 static PyObject
*_wrap_wxFileHistory_GetNoHistoryFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10097 PyObject
* _resultobj
;
10099 wxFileHistory
* _arg0
;
10100 PyObject
* _argo0
= 0;
10101 char *_kwnames
[] = { "self", NULL
};
10104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileHistory_GetNoHistoryFiles",_kwnames
,&_argo0
))
10107 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10108 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
10109 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_GetNoHistoryFiles. Expected _wxFileHistory_p.");
10114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10115 _result
= (int )wxFileHistory_GetNoHistoryFiles(_arg0
);
10117 wxPyEndAllowThreads(__tstate
);
10118 if (PyErr_Occurred()) return NULL
;
10119 } _resultobj
= Py_BuildValue("i",_result
);
10123 static PyMethodDef misc2cMethods
[] = {
10124 { "wxFileHistory_GetNoHistoryFiles", (PyCFunction
) _wrap_wxFileHistory_GetNoHistoryFiles
, METH_VARARGS
| METH_KEYWORDS
},
10125 { "wxFileHistory_GetCount", (PyCFunction
) _wrap_wxFileHistory_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
10126 { "wxFileHistory_GetHistoryFile", (PyCFunction
) _wrap_wxFileHistory_GetHistoryFile
, METH_VARARGS
| METH_KEYWORDS
},
10127 { "wxFileHistory_AddFilesToSingleMenu", (PyCFunction
) _wrap_wxFileHistory_AddFilesToSingleMenu
, METH_VARARGS
| METH_KEYWORDS
},
10128 { "wxFileHistory_AddFilesToMenu", (PyCFunction
) _wrap_wxFileHistory_AddFilesToMenu
, METH_VARARGS
| METH_KEYWORDS
},
10129 { "wxFileHistory_Save", (PyCFunction
) _wrap_wxFileHistory_Save
, METH_VARARGS
| METH_KEYWORDS
},
10130 { "wxFileHistory_Load", (PyCFunction
) _wrap_wxFileHistory_Load
, METH_VARARGS
| METH_KEYWORDS
},
10131 { "wxFileHistory_RemoveMenu", (PyCFunction
) _wrap_wxFileHistory_RemoveMenu
, METH_VARARGS
| METH_KEYWORDS
},
10132 { "wxFileHistory_UseMenu", (PyCFunction
) _wrap_wxFileHistory_UseMenu
, METH_VARARGS
| METH_KEYWORDS
},
10133 { "wxFileHistory_GetMaxFiles", (PyCFunction
) _wrap_wxFileHistory_GetMaxFiles
, METH_VARARGS
| METH_KEYWORDS
},
10134 { "wxFileHistory_RemoveFileFromHistory", (PyCFunction
) _wrap_wxFileHistory_RemoveFileFromHistory
, METH_VARARGS
| METH_KEYWORDS
},
10135 { "wxFileHistory_AddFileToHistory", (PyCFunction
) _wrap_wxFileHistory_AddFileToHistory
, METH_VARARGS
| METH_KEYWORDS
},
10136 { "delete_wxFileHistory", (PyCFunction
) _wrap_delete_wxFileHistory
, METH_VARARGS
| METH_KEYWORDS
},
10137 { "new_wxFileHistory", (PyCFunction
) _wrap_new_wxFileHistory
, METH_VARARGS
| METH_KEYWORDS
},
10138 { "delete_wxMimeTypesManager", (PyCFunction
) _wrap_delete_wxMimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
},
10139 { "wxMimeTypesManager_Unassociate", (PyCFunction
) _wrap_wxMimeTypesManager_Unassociate
, METH_VARARGS
| METH_KEYWORDS
},
10140 { "wxMimeTypesManager_Associate", (PyCFunction
) _wrap_wxMimeTypesManager_Associate
, METH_VARARGS
| METH_KEYWORDS
},
10141 { "wxMimeTypesManager_AddFallback", (PyCFunction
) _wrap_wxMimeTypesManager_AddFallback
, METH_VARARGS
| METH_KEYWORDS
},
10142 { "wxMimeTypesManager_EnumAllFileTypes", (PyCFunction
) _wrap_wxMimeTypesManager_EnumAllFileTypes
, METH_VARARGS
| METH_KEYWORDS
},
10143 { "wxMimeTypesManager_ReadMimeTypes", (PyCFunction
) _wrap_wxMimeTypesManager_ReadMimeTypes
, METH_VARARGS
| METH_KEYWORDS
},
10144 { "wxMimeTypesManager_ReadMailcap", (PyCFunction
) _wrap_wxMimeTypesManager_ReadMailcap
, METH_VARARGS
| METH_KEYWORDS
},
10145 { "wxMimeTypesManager_GetFileTypeFromMimeType", (PyCFunction
) _wrap_wxMimeTypesManager_GetFileTypeFromMimeType
, METH_VARARGS
| METH_KEYWORDS
},
10146 { "wxMimeTypesManager_GetFileTypeFromExtension", (PyCFunction
) _wrap_wxMimeTypesManager_GetFileTypeFromExtension
, METH_VARARGS
| METH_KEYWORDS
},
10147 { "wxMimeTypesManager_ClearData", (PyCFunction
) _wrap_wxMimeTypesManager_ClearData
, METH_VARARGS
| METH_KEYWORDS
},
10148 { "wxMimeTypesManager_Initialize", (PyCFunction
) _wrap_wxMimeTypesManager_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
10149 { "new_wxMimeTypesManager", (PyCFunction
) _wrap_new_wxMimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
},
10150 { "wxMimeTypesManager_IsOfType", (PyCFunction
) _wrap_wxMimeTypesManager_IsOfType
, METH_VARARGS
| METH_KEYWORDS
},
10151 { "delete_wxFileType", (PyCFunction
) _wrap_delete_wxFileType
, METH_VARARGS
| METH_KEYWORDS
},
10152 { "wxFileType_ExpandCommand", (PyCFunction
) _wrap_wxFileType_ExpandCommand
, METH_VARARGS
| METH_KEYWORDS
},
10153 { "wxFileType_Unassociate", (PyCFunction
) _wrap_wxFileType_Unassociate
, METH_VARARGS
| METH_KEYWORDS
},
10154 { "wxFileType_SetDefaultIcon", (PyCFunction
) _wrap_wxFileType_SetDefaultIcon
, METH_VARARGS
| METH_KEYWORDS
},
10155 { "wxFileType_SetCommand", (PyCFunction
) _wrap_wxFileType_SetCommand
, METH_VARARGS
| METH_KEYWORDS
},
10156 { "wxFileType_GetAllCommands", (PyCFunction
) _wrap_wxFileType_GetAllCommands
, METH_VARARGS
| METH_KEYWORDS
},
10157 { "wxFileType_GetPrintCommand", (PyCFunction
) _wrap_wxFileType_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
},
10158 { "wxFileType_GetOpenCommand", (PyCFunction
) _wrap_wxFileType_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
},
10159 { "wxFileType_GetDescription", (PyCFunction
) _wrap_wxFileType_GetDescription
, METH_VARARGS
| METH_KEYWORDS
},
10160 { "wxFileType_GetIconInfo", (PyCFunction
) _wrap_wxFileType_GetIconInfo
, METH_VARARGS
| METH_KEYWORDS
},
10161 { "wxFileType_GetIcon", (PyCFunction
) _wrap_wxFileType_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
10162 { "wxFileType_GetExtensions", (PyCFunction
) _wrap_wxFileType_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
},
10163 { "wxFileType_GetMimeTypes", (PyCFunction
) _wrap_wxFileType_GetMimeTypes
, METH_VARARGS
| METH_KEYWORDS
},
10164 { "wxFileType_GetMimeType", (PyCFunction
) _wrap_wxFileType_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
10165 { "new_wxFileType", (PyCFunction
) _wrap_new_wxFileType
, METH_VARARGS
| METH_KEYWORDS
},
10166 { "wxFileTypeInfo_GetIconIndex", (PyCFunction
) _wrap_wxFileTypeInfo_GetIconIndex
, METH_VARARGS
| METH_KEYWORDS
},
10167 { "wxFileTypeInfo_GetIconFile", (PyCFunction
) _wrap_wxFileTypeInfo_GetIconFile
, METH_VARARGS
| METH_KEYWORDS
},
10168 { "wxFileTypeInfo_GetExtensionsCount", (PyCFunction
) _wrap_wxFileTypeInfo_GetExtensionsCount
, METH_VARARGS
| METH_KEYWORDS
},
10169 { "wxFileTypeInfo_GetExtensions", (PyCFunction
) _wrap_wxFileTypeInfo_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
},
10170 { "wxFileTypeInfo_GetDescription", (PyCFunction
) _wrap_wxFileTypeInfo_GetDescription
, METH_VARARGS
| METH_KEYWORDS
},
10171 { "wxFileTypeInfo_GetShortDesc", (PyCFunction
) _wrap_wxFileTypeInfo_GetShortDesc
, METH_VARARGS
| METH_KEYWORDS
},
10172 { "wxFileTypeInfo_GetPrintCommand", (PyCFunction
) _wrap_wxFileTypeInfo_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
},
10173 { "wxFileTypeInfo_GetOpenCommand", (PyCFunction
) _wrap_wxFileTypeInfo_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
},
10174 { "wxFileTypeInfo_GetMimeType", (PyCFunction
) _wrap_wxFileTypeInfo_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
10175 { "wxFileTypeInfo_SetShortDesc", (PyCFunction
) _wrap_wxFileTypeInfo_SetShortDesc
, METH_VARARGS
| METH_KEYWORDS
},
10176 { "wxFileTypeInfo_SetIcon", (PyCFunction
) _wrap_wxFileTypeInfo_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
10177 { "wxFileTypeInfo_IsValid", (PyCFunction
) _wrap_wxFileTypeInfo_IsValid
, METH_VARARGS
| METH_KEYWORDS
},
10178 { "new_wxNullFileTypeInfo", (PyCFunction
) _wrap_new_wxNullFileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
},
10179 { "new_wxFileTypeInfoSequence", (PyCFunction
) _wrap_new_wxFileTypeInfoSequence
, METH_VARARGS
| METH_KEYWORDS
},
10180 { "new_wxFileTypeInfo", (PyCFunction
) _wrap_new_wxFileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
},
10181 { "wxWave_Play", (PyCFunction
) _wrap_wxWave_Play
, METH_VARARGS
| METH_KEYWORDS
},
10182 { "wxWave_IsOk", (PyCFunction
) _wrap_wxWave_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
10183 { "delete_wxWave", (PyCFunction
) _wrap_delete_wxWave
, METH_VARARGS
| METH_KEYWORDS
},
10184 { "new_wxWave", (PyCFunction
) _wrap_new_wxWave
, METH_VARARGS
| METH_KEYWORDS
},
10185 { "wxJoystick_ReleaseCapture", (PyCFunction
) _wrap_wxJoystick_ReleaseCapture
, METH_VARARGS
| METH_KEYWORDS
},
10186 { "wxJoystick_SetCapture", (PyCFunction
) _wrap_wxJoystick_SetCapture
, METH_VARARGS
| METH_KEYWORDS
},
10187 { "wxJoystick_HasPOVCTS", (PyCFunction
) _wrap_wxJoystick_HasPOVCTS
, METH_VARARGS
| METH_KEYWORDS
},
10188 { "wxJoystick_HasPOV4Dir", (PyCFunction
) _wrap_wxJoystick_HasPOV4Dir
, METH_VARARGS
| METH_KEYWORDS
},
10189 { "wxJoystick_HasPOV", (PyCFunction
) _wrap_wxJoystick_HasPOV
, METH_VARARGS
| METH_KEYWORDS
},
10190 { "wxJoystick_HasV", (PyCFunction
) _wrap_wxJoystick_HasV
, METH_VARARGS
| METH_KEYWORDS
},
10191 { "wxJoystick_HasU", (PyCFunction
) _wrap_wxJoystick_HasU
, METH_VARARGS
| METH_KEYWORDS
},
10192 { "wxJoystick_HasZ", (PyCFunction
) _wrap_wxJoystick_HasZ
, METH_VARARGS
| METH_KEYWORDS
},
10193 { "wxJoystick_HasRudder", (PyCFunction
) _wrap_wxJoystick_HasRudder
, METH_VARARGS
| METH_KEYWORDS
},
10194 { "wxJoystick_GetVMax", (PyCFunction
) _wrap_wxJoystick_GetVMax
, METH_VARARGS
| METH_KEYWORDS
},
10195 { "wxJoystick_GetVMin", (PyCFunction
) _wrap_wxJoystick_GetVMin
, METH_VARARGS
| METH_KEYWORDS
},
10196 { "wxJoystick_GetUMax", (PyCFunction
) _wrap_wxJoystick_GetUMax
, METH_VARARGS
| METH_KEYWORDS
},
10197 { "wxJoystick_GetUMin", (PyCFunction
) _wrap_wxJoystick_GetUMin
, METH_VARARGS
| METH_KEYWORDS
},
10198 { "wxJoystick_GetRudderMax", (PyCFunction
) _wrap_wxJoystick_GetRudderMax
, METH_VARARGS
| METH_KEYWORDS
},
10199 { "wxJoystick_GetRudderMin", (PyCFunction
) _wrap_wxJoystick_GetRudderMin
, METH_VARARGS
| METH_KEYWORDS
},
10200 { "wxJoystick_GetPollingMax", (PyCFunction
) _wrap_wxJoystick_GetPollingMax
, METH_VARARGS
| METH_KEYWORDS
},
10201 { "wxJoystick_GetPollingMin", (PyCFunction
) _wrap_wxJoystick_GetPollingMin
, METH_VARARGS
| METH_KEYWORDS
},
10202 { "wxJoystick_GetMaxAxes", (PyCFunction
) _wrap_wxJoystick_GetMaxAxes
, METH_VARARGS
| METH_KEYWORDS
},
10203 { "wxJoystick_GetMaxButtons", (PyCFunction
) _wrap_wxJoystick_GetMaxButtons
, METH_VARARGS
| METH_KEYWORDS
},
10204 { "wxJoystick_GetNumberAxes", (PyCFunction
) _wrap_wxJoystick_GetNumberAxes
, METH_VARARGS
| METH_KEYWORDS
},
10205 { "wxJoystick_GetNumberButtons", (PyCFunction
) _wrap_wxJoystick_GetNumberButtons
, METH_VARARGS
| METH_KEYWORDS
},
10206 { "wxJoystick_GetZMax", (PyCFunction
) _wrap_wxJoystick_GetZMax
, METH_VARARGS
| METH_KEYWORDS
},
10207 { "wxJoystick_GetYMax", (PyCFunction
) _wrap_wxJoystick_GetYMax
, METH_VARARGS
| METH_KEYWORDS
},
10208 { "wxJoystick_GetXMax", (PyCFunction
) _wrap_wxJoystick_GetXMax
, METH_VARARGS
| METH_KEYWORDS
},
10209 { "wxJoystick_GetZMin", (PyCFunction
) _wrap_wxJoystick_GetZMin
, METH_VARARGS
| METH_KEYWORDS
},
10210 { "wxJoystick_GetYMin", (PyCFunction
) _wrap_wxJoystick_GetYMin
, METH_VARARGS
| METH_KEYWORDS
},
10211 { "wxJoystick_GetXMin", (PyCFunction
) _wrap_wxJoystick_GetXMin
, METH_VARARGS
| METH_KEYWORDS
},
10212 { "wxJoystick_GetProductName", (PyCFunction
) _wrap_wxJoystick_GetProductName
, METH_VARARGS
| METH_KEYWORDS
},
10213 { "wxJoystick_GetProductId", (PyCFunction
) _wrap_wxJoystick_GetProductId
, METH_VARARGS
| METH_KEYWORDS
},
10214 { "wxJoystick_GetManufacturerId", (PyCFunction
) _wrap_wxJoystick_GetManufacturerId
, METH_VARARGS
| METH_KEYWORDS
},
10215 { "wxJoystick_GetNumberJoysticks", (PyCFunction
) _wrap_wxJoystick_GetNumberJoysticks
, METH_VARARGS
| METH_KEYWORDS
},
10216 { "wxJoystick_IsOk", (PyCFunction
) _wrap_wxJoystick_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
10217 { "wxJoystick_SetMovementThreshold", (PyCFunction
) _wrap_wxJoystick_SetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
},
10218 { "wxJoystick_GetMovementThreshold", (PyCFunction
) _wrap_wxJoystick_GetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
},
10219 { "wxJoystick_GetVPosition", (PyCFunction
) _wrap_wxJoystick_GetVPosition
, METH_VARARGS
| METH_KEYWORDS
},
10220 { "wxJoystick_GetUPosition", (PyCFunction
) _wrap_wxJoystick_GetUPosition
, METH_VARARGS
| METH_KEYWORDS
},
10221 { "wxJoystick_GetRudderPosition", (PyCFunction
) _wrap_wxJoystick_GetRudderPosition
, METH_VARARGS
| METH_KEYWORDS
},
10222 { "wxJoystick_GetPOVCTSPosition", (PyCFunction
) _wrap_wxJoystick_GetPOVCTSPosition
, METH_VARARGS
| METH_KEYWORDS
},
10223 { "wxJoystick_GetPOVPosition", (PyCFunction
) _wrap_wxJoystick_GetPOVPosition
, METH_VARARGS
| METH_KEYWORDS
},
10224 { "wxJoystick_GetButtonState", (PyCFunction
) _wrap_wxJoystick_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
},
10225 { "wxJoystick_GetZPosition", (PyCFunction
) _wrap_wxJoystick_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
},
10226 { "wxJoystick_GetPosition", (PyCFunction
) _wrap_wxJoystick_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
10227 { "delete_wxJoystick", (PyCFunction
) _wrap_delete_wxJoystick
, METH_VARARGS
| METH_KEYWORDS
},
10228 { "new_wxJoystick", (PyCFunction
) _wrap_new_wxJoystick
, METH_VARARGS
| METH_KEYWORDS
},
10229 { "wxProcess_CloseOutput", (PyCFunction
) _wrap_wxProcess_CloseOutput
, METH_VARARGS
| METH_KEYWORDS
},
10230 { "wxProcess_GetOutputStream", (PyCFunction
) _wrap_wxProcess_GetOutputStream
, METH_VARARGS
| METH_KEYWORDS
},
10231 { "wxProcess_GetErrorStream", (PyCFunction
) _wrap_wxProcess_GetErrorStream
, METH_VARARGS
| METH_KEYWORDS
},
10232 { "wxProcess_GetInputStream", (PyCFunction
) _wrap_wxProcess_GetInputStream
, METH_VARARGS
| METH_KEYWORDS
},
10233 { "wxProcess_Detach", (PyCFunction
) _wrap_wxProcess_Detach
, METH_VARARGS
| METH_KEYWORDS
},
10234 { "wxProcess_IsRedirected", (PyCFunction
) _wrap_wxProcess_IsRedirected
, METH_VARARGS
| METH_KEYWORDS
},
10235 { "wxProcess_Redirect", (PyCFunction
) _wrap_wxProcess_Redirect
, METH_VARARGS
| METH_KEYWORDS
},
10236 { "wxProcess_base_OnTerminate", (PyCFunction
) _wrap_wxProcess_base_OnTerminate
, METH_VARARGS
| METH_KEYWORDS
},
10237 { "wxProcess__setCallbackInfo", (PyCFunction
) _wrap_wxProcess__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
10238 { "wxProcess_Destroy", (PyCFunction
) _wrap_wxProcess_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
10239 { "new_wxProcess", (PyCFunction
) _wrap_new_wxProcess
, METH_VARARGS
| METH_KEYWORDS
},
10240 { "wxProcessEvent_m_exitcode_get", (PyCFunction
) _wrap_wxProcessEvent_m_exitcode_get
, METH_VARARGS
| METH_KEYWORDS
},
10241 { "wxProcessEvent_m_exitcode_set", (PyCFunction
) _wrap_wxProcessEvent_m_exitcode_set
, METH_VARARGS
| METH_KEYWORDS
},
10242 { "wxProcessEvent_m_pid_get", (PyCFunction
) _wrap_wxProcessEvent_m_pid_get
, METH_VARARGS
| METH_KEYWORDS
},
10243 { "wxProcessEvent_m_pid_set", (PyCFunction
) _wrap_wxProcessEvent_m_pid_set
, METH_VARARGS
| METH_KEYWORDS
},
10244 { "wxProcessEvent_GetExitCode", (PyCFunction
) _wrap_wxProcessEvent_GetExitCode
, METH_VARARGS
| METH_KEYWORDS
},
10245 { "wxProcessEvent_GetPid", (PyCFunction
) _wrap_wxProcessEvent_GetPid
, METH_VARARGS
| METH_KEYWORDS
},
10246 { "new_wxProcessEvent", (PyCFunction
) _wrap_new_wxProcessEvent
, METH_VARARGS
| METH_KEYWORDS
},
10247 { "wxPyLog_Destroy", (PyCFunction
) _wrap_wxPyLog_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
10248 { "wxPyLog__setCallbackInfo", (PyCFunction
) _wrap_wxPyLog__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
10249 { "new_wxPyLog", (PyCFunction
) _wrap_new_wxPyLog
, METH_VARARGS
| METH_KEYWORDS
},
10250 { "wxLogChain_GetOldLog", (PyCFunction
) _wrap_wxLogChain_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
},
10251 { "wxLogChain_IsPassingMessages", (PyCFunction
) _wrap_wxLogChain_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
},
10252 { "wxLogChain_PassMessages", (PyCFunction
) _wrap_wxLogChain_PassMessages
, METH_VARARGS
| METH_KEYWORDS
},
10253 { "wxLogChain_SetLog", (PyCFunction
) _wrap_wxLogChain_SetLog
, METH_VARARGS
| METH_KEYWORDS
},
10254 { "new_wxLogChain", (PyCFunction
) _wrap_new_wxLogChain
, METH_VARARGS
| METH_KEYWORDS
},
10255 { "delete_wxLogNull", (PyCFunction
) _wrap_delete_wxLogNull
, METH_VARARGS
| METH_KEYWORDS
},
10256 { "new_wxLogNull", (PyCFunction
) _wrap_new_wxLogNull
, METH_VARARGS
| METH_KEYWORDS
},
10257 { "wxLogWindow_PassMessages", (PyCFunction
) _wrap_wxLogWindow_PassMessages
, METH_VARARGS
| METH_KEYWORDS
},
10258 { "wxLogWindow_IsPassingMessages", (PyCFunction
) _wrap_wxLogWindow_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
},
10259 { "wxLogWindow_GetOldLog", (PyCFunction
) _wrap_wxLogWindow_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
},
10260 { "wxLogWindow_GetFrame", (PyCFunction
) _wrap_wxLogWindow_GetFrame
, METH_VARARGS
| METH_KEYWORDS
},
10261 { "wxLogWindow_Show", (PyCFunction
) _wrap_wxLogWindow_Show
, METH_VARARGS
| METH_KEYWORDS
},
10262 { "new_wxLogWindow", (PyCFunction
) _wrap_new_wxLogWindow
, METH_VARARGS
| METH_KEYWORDS
},
10263 { "new_wxLogGui", (PyCFunction
) _wrap_new_wxLogGui
, METH_VARARGS
| METH_KEYWORDS
},
10264 { "new_wxLogTextCtrl", (PyCFunction
) _wrap_new_wxLogTextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
10265 { "new_wxLogStderr", (PyCFunction
) _wrap_new_wxLogStderr
, METH_VARARGS
| METH_KEYWORDS
},
10266 { "wxLog_TimeStamp", (PyCFunction
) _wrap_wxLog_TimeStamp
, METH_VARARGS
| METH_KEYWORDS
},
10267 { "wxLog_IsAllowedTraceMask", (PyCFunction
) _wrap_wxLog_IsAllowedTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
10268 { "wxLog_GetTraceMask", (PyCFunction
) _wrap_wxLog_GetTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
10269 { "wxLog_GetVerbose", (PyCFunction
) _wrap_wxLog_GetVerbose
, METH_VARARGS
| METH_KEYWORDS
},
10270 { "wxLog_GetTimestamp", (PyCFunction
) _wrap_wxLog_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
10271 { "wxLog_SetTimestamp", (PyCFunction
) _wrap_wxLog_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
10272 { "wxLog_ClearTraceMasks", (PyCFunction
) _wrap_wxLog_ClearTraceMasks
, METH_VARARGS
| METH_KEYWORDS
},
10273 { "wxLog_RemoveTraceMask", (PyCFunction
) _wrap_wxLog_RemoveTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
10274 { "wxLog_AddTraceMask", (PyCFunction
) _wrap_wxLog_AddTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
10275 { "wxLog_SetTraceMask", (PyCFunction
) _wrap_wxLog_SetTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
10276 { "wxLog_DontCreateOnDemand", (PyCFunction
) _wrap_wxLog_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
},
10277 { "wxLog_SetVerbose", (PyCFunction
) _wrap_wxLog_SetVerbose
, METH_VARARGS
| METH_KEYWORDS
},
10278 { "wxLog_Resume", (PyCFunction
) _wrap_wxLog_Resume
, METH_VARARGS
| METH_KEYWORDS
},
10279 { "wxLog_Suspend", (PyCFunction
) _wrap_wxLog_Suspend
, METH_VARARGS
| METH_KEYWORDS
},
10280 { "wxLog_SetActiveTarget", (PyCFunction
) _wrap_wxLog_SetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
},
10281 { "wxLog_GetActiveTarget", (PyCFunction
) _wrap_wxLog_GetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
},
10282 { "wxLog_FlushActive", (PyCFunction
) _wrap_wxLog_FlushActive
, METH_VARARGS
| METH_KEYWORDS
},
10283 { "wxLog_HasPendingMessages", (PyCFunction
) _wrap_wxLog_HasPendingMessages
, METH_VARARGS
| METH_KEYWORDS
},
10284 { "wxLog_Flush", (PyCFunction
) _wrap_wxLog_Flush
, METH_VARARGS
| METH_KEYWORDS
},
10285 { "wxLog_OnLog", (PyCFunction
) _wrap_wxLog_OnLog
, METH_VARARGS
| METH_KEYWORDS
},
10286 { "wxLog_EnableLogging", (PyCFunction
) _wrap_wxLog_EnableLogging
, METH_VARARGS
| METH_KEYWORDS
},
10287 { "wxLog_IsEnabled", (PyCFunction
) _wrap_wxLog_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
10288 { "new_wxLog", (PyCFunction
) _wrap_new_wxLog
, METH_VARARGS
| METH_KEYWORDS
},
10289 { "wxStopWatch_Time", (PyCFunction
) _wrap_wxStopWatch_Time
, METH_VARARGS
| METH_KEYWORDS
},
10290 { "wxStopWatch_Resume", (PyCFunction
) _wrap_wxStopWatch_Resume
, METH_VARARGS
| METH_KEYWORDS
},
10291 { "wxStopWatch_Pause", (PyCFunction
) _wrap_wxStopWatch_Pause
, METH_VARARGS
| METH_KEYWORDS
},
10292 { "wxStopWatch_Start", (PyCFunction
) _wrap_wxStopWatch_Start
, METH_VARARGS
| METH_KEYWORDS
},
10293 { "delete_wxStopWatch", (PyCFunction
) _wrap_delete_wxStopWatch
, METH_VARARGS
| METH_KEYWORDS
},
10294 { "new_wxStopWatch", (PyCFunction
) _wrap_new_wxStopWatch
, METH_VARARGS
| METH_KEYWORDS
},
10295 { "wxPyTimer_Stop", (PyCFunction
) _wrap_wxPyTimer_Stop
, METH_VARARGS
| METH_KEYWORDS
},
10296 { "wxPyTimer_Start", (PyCFunction
) _wrap_wxPyTimer_Start
, METH_VARARGS
| METH_KEYWORDS
},
10297 { "wxPyTimer_SetOwner", (PyCFunction
) _wrap_wxPyTimer_SetOwner
, METH_VARARGS
| METH_KEYWORDS
},
10298 { "wxPyTimer_IsRunning", (PyCFunction
) _wrap_wxPyTimer_IsRunning
, METH_VARARGS
| METH_KEYWORDS
},
10299 { "wxPyTimer_IsOneShot", (PyCFunction
) _wrap_wxPyTimer_IsOneShot
, METH_VARARGS
| METH_KEYWORDS
},
10300 { "wxPyTimer_GetInterval", (PyCFunction
) _wrap_wxPyTimer_GetInterval
, METH_VARARGS
| METH_KEYWORDS
},
10301 { "delete_wxPyTimer", (PyCFunction
) _wrap_delete_wxPyTimer
, METH_VARARGS
| METH_KEYWORDS
},
10302 { "new_wxPyTimer", (PyCFunction
) _wrap_new_wxPyTimer
, METH_VARARGS
| METH_KEYWORDS
},
10303 { "wxDragImage_RedrawImage", (PyCFunction
) _wrap_wxDragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
},
10304 { "wxDragImage_GetImageRect", (PyCFunction
) _wrap_wxDragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
},
10305 { "wxDragImage_Hide", (PyCFunction
) _wrap_wxDragImage_Hide
, METH_VARARGS
| METH_KEYWORDS
},
10306 { "wxDragImage_Show", (PyCFunction
) _wrap_wxDragImage_Show
, METH_VARARGS
| METH_KEYWORDS
},
10307 { "wxDragImage_Move", (PyCFunction
) _wrap_wxDragImage_Move
, METH_VARARGS
| METH_KEYWORDS
},
10308 { "wxDragImage_EndDrag", (PyCFunction
) _wrap_wxDragImage_EndDrag
, METH_VARARGS
| METH_KEYWORDS
},
10309 { "wxDragImage_BeginDrag2", (PyCFunction
) _wrap_wxDragImage_BeginDrag2
, METH_VARARGS
| METH_KEYWORDS
},
10310 { "wxDragImage_BeginDrag", (PyCFunction
) _wrap_wxDragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
},
10311 { "wxDragImage_SetBackingBitmap", (PyCFunction
) _wrap_wxDragImage_SetBackingBitmap
, METH_VARARGS
| METH_KEYWORDS
},
10312 { "delete_wxDragImage", (PyCFunction
) _wrap_delete_wxDragImage
, METH_VARARGS
| METH_KEYWORDS
},
10313 { "new_wxDragListItem", (PyCFunction
) _wrap_new_wxDragListItem
, METH_VARARGS
| METH_KEYWORDS
},
10314 { "new_wxDragTreeItem", (PyCFunction
) _wrap_new_wxDragTreeItem
, METH_VARARGS
| METH_KEYWORDS
},
10315 { "new_wxDragString", (PyCFunction
) _wrap_new_wxDragString
, METH_VARARGS
| METH_KEYWORDS
},
10316 { "new_wxDragIcon", (PyCFunction
) _wrap_new_wxDragIcon
, METH_VARARGS
| METH_KEYWORDS
},
10317 { "new_wxDragImage", (PyCFunction
) _wrap_new_wxDragImage
, METH_VARARGS
| METH_KEYWORDS
},
10318 { "new_wxPyTipProvider", (PyCFunction
) _wrap_new_wxPyTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
10319 { "wxTipProvider_GetCurrentTip", (PyCFunction
) _wrap_wxTipProvider_GetCurrentTip
, METH_VARARGS
| METH_KEYWORDS
},
10320 { "wxTipProvider_GetTip", (PyCFunction
) _wrap_wxTipProvider_GetTip
, METH_VARARGS
| METH_KEYWORDS
},
10321 { "delete_wxTipProvider", (PyCFunction
) _wrap_delete_wxTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
10322 { "delete_wxMutexGuiLocker", (PyCFunction
) _wrap_delete_wxMutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
},
10323 { "new_wxMutexGuiLocker", (PyCFunction
) _wrap_new_wxMutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
},
10324 { "delete_wxWindowDisabler", (PyCFunction
) _wrap_delete_wxWindowDisabler
, METH_VARARGS
| METH_KEYWORDS
},
10325 { "new_wxWindowDisabler", (PyCFunction
) _wrap_new_wxWindowDisabler
, METH_VARARGS
| METH_KEYWORDS
},
10326 { "delete_wxBusyCursor", (PyCFunction
) _wrap_delete_wxBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
10327 { "new_wxBusyCursor", (PyCFunction
) _wrap_new_wxBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
10328 { "wxFontEnumerator_GetFacenames", (PyCFunction
) _wrap_wxFontEnumerator_GetFacenames
, METH_VARARGS
| METH_KEYWORDS
},
10329 { "wxFontEnumerator_GetEncodings", (PyCFunction
) _wrap_wxFontEnumerator_GetEncodings
, METH_VARARGS
| METH_KEYWORDS
},
10330 { "wxFontEnumerator_EnumerateEncodings", (PyCFunction
) _wrap_wxFontEnumerator_EnumerateEncodings
, METH_VARARGS
| METH_KEYWORDS
},
10331 { "wxFontEnumerator_EnumerateFacenames", (PyCFunction
) _wrap_wxFontEnumerator_EnumerateFacenames
, METH_VARARGS
| METH_KEYWORDS
},
10332 { "wxFontEnumerator__setCallbackInfo", (PyCFunction
) _wrap_wxFontEnumerator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
10333 { "delete_wxFontEnumerator", (PyCFunction
) _wrap_delete_wxFontEnumerator
, METH_VARARGS
| METH_KEYWORDS
},
10334 { "new_wxFontEnumerator", (PyCFunction
) _wrap_new_wxFontEnumerator
, METH_VARARGS
| METH_KEYWORDS
},
10335 { "wxCaret_Hide", (PyCFunction
) _wrap_wxCaret_Hide
, METH_VARARGS
| METH_KEYWORDS
},
10336 { "wxCaret_Show", (PyCFunction
) _wrap_wxCaret_Show
, METH_VARARGS
| METH_KEYWORDS
},
10337 { "wxCaret_SetSize", (PyCFunction
) _wrap_wxCaret_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
10338 { "wxCaret_SetSizeWH", (PyCFunction
) _wrap_wxCaret_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
10339 { "wxCaret_Move", (PyCFunction
) _wrap_wxCaret_Move
, METH_VARARGS
| METH_KEYWORDS
},
10340 { "wxCaret_MoveXY", (PyCFunction
) _wrap_wxCaret_MoveXY
, METH_VARARGS
| METH_KEYWORDS
},
10341 { "wxCaret_GetWindow", (PyCFunction
) _wrap_wxCaret_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
10342 { "wxCaret_GetSize", (PyCFunction
) _wrap_wxCaret_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
10343 { "wxCaret_GetSizeTuple", (PyCFunction
) _wrap_wxCaret_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
10344 { "wxCaret_GetPosition", (PyCFunction
) _wrap_wxCaret_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
10345 { "wxCaret_GetPositionTuple", (PyCFunction
) _wrap_wxCaret_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
10346 { "wxCaret_IsVisible", (PyCFunction
) _wrap_wxCaret_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
10347 { "wxCaret_IsOk", (PyCFunction
) _wrap_wxCaret_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
10348 { "delete_wxCaret", (PyCFunction
) _wrap_delete_wxCaret
, METH_VARARGS
| METH_KEYWORDS
},
10349 { "new_wxCaret", (PyCFunction
) _wrap_new_wxCaret
, METH_VARARGS
| METH_KEYWORDS
},
10350 { "wxToolTip_SetDelay", (PyCFunction
) _wrap_wxToolTip_SetDelay
, METH_VARARGS
| METH_KEYWORDS
},
10351 { "wxToolTip_Enable", (PyCFunction
) _wrap_wxToolTip_Enable
, METH_VARARGS
| METH_KEYWORDS
},
10352 { "wxToolTip_GetWindow", (PyCFunction
) _wrap_wxToolTip_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
10353 { "wxToolTip_GetTip", (PyCFunction
) _wrap_wxToolTip_GetTip
, METH_VARARGS
| METH_KEYWORDS
},
10354 { "wxToolTip_SetTip", (PyCFunction
) _wrap_wxToolTip_SetTip
, METH_VARARGS
| METH_KEYWORDS
},
10355 { "new_wxToolTip", (PyCFunction
) _wrap_new_wxToolTip
, METH_VARARGS
| METH_KEYWORDS
},
10356 { "wxSystemSettings_HasFeature", (PyCFunction
) _wrap_wxSystemSettings_HasFeature
, METH_VARARGS
| METH_KEYWORDS
},
10357 { "wxSystemSettings_GetMetric", (PyCFunction
) _wrap_wxSystemSettings_GetMetric
, METH_VARARGS
| METH_KEYWORDS
},
10358 { "wxSystemSettings_GetFont", (PyCFunction
) _wrap_wxSystemSettings_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
10359 { "wxSystemSettings_GetColour", (PyCFunction
) _wrap_wxSystemSettings_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
10360 { "wxWaveData", (PyCFunction
) _wrap_wxWaveData
, METH_VARARGS
| METH_KEYWORDS
},
10361 { "wxExecute", (PyCFunction
) _wrap_wxExecute
, METH_VARARGS
| METH_KEYWORDS
},
10362 { "wxLogSysError", (PyCFunction
) _wrap_wxLogSysError
, METH_VARARGS
| METH_KEYWORDS
},
10363 { "wxLogStatusFrame", (PyCFunction
) _wrap_wxLogStatusFrame
, METH_VARARGS
| METH_KEYWORDS
},
10364 { "wxLogStatus", (PyCFunction
) _wrap_wxLogStatus
, METH_VARARGS
| METH_KEYWORDS
},
10365 { "wxLogVerbose", (PyCFunction
) _wrap_wxLogVerbose
, METH_VARARGS
| METH_KEYWORDS
},
10366 { "wxLogInfo", (PyCFunction
) _wrap_wxLogInfo
, METH_VARARGS
| METH_KEYWORDS
},
10367 { "wxLogMessage", (PyCFunction
) _wrap_wxLogMessage
, METH_VARARGS
| METH_KEYWORDS
},
10368 { "wxLogWarning", (PyCFunction
) _wrap_wxLogWarning
, METH_VARARGS
| METH_KEYWORDS
},
10369 { "wxLogError", (PyCFunction
) _wrap_wxLogError
, METH_VARARGS
| METH_KEYWORDS
},
10370 { "wxLogFatalError", (PyCFunction
) _wrap_wxLogFatalError
, METH_VARARGS
| METH_KEYWORDS
},
10371 { "wxSysErrorMsg", (PyCFunction
) _wrap_wxSysErrorMsg
, METH_VARARGS
| METH_KEYWORDS
},
10372 { "wxSysErrorCode", (PyCFunction
) _wrap_wxSysErrorCode
, METH_VARARGS
| METH_KEYWORDS
},
10373 { "wxCreateFileTipProvider", (PyCFunction
) _wrap_wxCreateFileTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
10374 { "wxShowTip", (PyCFunction
) _wrap_wxShowTip
, METH_VARARGS
| METH_KEYWORDS
},
10375 { "wxThread_IsMain", (PyCFunction
) _wrap_wxThread_IsMain
, METH_VARARGS
| METH_KEYWORDS
},
10376 { "wxMutexGuiLeave", (PyCFunction
) _wrap_wxMutexGuiLeave
, METH_VARARGS
| METH_KEYWORDS
},
10377 { "wxMutexGuiEnter", (PyCFunction
) _wrap_wxMutexGuiEnter
, METH_VARARGS
| METH_KEYWORDS
},
10378 { "wxWakeUpIdle", (PyCFunction
) _wrap_wxWakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
},
10379 { "wxPostEvent", (PyCFunction
) _wrap_wxPostEvent
, METH_VARARGS
| METH_KEYWORDS
},
10380 { "wxSafeYield", (PyCFunction
) _wrap_wxSafeYield
, METH_VARARGS
| METH_KEYWORDS
},
10381 { "wxCaret_SetBlinkTime", (PyCFunction
) _wrap_wxCaret_SetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
},
10382 { "wxCaret_GetBlinkTime", (PyCFunction
) _wrap_wxCaret_GetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
},
10383 { "wxResourceParseString", (PyCFunction
) _wrap_wxResourceParseString
, METH_VARARGS
| METH_KEYWORDS
},
10384 { "wxResourceParseFile", (PyCFunction
) _wrap_wxResourceParseFile
, METH_VARARGS
| METH_KEYWORDS
},
10385 { "wxResourceParseData", (PyCFunction
) _wrap_wxResourceParseData
, METH_VARARGS
| METH_KEYWORDS
},
10386 { "wxResourceGetIdentifier", (PyCFunction
) _wrap_wxResourceGetIdentifier
, METH_VARARGS
| METH_KEYWORDS
},
10387 { "wxResourceCreateMenuBar", (PyCFunction
) _wrap_wxResourceCreateMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
10388 { "wxResourceCreateIcon", (PyCFunction
) _wrap_wxResourceCreateIcon
, METH_VARARGS
| METH_KEYWORDS
},
10389 { "wxResourceCreateBitmap", (PyCFunction
) _wrap_wxResourceCreateBitmap
, METH_VARARGS
| METH_KEYWORDS
},
10390 { "wxResourceClear", (PyCFunction
) _wrap_wxResourceClear
, METH_VARARGS
| METH_KEYWORDS
},
10391 { "wxResourceAddIdentifier", (PyCFunction
) _wrap_wxResourceAddIdentifier
, METH_VARARGS
| METH_KEYWORDS
},
10392 { "wxFindWindowAtPoint", (PyCFunction
) _wrap_wxFindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
},
10393 { "wxGenericFindWindowAtPoint", (PyCFunction
) _wrap_wxGenericFindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
},
10394 { "wxGetActiveWindow", (PyCFunction
) _wrap_wxGetActiveWindow
, METH_VARARGS
| METH_KEYWORDS
},
10395 { "wxBeginBusyCursor", (PyCFunction
) _wrap_wxBeginBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
10396 { "wxFindWindowByName", (PyCFunction
) _wrap_wxFindWindowByName
, METH_VARARGS
| METH_KEYWORDS
},
10397 { "wxFindWindowByLabel", (PyCFunction
) _wrap_wxFindWindowByLabel
, METH_VARARGS
| METH_KEYWORDS
},
10398 { "wxSetCursor", (PyCFunction
) _wrap_wxSetCursor
, METH_VARARGS
| METH_KEYWORDS
},
10399 { "wxGetClientDisplayRect", (PyCFunction
) _wrap_wxGetClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
},
10400 { "wxClientDisplayRect", (PyCFunction
) _wrap_wxClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
},
10401 { "wxGetDisplaySizeMM", (PyCFunction
) _wrap_wxGetDisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
},
10402 { "wxDisplaySizeMM", (PyCFunction
) _wrap_wxDisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
},
10403 { "wxGetDisplaySize", (PyCFunction
) _wrap_wxGetDisplaySize
, METH_VARARGS
| METH_KEYWORDS
},
10404 { "wxDisplaySize", (PyCFunction
) _wrap_wxDisplaySize
, METH_VARARGS
| METH_KEYWORDS
},
10405 { "wxGetDisplayDepth", (PyCFunction
) _wrap_wxGetDisplayDepth
, METH_VARARGS
| METH_KEYWORDS
},
10406 { "wxDisplayDepth", (PyCFunction
) _wrap_wxDisplayDepth
, METH_VARARGS
| METH_KEYWORDS
},
10407 { "wxColourDisplay", (PyCFunction
) _wrap_wxColourDisplay
, METH_VARARGS
| METH_KEYWORDS
},
10408 { "wxGetNumberFromUser", (PyCFunction
) _wrap_wxGetNumberFromUser
, METH_VARARGS
| METH_KEYWORDS
},
10409 { "wxMessageBox", (PyCFunction
) _wrap_wxMessageBox
, METH_VARARGS
| METH_KEYWORDS
},
10410 { "wxGetSingleChoiceIndex", (PyCFunction
) _wrap_wxGetSingleChoiceIndex
, METH_VARARGS
| METH_KEYWORDS
},
10411 { "wxGetSingleChoice", (PyCFunction
) _wrap_wxGetSingleChoice
, METH_VARARGS
| METH_KEYWORDS
},
10412 { "wxGetPasswordFromUser", (PyCFunction
) _wrap_wxGetPasswordFromUser
, METH_VARARGS
| METH_KEYWORDS
},
10413 { "wxGetTextFromUser", (PyCFunction
) _wrap_wxGetTextFromUser
, METH_VARARGS
| METH_KEYWORDS
},
10414 { "wxFileSelector", (PyCFunction
) _wrap_wxFileSelector
, METH_VARARGS
| METH_KEYWORDS
},
10421 * This table is used by the pointer type-checker
10423 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
10424 { "_wxEvent","_wxProcessEvent",SwigwxProcessEventTowxEvent
},
10425 { "_signed_long","_long",0},
10426 { "_wxPrintQuality","_wxCoord",0},
10427 { "_wxPrintQuality","_int",0},
10428 { "_wxPrintQuality","_signed_int",0},
10429 { "_wxPrintQuality","_unsigned_int",0},
10430 { "_wxPrintQuality","_wxWindowID",0},
10431 { "_wxPrintQuality","_uint",0},
10432 { "_wxPrintQuality","_EBool",0},
10433 { "_wxPrintQuality","_size_t",0},
10434 { "_wxPrintQuality","_time_t",0},
10435 { "_wxLog","_wxPyLog",SwigwxPyLogTowxLog
},
10436 { "_wxLog","_wxLogChain",SwigwxLogChainTowxLog
},
10437 { "_wxLog","_wxLogWindow",SwigwxLogWindowTowxLog
},
10438 { "_wxLog","_wxLogGui",SwigwxLogGuiTowxLog
},
10439 { "_wxLog","_wxLogTextCtrl",SwigwxLogTextCtrlTowxLog
},
10440 { "_wxLog","_wxLogStderr",SwigwxLogStderrTowxLog
},
10441 { "_byte","_unsigned_char",0},
10442 { "_long","_unsigned_long",0},
10443 { "_long","_signed_long",0},
10444 { "_size_t","_wxCoord",0},
10445 { "_size_t","_wxPrintQuality",0},
10446 { "_size_t","_time_t",0},
10447 { "_size_t","_unsigned_int",0},
10448 { "_size_t","_int",0},
10449 { "_size_t","_wxWindowID",0},
10450 { "_size_t","_uint",0},
10451 { "_uint","_wxCoord",0},
10452 { "_uint","_wxPrintQuality",0},
10453 { "_uint","_time_t",0},
10454 { "_uint","_size_t",0},
10455 { "_uint","_unsigned_int",0},
10456 { "_uint","_int",0},
10457 { "_uint","_wxWindowID",0},
10458 { "_wxChar","_char",0},
10459 { "_char","_wxChar",0},
10460 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
10461 { "_EBool","_wxCoord",0},
10462 { "_EBool","_wxPrintQuality",0},
10463 { "_EBool","_signed_int",0},
10464 { "_EBool","_int",0},
10465 { "_EBool","_wxWindowID",0},
10466 { "_unsigned_long","_long",0},
10467 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
10468 { "_signed_int","_wxCoord",0},
10469 { "_signed_int","_wxPrintQuality",0},
10470 { "_signed_int","_EBool",0},
10471 { "_signed_int","_wxWindowID",0},
10472 { "_signed_int","_int",0},
10473 { "_WXTYPE","_wxDateTime_t",0},
10474 { "_WXTYPE","_short",0},
10475 { "_WXTYPE","_signed_short",0},
10476 { "_WXTYPE","_unsigned_short",0},
10477 { "_wxTipProvider","_wxPyTipProvider",SwigwxPyTipProviderTowxTipProvider
},
10478 { "_unsigned_short","_wxDateTime_t",0},
10479 { "_unsigned_short","_WXTYPE",0},
10480 { "_unsigned_short","_short",0},
10481 { "_wxObject","_wxFileHistory",SwigwxFileHistoryTowxObject
},
10482 { "_wxObject","_wxWave",SwigwxWaveTowxObject
},
10483 { "_wxObject","_wxJoystick",SwigwxJoystickTowxObject
},
10484 { "_wxObject","_wxPyProcess",SwigwxPyProcessTowxObject
},
10485 { "_wxObject","_wxProcessEvent",SwigwxProcessEventTowxObject
},
10486 { "_wxObject","_wxPyTimer",SwigwxPyTimerTowxObject
},
10487 { "_wxObject","_wxGenericDragImage",SwigwxGenericDragImageTowxObject
},
10488 { "_wxObject","_wxToolTip",SwigwxToolTipTowxObject
},
10489 { "_signed_short","_WXTYPE",0},
10490 { "_signed_short","_short",0},
10491 { "_unsigned_char","_byte",0},
10492 { "_unsigned_int","_wxCoord",0},
10493 { "_unsigned_int","_wxPrintQuality",0},
10494 { "_unsigned_int","_time_t",0},
10495 { "_unsigned_int","_size_t",0},
10496 { "_unsigned_int","_uint",0},
10497 { "_unsigned_int","_wxWindowID",0},
10498 { "_unsigned_int","_int",0},
10499 { "_short","_wxDateTime_t",0},
10500 { "_short","_WXTYPE",0},
10501 { "_short","_unsigned_short",0},
10502 { "_short","_signed_short",0},
10503 { "_wxWindowID","_wxCoord",0},
10504 { "_wxWindowID","_wxPrintQuality",0},
10505 { "_wxWindowID","_time_t",0},
10506 { "_wxWindowID","_size_t",0},
10507 { "_wxWindowID","_EBool",0},
10508 { "_wxWindowID","_uint",0},
10509 { "_wxWindowID","_int",0},
10510 { "_wxWindowID","_signed_int",0},
10511 { "_wxWindowID","_unsigned_int",0},
10512 { "_int","_wxCoord",0},
10513 { "_int","_wxPrintQuality",0},
10514 { "_int","_time_t",0},
10515 { "_int","_size_t",0},
10516 { "_int","_EBool",0},
10517 { "_int","_uint",0},
10518 { "_int","_wxWindowID",0},
10519 { "_int","_unsigned_int",0},
10520 { "_int","_signed_int",0},
10521 { "_wxDateTime_t","_unsigned_short",0},
10522 { "_wxDateTime_t","_short",0},
10523 { "_wxDateTime_t","_WXTYPE",0},
10524 { "_time_t","_wxCoord",0},
10525 { "_time_t","_wxPrintQuality",0},
10526 { "_time_t","_unsigned_int",0},
10527 { "_time_t","_int",0},
10528 { "_time_t","_wxWindowID",0},
10529 { "_time_t","_uint",0},
10530 { "_time_t","_size_t",0},
10531 { "_wxCoord","_int",0},
10532 { "_wxCoord","_signed_int",0},
10533 { "_wxCoord","_unsigned_int",0},
10534 { "_wxCoord","_wxWindowID",0},
10535 { "_wxCoord","_uint",0},
10536 { "_wxCoord","_EBool",0},
10537 { "_wxCoord","_size_t",0},
10538 { "_wxCoord","_time_t",0},
10539 { "_wxCoord","_wxPrintQuality",0},
10540 { "_wxEvtHandler","_wxPyProcess",SwigwxPyProcessTowxEvtHandler
},
10543 static PyObject
*SWIG_globals
;
10547 SWIGEXPORT(void) initmisc2c() {
10549 SWIG_globals
= SWIG_newvarlink();
10550 m
= Py_InitModule("misc2c", misc2cMethods
);
10551 d
= PyModule_GetDict(m
);
10552 PyDict_SetItemString(d
,"wxSYS_OEM_FIXED_FONT", PyInt_FromLong((long) wxSYS_OEM_FIXED_FONT
));
10553 PyDict_SetItemString(d
,"wxSYS_ANSI_FIXED_FONT", PyInt_FromLong((long) wxSYS_ANSI_FIXED_FONT
));
10554 PyDict_SetItemString(d
,"wxSYS_ANSI_VAR_FONT", PyInt_FromLong((long) wxSYS_ANSI_VAR_FONT
));
10555 PyDict_SetItemString(d
,"wxSYS_SYSTEM_FONT", PyInt_FromLong((long) wxSYS_SYSTEM_FONT
));
10556 PyDict_SetItemString(d
,"wxSYS_DEVICE_DEFAULT_FONT", PyInt_FromLong((long) wxSYS_DEVICE_DEFAULT_FONT
));
10557 PyDict_SetItemString(d
,"wxSYS_DEFAULT_PALETTE", PyInt_FromLong((long) wxSYS_DEFAULT_PALETTE
));
10558 PyDict_SetItemString(d
,"wxSYS_SYSTEM_FIXED_FONT", PyInt_FromLong((long) wxSYS_SYSTEM_FIXED_FONT
));
10559 PyDict_SetItemString(d
,"wxSYS_DEFAULT_GUI_FONT", PyInt_FromLong((long) wxSYS_DEFAULT_GUI_FONT
));
10560 PyDict_SetItemString(d
,"wxSYS_COLOUR_SCROLLBAR", PyInt_FromLong((long) wxSYS_COLOUR_SCROLLBAR
));
10561 PyDict_SetItemString(d
,"wxSYS_COLOUR_BACKGROUND", PyInt_FromLong((long) wxSYS_COLOUR_BACKGROUND
));
10562 PyDict_SetItemString(d
,"wxSYS_COLOUR_ACTIVECAPTION", PyInt_FromLong((long) wxSYS_COLOUR_ACTIVECAPTION
));
10563 PyDict_SetItemString(d
,"wxSYS_COLOUR_INACTIVECAPTION", PyInt_FromLong((long) wxSYS_COLOUR_INACTIVECAPTION
));
10564 PyDict_SetItemString(d
,"wxSYS_COLOUR_MENU", PyInt_FromLong((long) wxSYS_COLOUR_MENU
));
10565 PyDict_SetItemString(d
,"wxSYS_COLOUR_WINDOW", PyInt_FromLong((long) wxSYS_COLOUR_WINDOW
));
10566 PyDict_SetItemString(d
,"wxSYS_COLOUR_WINDOWFRAME", PyInt_FromLong((long) wxSYS_COLOUR_WINDOWFRAME
));
10567 PyDict_SetItemString(d
,"wxSYS_COLOUR_MENUTEXT", PyInt_FromLong((long) wxSYS_COLOUR_MENUTEXT
));
10568 PyDict_SetItemString(d
,"wxSYS_COLOUR_WINDOWTEXT", PyInt_FromLong((long) wxSYS_COLOUR_WINDOWTEXT
));
10569 PyDict_SetItemString(d
,"wxSYS_COLOUR_CAPTIONTEXT", PyInt_FromLong((long) wxSYS_COLOUR_CAPTIONTEXT
));
10570 PyDict_SetItemString(d
,"wxSYS_COLOUR_ACTIVEBORDER", PyInt_FromLong((long) wxSYS_COLOUR_ACTIVEBORDER
));
10571 PyDict_SetItemString(d
,"wxSYS_COLOUR_INACTIVEBORDER", PyInt_FromLong((long) wxSYS_COLOUR_INACTIVEBORDER
));
10572 PyDict_SetItemString(d
,"wxSYS_COLOUR_APPWORKSPACE", PyInt_FromLong((long) wxSYS_COLOUR_APPWORKSPACE
));
10573 PyDict_SetItemString(d
,"wxSYS_COLOUR_HIGHLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_HIGHLIGHT
));
10574 PyDict_SetItemString(d
,"wxSYS_COLOUR_HIGHLIGHTTEXT", PyInt_FromLong((long) wxSYS_COLOUR_HIGHLIGHTTEXT
));
10575 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNFACE", PyInt_FromLong((long) wxSYS_COLOUR_BTNFACE
));
10576 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNSHADOW", PyInt_FromLong((long) wxSYS_COLOUR_BTNSHADOW
));
10577 PyDict_SetItemString(d
,"wxSYS_COLOUR_GRAYTEXT", PyInt_FromLong((long) wxSYS_COLOUR_GRAYTEXT
));
10578 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNTEXT", PyInt_FromLong((long) wxSYS_COLOUR_BTNTEXT
));
10579 PyDict_SetItemString(d
,"wxSYS_COLOUR_INACTIVECAPTIONTEXT", PyInt_FromLong((long) wxSYS_COLOUR_INACTIVECAPTIONTEXT
));
10580 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNHIGHLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_BTNHIGHLIGHT
));
10581 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DDKSHADOW", PyInt_FromLong((long) wxSYS_COLOUR_3DDKSHADOW
));
10582 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_3DLIGHT
));
10583 PyDict_SetItemString(d
,"wxSYS_COLOUR_INFOTEXT", PyInt_FromLong((long) wxSYS_COLOUR_INFOTEXT
));
10584 PyDict_SetItemString(d
,"wxSYS_COLOUR_INFOBK", PyInt_FromLong((long) wxSYS_COLOUR_INFOBK
));
10585 PyDict_SetItemString(d
,"wxSYS_COLOUR_LISTBOX", PyInt_FromLong((long) wxSYS_COLOUR_LISTBOX
));
10586 PyDict_SetItemString(d
,"wxSYS_COLOUR_DESKTOP", PyInt_FromLong((long) wxSYS_COLOUR_DESKTOP
));
10587 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DFACE", PyInt_FromLong((long) wxSYS_COLOUR_3DFACE
));
10588 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DSHADOW", PyInt_FromLong((long) wxSYS_COLOUR_3DSHADOW
));
10589 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DHIGHLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_3DHIGHLIGHT
));
10590 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DHILIGHT", PyInt_FromLong((long) wxSYS_COLOUR_3DHILIGHT
));
10591 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNHILIGHT", PyInt_FromLong((long) wxSYS_COLOUR_BTNHILIGHT
));
10592 PyDict_SetItemString(d
,"wxSYS_MOUSE_BUTTONS", PyInt_FromLong((long) wxSYS_MOUSE_BUTTONS
));
10593 PyDict_SetItemString(d
,"wxSYS_BORDER_X", PyInt_FromLong((long) wxSYS_BORDER_X
));
10594 PyDict_SetItemString(d
,"wxSYS_BORDER_Y", PyInt_FromLong((long) wxSYS_BORDER_Y
));
10595 PyDict_SetItemString(d
,"wxSYS_CURSOR_X", PyInt_FromLong((long) wxSYS_CURSOR_X
));
10596 PyDict_SetItemString(d
,"wxSYS_CURSOR_Y", PyInt_FromLong((long) wxSYS_CURSOR_Y
));
10597 PyDict_SetItemString(d
,"wxSYS_DCLICK_X", PyInt_FromLong((long) wxSYS_DCLICK_X
));
10598 PyDict_SetItemString(d
,"wxSYS_DCLICK_Y", PyInt_FromLong((long) wxSYS_DCLICK_Y
));
10599 PyDict_SetItemString(d
,"wxSYS_DRAG_X", PyInt_FromLong((long) wxSYS_DRAG_X
));
10600 PyDict_SetItemString(d
,"wxSYS_DRAG_Y", PyInt_FromLong((long) wxSYS_DRAG_Y
));
10601 PyDict_SetItemString(d
,"wxSYS_EDGE_X", PyInt_FromLong((long) wxSYS_EDGE_X
));
10602 PyDict_SetItemString(d
,"wxSYS_EDGE_Y", PyInt_FromLong((long) wxSYS_EDGE_Y
));
10603 PyDict_SetItemString(d
,"wxSYS_HSCROLL_ARROW_X", PyInt_FromLong((long) wxSYS_HSCROLL_ARROW_X
));
10604 PyDict_SetItemString(d
,"wxSYS_HSCROLL_ARROW_Y", PyInt_FromLong((long) wxSYS_HSCROLL_ARROW_Y
));
10605 PyDict_SetItemString(d
,"wxSYS_HTHUMB_X", PyInt_FromLong((long) wxSYS_HTHUMB_X
));
10606 PyDict_SetItemString(d
,"wxSYS_ICON_X", PyInt_FromLong((long) wxSYS_ICON_X
));
10607 PyDict_SetItemString(d
,"wxSYS_ICON_Y", PyInt_FromLong((long) wxSYS_ICON_Y
));
10608 PyDict_SetItemString(d
,"wxSYS_ICONSPACING_X", PyInt_FromLong((long) wxSYS_ICONSPACING_X
));
10609 PyDict_SetItemString(d
,"wxSYS_ICONSPACING_Y", PyInt_FromLong((long) wxSYS_ICONSPACING_Y
));
10610 PyDict_SetItemString(d
,"wxSYS_WINDOWMIN_X", PyInt_FromLong((long) wxSYS_WINDOWMIN_X
));
10611 PyDict_SetItemString(d
,"wxSYS_WINDOWMIN_Y", PyInt_FromLong((long) wxSYS_WINDOWMIN_Y
));
10612 PyDict_SetItemString(d
,"wxSYS_SCREEN_X", PyInt_FromLong((long) wxSYS_SCREEN_X
));
10613 PyDict_SetItemString(d
,"wxSYS_SCREEN_Y", PyInt_FromLong((long) wxSYS_SCREEN_Y
));
10614 PyDict_SetItemString(d
,"wxSYS_FRAMESIZE_X", PyInt_FromLong((long) wxSYS_FRAMESIZE_X
));
10615 PyDict_SetItemString(d
,"wxSYS_FRAMESIZE_Y", PyInt_FromLong((long) wxSYS_FRAMESIZE_Y
));
10616 PyDict_SetItemString(d
,"wxSYS_SMALLICON_X", PyInt_FromLong((long) wxSYS_SMALLICON_X
));
10617 PyDict_SetItemString(d
,"wxSYS_SMALLICON_Y", PyInt_FromLong((long) wxSYS_SMALLICON_Y
));
10618 PyDict_SetItemString(d
,"wxSYS_HSCROLL_Y", PyInt_FromLong((long) wxSYS_HSCROLL_Y
));
10619 PyDict_SetItemString(d
,"wxSYS_VSCROLL_X", PyInt_FromLong((long) wxSYS_VSCROLL_X
));
10620 PyDict_SetItemString(d
,"wxSYS_VSCROLL_ARROW_X", PyInt_FromLong((long) wxSYS_VSCROLL_ARROW_X
));
10621 PyDict_SetItemString(d
,"wxSYS_VSCROLL_ARROW_Y", PyInt_FromLong((long) wxSYS_VSCROLL_ARROW_Y
));
10622 PyDict_SetItemString(d
,"wxSYS_VTHUMB_Y", PyInt_FromLong((long) wxSYS_VTHUMB_Y
));
10623 PyDict_SetItemString(d
,"wxSYS_CAPTION_Y", PyInt_FromLong((long) wxSYS_CAPTION_Y
));
10624 PyDict_SetItemString(d
,"wxSYS_MENU_Y", PyInt_FromLong((long) wxSYS_MENU_Y
));
10625 PyDict_SetItemString(d
,"wxSYS_NETWORK_PRESENT", PyInt_FromLong((long) wxSYS_NETWORK_PRESENT
));
10626 PyDict_SetItemString(d
,"wxSYS_PENWINDOWS_PRESENT", PyInt_FromLong((long) wxSYS_PENWINDOWS_PRESENT
));
10627 PyDict_SetItemString(d
,"wxSYS_SHOW_SOUNDS", PyInt_FromLong((long) wxSYS_SHOW_SOUNDS
));
10628 PyDict_SetItemString(d
,"wxSYS_SWAP_BUTTONS", PyInt_FromLong((long) wxSYS_SWAP_BUTTONS
));
10629 PyDict_SetItemString(d
,"wxSYS_CAN_DRAW_FRAME_DECORATIONS", PyInt_FromLong((long) wxSYS_CAN_DRAW_FRAME_DECORATIONS
));
10630 PyDict_SetItemString(d
,"wxSYS_CAN_ICONIZE_FRAME", PyInt_FromLong((long) wxSYS_CAN_ICONIZE_FRAME
));
10631 PyDict_SetItemString(d
,"wxLOG_FatalError", PyInt_FromLong((long) wxLOG_FatalError
));
10632 PyDict_SetItemString(d
,"wxLOG_Error", PyInt_FromLong((long) wxLOG_Error
));
10633 PyDict_SetItemString(d
,"wxLOG_Warning", PyInt_FromLong((long) wxLOG_Warning
));
10634 PyDict_SetItemString(d
,"wxLOG_Message", PyInt_FromLong((long) wxLOG_Message
));
10635 PyDict_SetItemString(d
,"wxLOG_Info", PyInt_FromLong((long) wxLOG_Info
));
10636 PyDict_SetItemString(d
,"wxLOG_Status", PyInt_FromLong((long) wxLOG_Status
));
10637 PyDict_SetItemString(d
,"wxLOG_Debug", PyInt_FromLong((long) wxLOG_Debug
));
10638 PyDict_SetItemString(d
,"wxLOG_Trace", PyInt_FromLong((long) wxLOG_Trace
));
10639 PyDict_SetItemString(d
,"wxLOG_Progress", PyInt_FromLong((long) wxLOG_Progress
));
10640 PyDict_SetItemString(d
,"wxLOG_User", PyInt_FromLong((long) wxLOG_User
));
10641 PyDict_SetItemString(d
,"wxEVT_END_PROCESS", PyInt_FromLong((long) wxEVT_END_PROCESS
));
10642 PyDict_SetItemString(d
,"wxMAILCAP_STANDARD", PyInt_FromLong((long) wxMAILCAP_STANDARD
));
10643 PyDict_SetItemString(d
,"wxMAILCAP_NETSCAPE", PyInt_FromLong((long) wxMAILCAP_NETSCAPE
));
10644 PyDict_SetItemString(d
,"wxMAILCAP_KDE", PyInt_FromLong((long) wxMAILCAP_KDE
));
10645 PyDict_SetItemString(d
,"wxMAILCAP_GNOME", PyInt_FromLong((long) wxMAILCAP_GNOME
));
10646 PyDict_SetItemString(d
,"wxMAILCAP_ALL", PyInt_FromLong((long) wxMAILCAP_ALL
));
10647 PyDict_SetItemString(d
,"cvar", SWIG_globals
);
10648 SWIG_addvarlink(SWIG_globals
,"wxTheMimeTypesManager",_wrap_wxTheMimeTypesManager_get
, _wrap_wxTheMimeTypesManager_set
);
10650 wxPyPtrTypeMap_Add("wxFontEnumerator", "wxPyFontEnumerator");
10651 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
10652 wxPyPtrTypeMap_Add("wxProcess", "wxPyProcess");
10655 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
10656 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);