2 * FILE : src/msw/misc2.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
32 # define SWIGEXPORT(a) a
36 # define SWIGEXPORT(a) a
45 extern void SWIG_MakePtr(char *, void *, char *);
46 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
47 extern char *SWIG_GetPtr(char *, void **, char *);
48 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
49 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
50 extern PyObject
*SWIG_newvarlink(void);
54 #define SWIG_init initmisc2c
56 #define SWIG_name "misc2c"
59 #include <wx/resource.h>
60 #include <wx/tooltip.h>
62 #include <wx/fontenum.h>
63 #include <wx/tipdlg.h>
64 #include <wx/process.h>
66 #if wxUSE_JOYSTICK || defined(__WXMSW__)
67 #include <wx/joystick.h>
70 #if wxUSE_WAVE || defined(__WXMSW__)
74 #include <wx/mimetype.h>
77 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
83 } else if (target
== Py_None
) {
87 if (!PyTuple_Check(target
)) {
89 target
= PyTuple_New(1);
90 PyTuple_SetItem(target
, 0, o2
);
93 PyTuple_SetItem(o3
, 0, o
);
96 target
= PySequence_Concat(o2
, o3
);
103 #if PYTHON_API_VERSION >= 1009
104 static char* wxStringErrorMsg
= "String or Unicode type required";
106 static char* wxStringErrorMsg
= "String type required";
109 static wxString
wxPyEmptyStr("");
112 wxColour
wxSystemSettings_GetSystemColour(int index
) {
113 return wxSystemSettings::GetSystemColour(index
);
116 wxFont
wxSystemSettings_GetSystemFont(int index
) {
117 return wxSystemSettings::GetSystemFont(index
);
120 int wxSystemSettings_GetSystemMetric(int index
) {
121 return wxSystemSettings::GetSystemMetric(index
);
124 int wxCaret_GetBlinkTime() {
125 return wxCaret::GetBlinkTime();
128 void wxCaret_SetBlinkTime(int milliseconds
) {
129 wxCaret::SetBlinkTime(milliseconds
);
132 class wxPyFontEnumerator
: public wxFontEnumerator
{
134 wxPyFontEnumerator() {}
135 ~wxPyFontEnumerator() {}
137 DEC_PYCALLBACK_BOOL_STRING(OnFacename
);
138 DEC_PYCALLBACK_BOOL_STRINGSTRING(OnFontEncoding
);
143 IMP_PYCALLBACK_BOOL_STRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFacename
);
144 IMP_PYCALLBACK_BOOL_STRINGSTRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFontEncoding
);
147 bool wxThread_IsMain() {
148 return wxThread::IsMain();
151 class wxPyTipProvider
: public wxTipProvider
{
153 wxPyTipProvider(size_t currentTip
)
154 : wxTipProvider(currentTip
) {}
156 DEC_PYCALLBACK_STRING__pure(GetTip
);
161 IMP_PYCALLBACK_STRING__pure( wxPyTipProvider
, wxTipProvider
, GetTip
);
164 #include <wx/generic/dragimgg.h>
166 // A Log class that can be derived from in wxPython
167 class wxPyLog
: public wxLog
{
169 wxPyLog() : wxLog() {}
171 virtual void DoLog(wxLogLevel level
, const wxChar
*szString
, time_t t
) {
173 wxPyTState
* state
= wxPyBeginBlockThreads();
174 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLog")))
175 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(isi)", level
, szString
, t
));
176 wxPyEndBlockThreads(state
);
178 wxLog::DoLog(level
, szString
, t
);
181 virtual void DoLogString(const wxChar
*szString
, time_t t
) {
183 wxPyTState
* state
= wxPyBeginBlockThreads();
184 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLogString")))
185 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(si)", szString
, t
));
186 wxPyEndBlockThreads(state
);
188 wxLog::DoLogString(szString
, t
);
193 // C++ version of wxProcess derived class
195 class wxPyProcess
: public wxProcess
{
197 wxPyProcess(wxEvtHandler
*parent
= NULL
, int id
= -1)
198 : wxProcess(parent
, id
)
201 DEC_PYCALLBACK_VOID_INTINT(OnTerminate
);
206 IMP_PYCALLBACK_VOID_INTINT( wxPyProcess
, wxProcess
, OnTerminate
);
209 #if !wxUSE_JOYSTICK && !defined(__WXMSW__)
210 // A C++ stub class for wxJoystick for platforms that don't have it.
211 class wxJoystick
: public wxObject
{
213 wxJoystick(int joystick
= wxJOYSTICK1
) {
214 wxPyTState
* state
= wxPyBeginBlockThreads();
215 PyErr_SetString(PyExc_NotImplementedError
, "wxJoystick is not available on this platform.");
216 wxPyEndBlockThreads(state
);
218 wxPoint
GetPosition() { return wxPoint(-1,-1); }
219 int GetZPosition() { return -1; }
220 int GetButtonState() { return -1; }
221 int GetPOVPosition() { return -1; }
222 int GetPOVCTSPosition() { return -1; }
223 int GetRudderPosition() { return -1; }
224 int GetUPosition() { return -1; }
225 int GetVPosition() { return -1; }
226 int GetMovementThreshold() { return -1; }
227 void SetMovementThreshold(int threshold
) {}
229 bool IsOk(void) { return FALSE
; }
230 int GetNumberJoysticks() { return -1; }
231 int GetManufacturerId() { return -1; }
232 int GetProductId() { return -1; }
233 wxString
GetProductName() { return ""; }
234 int GetXMin() { return -1; }
235 int GetYMin() { return -1; }
236 int GetZMin() { return -1; }
237 int GetXMax() { return -1; }
238 int GetYMax() { return -1; }
239 int GetZMax() { return -1; }
240 int GetNumberButtons() { return -1; }
241 int GetNumberAxes() { return -1; }
242 int GetMaxButtons() { return -1; }
243 int GetMaxAxes() { return -1; }
244 int GetPollingMin() { return -1; }
245 int GetPollingMax() { return -1; }
246 int GetRudderMin() { return -1; }
247 int GetRudderMax() { return -1; }
248 int GetUMin() { return -1; }
249 int GetUMax() { return -1; }
250 int GetVMin() { return -1; }
251 int GetVMax() { return -1; }
253 bool HasRudder() { return FALSE
; }
254 bool HasZ() { return FALSE
; }
255 bool HasU() { return FALSE
; }
256 bool HasV() { return FALSE
; }
257 bool HasPOV() { return FALSE
; }
258 bool HasPOV4Dir() { return FALSE
; }
259 bool HasPOVCTS() { return FALSE
; }
261 bool SetCapture(wxWindow
* win
, int pollingFreq
= 0) { return FALSE
; }
262 bool ReleaseCapture() { return FALSE
; }
267 // A C++ stub class for wxWave for platforms that don't have it.
268 class wxWave
: public wxObject
271 wxWave(const wxString
& fileName
, bool isResource
= FALSE
) {
272 wxPyTState
* state
= wxPyBeginBlockThreads();
273 PyErr_SetString(PyExc_NotImplementedError
, "wxWave is not available on this platform.");
274 wxPyEndBlockThreads(state
);
276 wxWave(int size
, const wxByte
* data
) {
277 wxPyTState
* state
= wxPyBeginBlockThreads();
278 PyErr_SetString(PyExc_NotImplementedError
, "wxWave is not available on this platform.");
279 wxPyEndBlockThreads(state
);
284 bool IsOk() const { return FALSE
; }
285 bool Play(bool async
= TRUE
, bool looped
= FALSE
) const { return FALSE
; }
289 // Implementations of some alternate "constructors"
290 wxWave
* wxWaveData(const wxString
& data
) {
291 return new wxWave(data
.Len(), (wxByte
*)data
.c_str());
295 extern wxMimeTypesManager
* wxTheMimeTypesManager
;
301 static PyObject
*_wrap_wxFileSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
302 PyObject
* _resultobj
;
305 char * _arg1
= (char *) NULL
;
306 char * _arg2
= (char *) NULL
;
307 char * _arg3
= (char *) NULL
;
308 char * _arg4
= (char *) "*.*";
309 int _arg5
= (int ) 0;
310 wxWindow
* _arg6
= (wxWindow
*) NULL
;
311 int _arg7
= (int ) -1;
312 int _arg8
= (int ) -1;
313 PyObject
* _argo6
= 0;
314 char *_kwnames
[] = { "message","default_path","default_filename","default_extension","wildcard","flags","parent","x","y", NULL
};
317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s|ssssiOii:wxFileSelector",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_argo6
,&_arg7
,&_arg8
))
320 if (_argo6
== Py_None
) { _arg6
= NULL
; }
321 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxWindow_p")) {
322 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxFileSelector. Expected _wxWindow_p.");
327 wxPy_BEGIN_ALLOW_THREADS
;
328 _result
= new wxString (wxFileSelector(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
,_arg8
));
330 wxPy_END_ALLOW_THREADS
;
332 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
340 static PyObject
*_wrap_wxGetTextFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
341 PyObject
* _resultobj
;
344 wxString
* _arg1
= (wxString
*) &wxPyEmptyStr
;
345 wxString
* _arg2
= (wxString
*) &wxPyEmptyStr
;
346 wxWindow
* _arg3
= (wxWindow
*) NULL
;
347 int _arg4
= (int ) -1;
348 int _arg5
= (int ) -1;
349 bool _arg6
= (bool ) TRUE
;
350 PyObject
* _obj0
= 0;
351 PyObject
* _obj1
= 0;
352 PyObject
* _obj2
= 0;
353 PyObject
* _argo3
= 0;
354 int tempbool6
= (int) TRUE
;
355 char *_kwnames
[] = { "message","caption","default_value","parent","x","y","centre", NULL
};
358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|OOOiii:wxGetTextFromUser",_kwnames
,&_obj0
,&_obj1
,&_obj2
,&_argo3
,&_arg4
,&_arg5
,&tempbool6
))
361 #if PYTHON_API_VERSION >= 1009
362 char* tmpPtr
; int tmpSize
;
363 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
364 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
367 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
369 _arg0
= new wxString(tmpPtr
, tmpSize
);
371 if (!PyString_Check(_obj0
)) {
372 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
375 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
380 #if PYTHON_API_VERSION >= 1009
381 char* tmpPtr
; int tmpSize
;
382 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
383 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
386 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
388 _arg1
= new wxString(tmpPtr
, tmpSize
);
390 if (!PyString_Check(_obj1
)) {
391 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
394 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
399 #if PYTHON_API_VERSION >= 1009
400 char* tmpPtr
; int tmpSize
;
401 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
402 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
405 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
407 _arg2
= new wxString(tmpPtr
, tmpSize
);
409 if (!PyString_Check(_obj2
)) {
410 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
413 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
417 if (_argo3
== Py_None
) { _arg3
= NULL
; }
418 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxWindow_p")) {
419 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGetTextFromUser. Expected _wxWindow_p.");
423 _arg6
= (bool ) tempbool6
;
425 wxPy_BEGIN_ALLOW_THREADS
;
426 _result
= new wxString (wxGetTextFromUser(*_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
,_arg6
));
428 wxPy_END_ALLOW_THREADS
;
430 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
450 static PyObject
*_wrap_wxGetPasswordFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
451 PyObject
* _resultobj
;
454 wxString
* _arg1
= (wxString
*) &wxPyEmptyStr
;
455 wxString
* _arg2
= (wxString
*) &wxPyEmptyStr
;
456 wxWindow
* _arg3
= (wxWindow
*) NULL
;
457 PyObject
* _obj0
= 0;
458 PyObject
* _obj1
= 0;
459 PyObject
* _obj2
= 0;
460 PyObject
* _argo3
= 0;
461 char *_kwnames
[] = { "message","caption","default_value","parent", NULL
};
464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|OOO:wxGetPasswordFromUser",_kwnames
,&_obj0
,&_obj1
,&_obj2
,&_argo3
))
467 #if PYTHON_API_VERSION >= 1009
468 char* tmpPtr
; int tmpSize
;
469 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
470 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
473 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
475 _arg0
= new wxString(tmpPtr
, tmpSize
);
477 if (!PyString_Check(_obj0
)) {
478 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
481 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
486 #if PYTHON_API_VERSION >= 1009
487 char* tmpPtr
; int tmpSize
;
488 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
489 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
492 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
494 _arg1
= new wxString(tmpPtr
, tmpSize
);
496 if (!PyString_Check(_obj1
)) {
497 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
500 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
505 #if PYTHON_API_VERSION >= 1009
506 char* tmpPtr
; int tmpSize
;
507 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
508 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
511 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
513 _arg2
= new wxString(tmpPtr
, tmpSize
);
515 if (!PyString_Check(_obj2
)) {
516 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
519 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
523 if (_argo3
== Py_None
) { _arg3
= NULL
; }
524 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxWindow_p")) {
525 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGetPasswordFromUser. Expected _wxWindow_p.");
530 wxPy_BEGIN_ALLOW_THREADS
;
531 _result
= new wxString (wxGetPasswordFromUser(*_arg0
,*_arg1
,*_arg2
,_arg3
));
533 wxPy_END_ALLOW_THREADS
;
535 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
555 static PyObject
*_wrap_wxGetSingleChoice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
556 PyObject
* _resultobj
;
562 wxWindow
* _arg4
= (wxWindow
*) NULL
;
563 int _arg5
= (int ) -1;
564 int _arg6
= (int ) -1;
565 bool _arg7
= (bool ) TRUE
;
566 int _arg8
= (int ) 150;
567 int _arg9
= (int ) 200;
568 PyObject
* _obj0
= 0;
569 PyObject
* _obj1
= 0;
570 PyObject
* _obj3
= 0;
571 PyObject
* _argo4
= 0;
572 int tempbool7
= (int) TRUE
;
573 char *_kwnames
[] = { "message","caption","choices","parent","x","y","centre","width","height", NULL
};
576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|Oiiiii:wxGetSingleChoice",_kwnames
,&_obj0
,&_obj1
,&_obj3
,&_argo4
,&_arg5
,&_arg6
,&tempbool7
,&_arg8
,&_arg9
))
579 #if PYTHON_API_VERSION >= 1009
580 char* tmpPtr
; int tmpSize
;
581 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
582 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
585 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
587 _arg0
= new wxString(tmpPtr
, tmpSize
);
589 if (!PyString_Check(_obj0
)) {
590 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
593 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
597 #if PYTHON_API_VERSION >= 1009
598 char* tmpPtr
; int tmpSize
;
599 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
600 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
603 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
605 _arg1
= new wxString(tmpPtr
, tmpSize
);
607 if (!PyString_Check(_obj1
)) {
608 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
611 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
616 _arg3
= wxString_LIST_helper(_obj3
);
622 if (_argo4
== Py_None
) { _arg4
= NULL
; }
623 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_wxWindow_p")) {
624 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxGetSingleChoice. Expected _wxWindow_p.");
628 _arg7
= (bool ) tempbool7
;
631 _arg2
= PyList_Size(_obj3
);
638 wxPy_BEGIN_ALLOW_THREADS
;
639 _result
= new wxString (wxGetSingleChoice(*_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,_arg9
));
641 wxPy_END_ALLOW_THREADS
;
643 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
662 static PyObject
*_wrap_wxGetSingleChoiceIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
663 PyObject
* _resultobj
;
669 wxWindow
* _arg4
= (wxWindow
*) NULL
;
670 int _arg5
= (int ) -1;
671 int _arg6
= (int ) -1;
672 bool _arg7
= (bool ) TRUE
;
673 int _arg8
= (int ) 150;
674 int _arg9
= (int ) 200;
675 PyObject
* _obj0
= 0;
676 PyObject
* _obj1
= 0;
677 PyObject
* _obj3
= 0;
678 PyObject
* _argo4
= 0;
679 int tempbool7
= (int) TRUE
;
680 char *_kwnames
[] = { "message","caption","choices","parent","x","y","centre","width","height", NULL
};
683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|Oiiiii:wxGetSingleChoiceIndex",_kwnames
,&_obj0
,&_obj1
,&_obj3
,&_argo4
,&_arg5
,&_arg6
,&tempbool7
,&_arg8
,&_arg9
))
686 #if PYTHON_API_VERSION >= 1009
687 char* tmpPtr
; int tmpSize
;
688 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
689 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
692 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
694 _arg0
= new wxString(tmpPtr
, tmpSize
);
696 if (!PyString_Check(_obj0
)) {
697 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
700 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
704 #if PYTHON_API_VERSION >= 1009
705 char* tmpPtr
; int tmpSize
;
706 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
707 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
710 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
712 _arg1
= new wxString(tmpPtr
, tmpSize
);
714 if (!PyString_Check(_obj1
)) {
715 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
718 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
723 _arg3
= wxString_LIST_helper(_obj3
);
729 if (_argo4
== Py_None
) { _arg4
= NULL
; }
730 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_wxWindow_p")) {
731 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxGetSingleChoiceIndex. Expected _wxWindow_p.");
735 _arg7
= (bool ) tempbool7
;
738 _arg2
= PyList_Size(_obj3
);
745 wxPy_BEGIN_ALLOW_THREADS
;
746 _result
= (int )wxGetSingleChoiceIndex(*_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,_arg9
);
748 wxPy_END_ALLOW_THREADS
;
749 } _resultobj
= Py_BuildValue("i",_result
);
764 static PyObject
*_wrap_wxMessageBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
765 PyObject
* _resultobj
;
768 wxString
* _arg1
= (wxString
*) &wxPyEmptyStr
;
769 int _arg2
= (int ) wxOK
|wxCENTRE
;
770 wxWindow
* _arg3
= (wxWindow
*) NULL
;
771 int _arg4
= (int ) -1;
772 int _arg5
= (int ) -1;
773 PyObject
* _obj0
= 0;
774 PyObject
* _obj1
= 0;
775 PyObject
* _argo3
= 0;
776 char *_kwnames
[] = { "message","caption","style","parent","x","y", NULL
};
779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|OiOii:wxMessageBox",_kwnames
,&_obj0
,&_obj1
,&_arg2
,&_argo3
,&_arg4
,&_arg5
))
782 #if PYTHON_API_VERSION >= 1009
783 char* tmpPtr
; int tmpSize
;
784 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
785 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
788 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
790 _arg0
= new wxString(tmpPtr
, tmpSize
);
792 if (!PyString_Check(_obj0
)) {
793 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
796 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
801 #if PYTHON_API_VERSION >= 1009
802 char* tmpPtr
; int tmpSize
;
803 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
804 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
807 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
809 _arg1
= new wxString(tmpPtr
, tmpSize
);
811 if (!PyString_Check(_obj1
)) {
812 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
815 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
819 if (_argo3
== Py_None
) { _arg3
= NULL
; }
820 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxWindow_p")) {
821 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxMessageBox. Expected _wxWindow_p.");
826 wxPy_BEGIN_ALLOW_THREADS
;
827 _result
= (int )wxMessageBox(*_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
829 wxPy_END_ALLOW_THREADS
;
830 } _resultobj
= Py_BuildValue("i",_result
);
842 static PyObject
*_wrap_wxGetNumberFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
843 PyObject
* _resultobj
;
849 long _arg4
= (long ) 0;
850 long _arg5
= (long ) 100;
851 wxWindow
* _arg6
= (wxWindow
*) NULL
;
852 wxPoint
* _arg7
= (wxPoint
*) &wxDefaultPosition
;
853 PyObject
* _obj0
= 0;
854 PyObject
* _obj1
= 0;
855 PyObject
* _obj2
= 0;
856 PyObject
* _argo6
= 0;
858 PyObject
* _obj7
= 0;
859 char *_kwnames
[] = { "message","prompt","caption","value","min","max","parent","pos", NULL
};
862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOl|llOO:wxGetNumberFromUser",_kwnames
,&_obj0
,&_obj1
,&_obj2
,&_arg3
,&_arg4
,&_arg5
,&_argo6
,&_obj7
))
865 #if PYTHON_API_VERSION >= 1009
866 char* tmpPtr
; int tmpSize
;
867 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
868 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
871 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
873 _arg0
= new wxString(tmpPtr
, tmpSize
);
875 if (!PyString_Check(_obj0
)) {
876 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
879 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
883 #if PYTHON_API_VERSION >= 1009
884 char* tmpPtr
; int tmpSize
;
885 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
886 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
889 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
891 _arg1
= new wxString(tmpPtr
, tmpSize
);
893 if (!PyString_Check(_obj1
)) {
894 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
897 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
901 #if PYTHON_API_VERSION >= 1009
902 char* tmpPtr
; int tmpSize
;
903 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
904 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
907 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
909 _arg2
= new wxString(tmpPtr
, tmpSize
);
911 if (!PyString_Check(_obj2
)) {
912 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
915 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
919 if (_argo6
== Py_None
) { _arg6
= NULL
; }
920 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxWindow_p")) {
921 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxGetNumberFromUser. Expected _wxWindow_p.");
928 if (! wxPoint_helper(_obj7
, &_arg7
))
932 wxPy_BEGIN_ALLOW_THREADS
;
933 _result
= (long )wxGetNumberFromUser(*_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,*_arg7
);
935 wxPy_END_ALLOW_THREADS
;
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 wxPy_BEGIN_ALLOW_THREADS
;
962 _result
= (bool )wxColourDisplay();
964 wxPy_END_ALLOW_THREADS
;
965 } _resultobj
= Py_BuildValue("i",_result
);
969 static PyObject
*_wrap_wxDisplayDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
970 PyObject
* _resultobj
;
972 char *_kwnames
[] = { NULL
};
975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxDisplayDepth",_kwnames
))
978 wxPy_BEGIN_ALLOW_THREADS
;
979 _result
= (int )wxDisplayDepth();
981 wxPy_END_ALLOW_THREADS
;
982 } _resultobj
= Py_BuildValue("i",_result
);
986 static PyObject
*_wrap_wxGetDisplayDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
987 PyObject
* _resultobj
;
989 char *_kwnames
[] = { NULL
};
992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetDisplayDepth",_kwnames
))
995 wxPy_BEGIN_ALLOW_THREADS
;
996 _result
= (int )wxGetDisplayDepth();
998 wxPy_END_ALLOW_THREADS
;
999 } _resultobj
= Py_BuildValue("i",_result
);
1003 static PyObject
*_wrap_wxDisplaySize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1004 PyObject
* _resultobj
;
1009 char *_kwnames
[] = { NULL
};
1018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxDisplaySize",_kwnames
))
1021 wxPy_BEGIN_ALLOW_THREADS
;
1022 wxDisplaySize(_arg0
,_arg1
);
1024 wxPy_END_ALLOW_THREADS
;
1025 } Py_INCREF(Py_None
);
1026 _resultobj
= Py_None
;
1029 o
= PyInt_FromLong((long) (*_arg0
));
1030 _resultobj
= t_output_helper(_resultobj
, o
);
1034 o
= PyInt_FromLong((long) (*_arg1
));
1035 _resultobj
= t_output_helper(_resultobj
, o
);
1040 static PyObject
*_wrap_wxGetDisplaySize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1041 PyObject
* _resultobj
;
1043 char *_kwnames
[] = { NULL
};
1047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetDisplaySize",_kwnames
))
1050 wxPy_BEGIN_ALLOW_THREADS
;
1051 _result
= new wxSize (wxGetDisplaySize());
1053 wxPy_END_ALLOW_THREADS
;
1054 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
1055 _resultobj
= Py_BuildValue("s",_ptemp
);
1059 static PyObject
*_wrap_wxDisplaySizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1060 PyObject
* _resultobj
;
1065 char *_kwnames
[] = { NULL
};
1074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxDisplaySizeMM",_kwnames
))
1077 wxPy_BEGIN_ALLOW_THREADS
;
1078 wxDisplaySizeMM(_arg0
,_arg1
);
1080 wxPy_END_ALLOW_THREADS
;
1081 } Py_INCREF(Py_None
);
1082 _resultobj
= Py_None
;
1085 o
= PyInt_FromLong((long) (*_arg0
));
1086 _resultobj
= t_output_helper(_resultobj
, o
);
1090 o
= PyInt_FromLong((long) (*_arg1
));
1091 _resultobj
= t_output_helper(_resultobj
, o
);
1096 static PyObject
*_wrap_wxGetDisplaySizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1097 PyObject
* _resultobj
;
1099 char *_kwnames
[] = { NULL
};
1103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetDisplaySizeMM",_kwnames
))
1106 wxPy_BEGIN_ALLOW_THREADS
;
1107 _result
= new wxSize (wxGetDisplaySizeMM());
1109 wxPy_END_ALLOW_THREADS
;
1110 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
1111 _resultobj
= Py_BuildValue("s",_ptemp
);
1115 static PyObject
*_wrap_wxClientDisplayRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1116 PyObject
* _resultobj
;
1125 char *_kwnames
[] = { NULL
};
1140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxClientDisplayRect",_kwnames
))
1143 wxPy_BEGIN_ALLOW_THREADS
;
1144 wxClientDisplayRect(_arg0
,_arg1
,_arg2
,_arg3
);
1146 wxPy_END_ALLOW_THREADS
;
1147 } Py_INCREF(Py_None
);
1148 _resultobj
= Py_None
;
1151 o
= PyInt_FromLong((long) (*_arg0
));
1152 _resultobj
= t_output_helper(_resultobj
, o
);
1156 o
= PyInt_FromLong((long) (*_arg1
));
1157 _resultobj
= t_output_helper(_resultobj
, o
);
1161 o
= PyInt_FromLong((long) (*_arg2
));
1162 _resultobj
= t_output_helper(_resultobj
, o
);
1166 o
= PyInt_FromLong((long) (*_arg3
));
1167 _resultobj
= t_output_helper(_resultobj
, o
);
1172 static PyObject
*_wrap_wxGetClientDisplayRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1173 PyObject
* _resultobj
;
1175 char *_kwnames
[] = { NULL
};
1179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetClientDisplayRect",_kwnames
))
1182 wxPy_BEGIN_ALLOW_THREADS
;
1183 _result
= new wxRect (wxGetClientDisplayRect());
1185 wxPy_END_ALLOW_THREADS
;
1186 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
1187 _resultobj
= Py_BuildValue("s",_ptemp
);
1191 static PyObject
*_wrap_wxSetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1192 PyObject
* _resultobj
;
1194 PyObject
* _argo0
= 0;
1195 char *_kwnames
[] = { "cursor", NULL
};
1198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSetCursor",_kwnames
,&_argo0
))
1201 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1202 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
1203 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSetCursor. Expected _wxCursor_p.");
1208 wxPy_BEGIN_ALLOW_THREADS
;
1209 wxSetCursor(*_arg0
);
1211 wxPy_END_ALLOW_THREADS
;
1212 } Py_INCREF(Py_None
);
1213 _resultobj
= Py_None
;
1217 static PyObject
*_wrap_wxFindWindowByLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1218 PyObject
* _resultobj
;
1221 wxWindow
* _arg1
= (wxWindow
*) NULL
;
1222 PyObject
* _obj0
= 0;
1223 PyObject
* _argo1
= 0;
1224 char *_kwnames
[] = { "label","parent", NULL
};
1227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxFindWindowByLabel",_kwnames
,&_obj0
,&_argo1
))
1230 #if PYTHON_API_VERSION >= 1009
1231 char* tmpPtr
; int tmpSize
;
1232 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
1233 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1236 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
1238 _arg0
= new wxString(tmpPtr
, tmpSize
);
1240 if (!PyString_Check(_obj0
)) {
1241 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1244 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
1248 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1249 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1250 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFindWindowByLabel. Expected _wxWindow_p.");
1255 wxPy_BEGIN_ALLOW_THREADS
;
1256 _result
= (wxWindow
*)wxFindWindowByLabel(*_arg0
,_arg1
);
1258 wxPy_END_ALLOW_THREADS
;
1259 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1267 static PyObject
*_wrap_wxFindWindowByName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1268 PyObject
* _resultobj
;
1271 wxWindow
* _arg1
= (wxWindow
*) NULL
;
1272 PyObject
* _obj0
= 0;
1273 PyObject
* _argo1
= 0;
1274 char *_kwnames
[] = { "name","parent", NULL
};
1277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxFindWindowByName",_kwnames
,&_obj0
,&_argo1
))
1280 #if PYTHON_API_VERSION >= 1009
1281 char* tmpPtr
; int tmpSize
;
1282 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
1283 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1286 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
1288 _arg0
= new wxString(tmpPtr
, tmpSize
);
1290 if (!PyString_Check(_obj0
)) {
1291 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1294 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
1298 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1299 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1300 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFindWindowByName. Expected _wxWindow_p.");
1305 wxPy_BEGIN_ALLOW_THREADS
;
1306 _result
= (wxWindow
*)wxFindWindowByName(*_arg0
,_arg1
);
1308 wxPy_END_ALLOW_THREADS
;
1309 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1317 static PyObject
*_wrap_wxBeginBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1318 PyObject
* _resultobj
;
1319 wxCursor
* _arg0
= (wxCursor
*) wxHOURGLASS_CURSOR
;
1320 PyObject
* _argo0
= 0;
1321 char *_kwnames
[] = { "cursor", NULL
};
1324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:wxBeginBusyCursor",_kwnames
,&_argo0
))
1327 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1328 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
1329 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBeginBusyCursor. Expected _wxCursor_p.");
1334 wxPy_BEGIN_ALLOW_THREADS
;
1335 wxBeginBusyCursor(_arg0
);
1337 wxPy_END_ALLOW_THREADS
;
1338 } Py_INCREF(Py_None
);
1339 _resultobj
= Py_None
;
1343 static PyObject
*_wrap_wxGetActiveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1344 PyObject
* _resultobj
;
1346 char *_kwnames
[] = { NULL
};
1349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetActiveWindow",_kwnames
))
1352 wxPy_BEGIN_ALLOW_THREADS
;
1353 _result
= (wxWindow
*)wxGetActiveWindow();
1355 wxPy_END_ALLOW_THREADS
;
1356 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1360 static PyObject
*_wrap_wxGenericFindWindowAtPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1361 PyObject
* _resultobj
;
1365 PyObject
* _obj0
= 0;
1366 char *_kwnames
[] = { "pt", NULL
};
1369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGenericFindWindowAtPoint",_kwnames
,&_obj0
))
1373 if (! wxPoint_helper(_obj0
, &_arg0
))
1377 wxPy_BEGIN_ALLOW_THREADS
;
1378 _result
= (wxWindow
*)wxGenericFindWindowAtPoint(*_arg0
);
1380 wxPy_END_ALLOW_THREADS
;
1381 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1385 static PyObject
*_wrap_wxFindWindowAtPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1386 PyObject
* _resultobj
;
1390 PyObject
* _obj0
= 0;
1391 char *_kwnames
[] = { "pt", NULL
};
1394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFindWindowAtPoint",_kwnames
,&_obj0
))
1398 if (! wxPoint_helper(_obj0
, &_arg0
))
1402 wxPy_BEGIN_ALLOW_THREADS
;
1403 _result
= (wxWindow
*)wxFindWindowAtPoint(*_arg0
);
1405 wxPy_END_ALLOW_THREADS
;
1406 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1410 static PyObject
*_wrap_wxCheckForInterrupt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1411 PyObject
* _resultobj
;
1414 PyObject
* _argo0
= 0;
1415 char *_kwnames
[] = { "wnd", NULL
};
1418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCheckForInterrupt",_kwnames
,&_argo0
))
1421 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1422 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1423 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckForInterrupt. Expected _wxWindow_p.");
1428 wxPy_BEGIN_ALLOW_THREADS
;
1429 _result
= (bool )wxCheckForInterrupt(_arg0
);
1431 wxPy_END_ALLOW_THREADS
;
1432 } _resultobj
= Py_BuildValue("i",_result
);
1436 static PyObject
*_wrap_wxFlushEvents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1437 PyObject
* _resultobj
;
1438 char *_kwnames
[] = { NULL
};
1441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxFlushEvents",_kwnames
))
1444 wxPy_BEGIN_ALLOW_THREADS
;
1447 wxPy_END_ALLOW_THREADS
;
1448 } Py_INCREF(Py_None
);
1449 _resultobj
= Py_None
;
1453 static PyObject
*_wrap_wxResourceAddIdentifier(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1454 PyObject
* _resultobj
;
1458 char *_kwnames
[] = { "name","value", NULL
};
1461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"si:wxResourceAddIdentifier",_kwnames
,&_arg0
,&_arg1
))
1464 wxPy_BEGIN_ALLOW_THREADS
;
1465 _result
= (bool )wxResourceAddIdentifier(_arg0
,_arg1
);
1467 wxPy_END_ALLOW_THREADS
;
1468 } _resultobj
= Py_BuildValue("i",_result
);
1472 static PyObject
*_wrap_wxResourceClear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1473 PyObject
* _resultobj
;
1474 char *_kwnames
[] = { NULL
};
1477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxResourceClear",_kwnames
))
1480 wxPy_BEGIN_ALLOW_THREADS
;
1483 wxPy_END_ALLOW_THREADS
;
1484 } Py_INCREF(Py_None
);
1485 _resultobj
= Py_None
;
1489 static PyObject
*_wrap_wxResourceCreateBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1490 PyObject
* _resultobj
;
1493 char *_kwnames
[] = { "resource", NULL
};
1497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxResourceCreateBitmap",_kwnames
,&_arg0
))
1500 wxPy_BEGIN_ALLOW_THREADS
;
1501 _result
= new wxBitmap (wxResourceCreateBitmap(_arg0
));
1503 wxPy_END_ALLOW_THREADS
;
1504 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBitmap_p");
1505 _resultobj
= Py_BuildValue("s",_ptemp
);
1509 static PyObject
*_wrap_wxResourceCreateIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1510 PyObject
* _resultobj
;
1513 char *_kwnames
[] = { "resource", NULL
};
1517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxResourceCreateIcon",_kwnames
,&_arg0
))
1520 wxPy_BEGIN_ALLOW_THREADS
;
1521 _result
= new wxIcon (wxResourceCreateIcon(_arg0
));
1523 wxPy_END_ALLOW_THREADS
;
1524 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxIcon_p");
1525 _resultobj
= Py_BuildValue("s",_ptemp
);
1529 static PyObject
*_wrap_wxResourceCreateMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1530 PyObject
* _resultobj
;
1531 wxMenuBar
* _result
;
1533 char *_kwnames
[] = { "resource", NULL
};
1536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxResourceCreateMenuBar",_kwnames
,&_arg0
))
1539 wxPy_BEGIN_ALLOW_THREADS
;
1540 _result
= (wxMenuBar
*)wxResourceCreateMenuBar(_arg0
);
1542 wxPy_END_ALLOW_THREADS
;
1543 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1547 static PyObject
*_wrap_wxResourceGetIdentifier(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1548 PyObject
* _resultobj
;
1551 char *_kwnames
[] = { "name", NULL
};
1554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxResourceGetIdentifier",_kwnames
,&_arg0
))
1557 wxPy_BEGIN_ALLOW_THREADS
;
1558 _result
= (int )wxResourceGetIdentifier(_arg0
);
1560 wxPy_END_ALLOW_THREADS
;
1561 } _resultobj
= Py_BuildValue("i",_result
);
1565 static PyObject
*_wrap_wxResourceParseData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1566 PyObject
* _resultobj
;
1569 wxResourceTable
* _arg1
= (wxResourceTable
*) NULL
;
1570 PyObject
* _argo1
= 0;
1571 char *_kwnames
[] = { "resource","table", NULL
};
1574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s|O:wxResourceParseData",_kwnames
,&_arg0
,&_argo1
))
1577 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1578 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxResourceTable_p")) {
1579 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxResourceParseData. Expected _wxResourceTable_p.");
1584 wxPy_BEGIN_ALLOW_THREADS
;
1585 _result
= (bool )wxResourceParseData(_arg0
,_arg1
);
1587 wxPy_END_ALLOW_THREADS
;
1588 } _resultobj
= Py_BuildValue("i",_result
);
1592 static PyObject
*_wrap_wxResourceParseFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1593 PyObject
* _resultobj
;
1596 wxResourceTable
* _arg1
= (wxResourceTable
*) NULL
;
1597 PyObject
* _argo1
= 0;
1598 char *_kwnames
[] = { "filename","table", NULL
};
1601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s|O:wxResourceParseFile",_kwnames
,&_arg0
,&_argo1
))
1604 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1605 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxResourceTable_p")) {
1606 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxResourceParseFile. Expected _wxResourceTable_p.");
1611 wxPy_BEGIN_ALLOW_THREADS
;
1612 _result
= (bool )wxResourceParseFile(_arg0
,_arg1
);
1614 wxPy_END_ALLOW_THREADS
;
1615 } _resultobj
= Py_BuildValue("i",_result
);
1619 static PyObject
*_wrap_wxResourceParseString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1620 PyObject
* _resultobj
;
1623 wxResourceTable
* _arg1
= (wxResourceTable
*) NULL
;
1624 PyObject
* _argo1
= 0;
1625 char *_kwnames
[] = { "resource","table", NULL
};
1628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s|O:wxResourceParseString",_kwnames
,&_arg0
,&_argo1
))
1631 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1632 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxResourceTable_p")) {
1633 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxResourceParseString. Expected _wxResourceTable_p.");
1638 wxPy_BEGIN_ALLOW_THREADS
;
1639 _result
= (bool )wxResourceParseString(_arg0
,_arg1
);
1641 wxPy_END_ALLOW_THREADS
;
1642 } _resultobj
= Py_BuildValue("i",_result
);
1646 static PyObject
*_wrap_wxSystemSettings_GetSystemColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1647 PyObject
* _resultobj
;
1650 char *_kwnames
[] = { "index", NULL
};
1654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSystemSettings_GetSystemColour",_kwnames
,&_arg0
))
1657 wxPy_BEGIN_ALLOW_THREADS
;
1658 _result
= new wxColour (wxSystemSettings_GetSystemColour(_arg0
));
1660 wxPy_END_ALLOW_THREADS
;
1661 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
1662 _resultobj
= Py_BuildValue("s",_ptemp
);
1666 static PyObject
*_wrap_wxSystemSettings_GetSystemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1667 PyObject
* _resultobj
;
1670 char *_kwnames
[] = { "index", NULL
};
1674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSystemSettings_GetSystemFont",_kwnames
,&_arg0
))
1677 wxPy_BEGIN_ALLOW_THREADS
;
1678 _result
= new wxFont (wxSystemSettings_GetSystemFont(_arg0
));
1680 wxPy_END_ALLOW_THREADS
;
1681 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
1682 _resultobj
= Py_BuildValue("s",_ptemp
);
1686 static PyObject
*_wrap_wxSystemSettings_GetSystemMetric(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1687 PyObject
* _resultobj
;
1690 char *_kwnames
[] = { "index", NULL
};
1693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSystemSettings_GetSystemMetric",_kwnames
,&_arg0
))
1696 wxPy_BEGIN_ALLOW_THREADS
;
1697 _result
= (int )wxSystemSettings_GetSystemMetric(_arg0
);
1699 wxPy_END_ALLOW_THREADS
;
1700 } _resultobj
= Py_BuildValue("i",_result
);
1704 static PyObject
*_wrap_wxCaret_GetBlinkTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1705 PyObject
* _resultobj
;
1707 char *_kwnames
[] = { NULL
};
1710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxCaret_GetBlinkTime",_kwnames
))
1713 wxPy_BEGIN_ALLOW_THREADS
;
1714 _result
= (int )wxCaret_GetBlinkTime();
1716 wxPy_END_ALLOW_THREADS
;
1717 } _resultobj
= Py_BuildValue("i",_result
);
1721 static PyObject
*_wrap_wxCaret_SetBlinkTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1722 PyObject
* _resultobj
;
1724 char *_kwnames
[] = { "milliseconds", NULL
};
1727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxCaret_SetBlinkTime",_kwnames
,&_arg0
))
1730 wxPy_BEGIN_ALLOW_THREADS
;
1731 wxCaret_SetBlinkTime(_arg0
);
1733 wxPy_END_ALLOW_THREADS
;
1734 } Py_INCREF(Py_None
);
1735 _resultobj
= Py_None
;
1739 static PyObject
*_wrap_wxSafeYield(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1740 PyObject
* _resultobj
;
1742 wxWindow
* _arg0
= (wxWindow
*) NULL
;
1743 PyObject
* _argo0
= 0;
1744 char *_kwnames
[] = { "win", NULL
};
1747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:wxSafeYield",_kwnames
,&_argo0
))
1750 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1751 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1752 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSafeYield. Expected _wxWindow_p.");
1757 wxPy_BEGIN_ALLOW_THREADS
;
1758 _result
= (bool )wxSafeYield(_arg0
);
1760 wxPy_END_ALLOW_THREADS
;
1761 } _resultobj
= Py_BuildValue("i",_result
);
1765 static PyObject
*_wrap_wxPostEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1766 PyObject
* _resultobj
;
1767 wxEvtHandler
* _arg0
;
1769 PyObject
* _argo0
= 0;
1770 PyObject
* _argo1
= 0;
1771 char *_kwnames
[] = { "dest","event", NULL
};
1774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPostEvent",_kwnames
,&_argo0
,&_argo1
))
1777 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1778 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
1779 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPostEvent. Expected _wxEvtHandler_p.");
1784 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1785 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvent_p")) {
1786 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPostEvent. Expected _wxEvent_p.");
1791 wxPy_BEGIN_ALLOW_THREADS
;
1792 wxPostEvent(_arg0
,*_arg1
);
1794 wxPy_END_ALLOW_THREADS
;
1795 } Py_INCREF(Py_None
);
1796 _resultobj
= Py_None
;
1800 static PyObject
*_wrap_wxWakeUpIdle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1801 PyObject
* _resultobj
;
1802 char *_kwnames
[] = { NULL
};
1805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxWakeUpIdle",_kwnames
))
1808 wxPy_BEGIN_ALLOW_THREADS
;
1811 wxPy_END_ALLOW_THREADS
;
1812 } Py_INCREF(Py_None
);
1813 _resultobj
= Py_None
;
1817 static PyObject
*_wrap_wxWakeUpMainThread(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1818 PyObject
* _resultobj
;
1819 char *_kwnames
[] = { NULL
};
1822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxWakeUpMainThread",_kwnames
))
1825 wxPy_BEGIN_ALLOW_THREADS
;
1826 wxWakeUpMainThread();
1828 wxPy_END_ALLOW_THREADS
;
1829 } Py_INCREF(Py_None
);
1830 _resultobj
= Py_None
;
1834 static PyObject
*_wrap_wxMutexGuiEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1835 PyObject
* _resultobj
;
1836 char *_kwnames
[] = { NULL
};
1839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxMutexGuiEnter",_kwnames
))
1842 wxPy_BEGIN_ALLOW_THREADS
;
1845 wxPy_END_ALLOW_THREADS
;
1846 } Py_INCREF(Py_None
);
1847 _resultobj
= Py_None
;
1851 static PyObject
*_wrap_wxMutexGuiLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1852 PyObject
* _resultobj
;
1853 char *_kwnames
[] = { NULL
};
1856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxMutexGuiLeave",_kwnames
))
1859 wxPy_BEGIN_ALLOW_THREADS
;
1862 wxPy_END_ALLOW_THREADS
;
1863 } Py_INCREF(Py_None
);
1864 _resultobj
= Py_None
;
1868 static PyObject
*_wrap_wxThread_IsMain(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1869 PyObject
* _resultobj
;
1871 char *_kwnames
[] = { NULL
};
1874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxThread_IsMain",_kwnames
))
1877 wxPy_BEGIN_ALLOW_THREADS
;
1878 _result
= (bool )wxThread_IsMain();
1880 wxPy_END_ALLOW_THREADS
;
1881 } _resultobj
= Py_BuildValue("i",_result
);
1885 static PyObject
*_wrap_wxShowTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1886 PyObject
* _resultobj
;
1889 wxTipProvider
* _arg1
;
1890 bool _arg2
= (bool ) TRUE
;
1891 PyObject
* _argo0
= 0;
1892 PyObject
* _argo1
= 0;
1893 int tempbool2
= (int) TRUE
;
1894 char *_kwnames
[] = { "parent","tipProvider","showAtStartup", NULL
};
1897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxShowTip",_kwnames
,&_argo0
,&_argo1
,&tempbool2
))
1900 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1901 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1902 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShowTip. Expected _wxWindow_p.");
1907 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1908 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTipProvider_p")) {
1909 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxShowTip. Expected _wxTipProvider_p.");
1913 _arg2
= (bool ) tempbool2
;
1915 wxPy_BEGIN_ALLOW_THREADS
;
1916 _result
= (bool )wxShowTip(_arg0
,_arg1
,_arg2
);
1918 wxPy_END_ALLOW_THREADS
;
1919 } _resultobj
= Py_BuildValue("i",_result
);
1923 static PyObject
*_wrap_wxCreateFileTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1924 PyObject
* _resultobj
;
1925 wxTipProvider
* _result
;
1928 PyObject
* _obj0
= 0;
1929 char *_kwnames
[] = { "filename","currentTip", NULL
};
1933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxCreateFileTipProvider",_kwnames
,&_obj0
,&_arg1
))
1936 #if PYTHON_API_VERSION >= 1009
1937 char* tmpPtr
; int tmpSize
;
1938 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
1939 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1942 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
1944 _arg0
= new wxString(tmpPtr
, tmpSize
);
1946 if (!PyString_Check(_obj0
)) {
1947 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1950 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
1954 wxPy_BEGIN_ALLOW_THREADS
;
1955 _result
= (wxTipProvider
*)wxCreateFileTipProvider(*_arg0
,_arg1
);
1957 wxPy_END_ALLOW_THREADS
;
1959 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTipProvider_p");
1960 _resultobj
= Py_BuildValue("s",_ptemp
);
1963 _resultobj
= Py_None
;
1972 static PyObject
*_wrap_wxSysErrorCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1973 PyObject
* _resultobj
;
1974 unsigned long _result
;
1975 char *_kwnames
[] = { NULL
};
1978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxSysErrorCode",_kwnames
))
1981 wxPy_BEGIN_ALLOW_THREADS
;
1982 _result
= (unsigned long )wxSysErrorCode();
1984 wxPy_END_ALLOW_THREADS
;
1985 } _resultobj
= Py_BuildValue("l",_result
);
1989 static PyObject
*_wrap_wxSysErrorMsg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1990 PyObject
* _resultobj
;
1992 unsigned long _arg0
= (unsigned long ) 0;
1993 char *_kwnames
[] = { "nErrCode", NULL
};
1996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|l:wxSysErrorMsg",_kwnames
,&_arg0
))
1999 wxPy_BEGIN_ALLOW_THREADS
;
2000 _result
= (char *)wxSysErrorMsg(_arg0
);
2002 wxPy_END_ALLOW_THREADS
;
2003 } _resultobj
= Py_BuildValue("s", _result
);
2007 static PyObject
*_wrap_wxLogFatalError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2008 PyObject
* _resultobj
;
2010 char *_kwnames
[] = { "szFormat", NULL
};
2013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLogFatalError",_kwnames
,&_arg0
))
2016 wxPy_BEGIN_ALLOW_THREADS
;
2017 wxLogFatalError(_arg0
);
2019 wxPy_END_ALLOW_THREADS
;
2020 } Py_INCREF(Py_None
);
2021 _resultobj
= Py_None
;
2025 static PyObject
*_wrap_wxLogError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2026 PyObject
* _resultobj
;
2028 char *_kwnames
[] = { "szFormat", NULL
};
2031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLogError",_kwnames
,&_arg0
))
2034 wxPy_BEGIN_ALLOW_THREADS
;
2037 wxPy_END_ALLOW_THREADS
;
2038 } Py_INCREF(Py_None
);
2039 _resultobj
= Py_None
;
2043 static PyObject
*_wrap_wxLogWarning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2044 PyObject
* _resultobj
;
2046 char *_kwnames
[] = { "szFormat", NULL
};
2049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLogWarning",_kwnames
,&_arg0
))
2052 wxPy_BEGIN_ALLOW_THREADS
;
2053 wxLogWarning(_arg0
);
2055 wxPy_END_ALLOW_THREADS
;
2056 } Py_INCREF(Py_None
);
2057 _resultobj
= Py_None
;
2061 static PyObject
*_wrap_wxLogMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2062 PyObject
* _resultobj
;
2064 char *_kwnames
[] = { "szFormat", NULL
};
2067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLogMessage",_kwnames
,&_arg0
))
2070 wxPy_BEGIN_ALLOW_THREADS
;
2071 wxLogMessage(_arg0
);
2073 wxPy_END_ALLOW_THREADS
;
2074 } Py_INCREF(Py_None
);
2075 _resultobj
= Py_None
;
2079 static PyObject
*_wrap_wxLogInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2080 PyObject
* _resultobj
;
2082 char *_kwnames
[] = { "szFormat", NULL
};
2085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLogInfo",_kwnames
,&_arg0
))
2088 wxPy_BEGIN_ALLOW_THREADS
;
2091 wxPy_END_ALLOW_THREADS
;
2092 } Py_INCREF(Py_None
);
2093 _resultobj
= Py_None
;
2097 static PyObject
*_wrap_wxLogVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2098 PyObject
* _resultobj
;
2100 char *_kwnames
[] = { "szFormat", NULL
};
2103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLogVerbose",_kwnames
,&_arg0
))
2106 wxPy_BEGIN_ALLOW_THREADS
;
2107 wxLogVerbose(_arg0
);
2109 wxPy_END_ALLOW_THREADS
;
2110 } Py_INCREF(Py_None
);
2111 _resultobj
= Py_None
;
2115 static PyObject
*_wrap_wxLogStatus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2116 PyObject
* _resultobj
;
2118 char *_kwnames
[] = { "szFormat", NULL
};
2121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLogStatus",_kwnames
,&_arg0
))
2124 wxPy_BEGIN_ALLOW_THREADS
;
2127 wxPy_END_ALLOW_THREADS
;
2128 } Py_INCREF(Py_None
);
2129 _resultobj
= Py_None
;
2133 static PyObject
*_wrap_wxLogStatusFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2134 PyObject
* _resultobj
;
2137 PyObject
* _argo0
= 0;
2138 char *_kwnames
[] = { "pFrame","szFormat", NULL
};
2141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Os:wxLogStatusFrame",_kwnames
,&_argo0
,&_arg1
))
2144 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2145 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
2146 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogStatusFrame. Expected _wxFrame_p.");
2151 wxPy_BEGIN_ALLOW_THREADS
;
2152 wxLogStatus(_arg0
,_arg1
);
2154 wxPy_END_ALLOW_THREADS
;
2155 } Py_INCREF(Py_None
);
2156 _resultobj
= Py_None
;
2160 static PyObject
*_wrap_wxLogSysError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2161 PyObject
* _resultobj
;
2163 char *_kwnames
[] = { "szFormat", NULL
};
2166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLogSysError",_kwnames
,&_arg0
))
2169 wxPy_BEGIN_ALLOW_THREADS
;
2170 wxLogSysError(_arg0
);
2172 wxPy_END_ALLOW_THREADS
;
2173 } Py_INCREF(Py_None
);
2174 _resultobj
= Py_None
;
2178 static PyObject
*_wrap_wxExecute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2179 PyObject
* _resultobj
;
2182 int _arg1
= (int ) FALSE
;
2183 wxPyProcess
* _arg2
= (wxPyProcess
*) NULL
;
2184 PyObject
* _obj0
= 0;
2185 PyObject
* _argo2
= 0;
2186 char *_kwnames
[] = { "command","sync","process", NULL
};
2189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iO:wxExecute",_kwnames
,&_obj0
,&_arg1
,&_argo2
))
2192 #if PYTHON_API_VERSION >= 1009
2193 char* tmpPtr
; int tmpSize
;
2194 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
2195 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2198 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
2200 _arg0
= new wxString(tmpPtr
, tmpSize
);
2202 if (!PyString_Check(_obj0
)) {
2203 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2206 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
2210 if (_argo2
== Py_None
) { _arg2
= NULL
; }
2211 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPyProcess_p")) {
2212 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxExecute. Expected _wxPyProcess_p.");
2217 wxPy_BEGIN_ALLOW_THREADS
;
2218 _result
= (long )wxExecute(*_arg0
,_arg1
,_arg2
);
2220 wxPy_END_ALLOW_THREADS
;
2221 } _resultobj
= Py_BuildValue("l",_result
);
2229 static PyObject
*_wrap_wxWaveData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2230 PyObject
* _resultobj
;
2233 PyObject
* _obj0
= 0;
2234 char *_kwnames
[] = { "data", NULL
};
2238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWaveData",_kwnames
,&_obj0
))
2241 #if PYTHON_API_VERSION >= 1009
2242 char* tmpPtr
; int tmpSize
;
2243 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
2244 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2247 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
2249 _arg0
= new wxString(tmpPtr
, tmpSize
);
2251 if (!PyString_Check(_obj0
)) {
2252 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2255 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
2259 wxPy_BEGIN_ALLOW_THREADS
;
2260 _result
= (wxWave
*)wxWaveData(*_arg0
);
2262 wxPy_END_ALLOW_THREADS
;
2264 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWave_p");
2265 _resultobj
= Py_BuildValue("s",_ptemp
);
2268 _resultobj
= Py_None
;
2277 static int _wrap_wxTheMimeTypesManager_set(PyObject
*val
) {
2279 PyErr_SetString(PyExc_TypeError
,"Variable wxTheMimeTypesManager is read-only.");
2283 static PyObject
*_wrap_wxTheMimeTypesManager_get() {
2287 SWIG_MakePtr(ptemp
, (char *) wxTheMimeTypesManager
,"_wxMimeTypesManager_p");
2288 pyobj
= PyString_FromString(ptemp
);
2292 static void *SwigwxToolTipTowxObject(void *ptr
) {
2295 src
= (wxToolTip
*) ptr
;
2296 dest
= (wxObject
*) src
;
2297 return (void *) dest
;
2300 #define new_wxToolTip(_swigarg0) (new wxToolTip(_swigarg0))
2301 static PyObject
*_wrap_new_wxToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2302 PyObject
* _resultobj
;
2303 wxToolTip
* _result
;
2305 PyObject
* _obj0
= 0;
2306 char *_kwnames
[] = { "tip", NULL
};
2310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxToolTip",_kwnames
,&_obj0
))
2313 #if PYTHON_API_VERSION >= 1009
2314 char* tmpPtr
; int tmpSize
;
2315 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
2316 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2319 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
2321 _arg0
= new wxString(tmpPtr
, tmpSize
);
2323 if (!PyString_Check(_obj0
)) {
2324 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2327 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
2331 wxPy_BEGIN_ALLOW_THREADS
;
2332 _result
= (wxToolTip
*)new_wxToolTip(*_arg0
);
2334 wxPy_END_ALLOW_THREADS
;
2336 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToolTip_p");
2337 _resultobj
= Py_BuildValue("s",_ptemp
);
2340 _resultobj
= Py_None
;
2349 #define wxToolTip_SetTip(_swigobj,_swigarg0) (_swigobj->SetTip(_swigarg0))
2350 static PyObject
*_wrap_wxToolTip_SetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2351 PyObject
* _resultobj
;
2354 PyObject
* _argo0
= 0;
2355 PyObject
* _obj1
= 0;
2356 char *_kwnames
[] = { "self","tip", NULL
};
2359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxToolTip_SetTip",_kwnames
,&_argo0
,&_obj1
))
2362 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2363 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolTip_p")) {
2364 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolTip_SetTip. Expected _wxToolTip_p.");
2369 #if PYTHON_API_VERSION >= 1009
2370 char* tmpPtr
; int tmpSize
;
2371 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
2372 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2375 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
2377 _arg1
= new wxString(tmpPtr
, tmpSize
);
2379 if (!PyString_Check(_obj1
)) {
2380 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2383 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
2387 wxPy_BEGIN_ALLOW_THREADS
;
2388 wxToolTip_SetTip(_arg0
,*_arg1
);
2390 wxPy_END_ALLOW_THREADS
;
2391 } Py_INCREF(Py_None
);
2392 _resultobj
= Py_None
;
2400 #define wxToolTip_GetTip(_swigobj) (_swigobj->GetTip())
2401 static PyObject
*_wrap_wxToolTip_GetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2402 PyObject
* _resultobj
;
2405 PyObject
* _argo0
= 0;
2406 char *_kwnames
[] = { "self", NULL
};
2409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolTip_GetTip",_kwnames
,&_argo0
))
2412 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2413 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolTip_p")) {
2414 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolTip_GetTip. Expected _wxToolTip_p.");
2419 wxPy_BEGIN_ALLOW_THREADS
;
2420 _result
= new wxString (wxToolTip_GetTip(_arg0
));
2422 wxPy_END_ALLOW_THREADS
;
2424 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2432 #define wxToolTip_GetWindow(_swigobj) (_swigobj->GetWindow())
2433 static PyObject
*_wrap_wxToolTip_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2434 PyObject
* _resultobj
;
2437 PyObject
* _argo0
= 0;
2438 char *_kwnames
[] = { "self", NULL
};
2441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolTip_GetWindow",_kwnames
,&_argo0
))
2444 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2445 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolTip_p")) {
2446 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolTip_GetWindow. Expected _wxToolTip_p.");
2451 wxPy_BEGIN_ALLOW_THREADS
;
2452 _result
= (wxWindow
*)wxToolTip_GetWindow(_arg0
);
2454 wxPy_END_ALLOW_THREADS
;
2455 }{ _resultobj
= wxPyMake_wxObject(_result
); }
2459 static PyObject
*_wrap_wxToolTip_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2460 PyObject
* _resultobj
;
2463 char *_kwnames
[] = { "flag", NULL
};
2466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxToolTip_Enable",_kwnames
,&tempbool0
))
2468 _arg0
= (bool ) tempbool0
;
2470 wxPy_BEGIN_ALLOW_THREADS
;
2471 wxToolTip::Enable(_arg0
);
2473 wxPy_END_ALLOW_THREADS
;
2474 } Py_INCREF(Py_None
);
2475 _resultobj
= Py_None
;
2479 static PyObject
*_wrap_wxToolTip_SetDelay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2480 PyObject
* _resultobj
;
2482 char *_kwnames
[] = { "milliseconds", NULL
};
2485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:wxToolTip_SetDelay",_kwnames
,&_arg0
))
2488 wxPy_BEGIN_ALLOW_THREADS
;
2489 wxToolTip::SetDelay(_arg0
);
2491 wxPy_END_ALLOW_THREADS
;
2492 } Py_INCREF(Py_None
);
2493 _resultobj
= Py_None
;
2497 #define new_wxCaret(_swigarg0,_swigarg1) (new wxCaret(_swigarg0,_swigarg1))
2498 static PyObject
*_wrap_new_wxCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2499 PyObject
* _resultobj
;
2503 PyObject
* _argo0
= 0;
2505 PyObject
* _obj1
= 0;
2506 char *_kwnames
[] = { "window","size", NULL
};
2510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:new_wxCaret",_kwnames
,&_argo0
,&_obj1
))
2513 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2514 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2515 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxCaret. Expected _wxWindow_p.");
2521 if (! wxSize_helper(_obj1
, &_arg1
))
2525 wxPy_BEGIN_ALLOW_THREADS
;
2526 _result
= (wxCaret
*)new_wxCaret(_arg0
,*_arg1
);
2528 wxPy_END_ALLOW_THREADS
;
2530 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCaret_p");
2531 _resultobj
= Py_BuildValue("s",_ptemp
);
2534 _resultobj
= Py_None
;
2539 #define delete_wxCaret(_swigobj) (delete _swigobj)
2540 static PyObject
*_wrap_delete_wxCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2541 PyObject
* _resultobj
;
2543 PyObject
* _argo0
= 0;
2544 char *_kwnames
[] = { "self", NULL
};
2547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxCaret",_kwnames
,&_argo0
))
2550 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2551 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2552 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxCaret. Expected _wxCaret_p.");
2557 wxPy_BEGIN_ALLOW_THREADS
;
2558 delete_wxCaret(_arg0
);
2560 wxPy_END_ALLOW_THREADS
;
2561 } Py_INCREF(Py_None
);
2562 _resultobj
= Py_None
;
2566 #define wxCaret_IsOk(_swigobj) (_swigobj->IsOk())
2567 static PyObject
*_wrap_wxCaret_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2568 PyObject
* _resultobj
;
2571 PyObject
* _argo0
= 0;
2572 char *_kwnames
[] = { "self", NULL
};
2575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_IsOk",_kwnames
,&_argo0
))
2578 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2579 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2580 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_IsOk. Expected _wxCaret_p.");
2585 wxPy_BEGIN_ALLOW_THREADS
;
2586 _result
= (bool )wxCaret_IsOk(_arg0
);
2588 wxPy_END_ALLOW_THREADS
;
2589 } _resultobj
= Py_BuildValue("i",_result
);
2593 #define wxCaret_IsVisible(_swigobj) (_swigobj->IsVisible())
2594 static PyObject
*_wrap_wxCaret_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2595 PyObject
* _resultobj
;
2598 PyObject
* _argo0
= 0;
2599 char *_kwnames
[] = { "self", NULL
};
2602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_IsVisible",_kwnames
,&_argo0
))
2605 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2606 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2607 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_IsVisible. Expected _wxCaret_p.");
2612 wxPy_BEGIN_ALLOW_THREADS
;
2613 _result
= (bool )wxCaret_IsVisible(_arg0
);
2615 wxPy_END_ALLOW_THREADS
;
2616 } _resultobj
= Py_BuildValue("i",_result
);
2620 #define wxCaret_GetPositionTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPosition(_swigarg0,_swigarg1))
2621 static PyObject
*_wrap_wxCaret_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2622 PyObject
* _resultobj
;
2628 PyObject
* _argo0
= 0;
2629 char *_kwnames
[] = { "self", NULL
};
2638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetPositionTuple",_kwnames
,&_argo0
))
2641 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2642 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2643 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetPositionTuple. Expected _wxCaret_p.");
2648 wxPy_BEGIN_ALLOW_THREADS
;
2649 wxCaret_GetPositionTuple(_arg0
,_arg1
,_arg2
);
2651 wxPy_END_ALLOW_THREADS
;
2652 } Py_INCREF(Py_None
);
2653 _resultobj
= Py_None
;
2656 o
= PyInt_FromLong((long) (*_arg1
));
2657 _resultobj
= t_output_helper(_resultobj
, o
);
2661 o
= PyInt_FromLong((long) (*_arg2
));
2662 _resultobj
= t_output_helper(_resultobj
, o
);
2667 #define wxCaret_GetPosition(_swigobj) (_swigobj->GetPosition())
2668 static PyObject
*_wrap_wxCaret_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2669 PyObject
* _resultobj
;
2672 PyObject
* _argo0
= 0;
2673 char *_kwnames
[] = { "self", NULL
};
2677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetPosition",_kwnames
,&_argo0
))
2680 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2681 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2682 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetPosition. Expected _wxCaret_p.");
2687 wxPy_BEGIN_ALLOW_THREADS
;
2688 _result
= new wxPoint (wxCaret_GetPosition(_arg0
));
2690 wxPy_END_ALLOW_THREADS
;
2691 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2692 _resultobj
= Py_BuildValue("s",_ptemp
);
2696 #define wxCaret_GetSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSize(_swigarg0,_swigarg1))
2697 static PyObject
*_wrap_wxCaret_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2698 PyObject
* _resultobj
;
2704 PyObject
* _argo0
= 0;
2705 char *_kwnames
[] = { "self", NULL
};
2714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetSizeTuple",_kwnames
,&_argo0
))
2717 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2718 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2719 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetSizeTuple. Expected _wxCaret_p.");
2724 wxPy_BEGIN_ALLOW_THREADS
;
2725 wxCaret_GetSizeTuple(_arg0
,_arg1
,_arg2
);
2727 wxPy_END_ALLOW_THREADS
;
2728 } Py_INCREF(Py_None
);
2729 _resultobj
= Py_None
;
2732 o
= PyInt_FromLong((long) (*_arg1
));
2733 _resultobj
= t_output_helper(_resultobj
, o
);
2737 o
= PyInt_FromLong((long) (*_arg2
));
2738 _resultobj
= t_output_helper(_resultobj
, o
);
2743 #define wxCaret_GetSize(_swigobj) (_swigobj->GetSize())
2744 static PyObject
*_wrap_wxCaret_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2745 PyObject
* _resultobj
;
2748 PyObject
* _argo0
= 0;
2749 char *_kwnames
[] = { "self", NULL
};
2753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetSize",_kwnames
,&_argo0
))
2756 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2757 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2758 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetSize. Expected _wxCaret_p.");
2763 wxPy_BEGIN_ALLOW_THREADS
;
2764 _result
= new wxSize (wxCaret_GetSize(_arg0
));
2766 wxPy_END_ALLOW_THREADS
;
2767 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
2768 _resultobj
= Py_BuildValue("s",_ptemp
);
2772 #define wxCaret_GetWindow(_swigobj) (_swigobj->GetWindow())
2773 static PyObject
*_wrap_wxCaret_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2774 PyObject
* _resultobj
;
2777 PyObject
* _argo0
= 0;
2778 char *_kwnames
[] = { "self", NULL
};
2781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetWindow",_kwnames
,&_argo0
))
2784 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2785 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2786 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetWindow. Expected _wxCaret_p.");
2791 wxPy_BEGIN_ALLOW_THREADS
;
2792 _result
= (wxWindow
*)wxCaret_GetWindow(_arg0
);
2794 wxPy_END_ALLOW_THREADS
;
2795 }{ _resultobj
= wxPyMake_wxObject(_result
); }
2799 #define wxCaret_MoveXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->Move(_swigarg0,_swigarg1))
2800 static PyObject
*_wrap_wxCaret_MoveXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2801 PyObject
* _resultobj
;
2805 PyObject
* _argo0
= 0;
2806 char *_kwnames
[] = { "self","x","y", NULL
};
2809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxCaret_MoveXY",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2812 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2813 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2814 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_MoveXY. Expected _wxCaret_p.");
2819 wxPy_BEGIN_ALLOW_THREADS
;
2820 wxCaret_MoveXY(_arg0
,_arg1
,_arg2
);
2822 wxPy_END_ALLOW_THREADS
;
2823 } Py_INCREF(Py_None
);
2824 _resultobj
= Py_None
;
2828 #define wxCaret_Move(_swigobj,_swigarg0) (_swigobj->Move(_swigarg0))
2829 static PyObject
*_wrap_wxCaret_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2830 PyObject
* _resultobj
;
2833 PyObject
* _argo0
= 0;
2835 PyObject
* _obj1
= 0;
2836 char *_kwnames
[] = { "self","pt", NULL
};
2839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxCaret_Move",_kwnames
,&_argo0
,&_obj1
))
2842 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2843 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2844 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_Move. Expected _wxCaret_p.");
2850 if (! wxPoint_helper(_obj1
, &_arg1
))
2854 wxPy_BEGIN_ALLOW_THREADS
;
2855 wxCaret_Move(_arg0
,*_arg1
);
2857 wxPy_END_ALLOW_THREADS
;
2858 } Py_INCREF(Py_None
);
2859 _resultobj
= Py_None
;
2863 #define wxCaret_SetSizeWH(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSize(_swigarg0,_swigarg1))
2864 static PyObject
*_wrap_wxCaret_SetSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2865 PyObject
* _resultobj
;
2869 PyObject
* _argo0
= 0;
2870 char *_kwnames
[] = { "self","width","height", NULL
};
2873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxCaret_SetSizeWH",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2876 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2877 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2878 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_SetSizeWH. Expected _wxCaret_p.");
2883 wxPy_BEGIN_ALLOW_THREADS
;
2884 wxCaret_SetSizeWH(_arg0
,_arg1
,_arg2
);
2886 wxPy_END_ALLOW_THREADS
;
2887 } Py_INCREF(Py_None
);
2888 _resultobj
= Py_None
;
2892 #define wxCaret_SetSize(_swigobj,_swigarg0) (_swigobj->SetSize(_swigarg0))
2893 static PyObject
*_wrap_wxCaret_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2894 PyObject
* _resultobj
;
2897 PyObject
* _argo0
= 0;
2899 PyObject
* _obj1
= 0;
2900 char *_kwnames
[] = { "self","size", NULL
};
2903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxCaret_SetSize",_kwnames
,&_argo0
,&_obj1
))
2906 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2907 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2908 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_SetSize. Expected _wxCaret_p.");
2914 if (! wxSize_helper(_obj1
, &_arg1
))
2918 wxPy_BEGIN_ALLOW_THREADS
;
2919 wxCaret_SetSize(_arg0
,*_arg1
);
2921 wxPy_END_ALLOW_THREADS
;
2922 } Py_INCREF(Py_None
);
2923 _resultobj
= Py_None
;
2927 #define wxCaret_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
2928 static PyObject
*_wrap_wxCaret_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2929 PyObject
* _resultobj
;
2931 int _arg1
= (int ) TRUE
;
2932 PyObject
* _argo0
= 0;
2933 char *_kwnames
[] = { "self","show", NULL
};
2936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxCaret_Show",_kwnames
,&_argo0
,&_arg1
))
2939 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2940 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2941 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_Show. Expected _wxCaret_p.");
2946 wxPy_BEGIN_ALLOW_THREADS
;
2947 wxCaret_Show(_arg0
,_arg1
);
2949 wxPy_END_ALLOW_THREADS
;
2950 } Py_INCREF(Py_None
);
2951 _resultobj
= Py_None
;
2955 #define wxCaret_Hide(_swigobj) (_swigobj->Hide())
2956 static PyObject
*_wrap_wxCaret_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2957 PyObject
* _resultobj
;
2959 PyObject
* _argo0
= 0;
2960 char *_kwnames
[] = { "self", NULL
};
2963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_Hide",_kwnames
,&_argo0
))
2966 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2967 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2968 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_Hide. Expected _wxCaret_p.");
2973 wxPy_BEGIN_ALLOW_THREADS
;
2974 wxCaret_Hide(_arg0
);
2976 wxPy_END_ALLOW_THREADS
;
2977 } Py_INCREF(Py_None
);
2978 _resultobj
= Py_None
;
2982 #define new_wxFontEnumerator() (new wxPyFontEnumerator())
2983 static PyObject
*_wrap_new_wxFontEnumerator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2984 PyObject
* _resultobj
;
2985 wxPyFontEnumerator
* _result
;
2986 char *_kwnames
[] = { NULL
};
2990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxFontEnumerator",_kwnames
))
2993 wxPy_BEGIN_ALLOW_THREADS
;
2994 _result
= (wxPyFontEnumerator
*)new_wxFontEnumerator();
2996 wxPy_END_ALLOW_THREADS
;
2998 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyFontEnumerator_p");
2999 _resultobj
= Py_BuildValue("s",_ptemp
);
3002 _resultobj
= Py_None
;
3007 #define delete_wxPyFontEnumerator(_swigobj) (delete _swigobj)
3008 static PyObject
*_wrap_delete_wxFontEnumerator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3009 PyObject
* _resultobj
;
3010 wxPyFontEnumerator
* _arg0
;
3011 PyObject
* _argo0
= 0;
3012 char *_kwnames
[] = { "self", NULL
};
3015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxFontEnumerator",_kwnames
,&_argo0
))
3018 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3019 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) {
3020 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxFontEnumerator. Expected _wxPyFontEnumerator_p.");
3025 wxPy_BEGIN_ALLOW_THREADS
;
3026 delete_wxPyFontEnumerator(_arg0
);
3028 wxPy_END_ALLOW_THREADS
;
3029 } Py_INCREF(Py_None
);
3030 _resultobj
= Py_None
;
3034 #define wxFontEnumerator__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
3035 static PyObject
*_wrap_wxFontEnumerator__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3036 PyObject
* _resultobj
;
3037 wxPyFontEnumerator
* _arg0
;
3040 PyObject
* _argo0
= 0;
3041 PyObject
* _obj1
= 0;
3042 PyObject
* _obj2
= 0;
3043 char *_kwnames
[] = { "self","self","_class", NULL
};
3046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxFontEnumerator__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
3049 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3050 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) {
3051 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontEnumerator__setCallbackInfo. Expected _wxPyFontEnumerator_p.");
3062 wxPy_BEGIN_ALLOW_THREADS
;
3063 wxFontEnumerator__setCallbackInfo(_arg0
,_arg1
,_arg2
);
3065 wxPy_END_ALLOW_THREADS
;
3066 } Py_INCREF(Py_None
);
3067 _resultobj
= Py_None
;
3071 #define wxFontEnumerator_EnumerateFacenames(_swigobj,_swigarg0,_swigarg1) (_swigobj->EnumerateFacenames(_swigarg0,_swigarg1))
3072 static PyObject
*_wrap_wxFontEnumerator_EnumerateFacenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3073 PyObject
* _resultobj
;
3075 wxPyFontEnumerator
* _arg0
;
3076 wxFontEncoding _arg1
= (wxFontEncoding
) wxFONTENCODING_SYSTEM
;
3077 bool _arg2
= (bool ) FALSE
;
3078 PyObject
* _argo0
= 0;
3079 int tempbool2
= (int) FALSE
;
3080 char *_kwnames
[] = { "self","encoding","fixedWidthOnly", NULL
};
3083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxFontEnumerator_EnumerateFacenames",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
3086 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3087 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) {
3088 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontEnumerator_EnumerateFacenames. Expected _wxPyFontEnumerator_p.");
3092 _arg2
= (bool ) tempbool2
;
3094 wxPy_BEGIN_ALLOW_THREADS
;
3095 _result
= (bool )wxFontEnumerator_EnumerateFacenames(_arg0
,_arg1
,_arg2
);
3097 wxPy_END_ALLOW_THREADS
;
3098 } _resultobj
= Py_BuildValue("i",_result
);
3102 #define wxFontEnumerator_EnumerateEncodings(_swigobj,_swigarg0) (_swigobj->EnumerateEncodings(_swigarg0))
3103 static PyObject
*_wrap_wxFontEnumerator_EnumerateEncodings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3104 PyObject
* _resultobj
;
3106 wxPyFontEnumerator
* _arg0
;
3107 char * _arg1
= (char *) "";
3108 PyObject
* _argo0
= 0;
3109 char *_kwnames
[] = { "self","facename", NULL
};
3112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|s:wxFontEnumerator_EnumerateEncodings",_kwnames
,&_argo0
,&_arg1
))
3115 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3116 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) {
3117 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontEnumerator_EnumerateEncodings. Expected _wxPyFontEnumerator_p.");
3122 wxPy_BEGIN_ALLOW_THREADS
;
3123 _result
= (bool )wxFontEnumerator_EnumerateEncodings(_arg0
,_arg1
);
3125 wxPy_END_ALLOW_THREADS
;
3126 } _resultobj
= Py_BuildValue("i",_result
);
3130 static PyObject
* wxPyFontEnumerator_GetEncodings(wxPyFontEnumerator
*self
) {
3131 wxArrayString
* arr
= self
->GetEncodings();
3132 return wxArrayString2PyList_helper(arr
);
3134 static PyObject
*_wrap_wxFontEnumerator_GetEncodings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3135 PyObject
* _resultobj
;
3137 wxPyFontEnumerator
* _arg0
;
3138 PyObject
* _argo0
= 0;
3139 char *_kwnames
[] = { "self", NULL
};
3142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFontEnumerator_GetEncodings",_kwnames
,&_argo0
))
3145 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3146 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) {
3147 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontEnumerator_GetEncodings. Expected _wxPyFontEnumerator_p.");
3152 wxPy_BEGIN_ALLOW_THREADS
;
3153 _result
= (PyObject
*)wxPyFontEnumerator_GetEncodings(_arg0
);
3155 wxPy_END_ALLOW_THREADS
;
3157 _resultobj
= _result
;
3162 static PyObject
* wxPyFontEnumerator_GetFacenames(wxPyFontEnumerator
*self
) {
3163 wxArrayString
* arr
= self
->GetFacenames();
3164 return wxArrayString2PyList_helper(arr
);
3166 static PyObject
*_wrap_wxFontEnumerator_GetFacenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3167 PyObject
* _resultobj
;
3169 wxPyFontEnumerator
* _arg0
;
3170 PyObject
* _argo0
= 0;
3171 char *_kwnames
[] = { "self", NULL
};
3174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFontEnumerator_GetFacenames",_kwnames
,&_argo0
))
3177 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3178 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) {
3179 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontEnumerator_GetFacenames. Expected _wxPyFontEnumerator_p.");
3184 wxPy_BEGIN_ALLOW_THREADS
;
3185 _result
= (PyObject
*)wxPyFontEnumerator_GetFacenames(_arg0
);
3187 wxPy_END_ALLOW_THREADS
;
3189 _resultobj
= _result
;
3194 #define new_wxBusyCursor(_swigarg0) (new wxBusyCursor(_swigarg0))
3195 static PyObject
*_wrap_new_wxBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3196 PyObject
* _resultobj
;
3197 wxBusyCursor
* _result
;
3198 wxCursor
* _arg0
= (wxCursor
*) wxHOURGLASS_CURSOR
;
3199 PyObject
* _argo0
= 0;
3200 char *_kwnames
[] = { "cursor", NULL
};
3204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxBusyCursor",_kwnames
,&_argo0
))
3207 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3208 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
3209 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxBusyCursor. Expected _wxCursor_p.");
3214 wxPy_BEGIN_ALLOW_THREADS
;
3215 _result
= (wxBusyCursor
*)new_wxBusyCursor(_arg0
);
3217 wxPy_END_ALLOW_THREADS
;
3219 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBusyCursor_p");
3220 _resultobj
= Py_BuildValue("s",_ptemp
);
3223 _resultobj
= Py_None
;
3228 #define delete_wxBusyCursor(_swigobj) (delete _swigobj)
3229 static PyObject
*_wrap_delete_wxBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3230 PyObject
* _resultobj
;
3231 wxBusyCursor
* _arg0
;
3232 PyObject
* _argo0
= 0;
3233 char *_kwnames
[] = { "self", NULL
};
3236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxBusyCursor",_kwnames
,&_argo0
))
3239 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3240 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBusyCursor_p")) {
3241 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxBusyCursor. Expected _wxBusyCursor_p.");
3246 wxPy_BEGIN_ALLOW_THREADS
;
3247 delete_wxBusyCursor(_arg0
);
3249 wxPy_END_ALLOW_THREADS
;
3250 } Py_INCREF(Py_None
);
3251 _resultobj
= Py_None
;
3255 #define new_wxWindowDisabler(_swigarg0) (new wxWindowDisabler(_swigarg0))
3256 static PyObject
*_wrap_new_wxWindowDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3257 PyObject
* _resultobj
;
3258 wxWindowDisabler
* _result
;
3259 wxWindow
* _arg0
= (wxWindow
*) NULL
;
3260 PyObject
* _argo0
= 0;
3261 char *_kwnames
[] = { "winToSkip", NULL
};
3265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxWindowDisabler",_kwnames
,&_argo0
))
3268 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3269 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3270 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxWindowDisabler. Expected _wxWindow_p.");
3275 wxPy_BEGIN_ALLOW_THREADS
;
3276 _result
= (wxWindowDisabler
*)new_wxWindowDisabler(_arg0
);
3278 wxPy_END_ALLOW_THREADS
;
3280 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindowDisabler_p");
3281 _resultobj
= Py_BuildValue("s",_ptemp
);
3284 _resultobj
= Py_None
;
3289 #define delete_wxWindowDisabler(_swigobj) (delete _swigobj)
3290 static PyObject
*_wrap_delete_wxWindowDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3291 PyObject
* _resultobj
;
3292 wxWindowDisabler
* _arg0
;
3293 PyObject
* _argo0
= 0;
3294 char *_kwnames
[] = { "self", NULL
};
3297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxWindowDisabler",_kwnames
,&_argo0
))
3300 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3301 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindowDisabler_p")) {
3302 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxWindowDisabler. Expected _wxWindowDisabler_p.");
3307 wxPy_BEGIN_ALLOW_THREADS
;
3308 delete_wxWindowDisabler(_arg0
);
3310 wxPy_END_ALLOW_THREADS
;
3311 } Py_INCREF(Py_None
);
3312 _resultobj
= Py_None
;
3316 #define new_wxMutexGuiLocker() (new wxMutexGuiLocker())
3317 static PyObject
*_wrap_new_wxMutexGuiLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3318 PyObject
* _resultobj
;
3319 wxMutexGuiLocker
* _result
;
3320 char *_kwnames
[] = { NULL
};
3324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxMutexGuiLocker",_kwnames
))
3327 wxPy_BEGIN_ALLOW_THREADS
;
3328 _result
= (wxMutexGuiLocker
*)new_wxMutexGuiLocker();
3330 wxPy_END_ALLOW_THREADS
;
3332 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMutexGuiLocker_p");
3333 _resultobj
= Py_BuildValue("s",_ptemp
);
3336 _resultobj
= Py_None
;
3341 #define delete_wxMutexGuiLocker(_swigobj) (delete _swigobj)
3342 static PyObject
*_wrap_delete_wxMutexGuiLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3343 PyObject
* _resultobj
;
3344 wxMutexGuiLocker
* _arg0
;
3345 PyObject
* _argo0
= 0;
3346 char *_kwnames
[] = { "self", NULL
};
3349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxMutexGuiLocker",_kwnames
,&_argo0
))
3352 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3353 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMutexGuiLocker_p")) {
3354 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxMutexGuiLocker. Expected _wxMutexGuiLocker_p.");
3359 wxPy_BEGIN_ALLOW_THREADS
;
3360 delete_wxMutexGuiLocker(_arg0
);
3362 wxPy_END_ALLOW_THREADS
;
3363 } Py_INCREF(Py_None
);
3364 _resultobj
= Py_None
;
3368 #define delete_wxTipProvider(_swigobj) (delete _swigobj)
3369 static PyObject
*_wrap_delete_wxTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3370 PyObject
* _resultobj
;
3371 wxTipProvider
* _arg0
;
3372 PyObject
* _argo0
= 0;
3373 char *_kwnames
[] = { "self", NULL
};
3376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxTipProvider",_kwnames
,&_argo0
))
3379 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3380 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTipProvider_p")) {
3381 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxTipProvider. Expected _wxTipProvider_p.");
3386 wxPy_BEGIN_ALLOW_THREADS
;
3387 delete_wxTipProvider(_arg0
);
3389 wxPy_END_ALLOW_THREADS
;
3390 } Py_INCREF(Py_None
);
3391 _resultobj
= Py_None
;
3395 #define wxTipProvider_GetTip(_swigobj) (_swigobj->GetTip())
3396 static PyObject
*_wrap_wxTipProvider_GetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3397 PyObject
* _resultobj
;
3399 wxTipProvider
* _arg0
;
3400 PyObject
* _argo0
= 0;
3401 char *_kwnames
[] = { "self", NULL
};
3404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTipProvider_GetTip",_kwnames
,&_argo0
))
3407 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3408 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTipProvider_p")) {
3409 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTipProvider_GetTip. Expected _wxTipProvider_p.");
3414 wxPy_BEGIN_ALLOW_THREADS
;
3415 _result
= new wxString (wxTipProvider_GetTip(_arg0
));
3417 wxPy_END_ALLOW_THREADS
;
3419 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3427 #define wxTipProvider_GetCurrentTip(_swigobj) (_swigobj->GetCurrentTip())
3428 static PyObject
*_wrap_wxTipProvider_GetCurrentTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3429 PyObject
* _resultobj
;
3431 wxTipProvider
* _arg0
;
3432 PyObject
* _argo0
= 0;
3433 char *_kwnames
[] = { "self", NULL
};
3436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTipProvider_GetCurrentTip",_kwnames
,&_argo0
))
3439 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3440 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTipProvider_p")) {
3441 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTipProvider_GetCurrentTip. Expected _wxTipProvider_p.");
3446 wxPy_BEGIN_ALLOW_THREADS
;
3447 _result
= (size_t )wxTipProvider_GetCurrentTip(_arg0
);
3449 wxPy_END_ALLOW_THREADS
;
3450 } _resultobj
= Py_BuildValue("i",_result
);
3454 static void *SwigwxPyTipProviderTowxTipProvider(void *ptr
) {
3455 wxPyTipProvider
*src
;
3456 wxTipProvider
*dest
;
3457 src
= (wxPyTipProvider
*) ptr
;
3458 dest
= (wxTipProvider
*) src
;
3459 return (void *) dest
;
3462 #define new_wxPyTipProvider(_swigarg0) (new wxPyTipProvider(_swigarg0))
3463 static PyObject
*_wrap_new_wxPyTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3464 PyObject
* _resultobj
;
3465 wxPyTipProvider
* _result
;
3467 char *_kwnames
[] = { "currentTip", NULL
};
3471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:new_wxPyTipProvider",_kwnames
,&_arg0
))
3474 wxPy_BEGIN_ALLOW_THREADS
;
3475 _result
= (wxPyTipProvider
*)new_wxPyTipProvider(_arg0
);
3477 wxPy_END_ALLOW_THREADS
;
3479 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTipProvider_p");
3480 _resultobj
= Py_BuildValue("s",_ptemp
);
3483 _resultobj
= Py_None
;
3488 static void *SwigwxGenericDragImageTowxObject(void *ptr
) {
3489 wxGenericDragImage
*src
;
3491 src
= (wxGenericDragImage
*) ptr
;
3492 dest
= (wxObject
*) src
;
3493 return (void *) dest
;
3496 #define new_wxDragImage(_swigarg0,_swigarg1) (new wxGenericDragImage(_swigarg0,_swigarg1))
3497 static PyObject
*_wrap_new_wxDragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3498 PyObject
* _resultobj
;
3499 wxGenericDragImage
* _result
;
3501 wxCursor
* _arg1
= (wxCursor
*) &wxNullCursor
;
3502 PyObject
* _argo0
= 0;
3503 PyObject
* _argo1
= 0;
3504 char *_kwnames
[] = { "image","cursor", NULL
};
3508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:new_wxDragImage",_kwnames
,&_argo0
,&_argo1
))
3511 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3512 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
3513 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDragImage. Expected _wxBitmap_p.");
3518 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3519 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCursor_p")) {
3520 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxDragImage. Expected _wxCursor_p.");
3525 wxPy_BEGIN_ALLOW_THREADS
;
3526 _result
= (wxGenericDragImage
*)new_wxDragImage(*_arg0
,*_arg1
);
3528 wxPy_END_ALLOW_THREADS
;
3530 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
3531 _resultobj
= Py_BuildValue("s",_ptemp
);
3534 _resultobj
= Py_None
;
3539 #define new_wxDragIcon(_swigarg0,_swigarg1) (new wxGenericDragImage(_swigarg0,_swigarg1))
3540 static PyObject
*_wrap_new_wxDragIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3541 PyObject
* _resultobj
;
3542 wxGenericDragImage
* _result
;
3544 wxCursor
* _arg1
= (wxCursor
*) &wxNullCursor
;
3545 PyObject
* _argo0
= 0;
3546 PyObject
* _argo1
= 0;
3547 char *_kwnames
[] = { "image","cursor", NULL
};
3551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:new_wxDragIcon",_kwnames
,&_argo0
,&_argo1
))
3554 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3555 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
3556 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDragIcon. Expected _wxIcon_p.");
3561 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3562 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCursor_p")) {
3563 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxDragIcon. Expected _wxCursor_p.");
3568 wxPy_BEGIN_ALLOW_THREADS
;
3569 _result
= (wxGenericDragImage
*)new_wxDragIcon(*_arg0
,*_arg1
);
3571 wxPy_END_ALLOW_THREADS
;
3573 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
3574 _resultobj
= Py_BuildValue("s",_ptemp
);
3577 _resultobj
= Py_None
;
3582 #define new_wxDragString(_swigarg0,_swigarg1) (new wxGenericDragImage(_swigarg0,_swigarg1))
3583 static PyObject
*_wrap_new_wxDragString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3584 PyObject
* _resultobj
;
3585 wxGenericDragImage
* _result
;
3587 wxCursor
* _arg1
= (wxCursor
*) &wxNullCursor
;
3588 PyObject
* _obj0
= 0;
3589 PyObject
* _argo1
= 0;
3590 char *_kwnames
[] = { "str","cursor", NULL
};
3594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:new_wxDragString",_kwnames
,&_obj0
,&_argo1
))
3597 #if PYTHON_API_VERSION >= 1009
3598 char* tmpPtr
; int tmpSize
;
3599 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
3600 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3603 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
3605 _arg0
= new wxString(tmpPtr
, tmpSize
);
3607 if (!PyString_Check(_obj0
)) {
3608 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3611 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
3615 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3616 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCursor_p")) {
3617 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxDragString. Expected _wxCursor_p.");
3622 wxPy_BEGIN_ALLOW_THREADS
;
3623 _result
= (wxGenericDragImage
*)new_wxDragString(*_arg0
,*_arg1
);
3625 wxPy_END_ALLOW_THREADS
;
3627 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
3628 _resultobj
= Py_BuildValue("s",_ptemp
);
3631 _resultobj
= Py_None
;
3640 #define new_wxDragTreeItem(_swigarg0,_swigarg1) (new wxGenericDragImage(_swigarg0,_swigarg1))
3641 static PyObject
*_wrap_new_wxDragTreeItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3642 PyObject
* _resultobj
;
3643 wxGenericDragImage
* _result
;
3645 wxTreeItemId
* _arg1
;
3646 PyObject
* _argo0
= 0;
3647 PyObject
* _argo1
= 0;
3648 char *_kwnames
[] = { "treeCtrl","id", NULL
};
3652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:new_wxDragTreeItem",_kwnames
,&_argo0
,&_argo1
))
3655 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3656 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3657 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDragTreeItem. Expected _wxTreeCtrl_p.");
3662 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3663 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3664 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxDragTreeItem. Expected _wxTreeItemId_p.");
3669 wxPy_BEGIN_ALLOW_THREADS
;
3670 _result
= (wxGenericDragImage
*)new_wxDragTreeItem(*_arg0
,*_arg1
);
3672 wxPy_END_ALLOW_THREADS
;
3674 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
3675 _resultobj
= Py_BuildValue("s",_ptemp
);
3678 _resultobj
= Py_None
;
3683 #define new_wxDragListItem(_swigarg0,_swigarg1) (new wxGenericDragImage(_swigarg0,_swigarg1))
3684 static PyObject
*_wrap_new_wxDragListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3685 PyObject
* _resultobj
;
3686 wxGenericDragImage
* _result
;
3689 PyObject
* _argo0
= 0;
3690 char *_kwnames
[] = { "listCtrl","id", NULL
};
3694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:new_wxDragListItem",_kwnames
,&_argo0
,&_arg1
))
3697 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3698 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3699 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDragListItem. Expected _wxListCtrl_p.");
3704 wxPy_BEGIN_ALLOW_THREADS
;
3705 _result
= (wxGenericDragImage
*)new_wxDragListItem(*_arg0
,_arg1
);
3707 wxPy_END_ALLOW_THREADS
;
3709 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
3710 _resultobj
= Py_BuildValue("s",_ptemp
);
3713 _resultobj
= Py_None
;
3718 #define delete_wxGenericDragImage(_swigobj) (delete _swigobj)
3719 static PyObject
*_wrap_delete_wxDragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3720 PyObject
* _resultobj
;
3721 wxGenericDragImage
* _arg0
;
3722 PyObject
* _argo0
= 0;
3723 char *_kwnames
[] = { "self", NULL
};
3726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxDragImage",_kwnames
,&_argo0
))
3729 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3730 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3731 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxDragImage. Expected _wxGenericDragImage_p.");
3736 wxPy_BEGIN_ALLOW_THREADS
;
3737 delete_wxGenericDragImage(_arg0
);
3739 wxPy_END_ALLOW_THREADS
;
3740 } Py_INCREF(Py_None
);
3741 _resultobj
= Py_None
;
3745 #define wxDragImage_SetBackingBitmap(_swigobj,_swigarg0) (_swigobj->SetBackingBitmap(_swigarg0))
3746 static PyObject
*_wrap_wxDragImage_SetBackingBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3747 PyObject
* _resultobj
;
3748 wxGenericDragImage
* _arg0
;
3750 PyObject
* _argo0
= 0;
3751 PyObject
* _argo1
= 0;
3752 char *_kwnames
[] = { "self","bitmap", NULL
};
3755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDragImage_SetBackingBitmap",_kwnames
,&_argo0
,&_argo1
))
3758 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3759 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3760 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_SetBackingBitmap. Expected _wxGenericDragImage_p.");
3765 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3766 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
3767 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDragImage_SetBackingBitmap. Expected _wxBitmap_p.");
3772 wxPy_BEGIN_ALLOW_THREADS
;
3773 wxDragImage_SetBackingBitmap(_arg0
,_arg1
);
3775 wxPy_END_ALLOW_THREADS
;
3776 } Py_INCREF(Py_None
);
3777 _resultobj
= Py_None
;
3781 #define wxDragImage_BeginDrag(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->BeginDrag(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3782 static PyObject
*_wrap_wxDragImage_BeginDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3783 PyObject
* _resultobj
;
3785 wxGenericDragImage
* _arg0
;
3788 bool _arg3
= (bool ) FALSE
;
3789 wxRect
* _arg4
= (wxRect
*) NULL
;
3790 PyObject
* _argo0
= 0;
3792 PyObject
* _obj1
= 0;
3793 PyObject
* _argo2
= 0;
3794 int tempbool3
= (int) FALSE
;
3796 PyObject
* _obj4
= 0;
3797 char *_kwnames
[] = { "self","hotspot","window","fullScreen","rect", NULL
};
3800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|iO:wxDragImage_BeginDrag",_kwnames
,&_argo0
,&_obj1
,&_argo2
,&tempbool3
,&_obj4
))
3803 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3804 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3805 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_BeginDrag. Expected _wxGenericDragImage_p.");
3811 if (! wxPoint_helper(_obj1
, &_arg1
))
3815 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3816 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
3817 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxDragImage_BeginDrag. Expected _wxWindow_p.");
3821 _arg3
= (bool ) tempbool3
;
3825 if (! wxRect_helper(_obj4
, &_arg4
))
3829 wxPy_BEGIN_ALLOW_THREADS
;
3830 _result
= (bool )wxDragImage_BeginDrag(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
);
3832 wxPy_END_ALLOW_THREADS
;
3833 } _resultobj
= Py_BuildValue("i",_result
);
3837 #define wxDragImage_BeginDrag2(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->BeginDrag(_swigarg0,_swigarg1,_swigarg2))
3838 static PyObject
*_wrap_wxDragImage_BeginDrag2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3839 PyObject
* _resultobj
;
3841 wxGenericDragImage
* _arg0
;
3845 PyObject
* _argo0
= 0;
3847 PyObject
* _obj1
= 0;
3848 PyObject
* _argo2
= 0;
3849 PyObject
* _argo3
= 0;
3850 char *_kwnames
[] = { "self","hotspot","window","fullScreenRect", NULL
};
3853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO:wxDragImage_BeginDrag2",_kwnames
,&_argo0
,&_obj1
,&_argo2
,&_argo3
))
3856 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3857 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3858 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_BeginDrag2. Expected _wxGenericDragImage_p.");
3864 if (! wxPoint_helper(_obj1
, &_arg1
))
3868 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3869 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
3870 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxDragImage_BeginDrag2. Expected _wxWindow_p.");
3875 if (_argo3
== Py_None
) { _arg3
= NULL
; }
3876 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxWindow_p")) {
3877 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxDragImage_BeginDrag2. Expected _wxWindow_p.");
3882 wxPy_BEGIN_ALLOW_THREADS
;
3883 _result
= (bool )wxDragImage_BeginDrag2(_arg0
,*_arg1
,_arg2
,_arg3
);
3885 wxPy_END_ALLOW_THREADS
;
3886 } _resultobj
= Py_BuildValue("i",_result
);
3890 #define wxDragImage_EndDrag(_swigobj) (_swigobj->EndDrag())
3891 static PyObject
*_wrap_wxDragImage_EndDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3892 PyObject
* _resultobj
;
3894 wxGenericDragImage
* _arg0
;
3895 PyObject
* _argo0
= 0;
3896 char *_kwnames
[] = { "self", NULL
};
3899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDragImage_EndDrag",_kwnames
,&_argo0
))
3902 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3903 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3904 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_EndDrag. Expected _wxGenericDragImage_p.");
3909 wxPy_BEGIN_ALLOW_THREADS
;
3910 _result
= (bool )wxDragImage_EndDrag(_arg0
);
3912 wxPy_END_ALLOW_THREADS
;
3913 } _resultobj
= Py_BuildValue("i",_result
);
3917 #define wxDragImage_Move(_swigobj,_swigarg0) (_swigobj->Move(_swigarg0))
3918 static PyObject
*_wrap_wxDragImage_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3919 PyObject
* _resultobj
;
3921 wxGenericDragImage
* _arg0
;
3923 PyObject
* _argo0
= 0;
3925 PyObject
* _obj1
= 0;
3926 char *_kwnames
[] = { "self","pt", NULL
};
3929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDragImage_Move",_kwnames
,&_argo0
,&_obj1
))
3932 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3933 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3934 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_Move. Expected _wxGenericDragImage_p.");
3940 if (! wxPoint_helper(_obj1
, &_arg1
))
3944 wxPy_BEGIN_ALLOW_THREADS
;
3945 _result
= (bool )wxDragImage_Move(_arg0
,*_arg1
);
3947 wxPy_END_ALLOW_THREADS
;
3948 } _resultobj
= Py_BuildValue("i",_result
);
3952 #define wxDragImage_Show(_swigobj) (_swigobj->Show())
3953 static PyObject
*_wrap_wxDragImage_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3954 PyObject
* _resultobj
;
3956 wxGenericDragImage
* _arg0
;
3957 PyObject
* _argo0
= 0;
3958 char *_kwnames
[] = { "self", NULL
};
3961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDragImage_Show",_kwnames
,&_argo0
))
3964 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3965 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3966 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_Show. Expected _wxGenericDragImage_p.");
3971 wxPy_BEGIN_ALLOW_THREADS
;
3972 _result
= (bool )wxDragImage_Show(_arg0
);
3974 wxPy_END_ALLOW_THREADS
;
3975 } _resultobj
= Py_BuildValue("i",_result
);
3979 #define wxDragImage_Hide(_swigobj) (_swigobj->Hide())
3980 static PyObject
*_wrap_wxDragImage_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3981 PyObject
* _resultobj
;
3983 wxGenericDragImage
* _arg0
;
3984 PyObject
* _argo0
= 0;
3985 char *_kwnames
[] = { "self", NULL
};
3988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDragImage_Hide",_kwnames
,&_argo0
))
3991 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3992 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3993 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_Hide. Expected _wxGenericDragImage_p.");
3998 wxPy_BEGIN_ALLOW_THREADS
;
3999 _result
= (bool )wxDragImage_Hide(_arg0
);
4001 wxPy_END_ALLOW_THREADS
;
4002 } _resultobj
= Py_BuildValue("i",_result
);
4006 #define wxDragImage_GetImageRect(_swigobj,_swigarg0) (_swigobj->GetImageRect(_swigarg0))
4007 static PyObject
*_wrap_wxDragImage_GetImageRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4008 PyObject
* _resultobj
;
4010 wxGenericDragImage
* _arg0
;
4012 PyObject
* _argo0
= 0;
4014 PyObject
* _obj1
= 0;
4015 char *_kwnames
[] = { "self","pos", NULL
};
4019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDragImage_GetImageRect",_kwnames
,&_argo0
,&_obj1
))
4022 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4023 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
4024 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_GetImageRect. Expected _wxGenericDragImage_p.");
4030 if (! wxPoint_helper(_obj1
, &_arg1
))
4034 wxPy_BEGIN_ALLOW_THREADS
;
4035 _result
= new wxRect (wxDragImage_GetImageRect(_arg0
,*_arg1
));
4037 wxPy_END_ALLOW_THREADS
;
4038 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
4039 _resultobj
= Py_BuildValue("s",_ptemp
);
4043 #define wxDragImage_RedrawImage(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->RedrawImage(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4044 static PyObject
*_wrap_wxDragImage_RedrawImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4045 PyObject
* _resultobj
;
4047 wxGenericDragImage
* _arg0
;
4052 PyObject
* _argo0
= 0;
4054 PyObject
* _obj1
= 0;
4056 PyObject
* _obj2
= 0;
4059 char *_kwnames
[] = { "self","oldPos","newPos","eraseOld","drawNew", NULL
};
4062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOii:wxDragImage_RedrawImage",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&tempbool3
,&tempbool4
))
4065 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4066 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
4067 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_RedrawImage. Expected _wxGenericDragImage_p.");
4073 if (! wxPoint_helper(_obj1
, &_arg1
))
4078 if (! wxPoint_helper(_obj2
, &_arg2
))
4081 _arg3
= (bool ) tempbool3
;
4082 _arg4
= (bool ) tempbool4
;
4084 wxPy_BEGIN_ALLOW_THREADS
;
4085 _result
= (bool )wxDragImage_RedrawImage(_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
);
4087 wxPy_END_ALLOW_THREADS
;
4088 } _resultobj
= Py_BuildValue("i",_result
);
4092 static void *SwigwxPyTimerTowxObject(void *ptr
) {
4095 src
= (wxPyTimer
*) ptr
;
4096 dest
= (wxObject
*) src
;
4097 return (void *) dest
;
4100 #define new_wxPyTimer(_swigarg0) (new wxPyTimer(_swigarg0))
4101 static PyObject
*_wrap_new_wxPyTimer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4102 PyObject
* _resultobj
;
4103 wxPyTimer
* _result
;
4105 PyObject
* _obj0
= 0;
4106 char *_kwnames
[] = { "notify", NULL
};
4110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxPyTimer",_kwnames
,&_obj0
))
4116 wxPy_BEGIN_ALLOW_THREADS
;
4117 _result
= (wxPyTimer
*)new_wxPyTimer(_arg0
);
4119 wxPy_END_ALLOW_THREADS
;
4121 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTimer_p");
4122 _resultobj
= Py_BuildValue("s",_ptemp
);
4125 _resultobj
= Py_None
;
4130 #define delete_wxPyTimer(_swigobj) (delete _swigobj)
4131 static PyObject
*_wrap_delete_wxPyTimer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4132 PyObject
* _resultobj
;
4134 PyObject
* _argo0
= 0;
4135 char *_kwnames
[] = { "self", NULL
};
4138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPyTimer",_kwnames
,&_argo0
))
4141 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4142 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4143 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPyTimer. Expected _wxPyTimer_p.");
4148 wxPy_BEGIN_ALLOW_THREADS
;
4149 delete_wxPyTimer(_arg0
);
4151 wxPy_END_ALLOW_THREADS
;
4152 } Py_INCREF(Py_None
);
4153 _resultobj
= Py_None
;
4157 #define wxPyTimer_GetInterval(_swigobj) (_swigobj->GetInterval())
4158 static PyObject
*_wrap_wxPyTimer_GetInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4159 PyObject
* _resultobj
;
4162 PyObject
* _argo0
= 0;
4163 char *_kwnames
[] = { "self", NULL
};
4166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_GetInterval",_kwnames
,&_argo0
))
4169 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4170 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4171 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_GetInterval. Expected _wxPyTimer_p.");
4176 wxPy_BEGIN_ALLOW_THREADS
;
4177 _result
= (int )wxPyTimer_GetInterval(_arg0
);
4179 wxPy_END_ALLOW_THREADS
;
4180 } _resultobj
= Py_BuildValue("i",_result
);
4184 #define wxPyTimer_IsOneShot(_swigobj) (_swigobj->IsOneShot())
4185 static PyObject
*_wrap_wxPyTimer_IsOneShot(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4186 PyObject
* _resultobj
;
4189 PyObject
* _argo0
= 0;
4190 char *_kwnames
[] = { "self", NULL
};
4193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_IsOneShot",_kwnames
,&_argo0
))
4196 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4197 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4198 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_IsOneShot. Expected _wxPyTimer_p.");
4203 wxPy_BEGIN_ALLOW_THREADS
;
4204 _result
= (bool )wxPyTimer_IsOneShot(_arg0
);
4206 wxPy_END_ALLOW_THREADS
;
4207 } _resultobj
= Py_BuildValue("i",_result
);
4211 #define wxPyTimer_IsRunning(_swigobj) (_swigobj->IsRunning())
4212 static PyObject
*_wrap_wxPyTimer_IsRunning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4213 PyObject
* _resultobj
;
4216 PyObject
* _argo0
= 0;
4217 char *_kwnames
[] = { "self", NULL
};
4220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_IsRunning",_kwnames
,&_argo0
))
4223 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4224 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4225 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_IsRunning. Expected _wxPyTimer_p.");
4230 wxPy_BEGIN_ALLOW_THREADS
;
4231 _result
= (bool )wxPyTimer_IsRunning(_arg0
);
4233 wxPy_END_ALLOW_THREADS
;
4234 } _resultobj
= Py_BuildValue("i",_result
);
4238 #define wxPyTimer_SetOwner(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetOwner(_swigarg0,_swigarg1))
4239 static PyObject
*_wrap_wxPyTimer_SetOwner(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4240 PyObject
* _resultobj
;
4242 wxEvtHandler
* _arg1
;
4243 int _arg2
= (int ) -1;
4244 PyObject
* _argo0
= 0;
4245 PyObject
* _argo1
= 0;
4246 char *_kwnames
[] = { "self","owner","id", NULL
};
4249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxPyTimer_SetOwner",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
4252 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4253 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4254 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_SetOwner. Expected _wxPyTimer_p.");
4259 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4260 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
4261 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyTimer_SetOwner. Expected _wxEvtHandler_p.");
4266 wxPy_BEGIN_ALLOW_THREADS
;
4267 wxPyTimer_SetOwner(_arg0
,_arg1
,_arg2
);
4269 wxPy_END_ALLOW_THREADS
;
4270 } Py_INCREF(Py_None
);
4271 _resultobj
= Py_None
;
4275 #define wxPyTimer_Start(_swigobj,_swigarg0,_swigarg1) (_swigobj->Start(_swigarg0,_swigarg1))
4276 static PyObject
*_wrap_wxPyTimer_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4277 PyObject
* _resultobj
;
4279 int _arg1
= (int ) -1;
4280 int _arg2
= (int ) FALSE
;
4281 PyObject
* _argo0
= 0;
4282 char *_kwnames
[] = { "self","milliseconds","oneShot", NULL
};
4285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxPyTimer_Start",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4288 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4289 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4290 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_Start. Expected _wxPyTimer_p.");
4295 wxPy_BEGIN_ALLOW_THREADS
;
4296 wxPyTimer_Start(_arg0
,_arg1
,_arg2
);
4298 wxPy_END_ALLOW_THREADS
;
4299 } Py_INCREF(Py_None
);
4300 _resultobj
= Py_None
;
4304 #define wxPyTimer_Stop(_swigobj) (_swigobj->Stop())
4305 static PyObject
*_wrap_wxPyTimer_Stop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4306 PyObject
* _resultobj
;
4308 PyObject
* _argo0
= 0;
4309 char *_kwnames
[] = { "self", NULL
};
4312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_Stop",_kwnames
,&_argo0
))
4315 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4316 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4317 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_Stop. Expected _wxPyTimer_p.");
4322 wxPy_BEGIN_ALLOW_THREADS
;
4323 wxPyTimer_Stop(_arg0
);
4325 wxPy_END_ALLOW_THREADS
;
4326 } Py_INCREF(Py_None
);
4327 _resultobj
= Py_None
;
4331 #define new_wxStopWatch() (new wxStopWatch())
4332 static PyObject
*_wrap_new_wxStopWatch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4333 PyObject
* _resultobj
;
4334 wxStopWatch
* _result
;
4335 char *_kwnames
[] = { NULL
};
4339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxStopWatch",_kwnames
))
4342 wxPy_BEGIN_ALLOW_THREADS
;
4343 _result
= (wxStopWatch
*)new_wxStopWatch();
4345 wxPy_END_ALLOW_THREADS
;
4347 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStopWatch_p");
4348 _resultobj
= Py_BuildValue("s",_ptemp
);
4351 _resultobj
= Py_None
;
4356 #define wxStopWatch_Start(_swigobj,_swigarg0) (_swigobj->Start(_swigarg0))
4357 static PyObject
*_wrap_wxStopWatch_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4358 PyObject
* _resultobj
;
4359 wxStopWatch
* _arg0
;
4360 long _arg1
= (long ) 0;
4361 PyObject
* _argo0
= 0;
4362 char *_kwnames
[] = { "self","t", NULL
};
4365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|l:wxStopWatch_Start",_kwnames
,&_argo0
,&_arg1
))
4368 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4369 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStopWatch_p")) {
4370 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStopWatch_Start. Expected _wxStopWatch_p.");
4375 wxPy_BEGIN_ALLOW_THREADS
;
4376 wxStopWatch_Start(_arg0
,_arg1
);
4378 wxPy_END_ALLOW_THREADS
;
4379 } Py_INCREF(Py_None
);
4380 _resultobj
= Py_None
;
4384 #define wxStopWatch_Pause(_swigobj) (_swigobj->Pause())
4385 static PyObject
*_wrap_wxStopWatch_Pause(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4386 PyObject
* _resultobj
;
4387 wxStopWatch
* _arg0
;
4388 PyObject
* _argo0
= 0;
4389 char *_kwnames
[] = { "self", NULL
};
4392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStopWatch_Pause",_kwnames
,&_argo0
))
4395 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4396 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStopWatch_p")) {
4397 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStopWatch_Pause. Expected _wxStopWatch_p.");
4402 wxPy_BEGIN_ALLOW_THREADS
;
4403 wxStopWatch_Pause(_arg0
);
4405 wxPy_END_ALLOW_THREADS
;
4406 } Py_INCREF(Py_None
);
4407 _resultobj
= Py_None
;
4411 #define wxStopWatch_Resume(_swigobj) (_swigobj->Resume())
4412 static PyObject
*_wrap_wxStopWatch_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4413 PyObject
* _resultobj
;
4414 wxStopWatch
* _arg0
;
4415 PyObject
* _argo0
= 0;
4416 char *_kwnames
[] = { "self", NULL
};
4419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStopWatch_Resume",_kwnames
,&_argo0
))
4422 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4423 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStopWatch_p")) {
4424 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStopWatch_Resume. Expected _wxStopWatch_p.");
4429 wxPy_BEGIN_ALLOW_THREADS
;
4430 wxStopWatch_Resume(_arg0
);
4432 wxPy_END_ALLOW_THREADS
;
4433 } Py_INCREF(Py_None
);
4434 _resultobj
= Py_None
;
4438 #define wxStopWatch_Time(_swigobj) (_swigobj->Time())
4439 static PyObject
*_wrap_wxStopWatch_Time(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4440 PyObject
* _resultobj
;
4442 wxStopWatch
* _arg0
;
4443 PyObject
* _argo0
= 0;
4444 char *_kwnames
[] = { "self", NULL
};
4447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStopWatch_Time",_kwnames
,&_argo0
))
4450 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4451 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStopWatch_p")) {
4452 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStopWatch_Time. Expected _wxStopWatch_p.");
4457 wxPy_BEGIN_ALLOW_THREADS
;
4458 _result
= (long )wxStopWatch_Time(_arg0
);
4460 wxPy_END_ALLOW_THREADS
;
4461 } _resultobj
= Py_BuildValue("l",_result
);
4465 #define new_wxLog() (new wxLog())
4466 static PyObject
*_wrap_new_wxLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4467 PyObject
* _resultobj
;
4469 char *_kwnames
[] = { NULL
};
4473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLog",_kwnames
))
4476 wxPy_BEGIN_ALLOW_THREADS
;
4477 _result
= (wxLog
*)new_wxLog();
4479 wxPy_END_ALLOW_THREADS
;
4481 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
4482 _resultobj
= Py_BuildValue("s",_ptemp
);
4485 _resultobj
= Py_None
;
4490 static PyObject
*_wrap_wxLog_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4491 PyObject
* _resultobj
;
4493 char *_kwnames
[] = { NULL
};
4496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_IsEnabled",_kwnames
))
4499 wxPy_BEGIN_ALLOW_THREADS
;
4500 _result
= (bool )wxLog::IsEnabled();
4502 wxPy_END_ALLOW_THREADS
;
4503 } _resultobj
= Py_BuildValue("i",_result
);
4507 static PyObject
*_wrap_wxLog_EnableLogging(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4508 PyObject
* _resultobj
;
4510 bool _arg0
= (bool ) TRUE
;
4511 int tempbool0
= (int) TRUE
;
4512 char *_kwnames
[] = { "doIt", NULL
};
4515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:wxLog_EnableLogging",_kwnames
,&tempbool0
))
4517 _arg0
= (bool ) tempbool0
;
4519 wxPy_BEGIN_ALLOW_THREADS
;
4520 _result
= (bool )wxLog::EnableLogging(_arg0
);
4522 wxPy_END_ALLOW_THREADS
;
4523 } _resultobj
= Py_BuildValue("i",_result
);
4527 static PyObject
*_wrap_wxLog_OnLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4528 PyObject
* _resultobj
;
4531 int _arg2
= (int ) 0;
4532 PyObject
* _argo0
= 0;
4533 char *_kwnames
[] = { "level","szString","t", NULL
};
4536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Os|i:wxLog_OnLog",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4539 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4540 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogLevel_p")) {
4541 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_OnLog. Expected _wxLogLevel_p.");
4546 wxPy_BEGIN_ALLOW_THREADS
;
4547 wxLog::OnLog(*_arg0
,_arg1
,_arg2
);
4549 wxPy_END_ALLOW_THREADS
;
4550 } Py_INCREF(Py_None
);
4551 _resultobj
= Py_None
;
4555 #define wxLog_Flush(_swigobj) (_swigobj->Flush())
4556 static PyObject
*_wrap_wxLog_Flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4557 PyObject
* _resultobj
;
4559 PyObject
* _argo0
= 0;
4560 char *_kwnames
[] = { "self", NULL
};
4563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_Flush",_kwnames
,&_argo0
))
4566 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4567 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
4568 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_Flush. Expected _wxLog_p.");
4573 wxPy_BEGIN_ALLOW_THREADS
;
4576 wxPy_END_ALLOW_THREADS
;
4577 } Py_INCREF(Py_None
);
4578 _resultobj
= Py_None
;
4582 #define wxLog_HasPendingMessages(_swigobj) (_swigobj->HasPendingMessages())
4583 static PyObject
*_wrap_wxLog_HasPendingMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4584 PyObject
* _resultobj
;
4587 PyObject
* _argo0
= 0;
4588 char *_kwnames
[] = { "self", NULL
};
4591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_HasPendingMessages",_kwnames
,&_argo0
))
4594 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4595 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
4596 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_HasPendingMessages. Expected _wxLog_p.");
4601 wxPy_BEGIN_ALLOW_THREADS
;
4602 _result
= (bool )wxLog_HasPendingMessages(_arg0
);
4604 wxPy_END_ALLOW_THREADS
;
4605 } _resultobj
= Py_BuildValue("i",_result
);
4609 static PyObject
*_wrap_wxLog_FlushActive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4610 PyObject
* _resultobj
;
4611 char *_kwnames
[] = { NULL
};
4614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_FlushActive",_kwnames
))
4617 wxPy_BEGIN_ALLOW_THREADS
;
4618 wxLog::FlushActive();
4620 wxPy_END_ALLOW_THREADS
;
4621 } Py_INCREF(Py_None
);
4622 _resultobj
= Py_None
;
4626 static PyObject
*_wrap_wxLog_GetActiveTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4627 PyObject
* _resultobj
;
4629 char *_kwnames
[] = { NULL
};
4633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_GetActiveTarget",_kwnames
))
4636 wxPy_BEGIN_ALLOW_THREADS
;
4637 _result
= (wxLog
*)wxLog::GetActiveTarget();
4639 wxPy_END_ALLOW_THREADS
;
4641 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
4642 _resultobj
= Py_BuildValue("s",_ptemp
);
4645 _resultobj
= Py_None
;
4650 static PyObject
*_wrap_wxLog_SetActiveTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4651 PyObject
* _resultobj
;
4654 PyObject
* _argo0
= 0;
4655 char *_kwnames
[] = { "pLogger", NULL
};
4659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_SetActiveTarget",_kwnames
,&_argo0
))
4662 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4663 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
4664 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_SetActiveTarget. Expected _wxLog_p.");
4669 wxPy_BEGIN_ALLOW_THREADS
;
4670 _result
= (wxLog
*)wxLog::SetActiveTarget(_arg0
);
4672 wxPy_END_ALLOW_THREADS
;
4674 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
4675 _resultobj
= Py_BuildValue("s",_ptemp
);
4678 _resultobj
= Py_None
;
4683 static PyObject
*_wrap_wxLog_Suspend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4684 PyObject
* _resultobj
;
4685 char *_kwnames
[] = { NULL
};
4688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_Suspend",_kwnames
))
4691 wxPy_BEGIN_ALLOW_THREADS
;
4694 wxPy_END_ALLOW_THREADS
;
4695 } Py_INCREF(Py_None
);
4696 _resultobj
= Py_None
;
4700 static PyObject
*_wrap_wxLog_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4701 PyObject
* _resultobj
;
4702 char *_kwnames
[] = { NULL
};
4705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_Resume",_kwnames
))
4708 wxPy_BEGIN_ALLOW_THREADS
;
4711 wxPy_END_ALLOW_THREADS
;
4712 } Py_INCREF(Py_None
);
4713 _resultobj
= Py_None
;
4717 #define wxLog_SetVerbose(_swigobj,_swigarg0) (_swigobj->SetVerbose(_swigarg0))
4718 static PyObject
*_wrap_wxLog_SetVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4719 PyObject
* _resultobj
;
4721 bool _arg1
= (bool ) TRUE
;
4722 PyObject
* _argo0
= 0;
4723 int tempbool1
= (int) TRUE
;
4724 char *_kwnames
[] = { "self","bVerbose", NULL
};
4727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxLog_SetVerbose",_kwnames
,&_argo0
,&tempbool1
))
4730 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4731 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
4732 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_SetVerbose. Expected _wxLog_p.");
4736 _arg1
= (bool ) tempbool1
;
4738 wxPy_BEGIN_ALLOW_THREADS
;
4739 wxLog_SetVerbose(_arg0
,_arg1
);
4741 wxPy_END_ALLOW_THREADS
;
4742 } Py_INCREF(Py_None
);
4743 _resultobj
= Py_None
;
4747 static PyObject
*_wrap_wxLog_DontCreateOnDemand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4748 PyObject
* _resultobj
;
4749 char *_kwnames
[] = { NULL
};
4752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_DontCreateOnDemand",_kwnames
))
4755 wxPy_BEGIN_ALLOW_THREADS
;
4756 wxLog::DontCreateOnDemand();
4758 wxPy_END_ALLOW_THREADS
;
4759 } Py_INCREF(Py_None
);
4760 _resultobj
= Py_None
;
4764 static PyObject
*_wrap_wxLog_SetTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4765 PyObject
* _resultobj
;
4766 wxTraceMask
* _arg0
;
4767 PyObject
* _argo0
= 0;
4768 char *_kwnames
[] = { "ulMask", NULL
};
4771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_SetTraceMask",_kwnames
,&_argo0
))
4774 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4775 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTraceMask_p")) {
4776 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_SetTraceMask. Expected _wxTraceMask_p.");
4781 wxPy_BEGIN_ALLOW_THREADS
;
4782 wxLog::SetTraceMask(*_arg0
);
4784 wxPy_END_ALLOW_THREADS
;
4785 } Py_INCREF(Py_None
);
4786 _resultobj
= Py_None
;
4790 static PyObject
*_wrap_wxLog_AddTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4791 PyObject
* _resultobj
;
4793 PyObject
* _obj0
= 0;
4794 char *_kwnames
[] = { "str", NULL
};
4797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_AddTraceMask",_kwnames
,&_obj0
))
4800 #if PYTHON_API_VERSION >= 1009
4801 char* tmpPtr
; int tmpSize
;
4802 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
4803 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4806 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
4808 _arg0
= new wxString(tmpPtr
, tmpSize
);
4810 if (!PyString_Check(_obj0
)) {
4811 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4814 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
4818 wxPy_BEGIN_ALLOW_THREADS
;
4819 wxLog::AddTraceMask(*_arg0
);
4821 wxPy_END_ALLOW_THREADS
;
4822 } Py_INCREF(Py_None
);
4823 _resultobj
= Py_None
;
4831 static PyObject
*_wrap_wxLog_RemoveTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4832 PyObject
* _resultobj
;
4834 PyObject
* _obj0
= 0;
4835 char *_kwnames
[] = { "str", NULL
};
4838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_RemoveTraceMask",_kwnames
,&_obj0
))
4841 #if PYTHON_API_VERSION >= 1009
4842 char* tmpPtr
; int tmpSize
;
4843 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
4844 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4847 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
4849 _arg0
= new wxString(tmpPtr
, tmpSize
);
4851 if (!PyString_Check(_obj0
)) {
4852 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4855 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
4859 wxPy_BEGIN_ALLOW_THREADS
;
4860 wxLog::RemoveTraceMask(*_arg0
);
4862 wxPy_END_ALLOW_THREADS
;
4863 } Py_INCREF(Py_None
);
4864 _resultobj
= Py_None
;
4872 static PyObject
*_wrap_wxLog_ClearTraceMasks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4873 PyObject
* _resultobj
;
4874 char *_kwnames
[] = { NULL
};
4877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_ClearTraceMasks",_kwnames
))
4880 wxPy_BEGIN_ALLOW_THREADS
;
4881 wxLog::ClearTraceMasks();
4883 wxPy_END_ALLOW_THREADS
;
4884 } Py_INCREF(Py_None
);
4885 _resultobj
= Py_None
;
4889 static PyObject
*_wrap_wxLog_SetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4890 PyObject
* _resultobj
;
4892 char *_kwnames
[] = { "ts", NULL
};
4895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLog_SetTimestamp",_kwnames
,&_arg0
))
4898 wxPy_BEGIN_ALLOW_THREADS
;
4899 wxLog::SetTimestamp(_arg0
);
4901 wxPy_END_ALLOW_THREADS
;
4902 } Py_INCREF(Py_None
);
4903 _resultobj
= Py_None
;
4907 static PyObject
*_wrap_wxLog_GetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4908 PyObject
* _resultobj
;
4910 char *_kwnames
[] = { NULL
};
4913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_GetTimestamp",_kwnames
))
4916 wxPy_BEGIN_ALLOW_THREADS
;
4917 _result
= (wxChar
*)wxLog::GetTimestamp();
4919 wxPy_END_ALLOW_THREADS
;
4920 } _resultobj
= Py_BuildValue("s", _result
);
4924 #define wxLog_GetVerbose(_swigobj) (_swigobj->GetVerbose())
4925 static PyObject
*_wrap_wxLog_GetVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4926 PyObject
* _resultobj
;
4929 PyObject
* _argo0
= 0;
4930 char *_kwnames
[] = { "self", NULL
};
4933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_GetVerbose",_kwnames
,&_argo0
))
4936 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4937 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
4938 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_GetVerbose. Expected _wxLog_p.");
4943 wxPy_BEGIN_ALLOW_THREADS
;
4944 _result
= (bool )wxLog_GetVerbose(_arg0
);
4946 wxPy_END_ALLOW_THREADS
;
4947 } _resultobj
= Py_BuildValue("i",_result
);
4951 static PyObject
*_wrap_wxLog_GetTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4952 PyObject
* _resultobj
;
4953 wxTraceMask
* _result
;
4954 char *_kwnames
[] = { NULL
};
4958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_GetTraceMask",_kwnames
))
4961 wxPy_BEGIN_ALLOW_THREADS
;
4962 _result
= new wxTraceMask (wxLog::GetTraceMask());
4964 wxPy_END_ALLOW_THREADS
;
4965 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTraceMask_p");
4966 _resultobj
= Py_BuildValue("s",_ptemp
);
4970 static PyObject
*_wrap_wxLog_IsAllowedTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4971 PyObject
* _resultobj
;
4974 char *_kwnames
[] = { "mask", NULL
};
4977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLog_IsAllowedTraceMask",_kwnames
,&_arg0
))
4980 wxPy_BEGIN_ALLOW_THREADS
;
4981 _result
= (bool )wxLog::IsAllowedTraceMask(_arg0
);
4983 wxPy_END_ALLOW_THREADS
;
4984 } _resultobj
= Py_BuildValue("i",_result
);
4988 static wxString
wxLog_TimeStamp(wxLog
*self
) {
4990 wxLog::TimeStamp(&msg
);
4993 static PyObject
*_wrap_wxLog_TimeStamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4994 PyObject
* _resultobj
;
4997 PyObject
* _argo0
= 0;
4998 char *_kwnames
[] = { "self", NULL
};
5001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_TimeStamp",_kwnames
,&_argo0
))
5004 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5005 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
5006 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_TimeStamp. Expected _wxLog_p.");
5011 wxPy_BEGIN_ALLOW_THREADS
;
5012 _result
= new wxString (wxLog_TimeStamp(_arg0
));
5014 wxPy_END_ALLOW_THREADS
;
5016 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5024 static void *SwigwxLogStderrTowxLog(void *ptr
) {
5027 src
= (wxLogStderr
*) ptr
;
5028 dest
= (wxLog
*) src
;
5029 return (void *) dest
;
5032 #define new_wxLogStderr() (new wxLogStderr())
5033 static PyObject
*_wrap_new_wxLogStderr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5034 PyObject
* _resultobj
;
5035 wxLogStderr
* _result
;
5036 char *_kwnames
[] = { NULL
};
5040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLogStderr",_kwnames
))
5043 wxPy_BEGIN_ALLOW_THREADS
;
5044 _result
= (wxLogStderr
*)new_wxLogStderr();
5046 wxPy_END_ALLOW_THREADS
;
5048 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogStderr_p");
5049 _resultobj
= Py_BuildValue("s",_ptemp
);
5052 _resultobj
= Py_None
;
5057 static void *SwigwxLogTextCtrlTowxLog(void *ptr
) {
5060 src
= (wxLogTextCtrl
*) ptr
;
5061 dest
= (wxLog
*) src
;
5062 return (void *) dest
;
5065 #define new_wxLogTextCtrl(_swigarg0) (new wxLogTextCtrl(_swigarg0))
5066 static PyObject
*_wrap_new_wxLogTextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5067 PyObject
* _resultobj
;
5068 wxLogTextCtrl
* _result
;
5070 PyObject
* _argo0
= 0;
5071 char *_kwnames
[] = { "pTextCtrl", NULL
};
5075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxLogTextCtrl",_kwnames
,&_argo0
))
5078 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5079 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
5080 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxLogTextCtrl. Expected _wxTextCtrl_p.");
5085 wxPy_BEGIN_ALLOW_THREADS
;
5086 _result
= (wxLogTextCtrl
*)new_wxLogTextCtrl(_arg0
);
5088 wxPy_END_ALLOW_THREADS
;
5090 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogTextCtrl_p");
5091 _resultobj
= Py_BuildValue("s",_ptemp
);
5094 _resultobj
= Py_None
;
5099 static void *SwigwxLogGuiTowxLog(void *ptr
) {
5102 src
= (wxLogGui
*) ptr
;
5103 dest
= (wxLog
*) src
;
5104 return (void *) dest
;
5107 #define new_wxLogGui() (new wxLogGui())
5108 static PyObject
*_wrap_new_wxLogGui(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5109 PyObject
* _resultobj
;
5111 char *_kwnames
[] = { NULL
};
5115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLogGui",_kwnames
))
5118 wxPy_BEGIN_ALLOW_THREADS
;
5119 _result
= (wxLogGui
*)new_wxLogGui();
5121 wxPy_END_ALLOW_THREADS
;
5123 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogGui_p");
5124 _resultobj
= Py_BuildValue("s",_ptemp
);
5127 _resultobj
= Py_None
;
5132 static void *SwigwxLogWindowTowxLog(void *ptr
) {
5135 src
= (wxLogWindow
*) ptr
;
5136 dest
= (wxLog
*) src
;
5137 return (void *) dest
;
5140 #define new_wxLogWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxLogWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5141 static PyObject
*_wrap_new_wxLogWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5142 PyObject
* _resultobj
;
5143 wxLogWindow
* _result
;
5146 bool _arg2
= (bool ) TRUE
;
5147 bool _arg3
= (bool ) TRUE
;
5148 PyObject
* _argo0
= 0;
5149 int tempbool2
= (int) TRUE
;
5150 int tempbool3
= (int) TRUE
;
5151 char *_kwnames
[] = { "pParent","szTitle","bShow","bPassToOld", NULL
};
5155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Os|ii:new_wxLogWindow",_kwnames
,&_argo0
,&_arg1
,&tempbool2
,&tempbool3
))
5158 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5159 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
5160 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxLogWindow. Expected _wxFrame_p.");
5164 _arg2
= (bool ) tempbool2
;
5165 _arg3
= (bool ) tempbool3
;
5167 wxPy_BEGIN_ALLOW_THREADS
;
5168 _result
= (wxLogWindow
*)new_wxLogWindow(_arg0
,_arg1
,_arg2
,_arg3
);
5170 wxPy_END_ALLOW_THREADS
;
5172 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogWindow_p");
5173 _resultobj
= Py_BuildValue("s",_ptemp
);
5176 _resultobj
= Py_None
;
5181 #define wxLogWindow_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
5182 static PyObject
*_wrap_wxLogWindow_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5183 PyObject
* _resultobj
;
5184 wxLogWindow
* _arg0
;
5185 bool _arg1
= (bool ) TRUE
;
5186 PyObject
* _argo0
= 0;
5187 int tempbool1
= (int) TRUE
;
5188 char *_kwnames
[] = { "self","bShow", NULL
};
5191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxLogWindow_Show",_kwnames
,&_argo0
,&tempbool1
))
5194 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5195 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
5196 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_Show. Expected _wxLogWindow_p.");
5200 _arg1
= (bool ) tempbool1
;
5202 wxPy_BEGIN_ALLOW_THREADS
;
5203 wxLogWindow_Show(_arg0
,_arg1
);
5205 wxPy_END_ALLOW_THREADS
;
5206 } Py_INCREF(Py_None
);
5207 _resultobj
= Py_None
;
5211 #define wxLogWindow_GetFrame(_swigobj) (_swigobj->GetFrame())
5212 static PyObject
*_wrap_wxLogWindow_GetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5213 PyObject
* _resultobj
;
5215 wxLogWindow
* _arg0
;
5216 PyObject
* _argo0
= 0;
5217 char *_kwnames
[] = { "self", NULL
};
5220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogWindow_GetFrame",_kwnames
,&_argo0
))
5223 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5224 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
5225 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_GetFrame. Expected _wxLogWindow_p.");
5230 wxPy_BEGIN_ALLOW_THREADS
;
5231 _result
= (wxFrame
*)wxLogWindow_GetFrame(_arg0
);
5233 wxPy_END_ALLOW_THREADS
;
5234 }{ _resultobj
= wxPyMake_wxObject(_result
); }
5238 #define wxLogWindow_GetOldLog(_swigobj) (_swigobj->GetOldLog())
5239 static PyObject
*_wrap_wxLogWindow_GetOldLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5240 PyObject
* _resultobj
;
5242 wxLogWindow
* _arg0
;
5243 PyObject
* _argo0
= 0;
5244 char *_kwnames
[] = { "self", NULL
};
5248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogWindow_GetOldLog",_kwnames
,&_argo0
))
5251 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5252 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
5253 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_GetOldLog. Expected _wxLogWindow_p.");
5258 wxPy_BEGIN_ALLOW_THREADS
;
5259 _result
= (wxLog
*)wxLogWindow_GetOldLog(_arg0
);
5261 wxPy_END_ALLOW_THREADS
;
5263 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
5264 _resultobj
= Py_BuildValue("s",_ptemp
);
5267 _resultobj
= Py_None
;
5272 #define wxLogWindow_IsPassingMessages(_swigobj) (_swigobj->IsPassingMessages())
5273 static PyObject
*_wrap_wxLogWindow_IsPassingMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5274 PyObject
* _resultobj
;
5276 wxLogWindow
* _arg0
;
5277 PyObject
* _argo0
= 0;
5278 char *_kwnames
[] = { "self", NULL
};
5281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogWindow_IsPassingMessages",_kwnames
,&_argo0
))
5284 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5285 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
5286 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_IsPassingMessages. Expected _wxLogWindow_p.");
5291 wxPy_BEGIN_ALLOW_THREADS
;
5292 _result
= (bool )wxLogWindow_IsPassingMessages(_arg0
);
5294 wxPy_END_ALLOW_THREADS
;
5295 } _resultobj
= Py_BuildValue("i",_result
);
5299 #define wxLogWindow_PassMessages(_swigobj,_swigarg0) (_swigobj->PassMessages(_swigarg0))
5300 static PyObject
*_wrap_wxLogWindow_PassMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5301 PyObject
* _resultobj
;
5302 wxLogWindow
* _arg0
;
5304 PyObject
* _argo0
= 0;
5306 char *_kwnames
[] = { "self","bDoPass", NULL
};
5309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxLogWindow_PassMessages",_kwnames
,&_argo0
,&tempbool1
))
5312 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5313 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
5314 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_PassMessages. Expected _wxLogWindow_p.");
5318 _arg1
= (bool ) tempbool1
;
5320 wxPy_BEGIN_ALLOW_THREADS
;
5321 wxLogWindow_PassMessages(_arg0
,_arg1
);
5323 wxPy_END_ALLOW_THREADS
;
5324 } Py_INCREF(Py_None
);
5325 _resultobj
= Py_None
;
5329 #define new_wxLogNull() (new wxLogNull())
5330 static PyObject
*_wrap_new_wxLogNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5331 PyObject
* _resultobj
;
5332 wxLogNull
* _result
;
5333 char *_kwnames
[] = { NULL
};
5337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLogNull",_kwnames
))
5340 wxPy_BEGIN_ALLOW_THREADS
;
5341 _result
= (wxLogNull
*)new_wxLogNull();
5343 wxPy_END_ALLOW_THREADS
;
5345 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogNull_p");
5346 _resultobj
= Py_BuildValue("s",_ptemp
);
5349 _resultobj
= Py_None
;
5354 #define delete_wxLogNull(_swigobj) (delete _swigobj)
5355 static PyObject
*_wrap_delete_wxLogNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5356 PyObject
* _resultobj
;
5358 PyObject
* _argo0
= 0;
5359 char *_kwnames
[] = { "self", NULL
};
5362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxLogNull",_kwnames
,&_argo0
))
5365 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5366 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogNull_p")) {
5367 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxLogNull. Expected _wxLogNull_p.");
5372 wxPy_BEGIN_ALLOW_THREADS
;
5373 delete_wxLogNull(_arg0
);
5375 wxPy_END_ALLOW_THREADS
;
5376 } Py_INCREF(Py_None
);
5377 _resultobj
= Py_None
;
5381 static void *SwigwxLogChainTowxLog(void *ptr
) {
5384 src
= (wxLogChain
*) ptr
;
5385 dest
= (wxLog
*) src
;
5386 return (void *) dest
;
5389 #define new_wxLogChain(_swigarg0) (new wxLogChain(_swigarg0))
5390 static PyObject
*_wrap_new_wxLogChain(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5391 PyObject
* _resultobj
;
5392 wxLogChain
* _result
;
5394 PyObject
* _argo0
= 0;
5395 char *_kwnames
[] = { "logger", NULL
};
5399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxLogChain",_kwnames
,&_argo0
))
5402 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5403 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
5404 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxLogChain. Expected _wxLog_p.");
5409 wxPy_BEGIN_ALLOW_THREADS
;
5410 _result
= (wxLogChain
*)new_wxLogChain(_arg0
);
5412 wxPy_END_ALLOW_THREADS
;
5414 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogChain_p");
5415 _resultobj
= Py_BuildValue("s",_ptemp
);
5418 _resultobj
= Py_None
;
5423 #define wxLogChain_SetLog(_swigobj,_swigarg0) (_swigobj->SetLog(_swigarg0))
5424 static PyObject
*_wrap_wxLogChain_SetLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5425 PyObject
* _resultobj
;
5428 PyObject
* _argo0
= 0;
5429 PyObject
* _argo1
= 0;
5430 char *_kwnames
[] = { "self","logger", NULL
};
5433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxLogChain_SetLog",_kwnames
,&_argo0
,&_argo1
))
5436 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5437 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogChain_p")) {
5438 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogChain_SetLog. Expected _wxLogChain_p.");
5443 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5444 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxLog_p")) {
5445 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxLogChain_SetLog. Expected _wxLog_p.");
5450 wxPy_BEGIN_ALLOW_THREADS
;
5451 wxLogChain_SetLog(_arg0
,_arg1
);
5453 wxPy_END_ALLOW_THREADS
;
5454 } Py_INCREF(Py_None
);
5455 _resultobj
= Py_None
;
5459 #define wxLogChain_PassMessages(_swigobj,_swigarg0) (_swigobj->PassMessages(_swigarg0))
5460 static PyObject
*_wrap_wxLogChain_PassMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5461 PyObject
* _resultobj
;
5464 PyObject
* _argo0
= 0;
5466 char *_kwnames
[] = { "self","bDoPass", NULL
};
5469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxLogChain_PassMessages",_kwnames
,&_argo0
,&tempbool1
))
5472 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5473 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogChain_p")) {
5474 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogChain_PassMessages. Expected _wxLogChain_p.");
5478 _arg1
= (bool ) tempbool1
;
5480 wxPy_BEGIN_ALLOW_THREADS
;
5481 wxLogChain_PassMessages(_arg0
,_arg1
);
5483 wxPy_END_ALLOW_THREADS
;
5484 } Py_INCREF(Py_None
);
5485 _resultobj
= Py_None
;
5489 #define wxLogChain_IsPassingMessages(_swigobj) (_swigobj->IsPassingMessages())
5490 static PyObject
*_wrap_wxLogChain_IsPassingMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5491 PyObject
* _resultobj
;
5494 PyObject
* _argo0
= 0;
5495 char *_kwnames
[] = { "self", NULL
};
5498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogChain_IsPassingMessages",_kwnames
,&_argo0
))
5501 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5502 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogChain_p")) {
5503 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogChain_IsPassingMessages. Expected _wxLogChain_p.");
5508 wxPy_BEGIN_ALLOW_THREADS
;
5509 _result
= (bool )wxLogChain_IsPassingMessages(_arg0
);
5511 wxPy_END_ALLOW_THREADS
;
5512 } _resultobj
= Py_BuildValue("i",_result
);
5516 #define wxLogChain_GetOldLog(_swigobj) (_swigobj->GetOldLog())
5517 static PyObject
*_wrap_wxLogChain_GetOldLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5518 PyObject
* _resultobj
;
5521 PyObject
* _argo0
= 0;
5522 char *_kwnames
[] = { "self", NULL
};
5526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogChain_GetOldLog",_kwnames
,&_argo0
))
5529 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5530 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogChain_p")) {
5531 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogChain_GetOldLog. Expected _wxLogChain_p.");
5536 wxPy_BEGIN_ALLOW_THREADS
;
5537 _result
= (wxLog
*)wxLogChain_GetOldLog(_arg0
);
5539 wxPy_END_ALLOW_THREADS
;
5541 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
5542 _resultobj
= Py_BuildValue("s",_ptemp
);
5545 _resultobj
= Py_None
;
5550 static void *SwigwxPyLogTowxLog(void *ptr
) {
5553 src
= (wxPyLog
*) ptr
;
5554 dest
= (wxLog
*) src
;
5555 return (void *) dest
;
5558 #define new_wxPyLog() (new wxPyLog())
5559 static PyObject
*_wrap_new_wxPyLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5560 PyObject
* _resultobj
;
5562 char *_kwnames
[] = { NULL
};
5566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPyLog",_kwnames
))
5569 wxPy_BEGIN_ALLOW_THREADS
;
5570 _result
= (wxPyLog
*)new_wxPyLog();
5572 wxPy_END_ALLOW_THREADS
;
5574 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyLog_p");
5575 _resultobj
= Py_BuildValue("s",_ptemp
);
5578 _resultobj
= Py_None
;
5583 #define wxPyLog__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
5584 static PyObject
*_wrap_wxPyLog__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5585 PyObject
* _resultobj
;
5589 PyObject
* _argo0
= 0;
5590 PyObject
* _obj1
= 0;
5591 PyObject
* _obj2
= 0;
5592 char *_kwnames
[] = { "self","self","_class", NULL
};
5595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyLog__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
5598 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5599 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLog_p")) {
5600 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLog__setCallbackInfo. Expected _wxPyLog_p.");
5611 wxPy_BEGIN_ALLOW_THREADS
;
5612 wxPyLog__setCallbackInfo(_arg0
,_arg1
,_arg2
);
5614 wxPy_END_ALLOW_THREADS
;
5615 } Py_INCREF(Py_None
);
5616 _resultobj
= Py_None
;
5620 static void wxPyLog_Destroy(wxPyLog
*self
) { delete self
; }
5621 static PyObject
*_wrap_wxPyLog_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5622 PyObject
* _resultobj
;
5624 PyObject
* _argo0
= 0;
5625 char *_kwnames
[] = { "self", NULL
};
5628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyLog_Destroy",_kwnames
,&_argo0
))
5631 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5632 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLog_p")) {
5633 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLog_Destroy. Expected _wxPyLog_p.");
5638 wxPy_BEGIN_ALLOW_THREADS
;
5639 wxPyLog_Destroy(_arg0
);
5641 wxPy_END_ALLOW_THREADS
;
5642 } Py_INCREF(Py_None
);
5643 _resultobj
= Py_None
;
5647 static void *SwigwxProcessEventTowxEvent(void *ptr
) {
5648 wxProcessEvent
*src
;
5650 src
= (wxProcessEvent
*) ptr
;
5651 dest
= (wxEvent
*) src
;
5652 return (void *) dest
;
5655 static void *SwigwxProcessEventTowxObject(void *ptr
) {
5656 wxProcessEvent
*src
;
5658 src
= (wxProcessEvent
*) ptr
;
5659 dest
= (wxObject
*) src
;
5660 return (void *) dest
;
5663 #define new_wxProcessEvent(_swigarg0,_swigarg1,_swigarg2) (new wxProcessEvent(_swigarg0,_swigarg1,_swigarg2))
5664 static PyObject
*_wrap_new_wxProcessEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5665 PyObject
* _resultobj
;
5666 wxProcessEvent
* _result
;
5667 int _arg0
= (int ) 0;
5668 int _arg1
= (int ) 0;
5669 int _arg2
= (int ) 0;
5670 char *_kwnames
[] = { "id","pid","exitcode", NULL
};
5674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iii:new_wxProcessEvent",_kwnames
,&_arg0
,&_arg1
,&_arg2
))
5677 wxPy_BEGIN_ALLOW_THREADS
;
5678 _result
= (wxProcessEvent
*)new_wxProcessEvent(_arg0
,_arg1
,_arg2
);
5680 wxPy_END_ALLOW_THREADS
;
5682 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxProcessEvent_p");
5683 _resultobj
= Py_BuildValue("s",_ptemp
);
5686 _resultobj
= Py_None
;
5691 #define wxProcessEvent_GetPid(_swigobj) (_swigobj->GetPid())
5692 static PyObject
*_wrap_wxProcessEvent_GetPid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5693 PyObject
* _resultobj
;
5695 wxProcessEvent
* _arg0
;
5696 PyObject
* _argo0
= 0;
5697 char *_kwnames
[] = { "self", NULL
};
5700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcessEvent_GetPid",_kwnames
,&_argo0
))
5703 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5704 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
5705 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_GetPid. Expected _wxProcessEvent_p.");
5710 wxPy_BEGIN_ALLOW_THREADS
;
5711 _result
= (int )wxProcessEvent_GetPid(_arg0
);
5713 wxPy_END_ALLOW_THREADS
;
5714 } _resultobj
= Py_BuildValue("i",_result
);
5718 #define wxProcessEvent_GetExitCode(_swigobj) (_swigobj->GetExitCode())
5719 static PyObject
*_wrap_wxProcessEvent_GetExitCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5720 PyObject
* _resultobj
;
5722 wxProcessEvent
* _arg0
;
5723 PyObject
* _argo0
= 0;
5724 char *_kwnames
[] = { "self", NULL
};
5727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcessEvent_GetExitCode",_kwnames
,&_argo0
))
5730 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5731 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
5732 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_GetExitCode. Expected _wxProcessEvent_p.");
5737 wxPy_BEGIN_ALLOW_THREADS
;
5738 _result
= (int )wxProcessEvent_GetExitCode(_arg0
);
5740 wxPy_END_ALLOW_THREADS
;
5741 } _resultobj
= Py_BuildValue("i",_result
);
5745 #define wxProcessEvent_m_pid_set(_swigobj,_swigval) (_swigobj->m_pid = _swigval,_swigval)
5746 static PyObject
*_wrap_wxProcessEvent_m_pid_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5747 PyObject
* _resultobj
;
5749 wxProcessEvent
* _arg0
;
5751 PyObject
* _argo0
= 0;
5752 char *_kwnames
[] = { "self","m_pid", NULL
};
5755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxProcessEvent_m_pid_set",_kwnames
,&_argo0
,&_arg1
))
5758 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5759 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
5760 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_m_pid_set. Expected _wxProcessEvent_p.");
5765 wxPy_BEGIN_ALLOW_THREADS
;
5766 _result
= (int )wxProcessEvent_m_pid_set(_arg0
,_arg1
);
5768 wxPy_END_ALLOW_THREADS
;
5769 } _resultobj
= Py_BuildValue("i",_result
);
5773 #define wxProcessEvent_m_pid_get(_swigobj) ((int ) _swigobj->m_pid)
5774 static PyObject
*_wrap_wxProcessEvent_m_pid_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5775 PyObject
* _resultobj
;
5777 wxProcessEvent
* _arg0
;
5778 PyObject
* _argo0
= 0;
5779 char *_kwnames
[] = { "self", NULL
};
5782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcessEvent_m_pid_get",_kwnames
,&_argo0
))
5785 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5786 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
5787 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_m_pid_get. Expected _wxProcessEvent_p.");
5792 wxPy_BEGIN_ALLOW_THREADS
;
5793 _result
= (int )wxProcessEvent_m_pid_get(_arg0
);
5795 wxPy_END_ALLOW_THREADS
;
5796 } _resultobj
= Py_BuildValue("i",_result
);
5800 #define wxProcessEvent_m_exitcode_set(_swigobj,_swigval) (_swigobj->m_exitcode = _swigval,_swigval)
5801 static PyObject
*_wrap_wxProcessEvent_m_exitcode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5802 PyObject
* _resultobj
;
5804 wxProcessEvent
* _arg0
;
5806 PyObject
* _argo0
= 0;
5807 char *_kwnames
[] = { "self","m_exitcode", NULL
};
5810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxProcessEvent_m_exitcode_set",_kwnames
,&_argo0
,&_arg1
))
5813 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5814 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
5815 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_m_exitcode_set. Expected _wxProcessEvent_p.");
5820 wxPy_BEGIN_ALLOW_THREADS
;
5821 _result
= (int )wxProcessEvent_m_exitcode_set(_arg0
,_arg1
);
5823 wxPy_END_ALLOW_THREADS
;
5824 } _resultobj
= Py_BuildValue("i",_result
);
5828 #define wxProcessEvent_m_exitcode_get(_swigobj) ((int ) _swigobj->m_exitcode)
5829 static PyObject
*_wrap_wxProcessEvent_m_exitcode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5830 PyObject
* _resultobj
;
5832 wxProcessEvent
* _arg0
;
5833 PyObject
* _argo0
= 0;
5834 char *_kwnames
[] = { "self", NULL
};
5837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcessEvent_m_exitcode_get",_kwnames
,&_argo0
))
5840 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5841 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
5842 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_m_exitcode_get. Expected _wxProcessEvent_p.");
5847 wxPy_BEGIN_ALLOW_THREADS
;
5848 _result
= (int )wxProcessEvent_m_exitcode_get(_arg0
);
5850 wxPy_END_ALLOW_THREADS
;
5851 } _resultobj
= Py_BuildValue("i",_result
);
5855 static void *SwigwxPyProcessTowxEvtHandler(void *ptr
) {
5858 src
= (wxPyProcess
*) ptr
;
5859 dest
= (wxEvtHandler
*) src
;
5860 return (void *) dest
;
5863 static void *SwigwxPyProcessTowxObject(void *ptr
) {
5866 src
= (wxPyProcess
*) ptr
;
5867 dest
= (wxObject
*) src
;
5868 return (void *) dest
;
5871 #define new_wxProcess(_swigarg0,_swigarg1) (new wxPyProcess(_swigarg0,_swigarg1))
5872 static PyObject
*_wrap_new_wxProcess(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5873 PyObject
* _resultobj
;
5874 wxPyProcess
* _result
;
5875 wxEvtHandler
* _arg0
= (wxEvtHandler
*) NULL
;
5876 int _arg1
= (int ) -1;
5877 PyObject
* _argo0
= 0;
5878 char *_kwnames
[] = { "parent","id", NULL
};
5882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|Oi:new_wxProcess",_kwnames
,&_argo0
,&_arg1
))
5885 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5886 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
5887 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxProcess. Expected _wxEvtHandler_p.");
5892 wxPy_BEGIN_ALLOW_THREADS
;
5893 _result
= (wxPyProcess
*)new_wxProcess(_arg0
,_arg1
);
5895 wxPy_END_ALLOW_THREADS
;
5897 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyProcess_p");
5898 _resultobj
= Py_BuildValue("s",_ptemp
);
5901 _resultobj
= Py_None
;
5906 static void wxPyProcess_Destroy(wxPyProcess
*self
) { delete self
; }
5907 static PyObject
*_wrap_wxProcess_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5908 PyObject
* _resultobj
;
5909 wxPyProcess
* _arg0
;
5910 PyObject
* _argo0
= 0;
5911 char *_kwnames
[] = { "self", NULL
};
5914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_Destroy",_kwnames
,&_argo0
))
5917 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5918 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
5919 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_Destroy. Expected _wxPyProcess_p.");
5924 wxPy_BEGIN_ALLOW_THREADS
;
5925 wxPyProcess_Destroy(_arg0
);
5927 wxPy_END_ALLOW_THREADS
;
5928 } Py_INCREF(Py_None
);
5929 _resultobj
= Py_None
;
5933 #define wxProcess__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
5934 static PyObject
*_wrap_wxProcess__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5935 PyObject
* _resultobj
;
5936 wxPyProcess
* _arg0
;
5939 PyObject
* _argo0
= 0;
5940 PyObject
* _obj1
= 0;
5941 PyObject
* _obj2
= 0;
5942 char *_kwnames
[] = { "self","self","_class", NULL
};
5945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxProcess__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
5948 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5949 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
5950 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess__setCallbackInfo. Expected _wxPyProcess_p.");
5961 wxPy_BEGIN_ALLOW_THREADS
;
5962 wxProcess__setCallbackInfo(_arg0
,_arg1
,_arg2
);
5964 wxPy_END_ALLOW_THREADS
;
5965 } Py_INCREF(Py_None
);
5966 _resultobj
= Py_None
;
5970 #define wxProcess_base_OnTerminate(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnTerminate(_swigarg0,_swigarg1))
5971 static PyObject
*_wrap_wxProcess_base_OnTerminate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5972 PyObject
* _resultobj
;
5973 wxPyProcess
* _arg0
;
5976 PyObject
* _argo0
= 0;
5977 char *_kwnames
[] = { "self","pid","status", NULL
};
5980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxProcess_base_OnTerminate",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5983 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5984 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
5985 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_base_OnTerminate. Expected _wxPyProcess_p.");
5990 wxPy_BEGIN_ALLOW_THREADS
;
5991 wxProcess_base_OnTerminate(_arg0
,_arg1
,_arg2
);
5993 wxPy_END_ALLOW_THREADS
;
5994 } Py_INCREF(Py_None
);
5995 _resultobj
= Py_None
;
5999 #define wxProcess_Redirect(_swigobj) (_swigobj->Redirect())
6000 static PyObject
*_wrap_wxProcess_Redirect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6001 PyObject
* _resultobj
;
6002 wxPyProcess
* _arg0
;
6003 PyObject
* _argo0
= 0;
6004 char *_kwnames
[] = { "self", NULL
};
6007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_Redirect",_kwnames
,&_argo0
))
6010 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6011 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6012 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_Redirect. Expected _wxPyProcess_p.");
6017 wxPy_BEGIN_ALLOW_THREADS
;
6018 wxProcess_Redirect(_arg0
);
6020 wxPy_END_ALLOW_THREADS
;
6021 } Py_INCREF(Py_None
);
6022 _resultobj
= Py_None
;
6026 #define wxProcess_IsRedirected(_swigobj) (_swigobj->IsRedirected())
6027 static PyObject
*_wrap_wxProcess_IsRedirected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6028 PyObject
* _resultobj
;
6030 wxPyProcess
* _arg0
;
6031 PyObject
* _argo0
= 0;
6032 char *_kwnames
[] = { "self", NULL
};
6035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_IsRedirected",_kwnames
,&_argo0
))
6038 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6039 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6040 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_IsRedirected. Expected _wxPyProcess_p.");
6045 wxPy_BEGIN_ALLOW_THREADS
;
6046 _result
= (bool )wxProcess_IsRedirected(_arg0
);
6048 wxPy_END_ALLOW_THREADS
;
6049 } _resultobj
= Py_BuildValue("i",_result
);
6053 #define wxProcess_Detach(_swigobj) (_swigobj->Detach())
6054 static PyObject
*_wrap_wxProcess_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6055 PyObject
* _resultobj
;
6056 wxPyProcess
* _arg0
;
6057 PyObject
* _argo0
= 0;
6058 char *_kwnames
[] = { "self", NULL
};
6061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_Detach",_kwnames
,&_argo0
))
6064 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6065 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6066 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_Detach. Expected _wxPyProcess_p.");
6071 wxPy_BEGIN_ALLOW_THREADS
;
6072 wxProcess_Detach(_arg0
);
6074 wxPy_END_ALLOW_THREADS
;
6075 } Py_INCREF(Py_None
);
6076 _resultobj
= Py_None
;
6080 #define wxProcess_GetInputStream(_swigobj) (_swigobj->GetInputStream())
6081 static PyObject
*_wrap_wxProcess_GetInputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6082 PyObject
* _resultobj
;
6083 wxInputStream
* _result
;
6084 wxPyProcess
* _arg0
;
6085 PyObject
* _argo0
= 0;
6086 char *_kwnames
[] = { "self", NULL
};
6089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_GetInputStream",_kwnames
,&_argo0
))
6092 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6093 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6094 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_GetInputStream. Expected _wxPyProcess_p.");
6099 wxPy_BEGIN_ALLOW_THREADS
;
6100 _result
= (wxInputStream
*)wxProcess_GetInputStream(_arg0
);
6102 wxPy_END_ALLOW_THREADS
;
6104 wxPyInputStream
* _ptr
= NULL
;
6107 _ptr
= new wxPyInputStream(_result
);
6109 _resultobj
= wxPyConstructObject(_ptr
, "wxInputStream", TRUE
);
6114 #define wxProcess_GetErrorStream(_swigobj) (_swigobj->GetErrorStream())
6115 static PyObject
*_wrap_wxProcess_GetErrorStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6116 PyObject
* _resultobj
;
6117 wxInputStream
* _result
;
6118 wxPyProcess
* _arg0
;
6119 PyObject
* _argo0
= 0;
6120 char *_kwnames
[] = { "self", NULL
};
6123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_GetErrorStream",_kwnames
,&_argo0
))
6126 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6127 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6128 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_GetErrorStream. Expected _wxPyProcess_p.");
6133 wxPy_BEGIN_ALLOW_THREADS
;
6134 _result
= (wxInputStream
*)wxProcess_GetErrorStream(_arg0
);
6136 wxPy_END_ALLOW_THREADS
;
6138 wxPyInputStream
* _ptr
= NULL
;
6141 _ptr
= new wxPyInputStream(_result
);
6143 _resultobj
= wxPyConstructObject(_ptr
, "wxInputStream", TRUE
);
6148 #define wxProcess_GetOutputStream(_swigobj) (_swigobj->GetOutputStream())
6149 static PyObject
*_wrap_wxProcess_GetOutputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6150 PyObject
* _resultobj
;
6151 wxOutputStream
* _result
;
6152 wxPyProcess
* _arg0
;
6153 PyObject
* _argo0
= 0;
6154 char *_kwnames
[] = { "self", NULL
};
6158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_GetOutputStream",_kwnames
,&_argo0
))
6161 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6162 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6163 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_GetOutputStream. Expected _wxPyProcess_p.");
6168 wxPy_BEGIN_ALLOW_THREADS
;
6169 _result
= (wxOutputStream
*)wxProcess_GetOutputStream(_arg0
);
6171 wxPy_END_ALLOW_THREADS
;
6173 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxOutputStream_p");
6174 _resultobj
= Py_BuildValue("s",_ptemp
);
6177 _resultobj
= Py_None
;
6182 #define wxProcess_CloseOutput(_swigobj) (_swigobj->CloseOutput())
6183 static PyObject
*_wrap_wxProcess_CloseOutput(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6184 PyObject
* _resultobj
;
6185 wxPyProcess
* _arg0
;
6186 PyObject
* _argo0
= 0;
6187 char *_kwnames
[] = { "self", NULL
};
6190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_CloseOutput",_kwnames
,&_argo0
))
6193 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6194 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6195 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_CloseOutput. Expected _wxPyProcess_p.");
6200 wxPy_BEGIN_ALLOW_THREADS
;
6201 wxProcess_CloseOutput(_arg0
);
6203 wxPy_END_ALLOW_THREADS
;
6204 } Py_INCREF(Py_None
);
6205 _resultobj
= Py_None
;
6209 static void *SwigwxJoystickTowxObject(void *ptr
) {
6212 src
= (wxJoystick
*) ptr
;
6213 dest
= (wxObject
*) src
;
6214 return (void *) dest
;
6217 #define new_wxJoystick(_swigarg0) (new wxJoystick(_swigarg0))
6218 static PyObject
*_wrap_new_wxJoystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6219 PyObject
* _resultobj
;
6220 wxJoystick
* _result
;
6221 int _arg0
= (int ) wxJOYSTICK1
;
6222 char *_kwnames
[] = { "joystick", NULL
};
6226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxJoystick",_kwnames
,&_arg0
))
6229 wxPy_BEGIN_ALLOW_THREADS
;
6230 _result
= (wxJoystick
*)new_wxJoystick(_arg0
);
6232 wxPy_END_ALLOW_THREADS
;
6234 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxJoystick_p");
6235 _resultobj
= Py_BuildValue("s",_ptemp
);
6238 _resultobj
= Py_None
;
6243 #define delete_wxJoystick(_swigobj) (delete _swigobj)
6244 static PyObject
*_wrap_delete_wxJoystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6245 PyObject
* _resultobj
;
6247 PyObject
* _argo0
= 0;
6248 char *_kwnames
[] = { "self", NULL
};
6251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxJoystick",_kwnames
,&_argo0
))
6254 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6255 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6256 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxJoystick. Expected _wxJoystick_p.");
6261 wxPy_BEGIN_ALLOW_THREADS
;
6262 delete_wxJoystick(_arg0
);
6264 wxPy_END_ALLOW_THREADS
;
6265 } Py_INCREF(Py_None
);
6266 _resultobj
= Py_None
;
6270 #define wxJoystick_GetPosition(_swigobj) (_swigobj->GetPosition())
6271 static PyObject
*_wrap_wxJoystick_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6272 PyObject
* _resultobj
;
6275 PyObject
* _argo0
= 0;
6276 char *_kwnames
[] = { "self", NULL
};
6280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPosition",_kwnames
,&_argo0
))
6283 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6284 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6285 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPosition. Expected _wxJoystick_p.");
6290 wxPy_BEGIN_ALLOW_THREADS
;
6291 _result
= new wxPoint (wxJoystick_GetPosition(_arg0
));
6293 wxPy_END_ALLOW_THREADS
;
6294 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
6295 _resultobj
= Py_BuildValue("s",_ptemp
);
6299 #define wxJoystick_GetZPosition(_swigobj) (_swigobj->GetZPosition())
6300 static PyObject
*_wrap_wxJoystick_GetZPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6301 PyObject
* _resultobj
;
6304 PyObject
* _argo0
= 0;
6305 char *_kwnames
[] = { "self", NULL
};
6308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetZPosition",_kwnames
,&_argo0
))
6311 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6312 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6313 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetZPosition. Expected _wxJoystick_p.");
6318 wxPy_BEGIN_ALLOW_THREADS
;
6319 _result
= (int )wxJoystick_GetZPosition(_arg0
);
6321 wxPy_END_ALLOW_THREADS
;
6322 } _resultobj
= Py_BuildValue("i",_result
);
6326 #define wxJoystick_GetButtonState(_swigobj) (_swigobj->GetButtonState())
6327 static PyObject
*_wrap_wxJoystick_GetButtonState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6328 PyObject
* _resultobj
;
6331 PyObject
* _argo0
= 0;
6332 char *_kwnames
[] = { "self", NULL
};
6335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetButtonState",_kwnames
,&_argo0
))
6338 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6339 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6340 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetButtonState. Expected _wxJoystick_p.");
6345 wxPy_BEGIN_ALLOW_THREADS
;
6346 _result
= (int )wxJoystick_GetButtonState(_arg0
);
6348 wxPy_END_ALLOW_THREADS
;
6349 } _resultobj
= Py_BuildValue("i",_result
);
6353 #define wxJoystick_GetPOVPosition(_swigobj) (_swigobj->GetPOVPosition())
6354 static PyObject
*_wrap_wxJoystick_GetPOVPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6355 PyObject
* _resultobj
;
6358 PyObject
* _argo0
= 0;
6359 char *_kwnames
[] = { "self", NULL
};
6362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPOVPosition",_kwnames
,&_argo0
))
6365 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6366 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6367 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPOVPosition. Expected _wxJoystick_p.");
6372 wxPy_BEGIN_ALLOW_THREADS
;
6373 _result
= (int )wxJoystick_GetPOVPosition(_arg0
);
6375 wxPy_END_ALLOW_THREADS
;
6376 } _resultobj
= Py_BuildValue("i",_result
);
6380 #define wxJoystick_GetPOVCTSPosition(_swigobj) (_swigobj->GetPOVCTSPosition())
6381 static PyObject
*_wrap_wxJoystick_GetPOVCTSPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6382 PyObject
* _resultobj
;
6385 PyObject
* _argo0
= 0;
6386 char *_kwnames
[] = { "self", NULL
};
6389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPOVCTSPosition",_kwnames
,&_argo0
))
6392 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6393 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6394 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPOVCTSPosition. Expected _wxJoystick_p.");
6399 wxPy_BEGIN_ALLOW_THREADS
;
6400 _result
= (int )wxJoystick_GetPOVCTSPosition(_arg0
);
6402 wxPy_END_ALLOW_THREADS
;
6403 } _resultobj
= Py_BuildValue("i",_result
);
6407 #define wxJoystick_GetRudderPosition(_swigobj) (_swigobj->GetRudderPosition())
6408 static PyObject
*_wrap_wxJoystick_GetRudderPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6409 PyObject
* _resultobj
;
6412 PyObject
* _argo0
= 0;
6413 char *_kwnames
[] = { "self", NULL
};
6416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetRudderPosition",_kwnames
,&_argo0
))
6419 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6420 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6421 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetRudderPosition. Expected _wxJoystick_p.");
6426 wxPy_BEGIN_ALLOW_THREADS
;
6427 _result
= (int )wxJoystick_GetRudderPosition(_arg0
);
6429 wxPy_END_ALLOW_THREADS
;
6430 } _resultobj
= Py_BuildValue("i",_result
);
6434 #define wxJoystick_GetUPosition(_swigobj) (_swigobj->GetUPosition())
6435 static PyObject
*_wrap_wxJoystick_GetUPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6436 PyObject
* _resultobj
;
6439 PyObject
* _argo0
= 0;
6440 char *_kwnames
[] = { "self", NULL
};
6443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetUPosition",_kwnames
,&_argo0
))
6446 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6447 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6448 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetUPosition. Expected _wxJoystick_p.");
6453 wxPy_BEGIN_ALLOW_THREADS
;
6454 _result
= (int )wxJoystick_GetUPosition(_arg0
);
6456 wxPy_END_ALLOW_THREADS
;
6457 } _resultobj
= Py_BuildValue("i",_result
);
6461 #define wxJoystick_GetVPosition(_swigobj) (_swigobj->GetVPosition())
6462 static PyObject
*_wrap_wxJoystick_GetVPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6463 PyObject
* _resultobj
;
6466 PyObject
* _argo0
= 0;
6467 char *_kwnames
[] = { "self", NULL
};
6470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetVPosition",_kwnames
,&_argo0
))
6473 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6474 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6475 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetVPosition. Expected _wxJoystick_p.");
6480 wxPy_BEGIN_ALLOW_THREADS
;
6481 _result
= (int )wxJoystick_GetVPosition(_arg0
);
6483 wxPy_END_ALLOW_THREADS
;
6484 } _resultobj
= Py_BuildValue("i",_result
);
6488 #define wxJoystick_GetMovementThreshold(_swigobj) (_swigobj->GetMovementThreshold())
6489 static PyObject
*_wrap_wxJoystick_GetMovementThreshold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6490 PyObject
* _resultobj
;
6493 PyObject
* _argo0
= 0;
6494 char *_kwnames
[] = { "self", NULL
};
6497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetMovementThreshold",_kwnames
,&_argo0
))
6500 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6501 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6502 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetMovementThreshold. Expected _wxJoystick_p.");
6507 wxPy_BEGIN_ALLOW_THREADS
;
6508 _result
= (int )wxJoystick_GetMovementThreshold(_arg0
);
6510 wxPy_END_ALLOW_THREADS
;
6511 } _resultobj
= Py_BuildValue("i",_result
);
6515 #define wxJoystick_SetMovementThreshold(_swigobj,_swigarg0) (_swigobj->SetMovementThreshold(_swigarg0))
6516 static PyObject
*_wrap_wxJoystick_SetMovementThreshold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6517 PyObject
* _resultobj
;
6520 PyObject
* _argo0
= 0;
6521 char *_kwnames
[] = { "self","threshold", NULL
};
6524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxJoystick_SetMovementThreshold",_kwnames
,&_argo0
,&_arg1
))
6527 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6528 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6529 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_SetMovementThreshold. Expected _wxJoystick_p.");
6534 wxPy_BEGIN_ALLOW_THREADS
;
6535 wxJoystick_SetMovementThreshold(_arg0
,_arg1
);
6537 wxPy_END_ALLOW_THREADS
;
6538 } Py_INCREF(Py_None
);
6539 _resultobj
= Py_None
;
6543 #define wxJoystick_IsOk(_swigobj) (_swigobj->IsOk())
6544 static PyObject
*_wrap_wxJoystick_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6545 PyObject
* _resultobj
;
6548 PyObject
* _argo0
= 0;
6549 char *_kwnames
[] = { "self", NULL
};
6552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_IsOk",_kwnames
,&_argo0
))
6555 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6556 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6557 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_IsOk. Expected _wxJoystick_p.");
6562 wxPy_BEGIN_ALLOW_THREADS
;
6563 _result
= (bool )wxJoystick_IsOk(_arg0
);
6565 wxPy_END_ALLOW_THREADS
;
6566 } _resultobj
= Py_BuildValue("i",_result
);
6570 #define wxJoystick_GetNumberJoysticks(_swigobj) (_swigobj->GetNumberJoysticks())
6571 static PyObject
*_wrap_wxJoystick_GetNumberJoysticks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6572 PyObject
* _resultobj
;
6575 PyObject
* _argo0
= 0;
6576 char *_kwnames
[] = { "self", NULL
};
6579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetNumberJoysticks",_kwnames
,&_argo0
))
6582 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6583 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6584 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetNumberJoysticks. Expected _wxJoystick_p.");
6589 wxPy_BEGIN_ALLOW_THREADS
;
6590 _result
= (int )wxJoystick_GetNumberJoysticks(_arg0
);
6592 wxPy_END_ALLOW_THREADS
;
6593 } _resultobj
= Py_BuildValue("i",_result
);
6597 #define wxJoystick_GetManufacturerId(_swigobj) (_swigobj->GetManufacturerId())
6598 static PyObject
*_wrap_wxJoystick_GetManufacturerId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6599 PyObject
* _resultobj
;
6602 PyObject
* _argo0
= 0;
6603 char *_kwnames
[] = { "self", NULL
};
6606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetManufacturerId",_kwnames
,&_argo0
))
6609 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6610 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6611 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetManufacturerId. Expected _wxJoystick_p.");
6616 wxPy_BEGIN_ALLOW_THREADS
;
6617 _result
= (int )wxJoystick_GetManufacturerId(_arg0
);
6619 wxPy_END_ALLOW_THREADS
;
6620 } _resultobj
= Py_BuildValue("i",_result
);
6624 #define wxJoystick_GetProductId(_swigobj) (_swigobj->GetProductId())
6625 static PyObject
*_wrap_wxJoystick_GetProductId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6626 PyObject
* _resultobj
;
6629 PyObject
* _argo0
= 0;
6630 char *_kwnames
[] = { "self", NULL
};
6633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetProductId",_kwnames
,&_argo0
))
6636 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6637 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6638 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetProductId. Expected _wxJoystick_p.");
6643 wxPy_BEGIN_ALLOW_THREADS
;
6644 _result
= (int )wxJoystick_GetProductId(_arg0
);
6646 wxPy_END_ALLOW_THREADS
;
6647 } _resultobj
= Py_BuildValue("i",_result
);
6651 #define wxJoystick_GetProductName(_swigobj) (_swigobj->GetProductName())
6652 static PyObject
*_wrap_wxJoystick_GetProductName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6653 PyObject
* _resultobj
;
6656 PyObject
* _argo0
= 0;
6657 char *_kwnames
[] = { "self", NULL
};
6660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetProductName",_kwnames
,&_argo0
))
6663 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6664 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6665 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetProductName. Expected _wxJoystick_p.");
6670 wxPy_BEGIN_ALLOW_THREADS
;
6671 _result
= new wxString (wxJoystick_GetProductName(_arg0
));
6673 wxPy_END_ALLOW_THREADS
;
6675 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
6683 #define wxJoystick_GetXMin(_swigobj) (_swigobj->GetXMin())
6684 static PyObject
*_wrap_wxJoystick_GetXMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6685 PyObject
* _resultobj
;
6688 PyObject
* _argo0
= 0;
6689 char *_kwnames
[] = { "self", NULL
};
6692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetXMin",_kwnames
,&_argo0
))
6695 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6696 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6697 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetXMin. Expected _wxJoystick_p.");
6702 wxPy_BEGIN_ALLOW_THREADS
;
6703 _result
= (int )wxJoystick_GetXMin(_arg0
);
6705 wxPy_END_ALLOW_THREADS
;
6706 } _resultobj
= Py_BuildValue("i",_result
);
6710 #define wxJoystick_GetYMin(_swigobj) (_swigobj->GetYMin())
6711 static PyObject
*_wrap_wxJoystick_GetYMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6712 PyObject
* _resultobj
;
6715 PyObject
* _argo0
= 0;
6716 char *_kwnames
[] = { "self", NULL
};
6719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetYMin",_kwnames
,&_argo0
))
6722 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6723 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6724 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetYMin. Expected _wxJoystick_p.");
6729 wxPy_BEGIN_ALLOW_THREADS
;
6730 _result
= (int )wxJoystick_GetYMin(_arg0
);
6732 wxPy_END_ALLOW_THREADS
;
6733 } _resultobj
= Py_BuildValue("i",_result
);
6737 #define wxJoystick_GetZMin(_swigobj) (_swigobj->GetZMin())
6738 static PyObject
*_wrap_wxJoystick_GetZMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6739 PyObject
* _resultobj
;
6742 PyObject
* _argo0
= 0;
6743 char *_kwnames
[] = { "self", NULL
};
6746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetZMin",_kwnames
,&_argo0
))
6749 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6750 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6751 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetZMin. Expected _wxJoystick_p.");
6756 wxPy_BEGIN_ALLOW_THREADS
;
6757 _result
= (int )wxJoystick_GetZMin(_arg0
);
6759 wxPy_END_ALLOW_THREADS
;
6760 } _resultobj
= Py_BuildValue("i",_result
);
6764 #define wxJoystick_GetXMax(_swigobj) (_swigobj->GetXMax())
6765 static PyObject
*_wrap_wxJoystick_GetXMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6766 PyObject
* _resultobj
;
6769 PyObject
* _argo0
= 0;
6770 char *_kwnames
[] = { "self", NULL
};
6773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetXMax",_kwnames
,&_argo0
))
6776 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6777 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6778 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetXMax. Expected _wxJoystick_p.");
6783 wxPy_BEGIN_ALLOW_THREADS
;
6784 _result
= (int )wxJoystick_GetXMax(_arg0
);
6786 wxPy_END_ALLOW_THREADS
;
6787 } _resultobj
= Py_BuildValue("i",_result
);
6791 #define wxJoystick_GetYMax(_swigobj) (_swigobj->GetYMax())
6792 static PyObject
*_wrap_wxJoystick_GetYMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6793 PyObject
* _resultobj
;
6796 PyObject
* _argo0
= 0;
6797 char *_kwnames
[] = { "self", NULL
};
6800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetYMax",_kwnames
,&_argo0
))
6803 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6804 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6805 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetYMax. Expected _wxJoystick_p.");
6810 wxPy_BEGIN_ALLOW_THREADS
;
6811 _result
= (int )wxJoystick_GetYMax(_arg0
);
6813 wxPy_END_ALLOW_THREADS
;
6814 } _resultobj
= Py_BuildValue("i",_result
);
6818 #define wxJoystick_GetZMax(_swigobj) (_swigobj->GetZMax())
6819 static PyObject
*_wrap_wxJoystick_GetZMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6820 PyObject
* _resultobj
;
6823 PyObject
* _argo0
= 0;
6824 char *_kwnames
[] = { "self", NULL
};
6827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetZMax",_kwnames
,&_argo0
))
6830 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6831 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6832 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetZMax. Expected _wxJoystick_p.");
6837 wxPy_BEGIN_ALLOW_THREADS
;
6838 _result
= (int )wxJoystick_GetZMax(_arg0
);
6840 wxPy_END_ALLOW_THREADS
;
6841 } _resultobj
= Py_BuildValue("i",_result
);
6845 #define wxJoystick_GetNumberButtons(_swigobj) (_swigobj->GetNumberButtons())
6846 static PyObject
*_wrap_wxJoystick_GetNumberButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6847 PyObject
* _resultobj
;
6850 PyObject
* _argo0
= 0;
6851 char *_kwnames
[] = { "self", NULL
};
6854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetNumberButtons",_kwnames
,&_argo0
))
6857 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6858 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6859 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetNumberButtons. Expected _wxJoystick_p.");
6864 wxPy_BEGIN_ALLOW_THREADS
;
6865 _result
= (int )wxJoystick_GetNumberButtons(_arg0
);
6867 wxPy_END_ALLOW_THREADS
;
6868 } _resultobj
= Py_BuildValue("i",_result
);
6872 #define wxJoystick_GetNumberAxes(_swigobj) (_swigobj->GetNumberAxes())
6873 static PyObject
*_wrap_wxJoystick_GetNumberAxes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6874 PyObject
* _resultobj
;
6877 PyObject
* _argo0
= 0;
6878 char *_kwnames
[] = { "self", NULL
};
6881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetNumberAxes",_kwnames
,&_argo0
))
6884 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6885 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6886 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetNumberAxes. Expected _wxJoystick_p.");
6891 wxPy_BEGIN_ALLOW_THREADS
;
6892 _result
= (int )wxJoystick_GetNumberAxes(_arg0
);
6894 wxPy_END_ALLOW_THREADS
;
6895 } _resultobj
= Py_BuildValue("i",_result
);
6899 #define wxJoystick_GetMaxButtons(_swigobj) (_swigobj->GetMaxButtons())
6900 static PyObject
*_wrap_wxJoystick_GetMaxButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6901 PyObject
* _resultobj
;
6904 PyObject
* _argo0
= 0;
6905 char *_kwnames
[] = { "self", NULL
};
6908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetMaxButtons",_kwnames
,&_argo0
))
6911 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6912 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6913 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetMaxButtons. Expected _wxJoystick_p.");
6918 wxPy_BEGIN_ALLOW_THREADS
;
6919 _result
= (int )wxJoystick_GetMaxButtons(_arg0
);
6921 wxPy_END_ALLOW_THREADS
;
6922 } _resultobj
= Py_BuildValue("i",_result
);
6926 #define wxJoystick_GetMaxAxes(_swigobj) (_swigobj->GetMaxAxes())
6927 static PyObject
*_wrap_wxJoystick_GetMaxAxes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6928 PyObject
* _resultobj
;
6931 PyObject
* _argo0
= 0;
6932 char *_kwnames
[] = { "self", NULL
};
6935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetMaxAxes",_kwnames
,&_argo0
))
6938 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6939 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6940 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetMaxAxes. Expected _wxJoystick_p.");
6945 wxPy_BEGIN_ALLOW_THREADS
;
6946 _result
= (int )wxJoystick_GetMaxAxes(_arg0
);
6948 wxPy_END_ALLOW_THREADS
;
6949 } _resultobj
= Py_BuildValue("i",_result
);
6953 #define wxJoystick_GetPollingMin(_swigobj) (_swigobj->GetPollingMin())
6954 static PyObject
*_wrap_wxJoystick_GetPollingMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6955 PyObject
* _resultobj
;
6958 PyObject
* _argo0
= 0;
6959 char *_kwnames
[] = { "self", NULL
};
6962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPollingMin",_kwnames
,&_argo0
))
6965 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6966 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6967 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPollingMin. Expected _wxJoystick_p.");
6972 wxPy_BEGIN_ALLOW_THREADS
;
6973 _result
= (int )wxJoystick_GetPollingMin(_arg0
);
6975 wxPy_END_ALLOW_THREADS
;
6976 } _resultobj
= Py_BuildValue("i",_result
);
6980 #define wxJoystick_GetPollingMax(_swigobj) (_swigobj->GetPollingMax())
6981 static PyObject
*_wrap_wxJoystick_GetPollingMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6982 PyObject
* _resultobj
;
6985 PyObject
* _argo0
= 0;
6986 char *_kwnames
[] = { "self", NULL
};
6989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPollingMax",_kwnames
,&_argo0
))
6992 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6993 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6994 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPollingMax. Expected _wxJoystick_p.");
6999 wxPy_BEGIN_ALLOW_THREADS
;
7000 _result
= (int )wxJoystick_GetPollingMax(_arg0
);
7002 wxPy_END_ALLOW_THREADS
;
7003 } _resultobj
= Py_BuildValue("i",_result
);
7007 #define wxJoystick_GetRudderMin(_swigobj) (_swigobj->GetRudderMin())
7008 static PyObject
*_wrap_wxJoystick_GetRudderMin(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_GetRudderMin",_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_GetRudderMin. Expected _wxJoystick_p.");
7026 wxPy_BEGIN_ALLOW_THREADS
;
7027 _result
= (int )wxJoystick_GetRudderMin(_arg0
);
7029 wxPy_END_ALLOW_THREADS
;
7030 } _resultobj
= Py_BuildValue("i",_result
);
7034 #define wxJoystick_GetRudderMax(_swigobj) (_swigobj->GetRudderMax())
7035 static PyObject
*_wrap_wxJoystick_GetRudderMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7036 PyObject
* _resultobj
;
7039 PyObject
* _argo0
= 0;
7040 char *_kwnames
[] = { "self", NULL
};
7043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetRudderMax",_kwnames
,&_argo0
))
7046 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7047 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7048 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetRudderMax. Expected _wxJoystick_p.");
7053 wxPy_BEGIN_ALLOW_THREADS
;
7054 _result
= (int )wxJoystick_GetRudderMax(_arg0
);
7056 wxPy_END_ALLOW_THREADS
;
7057 } _resultobj
= Py_BuildValue("i",_result
);
7061 #define wxJoystick_GetUMin(_swigobj) (_swigobj->GetUMin())
7062 static PyObject
*_wrap_wxJoystick_GetUMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7063 PyObject
* _resultobj
;
7066 PyObject
* _argo0
= 0;
7067 char *_kwnames
[] = { "self", NULL
};
7070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetUMin",_kwnames
,&_argo0
))
7073 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7074 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7075 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetUMin. Expected _wxJoystick_p.");
7080 wxPy_BEGIN_ALLOW_THREADS
;
7081 _result
= (int )wxJoystick_GetUMin(_arg0
);
7083 wxPy_END_ALLOW_THREADS
;
7084 } _resultobj
= Py_BuildValue("i",_result
);
7088 #define wxJoystick_GetUMax(_swigobj) (_swigobj->GetUMax())
7089 static PyObject
*_wrap_wxJoystick_GetUMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7090 PyObject
* _resultobj
;
7093 PyObject
* _argo0
= 0;
7094 char *_kwnames
[] = { "self", NULL
};
7097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetUMax",_kwnames
,&_argo0
))
7100 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7101 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7102 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetUMax. Expected _wxJoystick_p.");
7107 wxPy_BEGIN_ALLOW_THREADS
;
7108 _result
= (int )wxJoystick_GetUMax(_arg0
);
7110 wxPy_END_ALLOW_THREADS
;
7111 } _resultobj
= Py_BuildValue("i",_result
);
7115 #define wxJoystick_GetVMin(_swigobj) (_swigobj->GetVMin())
7116 static PyObject
*_wrap_wxJoystick_GetVMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7117 PyObject
* _resultobj
;
7120 PyObject
* _argo0
= 0;
7121 char *_kwnames
[] = { "self", NULL
};
7124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetVMin",_kwnames
,&_argo0
))
7127 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7128 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7129 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetVMin. Expected _wxJoystick_p.");
7134 wxPy_BEGIN_ALLOW_THREADS
;
7135 _result
= (int )wxJoystick_GetVMin(_arg0
);
7137 wxPy_END_ALLOW_THREADS
;
7138 } _resultobj
= Py_BuildValue("i",_result
);
7142 #define wxJoystick_GetVMax(_swigobj) (_swigobj->GetVMax())
7143 static PyObject
*_wrap_wxJoystick_GetVMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7144 PyObject
* _resultobj
;
7147 PyObject
* _argo0
= 0;
7148 char *_kwnames
[] = { "self", NULL
};
7151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetVMax",_kwnames
,&_argo0
))
7154 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7155 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7156 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetVMax. Expected _wxJoystick_p.");
7161 wxPy_BEGIN_ALLOW_THREADS
;
7162 _result
= (int )wxJoystick_GetVMax(_arg0
);
7164 wxPy_END_ALLOW_THREADS
;
7165 } _resultobj
= Py_BuildValue("i",_result
);
7169 #define wxJoystick_HasRudder(_swigobj) (_swigobj->HasRudder())
7170 static PyObject
*_wrap_wxJoystick_HasRudder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7171 PyObject
* _resultobj
;
7174 PyObject
* _argo0
= 0;
7175 char *_kwnames
[] = { "self", NULL
};
7178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasRudder",_kwnames
,&_argo0
))
7181 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7182 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7183 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasRudder. Expected _wxJoystick_p.");
7188 wxPy_BEGIN_ALLOW_THREADS
;
7189 _result
= (bool )wxJoystick_HasRudder(_arg0
);
7191 wxPy_END_ALLOW_THREADS
;
7192 } _resultobj
= Py_BuildValue("i",_result
);
7196 #define wxJoystick_HasZ(_swigobj) (_swigobj->HasZ())
7197 static PyObject
*_wrap_wxJoystick_HasZ(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7198 PyObject
* _resultobj
;
7201 PyObject
* _argo0
= 0;
7202 char *_kwnames
[] = { "self", NULL
};
7205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasZ",_kwnames
,&_argo0
))
7208 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7209 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7210 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasZ. Expected _wxJoystick_p.");
7215 wxPy_BEGIN_ALLOW_THREADS
;
7216 _result
= (bool )wxJoystick_HasZ(_arg0
);
7218 wxPy_END_ALLOW_THREADS
;
7219 } _resultobj
= Py_BuildValue("i",_result
);
7223 #define wxJoystick_HasU(_swigobj) (_swigobj->HasU())
7224 static PyObject
*_wrap_wxJoystick_HasU(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7225 PyObject
* _resultobj
;
7228 PyObject
* _argo0
= 0;
7229 char *_kwnames
[] = { "self", NULL
};
7232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasU",_kwnames
,&_argo0
))
7235 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7236 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7237 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasU. Expected _wxJoystick_p.");
7242 wxPy_BEGIN_ALLOW_THREADS
;
7243 _result
= (bool )wxJoystick_HasU(_arg0
);
7245 wxPy_END_ALLOW_THREADS
;
7246 } _resultobj
= Py_BuildValue("i",_result
);
7250 #define wxJoystick_HasV(_swigobj) (_swigobj->HasV())
7251 static PyObject
*_wrap_wxJoystick_HasV(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7252 PyObject
* _resultobj
;
7255 PyObject
* _argo0
= 0;
7256 char *_kwnames
[] = { "self", NULL
};
7259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasV",_kwnames
,&_argo0
))
7262 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7263 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7264 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasV. Expected _wxJoystick_p.");
7269 wxPy_BEGIN_ALLOW_THREADS
;
7270 _result
= (bool )wxJoystick_HasV(_arg0
);
7272 wxPy_END_ALLOW_THREADS
;
7273 } _resultobj
= Py_BuildValue("i",_result
);
7277 #define wxJoystick_HasPOV(_swigobj) (_swigobj->HasPOV())
7278 static PyObject
*_wrap_wxJoystick_HasPOV(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7279 PyObject
* _resultobj
;
7282 PyObject
* _argo0
= 0;
7283 char *_kwnames
[] = { "self", NULL
};
7286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasPOV",_kwnames
,&_argo0
))
7289 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7290 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7291 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasPOV. Expected _wxJoystick_p.");
7296 wxPy_BEGIN_ALLOW_THREADS
;
7297 _result
= (bool )wxJoystick_HasPOV(_arg0
);
7299 wxPy_END_ALLOW_THREADS
;
7300 } _resultobj
= Py_BuildValue("i",_result
);
7304 #define wxJoystick_HasPOV4Dir(_swigobj) (_swigobj->HasPOV4Dir())
7305 static PyObject
*_wrap_wxJoystick_HasPOV4Dir(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7306 PyObject
* _resultobj
;
7309 PyObject
* _argo0
= 0;
7310 char *_kwnames
[] = { "self", NULL
};
7313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasPOV4Dir",_kwnames
,&_argo0
))
7316 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7317 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7318 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasPOV4Dir. Expected _wxJoystick_p.");
7323 wxPy_BEGIN_ALLOW_THREADS
;
7324 _result
= (bool )wxJoystick_HasPOV4Dir(_arg0
);
7326 wxPy_END_ALLOW_THREADS
;
7327 } _resultobj
= Py_BuildValue("i",_result
);
7331 #define wxJoystick_HasPOVCTS(_swigobj) (_swigobj->HasPOVCTS())
7332 static PyObject
*_wrap_wxJoystick_HasPOVCTS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7333 PyObject
* _resultobj
;
7336 PyObject
* _argo0
= 0;
7337 char *_kwnames
[] = { "self", NULL
};
7340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasPOVCTS",_kwnames
,&_argo0
))
7343 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7344 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7345 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasPOVCTS. Expected _wxJoystick_p.");
7350 wxPy_BEGIN_ALLOW_THREADS
;
7351 _result
= (bool )wxJoystick_HasPOVCTS(_arg0
);
7353 wxPy_END_ALLOW_THREADS
;
7354 } _resultobj
= Py_BuildValue("i",_result
);
7358 #define wxJoystick_SetCapture(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetCapture(_swigarg0,_swigarg1))
7359 static PyObject
*_wrap_wxJoystick_SetCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7360 PyObject
* _resultobj
;
7364 int _arg2
= (int ) 0;
7365 PyObject
* _argo0
= 0;
7366 PyObject
* _argo1
= 0;
7367 char *_kwnames
[] = { "self","win","pollingFreq", NULL
};
7370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxJoystick_SetCapture",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
7373 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7374 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7375 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_SetCapture. Expected _wxJoystick_p.");
7380 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7381 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
7382 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxJoystick_SetCapture. Expected _wxWindow_p.");
7387 wxPy_BEGIN_ALLOW_THREADS
;
7388 _result
= (bool )wxJoystick_SetCapture(_arg0
,_arg1
,_arg2
);
7390 wxPy_END_ALLOW_THREADS
;
7391 } _resultobj
= Py_BuildValue("i",_result
);
7395 #define wxJoystick_ReleaseCapture(_swigobj) (_swigobj->ReleaseCapture())
7396 static PyObject
*_wrap_wxJoystick_ReleaseCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7397 PyObject
* _resultobj
;
7400 PyObject
* _argo0
= 0;
7401 char *_kwnames
[] = { "self", NULL
};
7404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_ReleaseCapture",_kwnames
,&_argo0
))
7407 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7408 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7409 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_ReleaseCapture. Expected _wxJoystick_p.");
7414 wxPy_BEGIN_ALLOW_THREADS
;
7415 _result
= (bool )wxJoystick_ReleaseCapture(_arg0
);
7417 wxPy_END_ALLOW_THREADS
;
7418 } _resultobj
= Py_BuildValue("i",_result
);
7422 static void *SwigwxWaveTowxObject(void *ptr
) {
7425 src
= (wxWave
*) ptr
;
7426 dest
= (wxObject
*) src
;
7427 return (void *) dest
;
7430 #define new_wxWave(_swigarg0,_swigarg1) (new wxWave(_swigarg0,_swigarg1))
7431 static PyObject
*_wrap_new_wxWave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7432 PyObject
* _resultobj
;
7435 bool _arg1
= (bool ) FALSE
;
7436 PyObject
* _obj0
= 0;
7437 int tempbool1
= (int) FALSE
;
7438 char *_kwnames
[] = { "fileName","isResource", NULL
};
7442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:new_wxWave",_kwnames
,&_obj0
,&tempbool1
))
7445 #if PYTHON_API_VERSION >= 1009
7446 char* tmpPtr
; int tmpSize
;
7447 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
7448 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7451 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
7453 _arg0
= new wxString(tmpPtr
, tmpSize
);
7455 if (!PyString_Check(_obj0
)) {
7456 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7459 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
7462 _arg1
= (bool ) tempbool1
;
7464 wxPy_BEGIN_ALLOW_THREADS
;
7465 _result
= (wxWave
*)new_wxWave(*_arg0
,_arg1
);
7467 wxPy_END_ALLOW_THREADS
;
7469 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWave_p");
7470 _resultobj
= Py_BuildValue("s",_ptemp
);
7473 _resultobj
= Py_None
;
7482 #define delete_wxWave(_swigobj) (delete _swigobj)
7483 static PyObject
*_wrap_delete_wxWave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7484 PyObject
* _resultobj
;
7486 PyObject
* _argo0
= 0;
7487 char *_kwnames
[] = { "self", NULL
};
7490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxWave",_kwnames
,&_argo0
))
7493 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7494 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWave_p")) {
7495 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxWave. Expected _wxWave_p.");
7500 wxPy_BEGIN_ALLOW_THREADS
;
7501 delete_wxWave(_arg0
);
7503 wxPy_END_ALLOW_THREADS
;
7504 } Py_INCREF(Py_None
);
7505 _resultobj
= Py_None
;
7509 #define wxWave_IsOk(_swigobj) (_swigobj->IsOk())
7510 static PyObject
*_wrap_wxWave_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7511 PyObject
* _resultobj
;
7514 PyObject
* _argo0
= 0;
7515 char *_kwnames
[] = { "self", NULL
};
7518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWave_IsOk",_kwnames
,&_argo0
))
7521 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7522 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWave_p")) {
7523 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWave_IsOk. Expected _wxWave_p.");
7528 wxPy_BEGIN_ALLOW_THREADS
;
7529 _result
= (bool )wxWave_IsOk(_arg0
);
7531 wxPy_END_ALLOW_THREADS
;
7532 } _resultobj
= Py_BuildValue("i",_result
);
7536 #define wxWave_Play(_swigobj,_swigarg0,_swigarg1) (_swigobj->Play(_swigarg0,_swigarg1))
7537 static PyObject
*_wrap_wxWave_Play(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7538 PyObject
* _resultobj
;
7541 bool _arg1
= (bool ) TRUE
;
7542 bool _arg2
= (bool ) FALSE
;
7543 PyObject
* _argo0
= 0;
7544 int tempbool1
= (int) TRUE
;
7545 int tempbool2
= (int) FALSE
;
7546 char *_kwnames
[] = { "self","async","looped", NULL
};
7549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxWave_Play",_kwnames
,&_argo0
,&tempbool1
,&tempbool2
))
7552 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7553 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWave_p")) {
7554 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWave_Play. Expected _wxWave_p.");
7558 _arg1
= (bool ) tempbool1
;
7559 _arg2
= (bool ) tempbool2
;
7561 wxPy_BEGIN_ALLOW_THREADS
;
7562 _result
= (bool )wxWave_Play(_arg0
,_arg1
,_arg2
);
7564 wxPy_END_ALLOW_THREADS
;
7565 } _resultobj
= Py_BuildValue("i",_result
);
7569 #define new_wxFileTypeInfo(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxFileTypeInfo(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7570 static PyObject
*_wrap_new_wxFileTypeInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7571 PyObject
* _resultobj
;
7572 wxFileTypeInfo
* _result
;
7577 char *_kwnames
[] = { "mimeType","openCmd","printCmd","desc", NULL
};
7581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"ssss:new_wxFileTypeInfo",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
))
7584 wxPy_BEGIN_ALLOW_THREADS
;
7585 _result
= (wxFileTypeInfo
*)new_wxFileTypeInfo(_arg0
,_arg1
,_arg2
,_arg3
);
7587 wxPy_END_ALLOW_THREADS
;
7589 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileTypeInfo_p");
7590 _resultobj
= Py_BuildValue("s",_ptemp
);
7593 _resultobj
= Py_None
;
7598 #define new_wxFileTypeInfoSequence(_swigarg0) (new wxFileTypeInfo(_swigarg0))
7599 static PyObject
*_wrap_new_wxFileTypeInfoSequence(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7600 PyObject
* _resultobj
;
7601 wxFileTypeInfo
* _result
;
7602 wxArrayString
* _arg0
;
7603 PyObject
* _obj0
= 0;
7604 char *_kwnames
[] = { "sArray", NULL
};
7608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxFileTypeInfoSequence",_kwnames
,&_obj0
))
7611 if (! PySequence_Check(_obj0
)) {
7612 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
7615 _arg0
= new wxArrayString
;
7616 int i
, len
=PySequence_Length(_obj0
);
7617 for (i
=0; i
<len
; i
++) {
7618 PyObject
* item
= PySequence_GetItem(_obj0
, i
);
7619 PyObject
* str
= PyObject_Str(item
);
7620 _arg0
->Add(PyString_AsString(item
));
7626 wxPy_BEGIN_ALLOW_THREADS
;
7627 _result
= (wxFileTypeInfo
*)new_wxFileTypeInfoSequence(*_arg0
);
7629 wxPy_END_ALLOW_THREADS
;
7631 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileTypeInfo_p");
7632 _resultobj
= Py_BuildValue("s",_ptemp
);
7635 _resultobj
= Py_None
;
7644 #define new_wxNullFileTypeInfo() (new wxFileTypeInfo())
7645 static PyObject
*_wrap_new_wxNullFileTypeInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7646 PyObject
* _resultobj
;
7647 wxFileTypeInfo
* _result
;
7648 char *_kwnames
[] = { NULL
};
7652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxNullFileTypeInfo",_kwnames
))
7655 wxPy_BEGIN_ALLOW_THREADS
;
7656 _result
= (wxFileTypeInfo
*)new_wxNullFileTypeInfo();
7658 wxPy_END_ALLOW_THREADS
;
7660 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileTypeInfo_p");
7661 _resultobj
= Py_BuildValue("s",_ptemp
);
7664 _resultobj
= Py_None
;
7669 #define wxFileTypeInfo_IsValid(_swigobj) (_swigobj->IsValid())
7670 static PyObject
*_wrap_wxFileTypeInfo_IsValid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7671 PyObject
* _resultobj
;
7673 wxFileTypeInfo
* _arg0
;
7674 PyObject
* _argo0
= 0;
7675 char *_kwnames
[] = { "self", NULL
};
7678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_IsValid",_kwnames
,&_argo0
))
7681 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7682 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
7683 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_IsValid. Expected _wxFileTypeInfo_p.");
7688 wxPy_BEGIN_ALLOW_THREADS
;
7689 _result
= (bool )wxFileTypeInfo_IsValid(_arg0
);
7691 wxPy_END_ALLOW_THREADS
;
7692 } _resultobj
= Py_BuildValue("i",_result
);
7696 #define wxFileTypeInfo_SetIcon(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetIcon(_swigarg0,_swigarg1))
7697 static PyObject
*_wrap_wxFileTypeInfo_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7698 PyObject
* _resultobj
;
7699 wxFileTypeInfo
* _arg0
;
7701 int _arg2
= (int ) 0;
7702 PyObject
* _argo0
= 0;
7703 PyObject
* _obj1
= 0;
7704 char *_kwnames
[] = { "self","iconFile","iconIndex", NULL
};
7707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxFileTypeInfo_SetIcon",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
7710 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7711 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
7712 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_SetIcon. Expected _wxFileTypeInfo_p.");
7717 #if PYTHON_API_VERSION >= 1009
7718 char* tmpPtr
; int tmpSize
;
7719 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
7720 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7723 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
7725 _arg1
= new wxString(tmpPtr
, tmpSize
);
7727 if (!PyString_Check(_obj1
)) {
7728 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7731 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
7735 wxPy_BEGIN_ALLOW_THREADS
;
7736 wxFileTypeInfo_SetIcon(_arg0
,*_arg1
,_arg2
);
7738 wxPy_END_ALLOW_THREADS
;
7739 } Py_INCREF(Py_None
);
7740 _resultobj
= Py_None
;
7748 #define wxFileTypeInfo_SetShortDesc(_swigobj,_swigarg0) (_swigobj->SetShortDesc(_swigarg0))
7749 static PyObject
*_wrap_wxFileTypeInfo_SetShortDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7750 PyObject
* _resultobj
;
7751 wxFileTypeInfo
* _arg0
;
7753 PyObject
* _argo0
= 0;
7754 PyObject
* _obj1
= 0;
7755 char *_kwnames
[] = { "self","shortDesc", NULL
};
7758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileTypeInfo_SetShortDesc",_kwnames
,&_argo0
,&_obj1
))
7761 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7762 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
7763 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_SetShortDesc. Expected _wxFileTypeInfo_p.");
7768 #if PYTHON_API_VERSION >= 1009
7769 char* tmpPtr
; int tmpSize
;
7770 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
7771 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7774 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
7776 _arg1
= new wxString(tmpPtr
, tmpSize
);
7778 if (!PyString_Check(_obj1
)) {
7779 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7782 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
7786 wxPy_BEGIN_ALLOW_THREADS
;
7787 wxFileTypeInfo_SetShortDesc(_arg0
,*_arg1
);
7789 wxPy_END_ALLOW_THREADS
;
7790 } Py_INCREF(Py_None
);
7791 _resultobj
= Py_None
;
7799 #define wxFileTypeInfo_GetMimeType(_swigobj) (_swigobj->GetMimeType())
7800 static PyObject
*_wrap_wxFileTypeInfo_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7801 PyObject
* _resultobj
;
7803 wxFileTypeInfo
* _arg0
;
7804 PyObject
* _argo0
= 0;
7805 char *_kwnames
[] = { "self", NULL
};
7808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetMimeType",_kwnames
,&_argo0
))
7811 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7812 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
7813 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetMimeType. Expected _wxFileTypeInfo_p.");
7818 wxPy_BEGIN_ALLOW_THREADS
;
7819 const wxString
& _result_ref
= wxFileTypeInfo_GetMimeType(_arg0
);
7820 _result
= (wxString
*) &_result_ref
;
7822 wxPy_END_ALLOW_THREADS
;
7824 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
7829 #define wxFileTypeInfo_GetOpenCommand(_swigobj) (_swigobj->GetOpenCommand())
7830 static PyObject
*_wrap_wxFileTypeInfo_GetOpenCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7831 PyObject
* _resultobj
;
7833 wxFileTypeInfo
* _arg0
;
7834 PyObject
* _argo0
= 0;
7835 char *_kwnames
[] = { "self", NULL
};
7838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetOpenCommand",_kwnames
,&_argo0
))
7841 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7842 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
7843 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetOpenCommand. Expected _wxFileTypeInfo_p.");
7848 wxPy_BEGIN_ALLOW_THREADS
;
7849 const wxString
& _result_ref
= wxFileTypeInfo_GetOpenCommand(_arg0
);
7850 _result
= (wxString
*) &_result_ref
;
7852 wxPy_END_ALLOW_THREADS
;
7854 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
7859 #define wxFileTypeInfo_GetPrintCommand(_swigobj) (_swigobj->GetPrintCommand())
7860 static PyObject
*_wrap_wxFileTypeInfo_GetPrintCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7861 PyObject
* _resultobj
;
7863 wxFileTypeInfo
* _arg0
;
7864 PyObject
* _argo0
= 0;
7865 char *_kwnames
[] = { "self", NULL
};
7868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetPrintCommand",_kwnames
,&_argo0
))
7871 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7872 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
7873 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetPrintCommand. Expected _wxFileTypeInfo_p.");
7878 wxPy_BEGIN_ALLOW_THREADS
;
7879 const wxString
& _result_ref
= wxFileTypeInfo_GetPrintCommand(_arg0
);
7880 _result
= (wxString
*) &_result_ref
;
7882 wxPy_END_ALLOW_THREADS
;
7884 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
7889 #define wxFileTypeInfo_GetShortDesc(_swigobj) (_swigobj->GetShortDesc())
7890 static PyObject
*_wrap_wxFileTypeInfo_GetShortDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7891 PyObject
* _resultobj
;
7893 wxFileTypeInfo
* _arg0
;
7894 PyObject
* _argo0
= 0;
7895 char *_kwnames
[] = { "self", NULL
};
7898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetShortDesc",_kwnames
,&_argo0
))
7901 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7902 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
7903 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetShortDesc. Expected _wxFileTypeInfo_p.");
7908 wxPy_BEGIN_ALLOW_THREADS
;
7909 const wxString
& _result_ref
= wxFileTypeInfo_GetShortDesc(_arg0
);
7910 _result
= (wxString
*) &_result_ref
;
7912 wxPy_END_ALLOW_THREADS
;
7914 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
7919 #define wxFileTypeInfo_GetDescription(_swigobj) (_swigobj->GetDescription())
7920 static PyObject
*_wrap_wxFileTypeInfo_GetDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7921 PyObject
* _resultobj
;
7923 wxFileTypeInfo
* _arg0
;
7924 PyObject
* _argo0
= 0;
7925 char *_kwnames
[] = { "self", NULL
};
7928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetDescription",_kwnames
,&_argo0
))
7931 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7932 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
7933 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetDescription. Expected _wxFileTypeInfo_p.");
7938 wxPy_BEGIN_ALLOW_THREADS
;
7939 const wxString
& _result_ref
= wxFileTypeInfo_GetDescription(_arg0
);
7940 _result
= (wxString
*) &_result_ref
;
7942 wxPy_END_ALLOW_THREADS
;
7944 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
7949 static PyObject
* wxFileTypeInfo_GetExtensions(wxFileTypeInfo
*self
) {
7950 wxArrayString
& arr
= (wxArrayString
&)self
->GetExtensions();
7951 return wxArrayString2PyList_helper(arr
);
7953 static PyObject
*_wrap_wxFileTypeInfo_GetExtensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7954 PyObject
* _resultobj
;
7956 wxFileTypeInfo
* _arg0
;
7957 PyObject
* _argo0
= 0;
7958 char *_kwnames
[] = { "self", NULL
};
7961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetExtensions",_kwnames
,&_argo0
))
7964 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7965 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
7966 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetExtensions. Expected _wxFileTypeInfo_p.");
7971 wxPy_BEGIN_ALLOW_THREADS
;
7972 _result
= (PyObject
*)wxFileTypeInfo_GetExtensions(_arg0
);
7974 wxPy_END_ALLOW_THREADS
;
7976 _resultobj
= _result
;
7981 #define wxFileTypeInfo_GetExtensionsCount(_swigobj) (_swigobj->GetExtensionsCount())
7982 static PyObject
*_wrap_wxFileTypeInfo_GetExtensionsCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7983 PyObject
* _resultobj
;
7985 wxFileTypeInfo
* _arg0
;
7986 PyObject
* _argo0
= 0;
7987 char *_kwnames
[] = { "self", NULL
};
7990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetExtensionsCount",_kwnames
,&_argo0
))
7993 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7994 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
7995 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetExtensionsCount. Expected _wxFileTypeInfo_p.");
8000 wxPy_BEGIN_ALLOW_THREADS
;
8001 _result
= (int )wxFileTypeInfo_GetExtensionsCount(_arg0
);
8003 wxPy_END_ALLOW_THREADS
;
8004 } _resultobj
= Py_BuildValue("i",_result
);
8008 #define wxFileTypeInfo_GetIconFile(_swigobj) (_swigobj->GetIconFile())
8009 static PyObject
*_wrap_wxFileTypeInfo_GetIconFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8010 PyObject
* _resultobj
;
8012 wxFileTypeInfo
* _arg0
;
8013 PyObject
* _argo0
= 0;
8014 char *_kwnames
[] = { "self", NULL
};
8017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetIconFile",_kwnames
,&_argo0
))
8020 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8021 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8022 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetIconFile. Expected _wxFileTypeInfo_p.");
8027 wxPy_BEGIN_ALLOW_THREADS
;
8028 const wxString
& _result_ref
= wxFileTypeInfo_GetIconFile(_arg0
);
8029 _result
= (wxString
*) &_result_ref
;
8031 wxPy_END_ALLOW_THREADS
;
8033 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8038 #define wxFileTypeInfo_GetIconIndex(_swigobj) (_swigobj->GetIconIndex())
8039 static PyObject
*_wrap_wxFileTypeInfo_GetIconIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8040 PyObject
* _resultobj
;
8042 wxFileTypeInfo
* _arg0
;
8043 PyObject
* _argo0
= 0;
8044 char *_kwnames
[] = { "self", NULL
};
8047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetIconIndex",_kwnames
,&_argo0
))
8050 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8051 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8052 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetIconIndex. Expected _wxFileTypeInfo_p.");
8057 wxPy_BEGIN_ALLOW_THREADS
;
8058 _result
= (int )wxFileTypeInfo_GetIconIndex(_arg0
);
8060 wxPy_END_ALLOW_THREADS
;
8061 } _resultobj
= Py_BuildValue("i",_result
);
8065 #define new_wxFileType(_swigarg0) (new wxFileType(_swigarg0))
8066 static PyObject
*_wrap_new_wxFileType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8067 PyObject
* _resultobj
;
8068 wxFileType
* _result
;
8069 wxFileTypeInfo
* _arg0
;
8070 PyObject
* _argo0
= 0;
8071 char *_kwnames
[] = { "ftInfo", NULL
};
8075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxFileType",_kwnames
,&_argo0
))
8078 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8079 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8080 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxFileType. Expected _wxFileTypeInfo_p.");
8085 wxPy_BEGIN_ALLOW_THREADS
;
8086 _result
= (wxFileType
*)new_wxFileType(*_arg0
);
8088 wxPy_END_ALLOW_THREADS
;
8090 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileType_p");
8091 _resultobj
= Py_BuildValue("s",_ptemp
);
8094 _resultobj
= Py_None
;
8099 static PyObject
* wxFileType_GetMimeType(wxFileType
*self
) {
8101 if (self
->GetMimeType(&str
))
8102 return PyString_FromString(str
.c_str());
8106 static PyObject
*_wrap_wxFileType_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8107 PyObject
* _resultobj
;
8110 PyObject
* _argo0
= 0;
8111 char *_kwnames
[] = { "self", NULL
};
8114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_GetMimeType",_kwnames
,&_argo0
))
8117 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8118 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8119 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetMimeType. Expected _wxFileType_p.");
8124 wxPy_BEGIN_ALLOW_THREADS
;
8125 _result
= (PyObject
*)wxFileType_GetMimeType(_arg0
);
8127 wxPy_END_ALLOW_THREADS
;
8129 _resultobj
= _result
;
8134 static PyObject
* wxFileType_GetMimeTypes(wxFileType
*self
) {
8136 if (self
->GetMimeTypes(arr
))
8137 return wxArrayString2PyList_helper(arr
);
8141 static PyObject
*_wrap_wxFileType_GetMimeTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8142 PyObject
* _resultobj
;
8145 PyObject
* _argo0
= 0;
8146 char *_kwnames
[] = { "self", NULL
};
8149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_GetMimeTypes",_kwnames
,&_argo0
))
8152 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8153 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8154 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetMimeTypes. Expected _wxFileType_p.");
8159 wxPy_BEGIN_ALLOW_THREADS
;
8160 _result
= (PyObject
*)wxFileType_GetMimeTypes(_arg0
);
8162 wxPy_END_ALLOW_THREADS
;
8164 _resultobj
= _result
;
8169 static PyObject
* wxFileType_GetExtensions(wxFileType
*self
) {
8171 if (self
->GetExtensions(arr
))
8172 return wxArrayString2PyList_helper(arr
);
8176 static PyObject
*_wrap_wxFileType_GetExtensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8177 PyObject
* _resultobj
;
8180 PyObject
* _argo0
= 0;
8181 char *_kwnames
[] = { "self", NULL
};
8184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_GetExtensions",_kwnames
,&_argo0
))
8187 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8188 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8189 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetExtensions. Expected _wxFileType_p.");
8194 wxPy_BEGIN_ALLOW_THREADS
;
8195 _result
= (PyObject
*)wxFileType_GetExtensions(_arg0
);
8197 wxPy_END_ALLOW_THREADS
;
8199 _resultobj
= _result
;
8204 static wxIcon
* wxFileType_GetIcon(wxFileType
*self
) {
8206 if (self
->GetIcon(&icon
))
8207 return new wxIcon(icon
);
8211 static PyObject
*_wrap_wxFileType_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8212 PyObject
* _resultobj
;
8215 PyObject
* _argo0
= 0;
8216 char *_kwnames
[] = { "self", NULL
};
8220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_GetIcon",_kwnames
,&_argo0
))
8223 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8224 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8225 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetIcon. Expected _wxFileType_p.");
8230 wxPy_BEGIN_ALLOW_THREADS
;
8231 _result
= (wxIcon
*)wxFileType_GetIcon(_arg0
);
8233 wxPy_END_ALLOW_THREADS
;
8235 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIcon_p");
8236 _resultobj
= Py_BuildValue("s",_ptemp
);
8239 _resultobj
= Py_None
;
8244 static PyObject
* wxFileType_GetIconInfo(wxFileType
*self
) {
8248 if (self
->GetIcon(&icon
, &iconFile
, &iconIndex
)) {
8249 wxPyTState
* state
= wxPyBeginBlockThreads();
8250 PyObject
* tuple
= PyTuple_New(3);
8251 PyTuple_SetItem(tuple
, 0, wxPyConstructObject(new wxIcon(icon
),
8253 PyTuple_SetItem(tuple
, 1, PyString_FromString(iconFile
.c_str()));
8254 PyTuple_SetItem(tuple
, 2, PyInt_FromLong(iconIndex
));
8255 wxPyEndBlockThreads(state
);
8261 static PyObject
*_wrap_wxFileType_GetIconInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8262 PyObject
* _resultobj
;
8265 PyObject
* _argo0
= 0;
8266 char *_kwnames
[] = { "self", NULL
};
8269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_GetIconInfo",_kwnames
,&_argo0
))
8272 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8273 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8274 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetIconInfo. Expected _wxFileType_p.");
8279 wxPy_BEGIN_ALLOW_THREADS
;
8280 _result
= (PyObject
*)wxFileType_GetIconInfo(_arg0
);
8282 wxPy_END_ALLOW_THREADS
;
8284 _resultobj
= _result
;
8289 static PyObject
* wxFileType_GetDescription(wxFileType
*self
) {
8291 if (self
->GetDescription(&str
))
8292 return PyString_FromString(str
.c_str());
8296 static PyObject
*_wrap_wxFileType_GetDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8297 PyObject
* _resultobj
;
8300 PyObject
* _argo0
= 0;
8301 char *_kwnames
[] = { "self", NULL
};
8304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_GetDescription",_kwnames
,&_argo0
))
8307 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8308 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8309 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetDescription. Expected _wxFileType_p.");
8314 wxPy_BEGIN_ALLOW_THREADS
;
8315 _result
= (PyObject
*)wxFileType_GetDescription(_arg0
);
8317 wxPy_END_ALLOW_THREADS
;
8319 _resultobj
= _result
;
8324 static PyObject
* wxFileType_GetOpenCommand(wxFileType
*self
,const wxString
& filename
,const wxString
& mimetype
) {
8326 if (self
->GetOpenCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
8327 return PyString_FromString(str
.c_str());
8331 static PyObject
*_wrap_wxFileType_GetOpenCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8332 PyObject
* _resultobj
;
8336 wxString
* _arg2
= (wxString
*) &wxPyEmptyStr
;
8337 PyObject
* _argo0
= 0;
8338 PyObject
* _obj1
= 0;
8339 PyObject
* _obj2
= 0;
8340 char *_kwnames
[] = { "self","filename","mimetype", NULL
};
8343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxFileType_GetOpenCommand",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
8346 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8347 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8348 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetOpenCommand. Expected _wxFileType_p.");
8353 #if PYTHON_API_VERSION >= 1009
8354 char* tmpPtr
; int tmpSize
;
8355 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
8356 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8359 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
8361 _arg1
= new wxString(tmpPtr
, tmpSize
);
8363 if (!PyString_Check(_obj1
)) {
8364 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8367 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
8372 #if PYTHON_API_VERSION >= 1009
8373 char* tmpPtr
; int tmpSize
;
8374 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
8375 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8378 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
8380 _arg2
= new wxString(tmpPtr
, tmpSize
);
8382 if (!PyString_Check(_obj2
)) {
8383 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8386 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
8390 wxPy_BEGIN_ALLOW_THREADS
;
8391 _result
= (PyObject
*)wxFileType_GetOpenCommand(_arg0
,*_arg1
,*_arg2
);
8393 wxPy_END_ALLOW_THREADS
;
8395 _resultobj
= _result
;
8408 static PyObject
* wxFileType_GetPrintCommand(wxFileType
*self
,const wxString
& filename
,const wxString
& mimetype
) {
8410 if (self
->GetPrintCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
8411 return PyString_FromString(str
.c_str());
8415 static PyObject
*_wrap_wxFileType_GetPrintCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8416 PyObject
* _resultobj
;
8420 wxString
* _arg2
= (wxString
*) &wxPyEmptyStr
;
8421 PyObject
* _argo0
= 0;
8422 PyObject
* _obj1
= 0;
8423 PyObject
* _obj2
= 0;
8424 char *_kwnames
[] = { "self","filename","mimetype", NULL
};
8427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxFileType_GetPrintCommand",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
8430 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8431 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8432 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetPrintCommand. Expected _wxFileType_p.");
8437 #if PYTHON_API_VERSION >= 1009
8438 char* tmpPtr
; int tmpSize
;
8439 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
8440 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8443 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
8445 _arg1
= new wxString(tmpPtr
, tmpSize
);
8447 if (!PyString_Check(_obj1
)) {
8448 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8451 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
8456 #if PYTHON_API_VERSION >= 1009
8457 char* tmpPtr
; int tmpSize
;
8458 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
8459 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8462 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
8464 _arg2
= new wxString(tmpPtr
, tmpSize
);
8466 if (!PyString_Check(_obj2
)) {
8467 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8470 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
8474 wxPy_BEGIN_ALLOW_THREADS
;
8475 _result
= (PyObject
*)wxFileType_GetPrintCommand(_arg0
,*_arg1
,*_arg2
);
8477 wxPy_END_ALLOW_THREADS
;
8479 _resultobj
= _result
;
8492 static PyObject
* wxFileType_GetAllCommands(wxFileType
*self
,const wxString
& filename
,const wxString
& mimetype
) {
8493 wxArrayString verbs
;
8494 wxArrayString commands
;
8495 if (self
->GetAllCommands(&verbs
, &commands
,
8496 wxFileType::MessageParameters(filename
, mimetype
))) {
8497 wxPyTState
* state
= wxPyBeginBlockThreads();
8498 PyObject
* tuple
= PyTuple_New(2);
8499 PyTuple_SetItem(tuple
, 0, wxArrayString2PyList_helper(verbs
));
8500 PyTuple_SetItem(tuple
, 1, wxArrayString2PyList_helper(commands
));
8501 wxPyEndBlockThreads(state
);
8507 static PyObject
*_wrap_wxFileType_GetAllCommands(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8508 PyObject
* _resultobj
;
8512 wxString
* _arg2
= (wxString
*) &wxPyEmptyStr
;
8513 PyObject
* _argo0
= 0;
8514 PyObject
* _obj1
= 0;
8515 PyObject
* _obj2
= 0;
8516 char *_kwnames
[] = { "self","filename","mimetype", NULL
};
8519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxFileType_GetAllCommands",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
8522 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8523 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8524 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetAllCommands. Expected _wxFileType_p.");
8529 #if PYTHON_API_VERSION >= 1009
8530 char* tmpPtr
; int tmpSize
;
8531 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
8532 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8535 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
8537 _arg1
= new wxString(tmpPtr
, tmpSize
);
8539 if (!PyString_Check(_obj1
)) {
8540 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8543 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
8548 #if PYTHON_API_VERSION >= 1009
8549 char* tmpPtr
; int tmpSize
;
8550 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
8551 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8554 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
8556 _arg2
= new wxString(tmpPtr
, tmpSize
);
8558 if (!PyString_Check(_obj2
)) {
8559 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8562 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
8566 wxPy_BEGIN_ALLOW_THREADS
;
8567 _result
= (PyObject
*)wxFileType_GetAllCommands(_arg0
,*_arg1
,*_arg2
);
8569 wxPy_END_ALLOW_THREADS
;
8571 _resultobj
= _result
;
8584 #define wxFileType_SetCommand(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCommand(_swigarg0,_swigarg1,_swigarg2))
8585 static PyObject
*_wrap_wxFileType_SetCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8586 PyObject
* _resultobj
;
8591 bool _arg3
= (bool ) TRUE
;
8592 PyObject
* _argo0
= 0;
8593 PyObject
* _obj1
= 0;
8594 PyObject
* _obj2
= 0;
8595 int tempbool3
= (int) TRUE
;
8596 char *_kwnames
[] = { "self","cmd","verb","overwriteprompt", NULL
};
8599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|i:wxFileType_SetCommand",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&tempbool3
))
8602 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8603 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8604 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_SetCommand. Expected _wxFileType_p.");
8609 #if PYTHON_API_VERSION >= 1009
8610 char* tmpPtr
; int tmpSize
;
8611 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
8612 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8615 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
8617 _arg1
= new wxString(tmpPtr
, tmpSize
);
8619 if (!PyString_Check(_obj1
)) {
8620 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8623 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
8627 #if PYTHON_API_VERSION >= 1009
8628 char* tmpPtr
; int tmpSize
;
8629 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
8630 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8633 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
8635 _arg2
= new wxString(tmpPtr
, tmpSize
);
8637 if (!PyString_Check(_obj2
)) {
8638 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8641 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
8644 _arg3
= (bool ) tempbool3
;
8646 wxPy_BEGIN_ALLOW_THREADS
;
8647 _result
= (bool )wxFileType_SetCommand(_arg0
,*_arg1
,*_arg2
,_arg3
);
8649 wxPy_END_ALLOW_THREADS
;
8650 } _resultobj
= Py_BuildValue("i",_result
);
8662 #define wxFileType_SetDefaultIcon(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDefaultIcon(_swigarg0,_swigarg1))
8663 static PyObject
*_wrap_wxFileType_SetDefaultIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8664 PyObject
* _resultobj
;
8667 wxString
* _arg1
= (wxString
*) &wxEmptyString
;
8668 int _arg2
= (int ) 0;
8669 PyObject
* _argo0
= 0;
8670 PyObject
* _obj1
= 0;
8671 char *_kwnames
[] = { "self","cmd","index", NULL
};
8674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|Oi:wxFileType_SetDefaultIcon",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
8677 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8678 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8679 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_SetDefaultIcon. Expected _wxFileType_p.");
8685 #if PYTHON_API_VERSION >= 1009
8686 char* tmpPtr
; int tmpSize
;
8687 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
8688 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8691 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
8693 _arg1
= new wxString(tmpPtr
, tmpSize
);
8695 if (!PyString_Check(_obj1
)) {
8696 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8699 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
8703 wxPy_BEGIN_ALLOW_THREADS
;
8704 _result
= (bool )wxFileType_SetDefaultIcon(_arg0
,*_arg1
,_arg2
);
8706 wxPy_END_ALLOW_THREADS
;
8707 } _resultobj
= Py_BuildValue("i",_result
);
8715 #define wxFileType_Unassociate(_swigobj) (_swigobj->Unassociate())
8716 static PyObject
*_wrap_wxFileType_Unassociate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8717 PyObject
* _resultobj
;
8720 PyObject
* _argo0
= 0;
8721 char *_kwnames
[] = { "self", NULL
};
8724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_Unassociate",_kwnames
,&_argo0
))
8727 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8728 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8729 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_Unassociate. Expected _wxFileType_p.");
8734 wxPy_BEGIN_ALLOW_THREADS
;
8735 _result
= (bool )wxFileType_Unassociate(_arg0
);
8737 wxPy_END_ALLOW_THREADS
;
8738 } _resultobj
= Py_BuildValue("i",_result
);
8742 static PyObject
*_wrap_wxFileType_ExpandCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8743 PyObject
* _resultobj
;
8746 wxFileType::MessageParameters
* _arg1
;
8747 PyObject
* _obj0
= 0;
8748 PyObject
* _argo1
= 0;
8749 char *_kwnames
[] = { "command","params", NULL
};
8752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileType_ExpandCommand",_kwnames
,&_obj0
,&_argo1
))
8755 #if PYTHON_API_VERSION >= 1009
8756 char* tmpPtr
; int tmpSize
;
8757 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
8758 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8761 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
8763 _arg0
= new wxString(tmpPtr
, tmpSize
);
8765 if (!PyString_Check(_obj0
)) {
8766 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8769 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
8773 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8774 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFileType::MessageParameters_p")) {
8775 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFileType_ExpandCommand. Expected _wxFileType::MessageParameters_p.");
8780 wxPy_BEGIN_ALLOW_THREADS
;
8781 _result
= new wxString (wxFileType::ExpandCommand(*_arg0
,*_arg1
));
8783 wxPy_END_ALLOW_THREADS
;
8785 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8797 #define delete_wxFileType(_swigobj) (delete _swigobj)
8798 static PyObject
*_wrap_delete_wxFileType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8799 PyObject
* _resultobj
;
8801 PyObject
* _argo0
= 0;
8802 char *_kwnames
[] = { "self", NULL
};
8805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxFileType",_kwnames
,&_argo0
))
8808 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8809 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8810 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxFileType. Expected _wxFileType_p.");
8815 wxPy_BEGIN_ALLOW_THREADS
;
8816 delete_wxFileType(_arg0
);
8818 wxPy_END_ALLOW_THREADS
;
8819 } Py_INCREF(Py_None
);
8820 _resultobj
= Py_None
;
8824 static PyObject
*_wrap_wxMimeTypesManager_IsOfType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8825 PyObject
* _resultobj
;
8829 PyObject
* _obj0
= 0;
8830 PyObject
* _obj1
= 0;
8831 char *_kwnames
[] = { "mimeType","wildcard", NULL
};
8834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_IsOfType",_kwnames
,&_obj0
,&_obj1
))
8837 #if PYTHON_API_VERSION >= 1009
8838 char* tmpPtr
; int tmpSize
;
8839 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
8840 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8843 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
8845 _arg0
= new wxString(tmpPtr
, tmpSize
);
8847 if (!PyString_Check(_obj0
)) {
8848 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8851 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
8855 #if PYTHON_API_VERSION >= 1009
8856 char* tmpPtr
; int tmpSize
;
8857 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
8858 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8861 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
8863 _arg1
= new wxString(tmpPtr
, tmpSize
);
8865 if (!PyString_Check(_obj1
)) {
8866 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8869 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
8873 wxPy_BEGIN_ALLOW_THREADS
;
8874 _result
= (bool )wxMimeTypesManager::IsOfType(*_arg0
,*_arg1
);
8876 wxPy_END_ALLOW_THREADS
;
8877 } _resultobj
= Py_BuildValue("i",_result
);
8889 #define new_wxMimeTypesManager() (new wxMimeTypesManager())
8890 static PyObject
*_wrap_new_wxMimeTypesManager(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8891 PyObject
* _resultobj
;
8892 wxMimeTypesManager
* _result
;
8893 char *_kwnames
[] = { NULL
};
8897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxMimeTypesManager",_kwnames
))
8900 wxPy_BEGIN_ALLOW_THREADS
;
8901 _result
= (wxMimeTypesManager
*)new_wxMimeTypesManager();
8903 wxPy_END_ALLOW_THREADS
;
8905 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMimeTypesManager_p");
8906 _resultobj
= Py_BuildValue("s",_ptemp
);
8909 _resultobj
= Py_None
;
8914 #define wxMimeTypesManager_Initialize(_swigobj,_swigarg0,_swigarg1) (_swigobj->Initialize(_swigarg0,_swigarg1))
8915 static PyObject
*_wrap_wxMimeTypesManager_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8916 PyObject
* _resultobj
;
8917 wxMimeTypesManager
* _arg0
;
8918 int _arg1
= (int ) (wxMAILCAP_STANDARD
);
8919 wxString
* _arg2
= (wxString
*) &wxEmptyString
;
8920 PyObject
* _argo0
= 0;
8921 PyObject
* _obj2
= 0;
8922 char *_kwnames
[] = { "self","mailcapStyle","extraDir", NULL
};
8925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iO:wxMimeTypesManager_Initialize",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
8928 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8929 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
8930 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_Initialize. Expected _wxMimeTypesManager_p.");
8936 #if PYTHON_API_VERSION >= 1009
8937 char* tmpPtr
; int tmpSize
;
8938 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
8939 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8942 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
8944 _arg2
= new wxString(tmpPtr
, tmpSize
);
8946 if (!PyString_Check(_obj2
)) {
8947 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8950 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
8954 wxPy_BEGIN_ALLOW_THREADS
;
8955 wxMimeTypesManager_Initialize(_arg0
,_arg1
,*_arg2
);
8957 wxPy_END_ALLOW_THREADS
;
8958 } Py_INCREF(Py_None
);
8959 _resultobj
= Py_None
;
8967 #define wxMimeTypesManager_ClearData(_swigobj) (_swigobj->ClearData())
8968 static PyObject
*_wrap_wxMimeTypesManager_ClearData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8969 PyObject
* _resultobj
;
8970 wxMimeTypesManager
* _arg0
;
8971 PyObject
* _argo0
= 0;
8972 char *_kwnames
[] = { "self", NULL
};
8975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMimeTypesManager_ClearData",_kwnames
,&_argo0
))
8978 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8979 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
8980 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_ClearData. Expected _wxMimeTypesManager_p.");
8985 wxPy_BEGIN_ALLOW_THREADS
;
8986 wxMimeTypesManager_ClearData(_arg0
);
8988 wxPy_END_ALLOW_THREADS
;
8989 } Py_INCREF(Py_None
);
8990 _resultobj
= Py_None
;
8994 #define wxMimeTypesManager_GetFileTypeFromExtension(_swigobj,_swigarg0) (_swigobj->GetFileTypeFromExtension(_swigarg0))
8995 static PyObject
*_wrap_wxMimeTypesManager_GetFileTypeFromExtension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8996 PyObject
* _resultobj
;
8997 wxFileType
* _result
;
8998 wxMimeTypesManager
* _arg0
;
9000 PyObject
* _argo0
= 0;
9001 PyObject
* _obj1
= 0;
9002 char *_kwnames
[] = { "self","ext", NULL
};
9006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_GetFileTypeFromExtension",_kwnames
,&_argo0
,&_obj1
))
9009 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9010 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9011 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_GetFileTypeFromExtension. Expected _wxMimeTypesManager_p.");
9016 #if PYTHON_API_VERSION >= 1009
9017 char* tmpPtr
; int tmpSize
;
9018 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
9019 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9022 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
9024 _arg1
= new wxString(tmpPtr
, tmpSize
);
9026 if (!PyString_Check(_obj1
)) {
9027 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9030 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
9034 wxPy_BEGIN_ALLOW_THREADS
;
9035 _result
= (wxFileType
*)wxMimeTypesManager_GetFileTypeFromExtension(_arg0
,*_arg1
);
9037 wxPy_END_ALLOW_THREADS
;
9039 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileType_p");
9040 _resultobj
= Py_BuildValue("s",_ptemp
);
9043 _resultobj
= Py_None
;
9052 #define wxMimeTypesManager_GetFileTypeFromMimeType(_swigobj,_swigarg0) (_swigobj->GetFileTypeFromMimeType(_swigarg0))
9053 static PyObject
*_wrap_wxMimeTypesManager_GetFileTypeFromMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9054 PyObject
* _resultobj
;
9055 wxFileType
* _result
;
9056 wxMimeTypesManager
* _arg0
;
9058 PyObject
* _argo0
= 0;
9059 PyObject
* _obj1
= 0;
9060 char *_kwnames
[] = { "self","mimeType", NULL
};
9064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_GetFileTypeFromMimeType",_kwnames
,&_argo0
,&_obj1
))
9067 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9068 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9069 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_GetFileTypeFromMimeType. Expected _wxMimeTypesManager_p.");
9074 #if PYTHON_API_VERSION >= 1009
9075 char* tmpPtr
; int tmpSize
;
9076 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
9077 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9080 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
9082 _arg1
= new wxString(tmpPtr
, tmpSize
);
9084 if (!PyString_Check(_obj1
)) {
9085 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9088 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
9092 wxPy_BEGIN_ALLOW_THREADS
;
9093 _result
= (wxFileType
*)wxMimeTypesManager_GetFileTypeFromMimeType(_arg0
,*_arg1
);
9095 wxPy_END_ALLOW_THREADS
;
9097 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileType_p");
9098 _resultobj
= Py_BuildValue("s",_ptemp
);
9101 _resultobj
= Py_None
;
9110 #define wxMimeTypesManager_ReadMailcap(_swigobj,_swigarg0,_swigarg1) (_swigobj->ReadMailcap(_swigarg0,_swigarg1))
9111 static PyObject
*_wrap_wxMimeTypesManager_ReadMailcap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9112 PyObject
* _resultobj
;
9114 wxMimeTypesManager
* _arg0
;
9116 bool _arg2
= (bool ) FALSE
;
9117 PyObject
* _argo0
= 0;
9118 PyObject
* _obj1
= 0;
9119 int tempbool2
= (int) FALSE
;
9120 char *_kwnames
[] = { "self","filename","fallback", NULL
};
9123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxMimeTypesManager_ReadMailcap",_kwnames
,&_argo0
,&_obj1
,&tempbool2
))
9126 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9127 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9128 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_ReadMailcap. Expected _wxMimeTypesManager_p.");
9133 #if PYTHON_API_VERSION >= 1009
9134 char* tmpPtr
; int tmpSize
;
9135 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
9136 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9139 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
9141 _arg1
= new wxString(tmpPtr
, tmpSize
);
9143 if (!PyString_Check(_obj1
)) {
9144 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9147 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
9150 _arg2
= (bool ) tempbool2
;
9152 wxPy_BEGIN_ALLOW_THREADS
;
9153 _result
= (bool )wxMimeTypesManager_ReadMailcap(_arg0
,*_arg1
,_arg2
);
9155 wxPy_END_ALLOW_THREADS
;
9156 } _resultobj
= Py_BuildValue("i",_result
);
9164 #define wxMimeTypesManager_ReadMimeTypes(_swigobj,_swigarg0) (_swigobj->ReadMimeTypes(_swigarg0))
9165 static PyObject
*_wrap_wxMimeTypesManager_ReadMimeTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9166 PyObject
* _resultobj
;
9168 wxMimeTypesManager
* _arg0
;
9170 PyObject
* _argo0
= 0;
9171 PyObject
* _obj1
= 0;
9172 char *_kwnames
[] = { "self","filename", NULL
};
9175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_ReadMimeTypes",_kwnames
,&_argo0
,&_obj1
))
9178 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9179 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9180 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_ReadMimeTypes. Expected _wxMimeTypesManager_p.");
9185 #if PYTHON_API_VERSION >= 1009
9186 char* tmpPtr
; int tmpSize
;
9187 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
9188 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9191 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
9193 _arg1
= new wxString(tmpPtr
, tmpSize
);
9195 if (!PyString_Check(_obj1
)) {
9196 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9199 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
9203 wxPy_BEGIN_ALLOW_THREADS
;
9204 _result
= (bool )wxMimeTypesManager_ReadMimeTypes(_arg0
,*_arg1
);
9206 wxPy_END_ALLOW_THREADS
;
9207 } _resultobj
= Py_BuildValue("i",_result
);
9215 static PyObject
* wxMimeTypesManager_EnumAllFileTypes(wxMimeTypesManager
*self
) {
9217 self
->EnumAllFileTypes(arr
);
9218 return wxArrayString2PyList_helper(arr
);
9220 static PyObject
*_wrap_wxMimeTypesManager_EnumAllFileTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9221 PyObject
* _resultobj
;
9223 wxMimeTypesManager
* _arg0
;
9224 PyObject
* _argo0
= 0;
9225 char *_kwnames
[] = { "self", NULL
};
9228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMimeTypesManager_EnumAllFileTypes",_kwnames
,&_argo0
))
9231 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9232 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9233 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_EnumAllFileTypes. Expected _wxMimeTypesManager_p.");
9238 wxPy_BEGIN_ALLOW_THREADS
;
9239 _result
= (PyObject
*)wxMimeTypesManager_EnumAllFileTypes(_arg0
);
9241 wxPy_END_ALLOW_THREADS
;
9243 _resultobj
= _result
;
9248 #define wxMimeTypesManager_AddFallback(_swigobj,_swigarg0) (_swigobj->AddFallback(_swigarg0))
9249 static PyObject
*_wrap_wxMimeTypesManager_AddFallback(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9250 PyObject
* _resultobj
;
9251 wxMimeTypesManager
* _arg0
;
9252 wxFileTypeInfo
* _arg1
;
9253 PyObject
* _argo0
= 0;
9254 PyObject
* _argo1
= 0;
9255 char *_kwnames
[] = { "self","ft", NULL
};
9258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_AddFallback",_kwnames
,&_argo0
,&_argo1
))
9261 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9262 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9263 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_AddFallback. Expected _wxMimeTypesManager_p.");
9268 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9269 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFileTypeInfo_p")) {
9270 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMimeTypesManager_AddFallback. Expected _wxFileTypeInfo_p.");
9275 wxPy_BEGIN_ALLOW_THREADS
;
9276 wxMimeTypesManager_AddFallback(_arg0
,*_arg1
);
9278 wxPy_END_ALLOW_THREADS
;
9279 } Py_INCREF(Py_None
);
9280 _resultobj
= Py_None
;
9284 #define wxMimeTypesManager_Associate(_swigobj,_swigarg0) (_swigobj->Associate(_swigarg0))
9285 static PyObject
*_wrap_wxMimeTypesManager_Associate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9286 PyObject
* _resultobj
;
9287 wxFileType
* _result
;
9288 wxMimeTypesManager
* _arg0
;
9289 wxFileTypeInfo
* _arg1
;
9290 PyObject
* _argo0
= 0;
9291 PyObject
* _argo1
= 0;
9292 char *_kwnames
[] = { "self","ftInfo", NULL
};
9296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_Associate",_kwnames
,&_argo0
,&_argo1
))
9299 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9300 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9301 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_Associate. Expected _wxMimeTypesManager_p.");
9306 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9307 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFileTypeInfo_p")) {
9308 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMimeTypesManager_Associate. Expected _wxFileTypeInfo_p.");
9313 wxPy_BEGIN_ALLOW_THREADS
;
9314 _result
= (wxFileType
*)wxMimeTypesManager_Associate(_arg0
,*_arg1
);
9316 wxPy_END_ALLOW_THREADS
;
9318 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileType_p");
9319 _resultobj
= Py_BuildValue("s",_ptemp
);
9322 _resultobj
= Py_None
;
9327 #define wxMimeTypesManager_Unassociate(_swigobj,_swigarg0) (_swigobj->Unassociate(_swigarg0))
9328 static PyObject
*_wrap_wxMimeTypesManager_Unassociate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9329 PyObject
* _resultobj
;
9331 wxMimeTypesManager
* _arg0
;
9333 PyObject
* _argo0
= 0;
9334 PyObject
* _argo1
= 0;
9335 char *_kwnames
[] = { "self","ft", NULL
};
9338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_Unassociate",_kwnames
,&_argo0
,&_argo1
))
9341 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9342 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9343 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_Unassociate. Expected _wxMimeTypesManager_p.");
9348 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9349 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFileType_p")) {
9350 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMimeTypesManager_Unassociate. Expected _wxFileType_p.");
9355 wxPy_BEGIN_ALLOW_THREADS
;
9356 _result
= (bool )wxMimeTypesManager_Unassociate(_arg0
,_arg1
);
9358 wxPy_END_ALLOW_THREADS
;
9359 } _resultobj
= Py_BuildValue("i",_result
);
9363 #define delete_wxMimeTypesManager(_swigobj) (delete _swigobj)
9364 static PyObject
*_wrap_delete_wxMimeTypesManager(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9365 PyObject
* _resultobj
;
9366 wxMimeTypesManager
* _arg0
;
9367 PyObject
* _argo0
= 0;
9368 char *_kwnames
[] = { "self", NULL
};
9371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxMimeTypesManager",_kwnames
,&_argo0
))
9374 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9375 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9376 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxMimeTypesManager. Expected _wxMimeTypesManager_p.");
9381 wxPy_BEGIN_ALLOW_THREADS
;
9382 delete_wxMimeTypesManager(_arg0
);
9384 wxPy_END_ALLOW_THREADS
;
9385 } Py_INCREF(Py_None
);
9386 _resultobj
= Py_None
;
9390 static PyMethodDef misc2cMethods
[] = {
9391 { "delete_wxMimeTypesManager", (PyCFunction
) _wrap_delete_wxMimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
},
9392 { "wxMimeTypesManager_Unassociate", (PyCFunction
) _wrap_wxMimeTypesManager_Unassociate
, METH_VARARGS
| METH_KEYWORDS
},
9393 { "wxMimeTypesManager_Associate", (PyCFunction
) _wrap_wxMimeTypesManager_Associate
, METH_VARARGS
| METH_KEYWORDS
},
9394 { "wxMimeTypesManager_AddFallback", (PyCFunction
) _wrap_wxMimeTypesManager_AddFallback
, METH_VARARGS
| METH_KEYWORDS
},
9395 { "wxMimeTypesManager_EnumAllFileTypes", (PyCFunction
) _wrap_wxMimeTypesManager_EnumAllFileTypes
, METH_VARARGS
| METH_KEYWORDS
},
9396 { "wxMimeTypesManager_ReadMimeTypes", (PyCFunction
) _wrap_wxMimeTypesManager_ReadMimeTypes
, METH_VARARGS
| METH_KEYWORDS
},
9397 { "wxMimeTypesManager_ReadMailcap", (PyCFunction
) _wrap_wxMimeTypesManager_ReadMailcap
, METH_VARARGS
| METH_KEYWORDS
},
9398 { "wxMimeTypesManager_GetFileTypeFromMimeType", (PyCFunction
) _wrap_wxMimeTypesManager_GetFileTypeFromMimeType
, METH_VARARGS
| METH_KEYWORDS
},
9399 { "wxMimeTypesManager_GetFileTypeFromExtension", (PyCFunction
) _wrap_wxMimeTypesManager_GetFileTypeFromExtension
, METH_VARARGS
| METH_KEYWORDS
},
9400 { "wxMimeTypesManager_ClearData", (PyCFunction
) _wrap_wxMimeTypesManager_ClearData
, METH_VARARGS
| METH_KEYWORDS
},
9401 { "wxMimeTypesManager_Initialize", (PyCFunction
) _wrap_wxMimeTypesManager_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
9402 { "new_wxMimeTypesManager", (PyCFunction
) _wrap_new_wxMimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
},
9403 { "wxMimeTypesManager_IsOfType", (PyCFunction
) _wrap_wxMimeTypesManager_IsOfType
, METH_VARARGS
| METH_KEYWORDS
},
9404 { "delete_wxFileType", (PyCFunction
) _wrap_delete_wxFileType
, METH_VARARGS
| METH_KEYWORDS
},
9405 { "wxFileType_ExpandCommand", (PyCFunction
) _wrap_wxFileType_ExpandCommand
, METH_VARARGS
| METH_KEYWORDS
},
9406 { "wxFileType_Unassociate", (PyCFunction
) _wrap_wxFileType_Unassociate
, METH_VARARGS
| METH_KEYWORDS
},
9407 { "wxFileType_SetDefaultIcon", (PyCFunction
) _wrap_wxFileType_SetDefaultIcon
, METH_VARARGS
| METH_KEYWORDS
},
9408 { "wxFileType_SetCommand", (PyCFunction
) _wrap_wxFileType_SetCommand
, METH_VARARGS
| METH_KEYWORDS
},
9409 { "wxFileType_GetAllCommands", (PyCFunction
) _wrap_wxFileType_GetAllCommands
, METH_VARARGS
| METH_KEYWORDS
},
9410 { "wxFileType_GetPrintCommand", (PyCFunction
) _wrap_wxFileType_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
},
9411 { "wxFileType_GetOpenCommand", (PyCFunction
) _wrap_wxFileType_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
},
9412 { "wxFileType_GetDescription", (PyCFunction
) _wrap_wxFileType_GetDescription
, METH_VARARGS
| METH_KEYWORDS
},
9413 { "wxFileType_GetIconInfo", (PyCFunction
) _wrap_wxFileType_GetIconInfo
, METH_VARARGS
| METH_KEYWORDS
},
9414 { "wxFileType_GetIcon", (PyCFunction
) _wrap_wxFileType_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
9415 { "wxFileType_GetExtensions", (PyCFunction
) _wrap_wxFileType_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
},
9416 { "wxFileType_GetMimeTypes", (PyCFunction
) _wrap_wxFileType_GetMimeTypes
, METH_VARARGS
| METH_KEYWORDS
},
9417 { "wxFileType_GetMimeType", (PyCFunction
) _wrap_wxFileType_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
9418 { "new_wxFileType", (PyCFunction
) _wrap_new_wxFileType
, METH_VARARGS
| METH_KEYWORDS
},
9419 { "wxFileTypeInfo_GetIconIndex", (PyCFunction
) _wrap_wxFileTypeInfo_GetIconIndex
, METH_VARARGS
| METH_KEYWORDS
},
9420 { "wxFileTypeInfo_GetIconFile", (PyCFunction
) _wrap_wxFileTypeInfo_GetIconFile
, METH_VARARGS
| METH_KEYWORDS
},
9421 { "wxFileTypeInfo_GetExtensionsCount", (PyCFunction
) _wrap_wxFileTypeInfo_GetExtensionsCount
, METH_VARARGS
| METH_KEYWORDS
},
9422 { "wxFileTypeInfo_GetExtensions", (PyCFunction
) _wrap_wxFileTypeInfo_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
},
9423 { "wxFileTypeInfo_GetDescription", (PyCFunction
) _wrap_wxFileTypeInfo_GetDescription
, METH_VARARGS
| METH_KEYWORDS
},
9424 { "wxFileTypeInfo_GetShortDesc", (PyCFunction
) _wrap_wxFileTypeInfo_GetShortDesc
, METH_VARARGS
| METH_KEYWORDS
},
9425 { "wxFileTypeInfo_GetPrintCommand", (PyCFunction
) _wrap_wxFileTypeInfo_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
},
9426 { "wxFileTypeInfo_GetOpenCommand", (PyCFunction
) _wrap_wxFileTypeInfo_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
},
9427 { "wxFileTypeInfo_GetMimeType", (PyCFunction
) _wrap_wxFileTypeInfo_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
9428 { "wxFileTypeInfo_SetShortDesc", (PyCFunction
) _wrap_wxFileTypeInfo_SetShortDesc
, METH_VARARGS
| METH_KEYWORDS
},
9429 { "wxFileTypeInfo_SetIcon", (PyCFunction
) _wrap_wxFileTypeInfo_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
9430 { "wxFileTypeInfo_IsValid", (PyCFunction
) _wrap_wxFileTypeInfo_IsValid
, METH_VARARGS
| METH_KEYWORDS
},
9431 { "new_wxNullFileTypeInfo", (PyCFunction
) _wrap_new_wxNullFileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
},
9432 { "new_wxFileTypeInfoSequence", (PyCFunction
) _wrap_new_wxFileTypeInfoSequence
, METH_VARARGS
| METH_KEYWORDS
},
9433 { "new_wxFileTypeInfo", (PyCFunction
) _wrap_new_wxFileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
},
9434 { "wxWave_Play", (PyCFunction
) _wrap_wxWave_Play
, METH_VARARGS
| METH_KEYWORDS
},
9435 { "wxWave_IsOk", (PyCFunction
) _wrap_wxWave_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
9436 { "delete_wxWave", (PyCFunction
) _wrap_delete_wxWave
, METH_VARARGS
| METH_KEYWORDS
},
9437 { "new_wxWave", (PyCFunction
) _wrap_new_wxWave
, METH_VARARGS
| METH_KEYWORDS
},
9438 { "wxJoystick_ReleaseCapture", (PyCFunction
) _wrap_wxJoystick_ReleaseCapture
, METH_VARARGS
| METH_KEYWORDS
},
9439 { "wxJoystick_SetCapture", (PyCFunction
) _wrap_wxJoystick_SetCapture
, METH_VARARGS
| METH_KEYWORDS
},
9440 { "wxJoystick_HasPOVCTS", (PyCFunction
) _wrap_wxJoystick_HasPOVCTS
, METH_VARARGS
| METH_KEYWORDS
},
9441 { "wxJoystick_HasPOV4Dir", (PyCFunction
) _wrap_wxJoystick_HasPOV4Dir
, METH_VARARGS
| METH_KEYWORDS
},
9442 { "wxJoystick_HasPOV", (PyCFunction
) _wrap_wxJoystick_HasPOV
, METH_VARARGS
| METH_KEYWORDS
},
9443 { "wxJoystick_HasV", (PyCFunction
) _wrap_wxJoystick_HasV
, METH_VARARGS
| METH_KEYWORDS
},
9444 { "wxJoystick_HasU", (PyCFunction
) _wrap_wxJoystick_HasU
, METH_VARARGS
| METH_KEYWORDS
},
9445 { "wxJoystick_HasZ", (PyCFunction
) _wrap_wxJoystick_HasZ
, METH_VARARGS
| METH_KEYWORDS
},
9446 { "wxJoystick_HasRudder", (PyCFunction
) _wrap_wxJoystick_HasRudder
, METH_VARARGS
| METH_KEYWORDS
},
9447 { "wxJoystick_GetVMax", (PyCFunction
) _wrap_wxJoystick_GetVMax
, METH_VARARGS
| METH_KEYWORDS
},
9448 { "wxJoystick_GetVMin", (PyCFunction
) _wrap_wxJoystick_GetVMin
, METH_VARARGS
| METH_KEYWORDS
},
9449 { "wxJoystick_GetUMax", (PyCFunction
) _wrap_wxJoystick_GetUMax
, METH_VARARGS
| METH_KEYWORDS
},
9450 { "wxJoystick_GetUMin", (PyCFunction
) _wrap_wxJoystick_GetUMin
, METH_VARARGS
| METH_KEYWORDS
},
9451 { "wxJoystick_GetRudderMax", (PyCFunction
) _wrap_wxJoystick_GetRudderMax
, METH_VARARGS
| METH_KEYWORDS
},
9452 { "wxJoystick_GetRudderMin", (PyCFunction
) _wrap_wxJoystick_GetRudderMin
, METH_VARARGS
| METH_KEYWORDS
},
9453 { "wxJoystick_GetPollingMax", (PyCFunction
) _wrap_wxJoystick_GetPollingMax
, METH_VARARGS
| METH_KEYWORDS
},
9454 { "wxJoystick_GetPollingMin", (PyCFunction
) _wrap_wxJoystick_GetPollingMin
, METH_VARARGS
| METH_KEYWORDS
},
9455 { "wxJoystick_GetMaxAxes", (PyCFunction
) _wrap_wxJoystick_GetMaxAxes
, METH_VARARGS
| METH_KEYWORDS
},
9456 { "wxJoystick_GetMaxButtons", (PyCFunction
) _wrap_wxJoystick_GetMaxButtons
, METH_VARARGS
| METH_KEYWORDS
},
9457 { "wxJoystick_GetNumberAxes", (PyCFunction
) _wrap_wxJoystick_GetNumberAxes
, METH_VARARGS
| METH_KEYWORDS
},
9458 { "wxJoystick_GetNumberButtons", (PyCFunction
) _wrap_wxJoystick_GetNumberButtons
, METH_VARARGS
| METH_KEYWORDS
},
9459 { "wxJoystick_GetZMax", (PyCFunction
) _wrap_wxJoystick_GetZMax
, METH_VARARGS
| METH_KEYWORDS
},
9460 { "wxJoystick_GetYMax", (PyCFunction
) _wrap_wxJoystick_GetYMax
, METH_VARARGS
| METH_KEYWORDS
},
9461 { "wxJoystick_GetXMax", (PyCFunction
) _wrap_wxJoystick_GetXMax
, METH_VARARGS
| METH_KEYWORDS
},
9462 { "wxJoystick_GetZMin", (PyCFunction
) _wrap_wxJoystick_GetZMin
, METH_VARARGS
| METH_KEYWORDS
},
9463 { "wxJoystick_GetYMin", (PyCFunction
) _wrap_wxJoystick_GetYMin
, METH_VARARGS
| METH_KEYWORDS
},
9464 { "wxJoystick_GetXMin", (PyCFunction
) _wrap_wxJoystick_GetXMin
, METH_VARARGS
| METH_KEYWORDS
},
9465 { "wxJoystick_GetProductName", (PyCFunction
) _wrap_wxJoystick_GetProductName
, METH_VARARGS
| METH_KEYWORDS
},
9466 { "wxJoystick_GetProductId", (PyCFunction
) _wrap_wxJoystick_GetProductId
, METH_VARARGS
| METH_KEYWORDS
},
9467 { "wxJoystick_GetManufacturerId", (PyCFunction
) _wrap_wxJoystick_GetManufacturerId
, METH_VARARGS
| METH_KEYWORDS
},
9468 { "wxJoystick_GetNumberJoysticks", (PyCFunction
) _wrap_wxJoystick_GetNumberJoysticks
, METH_VARARGS
| METH_KEYWORDS
},
9469 { "wxJoystick_IsOk", (PyCFunction
) _wrap_wxJoystick_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
9470 { "wxJoystick_SetMovementThreshold", (PyCFunction
) _wrap_wxJoystick_SetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
},
9471 { "wxJoystick_GetMovementThreshold", (PyCFunction
) _wrap_wxJoystick_GetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
},
9472 { "wxJoystick_GetVPosition", (PyCFunction
) _wrap_wxJoystick_GetVPosition
, METH_VARARGS
| METH_KEYWORDS
},
9473 { "wxJoystick_GetUPosition", (PyCFunction
) _wrap_wxJoystick_GetUPosition
, METH_VARARGS
| METH_KEYWORDS
},
9474 { "wxJoystick_GetRudderPosition", (PyCFunction
) _wrap_wxJoystick_GetRudderPosition
, METH_VARARGS
| METH_KEYWORDS
},
9475 { "wxJoystick_GetPOVCTSPosition", (PyCFunction
) _wrap_wxJoystick_GetPOVCTSPosition
, METH_VARARGS
| METH_KEYWORDS
},
9476 { "wxJoystick_GetPOVPosition", (PyCFunction
) _wrap_wxJoystick_GetPOVPosition
, METH_VARARGS
| METH_KEYWORDS
},
9477 { "wxJoystick_GetButtonState", (PyCFunction
) _wrap_wxJoystick_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
},
9478 { "wxJoystick_GetZPosition", (PyCFunction
) _wrap_wxJoystick_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
},
9479 { "wxJoystick_GetPosition", (PyCFunction
) _wrap_wxJoystick_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
9480 { "delete_wxJoystick", (PyCFunction
) _wrap_delete_wxJoystick
, METH_VARARGS
| METH_KEYWORDS
},
9481 { "new_wxJoystick", (PyCFunction
) _wrap_new_wxJoystick
, METH_VARARGS
| METH_KEYWORDS
},
9482 { "wxProcess_CloseOutput", (PyCFunction
) _wrap_wxProcess_CloseOutput
, METH_VARARGS
| METH_KEYWORDS
},
9483 { "wxProcess_GetOutputStream", (PyCFunction
) _wrap_wxProcess_GetOutputStream
, METH_VARARGS
| METH_KEYWORDS
},
9484 { "wxProcess_GetErrorStream", (PyCFunction
) _wrap_wxProcess_GetErrorStream
, METH_VARARGS
| METH_KEYWORDS
},
9485 { "wxProcess_GetInputStream", (PyCFunction
) _wrap_wxProcess_GetInputStream
, METH_VARARGS
| METH_KEYWORDS
},
9486 { "wxProcess_Detach", (PyCFunction
) _wrap_wxProcess_Detach
, METH_VARARGS
| METH_KEYWORDS
},
9487 { "wxProcess_IsRedirected", (PyCFunction
) _wrap_wxProcess_IsRedirected
, METH_VARARGS
| METH_KEYWORDS
},
9488 { "wxProcess_Redirect", (PyCFunction
) _wrap_wxProcess_Redirect
, METH_VARARGS
| METH_KEYWORDS
},
9489 { "wxProcess_base_OnTerminate", (PyCFunction
) _wrap_wxProcess_base_OnTerminate
, METH_VARARGS
| METH_KEYWORDS
},
9490 { "wxProcess__setCallbackInfo", (PyCFunction
) _wrap_wxProcess__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
9491 { "wxProcess_Destroy", (PyCFunction
) _wrap_wxProcess_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
9492 { "new_wxProcess", (PyCFunction
) _wrap_new_wxProcess
, METH_VARARGS
| METH_KEYWORDS
},
9493 { "wxProcessEvent_m_exitcode_get", (PyCFunction
) _wrap_wxProcessEvent_m_exitcode_get
, METH_VARARGS
| METH_KEYWORDS
},
9494 { "wxProcessEvent_m_exitcode_set", (PyCFunction
) _wrap_wxProcessEvent_m_exitcode_set
, METH_VARARGS
| METH_KEYWORDS
},
9495 { "wxProcessEvent_m_pid_get", (PyCFunction
) _wrap_wxProcessEvent_m_pid_get
, METH_VARARGS
| METH_KEYWORDS
},
9496 { "wxProcessEvent_m_pid_set", (PyCFunction
) _wrap_wxProcessEvent_m_pid_set
, METH_VARARGS
| METH_KEYWORDS
},
9497 { "wxProcessEvent_GetExitCode", (PyCFunction
) _wrap_wxProcessEvent_GetExitCode
, METH_VARARGS
| METH_KEYWORDS
},
9498 { "wxProcessEvent_GetPid", (PyCFunction
) _wrap_wxProcessEvent_GetPid
, METH_VARARGS
| METH_KEYWORDS
},
9499 { "new_wxProcessEvent", (PyCFunction
) _wrap_new_wxProcessEvent
, METH_VARARGS
| METH_KEYWORDS
},
9500 { "wxPyLog_Destroy", (PyCFunction
) _wrap_wxPyLog_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
9501 { "wxPyLog__setCallbackInfo", (PyCFunction
) _wrap_wxPyLog__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
9502 { "new_wxPyLog", (PyCFunction
) _wrap_new_wxPyLog
, METH_VARARGS
| METH_KEYWORDS
},
9503 { "wxLogChain_GetOldLog", (PyCFunction
) _wrap_wxLogChain_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
},
9504 { "wxLogChain_IsPassingMessages", (PyCFunction
) _wrap_wxLogChain_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
},
9505 { "wxLogChain_PassMessages", (PyCFunction
) _wrap_wxLogChain_PassMessages
, METH_VARARGS
| METH_KEYWORDS
},
9506 { "wxLogChain_SetLog", (PyCFunction
) _wrap_wxLogChain_SetLog
, METH_VARARGS
| METH_KEYWORDS
},
9507 { "new_wxLogChain", (PyCFunction
) _wrap_new_wxLogChain
, METH_VARARGS
| METH_KEYWORDS
},
9508 { "delete_wxLogNull", (PyCFunction
) _wrap_delete_wxLogNull
, METH_VARARGS
| METH_KEYWORDS
},
9509 { "new_wxLogNull", (PyCFunction
) _wrap_new_wxLogNull
, METH_VARARGS
| METH_KEYWORDS
},
9510 { "wxLogWindow_PassMessages", (PyCFunction
) _wrap_wxLogWindow_PassMessages
, METH_VARARGS
| METH_KEYWORDS
},
9511 { "wxLogWindow_IsPassingMessages", (PyCFunction
) _wrap_wxLogWindow_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
},
9512 { "wxLogWindow_GetOldLog", (PyCFunction
) _wrap_wxLogWindow_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
},
9513 { "wxLogWindow_GetFrame", (PyCFunction
) _wrap_wxLogWindow_GetFrame
, METH_VARARGS
| METH_KEYWORDS
},
9514 { "wxLogWindow_Show", (PyCFunction
) _wrap_wxLogWindow_Show
, METH_VARARGS
| METH_KEYWORDS
},
9515 { "new_wxLogWindow", (PyCFunction
) _wrap_new_wxLogWindow
, METH_VARARGS
| METH_KEYWORDS
},
9516 { "new_wxLogGui", (PyCFunction
) _wrap_new_wxLogGui
, METH_VARARGS
| METH_KEYWORDS
},
9517 { "new_wxLogTextCtrl", (PyCFunction
) _wrap_new_wxLogTextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
9518 { "new_wxLogStderr", (PyCFunction
) _wrap_new_wxLogStderr
, METH_VARARGS
| METH_KEYWORDS
},
9519 { "wxLog_TimeStamp", (PyCFunction
) _wrap_wxLog_TimeStamp
, METH_VARARGS
| METH_KEYWORDS
},
9520 { "wxLog_IsAllowedTraceMask", (PyCFunction
) _wrap_wxLog_IsAllowedTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
9521 { "wxLog_GetTraceMask", (PyCFunction
) _wrap_wxLog_GetTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
9522 { "wxLog_GetVerbose", (PyCFunction
) _wrap_wxLog_GetVerbose
, METH_VARARGS
| METH_KEYWORDS
},
9523 { "wxLog_GetTimestamp", (PyCFunction
) _wrap_wxLog_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
9524 { "wxLog_SetTimestamp", (PyCFunction
) _wrap_wxLog_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
9525 { "wxLog_ClearTraceMasks", (PyCFunction
) _wrap_wxLog_ClearTraceMasks
, METH_VARARGS
| METH_KEYWORDS
},
9526 { "wxLog_RemoveTraceMask", (PyCFunction
) _wrap_wxLog_RemoveTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
9527 { "wxLog_AddTraceMask", (PyCFunction
) _wrap_wxLog_AddTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
9528 { "wxLog_SetTraceMask", (PyCFunction
) _wrap_wxLog_SetTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
9529 { "wxLog_DontCreateOnDemand", (PyCFunction
) _wrap_wxLog_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
},
9530 { "wxLog_SetVerbose", (PyCFunction
) _wrap_wxLog_SetVerbose
, METH_VARARGS
| METH_KEYWORDS
},
9531 { "wxLog_Resume", (PyCFunction
) _wrap_wxLog_Resume
, METH_VARARGS
| METH_KEYWORDS
},
9532 { "wxLog_Suspend", (PyCFunction
) _wrap_wxLog_Suspend
, METH_VARARGS
| METH_KEYWORDS
},
9533 { "wxLog_SetActiveTarget", (PyCFunction
) _wrap_wxLog_SetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
},
9534 { "wxLog_GetActiveTarget", (PyCFunction
) _wrap_wxLog_GetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
},
9535 { "wxLog_FlushActive", (PyCFunction
) _wrap_wxLog_FlushActive
, METH_VARARGS
| METH_KEYWORDS
},
9536 { "wxLog_HasPendingMessages", (PyCFunction
) _wrap_wxLog_HasPendingMessages
, METH_VARARGS
| METH_KEYWORDS
},
9537 { "wxLog_Flush", (PyCFunction
) _wrap_wxLog_Flush
, METH_VARARGS
| METH_KEYWORDS
},
9538 { "wxLog_OnLog", (PyCFunction
) _wrap_wxLog_OnLog
, METH_VARARGS
| METH_KEYWORDS
},
9539 { "wxLog_EnableLogging", (PyCFunction
) _wrap_wxLog_EnableLogging
, METH_VARARGS
| METH_KEYWORDS
},
9540 { "wxLog_IsEnabled", (PyCFunction
) _wrap_wxLog_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
9541 { "new_wxLog", (PyCFunction
) _wrap_new_wxLog
, METH_VARARGS
| METH_KEYWORDS
},
9542 { "wxStopWatch_Time", (PyCFunction
) _wrap_wxStopWatch_Time
, METH_VARARGS
| METH_KEYWORDS
},
9543 { "wxStopWatch_Resume", (PyCFunction
) _wrap_wxStopWatch_Resume
, METH_VARARGS
| METH_KEYWORDS
},
9544 { "wxStopWatch_Pause", (PyCFunction
) _wrap_wxStopWatch_Pause
, METH_VARARGS
| METH_KEYWORDS
},
9545 { "wxStopWatch_Start", (PyCFunction
) _wrap_wxStopWatch_Start
, METH_VARARGS
| METH_KEYWORDS
},
9546 { "new_wxStopWatch", (PyCFunction
) _wrap_new_wxStopWatch
, METH_VARARGS
| METH_KEYWORDS
},
9547 { "wxPyTimer_Stop", (PyCFunction
) _wrap_wxPyTimer_Stop
, METH_VARARGS
| METH_KEYWORDS
},
9548 { "wxPyTimer_Start", (PyCFunction
) _wrap_wxPyTimer_Start
, METH_VARARGS
| METH_KEYWORDS
},
9549 { "wxPyTimer_SetOwner", (PyCFunction
) _wrap_wxPyTimer_SetOwner
, METH_VARARGS
| METH_KEYWORDS
},
9550 { "wxPyTimer_IsRunning", (PyCFunction
) _wrap_wxPyTimer_IsRunning
, METH_VARARGS
| METH_KEYWORDS
},
9551 { "wxPyTimer_IsOneShot", (PyCFunction
) _wrap_wxPyTimer_IsOneShot
, METH_VARARGS
| METH_KEYWORDS
},
9552 { "wxPyTimer_GetInterval", (PyCFunction
) _wrap_wxPyTimer_GetInterval
, METH_VARARGS
| METH_KEYWORDS
},
9553 { "delete_wxPyTimer", (PyCFunction
) _wrap_delete_wxPyTimer
, METH_VARARGS
| METH_KEYWORDS
},
9554 { "new_wxPyTimer", (PyCFunction
) _wrap_new_wxPyTimer
, METH_VARARGS
| METH_KEYWORDS
},
9555 { "wxDragImage_RedrawImage", (PyCFunction
) _wrap_wxDragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
},
9556 { "wxDragImage_GetImageRect", (PyCFunction
) _wrap_wxDragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
},
9557 { "wxDragImage_Hide", (PyCFunction
) _wrap_wxDragImage_Hide
, METH_VARARGS
| METH_KEYWORDS
},
9558 { "wxDragImage_Show", (PyCFunction
) _wrap_wxDragImage_Show
, METH_VARARGS
| METH_KEYWORDS
},
9559 { "wxDragImage_Move", (PyCFunction
) _wrap_wxDragImage_Move
, METH_VARARGS
| METH_KEYWORDS
},
9560 { "wxDragImage_EndDrag", (PyCFunction
) _wrap_wxDragImage_EndDrag
, METH_VARARGS
| METH_KEYWORDS
},
9561 { "wxDragImage_BeginDrag2", (PyCFunction
) _wrap_wxDragImage_BeginDrag2
, METH_VARARGS
| METH_KEYWORDS
},
9562 { "wxDragImage_BeginDrag", (PyCFunction
) _wrap_wxDragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
},
9563 { "wxDragImage_SetBackingBitmap", (PyCFunction
) _wrap_wxDragImage_SetBackingBitmap
, METH_VARARGS
| METH_KEYWORDS
},
9564 { "delete_wxDragImage", (PyCFunction
) _wrap_delete_wxDragImage
, METH_VARARGS
| METH_KEYWORDS
},
9565 { "new_wxDragListItem", (PyCFunction
) _wrap_new_wxDragListItem
, METH_VARARGS
| METH_KEYWORDS
},
9566 { "new_wxDragTreeItem", (PyCFunction
) _wrap_new_wxDragTreeItem
, METH_VARARGS
| METH_KEYWORDS
},
9567 { "new_wxDragString", (PyCFunction
) _wrap_new_wxDragString
, METH_VARARGS
| METH_KEYWORDS
},
9568 { "new_wxDragIcon", (PyCFunction
) _wrap_new_wxDragIcon
, METH_VARARGS
| METH_KEYWORDS
},
9569 { "new_wxDragImage", (PyCFunction
) _wrap_new_wxDragImage
, METH_VARARGS
| METH_KEYWORDS
},
9570 { "new_wxPyTipProvider", (PyCFunction
) _wrap_new_wxPyTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
9571 { "wxTipProvider_GetCurrentTip", (PyCFunction
) _wrap_wxTipProvider_GetCurrentTip
, METH_VARARGS
| METH_KEYWORDS
},
9572 { "wxTipProvider_GetTip", (PyCFunction
) _wrap_wxTipProvider_GetTip
, METH_VARARGS
| METH_KEYWORDS
},
9573 { "delete_wxTipProvider", (PyCFunction
) _wrap_delete_wxTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
9574 { "delete_wxMutexGuiLocker", (PyCFunction
) _wrap_delete_wxMutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
},
9575 { "new_wxMutexGuiLocker", (PyCFunction
) _wrap_new_wxMutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
},
9576 { "delete_wxWindowDisabler", (PyCFunction
) _wrap_delete_wxWindowDisabler
, METH_VARARGS
| METH_KEYWORDS
},
9577 { "new_wxWindowDisabler", (PyCFunction
) _wrap_new_wxWindowDisabler
, METH_VARARGS
| METH_KEYWORDS
},
9578 { "delete_wxBusyCursor", (PyCFunction
) _wrap_delete_wxBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
9579 { "new_wxBusyCursor", (PyCFunction
) _wrap_new_wxBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
9580 { "wxFontEnumerator_GetFacenames", (PyCFunction
) _wrap_wxFontEnumerator_GetFacenames
, METH_VARARGS
| METH_KEYWORDS
},
9581 { "wxFontEnumerator_GetEncodings", (PyCFunction
) _wrap_wxFontEnumerator_GetEncodings
, METH_VARARGS
| METH_KEYWORDS
},
9582 { "wxFontEnumerator_EnumerateEncodings", (PyCFunction
) _wrap_wxFontEnumerator_EnumerateEncodings
, METH_VARARGS
| METH_KEYWORDS
},
9583 { "wxFontEnumerator_EnumerateFacenames", (PyCFunction
) _wrap_wxFontEnumerator_EnumerateFacenames
, METH_VARARGS
| METH_KEYWORDS
},
9584 { "wxFontEnumerator__setCallbackInfo", (PyCFunction
) _wrap_wxFontEnumerator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
9585 { "delete_wxFontEnumerator", (PyCFunction
) _wrap_delete_wxFontEnumerator
, METH_VARARGS
| METH_KEYWORDS
},
9586 { "new_wxFontEnumerator", (PyCFunction
) _wrap_new_wxFontEnumerator
, METH_VARARGS
| METH_KEYWORDS
},
9587 { "wxCaret_Hide", (PyCFunction
) _wrap_wxCaret_Hide
, METH_VARARGS
| METH_KEYWORDS
},
9588 { "wxCaret_Show", (PyCFunction
) _wrap_wxCaret_Show
, METH_VARARGS
| METH_KEYWORDS
},
9589 { "wxCaret_SetSize", (PyCFunction
) _wrap_wxCaret_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
9590 { "wxCaret_SetSizeWH", (PyCFunction
) _wrap_wxCaret_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
9591 { "wxCaret_Move", (PyCFunction
) _wrap_wxCaret_Move
, METH_VARARGS
| METH_KEYWORDS
},
9592 { "wxCaret_MoveXY", (PyCFunction
) _wrap_wxCaret_MoveXY
, METH_VARARGS
| METH_KEYWORDS
},
9593 { "wxCaret_GetWindow", (PyCFunction
) _wrap_wxCaret_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
9594 { "wxCaret_GetSize", (PyCFunction
) _wrap_wxCaret_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
9595 { "wxCaret_GetSizeTuple", (PyCFunction
) _wrap_wxCaret_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
9596 { "wxCaret_GetPosition", (PyCFunction
) _wrap_wxCaret_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
9597 { "wxCaret_GetPositionTuple", (PyCFunction
) _wrap_wxCaret_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
9598 { "wxCaret_IsVisible", (PyCFunction
) _wrap_wxCaret_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
9599 { "wxCaret_IsOk", (PyCFunction
) _wrap_wxCaret_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
9600 { "delete_wxCaret", (PyCFunction
) _wrap_delete_wxCaret
, METH_VARARGS
| METH_KEYWORDS
},
9601 { "new_wxCaret", (PyCFunction
) _wrap_new_wxCaret
, METH_VARARGS
| METH_KEYWORDS
},
9602 { "wxToolTip_SetDelay", (PyCFunction
) _wrap_wxToolTip_SetDelay
, METH_VARARGS
| METH_KEYWORDS
},
9603 { "wxToolTip_Enable", (PyCFunction
) _wrap_wxToolTip_Enable
, METH_VARARGS
| METH_KEYWORDS
},
9604 { "wxToolTip_GetWindow", (PyCFunction
) _wrap_wxToolTip_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
9605 { "wxToolTip_GetTip", (PyCFunction
) _wrap_wxToolTip_GetTip
, METH_VARARGS
| METH_KEYWORDS
},
9606 { "wxToolTip_SetTip", (PyCFunction
) _wrap_wxToolTip_SetTip
, METH_VARARGS
| METH_KEYWORDS
},
9607 { "new_wxToolTip", (PyCFunction
) _wrap_new_wxToolTip
, METH_VARARGS
| METH_KEYWORDS
},
9608 { "wxWaveData", (PyCFunction
) _wrap_wxWaveData
, METH_VARARGS
| METH_KEYWORDS
},
9609 { "wxExecute", (PyCFunction
) _wrap_wxExecute
, METH_VARARGS
| METH_KEYWORDS
},
9610 { "wxLogSysError", (PyCFunction
) _wrap_wxLogSysError
, METH_VARARGS
| METH_KEYWORDS
},
9611 { "wxLogStatusFrame", (PyCFunction
) _wrap_wxLogStatusFrame
, METH_VARARGS
| METH_KEYWORDS
},
9612 { "wxLogStatus", (PyCFunction
) _wrap_wxLogStatus
, METH_VARARGS
| METH_KEYWORDS
},
9613 { "wxLogVerbose", (PyCFunction
) _wrap_wxLogVerbose
, METH_VARARGS
| METH_KEYWORDS
},
9614 { "wxLogInfo", (PyCFunction
) _wrap_wxLogInfo
, METH_VARARGS
| METH_KEYWORDS
},
9615 { "wxLogMessage", (PyCFunction
) _wrap_wxLogMessage
, METH_VARARGS
| METH_KEYWORDS
},
9616 { "wxLogWarning", (PyCFunction
) _wrap_wxLogWarning
, METH_VARARGS
| METH_KEYWORDS
},
9617 { "wxLogError", (PyCFunction
) _wrap_wxLogError
, METH_VARARGS
| METH_KEYWORDS
},
9618 { "wxLogFatalError", (PyCFunction
) _wrap_wxLogFatalError
, METH_VARARGS
| METH_KEYWORDS
},
9619 { "wxSysErrorMsg", (PyCFunction
) _wrap_wxSysErrorMsg
, METH_VARARGS
| METH_KEYWORDS
},
9620 { "wxSysErrorCode", (PyCFunction
) _wrap_wxSysErrorCode
, METH_VARARGS
| METH_KEYWORDS
},
9621 { "wxCreateFileTipProvider", (PyCFunction
) _wrap_wxCreateFileTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
9622 { "wxShowTip", (PyCFunction
) _wrap_wxShowTip
, METH_VARARGS
| METH_KEYWORDS
},
9623 { "wxThread_IsMain", (PyCFunction
) _wrap_wxThread_IsMain
, METH_VARARGS
| METH_KEYWORDS
},
9624 { "wxMutexGuiLeave", (PyCFunction
) _wrap_wxMutexGuiLeave
, METH_VARARGS
| METH_KEYWORDS
},
9625 { "wxMutexGuiEnter", (PyCFunction
) _wrap_wxMutexGuiEnter
, METH_VARARGS
| METH_KEYWORDS
},
9626 { "wxWakeUpMainThread", (PyCFunction
) _wrap_wxWakeUpMainThread
, METH_VARARGS
| METH_KEYWORDS
},
9627 { "wxWakeUpIdle", (PyCFunction
) _wrap_wxWakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
},
9628 { "wxPostEvent", (PyCFunction
) _wrap_wxPostEvent
, METH_VARARGS
| METH_KEYWORDS
},
9629 { "wxSafeYield", (PyCFunction
) _wrap_wxSafeYield
, METH_VARARGS
| METH_KEYWORDS
},
9630 { "wxCaret_SetBlinkTime", (PyCFunction
) _wrap_wxCaret_SetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
},
9631 { "wxCaret_GetBlinkTime", (PyCFunction
) _wrap_wxCaret_GetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
},
9632 { "wxSystemSettings_GetSystemMetric", (PyCFunction
) _wrap_wxSystemSettings_GetSystemMetric
, METH_VARARGS
| METH_KEYWORDS
},
9633 { "wxSystemSettings_GetSystemFont", (PyCFunction
) _wrap_wxSystemSettings_GetSystemFont
, METH_VARARGS
| METH_KEYWORDS
},
9634 { "wxSystemSettings_GetSystemColour", (PyCFunction
) _wrap_wxSystemSettings_GetSystemColour
, METH_VARARGS
| METH_KEYWORDS
},
9635 { "wxResourceParseString", (PyCFunction
) _wrap_wxResourceParseString
, METH_VARARGS
| METH_KEYWORDS
},
9636 { "wxResourceParseFile", (PyCFunction
) _wrap_wxResourceParseFile
, METH_VARARGS
| METH_KEYWORDS
},
9637 { "wxResourceParseData", (PyCFunction
) _wrap_wxResourceParseData
, METH_VARARGS
| METH_KEYWORDS
},
9638 { "wxResourceGetIdentifier", (PyCFunction
) _wrap_wxResourceGetIdentifier
, METH_VARARGS
| METH_KEYWORDS
},
9639 { "wxResourceCreateMenuBar", (PyCFunction
) _wrap_wxResourceCreateMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
9640 { "wxResourceCreateIcon", (PyCFunction
) _wrap_wxResourceCreateIcon
, METH_VARARGS
| METH_KEYWORDS
},
9641 { "wxResourceCreateBitmap", (PyCFunction
) _wrap_wxResourceCreateBitmap
, METH_VARARGS
| METH_KEYWORDS
},
9642 { "wxResourceClear", (PyCFunction
) _wrap_wxResourceClear
, METH_VARARGS
| METH_KEYWORDS
},
9643 { "wxResourceAddIdentifier", (PyCFunction
) _wrap_wxResourceAddIdentifier
, METH_VARARGS
| METH_KEYWORDS
},
9644 { "wxFlushEvents", (PyCFunction
) _wrap_wxFlushEvents
, METH_VARARGS
| METH_KEYWORDS
},
9645 { "wxCheckForInterrupt", (PyCFunction
) _wrap_wxCheckForInterrupt
, METH_VARARGS
| METH_KEYWORDS
},
9646 { "wxFindWindowAtPoint", (PyCFunction
) _wrap_wxFindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
},
9647 { "wxGenericFindWindowAtPoint", (PyCFunction
) _wrap_wxGenericFindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
},
9648 { "wxGetActiveWindow", (PyCFunction
) _wrap_wxGetActiveWindow
, METH_VARARGS
| METH_KEYWORDS
},
9649 { "wxBeginBusyCursor", (PyCFunction
) _wrap_wxBeginBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
9650 { "wxFindWindowByName", (PyCFunction
) _wrap_wxFindWindowByName
, METH_VARARGS
| METH_KEYWORDS
},
9651 { "wxFindWindowByLabel", (PyCFunction
) _wrap_wxFindWindowByLabel
, METH_VARARGS
| METH_KEYWORDS
},
9652 { "wxSetCursor", (PyCFunction
) _wrap_wxSetCursor
, METH_VARARGS
| METH_KEYWORDS
},
9653 { "wxGetClientDisplayRect", (PyCFunction
) _wrap_wxGetClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
},
9654 { "wxClientDisplayRect", (PyCFunction
) _wrap_wxClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
},
9655 { "wxGetDisplaySizeMM", (PyCFunction
) _wrap_wxGetDisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
},
9656 { "wxDisplaySizeMM", (PyCFunction
) _wrap_wxDisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
},
9657 { "wxGetDisplaySize", (PyCFunction
) _wrap_wxGetDisplaySize
, METH_VARARGS
| METH_KEYWORDS
},
9658 { "wxDisplaySize", (PyCFunction
) _wrap_wxDisplaySize
, METH_VARARGS
| METH_KEYWORDS
},
9659 { "wxGetDisplayDepth", (PyCFunction
) _wrap_wxGetDisplayDepth
, METH_VARARGS
| METH_KEYWORDS
},
9660 { "wxDisplayDepth", (PyCFunction
) _wrap_wxDisplayDepth
, METH_VARARGS
| METH_KEYWORDS
},
9661 { "wxColourDisplay", (PyCFunction
) _wrap_wxColourDisplay
, METH_VARARGS
| METH_KEYWORDS
},
9662 { "wxGetNumberFromUser", (PyCFunction
) _wrap_wxGetNumberFromUser
, METH_VARARGS
| METH_KEYWORDS
},
9663 { "wxMessageBox", (PyCFunction
) _wrap_wxMessageBox
, METH_VARARGS
| METH_KEYWORDS
},
9664 { "wxGetSingleChoiceIndex", (PyCFunction
) _wrap_wxGetSingleChoiceIndex
, METH_VARARGS
| METH_KEYWORDS
},
9665 { "wxGetSingleChoice", (PyCFunction
) _wrap_wxGetSingleChoice
, METH_VARARGS
| METH_KEYWORDS
},
9666 { "wxGetPasswordFromUser", (PyCFunction
) _wrap_wxGetPasswordFromUser
, METH_VARARGS
| METH_KEYWORDS
},
9667 { "wxGetTextFromUser", (PyCFunction
) _wrap_wxGetTextFromUser
, METH_VARARGS
| METH_KEYWORDS
},
9668 { "wxFileSelector", (PyCFunction
) _wrap_wxFileSelector
, METH_VARARGS
| METH_KEYWORDS
},
9675 * This table is used by the pointer type-checker
9677 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
9678 { "_wxEvent","_wxProcessEvent",SwigwxProcessEventTowxEvent
},
9679 { "_signed_long","_long",0},
9680 { "_wxPrintQuality","_wxCoord",0},
9681 { "_wxPrintQuality","_int",0},
9682 { "_wxPrintQuality","_signed_int",0},
9683 { "_wxPrintQuality","_unsigned_int",0},
9684 { "_wxPrintQuality","_wxWindowID",0},
9685 { "_wxPrintQuality","_uint",0},
9686 { "_wxPrintQuality","_EBool",0},
9687 { "_wxPrintQuality","_size_t",0},
9688 { "_wxPrintQuality","_time_t",0},
9689 { "_wxLog","_wxPyLog",SwigwxPyLogTowxLog
},
9690 { "_wxLog","_wxLogChain",SwigwxLogChainTowxLog
},
9691 { "_wxLog","_wxLogWindow",SwigwxLogWindowTowxLog
},
9692 { "_wxLog","_wxLogGui",SwigwxLogGuiTowxLog
},
9693 { "_wxLog","_wxLogTextCtrl",SwigwxLogTextCtrlTowxLog
},
9694 { "_wxLog","_wxLogStderr",SwigwxLogStderrTowxLog
},
9695 { "_byte","_unsigned_char",0},
9696 { "_long","_unsigned_long",0},
9697 { "_long","_signed_long",0},
9698 { "_size_t","_wxCoord",0},
9699 { "_size_t","_wxPrintQuality",0},
9700 { "_size_t","_time_t",0},
9701 { "_size_t","_unsigned_int",0},
9702 { "_size_t","_int",0},
9703 { "_size_t","_wxWindowID",0},
9704 { "_size_t","_uint",0},
9705 { "_uint","_wxCoord",0},
9706 { "_uint","_wxPrintQuality",0},
9707 { "_uint","_time_t",0},
9708 { "_uint","_size_t",0},
9709 { "_uint","_unsigned_int",0},
9710 { "_uint","_int",0},
9711 { "_uint","_wxWindowID",0},
9712 { "_wxChar","_char",0},
9713 { "_char","_wxChar",0},
9714 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
9715 { "_EBool","_wxCoord",0},
9716 { "_EBool","_wxPrintQuality",0},
9717 { "_EBool","_signed_int",0},
9718 { "_EBool","_int",0},
9719 { "_EBool","_wxWindowID",0},
9720 { "_unsigned_long","_long",0},
9721 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
9722 { "_signed_int","_wxCoord",0},
9723 { "_signed_int","_wxPrintQuality",0},
9724 { "_signed_int","_EBool",0},
9725 { "_signed_int","_wxWindowID",0},
9726 { "_signed_int","_int",0},
9727 { "_WXTYPE","_short",0},
9728 { "_WXTYPE","_signed_short",0},
9729 { "_WXTYPE","_unsigned_short",0},
9730 { "_wxTipProvider","_wxPyTipProvider",SwigwxPyTipProviderTowxTipProvider
},
9731 { "_unsigned_short","_WXTYPE",0},
9732 { "_unsigned_short","_short",0},
9733 { "_wxObject","_wxWave",SwigwxWaveTowxObject
},
9734 { "_wxObject","_wxJoystick",SwigwxJoystickTowxObject
},
9735 { "_wxObject","_wxPyProcess",SwigwxPyProcessTowxObject
},
9736 { "_wxObject","_wxProcessEvent",SwigwxProcessEventTowxObject
},
9737 { "_wxObject","_wxPyTimer",SwigwxPyTimerTowxObject
},
9738 { "_wxObject","_wxGenericDragImage",SwigwxGenericDragImageTowxObject
},
9739 { "_wxObject","_wxToolTip",SwigwxToolTipTowxObject
},
9740 { "_signed_short","_WXTYPE",0},
9741 { "_signed_short","_short",0},
9742 { "_unsigned_char","_byte",0},
9743 { "_unsigned_int","_wxCoord",0},
9744 { "_unsigned_int","_wxPrintQuality",0},
9745 { "_unsigned_int","_time_t",0},
9746 { "_unsigned_int","_size_t",0},
9747 { "_unsigned_int","_uint",0},
9748 { "_unsigned_int","_wxWindowID",0},
9749 { "_unsigned_int","_int",0},
9750 { "_short","_WXTYPE",0},
9751 { "_short","_unsigned_short",0},
9752 { "_short","_signed_short",0},
9753 { "_wxWindowID","_wxCoord",0},
9754 { "_wxWindowID","_wxPrintQuality",0},
9755 { "_wxWindowID","_time_t",0},
9756 { "_wxWindowID","_size_t",0},
9757 { "_wxWindowID","_EBool",0},
9758 { "_wxWindowID","_uint",0},
9759 { "_wxWindowID","_int",0},
9760 { "_wxWindowID","_signed_int",0},
9761 { "_wxWindowID","_unsigned_int",0},
9762 { "_int","_wxCoord",0},
9763 { "_int","_wxPrintQuality",0},
9764 { "_int","_time_t",0},
9765 { "_int","_size_t",0},
9766 { "_int","_EBool",0},
9767 { "_int","_uint",0},
9768 { "_int","_wxWindowID",0},
9769 { "_int","_unsigned_int",0},
9770 { "_int","_signed_int",0},
9771 { "_time_t","_wxCoord",0},
9772 { "_time_t","_wxPrintQuality",0},
9773 { "_time_t","_unsigned_int",0},
9774 { "_time_t","_int",0},
9775 { "_time_t","_wxWindowID",0},
9776 { "_time_t","_uint",0},
9777 { "_time_t","_size_t",0},
9778 { "_wxCoord","_int",0},
9779 { "_wxCoord","_signed_int",0},
9780 { "_wxCoord","_unsigned_int",0},
9781 { "_wxCoord","_wxWindowID",0},
9782 { "_wxCoord","_uint",0},
9783 { "_wxCoord","_EBool",0},
9784 { "_wxCoord","_size_t",0},
9785 { "_wxCoord","_time_t",0},
9786 { "_wxCoord","_wxPrintQuality",0},
9787 { "_wxEvtHandler","_wxPyProcess",SwigwxPyProcessTowxEvtHandler
},
9790 static PyObject
*SWIG_globals
;
9794 SWIGEXPORT(void) initmisc2c() {
9796 SWIG_globals
= SWIG_newvarlink();
9797 m
= Py_InitModule("misc2c", misc2cMethods
);
9798 d
= PyModule_GetDict(m
);
9799 PyDict_SetItemString(d
,"wxSYS_WHITE_BRUSH", PyInt_FromLong((long) wxSYS_WHITE_BRUSH
));
9800 PyDict_SetItemString(d
,"wxSYS_LTGRAY_BRUSH", PyInt_FromLong((long) wxSYS_LTGRAY_BRUSH
));
9801 PyDict_SetItemString(d
,"wxSYS_GRAY_BRUSH", PyInt_FromLong((long) wxSYS_GRAY_BRUSH
));
9802 PyDict_SetItemString(d
,"wxSYS_DKGRAY_BRUSH", PyInt_FromLong((long) wxSYS_DKGRAY_BRUSH
));
9803 PyDict_SetItemString(d
,"wxSYS_BLACK_BRUSH", PyInt_FromLong((long) wxSYS_BLACK_BRUSH
));
9804 PyDict_SetItemString(d
,"wxSYS_NULL_BRUSH", PyInt_FromLong((long) wxSYS_NULL_BRUSH
));
9805 PyDict_SetItemString(d
,"wxSYS_HOLLOW_BRUSH", PyInt_FromLong((long) wxSYS_HOLLOW_BRUSH
));
9806 PyDict_SetItemString(d
,"wxSYS_WHITE_PEN", PyInt_FromLong((long) wxSYS_WHITE_PEN
));
9807 PyDict_SetItemString(d
,"wxSYS_BLACK_PEN", PyInt_FromLong((long) wxSYS_BLACK_PEN
));
9808 PyDict_SetItemString(d
,"wxSYS_NULL_PEN", PyInt_FromLong((long) wxSYS_NULL_PEN
));
9809 PyDict_SetItemString(d
,"wxSYS_OEM_FIXED_FONT", PyInt_FromLong((long) wxSYS_OEM_FIXED_FONT
));
9810 PyDict_SetItemString(d
,"wxSYS_ANSI_FIXED_FONT", PyInt_FromLong((long) wxSYS_ANSI_FIXED_FONT
));
9811 PyDict_SetItemString(d
,"wxSYS_ANSI_VAR_FONT", PyInt_FromLong((long) wxSYS_ANSI_VAR_FONT
));
9812 PyDict_SetItemString(d
,"wxSYS_SYSTEM_FONT", PyInt_FromLong((long) wxSYS_SYSTEM_FONT
));
9813 PyDict_SetItemString(d
,"wxSYS_DEVICE_DEFAULT_FONT", PyInt_FromLong((long) wxSYS_DEVICE_DEFAULT_FONT
));
9814 PyDict_SetItemString(d
,"wxSYS_DEFAULT_PALETTE", PyInt_FromLong((long) wxSYS_DEFAULT_PALETTE
));
9815 PyDict_SetItemString(d
,"wxSYS_SYSTEM_FIXED_FONT", PyInt_FromLong((long) wxSYS_SYSTEM_FIXED_FONT
));
9816 PyDict_SetItemString(d
,"wxSYS_DEFAULT_GUI_FONT", PyInt_FromLong((long) wxSYS_DEFAULT_GUI_FONT
));
9817 PyDict_SetItemString(d
,"wxSYS_COLOUR_SCROLLBAR", PyInt_FromLong((long) wxSYS_COLOUR_SCROLLBAR
));
9818 PyDict_SetItemString(d
,"wxSYS_COLOUR_BACKGROUND", PyInt_FromLong((long) wxSYS_COLOUR_BACKGROUND
));
9819 PyDict_SetItemString(d
,"wxSYS_COLOUR_ACTIVECAPTION", PyInt_FromLong((long) wxSYS_COLOUR_ACTIVECAPTION
));
9820 PyDict_SetItemString(d
,"wxSYS_COLOUR_INACTIVECAPTION", PyInt_FromLong((long) wxSYS_COLOUR_INACTIVECAPTION
));
9821 PyDict_SetItemString(d
,"wxSYS_COLOUR_MENU", PyInt_FromLong((long) wxSYS_COLOUR_MENU
));
9822 PyDict_SetItemString(d
,"wxSYS_COLOUR_WINDOW", PyInt_FromLong((long) wxSYS_COLOUR_WINDOW
));
9823 PyDict_SetItemString(d
,"wxSYS_COLOUR_WINDOWFRAME", PyInt_FromLong((long) wxSYS_COLOUR_WINDOWFRAME
));
9824 PyDict_SetItemString(d
,"wxSYS_COLOUR_MENUTEXT", PyInt_FromLong((long) wxSYS_COLOUR_MENUTEXT
));
9825 PyDict_SetItemString(d
,"wxSYS_COLOUR_WINDOWTEXT", PyInt_FromLong((long) wxSYS_COLOUR_WINDOWTEXT
));
9826 PyDict_SetItemString(d
,"wxSYS_COLOUR_CAPTIONTEXT", PyInt_FromLong((long) wxSYS_COLOUR_CAPTIONTEXT
));
9827 PyDict_SetItemString(d
,"wxSYS_COLOUR_ACTIVEBORDER", PyInt_FromLong((long) wxSYS_COLOUR_ACTIVEBORDER
));
9828 PyDict_SetItemString(d
,"wxSYS_COLOUR_INACTIVEBORDER", PyInt_FromLong((long) wxSYS_COLOUR_INACTIVEBORDER
));
9829 PyDict_SetItemString(d
,"wxSYS_COLOUR_APPWORKSPACE", PyInt_FromLong((long) wxSYS_COLOUR_APPWORKSPACE
));
9830 PyDict_SetItemString(d
,"wxSYS_COLOUR_HIGHLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_HIGHLIGHT
));
9831 PyDict_SetItemString(d
,"wxSYS_COLOUR_HIGHLIGHTTEXT", PyInt_FromLong((long) wxSYS_COLOUR_HIGHLIGHTTEXT
));
9832 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNFACE", PyInt_FromLong((long) wxSYS_COLOUR_BTNFACE
));
9833 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNSHADOW", PyInt_FromLong((long) wxSYS_COLOUR_BTNSHADOW
));
9834 PyDict_SetItemString(d
,"wxSYS_COLOUR_GRAYTEXT", PyInt_FromLong((long) wxSYS_COLOUR_GRAYTEXT
));
9835 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNTEXT", PyInt_FromLong((long) wxSYS_COLOUR_BTNTEXT
));
9836 PyDict_SetItemString(d
,"wxSYS_COLOUR_INACTIVECAPTIONTEXT", PyInt_FromLong((long) wxSYS_COLOUR_INACTIVECAPTIONTEXT
));
9837 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNHIGHLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_BTNHIGHLIGHT
));
9838 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DDKSHADOW", PyInt_FromLong((long) wxSYS_COLOUR_3DDKSHADOW
));
9839 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_3DLIGHT
));
9840 PyDict_SetItemString(d
,"wxSYS_COLOUR_INFOTEXT", PyInt_FromLong((long) wxSYS_COLOUR_INFOTEXT
));
9841 PyDict_SetItemString(d
,"wxSYS_COLOUR_INFOBK", PyInt_FromLong((long) wxSYS_COLOUR_INFOBK
));
9842 PyDict_SetItemString(d
,"wxSYS_COLOUR_DESKTOP", PyInt_FromLong((long) wxSYS_COLOUR_DESKTOP
));
9843 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DFACE", PyInt_FromLong((long) wxSYS_COLOUR_3DFACE
));
9844 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DSHADOW", PyInt_FromLong((long) wxSYS_COLOUR_3DSHADOW
));
9845 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DHIGHLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_3DHIGHLIGHT
));
9846 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DHILIGHT", PyInt_FromLong((long) wxSYS_COLOUR_3DHILIGHT
));
9847 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNHILIGHT", PyInt_FromLong((long) wxSYS_COLOUR_BTNHILIGHT
));
9848 PyDict_SetItemString(d
,"wxSYS_MOUSE_BUTTONS", PyInt_FromLong((long) wxSYS_MOUSE_BUTTONS
));
9849 PyDict_SetItemString(d
,"wxSYS_BORDER_X", PyInt_FromLong((long) wxSYS_BORDER_X
));
9850 PyDict_SetItemString(d
,"wxSYS_BORDER_Y", PyInt_FromLong((long) wxSYS_BORDER_Y
));
9851 PyDict_SetItemString(d
,"wxSYS_CURSOR_X", PyInt_FromLong((long) wxSYS_CURSOR_X
));
9852 PyDict_SetItemString(d
,"wxSYS_CURSOR_Y", PyInt_FromLong((long) wxSYS_CURSOR_Y
));
9853 PyDict_SetItemString(d
,"wxSYS_DCLICK_X", PyInt_FromLong((long) wxSYS_DCLICK_X
));
9854 PyDict_SetItemString(d
,"wxSYS_DCLICK_Y", PyInt_FromLong((long) wxSYS_DCLICK_Y
));
9855 PyDict_SetItemString(d
,"wxSYS_DRAG_X", PyInt_FromLong((long) wxSYS_DRAG_X
));
9856 PyDict_SetItemString(d
,"wxSYS_DRAG_Y", PyInt_FromLong((long) wxSYS_DRAG_Y
));
9857 PyDict_SetItemString(d
,"wxSYS_EDGE_X", PyInt_FromLong((long) wxSYS_EDGE_X
));
9858 PyDict_SetItemString(d
,"wxSYS_EDGE_Y", PyInt_FromLong((long) wxSYS_EDGE_Y
));
9859 PyDict_SetItemString(d
,"wxSYS_HSCROLL_ARROW_X", PyInt_FromLong((long) wxSYS_HSCROLL_ARROW_X
));
9860 PyDict_SetItemString(d
,"wxSYS_HSCROLL_ARROW_Y", PyInt_FromLong((long) wxSYS_HSCROLL_ARROW_Y
));
9861 PyDict_SetItemString(d
,"wxSYS_HTHUMB_X", PyInt_FromLong((long) wxSYS_HTHUMB_X
));
9862 PyDict_SetItemString(d
,"wxSYS_ICON_X", PyInt_FromLong((long) wxSYS_ICON_X
));
9863 PyDict_SetItemString(d
,"wxSYS_ICON_Y", PyInt_FromLong((long) wxSYS_ICON_Y
));
9864 PyDict_SetItemString(d
,"wxSYS_ICONSPACING_X", PyInt_FromLong((long) wxSYS_ICONSPACING_X
));
9865 PyDict_SetItemString(d
,"wxSYS_ICONSPACING_Y", PyInt_FromLong((long) wxSYS_ICONSPACING_Y
));
9866 PyDict_SetItemString(d
,"wxSYS_WINDOWMIN_X", PyInt_FromLong((long) wxSYS_WINDOWMIN_X
));
9867 PyDict_SetItemString(d
,"wxSYS_WINDOWMIN_Y", PyInt_FromLong((long) wxSYS_WINDOWMIN_Y
));
9868 PyDict_SetItemString(d
,"wxSYS_SCREEN_X", PyInt_FromLong((long) wxSYS_SCREEN_X
));
9869 PyDict_SetItemString(d
,"wxSYS_SCREEN_Y", PyInt_FromLong((long) wxSYS_SCREEN_Y
));
9870 PyDict_SetItemString(d
,"wxSYS_FRAMESIZE_X", PyInt_FromLong((long) wxSYS_FRAMESIZE_X
));
9871 PyDict_SetItemString(d
,"wxSYS_FRAMESIZE_Y", PyInt_FromLong((long) wxSYS_FRAMESIZE_Y
));
9872 PyDict_SetItemString(d
,"wxSYS_SMALLICON_X", PyInt_FromLong((long) wxSYS_SMALLICON_X
));
9873 PyDict_SetItemString(d
,"wxSYS_SMALLICON_Y", PyInt_FromLong((long) wxSYS_SMALLICON_Y
));
9874 PyDict_SetItemString(d
,"wxSYS_HSCROLL_Y", PyInt_FromLong((long) wxSYS_HSCROLL_Y
));
9875 PyDict_SetItemString(d
,"wxSYS_VSCROLL_X", PyInt_FromLong((long) wxSYS_VSCROLL_X
));
9876 PyDict_SetItemString(d
,"wxSYS_VSCROLL_ARROW_X", PyInt_FromLong((long) wxSYS_VSCROLL_ARROW_X
));
9877 PyDict_SetItemString(d
,"wxSYS_VSCROLL_ARROW_Y", PyInt_FromLong((long) wxSYS_VSCROLL_ARROW_Y
));
9878 PyDict_SetItemString(d
,"wxSYS_VTHUMB_Y", PyInt_FromLong((long) wxSYS_VTHUMB_Y
));
9879 PyDict_SetItemString(d
,"wxSYS_CAPTION_Y", PyInt_FromLong((long) wxSYS_CAPTION_Y
));
9880 PyDict_SetItemString(d
,"wxSYS_MENU_Y", PyInt_FromLong((long) wxSYS_MENU_Y
));
9881 PyDict_SetItemString(d
,"wxSYS_NETWORK_PRESENT", PyInt_FromLong((long) wxSYS_NETWORK_PRESENT
));
9882 PyDict_SetItemString(d
,"wxSYS_PENWINDOWS_PRESENT", PyInt_FromLong((long) wxSYS_PENWINDOWS_PRESENT
));
9883 PyDict_SetItemString(d
,"wxSYS_SHOW_SOUNDS", PyInt_FromLong((long) wxSYS_SHOW_SOUNDS
));
9884 PyDict_SetItemString(d
,"wxSYS_SWAP_BUTTONS", PyInt_FromLong((long) wxSYS_SWAP_BUTTONS
));
9885 PyDict_SetItemString(d
,"wxLOG_FatalError", PyInt_FromLong((long) wxLOG_FatalError
));
9886 PyDict_SetItemString(d
,"wxLOG_Error", PyInt_FromLong((long) wxLOG_Error
));
9887 PyDict_SetItemString(d
,"wxLOG_Warning", PyInt_FromLong((long) wxLOG_Warning
));
9888 PyDict_SetItemString(d
,"wxLOG_Message", PyInt_FromLong((long) wxLOG_Message
));
9889 PyDict_SetItemString(d
,"wxLOG_Info", PyInt_FromLong((long) wxLOG_Info
));
9890 PyDict_SetItemString(d
,"wxLOG_Status", PyInt_FromLong((long) wxLOG_Status
));
9891 PyDict_SetItemString(d
,"wxLOG_Debug", PyInt_FromLong((long) wxLOG_Debug
));
9892 PyDict_SetItemString(d
,"wxLOG_Trace", PyInt_FromLong((long) wxLOG_Trace
));
9893 PyDict_SetItemString(d
,"wxLOG_Progress", PyInt_FromLong((long) wxLOG_Progress
));
9894 PyDict_SetItemString(d
,"wxLOG_User", PyInt_FromLong((long) wxLOG_User
));
9895 PyDict_SetItemString(d
,"wxEVT_END_PROCESS", PyInt_FromLong((long) wxEVT_END_PROCESS
));
9896 PyDict_SetItemString(d
,"wxMAILCAP_STANDARD", PyInt_FromLong((long) wxMAILCAP_STANDARD
));
9897 PyDict_SetItemString(d
,"wxMAILCAP_NETSCAPE", PyInt_FromLong((long) wxMAILCAP_NETSCAPE
));
9898 PyDict_SetItemString(d
,"wxMAILCAP_KDE", PyInt_FromLong((long) wxMAILCAP_KDE
));
9899 PyDict_SetItemString(d
,"wxMAILCAP_GNOME", PyInt_FromLong((long) wxMAILCAP_GNOME
));
9900 PyDict_SetItemString(d
,"wxMAILCAP_ALL", PyInt_FromLong((long) wxMAILCAP_ALL
));
9901 PyDict_SetItemString(d
,"cvar", SWIG_globals
);
9902 SWIG_addvarlink(SWIG_globals
,"wxTheMimeTypesManager",_wrap_wxTheMimeTypesManager_get
, _wrap_wxTheMimeTypesManager_set
);
9904 wxPyPtrTypeMap_Add("wxFontEnumerator", "wxPyFontEnumerator");
9905 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
9906 wxPyPtrTypeMap_Add("wxProcess", "wxPyProcess");
9909 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
9910 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);