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
;
299 #include <wx/docview.h>
303 static PyObject
*_wrap_wxFileSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
304 PyObject
* _resultobj
;
307 char * _arg1
= (char *) NULL
;
308 char * _arg2
= (char *) NULL
;
309 char * _arg3
= (char *) NULL
;
310 char * _arg4
= (char *) "*.*";
311 int _arg5
= (int ) 0;
312 wxWindow
* _arg6
= (wxWindow
*) NULL
;
313 int _arg7
= (int ) -1;
314 int _arg8
= (int ) -1;
315 PyObject
* _argo6
= 0;
316 char *_kwnames
[] = { "message","default_path","default_filename","default_extension","wildcard","flags","parent","x","y", NULL
};
319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s|ssssiOii:wxFileSelector",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_argo6
,&_arg7
,&_arg8
))
322 if (_argo6
== Py_None
) { _arg6
= NULL
; }
323 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxWindow_p")) {
324 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxFileSelector. Expected _wxWindow_p.");
329 wxPy_BEGIN_ALLOW_THREADS
;
330 _result
= new wxString (wxFileSelector(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
,_arg8
));
332 wxPy_END_ALLOW_THREADS
;
334 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
342 static PyObject
*_wrap_wxGetTextFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
343 PyObject
* _resultobj
;
346 wxString
* _arg1
= (wxString
*) &wxPyEmptyStr
;
347 wxString
* _arg2
= (wxString
*) &wxPyEmptyStr
;
348 wxWindow
* _arg3
= (wxWindow
*) NULL
;
349 int _arg4
= (int ) -1;
350 int _arg5
= (int ) -1;
351 bool _arg6
= (bool ) TRUE
;
352 PyObject
* _obj0
= 0;
353 PyObject
* _obj1
= 0;
354 PyObject
* _obj2
= 0;
355 PyObject
* _argo3
= 0;
356 int tempbool6
= (int) TRUE
;
357 char *_kwnames
[] = { "message","caption","default_value","parent","x","y","centre", NULL
};
360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|OOOiii:wxGetTextFromUser",_kwnames
,&_obj0
,&_obj1
,&_obj2
,&_argo3
,&_arg4
,&_arg5
,&tempbool6
))
363 #if PYTHON_API_VERSION >= 1009
364 char* tmpPtr
; int tmpSize
;
365 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
366 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
369 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
371 _arg0
= new wxString(tmpPtr
, tmpSize
);
373 if (!PyString_Check(_obj0
)) {
374 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
377 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
382 #if PYTHON_API_VERSION >= 1009
383 char* tmpPtr
; int tmpSize
;
384 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
385 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
388 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
390 _arg1
= new wxString(tmpPtr
, tmpSize
);
392 if (!PyString_Check(_obj1
)) {
393 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
396 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
401 #if PYTHON_API_VERSION >= 1009
402 char* tmpPtr
; int tmpSize
;
403 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
404 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
407 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
409 _arg2
= new wxString(tmpPtr
, tmpSize
);
411 if (!PyString_Check(_obj2
)) {
412 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
415 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
419 if (_argo3
== Py_None
) { _arg3
= NULL
; }
420 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxWindow_p")) {
421 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGetTextFromUser. Expected _wxWindow_p.");
425 _arg6
= (bool ) tempbool6
;
427 wxPy_BEGIN_ALLOW_THREADS
;
428 _result
= new wxString (wxGetTextFromUser(*_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
,_arg6
));
430 wxPy_END_ALLOW_THREADS
;
432 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
452 static PyObject
*_wrap_wxGetPasswordFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
453 PyObject
* _resultobj
;
456 wxString
* _arg1
= (wxString
*) &wxPyEmptyStr
;
457 wxString
* _arg2
= (wxString
*) &wxPyEmptyStr
;
458 wxWindow
* _arg3
= (wxWindow
*) NULL
;
459 PyObject
* _obj0
= 0;
460 PyObject
* _obj1
= 0;
461 PyObject
* _obj2
= 0;
462 PyObject
* _argo3
= 0;
463 char *_kwnames
[] = { "message","caption","default_value","parent", NULL
};
466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|OOO:wxGetPasswordFromUser",_kwnames
,&_obj0
,&_obj1
,&_obj2
,&_argo3
))
469 #if PYTHON_API_VERSION >= 1009
470 char* tmpPtr
; int tmpSize
;
471 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
472 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
475 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
477 _arg0
= new wxString(tmpPtr
, tmpSize
);
479 if (!PyString_Check(_obj0
)) {
480 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
483 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
488 #if PYTHON_API_VERSION >= 1009
489 char* tmpPtr
; int tmpSize
;
490 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
491 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
494 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
496 _arg1
= new wxString(tmpPtr
, tmpSize
);
498 if (!PyString_Check(_obj1
)) {
499 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
502 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
507 #if PYTHON_API_VERSION >= 1009
508 char* tmpPtr
; int tmpSize
;
509 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
510 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
513 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
515 _arg2
= new wxString(tmpPtr
, tmpSize
);
517 if (!PyString_Check(_obj2
)) {
518 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
521 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
525 if (_argo3
== Py_None
) { _arg3
= NULL
; }
526 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxWindow_p")) {
527 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGetPasswordFromUser. Expected _wxWindow_p.");
532 wxPy_BEGIN_ALLOW_THREADS
;
533 _result
= new wxString (wxGetPasswordFromUser(*_arg0
,*_arg1
,*_arg2
,_arg3
));
535 wxPy_END_ALLOW_THREADS
;
537 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
557 static PyObject
*_wrap_wxGetSingleChoice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
558 PyObject
* _resultobj
;
564 wxWindow
* _arg4
= (wxWindow
*) NULL
;
565 int _arg5
= (int ) -1;
566 int _arg6
= (int ) -1;
567 bool _arg7
= (bool ) TRUE
;
568 int _arg8
= (int ) 150;
569 int _arg9
= (int ) 200;
570 PyObject
* _obj0
= 0;
571 PyObject
* _obj1
= 0;
572 PyObject
* _obj3
= 0;
573 PyObject
* _argo4
= 0;
574 int tempbool7
= (int) TRUE
;
575 char *_kwnames
[] = { "message","caption","choices","parent","x","y","centre","width","height", NULL
};
578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|Oiiiii:wxGetSingleChoice",_kwnames
,&_obj0
,&_obj1
,&_obj3
,&_argo4
,&_arg5
,&_arg6
,&tempbool7
,&_arg8
,&_arg9
))
581 #if PYTHON_API_VERSION >= 1009
582 char* tmpPtr
; int tmpSize
;
583 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
584 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
587 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
589 _arg0
= new wxString(tmpPtr
, tmpSize
);
591 if (!PyString_Check(_obj0
)) {
592 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
595 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
599 #if PYTHON_API_VERSION >= 1009
600 char* tmpPtr
; int tmpSize
;
601 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
602 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
605 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
607 _arg1
= new wxString(tmpPtr
, tmpSize
);
609 if (!PyString_Check(_obj1
)) {
610 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
613 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
618 _arg3
= wxString_LIST_helper(_obj3
);
624 if (_argo4
== Py_None
) { _arg4
= NULL
; }
625 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_wxWindow_p")) {
626 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxGetSingleChoice. Expected _wxWindow_p.");
630 _arg7
= (bool ) tempbool7
;
633 _arg2
= PyList_Size(_obj3
);
640 wxPy_BEGIN_ALLOW_THREADS
;
641 _result
= new wxString (wxGetSingleChoice(*_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,_arg9
));
643 wxPy_END_ALLOW_THREADS
;
645 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
664 static PyObject
*_wrap_wxGetSingleChoiceIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
665 PyObject
* _resultobj
;
671 wxWindow
* _arg4
= (wxWindow
*) NULL
;
672 int _arg5
= (int ) -1;
673 int _arg6
= (int ) -1;
674 bool _arg7
= (bool ) TRUE
;
675 int _arg8
= (int ) 150;
676 int _arg9
= (int ) 200;
677 PyObject
* _obj0
= 0;
678 PyObject
* _obj1
= 0;
679 PyObject
* _obj3
= 0;
680 PyObject
* _argo4
= 0;
681 int tempbool7
= (int) TRUE
;
682 char *_kwnames
[] = { "message","caption","choices","parent","x","y","centre","width","height", NULL
};
685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|Oiiiii:wxGetSingleChoiceIndex",_kwnames
,&_obj0
,&_obj1
,&_obj3
,&_argo4
,&_arg5
,&_arg6
,&tempbool7
,&_arg8
,&_arg9
))
688 #if PYTHON_API_VERSION >= 1009
689 char* tmpPtr
; int tmpSize
;
690 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
691 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
694 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
696 _arg0
= new wxString(tmpPtr
, tmpSize
);
698 if (!PyString_Check(_obj0
)) {
699 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
702 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
706 #if PYTHON_API_VERSION >= 1009
707 char* tmpPtr
; int tmpSize
;
708 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
709 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
712 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
714 _arg1
= new wxString(tmpPtr
, tmpSize
);
716 if (!PyString_Check(_obj1
)) {
717 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
720 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
725 _arg3
= wxString_LIST_helper(_obj3
);
731 if (_argo4
== Py_None
) { _arg4
= NULL
; }
732 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_wxWindow_p")) {
733 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxGetSingleChoiceIndex. Expected _wxWindow_p.");
737 _arg7
= (bool ) tempbool7
;
740 _arg2
= PyList_Size(_obj3
);
747 wxPy_BEGIN_ALLOW_THREADS
;
748 _result
= (int )wxGetSingleChoiceIndex(*_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,_arg9
);
750 wxPy_END_ALLOW_THREADS
;
751 } _resultobj
= Py_BuildValue("i",_result
);
766 static PyObject
*_wrap_wxMessageBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
767 PyObject
* _resultobj
;
770 wxString
* _arg1
= (wxString
*) &wxPyEmptyStr
;
771 int _arg2
= (int ) wxOK
|wxCENTRE
;
772 wxWindow
* _arg3
= (wxWindow
*) NULL
;
773 int _arg4
= (int ) -1;
774 int _arg5
= (int ) -1;
775 PyObject
* _obj0
= 0;
776 PyObject
* _obj1
= 0;
777 PyObject
* _argo3
= 0;
778 char *_kwnames
[] = { "message","caption","style","parent","x","y", NULL
};
781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|OiOii:wxMessageBox",_kwnames
,&_obj0
,&_obj1
,&_arg2
,&_argo3
,&_arg4
,&_arg5
))
784 #if PYTHON_API_VERSION >= 1009
785 char* tmpPtr
; int tmpSize
;
786 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
787 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
790 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
792 _arg0
= new wxString(tmpPtr
, tmpSize
);
794 if (!PyString_Check(_obj0
)) {
795 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
798 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
803 #if PYTHON_API_VERSION >= 1009
804 char* tmpPtr
; int tmpSize
;
805 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
806 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
809 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
811 _arg1
= new wxString(tmpPtr
, tmpSize
);
813 if (!PyString_Check(_obj1
)) {
814 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
817 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
821 if (_argo3
== Py_None
) { _arg3
= NULL
; }
822 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxWindow_p")) {
823 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxMessageBox. Expected _wxWindow_p.");
828 wxPy_BEGIN_ALLOW_THREADS
;
829 _result
= (int )wxMessageBox(*_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
831 wxPy_END_ALLOW_THREADS
;
832 } _resultobj
= Py_BuildValue("i",_result
);
844 static PyObject
*_wrap_wxGetNumberFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
845 PyObject
* _resultobj
;
851 long _arg4
= (long ) 0;
852 long _arg5
= (long ) 100;
853 wxWindow
* _arg6
= (wxWindow
*) NULL
;
854 wxPoint
* _arg7
= (wxPoint
*) &wxDefaultPosition
;
855 PyObject
* _obj0
= 0;
856 PyObject
* _obj1
= 0;
857 PyObject
* _obj2
= 0;
858 PyObject
* _argo6
= 0;
860 PyObject
* _obj7
= 0;
861 char *_kwnames
[] = { "message","prompt","caption","value","min","max","parent","pos", NULL
};
864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOl|llOO:wxGetNumberFromUser",_kwnames
,&_obj0
,&_obj1
,&_obj2
,&_arg3
,&_arg4
,&_arg5
,&_argo6
,&_obj7
))
867 #if PYTHON_API_VERSION >= 1009
868 char* tmpPtr
; int tmpSize
;
869 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
870 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
873 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
875 _arg0
= new wxString(tmpPtr
, tmpSize
);
877 if (!PyString_Check(_obj0
)) {
878 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
881 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
885 #if PYTHON_API_VERSION >= 1009
886 char* tmpPtr
; int tmpSize
;
887 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
888 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
891 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
893 _arg1
= new wxString(tmpPtr
, tmpSize
);
895 if (!PyString_Check(_obj1
)) {
896 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
899 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
903 #if PYTHON_API_VERSION >= 1009
904 char* tmpPtr
; int tmpSize
;
905 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
906 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
909 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
911 _arg2
= new wxString(tmpPtr
, tmpSize
);
913 if (!PyString_Check(_obj2
)) {
914 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
917 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
921 if (_argo6
== Py_None
) { _arg6
= NULL
; }
922 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxWindow_p")) {
923 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxGetNumberFromUser. Expected _wxWindow_p.");
930 if (! wxPoint_helper(_obj7
, &_arg7
))
934 wxPy_BEGIN_ALLOW_THREADS
;
935 _result
= (long )wxGetNumberFromUser(*_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,*_arg7
);
937 wxPy_END_ALLOW_THREADS
;
938 } _resultobj
= Py_BuildValue("l",_result
);
954 static PyObject
*_wrap_wxColourDisplay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
955 PyObject
* _resultobj
;
957 char *_kwnames
[] = { NULL
};
960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxColourDisplay",_kwnames
))
963 wxPy_BEGIN_ALLOW_THREADS
;
964 _result
= (bool )wxColourDisplay();
966 wxPy_END_ALLOW_THREADS
;
967 } _resultobj
= Py_BuildValue("i",_result
);
971 static PyObject
*_wrap_wxDisplayDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
972 PyObject
* _resultobj
;
974 char *_kwnames
[] = { NULL
};
977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxDisplayDepth",_kwnames
))
980 wxPy_BEGIN_ALLOW_THREADS
;
981 _result
= (int )wxDisplayDepth();
983 wxPy_END_ALLOW_THREADS
;
984 } _resultobj
= Py_BuildValue("i",_result
);
988 static PyObject
*_wrap_wxGetDisplayDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
989 PyObject
* _resultobj
;
991 char *_kwnames
[] = { NULL
};
994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetDisplayDepth",_kwnames
))
997 wxPy_BEGIN_ALLOW_THREADS
;
998 _result
= (int )wxGetDisplayDepth();
1000 wxPy_END_ALLOW_THREADS
;
1001 } _resultobj
= Py_BuildValue("i",_result
);
1005 static PyObject
*_wrap_wxDisplaySize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1006 PyObject
* _resultobj
;
1011 char *_kwnames
[] = { NULL
};
1020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxDisplaySize",_kwnames
))
1023 wxPy_BEGIN_ALLOW_THREADS
;
1024 wxDisplaySize(_arg0
,_arg1
);
1026 wxPy_END_ALLOW_THREADS
;
1027 } Py_INCREF(Py_None
);
1028 _resultobj
= Py_None
;
1031 o
= PyInt_FromLong((long) (*_arg0
));
1032 _resultobj
= t_output_helper(_resultobj
, o
);
1036 o
= PyInt_FromLong((long) (*_arg1
));
1037 _resultobj
= t_output_helper(_resultobj
, o
);
1042 static PyObject
*_wrap_wxGetDisplaySize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1043 PyObject
* _resultobj
;
1045 char *_kwnames
[] = { NULL
};
1049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetDisplaySize",_kwnames
))
1052 wxPy_BEGIN_ALLOW_THREADS
;
1053 _result
= new wxSize (wxGetDisplaySize());
1055 wxPy_END_ALLOW_THREADS
;
1056 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
1057 _resultobj
= Py_BuildValue("s",_ptemp
);
1061 static PyObject
*_wrap_wxDisplaySizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1062 PyObject
* _resultobj
;
1067 char *_kwnames
[] = { NULL
};
1076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxDisplaySizeMM",_kwnames
))
1079 wxPy_BEGIN_ALLOW_THREADS
;
1080 wxDisplaySizeMM(_arg0
,_arg1
);
1082 wxPy_END_ALLOW_THREADS
;
1083 } Py_INCREF(Py_None
);
1084 _resultobj
= Py_None
;
1087 o
= PyInt_FromLong((long) (*_arg0
));
1088 _resultobj
= t_output_helper(_resultobj
, o
);
1092 o
= PyInt_FromLong((long) (*_arg1
));
1093 _resultobj
= t_output_helper(_resultobj
, o
);
1098 static PyObject
*_wrap_wxGetDisplaySizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1099 PyObject
* _resultobj
;
1101 char *_kwnames
[] = { NULL
};
1105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetDisplaySizeMM",_kwnames
))
1108 wxPy_BEGIN_ALLOW_THREADS
;
1109 _result
= new wxSize (wxGetDisplaySizeMM());
1111 wxPy_END_ALLOW_THREADS
;
1112 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
1113 _resultobj
= Py_BuildValue("s",_ptemp
);
1117 static PyObject
*_wrap_wxClientDisplayRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1118 PyObject
* _resultobj
;
1127 char *_kwnames
[] = { NULL
};
1142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxClientDisplayRect",_kwnames
))
1145 wxPy_BEGIN_ALLOW_THREADS
;
1146 wxClientDisplayRect(_arg0
,_arg1
,_arg2
,_arg3
);
1148 wxPy_END_ALLOW_THREADS
;
1149 } Py_INCREF(Py_None
);
1150 _resultobj
= Py_None
;
1153 o
= PyInt_FromLong((long) (*_arg0
));
1154 _resultobj
= t_output_helper(_resultobj
, o
);
1158 o
= PyInt_FromLong((long) (*_arg1
));
1159 _resultobj
= t_output_helper(_resultobj
, o
);
1163 o
= PyInt_FromLong((long) (*_arg2
));
1164 _resultobj
= t_output_helper(_resultobj
, o
);
1168 o
= PyInt_FromLong((long) (*_arg3
));
1169 _resultobj
= t_output_helper(_resultobj
, o
);
1174 static PyObject
*_wrap_wxGetClientDisplayRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1175 PyObject
* _resultobj
;
1177 char *_kwnames
[] = { NULL
};
1181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetClientDisplayRect",_kwnames
))
1184 wxPy_BEGIN_ALLOW_THREADS
;
1185 _result
= new wxRect (wxGetClientDisplayRect());
1187 wxPy_END_ALLOW_THREADS
;
1188 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
1189 _resultobj
= Py_BuildValue("s",_ptemp
);
1193 static PyObject
*_wrap_wxSetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1194 PyObject
* _resultobj
;
1196 PyObject
* _argo0
= 0;
1197 char *_kwnames
[] = { "cursor", NULL
};
1200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSetCursor",_kwnames
,&_argo0
))
1203 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1204 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
1205 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSetCursor. Expected _wxCursor_p.");
1210 wxPy_BEGIN_ALLOW_THREADS
;
1211 wxSetCursor(*_arg0
);
1213 wxPy_END_ALLOW_THREADS
;
1214 } Py_INCREF(Py_None
);
1215 _resultobj
= Py_None
;
1219 static PyObject
*_wrap_wxFindWindowByLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1220 PyObject
* _resultobj
;
1223 wxWindow
* _arg1
= (wxWindow
*) NULL
;
1224 PyObject
* _obj0
= 0;
1225 PyObject
* _argo1
= 0;
1226 char *_kwnames
[] = { "label","parent", NULL
};
1229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxFindWindowByLabel",_kwnames
,&_obj0
,&_argo1
))
1232 #if PYTHON_API_VERSION >= 1009
1233 char* tmpPtr
; int tmpSize
;
1234 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
1235 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1238 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
1240 _arg0
= new wxString(tmpPtr
, tmpSize
);
1242 if (!PyString_Check(_obj0
)) {
1243 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1246 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
1250 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1251 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1252 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFindWindowByLabel. Expected _wxWindow_p.");
1257 wxPy_BEGIN_ALLOW_THREADS
;
1258 _result
= (wxWindow
*)wxFindWindowByLabel(*_arg0
,_arg1
);
1260 wxPy_END_ALLOW_THREADS
;
1261 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1269 static PyObject
*_wrap_wxFindWindowByName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1270 PyObject
* _resultobj
;
1273 wxWindow
* _arg1
= (wxWindow
*) NULL
;
1274 PyObject
* _obj0
= 0;
1275 PyObject
* _argo1
= 0;
1276 char *_kwnames
[] = { "name","parent", NULL
};
1279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxFindWindowByName",_kwnames
,&_obj0
,&_argo1
))
1282 #if PYTHON_API_VERSION >= 1009
1283 char* tmpPtr
; int tmpSize
;
1284 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
1285 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1288 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
1290 _arg0
= new wxString(tmpPtr
, tmpSize
);
1292 if (!PyString_Check(_obj0
)) {
1293 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1296 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
1300 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1301 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1302 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFindWindowByName. Expected _wxWindow_p.");
1307 wxPy_BEGIN_ALLOW_THREADS
;
1308 _result
= (wxWindow
*)wxFindWindowByName(*_arg0
,_arg1
);
1310 wxPy_END_ALLOW_THREADS
;
1311 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1319 static PyObject
*_wrap_wxBeginBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1320 PyObject
* _resultobj
;
1321 wxCursor
* _arg0
= (wxCursor
*) wxHOURGLASS_CURSOR
;
1322 PyObject
* _argo0
= 0;
1323 char *_kwnames
[] = { "cursor", NULL
};
1326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:wxBeginBusyCursor",_kwnames
,&_argo0
))
1329 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1330 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
1331 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBeginBusyCursor. Expected _wxCursor_p.");
1336 wxPy_BEGIN_ALLOW_THREADS
;
1337 wxBeginBusyCursor(_arg0
);
1339 wxPy_END_ALLOW_THREADS
;
1340 } Py_INCREF(Py_None
);
1341 _resultobj
= Py_None
;
1345 static PyObject
*_wrap_wxGetActiveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1346 PyObject
* _resultobj
;
1348 char *_kwnames
[] = { NULL
};
1351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetActiveWindow",_kwnames
))
1354 wxPy_BEGIN_ALLOW_THREADS
;
1355 _result
= (wxWindow
*)wxGetActiveWindow();
1357 wxPy_END_ALLOW_THREADS
;
1358 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1362 static PyObject
*_wrap_wxGenericFindWindowAtPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1363 PyObject
* _resultobj
;
1367 PyObject
* _obj0
= 0;
1368 char *_kwnames
[] = { "pt", NULL
};
1371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGenericFindWindowAtPoint",_kwnames
,&_obj0
))
1375 if (! wxPoint_helper(_obj0
, &_arg0
))
1379 wxPy_BEGIN_ALLOW_THREADS
;
1380 _result
= (wxWindow
*)wxGenericFindWindowAtPoint(*_arg0
);
1382 wxPy_END_ALLOW_THREADS
;
1383 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1387 static PyObject
*_wrap_wxFindWindowAtPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1388 PyObject
* _resultobj
;
1392 PyObject
* _obj0
= 0;
1393 char *_kwnames
[] = { "pt", NULL
};
1396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFindWindowAtPoint",_kwnames
,&_obj0
))
1400 if (! wxPoint_helper(_obj0
, &_arg0
))
1404 wxPy_BEGIN_ALLOW_THREADS
;
1405 _result
= (wxWindow
*)wxFindWindowAtPoint(*_arg0
);
1407 wxPy_END_ALLOW_THREADS
;
1408 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1412 static PyObject
*_wrap_wxCheckForInterrupt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1413 PyObject
* _resultobj
;
1416 PyObject
* _argo0
= 0;
1417 char *_kwnames
[] = { "wnd", NULL
};
1420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCheckForInterrupt",_kwnames
,&_argo0
))
1423 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1424 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1425 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckForInterrupt. Expected _wxWindow_p.");
1430 wxPy_BEGIN_ALLOW_THREADS
;
1431 _result
= (bool )wxCheckForInterrupt(_arg0
);
1433 wxPy_END_ALLOW_THREADS
;
1434 } _resultobj
= Py_BuildValue("i",_result
);
1438 static PyObject
*_wrap_wxFlushEvents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1439 PyObject
* _resultobj
;
1440 char *_kwnames
[] = { NULL
};
1443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxFlushEvents",_kwnames
))
1446 wxPy_BEGIN_ALLOW_THREADS
;
1449 wxPy_END_ALLOW_THREADS
;
1450 } Py_INCREF(Py_None
);
1451 _resultobj
= Py_None
;
1455 static PyObject
*_wrap_wxResourceAddIdentifier(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1456 PyObject
* _resultobj
;
1460 char *_kwnames
[] = { "name","value", NULL
};
1463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"si:wxResourceAddIdentifier",_kwnames
,&_arg0
,&_arg1
))
1466 wxPy_BEGIN_ALLOW_THREADS
;
1467 _result
= (bool )wxResourceAddIdentifier(_arg0
,_arg1
);
1469 wxPy_END_ALLOW_THREADS
;
1470 } _resultobj
= Py_BuildValue("i",_result
);
1474 static PyObject
*_wrap_wxResourceClear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1475 PyObject
* _resultobj
;
1476 char *_kwnames
[] = { NULL
};
1479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxResourceClear",_kwnames
))
1482 wxPy_BEGIN_ALLOW_THREADS
;
1485 wxPy_END_ALLOW_THREADS
;
1486 } Py_INCREF(Py_None
);
1487 _resultobj
= Py_None
;
1491 static PyObject
*_wrap_wxResourceCreateBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1492 PyObject
* _resultobj
;
1495 char *_kwnames
[] = { "resource", NULL
};
1499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxResourceCreateBitmap",_kwnames
,&_arg0
))
1502 wxPy_BEGIN_ALLOW_THREADS
;
1503 _result
= new wxBitmap (wxResourceCreateBitmap(_arg0
));
1505 wxPy_END_ALLOW_THREADS
;
1506 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBitmap_p");
1507 _resultobj
= Py_BuildValue("s",_ptemp
);
1511 static PyObject
*_wrap_wxResourceCreateIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1512 PyObject
* _resultobj
;
1515 char *_kwnames
[] = { "resource", NULL
};
1519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxResourceCreateIcon",_kwnames
,&_arg0
))
1522 wxPy_BEGIN_ALLOW_THREADS
;
1523 _result
= new wxIcon (wxResourceCreateIcon(_arg0
));
1525 wxPy_END_ALLOW_THREADS
;
1526 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxIcon_p");
1527 _resultobj
= Py_BuildValue("s",_ptemp
);
1531 static PyObject
*_wrap_wxResourceCreateMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1532 PyObject
* _resultobj
;
1533 wxMenuBar
* _result
;
1535 char *_kwnames
[] = { "resource", NULL
};
1538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxResourceCreateMenuBar",_kwnames
,&_arg0
))
1541 wxPy_BEGIN_ALLOW_THREADS
;
1542 _result
= (wxMenuBar
*)wxResourceCreateMenuBar(_arg0
);
1544 wxPy_END_ALLOW_THREADS
;
1545 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1549 static PyObject
*_wrap_wxResourceGetIdentifier(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1550 PyObject
* _resultobj
;
1553 char *_kwnames
[] = { "name", NULL
};
1556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxResourceGetIdentifier",_kwnames
,&_arg0
))
1559 wxPy_BEGIN_ALLOW_THREADS
;
1560 _result
= (int )wxResourceGetIdentifier(_arg0
);
1562 wxPy_END_ALLOW_THREADS
;
1563 } _resultobj
= Py_BuildValue("i",_result
);
1567 static PyObject
*_wrap_wxResourceParseData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1568 PyObject
* _resultobj
;
1571 wxResourceTable
* _arg1
= (wxResourceTable
*) NULL
;
1572 PyObject
* _argo1
= 0;
1573 char *_kwnames
[] = { "resource","table", NULL
};
1576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s|O:wxResourceParseData",_kwnames
,&_arg0
,&_argo1
))
1579 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1580 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxResourceTable_p")) {
1581 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxResourceParseData. Expected _wxResourceTable_p.");
1586 wxPy_BEGIN_ALLOW_THREADS
;
1587 _result
= (bool )wxResourceParseData(_arg0
,_arg1
);
1589 wxPy_END_ALLOW_THREADS
;
1590 } _resultobj
= Py_BuildValue("i",_result
);
1594 static PyObject
*_wrap_wxResourceParseFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1595 PyObject
* _resultobj
;
1598 wxResourceTable
* _arg1
= (wxResourceTable
*) NULL
;
1599 PyObject
* _argo1
= 0;
1600 char *_kwnames
[] = { "filename","table", NULL
};
1603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s|O:wxResourceParseFile",_kwnames
,&_arg0
,&_argo1
))
1606 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1607 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxResourceTable_p")) {
1608 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxResourceParseFile. Expected _wxResourceTable_p.");
1613 wxPy_BEGIN_ALLOW_THREADS
;
1614 _result
= (bool )wxResourceParseFile(_arg0
,_arg1
);
1616 wxPy_END_ALLOW_THREADS
;
1617 } _resultobj
= Py_BuildValue("i",_result
);
1621 static PyObject
*_wrap_wxResourceParseString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1622 PyObject
* _resultobj
;
1625 wxResourceTable
* _arg1
= (wxResourceTable
*) NULL
;
1626 PyObject
* _argo1
= 0;
1627 char *_kwnames
[] = { "resource","table", NULL
};
1630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s|O:wxResourceParseString",_kwnames
,&_arg0
,&_argo1
))
1633 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1634 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxResourceTable_p")) {
1635 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxResourceParseString. Expected _wxResourceTable_p.");
1640 wxPy_BEGIN_ALLOW_THREADS
;
1641 _result
= (bool )wxResourceParseString(_arg0
,_arg1
);
1643 wxPy_END_ALLOW_THREADS
;
1644 } _resultobj
= Py_BuildValue("i",_result
);
1648 static PyObject
*_wrap_wxSystemSettings_GetSystemColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1649 PyObject
* _resultobj
;
1652 char *_kwnames
[] = { "index", NULL
};
1656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSystemSettings_GetSystemColour",_kwnames
,&_arg0
))
1659 wxPy_BEGIN_ALLOW_THREADS
;
1660 _result
= new wxColour (wxSystemSettings_GetSystemColour(_arg0
));
1662 wxPy_END_ALLOW_THREADS
;
1663 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
1664 _resultobj
= Py_BuildValue("s",_ptemp
);
1668 static PyObject
*_wrap_wxSystemSettings_GetSystemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1669 PyObject
* _resultobj
;
1672 char *_kwnames
[] = { "index", NULL
};
1676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSystemSettings_GetSystemFont",_kwnames
,&_arg0
))
1679 wxPy_BEGIN_ALLOW_THREADS
;
1680 _result
= new wxFont (wxSystemSettings_GetSystemFont(_arg0
));
1682 wxPy_END_ALLOW_THREADS
;
1683 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
1684 _resultobj
= Py_BuildValue("s",_ptemp
);
1688 static PyObject
*_wrap_wxSystemSettings_GetSystemMetric(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1689 PyObject
* _resultobj
;
1692 char *_kwnames
[] = { "index", NULL
};
1695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSystemSettings_GetSystemMetric",_kwnames
,&_arg0
))
1698 wxPy_BEGIN_ALLOW_THREADS
;
1699 _result
= (int )wxSystemSettings_GetSystemMetric(_arg0
);
1701 wxPy_END_ALLOW_THREADS
;
1702 } _resultobj
= Py_BuildValue("i",_result
);
1706 static PyObject
*_wrap_wxCaret_GetBlinkTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1707 PyObject
* _resultobj
;
1709 char *_kwnames
[] = { NULL
};
1712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxCaret_GetBlinkTime",_kwnames
))
1715 wxPy_BEGIN_ALLOW_THREADS
;
1716 _result
= (int )wxCaret_GetBlinkTime();
1718 wxPy_END_ALLOW_THREADS
;
1719 } _resultobj
= Py_BuildValue("i",_result
);
1723 static PyObject
*_wrap_wxCaret_SetBlinkTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1724 PyObject
* _resultobj
;
1726 char *_kwnames
[] = { "milliseconds", NULL
};
1729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxCaret_SetBlinkTime",_kwnames
,&_arg0
))
1732 wxPy_BEGIN_ALLOW_THREADS
;
1733 wxCaret_SetBlinkTime(_arg0
);
1735 wxPy_END_ALLOW_THREADS
;
1736 } Py_INCREF(Py_None
);
1737 _resultobj
= Py_None
;
1741 static PyObject
*_wrap_wxSafeYield(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1742 PyObject
* _resultobj
;
1744 wxWindow
* _arg0
= (wxWindow
*) NULL
;
1745 PyObject
* _argo0
= 0;
1746 char *_kwnames
[] = { "win", NULL
};
1749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:wxSafeYield",_kwnames
,&_argo0
))
1752 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1753 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1754 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSafeYield. Expected _wxWindow_p.");
1759 wxPy_BEGIN_ALLOW_THREADS
;
1760 _result
= (bool )wxSafeYield(_arg0
);
1762 wxPy_END_ALLOW_THREADS
;
1763 } _resultobj
= Py_BuildValue("i",_result
);
1767 static PyObject
*_wrap_wxPostEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1768 PyObject
* _resultobj
;
1769 wxEvtHandler
* _arg0
;
1771 PyObject
* _argo0
= 0;
1772 PyObject
* _argo1
= 0;
1773 char *_kwnames
[] = { "dest","event", NULL
};
1776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPostEvent",_kwnames
,&_argo0
,&_argo1
))
1779 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1780 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
1781 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPostEvent. Expected _wxEvtHandler_p.");
1786 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1787 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvent_p")) {
1788 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPostEvent. Expected _wxEvent_p.");
1793 wxPy_BEGIN_ALLOW_THREADS
;
1794 wxPostEvent(_arg0
,*_arg1
);
1796 wxPy_END_ALLOW_THREADS
;
1797 } Py_INCREF(Py_None
);
1798 _resultobj
= Py_None
;
1802 static PyObject
*_wrap_wxWakeUpIdle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1803 PyObject
* _resultobj
;
1804 char *_kwnames
[] = { NULL
};
1807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxWakeUpIdle",_kwnames
))
1810 wxPy_BEGIN_ALLOW_THREADS
;
1813 wxPy_END_ALLOW_THREADS
;
1814 } Py_INCREF(Py_None
);
1815 _resultobj
= Py_None
;
1819 static PyObject
*_wrap_wxWakeUpMainThread(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1820 PyObject
* _resultobj
;
1821 char *_kwnames
[] = { NULL
};
1824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxWakeUpMainThread",_kwnames
))
1827 wxPy_BEGIN_ALLOW_THREADS
;
1828 wxWakeUpMainThread();
1830 wxPy_END_ALLOW_THREADS
;
1831 } Py_INCREF(Py_None
);
1832 _resultobj
= Py_None
;
1836 static PyObject
*_wrap_wxMutexGuiEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1837 PyObject
* _resultobj
;
1838 char *_kwnames
[] = { NULL
};
1841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxMutexGuiEnter",_kwnames
))
1844 wxPy_BEGIN_ALLOW_THREADS
;
1847 wxPy_END_ALLOW_THREADS
;
1848 } Py_INCREF(Py_None
);
1849 _resultobj
= Py_None
;
1853 static PyObject
*_wrap_wxMutexGuiLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1854 PyObject
* _resultobj
;
1855 char *_kwnames
[] = { NULL
};
1858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxMutexGuiLeave",_kwnames
))
1861 wxPy_BEGIN_ALLOW_THREADS
;
1864 wxPy_END_ALLOW_THREADS
;
1865 } Py_INCREF(Py_None
);
1866 _resultobj
= Py_None
;
1870 static PyObject
*_wrap_wxThread_IsMain(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1871 PyObject
* _resultobj
;
1873 char *_kwnames
[] = { NULL
};
1876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxThread_IsMain",_kwnames
))
1879 wxPy_BEGIN_ALLOW_THREADS
;
1880 _result
= (bool )wxThread_IsMain();
1882 wxPy_END_ALLOW_THREADS
;
1883 } _resultobj
= Py_BuildValue("i",_result
);
1887 static PyObject
*_wrap_wxShowTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1888 PyObject
* _resultobj
;
1891 wxTipProvider
* _arg1
;
1892 bool _arg2
= (bool ) TRUE
;
1893 PyObject
* _argo0
= 0;
1894 PyObject
* _argo1
= 0;
1895 int tempbool2
= (int) TRUE
;
1896 char *_kwnames
[] = { "parent","tipProvider","showAtStartup", NULL
};
1899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxShowTip",_kwnames
,&_argo0
,&_argo1
,&tempbool2
))
1902 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1903 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1904 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShowTip. Expected _wxWindow_p.");
1909 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1910 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTipProvider_p")) {
1911 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxShowTip. Expected _wxTipProvider_p.");
1915 _arg2
= (bool ) tempbool2
;
1917 wxPy_BEGIN_ALLOW_THREADS
;
1918 _result
= (bool )wxShowTip(_arg0
,_arg1
,_arg2
);
1920 wxPy_END_ALLOW_THREADS
;
1921 } _resultobj
= Py_BuildValue("i",_result
);
1925 static PyObject
*_wrap_wxCreateFileTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1926 PyObject
* _resultobj
;
1927 wxTipProvider
* _result
;
1930 PyObject
* _obj0
= 0;
1931 char *_kwnames
[] = { "filename","currentTip", NULL
};
1935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxCreateFileTipProvider",_kwnames
,&_obj0
,&_arg1
))
1938 #if PYTHON_API_VERSION >= 1009
1939 char* tmpPtr
; int tmpSize
;
1940 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
1941 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1944 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
1946 _arg0
= new wxString(tmpPtr
, tmpSize
);
1948 if (!PyString_Check(_obj0
)) {
1949 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1952 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
1956 wxPy_BEGIN_ALLOW_THREADS
;
1957 _result
= (wxTipProvider
*)wxCreateFileTipProvider(*_arg0
,_arg1
);
1959 wxPy_END_ALLOW_THREADS
;
1961 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTipProvider_p");
1962 _resultobj
= Py_BuildValue("s",_ptemp
);
1965 _resultobj
= Py_None
;
1974 static PyObject
*_wrap_wxSysErrorCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1975 PyObject
* _resultobj
;
1976 unsigned long _result
;
1977 char *_kwnames
[] = { NULL
};
1980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxSysErrorCode",_kwnames
))
1983 wxPy_BEGIN_ALLOW_THREADS
;
1984 _result
= (unsigned long )wxSysErrorCode();
1986 wxPy_END_ALLOW_THREADS
;
1987 } _resultobj
= Py_BuildValue("l",_result
);
1991 static PyObject
*_wrap_wxSysErrorMsg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1992 PyObject
* _resultobj
;
1994 unsigned long _arg0
= (unsigned long ) 0;
1995 char *_kwnames
[] = { "nErrCode", NULL
};
1998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|l:wxSysErrorMsg",_kwnames
,&_arg0
))
2001 wxPy_BEGIN_ALLOW_THREADS
;
2002 _result
= (char *)wxSysErrorMsg(_arg0
);
2004 wxPy_END_ALLOW_THREADS
;
2005 } _resultobj
= Py_BuildValue("s", _result
);
2009 static PyObject
*_wrap_wxLogFatalError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2010 PyObject
* _resultobj
;
2012 char *_kwnames
[] = { "szFormat", NULL
};
2015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLogFatalError",_kwnames
,&_arg0
))
2018 wxPy_BEGIN_ALLOW_THREADS
;
2019 wxLogFatalError(_arg0
);
2021 wxPy_END_ALLOW_THREADS
;
2022 } Py_INCREF(Py_None
);
2023 _resultobj
= Py_None
;
2027 static PyObject
*_wrap_wxLogError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2028 PyObject
* _resultobj
;
2030 char *_kwnames
[] = { "szFormat", NULL
};
2033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLogError",_kwnames
,&_arg0
))
2036 wxPy_BEGIN_ALLOW_THREADS
;
2039 wxPy_END_ALLOW_THREADS
;
2040 } Py_INCREF(Py_None
);
2041 _resultobj
= Py_None
;
2045 static PyObject
*_wrap_wxLogWarning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2046 PyObject
* _resultobj
;
2048 char *_kwnames
[] = { "szFormat", NULL
};
2051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLogWarning",_kwnames
,&_arg0
))
2054 wxPy_BEGIN_ALLOW_THREADS
;
2055 wxLogWarning(_arg0
);
2057 wxPy_END_ALLOW_THREADS
;
2058 } Py_INCREF(Py_None
);
2059 _resultobj
= Py_None
;
2063 static PyObject
*_wrap_wxLogMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2064 PyObject
* _resultobj
;
2066 char *_kwnames
[] = { "szFormat", NULL
};
2069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLogMessage",_kwnames
,&_arg0
))
2072 wxPy_BEGIN_ALLOW_THREADS
;
2073 wxLogMessage(_arg0
);
2075 wxPy_END_ALLOW_THREADS
;
2076 } Py_INCREF(Py_None
);
2077 _resultobj
= Py_None
;
2081 static PyObject
*_wrap_wxLogInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2082 PyObject
* _resultobj
;
2084 char *_kwnames
[] = { "szFormat", NULL
};
2087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLogInfo",_kwnames
,&_arg0
))
2090 wxPy_BEGIN_ALLOW_THREADS
;
2093 wxPy_END_ALLOW_THREADS
;
2094 } Py_INCREF(Py_None
);
2095 _resultobj
= Py_None
;
2099 static PyObject
*_wrap_wxLogVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2100 PyObject
* _resultobj
;
2102 char *_kwnames
[] = { "szFormat", NULL
};
2105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLogVerbose",_kwnames
,&_arg0
))
2108 wxPy_BEGIN_ALLOW_THREADS
;
2109 wxLogVerbose(_arg0
);
2111 wxPy_END_ALLOW_THREADS
;
2112 } Py_INCREF(Py_None
);
2113 _resultobj
= Py_None
;
2117 static PyObject
*_wrap_wxLogStatus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2118 PyObject
* _resultobj
;
2120 char *_kwnames
[] = { "szFormat", NULL
};
2123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLogStatus",_kwnames
,&_arg0
))
2126 wxPy_BEGIN_ALLOW_THREADS
;
2129 wxPy_END_ALLOW_THREADS
;
2130 } Py_INCREF(Py_None
);
2131 _resultobj
= Py_None
;
2135 static PyObject
*_wrap_wxLogStatusFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2136 PyObject
* _resultobj
;
2139 PyObject
* _argo0
= 0;
2140 char *_kwnames
[] = { "pFrame","szFormat", NULL
};
2143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Os:wxLogStatusFrame",_kwnames
,&_argo0
,&_arg1
))
2146 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2147 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
2148 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogStatusFrame. Expected _wxFrame_p.");
2153 wxPy_BEGIN_ALLOW_THREADS
;
2154 wxLogStatus(_arg0
,_arg1
);
2156 wxPy_END_ALLOW_THREADS
;
2157 } Py_INCREF(Py_None
);
2158 _resultobj
= Py_None
;
2162 static PyObject
*_wrap_wxLogSysError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2163 PyObject
* _resultobj
;
2165 char *_kwnames
[] = { "szFormat", NULL
};
2168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLogSysError",_kwnames
,&_arg0
))
2171 wxPy_BEGIN_ALLOW_THREADS
;
2172 wxLogSysError(_arg0
);
2174 wxPy_END_ALLOW_THREADS
;
2175 } Py_INCREF(Py_None
);
2176 _resultobj
= Py_None
;
2180 static PyObject
*_wrap_wxExecute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2181 PyObject
* _resultobj
;
2184 int _arg1
= (int ) FALSE
;
2185 wxPyProcess
* _arg2
= (wxPyProcess
*) NULL
;
2186 PyObject
* _obj0
= 0;
2187 PyObject
* _argo2
= 0;
2188 char *_kwnames
[] = { "command","sync","process", NULL
};
2191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iO:wxExecute",_kwnames
,&_obj0
,&_arg1
,&_argo2
))
2194 #if PYTHON_API_VERSION >= 1009
2195 char* tmpPtr
; int tmpSize
;
2196 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
2197 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2200 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
2202 _arg0
= new wxString(tmpPtr
, tmpSize
);
2204 if (!PyString_Check(_obj0
)) {
2205 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2208 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
2212 if (_argo2
== Py_None
) { _arg2
= NULL
; }
2213 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPyProcess_p")) {
2214 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxExecute. Expected _wxPyProcess_p.");
2219 wxPy_BEGIN_ALLOW_THREADS
;
2220 _result
= (long )wxExecute(*_arg0
,_arg1
,_arg2
);
2222 wxPy_END_ALLOW_THREADS
;
2223 } _resultobj
= Py_BuildValue("l",_result
);
2231 static PyObject
*_wrap_wxWaveData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2232 PyObject
* _resultobj
;
2235 PyObject
* _obj0
= 0;
2236 char *_kwnames
[] = { "data", NULL
};
2240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWaveData",_kwnames
,&_obj0
))
2243 #if PYTHON_API_VERSION >= 1009
2244 char* tmpPtr
; int tmpSize
;
2245 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
2246 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2249 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
2251 _arg0
= new wxString(tmpPtr
, tmpSize
);
2253 if (!PyString_Check(_obj0
)) {
2254 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2257 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
2261 wxPy_BEGIN_ALLOW_THREADS
;
2262 _result
= (wxWave
*)wxWaveData(*_arg0
);
2264 wxPy_END_ALLOW_THREADS
;
2266 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWave_p");
2267 _resultobj
= Py_BuildValue("s",_ptemp
);
2270 _resultobj
= Py_None
;
2279 static int _wrap_wxTheMimeTypesManager_set(PyObject
*val
) {
2281 PyErr_SetString(PyExc_TypeError
,"Variable wxTheMimeTypesManager is read-only.");
2285 static PyObject
*_wrap_wxTheMimeTypesManager_get() {
2289 SWIG_MakePtr(ptemp
, (char *) wxTheMimeTypesManager
,"_wxMimeTypesManager_p");
2290 pyobj
= PyString_FromString(ptemp
);
2294 static void *SwigwxToolTipTowxObject(void *ptr
) {
2297 src
= (wxToolTip
*) ptr
;
2298 dest
= (wxObject
*) src
;
2299 return (void *) dest
;
2302 #define new_wxToolTip(_swigarg0) (new wxToolTip(_swigarg0))
2303 static PyObject
*_wrap_new_wxToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2304 PyObject
* _resultobj
;
2305 wxToolTip
* _result
;
2307 PyObject
* _obj0
= 0;
2308 char *_kwnames
[] = { "tip", NULL
};
2312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxToolTip",_kwnames
,&_obj0
))
2315 #if PYTHON_API_VERSION >= 1009
2316 char* tmpPtr
; int tmpSize
;
2317 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
2318 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2321 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
2323 _arg0
= new wxString(tmpPtr
, tmpSize
);
2325 if (!PyString_Check(_obj0
)) {
2326 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2329 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
2333 wxPy_BEGIN_ALLOW_THREADS
;
2334 _result
= (wxToolTip
*)new_wxToolTip(*_arg0
);
2336 wxPy_END_ALLOW_THREADS
;
2338 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToolTip_p");
2339 _resultobj
= Py_BuildValue("s",_ptemp
);
2342 _resultobj
= Py_None
;
2351 #define wxToolTip_SetTip(_swigobj,_swigarg0) (_swigobj->SetTip(_swigarg0))
2352 static PyObject
*_wrap_wxToolTip_SetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2353 PyObject
* _resultobj
;
2356 PyObject
* _argo0
= 0;
2357 PyObject
* _obj1
= 0;
2358 char *_kwnames
[] = { "self","tip", NULL
};
2361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxToolTip_SetTip",_kwnames
,&_argo0
,&_obj1
))
2364 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2365 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolTip_p")) {
2366 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolTip_SetTip. Expected _wxToolTip_p.");
2371 #if PYTHON_API_VERSION >= 1009
2372 char* tmpPtr
; int tmpSize
;
2373 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
2374 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2377 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
2379 _arg1
= new wxString(tmpPtr
, tmpSize
);
2381 if (!PyString_Check(_obj1
)) {
2382 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2385 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
2389 wxPy_BEGIN_ALLOW_THREADS
;
2390 wxToolTip_SetTip(_arg0
,*_arg1
);
2392 wxPy_END_ALLOW_THREADS
;
2393 } Py_INCREF(Py_None
);
2394 _resultobj
= Py_None
;
2402 #define wxToolTip_GetTip(_swigobj) (_swigobj->GetTip())
2403 static PyObject
*_wrap_wxToolTip_GetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2404 PyObject
* _resultobj
;
2407 PyObject
* _argo0
= 0;
2408 char *_kwnames
[] = { "self", NULL
};
2411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolTip_GetTip",_kwnames
,&_argo0
))
2414 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2415 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolTip_p")) {
2416 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolTip_GetTip. Expected _wxToolTip_p.");
2421 wxPy_BEGIN_ALLOW_THREADS
;
2422 _result
= new wxString (wxToolTip_GetTip(_arg0
));
2424 wxPy_END_ALLOW_THREADS
;
2426 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2434 #define wxToolTip_GetWindow(_swigobj) (_swigobj->GetWindow())
2435 static PyObject
*_wrap_wxToolTip_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2436 PyObject
* _resultobj
;
2439 PyObject
* _argo0
= 0;
2440 char *_kwnames
[] = { "self", NULL
};
2443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolTip_GetWindow",_kwnames
,&_argo0
))
2446 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2447 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolTip_p")) {
2448 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolTip_GetWindow. Expected _wxToolTip_p.");
2453 wxPy_BEGIN_ALLOW_THREADS
;
2454 _result
= (wxWindow
*)wxToolTip_GetWindow(_arg0
);
2456 wxPy_END_ALLOW_THREADS
;
2457 }{ _resultobj
= wxPyMake_wxObject(_result
); }
2461 static PyObject
*_wrap_wxToolTip_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2462 PyObject
* _resultobj
;
2465 char *_kwnames
[] = { "flag", NULL
};
2468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxToolTip_Enable",_kwnames
,&tempbool0
))
2470 _arg0
= (bool ) tempbool0
;
2472 wxPy_BEGIN_ALLOW_THREADS
;
2473 wxToolTip::Enable(_arg0
);
2475 wxPy_END_ALLOW_THREADS
;
2476 } Py_INCREF(Py_None
);
2477 _resultobj
= Py_None
;
2481 static PyObject
*_wrap_wxToolTip_SetDelay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2482 PyObject
* _resultobj
;
2484 char *_kwnames
[] = { "milliseconds", NULL
};
2487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:wxToolTip_SetDelay",_kwnames
,&_arg0
))
2490 wxPy_BEGIN_ALLOW_THREADS
;
2491 wxToolTip::SetDelay(_arg0
);
2493 wxPy_END_ALLOW_THREADS
;
2494 } Py_INCREF(Py_None
);
2495 _resultobj
= Py_None
;
2499 #define new_wxCaret(_swigarg0,_swigarg1) (new wxCaret(_swigarg0,_swigarg1))
2500 static PyObject
*_wrap_new_wxCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2501 PyObject
* _resultobj
;
2505 PyObject
* _argo0
= 0;
2507 PyObject
* _obj1
= 0;
2508 char *_kwnames
[] = { "window","size", NULL
};
2512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:new_wxCaret",_kwnames
,&_argo0
,&_obj1
))
2515 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2516 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2517 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxCaret. Expected _wxWindow_p.");
2523 if (! wxSize_helper(_obj1
, &_arg1
))
2527 wxPy_BEGIN_ALLOW_THREADS
;
2528 _result
= (wxCaret
*)new_wxCaret(_arg0
,*_arg1
);
2530 wxPy_END_ALLOW_THREADS
;
2532 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCaret_p");
2533 _resultobj
= Py_BuildValue("s",_ptemp
);
2536 _resultobj
= Py_None
;
2541 #define delete_wxCaret(_swigobj) (delete _swigobj)
2542 static PyObject
*_wrap_delete_wxCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2543 PyObject
* _resultobj
;
2545 PyObject
* _argo0
= 0;
2546 char *_kwnames
[] = { "self", NULL
};
2549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxCaret",_kwnames
,&_argo0
))
2552 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2553 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2554 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxCaret. Expected _wxCaret_p.");
2559 wxPy_BEGIN_ALLOW_THREADS
;
2560 delete_wxCaret(_arg0
);
2562 wxPy_END_ALLOW_THREADS
;
2563 } Py_INCREF(Py_None
);
2564 _resultobj
= Py_None
;
2568 #define wxCaret_IsOk(_swigobj) (_swigobj->IsOk())
2569 static PyObject
*_wrap_wxCaret_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2570 PyObject
* _resultobj
;
2573 PyObject
* _argo0
= 0;
2574 char *_kwnames
[] = { "self", NULL
};
2577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_IsOk",_kwnames
,&_argo0
))
2580 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2581 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2582 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_IsOk. Expected _wxCaret_p.");
2587 wxPy_BEGIN_ALLOW_THREADS
;
2588 _result
= (bool )wxCaret_IsOk(_arg0
);
2590 wxPy_END_ALLOW_THREADS
;
2591 } _resultobj
= Py_BuildValue("i",_result
);
2595 #define wxCaret_IsVisible(_swigobj) (_swigobj->IsVisible())
2596 static PyObject
*_wrap_wxCaret_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2597 PyObject
* _resultobj
;
2600 PyObject
* _argo0
= 0;
2601 char *_kwnames
[] = { "self", NULL
};
2604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_IsVisible",_kwnames
,&_argo0
))
2607 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2608 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2609 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_IsVisible. Expected _wxCaret_p.");
2614 wxPy_BEGIN_ALLOW_THREADS
;
2615 _result
= (bool )wxCaret_IsVisible(_arg0
);
2617 wxPy_END_ALLOW_THREADS
;
2618 } _resultobj
= Py_BuildValue("i",_result
);
2622 #define wxCaret_GetPositionTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPosition(_swigarg0,_swigarg1))
2623 static PyObject
*_wrap_wxCaret_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2624 PyObject
* _resultobj
;
2630 PyObject
* _argo0
= 0;
2631 char *_kwnames
[] = { "self", NULL
};
2640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetPositionTuple",_kwnames
,&_argo0
))
2643 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2644 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2645 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetPositionTuple. Expected _wxCaret_p.");
2650 wxPy_BEGIN_ALLOW_THREADS
;
2651 wxCaret_GetPositionTuple(_arg0
,_arg1
,_arg2
);
2653 wxPy_END_ALLOW_THREADS
;
2654 } Py_INCREF(Py_None
);
2655 _resultobj
= Py_None
;
2658 o
= PyInt_FromLong((long) (*_arg1
));
2659 _resultobj
= t_output_helper(_resultobj
, o
);
2663 o
= PyInt_FromLong((long) (*_arg2
));
2664 _resultobj
= t_output_helper(_resultobj
, o
);
2669 #define wxCaret_GetPosition(_swigobj) (_swigobj->GetPosition())
2670 static PyObject
*_wrap_wxCaret_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2671 PyObject
* _resultobj
;
2674 PyObject
* _argo0
= 0;
2675 char *_kwnames
[] = { "self", NULL
};
2679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetPosition",_kwnames
,&_argo0
))
2682 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2683 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2684 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetPosition. Expected _wxCaret_p.");
2689 wxPy_BEGIN_ALLOW_THREADS
;
2690 _result
= new wxPoint (wxCaret_GetPosition(_arg0
));
2692 wxPy_END_ALLOW_THREADS
;
2693 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2694 _resultobj
= Py_BuildValue("s",_ptemp
);
2698 #define wxCaret_GetSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSize(_swigarg0,_swigarg1))
2699 static PyObject
*_wrap_wxCaret_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2700 PyObject
* _resultobj
;
2706 PyObject
* _argo0
= 0;
2707 char *_kwnames
[] = { "self", NULL
};
2716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetSizeTuple",_kwnames
,&_argo0
))
2719 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2720 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2721 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetSizeTuple. Expected _wxCaret_p.");
2726 wxPy_BEGIN_ALLOW_THREADS
;
2727 wxCaret_GetSizeTuple(_arg0
,_arg1
,_arg2
);
2729 wxPy_END_ALLOW_THREADS
;
2730 } Py_INCREF(Py_None
);
2731 _resultobj
= Py_None
;
2734 o
= PyInt_FromLong((long) (*_arg1
));
2735 _resultobj
= t_output_helper(_resultobj
, o
);
2739 o
= PyInt_FromLong((long) (*_arg2
));
2740 _resultobj
= t_output_helper(_resultobj
, o
);
2745 #define wxCaret_GetSize(_swigobj) (_swigobj->GetSize())
2746 static PyObject
*_wrap_wxCaret_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2747 PyObject
* _resultobj
;
2750 PyObject
* _argo0
= 0;
2751 char *_kwnames
[] = { "self", NULL
};
2755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetSize",_kwnames
,&_argo0
))
2758 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2759 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2760 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetSize. Expected _wxCaret_p.");
2765 wxPy_BEGIN_ALLOW_THREADS
;
2766 _result
= new wxSize (wxCaret_GetSize(_arg0
));
2768 wxPy_END_ALLOW_THREADS
;
2769 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
2770 _resultobj
= Py_BuildValue("s",_ptemp
);
2774 #define wxCaret_GetWindow(_swigobj) (_swigobj->GetWindow())
2775 static PyObject
*_wrap_wxCaret_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2776 PyObject
* _resultobj
;
2779 PyObject
* _argo0
= 0;
2780 char *_kwnames
[] = { "self", NULL
};
2783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetWindow",_kwnames
,&_argo0
))
2786 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2787 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2788 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetWindow. Expected _wxCaret_p.");
2793 wxPy_BEGIN_ALLOW_THREADS
;
2794 _result
= (wxWindow
*)wxCaret_GetWindow(_arg0
);
2796 wxPy_END_ALLOW_THREADS
;
2797 }{ _resultobj
= wxPyMake_wxObject(_result
); }
2801 #define wxCaret_MoveXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->Move(_swigarg0,_swigarg1))
2802 static PyObject
*_wrap_wxCaret_MoveXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2803 PyObject
* _resultobj
;
2807 PyObject
* _argo0
= 0;
2808 char *_kwnames
[] = { "self","x","y", NULL
};
2811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxCaret_MoveXY",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2814 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2815 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2816 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_MoveXY. Expected _wxCaret_p.");
2821 wxPy_BEGIN_ALLOW_THREADS
;
2822 wxCaret_MoveXY(_arg0
,_arg1
,_arg2
);
2824 wxPy_END_ALLOW_THREADS
;
2825 } Py_INCREF(Py_None
);
2826 _resultobj
= Py_None
;
2830 #define wxCaret_Move(_swigobj,_swigarg0) (_swigobj->Move(_swigarg0))
2831 static PyObject
*_wrap_wxCaret_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2832 PyObject
* _resultobj
;
2835 PyObject
* _argo0
= 0;
2837 PyObject
* _obj1
= 0;
2838 char *_kwnames
[] = { "self","pt", NULL
};
2841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxCaret_Move",_kwnames
,&_argo0
,&_obj1
))
2844 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2845 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2846 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_Move. Expected _wxCaret_p.");
2852 if (! wxPoint_helper(_obj1
, &_arg1
))
2856 wxPy_BEGIN_ALLOW_THREADS
;
2857 wxCaret_Move(_arg0
,*_arg1
);
2859 wxPy_END_ALLOW_THREADS
;
2860 } Py_INCREF(Py_None
);
2861 _resultobj
= Py_None
;
2865 #define wxCaret_SetSizeWH(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSize(_swigarg0,_swigarg1))
2866 static PyObject
*_wrap_wxCaret_SetSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2867 PyObject
* _resultobj
;
2871 PyObject
* _argo0
= 0;
2872 char *_kwnames
[] = { "self","width","height", NULL
};
2875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxCaret_SetSizeWH",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2878 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2879 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2880 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_SetSizeWH. Expected _wxCaret_p.");
2885 wxPy_BEGIN_ALLOW_THREADS
;
2886 wxCaret_SetSizeWH(_arg0
,_arg1
,_arg2
);
2888 wxPy_END_ALLOW_THREADS
;
2889 } Py_INCREF(Py_None
);
2890 _resultobj
= Py_None
;
2894 #define wxCaret_SetSize(_swigobj,_swigarg0) (_swigobj->SetSize(_swigarg0))
2895 static PyObject
*_wrap_wxCaret_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2896 PyObject
* _resultobj
;
2899 PyObject
* _argo0
= 0;
2901 PyObject
* _obj1
= 0;
2902 char *_kwnames
[] = { "self","size", NULL
};
2905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxCaret_SetSize",_kwnames
,&_argo0
,&_obj1
))
2908 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2909 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2910 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_SetSize. Expected _wxCaret_p.");
2916 if (! wxSize_helper(_obj1
, &_arg1
))
2920 wxPy_BEGIN_ALLOW_THREADS
;
2921 wxCaret_SetSize(_arg0
,*_arg1
);
2923 wxPy_END_ALLOW_THREADS
;
2924 } Py_INCREF(Py_None
);
2925 _resultobj
= Py_None
;
2929 #define wxCaret_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
2930 static PyObject
*_wrap_wxCaret_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2931 PyObject
* _resultobj
;
2933 int _arg1
= (int ) TRUE
;
2934 PyObject
* _argo0
= 0;
2935 char *_kwnames
[] = { "self","show", NULL
};
2938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxCaret_Show",_kwnames
,&_argo0
,&_arg1
))
2941 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2942 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2943 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_Show. Expected _wxCaret_p.");
2948 wxPy_BEGIN_ALLOW_THREADS
;
2949 wxCaret_Show(_arg0
,_arg1
);
2951 wxPy_END_ALLOW_THREADS
;
2952 } Py_INCREF(Py_None
);
2953 _resultobj
= Py_None
;
2957 #define wxCaret_Hide(_swigobj) (_swigobj->Hide())
2958 static PyObject
*_wrap_wxCaret_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2959 PyObject
* _resultobj
;
2961 PyObject
* _argo0
= 0;
2962 char *_kwnames
[] = { "self", NULL
};
2965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_Hide",_kwnames
,&_argo0
))
2968 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2969 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2970 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_Hide. Expected _wxCaret_p.");
2975 wxPy_BEGIN_ALLOW_THREADS
;
2976 wxCaret_Hide(_arg0
);
2978 wxPy_END_ALLOW_THREADS
;
2979 } Py_INCREF(Py_None
);
2980 _resultobj
= Py_None
;
2984 #define new_wxFontEnumerator() (new wxPyFontEnumerator())
2985 static PyObject
*_wrap_new_wxFontEnumerator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2986 PyObject
* _resultobj
;
2987 wxPyFontEnumerator
* _result
;
2988 char *_kwnames
[] = { NULL
};
2992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxFontEnumerator",_kwnames
))
2995 wxPy_BEGIN_ALLOW_THREADS
;
2996 _result
= (wxPyFontEnumerator
*)new_wxFontEnumerator();
2998 wxPy_END_ALLOW_THREADS
;
3000 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyFontEnumerator_p");
3001 _resultobj
= Py_BuildValue("s",_ptemp
);
3004 _resultobj
= Py_None
;
3009 #define delete_wxPyFontEnumerator(_swigobj) (delete _swigobj)
3010 static PyObject
*_wrap_delete_wxFontEnumerator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3011 PyObject
* _resultobj
;
3012 wxPyFontEnumerator
* _arg0
;
3013 PyObject
* _argo0
= 0;
3014 char *_kwnames
[] = { "self", NULL
};
3017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxFontEnumerator",_kwnames
,&_argo0
))
3020 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3021 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) {
3022 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxFontEnumerator. Expected _wxPyFontEnumerator_p.");
3027 wxPy_BEGIN_ALLOW_THREADS
;
3028 delete_wxPyFontEnumerator(_arg0
);
3030 wxPy_END_ALLOW_THREADS
;
3031 } Py_INCREF(Py_None
);
3032 _resultobj
= Py_None
;
3036 #define wxFontEnumerator__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
3037 static PyObject
*_wrap_wxFontEnumerator__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3038 PyObject
* _resultobj
;
3039 wxPyFontEnumerator
* _arg0
;
3042 PyObject
* _argo0
= 0;
3043 PyObject
* _obj1
= 0;
3044 PyObject
* _obj2
= 0;
3045 char *_kwnames
[] = { "self","self","_class", NULL
};
3048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxFontEnumerator__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
3051 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3052 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) {
3053 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontEnumerator__setCallbackInfo. Expected _wxPyFontEnumerator_p.");
3064 wxPy_BEGIN_ALLOW_THREADS
;
3065 wxFontEnumerator__setCallbackInfo(_arg0
,_arg1
,_arg2
);
3067 wxPy_END_ALLOW_THREADS
;
3068 } Py_INCREF(Py_None
);
3069 _resultobj
= Py_None
;
3073 #define wxFontEnumerator_EnumerateFacenames(_swigobj,_swigarg0,_swigarg1) (_swigobj->EnumerateFacenames(_swigarg0,_swigarg1))
3074 static PyObject
*_wrap_wxFontEnumerator_EnumerateFacenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3075 PyObject
* _resultobj
;
3077 wxPyFontEnumerator
* _arg0
;
3078 wxFontEncoding _arg1
= (wxFontEncoding
) wxFONTENCODING_SYSTEM
;
3079 bool _arg2
= (bool ) FALSE
;
3080 PyObject
* _argo0
= 0;
3081 int tempbool2
= (int) FALSE
;
3082 char *_kwnames
[] = { "self","encoding","fixedWidthOnly", NULL
};
3085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxFontEnumerator_EnumerateFacenames",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
3088 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3089 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) {
3090 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontEnumerator_EnumerateFacenames. Expected _wxPyFontEnumerator_p.");
3094 _arg2
= (bool ) tempbool2
;
3096 wxPy_BEGIN_ALLOW_THREADS
;
3097 _result
= (bool )wxFontEnumerator_EnumerateFacenames(_arg0
,_arg1
,_arg2
);
3099 wxPy_END_ALLOW_THREADS
;
3100 } _resultobj
= Py_BuildValue("i",_result
);
3104 #define wxFontEnumerator_EnumerateEncodings(_swigobj,_swigarg0) (_swigobj->EnumerateEncodings(_swigarg0))
3105 static PyObject
*_wrap_wxFontEnumerator_EnumerateEncodings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3106 PyObject
* _resultobj
;
3108 wxPyFontEnumerator
* _arg0
;
3109 char * _arg1
= (char *) "";
3110 PyObject
* _argo0
= 0;
3111 char *_kwnames
[] = { "self","facename", NULL
};
3114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|s:wxFontEnumerator_EnumerateEncodings",_kwnames
,&_argo0
,&_arg1
))
3117 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3118 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) {
3119 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontEnumerator_EnumerateEncodings. Expected _wxPyFontEnumerator_p.");
3124 wxPy_BEGIN_ALLOW_THREADS
;
3125 _result
= (bool )wxFontEnumerator_EnumerateEncodings(_arg0
,_arg1
);
3127 wxPy_END_ALLOW_THREADS
;
3128 } _resultobj
= Py_BuildValue("i",_result
);
3132 static PyObject
* wxPyFontEnumerator_GetEncodings(wxPyFontEnumerator
*self
) {
3133 wxArrayString
* arr
= self
->GetEncodings();
3134 return wxArrayString2PyList_helper(arr
);
3136 static PyObject
*_wrap_wxFontEnumerator_GetEncodings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3137 PyObject
* _resultobj
;
3139 wxPyFontEnumerator
* _arg0
;
3140 PyObject
* _argo0
= 0;
3141 char *_kwnames
[] = { "self", NULL
};
3144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFontEnumerator_GetEncodings",_kwnames
,&_argo0
))
3147 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3148 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) {
3149 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontEnumerator_GetEncodings. Expected _wxPyFontEnumerator_p.");
3154 wxPy_BEGIN_ALLOW_THREADS
;
3155 _result
= (PyObject
*)wxPyFontEnumerator_GetEncodings(_arg0
);
3157 wxPy_END_ALLOW_THREADS
;
3159 _resultobj
= _result
;
3164 static PyObject
* wxPyFontEnumerator_GetFacenames(wxPyFontEnumerator
*self
) {
3165 wxArrayString
* arr
= self
->GetFacenames();
3166 return wxArrayString2PyList_helper(arr
);
3168 static PyObject
*_wrap_wxFontEnumerator_GetFacenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3169 PyObject
* _resultobj
;
3171 wxPyFontEnumerator
* _arg0
;
3172 PyObject
* _argo0
= 0;
3173 char *_kwnames
[] = { "self", NULL
};
3176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFontEnumerator_GetFacenames",_kwnames
,&_argo0
))
3179 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3180 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) {
3181 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontEnumerator_GetFacenames. Expected _wxPyFontEnumerator_p.");
3186 wxPy_BEGIN_ALLOW_THREADS
;
3187 _result
= (PyObject
*)wxPyFontEnumerator_GetFacenames(_arg0
);
3189 wxPy_END_ALLOW_THREADS
;
3191 _resultobj
= _result
;
3196 #define new_wxBusyCursor(_swigarg0) (new wxBusyCursor(_swigarg0))
3197 static PyObject
*_wrap_new_wxBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3198 PyObject
* _resultobj
;
3199 wxBusyCursor
* _result
;
3200 wxCursor
* _arg0
= (wxCursor
*) wxHOURGLASS_CURSOR
;
3201 PyObject
* _argo0
= 0;
3202 char *_kwnames
[] = { "cursor", NULL
};
3206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxBusyCursor",_kwnames
,&_argo0
))
3209 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3210 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
3211 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxBusyCursor. Expected _wxCursor_p.");
3216 wxPy_BEGIN_ALLOW_THREADS
;
3217 _result
= (wxBusyCursor
*)new_wxBusyCursor(_arg0
);
3219 wxPy_END_ALLOW_THREADS
;
3221 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBusyCursor_p");
3222 _resultobj
= Py_BuildValue("s",_ptemp
);
3225 _resultobj
= Py_None
;
3230 #define delete_wxBusyCursor(_swigobj) (delete _swigobj)
3231 static PyObject
*_wrap_delete_wxBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3232 PyObject
* _resultobj
;
3233 wxBusyCursor
* _arg0
;
3234 PyObject
* _argo0
= 0;
3235 char *_kwnames
[] = { "self", NULL
};
3238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxBusyCursor",_kwnames
,&_argo0
))
3241 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3242 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBusyCursor_p")) {
3243 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxBusyCursor. Expected _wxBusyCursor_p.");
3248 wxPy_BEGIN_ALLOW_THREADS
;
3249 delete_wxBusyCursor(_arg0
);
3251 wxPy_END_ALLOW_THREADS
;
3252 } Py_INCREF(Py_None
);
3253 _resultobj
= Py_None
;
3257 #define new_wxWindowDisabler(_swigarg0) (new wxWindowDisabler(_swigarg0))
3258 static PyObject
*_wrap_new_wxWindowDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3259 PyObject
* _resultobj
;
3260 wxWindowDisabler
* _result
;
3261 wxWindow
* _arg0
= (wxWindow
*) NULL
;
3262 PyObject
* _argo0
= 0;
3263 char *_kwnames
[] = { "winToSkip", NULL
};
3267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxWindowDisabler",_kwnames
,&_argo0
))
3270 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3271 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3272 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxWindowDisabler. Expected _wxWindow_p.");
3277 wxPy_BEGIN_ALLOW_THREADS
;
3278 _result
= (wxWindowDisabler
*)new_wxWindowDisabler(_arg0
);
3280 wxPy_END_ALLOW_THREADS
;
3282 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindowDisabler_p");
3283 _resultobj
= Py_BuildValue("s",_ptemp
);
3286 _resultobj
= Py_None
;
3291 #define delete_wxWindowDisabler(_swigobj) (delete _swigobj)
3292 static PyObject
*_wrap_delete_wxWindowDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3293 PyObject
* _resultobj
;
3294 wxWindowDisabler
* _arg0
;
3295 PyObject
* _argo0
= 0;
3296 char *_kwnames
[] = { "self", NULL
};
3299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxWindowDisabler",_kwnames
,&_argo0
))
3302 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3303 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindowDisabler_p")) {
3304 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxWindowDisabler. Expected _wxWindowDisabler_p.");
3309 wxPy_BEGIN_ALLOW_THREADS
;
3310 delete_wxWindowDisabler(_arg0
);
3312 wxPy_END_ALLOW_THREADS
;
3313 } Py_INCREF(Py_None
);
3314 _resultobj
= Py_None
;
3318 #define new_wxMutexGuiLocker() (new wxMutexGuiLocker())
3319 static PyObject
*_wrap_new_wxMutexGuiLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3320 PyObject
* _resultobj
;
3321 wxMutexGuiLocker
* _result
;
3322 char *_kwnames
[] = { NULL
};
3326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxMutexGuiLocker",_kwnames
))
3329 wxPy_BEGIN_ALLOW_THREADS
;
3330 _result
= (wxMutexGuiLocker
*)new_wxMutexGuiLocker();
3332 wxPy_END_ALLOW_THREADS
;
3334 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMutexGuiLocker_p");
3335 _resultobj
= Py_BuildValue("s",_ptemp
);
3338 _resultobj
= Py_None
;
3343 #define delete_wxMutexGuiLocker(_swigobj) (delete _swigobj)
3344 static PyObject
*_wrap_delete_wxMutexGuiLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3345 PyObject
* _resultobj
;
3346 wxMutexGuiLocker
* _arg0
;
3347 PyObject
* _argo0
= 0;
3348 char *_kwnames
[] = { "self", NULL
};
3351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxMutexGuiLocker",_kwnames
,&_argo0
))
3354 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3355 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMutexGuiLocker_p")) {
3356 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxMutexGuiLocker. Expected _wxMutexGuiLocker_p.");
3361 wxPy_BEGIN_ALLOW_THREADS
;
3362 delete_wxMutexGuiLocker(_arg0
);
3364 wxPy_END_ALLOW_THREADS
;
3365 } Py_INCREF(Py_None
);
3366 _resultobj
= Py_None
;
3370 #define delete_wxTipProvider(_swigobj) (delete _swigobj)
3371 static PyObject
*_wrap_delete_wxTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3372 PyObject
* _resultobj
;
3373 wxTipProvider
* _arg0
;
3374 PyObject
* _argo0
= 0;
3375 char *_kwnames
[] = { "self", NULL
};
3378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxTipProvider",_kwnames
,&_argo0
))
3381 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3382 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTipProvider_p")) {
3383 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxTipProvider. Expected _wxTipProvider_p.");
3388 wxPy_BEGIN_ALLOW_THREADS
;
3389 delete_wxTipProvider(_arg0
);
3391 wxPy_END_ALLOW_THREADS
;
3392 } Py_INCREF(Py_None
);
3393 _resultobj
= Py_None
;
3397 #define wxTipProvider_GetTip(_swigobj) (_swigobj->GetTip())
3398 static PyObject
*_wrap_wxTipProvider_GetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3399 PyObject
* _resultobj
;
3401 wxTipProvider
* _arg0
;
3402 PyObject
* _argo0
= 0;
3403 char *_kwnames
[] = { "self", NULL
};
3406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTipProvider_GetTip",_kwnames
,&_argo0
))
3409 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3410 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTipProvider_p")) {
3411 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTipProvider_GetTip. Expected _wxTipProvider_p.");
3416 wxPy_BEGIN_ALLOW_THREADS
;
3417 _result
= new wxString (wxTipProvider_GetTip(_arg0
));
3419 wxPy_END_ALLOW_THREADS
;
3421 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3429 #define wxTipProvider_GetCurrentTip(_swigobj) (_swigobj->GetCurrentTip())
3430 static PyObject
*_wrap_wxTipProvider_GetCurrentTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3431 PyObject
* _resultobj
;
3433 wxTipProvider
* _arg0
;
3434 PyObject
* _argo0
= 0;
3435 char *_kwnames
[] = { "self", NULL
};
3438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTipProvider_GetCurrentTip",_kwnames
,&_argo0
))
3441 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3442 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTipProvider_p")) {
3443 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTipProvider_GetCurrentTip. Expected _wxTipProvider_p.");
3448 wxPy_BEGIN_ALLOW_THREADS
;
3449 _result
= (size_t )wxTipProvider_GetCurrentTip(_arg0
);
3451 wxPy_END_ALLOW_THREADS
;
3452 } _resultobj
= Py_BuildValue("i",_result
);
3456 static void *SwigwxPyTipProviderTowxTipProvider(void *ptr
) {
3457 wxPyTipProvider
*src
;
3458 wxTipProvider
*dest
;
3459 src
= (wxPyTipProvider
*) ptr
;
3460 dest
= (wxTipProvider
*) src
;
3461 return (void *) dest
;
3464 #define new_wxPyTipProvider(_swigarg0) (new wxPyTipProvider(_swigarg0))
3465 static PyObject
*_wrap_new_wxPyTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3466 PyObject
* _resultobj
;
3467 wxPyTipProvider
* _result
;
3469 char *_kwnames
[] = { "currentTip", NULL
};
3473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:new_wxPyTipProvider",_kwnames
,&_arg0
))
3476 wxPy_BEGIN_ALLOW_THREADS
;
3477 _result
= (wxPyTipProvider
*)new_wxPyTipProvider(_arg0
);
3479 wxPy_END_ALLOW_THREADS
;
3481 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTipProvider_p");
3482 _resultobj
= Py_BuildValue("s",_ptemp
);
3485 _resultobj
= Py_None
;
3490 static void *SwigwxGenericDragImageTowxObject(void *ptr
) {
3491 wxGenericDragImage
*src
;
3493 src
= (wxGenericDragImage
*) ptr
;
3494 dest
= (wxObject
*) src
;
3495 return (void *) dest
;
3498 #define new_wxDragImage(_swigarg0,_swigarg1) (new wxGenericDragImage(_swigarg0,_swigarg1))
3499 static PyObject
*_wrap_new_wxDragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3500 PyObject
* _resultobj
;
3501 wxGenericDragImage
* _result
;
3503 wxCursor
* _arg1
= (wxCursor
*) &wxNullCursor
;
3504 PyObject
* _argo0
= 0;
3505 PyObject
* _argo1
= 0;
3506 char *_kwnames
[] = { "image","cursor", NULL
};
3510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:new_wxDragImage",_kwnames
,&_argo0
,&_argo1
))
3513 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3514 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
3515 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDragImage. Expected _wxBitmap_p.");
3520 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3521 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCursor_p")) {
3522 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxDragImage. Expected _wxCursor_p.");
3527 wxPy_BEGIN_ALLOW_THREADS
;
3528 _result
= (wxGenericDragImage
*)new_wxDragImage(*_arg0
,*_arg1
);
3530 wxPy_END_ALLOW_THREADS
;
3532 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
3533 _resultobj
= Py_BuildValue("s",_ptemp
);
3536 _resultobj
= Py_None
;
3541 #define new_wxDragIcon(_swigarg0,_swigarg1) (new wxGenericDragImage(_swigarg0,_swigarg1))
3542 static PyObject
*_wrap_new_wxDragIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3543 PyObject
* _resultobj
;
3544 wxGenericDragImage
* _result
;
3546 wxCursor
* _arg1
= (wxCursor
*) &wxNullCursor
;
3547 PyObject
* _argo0
= 0;
3548 PyObject
* _argo1
= 0;
3549 char *_kwnames
[] = { "image","cursor", NULL
};
3553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:new_wxDragIcon",_kwnames
,&_argo0
,&_argo1
))
3556 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3557 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
3558 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDragIcon. Expected _wxIcon_p.");
3563 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3564 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCursor_p")) {
3565 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxDragIcon. Expected _wxCursor_p.");
3570 wxPy_BEGIN_ALLOW_THREADS
;
3571 _result
= (wxGenericDragImage
*)new_wxDragIcon(*_arg0
,*_arg1
);
3573 wxPy_END_ALLOW_THREADS
;
3575 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
3576 _resultobj
= Py_BuildValue("s",_ptemp
);
3579 _resultobj
= Py_None
;
3584 #define new_wxDragString(_swigarg0,_swigarg1) (new wxGenericDragImage(_swigarg0,_swigarg1))
3585 static PyObject
*_wrap_new_wxDragString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3586 PyObject
* _resultobj
;
3587 wxGenericDragImage
* _result
;
3589 wxCursor
* _arg1
= (wxCursor
*) &wxNullCursor
;
3590 PyObject
* _obj0
= 0;
3591 PyObject
* _argo1
= 0;
3592 char *_kwnames
[] = { "str","cursor", NULL
};
3596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:new_wxDragString",_kwnames
,&_obj0
,&_argo1
))
3599 #if PYTHON_API_VERSION >= 1009
3600 char* tmpPtr
; int tmpSize
;
3601 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
3602 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3605 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
3607 _arg0
= new wxString(tmpPtr
, tmpSize
);
3609 if (!PyString_Check(_obj0
)) {
3610 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3613 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
3617 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3618 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCursor_p")) {
3619 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxDragString. Expected _wxCursor_p.");
3624 wxPy_BEGIN_ALLOW_THREADS
;
3625 _result
= (wxGenericDragImage
*)new_wxDragString(*_arg0
,*_arg1
);
3627 wxPy_END_ALLOW_THREADS
;
3629 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
3630 _resultobj
= Py_BuildValue("s",_ptemp
);
3633 _resultobj
= Py_None
;
3642 #define new_wxDragTreeItem(_swigarg0,_swigarg1) (new wxGenericDragImage(_swigarg0,_swigarg1))
3643 static PyObject
*_wrap_new_wxDragTreeItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3644 PyObject
* _resultobj
;
3645 wxGenericDragImage
* _result
;
3647 wxTreeItemId
* _arg1
;
3648 PyObject
* _argo0
= 0;
3649 PyObject
* _argo1
= 0;
3650 char *_kwnames
[] = { "treeCtrl","id", NULL
};
3654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:new_wxDragTreeItem",_kwnames
,&_argo0
,&_argo1
))
3657 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3658 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3659 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDragTreeItem. Expected _wxTreeCtrl_p.");
3664 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3665 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3666 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxDragTreeItem. Expected _wxTreeItemId_p.");
3671 wxPy_BEGIN_ALLOW_THREADS
;
3672 _result
= (wxGenericDragImage
*)new_wxDragTreeItem(*_arg0
,*_arg1
);
3674 wxPy_END_ALLOW_THREADS
;
3676 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
3677 _resultobj
= Py_BuildValue("s",_ptemp
);
3680 _resultobj
= Py_None
;
3685 #define new_wxDragListItem(_swigarg0,_swigarg1) (new wxGenericDragImage(_swigarg0,_swigarg1))
3686 static PyObject
*_wrap_new_wxDragListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3687 PyObject
* _resultobj
;
3688 wxGenericDragImage
* _result
;
3691 PyObject
* _argo0
= 0;
3692 char *_kwnames
[] = { "listCtrl","id", NULL
};
3696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:new_wxDragListItem",_kwnames
,&_argo0
,&_arg1
))
3699 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3700 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3701 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDragListItem. Expected _wxListCtrl_p.");
3706 wxPy_BEGIN_ALLOW_THREADS
;
3707 _result
= (wxGenericDragImage
*)new_wxDragListItem(*_arg0
,_arg1
);
3709 wxPy_END_ALLOW_THREADS
;
3711 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
3712 _resultobj
= Py_BuildValue("s",_ptemp
);
3715 _resultobj
= Py_None
;
3720 #define delete_wxGenericDragImage(_swigobj) (delete _swigobj)
3721 static PyObject
*_wrap_delete_wxDragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3722 PyObject
* _resultobj
;
3723 wxGenericDragImage
* _arg0
;
3724 PyObject
* _argo0
= 0;
3725 char *_kwnames
[] = { "self", NULL
};
3728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxDragImage",_kwnames
,&_argo0
))
3731 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3732 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3733 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxDragImage. Expected _wxGenericDragImage_p.");
3738 wxPy_BEGIN_ALLOW_THREADS
;
3739 delete_wxGenericDragImage(_arg0
);
3741 wxPy_END_ALLOW_THREADS
;
3742 } Py_INCREF(Py_None
);
3743 _resultobj
= Py_None
;
3747 #define wxDragImage_SetBackingBitmap(_swigobj,_swigarg0) (_swigobj->SetBackingBitmap(_swigarg0))
3748 static PyObject
*_wrap_wxDragImage_SetBackingBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3749 PyObject
* _resultobj
;
3750 wxGenericDragImage
* _arg0
;
3752 PyObject
* _argo0
= 0;
3753 PyObject
* _argo1
= 0;
3754 char *_kwnames
[] = { "self","bitmap", NULL
};
3757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDragImage_SetBackingBitmap",_kwnames
,&_argo0
,&_argo1
))
3760 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3761 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3762 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_SetBackingBitmap. Expected _wxGenericDragImage_p.");
3767 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3768 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
3769 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDragImage_SetBackingBitmap. Expected _wxBitmap_p.");
3774 wxPy_BEGIN_ALLOW_THREADS
;
3775 wxDragImage_SetBackingBitmap(_arg0
,_arg1
);
3777 wxPy_END_ALLOW_THREADS
;
3778 } Py_INCREF(Py_None
);
3779 _resultobj
= Py_None
;
3783 #define wxDragImage_BeginDrag(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->BeginDrag(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3784 static PyObject
*_wrap_wxDragImage_BeginDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3785 PyObject
* _resultobj
;
3787 wxGenericDragImage
* _arg0
;
3790 bool _arg3
= (bool ) FALSE
;
3791 wxRect
* _arg4
= (wxRect
*) NULL
;
3792 PyObject
* _argo0
= 0;
3794 PyObject
* _obj1
= 0;
3795 PyObject
* _argo2
= 0;
3796 int tempbool3
= (int) FALSE
;
3798 PyObject
* _obj4
= 0;
3799 char *_kwnames
[] = { "self","hotspot","window","fullScreen","rect", NULL
};
3802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|iO:wxDragImage_BeginDrag",_kwnames
,&_argo0
,&_obj1
,&_argo2
,&tempbool3
,&_obj4
))
3805 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3806 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3807 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_BeginDrag. Expected _wxGenericDragImage_p.");
3813 if (! wxPoint_helper(_obj1
, &_arg1
))
3817 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3818 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
3819 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxDragImage_BeginDrag. Expected _wxWindow_p.");
3823 _arg3
= (bool ) tempbool3
;
3827 if (! wxRect_helper(_obj4
, &_arg4
))
3831 wxPy_BEGIN_ALLOW_THREADS
;
3832 _result
= (bool )wxDragImage_BeginDrag(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
);
3834 wxPy_END_ALLOW_THREADS
;
3835 } _resultobj
= Py_BuildValue("i",_result
);
3839 #define wxDragImage_BeginDrag2(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->BeginDrag(_swigarg0,_swigarg1,_swigarg2))
3840 static PyObject
*_wrap_wxDragImage_BeginDrag2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3841 PyObject
* _resultobj
;
3843 wxGenericDragImage
* _arg0
;
3847 PyObject
* _argo0
= 0;
3849 PyObject
* _obj1
= 0;
3850 PyObject
* _argo2
= 0;
3851 PyObject
* _argo3
= 0;
3852 char *_kwnames
[] = { "self","hotspot","window","fullScreenRect", NULL
};
3855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO:wxDragImage_BeginDrag2",_kwnames
,&_argo0
,&_obj1
,&_argo2
,&_argo3
))
3858 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3859 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3860 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_BeginDrag2. Expected _wxGenericDragImage_p.");
3866 if (! wxPoint_helper(_obj1
, &_arg1
))
3870 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3871 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
3872 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxDragImage_BeginDrag2. Expected _wxWindow_p.");
3877 if (_argo3
== Py_None
) { _arg3
= NULL
; }
3878 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxWindow_p")) {
3879 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxDragImage_BeginDrag2. Expected _wxWindow_p.");
3884 wxPy_BEGIN_ALLOW_THREADS
;
3885 _result
= (bool )wxDragImage_BeginDrag2(_arg0
,*_arg1
,_arg2
,_arg3
);
3887 wxPy_END_ALLOW_THREADS
;
3888 } _resultobj
= Py_BuildValue("i",_result
);
3892 #define wxDragImage_EndDrag(_swigobj) (_swigobj->EndDrag())
3893 static PyObject
*_wrap_wxDragImage_EndDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3894 PyObject
* _resultobj
;
3896 wxGenericDragImage
* _arg0
;
3897 PyObject
* _argo0
= 0;
3898 char *_kwnames
[] = { "self", NULL
};
3901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDragImage_EndDrag",_kwnames
,&_argo0
))
3904 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3905 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3906 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_EndDrag. Expected _wxGenericDragImage_p.");
3911 wxPy_BEGIN_ALLOW_THREADS
;
3912 _result
= (bool )wxDragImage_EndDrag(_arg0
);
3914 wxPy_END_ALLOW_THREADS
;
3915 } _resultobj
= Py_BuildValue("i",_result
);
3919 #define wxDragImage_Move(_swigobj,_swigarg0) (_swigobj->Move(_swigarg0))
3920 static PyObject
*_wrap_wxDragImage_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3921 PyObject
* _resultobj
;
3923 wxGenericDragImage
* _arg0
;
3925 PyObject
* _argo0
= 0;
3927 PyObject
* _obj1
= 0;
3928 char *_kwnames
[] = { "self","pt", NULL
};
3931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDragImage_Move",_kwnames
,&_argo0
,&_obj1
))
3934 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3935 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3936 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_Move. Expected _wxGenericDragImage_p.");
3942 if (! wxPoint_helper(_obj1
, &_arg1
))
3946 wxPy_BEGIN_ALLOW_THREADS
;
3947 _result
= (bool )wxDragImage_Move(_arg0
,*_arg1
);
3949 wxPy_END_ALLOW_THREADS
;
3950 } _resultobj
= Py_BuildValue("i",_result
);
3954 #define wxDragImage_Show(_swigobj) (_swigobj->Show())
3955 static PyObject
*_wrap_wxDragImage_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3956 PyObject
* _resultobj
;
3958 wxGenericDragImage
* _arg0
;
3959 PyObject
* _argo0
= 0;
3960 char *_kwnames
[] = { "self", NULL
};
3963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDragImage_Show",_kwnames
,&_argo0
))
3966 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3967 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3968 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_Show. Expected _wxGenericDragImage_p.");
3973 wxPy_BEGIN_ALLOW_THREADS
;
3974 _result
= (bool )wxDragImage_Show(_arg0
);
3976 wxPy_END_ALLOW_THREADS
;
3977 } _resultobj
= Py_BuildValue("i",_result
);
3981 #define wxDragImage_Hide(_swigobj) (_swigobj->Hide())
3982 static PyObject
*_wrap_wxDragImage_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3983 PyObject
* _resultobj
;
3985 wxGenericDragImage
* _arg0
;
3986 PyObject
* _argo0
= 0;
3987 char *_kwnames
[] = { "self", NULL
};
3990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDragImage_Hide",_kwnames
,&_argo0
))
3993 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3994 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3995 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_Hide. Expected _wxGenericDragImage_p.");
4000 wxPy_BEGIN_ALLOW_THREADS
;
4001 _result
= (bool )wxDragImage_Hide(_arg0
);
4003 wxPy_END_ALLOW_THREADS
;
4004 } _resultobj
= Py_BuildValue("i",_result
);
4008 #define wxDragImage_GetImageRect(_swigobj,_swigarg0) (_swigobj->GetImageRect(_swigarg0))
4009 static PyObject
*_wrap_wxDragImage_GetImageRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4010 PyObject
* _resultobj
;
4012 wxGenericDragImage
* _arg0
;
4014 PyObject
* _argo0
= 0;
4016 PyObject
* _obj1
= 0;
4017 char *_kwnames
[] = { "self","pos", NULL
};
4021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDragImage_GetImageRect",_kwnames
,&_argo0
,&_obj1
))
4024 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4025 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
4026 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_GetImageRect. Expected _wxGenericDragImage_p.");
4032 if (! wxPoint_helper(_obj1
, &_arg1
))
4036 wxPy_BEGIN_ALLOW_THREADS
;
4037 _result
= new wxRect (wxDragImage_GetImageRect(_arg0
,*_arg1
));
4039 wxPy_END_ALLOW_THREADS
;
4040 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
4041 _resultobj
= Py_BuildValue("s",_ptemp
);
4045 #define wxDragImage_RedrawImage(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->RedrawImage(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4046 static PyObject
*_wrap_wxDragImage_RedrawImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4047 PyObject
* _resultobj
;
4049 wxGenericDragImage
* _arg0
;
4054 PyObject
* _argo0
= 0;
4056 PyObject
* _obj1
= 0;
4058 PyObject
* _obj2
= 0;
4061 char *_kwnames
[] = { "self","oldPos","newPos","eraseOld","drawNew", NULL
};
4064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOii:wxDragImage_RedrawImage",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&tempbool3
,&tempbool4
))
4067 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4068 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
4069 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_RedrawImage. Expected _wxGenericDragImage_p.");
4075 if (! wxPoint_helper(_obj1
, &_arg1
))
4080 if (! wxPoint_helper(_obj2
, &_arg2
))
4083 _arg3
= (bool ) tempbool3
;
4084 _arg4
= (bool ) tempbool4
;
4086 wxPy_BEGIN_ALLOW_THREADS
;
4087 _result
= (bool )wxDragImage_RedrawImage(_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
);
4089 wxPy_END_ALLOW_THREADS
;
4090 } _resultobj
= Py_BuildValue("i",_result
);
4094 static void *SwigwxPyTimerTowxObject(void *ptr
) {
4097 src
= (wxPyTimer
*) ptr
;
4098 dest
= (wxObject
*) src
;
4099 return (void *) dest
;
4102 #define new_wxPyTimer(_swigarg0) (new wxPyTimer(_swigarg0))
4103 static PyObject
*_wrap_new_wxPyTimer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4104 PyObject
* _resultobj
;
4105 wxPyTimer
* _result
;
4107 PyObject
* _obj0
= 0;
4108 char *_kwnames
[] = { "notify", NULL
};
4112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxPyTimer",_kwnames
,&_obj0
))
4118 wxPy_BEGIN_ALLOW_THREADS
;
4119 _result
= (wxPyTimer
*)new_wxPyTimer(_arg0
);
4121 wxPy_END_ALLOW_THREADS
;
4123 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTimer_p");
4124 _resultobj
= Py_BuildValue("s",_ptemp
);
4127 _resultobj
= Py_None
;
4132 #define delete_wxPyTimer(_swigobj) (delete _swigobj)
4133 static PyObject
*_wrap_delete_wxPyTimer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4134 PyObject
* _resultobj
;
4136 PyObject
* _argo0
= 0;
4137 char *_kwnames
[] = { "self", NULL
};
4140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPyTimer",_kwnames
,&_argo0
))
4143 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4144 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4145 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPyTimer. Expected _wxPyTimer_p.");
4150 wxPy_BEGIN_ALLOW_THREADS
;
4151 delete_wxPyTimer(_arg0
);
4153 wxPy_END_ALLOW_THREADS
;
4154 } Py_INCREF(Py_None
);
4155 _resultobj
= Py_None
;
4159 #define wxPyTimer_GetInterval(_swigobj) (_swigobj->GetInterval())
4160 static PyObject
*_wrap_wxPyTimer_GetInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4161 PyObject
* _resultobj
;
4164 PyObject
* _argo0
= 0;
4165 char *_kwnames
[] = { "self", NULL
};
4168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_GetInterval",_kwnames
,&_argo0
))
4171 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4172 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4173 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_GetInterval. Expected _wxPyTimer_p.");
4178 wxPy_BEGIN_ALLOW_THREADS
;
4179 _result
= (int )wxPyTimer_GetInterval(_arg0
);
4181 wxPy_END_ALLOW_THREADS
;
4182 } _resultobj
= Py_BuildValue("i",_result
);
4186 #define wxPyTimer_IsOneShot(_swigobj) (_swigobj->IsOneShot())
4187 static PyObject
*_wrap_wxPyTimer_IsOneShot(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4188 PyObject
* _resultobj
;
4191 PyObject
* _argo0
= 0;
4192 char *_kwnames
[] = { "self", NULL
};
4195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_IsOneShot",_kwnames
,&_argo0
))
4198 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4199 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4200 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_IsOneShot. Expected _wxPyTimer_p.");
4205 wxPy_BEGIN_ALLOW_THREADS
;
4206 _result
= (bool )wxPyTimer_IsOneShot(_arg0
);
4208 wxPy_END_ALLOW_THREADS
;
4209 } _resultobj
= Py_BuildValue("i",_result
);
4213 #define wxPyTimer_IsRunning(_swigobj) (_swigobj->IsRunning())
4214 static PyObject
*_wrap_wxPyTimer_IsRunning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4215 PyObject
* _resultobj
;
4218 PyObject
* _argo0
= 0;
4219 char *_kwnames
[] = { "self", NULL
};
4222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_IsRunning",_kwnames
,&_argo0
))
4225 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4226 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4227 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_IsRunning. Expected _wxPyTimer_p.");
4232 wxPy_BEGIN_ALLOW_THREADS
;
4233 _result
= (bool )wxPyTimer_IsRunning(_arg0
);
4235 wxPy_END_ALLOW_THREADS
;
4236 } _resultobj
= Py_BuildValue("i",_result
);
4240 #define wxPyTimer_SetOwner(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetOwner(_swigarg0,_swigarg1))
4241 static PyObject
*_wrap_wxPyTimer_SetOwner(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4242 PyObject
* _resultobj
;
4244 wxEvtHandler
* _arg1
;
4245 int _arg2
= (int ) -1;
4246 PyObject
* _argo0
= 0;
4247 PyObject
* _argo1
= 0;
4248 char *_kwnames
[] = { "self","owner","id", NULL
};
4251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxPyTimer_SetOwner",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
4254 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4255 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4256 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_SetOwner. Expected _wxPyTimer_p.");
4261 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4262 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
4263 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyTimer_SetOwner. Expected _wxEvtHandler_p.");
4268 wxPy_BEGIN_ALLOW_THREADS
;
4269 wxPyTimer_SetOwner(_arg0
,_arg1
,_arg2
);
4271 wxPy_END_ALLOW_THREADS
;
4272 } Py_INCREF(Py_None
);
4273 _resultobj
= Py_None
;
4277 #define wxPyTimer_Start(_swigobj,_swigarg0,_swigarg1) (_swigobj->Start(_swigarg0,_swigarg1))
4278 static PyObject
*_wrap_wxPyTimer_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4279 PyObject
* _resultobj
;
4281 int _arg1
= (int ) -1;
4282 int _arg2
= (int ) FALSE
;
4283 PyObject
* _argo0
= 0;
4284 char *_kwnames
[] = { "self","milliseconds","oneShot", NULL
};
4287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxPyTimer_Start",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4290 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4291 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4292 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_Start. Expected _wxPyTimer_p.");
4297 wxPy_BEGIN_ALLOW_THREADS
;
4298 wxPyTimer_Start(_arg0
,_arg1
,_arg2
);
4300 wxPy_END_ALLOW_THREADS
;
4301 } Py_INCREF(Py_None
);
4302 _resultobj
= Py_None
;
4306 #define wxPyTimer_Stop(_swigobj) (_swigobj->Stop())
4307 static PyObject
*_wrap_wxPyTimer_Stop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4308 PyObject
* _resultobj
;
4310 PyObject
* _argo0
= 0;
4311 char *_kwnames
[] = { "self", NULL
};
4314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_Stop",_kwnames
,&_argo0
))
4317 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4318 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4319 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_Stop. Expected _wxPyTimer_p.");
4324 wxPy_BEGIN_ALLOW_THREADS
;
4325 wxPyTimer_Stop(_arg0
);
4327 wxPy_END_ALLOW_THREADS
;
4328 } Py_INCREF(Py_None
);
4329 _resultobj
= Py_None
;
4333 #define new_wxStopWatch() (new wxStopWatch())
4334 static PyObject
*_wrap_new_wxStopWatch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4335 PyObject
* _resultobj
;
4336 wxStopWatch
* _result
;
4337 char *_kwnames
[] = { NULL
};
4341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxStopWatch",_kwnames
))
4344 wxPy_BEGIN_ALLOW_THREADS
;
4345 _result
= (wxStopWatch
*)new_wxStopWatch();
4347 wxPy_END_ALLOW_THREADS
;
4349 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStopWatch_p");
4350 _resultobj
= Py_BuildValue("s",_ptemp
);
4353 _resultobj
= Py_None
;
4358 #define wxStopWatch_Start(_swigobj,_swigarg0) (_swigobj->Start(_swigarg0))
4359 static PyObject
*_wrap_wxStopWatch_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4360 PyObject
* _resultobj
;
4361 wxStopWatch
* _arg0
;
4362 long _arg1
= (long ) 0;
4363 PyObject
* _argo0
= 0;
4364 char *_kwnames
[] = { "self","t", NULL
};
4367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|l:wxStopWatch_Start",_kwnames
,&_argo0
,&_arg1
))
4370 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4371 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStopWatch_p")) {
4372 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStopWatch_Start. Expected _wxStopWatch_p.");
4377 wxPy_BEGIN_ALLOW_THREADS
;
4378 wxStopWatch_Start(_arg0
,_arg1
);
4380 wxPy_END_ALLOW_THREADS
;
4381 } Py_INCREF(Py_None
);
4382 _resultobj
= Py_None
;
4386 #define wxStopWatch_Pause(_swigobj) (_swigobj->Pause())
4387 static PyObject
*_wrap_wxStopWatch_Pause(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4388 PyObject
* _resultobj
;
4389 wxStopWatch
* _arg0
;
4390 PyObject
* _argo0
= 0;
4391 char *_kwnames
[] = { "self", NULL
};
4394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStopWatch_Pause",_kwnames
,&_argo0
))
4397 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4398 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStopWatch_p")) {
4399 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStopWatch_Pause. Expected _wxStopWatch_p.");
4404 wxPy_BEGIN_ALLOW_THREADS
;
4405 wxStopWatch_Pause(_arg0
);
4407 wxPy_END_ALLOW_THREADS
;
4408 } Py_INCREF(Py_None
);
4409 _resultobj
= Py_None
;
4413 #define wxStopWatch_Resume(_swigobj) (_swigobj->Resume())
4414 static PyObject
*_wrap_wxStopWatch_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4415 PyObject
* _resultobj
;
4416 wxStopWatch
* _arg0
;
4417 PyObject
* _argo0
= 0;
4418 char *_kwnames
[] = { "self", NULL
};
4421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStopWatch_Resume",_kwnames
,&_argo0
))
4424 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4425 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStopWatch_p")) {
4426 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStopWatch_Resume. Expected _wxStopWatch_p.");
4431 wxPy_BEGIN_ALLOW_THREADS
;
4432 wxStopWatch_Resume(_arg0
);
4434 wxPy_END_ALLOW_THREADS
;
4435 } Py_INCREF(Py_None
);
4436 _resultobj
= Py_None
;
4440 #define wxStopWatch_Time(_swigobj) (_swigobj->Time())
4441 static PyObject
*_wrap_wxStopWatch_Time(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4442 PyObject
* _resultobj
;
4444 wxStopWatch
* _arg0
;
4445 PyObject
* _argo0
= 0;
4446 char *_kwnames
[] = { "self", NULL
};
4449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStopWatch_Time",_kwnames
,&_argo0
))
4452 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4453 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStopWatch_p")) {
4454 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStopWatch_Time. Expected _wxStopWatch_p.");
4459 wxPy_BEGIN_ALLOW_THREADS
;
4460 _result
= (long )wxStopWatch_Time(_arg0
);
4462 wxPy_END_ALLOW_THREADS
;
4463 } _resultobj
= Py_BuildValue("l",_result
);
4467 #define new_wxLog() (new wxLog())
4468 static PyObject
*_wrap_new_wxLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4469 PyObject
* _resultobj
;
4471 char *_kwnames
[] = { NULL
};
4475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLog",_kwnames
))
4478 wxPy_BEGIN_ALLOW_THREADS
;
4479 _result
= (wxLog
*)new_wxLog();
4481 wxPy_END_ALLOW_THREADS
;
4483 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
4484 _resultobj
= Py_BuildValue("s",_ptemp
);
4487 _resultobj
= Py_None
;
4492 static PyObject
*_wrap_wxLog_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4493 PyObject
* _resultobj
;
4495 char *_kwnames
[] = { NULL
};
4498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_IsEnabled",_kwnames
))
4501 wxPy_BEGIN_ALLOW_THREADS
;
4502 _result
= (bool )wxLog::IsEnabled();
4504 wxPy_END_ALLOW_THREADS
;
4505 } _resultobj
= Py_BuildValue("i",_result
);
4509 static PyObject
*_wrap_wxLog_EnableLogging(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4510 PyObject
* _resultobj
;
4512 bool _arg0
= (bool ) TRUE
;
4513 int tempbool0
= (int) TRUE
;
4514 char *_kwnames
[] = { "doIt", NULL
};
4517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:wxLog_EnableLogging",_kwnames
,&tempbool0
))
4519 _arg0
= (bool ) tempbool0
;
4521 wxPy_BEGIN_ALLOW_THREADS
;
4522 _result
= (bool )wxLog::EnableLogging(_arg0
);
4524 wxPy_END_ALLOW_THREADS
;
4525 } _resultobj
= Py_BuildValue("i",_result
);
4529 static PyObject
*_wrap_wxLog_OnLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4530 PyObject
* _resultobj
;
4533 int _arg2
= (int ) 0;
4534 PyObject
* _argo0
= 0;
4535 char *_kwnames
[] = { "level","szString","t", NULL
};
4538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Os|i:wxLog_OnLog",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4541 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4542 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogLevel_p")) {
4543 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_OnLog. Expected _wxLogLevel_p.");
4548 wxPy_BEGIN_ALLOW_THREADS
;
4549 wxLog::OnLog(*_arg0
,_arg1
,_arg2
);
4551 wxPy_END_ALLOW_THREADS
;
4552 } Py_INCREF(Py_None
);
4553 _resultobj
= Py_None
;
4557 #define wxLog_Flush(_swigobj) (_swigobj->Flush())
4558 static PyObject
*_wrap_wxLog_Flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4559 PyObject
* _resultobj
;
4561 PyObject
* _argo0
= 0;
4562 char *_kwnames
[] = { "self", NULL
};
4565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_Flush",_kwnames
,&_argo0
))
4568 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4569 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
4570 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_Flush. Expected _wxLog_p.");
4575 wxPy_BEGIN_ALLOW_THREADS
;
4578 wxPy_END_ALLOW_THREADS
;
4579 } Py_INCREF(Py_None
);
4580 _resultobj
= Py_None
;
4584 #define wxLog_HasPendingMessages(_swigobj) (_swigobj->HasPendingMessages())
4585 static PyObject
*_wrap_wxLog_HasPendingMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4586 PyObject
* _resultobj
;
4589 PyObject
* _argo0
= 0;
4590 char *_kwnames
[] = { "self", NULL
};
4593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_HasPendingMessages",_kwnames
,&_argo0
))
4596 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4597 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
4598 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_HasPendingMessages. Expected _wxLog_p.");
4603 wxPy_BEGIN_ALLOW_THREADS
;
4604 _result
= (bool )wxLog_HasPendingMessages(_arg0
);
4606 wxPy_END_ALLOW_THREADS
;
4607 } _resultobj
= Py_BuildValue("i",_result
);
4611 static PyObject
*_wrap_wxLog_FlushActive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4612 PyObject
* _resultobj
;
4613 char *_kwnames
[] = { NULL
};
4616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_FlushActive",_kwnames
))
4619 wxPy_BEGIN_ALLOW_THREADS
;
4620 wxLog::FlushActive();
4622 wxPy_END_ALLOW_THREADS
;
4623 } Py_INCREF(Py_None
);
4624 _resultobj
= Py_None
;
4628 static PyObject
*_wrap_wxLog_GetActiveTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4629 PyObject
* _resultobj
;
4631 char *_kwnames
[] = { NULL
};
4635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_GetActiveTarget",_kwnames
))
4638 wxPy_BEGIN_ALLOW_THREADS
;
4639 _result
= (wxLog
*)wxLog::GetActiveTarget();
4641 wxPy_END_ALLOW_THREADS
;
4643 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
4644 _resultobj
= Py_BuildValue("s",_ptemp
);
4647 _resultobj
= Py_None
;
4652 static PyObject
*_wrap_wxLog_SetActiveTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4653 PyObject
* _resultobj
;
4656 PyObject
* _argo0
= 0;
4657 char *_kwnames
[] = { "pLogger", NULL
};
4661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_SetActiveTarget",_kwnames
,&_argo0
))
4664 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4665 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
4666 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_SetActiveTarget. Expected _wxLog_p.");
4671 wxPy_BEGIN_ALLOW_THREADS
;
4672 _result
= (wxLog
*)wxLog::SetActiveTarget(_arg0
);
4674 wxPy_END_ALLOW_THREADS
;
4676 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
4677 _resultobj
= Py_BuildValue("s",_ptemp
);
4680 _resultobj
= Py_None
;
4685 static PyObject
*_wrap_wxLog_Suspend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4686 PyObject
* _resultobj
;
4687 char *_kwnames
[] = { NULL
};
4690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_Suspend",_kwnames
))
4693 wxPy_BEGIN_ALLOW_THREADS
;
4696 wxPy_END_ALLOW_THREADS
;
4697 } Py_INCREF(Py_None
);
4698 _resultobj
= Py_None
;
4702 static PyObject
*_wrap_wxLog_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4703 PyObject
* _resultobj
;
4704 char *_kwnames
[] = { NULL
};
4707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_Resume",_kwnames
))
4710 wxPy_BEGIN_ALLOW_THREADS
;
4713 wxPy_END_ALLOW_THREADS
;
4714 } Py_INCREF(Py_None
);
4715 _resultobj
= Py_None
;
4719 #define wxLog_SetVerbose(_swigobj,_swigarg0) (_swigobj->SetVerbose(_swigarg0))
4720 static PyObject
*_wrap_wxLog_SetVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4721 PyObject
* _resultobj
;
4723 bool _arg1
= (bool ) TRUE
;
4724 PyObject
* _argo0
= 0;
4725 int tempbool1
= (int) TRUE
;
4726 char *_kwnames
[] = { "self","bVerbose", NULL
};
4729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxLog_SetVerbose",_kwnames
,&_argo0
,&tempbool1
))
4732 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4733 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
4734 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_SetVerbose. Expected _wxLog_p.");
4738 _arg1
= (bool ) tempbool1
;
4740 wxPy_BEGIN_ALLOW_THREADS
;
4741 wxLog_SetVerbose(_arg0
,_arg1
);
4743 wxPy_END_ALLOW_THREADS
;
4744 } Py_INCREF(Py_None
);
4745 _resultobj
= Py_None
;
4749 static PyObject
*_wrap_wxLog_DontCreateOnDemand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4750 PyObject
* _resultobj
;
4751 char *_kwnames
[] = { NULL
};
4754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_DontCreateOnDemand",_kwnames
))
4757 wxPy_BEGIN_ALLOW_THREADS
;
4758 wxLog::DontCreateOnDemand();
4760 wxPy_END_ALLOW_THREADS
;
4761 } Py_INCREF(Py_None
);
4762 _resultobj
= Py_None
;
4766 static PyObject
*_wrap_wxLog_SetTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4767 PyObject
* _resultobj
;
4768 wxTraceMask
* _arg0
;
4769 PyObject
* _argo0
= 0;
4770 char *_kwnames
[] = { "ulMask", NULL
};
4773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_SetTraceMask",_kwnames
,&_argo0
))
4776 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4777 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTraceMask_p")) {
4778 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_SetTraceMask. Expected _wxTraceMask_p.");
4783 wxPy_BEGIN_ALLOW_THREADS
;
4784 wxLog::SetTraceMask(*_arg0
);
4786 wxPy_END_ALLOW_THREADS
;
4787 } Py_INCREF(Py_None
);
4788 _resultobj
= Py_None
;
4792 static PyObject
*_wrap_wxLog_AddTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4793 PyObject
* _resultobj
;
4795 PyObject
* _obj0
= 0;
4796 char *_kwnames
[] = { "str", NULL
};
4799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_AddTraceMask",_kwnames
,&_obj0
))
4802 #if PYTHON_API_VERSION >= 1009
4803 char* tmpPtr
; int tmpSize
;
4804 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
4805 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4808 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
4810 _arg0
= new wxString(tmpPtr
, tmpSize
);
4812 if (!PyString_Check(_obj0
)) {
4813 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4816 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
4820 wxPy_BEGIN_ALLOW_THREADS
;
4821 wxLog::AddTraceMask(*_arg0
);
4823 wxPy_END_ALLOW_THREADS
;
4824 } Py_INCREF(Py_None
);
4825 _resultobj
= Py_None
;
4833 static PyObject
*_wrap_wxLog_RemoveTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4834 PyObject
* _resultobj
;
4836 PyObject
* _obj0
= 0;
4837 char *_kwnames
[] = { "str", NULL
};
4840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_RemoveTraceMask",_kwnames
,&_obj0
))
4843 #if PYTHON_API_VERSION >= 1009
4844 char* tmpPtr
; int tmpSize
;
4845 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
4846 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4849 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
4851 _arg0
= new wxString(tmpPtr
, tmpSize
);
4853 if (!PyString_Check(_obj0
)) {
4854 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4857 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
4861 wxPy_BEGIN_ALLOW_THREADS
;
4862 wxLog::RemoveTraceMask(*_arg0
);
4864 wxPy_END_ALLOW_THREADS
;
4865 } Py_INCREF(Py_None
);
4866 _resultobj
= Py_None
;
4874 static PyObject
*_wrap_wxLog_ClearTraceMasks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4875 PyObject
* _resultobj
;
4876 char *_kwnames
[] = { NULL
};
4879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_ClearTraceMasks",_kwnames
))
4882 wxPy_BEGIN_ALLOW_THREADS
;
4883 wxLog::ClearTraceMasks();
4885 wxPy_END_ALLOW_THREADS
;
4886 } Py_INCREF(Py_None
);
4887 _resultobj
= Py_None
;
4891 static PyObject
*_wrap_wxLog_SetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4892 PyObject
* _resultobj
;
4894 char *_kwnames
[] = { "ts", NULL
};
4897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLog_SetTimestamp",_kwnames
,&_arg0
))
4900 wxPy_BEGIN_ALLOW_THREADS
;
4901 wxLog::SetTimestamp(_arg0
);
4903 wxPy_END_ALLOW_THREADS
;
4904 } Py_INCREF(Py_None
);
4905 _resultobj
= Py_None
;
4909 static PyObject
*_wrap_wxLog_GetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4910 PyObject
* _resultobj
;
4912 char *_kwnames
[] = { NULL
};
4915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_GetTimestamp",_kwnames
))
4918 wxPy_BEGIN_ALLOW_THREADS
;
4919 _result
= (wxChar
*)wxLog::GetTimestamp();
4921 wxPy_END_ALLOW_THREADS
;
4922 } _resultobj
= Py_BuildValue("s", _result
);
4926 #define wxLog_GetVerbose(_swigobj) (_swigobj->GetVerbose())
4927 static PyObject
*_wrap_wxLog_GetVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4928 PyObject
* _resultobj
;
4931 PyObject
* _argo0
= 0;
4932 char *_kwnames
[] = { "self", NULL
};
4935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_GetVerbose",_kwnames
,&_argo0
))
4938 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4939 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
4940 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_GetVerbose. Expected _wxLog_p.");
4945 wxPy_BEGIN_ALLOW_THREADS
;
4946 _result
= (bool )wxLog_GetVerbose(_arg0
);
4948 wxPy_END_ALLOW_THREADS
;
4949 } _resultobj
= Py_BuildValue("i",_result
);
4953 static PyObject
*_wrap_wxLog_GetTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4954 PyObject
* _resultobj
;
4955 wxTraceMask
* _result
;
4956 char *_kwnames
[] = { NULL
};
4960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_GetTraceMask",_kwnames
))
4963 wxPy_BEGIN_ALLOW_THREADS
;
4964 _result
= new wxTraceMask (wxLog::GetTraceMask());
4966 wxPy_END_ALLOW_THREADS
;
4967 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTraceMask_p");
4968 _resultobj
= Py_BuildValue("s",_ptemp
);
4972 static PyObject
*_wrap_wxLog_IsAllowedTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4973 PyObject
* _resultobj
;
4976 char *_kwnames
[] = { "mask", NULL
};
4979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLog_IsAllowedTraceMask",_kwnames
,&_arg0
))
4982 wxPy_BEGIN_ALLOW_THREADS
;
4983 _result
= (bool )wxLog::IsAllowedTraceMask(_arg0
);
4985 wxPy_END_ALLOW_THREADS
;
4986 } _resultobj
= Py_BuildValue("i",_result
);
4990 static wxString
wxLog_TimeStamp(wxLog
*self
) {
4992 wxLog::TimeStamp(&msg
);
4995 static PyObject
*_wrap_wxLog_TimeStamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4996 PyObject
* _resultobj
;
4999 PyObject
* _argo0
= 0;
5000 char *_kwnames
[] = { "self", NULL
};
5003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_TimeStamp",_kwnames
,&_argo0
))
5006 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5007 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
5008 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_TimeStamp. Expected _wxLog_p.");
5013 wxPy_BEGIN_ALLOW_THREADS
;
5014 _result
= new wxString (wxLog_TimeStamp(_arg0
));
5016 wxPy_END_ALLOW_THREADS
;
5018 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5026 static void *SwigwxLogStderrTowxLog(void *ptr
) {
5029 src
= (wxLogStderr
*) ptr
;
5030 dest
= (wxLog
*) src
;
5031 return (void *) dest
;
5034 #define new_wxLogStderr() (new wxLogStderr())
5035 static PyObject
*_wrap_new_wxLogStderr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5036 PyObject
* _resultobj
;
5037 wxLogStderr
* _result
;
5038 char *_kwnames
[] = { NULL
};
5042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLogStderr",_kwnames
))
5045 wxPy_BEGIN_ALLOW_THREADS
;
5046 _result
= (wxLogStderr
*)new_wxLogStderr();
5048 wxPy_END_ALLOW_THREADS
;
5050 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogStderr_p");
5051 _resultobj
= Py_BuildValue("s",_ptemp
);
5054 _resultobj
= Py_None
;
5059 static void *SwigwxLogTextCtrlTowxLog(void *ptr
) {
5062 src
= (wxLogTextCtrl
*) ptr
;
5063 dest
= (wxLog
*) src
;
5064 return (void *) dest
;
5067 #define new_wxLogTextCtrl(_swigarg0) (new wxLogTextCtrl(_swigarg0))
5068 static PyObject
*_wrap_new_wxLogTextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5069 PyObject
* _resultobj
;
5070 wxLogTextCtrl
* _result
;
5072 PyObject
* _argo0
= 0;
5073 char *_kwnames
[] = { "pTextCtrl", NULL
};
5077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxLogTextCtrl",_kwnames
,&_argo0
))
5080 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5081 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
5082 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxLogTextCtrl. Expected _wxTextCtrl_p.");
5087 wxPy_BEGIN_ALLOW_THREADS
;
5088 _result
= (wxLogTextCtrl
*)new_wxLogTextCtrl(_arg0
);
5090 wxPy_END_ALLOW_THREADS
;
5092 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogTextCtrl_p");
5093 _resultobj
= Py_BuildValue("s",_ptemp
);
5096 _resultobj
= Py_None
;
5101 static void *SwigwxLogGuiTowxLog(void *ptr
) {
5104 src
= (wxLogGui
*) ptr
;
5105 dest
= (wxLog
*) src
;
5106 return (void *) dest
;
5109 #define new_wxLogGui() (new wxLogGui())
5110 static PyObject
*_wrap_new_wxLogGui(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5111 PyObject
* _resultobj
;
5113 char *_kwnames
[] = { NULL
};
5117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLogGui",_kwnames
))
5120 wxPy_BEGIN_ALLOW_THREADS
;
5121 _result
= (wxLogGui
*)new_wxLogGui();
5123 wxPy_END_ALLOW_THREADS
;
5125 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogGui_p");
5126 _resultobj
= Py_BuildValue("s",_ptemp
);
5129 _resultobj
= Py_None
;
5134 static void *SwigwxLogWindowTowxLog(void *ptr
) {
5137 src
= (wxLogWindow
*) ptr
;
5138 dest
= (wxLog
*) src
;
5139 return (void *) dest
;
5142 #define new_wxLogWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxLogWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5143 static PyObject
*_wrap_new_wxLogWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5144 PyObject
* _resultobj
;
5145 wxLogWindow
* _result
;
5148 bool _arg2
= (bool ) TRUE
;
5149 bool _arg3
= (bool ) TRUE
;
5150 PyObject
* _argo0
= 0;
5151 int tempbool2
= (int) TRUE
;
5152 int tempbool3
= (int) TRUE
;
5153 char *_kwnames
[] = { "pParent","szTitle","bShow","bPassToOld", NULL
};
5157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Os|ii:new_wxLogWindow",_kwnames
,&_argo0
,&_arg1
,&tempbool2
,&tempbool3
))
5160 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5161 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
5162 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxLogWindow. Expected _wxFrame_p.");
5166 _arg2
= (bool ) tempbool2
;
5167 _arg3
= (bool ) tempbool3
;
5169 wxPy_BEGIN_ALLOW_THREADS
;
5170 _result
= (wxLogWindow
*)new_wxLogWindow(_arg0
,_arg1
,_arg2
,_arg3
);
5172 wxPy_END_ALLOW_THREADS
;
5174 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogWindow_p");
5175 _resultobj
= Py_BuildValue("s",_ptemp
);
5178 _resultobj
= Py_None
;
5183 #define wxLogWindow_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
5184 static PyObject
*_wrap_wxLogWindow_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5185 PyObject
* _resultobj
;
5186 wxLogWindow
* _arg0
;
5187 bool _arg1
= (bool ) TRUE
;
5188 PyObject
* _argo0
= 0;
5189 int tempbool1
= (int) TRUE
;
5190 char *_kwnames
[] = { "self","bShow", NULL
};
5193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxLogWindow_Show",_kwnames
,&_argo0
,&tempbool1
))
5196 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5197 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
5198 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_Show. Expected _wxLogWindow_p.");
5202 _arg1
= (bool ) tempbool1
;
5204 wxPy_BEGIN_ALLOW_THREADS
;
5205 wxLogWindow_Show(_arg0
,_arg1
);
5207 wxPy_END_ALLOW_THREADS
;
5208 } Py_INCREF(Py_None
);
5209 _resultobj
= Py_None
;
5213 #define wxLogWindow_GetFrame(_swigobj) (_swigobj->GetFrame())
5214 static PyObject
*_wrap_wxLogWindow_GetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5215 PyObject
* _resultobj
;
5217 wxLogWindow
* _arg0
;
5218 PyObject
* _argo0
= 0;
5219 char *_kwnames
[] = { "self", NULL
};
5222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogWindow_GetFrame",_kwnames
,&_argo0
))
5225 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5226 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
5227 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_GetFrame. Expected _wxLogWindow_p.");
5232 wxPy_BEGIN_ALLOW_THREADS
;
5233 _result
= (wxFrame
*)wxLogWindow_GetFrame(_arg0
);
5235 wxPy_END_ALLOW_THREADS
;
5236 }{ _resultobj
= wxPyMake_wxObject(_result
); }
5240 #define wxLogWindow_GetOldLog(_swigobj) (_swigobj->GetOldLog())
5241 static PyObject
*_wrap_wxLogWindow_GetOldLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5242 PyObject
* _resultobj
;
5244 wxLogWindow
* _arg0
;
5245 PyObject
* _argo0
= 0;
5246 char *_kwnames
[] = { "self", NULL
};
5250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogWindow_GetOldLog",_kwnames
,&_argo0
))
5253 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5254 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
5255 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_GetOldLog. Expected _wxLogWindow_p.");
5260 wxPy_BEGIN_ALLOW_THREADS
;
5261 _result
= (wxLog
*)wxLogWindow_GetOldLog(_arg0
);
5263 wxPy_END_ALLOW_THREADS
;
5265 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
5266 _resultobj
= Py_BuildValue("s",_ptemp
);
5269 _resultobj
= Py_None
;
5274 #define wxLogWindow_IsPassingMessages(_swigobj) (_swigobj->IsPassingMessages())
5275 static PyObject
*_wrap_wxLogWindow_IsPassingMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5276 PyObject
* _resultobj
;
5278 wxLogWindow
* _arg0
;
5279 PyObject
* _argo0
= 0;
5280 char *_kwnames
[] = { "self", NULL
};
5283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogWindow_IsPassingMessages",_kwnames
,&_argo0
))
5286 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5287 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
5288 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_IsPassingMessages. Expected _wxLogWindow_p.");
5293 wxPy_BEGIN_ALLOW_THREADS
;
5294 _result
= (bool )wxLogWindow_IsPassingMessages(_arg0
);
5296 wxPy_END_ALLOW_THREADS
;
5297 } _resultobj
= Py_BuildValue("i",_result
);
5301 #define wxLogWindow_PassMessages(_swigobj,_swigarg0) (_swigobj->PassMessages(_swigarg0))
5302 static PyObject
*_wrap_wxLogWindow_PassMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5303 PyObject
* _resultobj
;
5304 wxLogWindow
* _arg0
;
5306 PyObject
* _argo0
= 0;
5308 char *_kwnames
[] = { "self","bDoPass", NULL
};
5311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxLogWindow_PassMessages",_kwnames
,&_argo0
,&tempbool1
))
5314 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5315 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
5316 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_PassMessages. Expected _wxLogWindow_p.");
5320 _arg1
= (bool ) tempbool1
;
5322 wxPy_BEGIN_ALLOW_THREADS
;
5323 wxLogWindow_PassMessages(_arg0
,_arg1
);
5325 wxPy_END_ALLOW_THREADS
;
5326 } Py_INCREF(Py_None
);
5327 _resultobj
= Py_None
;
5331 #define new_wxLogNull() (new wxLogNull())
5332 static PyObject
*_wrap_new_wxLogNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5333 PyObject
* _resultobj
;
5334 wxLogNull
* _result
;
5335 char *_kwnames
[] = { NULL
};
5339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLogNull",_kwnames
))
5342 wxPy_BEGIN_ALLOW_THREADS
;
5343 _result
= (wxLogNull
*)new_wxLogNull();
5345 wxPy_END_ALLOW_THREADS
;
5347 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogNull_p");
5348 _resultobj
= Py_BuildValue("s",_ptemp
);
5351 _resultobj
= Py_None
;
5356 #define delete_wxLogNull(_swigobj) (delete _swigobj)
5357 static PyObject
*_wrap_delete_wxLogNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5358 PyObject
* _resultobj
;
5360 PyObject
* _argo0
= 0;
5361 char *_kwnames
[] = { "self", NULL
};
5364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxLogNull",_kwnames
,&_argo0
))
5367 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5368 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogNull_p")) {
5369 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxLogNull. Expected _wxLogNull_p.");
5374 wxPy_BEGIN_ALLOW_THREADS
;
5375 delete_wxLogNull(_arg0
);
5377 wxPy_END_ALLOW_THREADS
;
5378 } Py_INCREF(Py_None
);
5379 _resultobj
= Py_None
;
5383 static void *SwigwxLogChainTowxLog(void *ptr
) {
5386 src
= (wxLogChain
*) ptr
;
5387 dest
= (wxLog
*) src
;
5388 return (void *) dest
;
5391 #define new_wxLogChain(_swigarg0) (new wxLogChain(_swigarg0))
5392 static PyObject
*_wrap_new_wxLogChain(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5393 PyObject
* _resultobj
;
5394 wxLogChain
* _result
;
5396 PyObject
* _argo0
= 0;
5397 char *_kwnames
[] = { "logger", NULL
};
5401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxLogChain",_kwnames
,&_argo0
))
5404 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5405 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
5406 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxLogChain. Expected _wxLog_p.");
5411 wxPy_BEGIN_ALLOW_THREADS
;
5412 _result
= (wxLogChain
*)new_wxLogChain(_arg0
);
5414 wxPy_END_ALLOW_THREADS
;
5416 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogChain_p");
5417 _resultobj
= Py_BuildValue("s",_ptemp
);
5420 _resultobj
= Py_None
;
5425 #define wxLogChain_SetLog(_swigobj,_swigarg0) (_swigobj->SetLog(_swigarg0))
5426 static PyObject
*_wrap_wxLogChain_SetLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5427 PyObject
* _resultobj
;
5430 PyObject
* _argo0
= 0;
5431 PyObject
* _argo1
= 0;
5432 char *_kwnames
[] = { "self","logger", NULL
};
5435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxLogChain_SetLog",_kwnames
,&_argo0
,&_argo1
))
5438 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5439 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogChain_p")) {
5440 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogChain_SetLog. Expected _wxLogChain_p.");
5445 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5446 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxLog_p")) {
5447 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxLogChain_SetLog. Expected _wxLog_p.");
5452 wxPy_BEGIN_ALLOW_THREADS
;
5453 wxLogChain_SetLog(_arg0
,_arg1
);
5455 wxPy_END_ALLOW_THREADS
;
5456 } Py_INCREF(Py_None
);
5457 _resultobj
= Py_None
;
5461 #define wxLogChain_PassMessages(_swigobj,_swigarg0) (_swigobj->PassMessages(_swigarg0))
5462 static PyObject
*_wrap_wxLogChain_PassMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5463 PyObject
* _resultobj
;
5466 PyObject
* _argo0
= 0;
5468 char *_kwnames
[] = { "self","bDoPass", NULL
};
5471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxLogChain_PassMessages",_kwnames
,&_argo0
,&tempbool1
))
5474 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5475 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogChain_p")) {
5476 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogChain_PassMessages. Expected _wxLogChain_p.");
5480 _arg1
= (bool ) tempbool1
;
5482 wxPy_BEGIN_ALLOW_THREADS
;
5483 wxLogChain_PassMessages(_arg0
,_arg1
);
5485 wxPy_END_ALLOW_THREADS
;
5486 } Py_INCREF(Py_None
);
5487 _resultobj
= Py_None
;
5491 #define wxLogChain_IsPassingMessages(_swigobj) (_swigobj->IsPassingMessages())
5492 static PyObject
*_wrap_wxLogChain_IsPassingMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5493 PyObject
* _resultobj
;
5496 PyObject
* _argo0
= 0;
5497 char *_kwnames
[] = { "self", NULL
};
5500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogChain_IsPassingMessages",_kwnames
,&_argo0
))
5503 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5504 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogChain_p")) {
5505 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogChain_IsPassingMessages. Expected _wxLogChain_p.");
5510 wxPy_BEGIN_ALLOW_THREADS
;
5511 _result
= (bool )wxLogChain_IsPassingMessages(_arg0
);
5513 wxPy_END_ALLOW_THREADS
;
5514 } _resultobj
= Py_BuildValue("i",_result
);
5518 #define wxLogChain_GetOldLog(_swigobj) (_swigobj->GetOldLog())
5519 static PyObject
*_wrap_wxLogChain_GetOldLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5520 PyObject
* _resultobj
;
5523 PyObject
* _argo0
= 0;
5524 char *_kwnames
[] = { "self", NULL
};
5528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogChain_GetOldLog",_kwnames
,&_argo0
))
5531 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5532 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogChain_p")) {
5533 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogChain_GetOldLog. Expected _wxLogChain_p.");
5538 wxPy_BEGIN_ALLOW_THREADS
;
5539 _result
= (wxLog
*)wxLogChain_GetOldLog(_arg0
);
5541 wxPy_END_ALLOW_THREADS
;
5543 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
5544 _resultobj
= Py_BuildValue("s",_ptemp
);
5547 _resultobj
= Py_None
;
5552 static void *SwigwxPyLogTowxLog(void *ptr
) {
5555 src
= (wxPyLog
*) ptr
;
5556 dest
= (wxLog
*) src
;
5557 return (void *) dest
;
5560 #define new_wxPyLog() (new wxPyLog())
5561 static PyObject
*_wrap_new_wxPyLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5562 PyObject
* _resultobj
;
5564 char *_kwnames
[] = { NULL
};
5568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPyLog",_kwnames
))
5571 wxPy_BEGIN_ALLOW_THREADS
;
5572 _result
= (wxPyLog
*)new_wxPyLog();
5574 wxPy_END_ALLOW_THREADS
;
5576 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyLog_p");
5577 _resultobj
= Py_BuildValue("s",_ptemp
);
5580 _resultobj
= Py_None
;
5585 #define wxPyLog__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
5586 static PyObject
*_wrap_wxPyLog__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5587 PyObject
* _resultobj
;
5591 PyObject
* _argo0
= 0;
5592 PyObject
* _obj1
= 0;
5593 PyObject
* _obj2
= 0;
5594 char *_kwnames
[] = { "self","self","_class", NULL
};
5597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyLog__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
5600 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5601 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLog_p")) {
5602 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLog__setCallbackInfo. Expected _wxPyLog_p.");
5613 wxPy_BEGIN_ALLOW_THREADS
;
5614 wxPyLog__setCallbackInfo(_arg0
,_arg1
,_arg2
);
5616 wxPy_END_ALLOW_THREADS
;
5617 } Py_INCREF(Py_None
);
5618 _resultobj
= Py_None
;
5622 static void wxPyLog_Destroy(wxPyLog
*self
) { delete self
; }
5623 static PyObject
*_wrap_wxPyLog_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5624 PyObject
* _resultobj
;
5626 PyObject
* _argo0
= 0;
5627 char *_kwnames
[] = { "self", NULL
};
5630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyLog_Destroy",_kwnames
,&_argo0
))
5633 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5634 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLog_p")) {
5635 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLog_Destroy. Expected _wxPyLog_p.");
5640 wxPy_BEGIN_ALLOW_THREADS
;
5641 wxPyLog_Destroy(_arg0
);
5643 wxPy_END_ALLOW_THREADS
;
5644 } Py_INCREF(Py_None
);
5645 _resultobj
= Py_None
;
5649 static void *SwigwxProcessEventTowxEvent(void *ptr
) {
5650 wxProcessEvent
*src
;
5652 src
= (wxProcessEvent
*) ptr
;
5653 dest
= (wxEvent
*) src
;
5654 return (void *) dest
;
5657 static void *SwigwxProcessEventTowxObject(void *ptr
) {
5658 wxProcessEvent
*src
;
5660 src
= (wxProcessEvent
*) ptr
;
5661 dest
= (wxObject
*) src
;
5662 return (void *) dest
;
5665 #define new_wxProcessEvent(_swigarg0,_swigarg1,_swigarg2) (new wxProcessEvent(_swigarg0,_swigarg1,_swigarg2))
5666 static PyObject
*_wrap_new_wxProcessEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5667 PyObject
* _resultobj
;
5668 wxProcessEvent
* _result
;
5669 int _arg0
= (int ) 0;
5670 int _arg1
= (int ) 0;
5671 int _arg2
= (int ) 0;
5672 char *_kwnames
[] = { "id","pid","exitcode", NULL
};
5676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iii:new_wxProcessEvent",_kwnames
,&_arg0
,&_arg1
,&_arg2
))
5679 wxPy_BEGIN_ALLOW_THREADS
;
5680 _result
= (wxProcessEvent
*)new_wxProcessEvent(_arg0
,_arg1
,_arg2
);
5682 wxPy_END_ALLOW_THREADS
;
5684 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxProcessEvent_p");
5685 _resultobj
= Py_BuildValue("s",_ptemp
);
5688 _resultobj
= Py_None
;
5693 #define wxProcessEvent_GetPid(_swigobj) (_swigobj->GetPid())
5694 static PyObject
*_wrap_wxProcessEvent_GetPid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5695 PyObject
* _resultobj
;
5697 wxProcessEvent
* _arg0
;
5698 PyObject
* _argo0
= 0;
5699 char *_kwnames
[] = { "self", NULL
};
5702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcessEvent_GetPid",_kwnames
,&_argo0
))
5705 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5706 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
5707 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_GetPid. Expected _wxProcessEvent_p.");
5712 wxPy_BEGIN_ALLOW_THREADS
;
5713 _result
= (int )wxProcessEvent_GetPid(_arg0
);
5715 wxPy_END_ALLOW_THREADS
;
5716 } _resultobj
= Py_BuildValue("i",_result
);
5720 #define wxProcessEvent_GetExitCode(_swigobj) (_swigobj->GetExitCode())
5721 static PyObject
*_wrap_wxProcessEvent_GetExitCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5722 PyObject
* _resultobj
;
5724 wxProcessEvent
* _arg0
;
5725 PyObject
* _argo0
= 0;
5726 char *_kwnames
[] = { "self", NULL
};
5729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcessEvent_GetExitCode",_kwnames
,&_argo0
))
5732 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5733 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
5734 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_GetExitCode. Expected _wxProcessEvent_p.");
5739 wxPy_BEGIN_ALLOW_THREADS
;
5740 _result
= (int )wxProcessEvent_GetExitCode(_arg0
);
5742 wxPy_END_ALLOW_THREADS
;
5743 } _resultobj
= Py_BuildValue("i",_result
);
5747 #define wxProcessEvent_m_pid_set(_swigobj,_swigval) (_swigobj->m_pid = _swigval,_swigval)
5748 static PyObject
*_wrap_wxProcessEvent_m_pid_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5749 PyObject
* _resultobj
;
5751 wxProcessEvent
* _arg0
;
5753 PyObject
* _argo0
= 0;
5754 char *_kwnames
[] = { "self","m_pid", NULL
};
5757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxProcessEvent_m_pid_set",_kwnames
,&_argo0
,&_arg1
))
5760 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5761 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
5762 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_m_pid_set. Expected _wxProcessEvent_p.");
5767 wxPy_BEGIN_ALLOW_THREADS
;
5768 _result
= (int )wxProcessEvent_m_pid_set(_arg0
,_arg1
);
5770 wxPy_END_ALLOW_THREADS
;
5771 } _resultobj
= Py_BuildValue("i",_result
);
5775 #define wxProcessEvent_m_pid_get(_swigobj) ((int ) _swigobj->m_pid)
5776 static PyObject
*_wrap_wxProcessEvent_m_pid_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5777 PyObject
* _resultobj
;
5779 wxProcessEvent
* _arg0
;
5780 PyObject
* _argo0
= 0;
5781 char *_kwnames
[] = { "self", NULL
};
5784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcessEvent_m_pid_get",_kwnames
,&_argo0
))
5787 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5788 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
5789 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_m_pid_get. Expected _wxProcessEvent_p.");
5794 wxPy_BEGIN_ALLOW_THREADS
;
5795 _result
= (int )wxProcessEvent_m_pid_get(_arg0
);
5797 wxPy_END_ALLOW_THREADS
;
5798 } _resultobj
= Py_BuildValue("i",_result
);
5802 #define wxProcessEvent_m_exitcode_set(_swigobj,_swigval) (_swigobj->m_exitcode = _swigval,_swigval)
5803 static PyObject
*_wrap_wxProcessEvent_m_exitcode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5804 PyObject
* _resultobj
;
5806 wxProcessEvent
* _arg0
;
5808 PyObject
* _argo0
= 0;
5809 char *_kwnames
[] = { "self","m_exitcode", NULL
};
5812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxProcessEvent_m_exitcode_set",_kwnames
,&_argo0
,&_arg1
))
5815 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5816 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
5817 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_m_exitcode_set. Expected _wxProcessEvent_p.");
5822 wxPy_BEGIN_ALLOW_THREADS
;
5823 _result
= (int )wxProcessEvent_m_exitcode_set(_arg0
,_arg1
);
5825 wxPy_END_ALLOW_THREADS
;
5826 } _resultobj
= Py_BuildValue("i",_result
);
5830 #define wxProcessEvent_m_exitcode_get(_swigobj) ((int ) _swigobj->m_exitcode)
5831 static PyObject
*_wrap_wxProcessEvent_m_exitcode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5832 PyObject
* _resultobj
;
5834 wxProcessEvent
* _arg0
;
5835 PyObject
* _argo0
= 0;
5836 char *_kwnames
[] = { "self", NULL
};
5839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcessEvent_m_exitcode_get",_kwnames
,&_argo0
))
5842 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5843 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
5844 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_m_exitcode_get. Expected _wxProcessEvent_p.");
5849 wxPy_BEGIN_ALLOW_THREADS
;
5850 _result
= (int )wxProcessEvent_m_exitcode_get(_arg0
);
5852 wxPy_END_ALLOW_THREADS
;
5853 } _resultobj
= Py_BuildValue("i",_result
);
5857 static void *SwigwxPyProcessTowxEvtHandler(void *ptr
) {
5860 src
= (wxPyProcess
*) ptr
;
5861 dest
= (wxEvtHandler
*) src
;
5862 return (void *) dest
;
5865 static void *SwigwxPyProcessTowxObject(void *ptr
) {
5868 src
= (wxPyProcess
*) ptr
;
5869 dest
= (wxObject
*) src
;
5870 return (void *) dest
;
5873 #define new_wxProcess(_swigarg0,_swigarg1) (new wxPyProcess(_swigarg0,_swigarg1))
5874 static PyObject
*_wrap_new_wxProcess(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5875 PyObject
* _resultobj
;
5876 wxPyProcess
* _result
;
5877 wxEvtHandler
* _arg0
= (wxEvtHandler
*) NULL
;
5878 int _arg1
= (int ) -1;
5879 PyObject
* _argo0
= 0;
5880 char *_kwnames
[] = { "parent","id", NULL
};
5884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|Oi:new_wxProcess",_kwnames
,&_argo0
,&_arg1
))
5887 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5888 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
5889 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxProcess. Expected _wxEvtHandler_p.");
5894 wxPy_BEGIN_ALLOW_THREADS
;
5895 _result
= (wxPyProcess
*)new_wxProcess(_arg0
,_arg1
);
5897 wxPy_END_ALLOW_THREADS
;
5899 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyProcess_p");
5900 _resultobj
= Py_BuildValue("s",_ptemp
);
5903 _resultobj
= Py_None
;
5908 static void wxPyProcess_Destroy(wxPyProcess
*self
) { delete self
; }
5909 static PyObject
*_wrap_wxProcess_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5910 PyObject
* _resultobj
;
5911 wxPyProcess
* _arg0
;
5912 PyObject
* _argo0
= 0;
5913 char *_kwnames
[] = { "self", NULL
};
5916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_Destroy",_kwnames
,&_argo0
))
5919 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5920 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
5921 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_Destroy. Expected _wxPyProcess_p.");
5926 wxPy_BEGIN_ALLOW_THREADS
;
5927 wxPyProcess_Destroy(_arg0
);
5929 wxPy_END_ALLOW_THREADS
;
5930 } Py_INCREF(Py_None
);
5931 _resultobj
= Py_None
;
5935 #define wxProcess__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
5936 static PyObject
*_wrap_wxProcess__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5937 PyObject
* _resultobj
;
5938 wxPyProcess
* _arg0
;
5941 PyObject
* _argo0
= 0;
5942 PyObject
* _obj1
= 0;
5943 PyObject
* _obj2
= 0;
5944 char *_kwnames
[] = { "self","self","_class", NULL
};
5947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxProcess__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
5950 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5951 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
5952 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess__setCallbackInfo. Expected _wxPyProcess_p.");
5963 wxPy_BEGIN_ALLOW_THREADS
;
5964 wxProcess__setCallbackInfo(_arg0
,_arg1
,_arg2
);
5966 wxPy_END_ALLOW_THREADS
;
5967 } Py_INCREF(Py_None
);
5968 _resultobj
= Py_None
;
5972 #define wxProcess_base_OnTerminate(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnTerminate(_swigarg0,_swigarg1))
5973 static PyObject
*_wrap_wxProcess_base_OnTerminate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5974 PyObject
* _resultobj
;
5975 wxPyProcess
* _arg0
;
5978 PyObject
* _argo0
= 0;
5979 char *_kwnames
[] = { "self","pid","status", NULL
};
5982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxProcess_base_OnTerminate",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5985 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5986 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
5987 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_base_OnTerminate. Expected _wxPyProcess_p.");
5992 wxPy_BEGIN_ALLOW_THREADS
;
5993 wxProcess_base_OnTerminate(_arg0
,_arg1
,_arg2
);
5995 wxPy_END_ALLOW_THREADS
;
5996 } Py_INCREF(Py_None
);
5997 _resultobj
= Py_None
;
6001 #define wxProcess_Redirect(_swigobj) (_swigobj->Redirect())
6002 static PyObject
*_wrap_wxProcess_Redirect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6003 PyObject
* _resultobj
;
6004 wxPyProcess
* _arg0
;
6005 PyObject
* _argo0
= 0;
6006 char *_kwnames
[] = { "self", NULL
};
6009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_Redirect",_kwnames
,&_argo0
))
6012 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6013 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6014 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_Redirect. Expected _wxPyProcess_p.");
6019 wxPy_BEGIN_ALLOW_THREADS
;
6020 wxProcess_Redirect(_arg0
);
6022 wxPy_END_ALLOW_THREADS
;
6023 } Py_INCREF(Py_None
);
6024 _resultobj
= Py_None
;
6028 #define wxProcess_IsRedirected(_swigobj) (_swigobj->IsRedirected())
6029 static PyObject
*_wrap_wxProcess_IsRedirected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6030 PyObject
* _resultobj
;
6032 wxPyProcess
* _arg0
;
6033 PyObject
* _argo0
= 0;
6034 char *_kwnames
[] = { "self", NULL
};
6037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_IsRedirected",_kwnames
,&_argo0
))
6040 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6041 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6042 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_IsRedirected. Expected _wxPyProcess_p.");
6047 wxPy_BEGIN_ALLOW_THREADS
;
6048 _result
= (bool )wxProcess_IsRedirected(_arg0
);
6050 wxPy_END_ALLOW_THREADS
;
6051 } _resultobj
= Py_BuildValue("i",_result
);
6055 #define wxProcess_Detach(_swigobj) (_swigobj->Detach())
6056 static PyObject
*_wrap_wxProcess_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6057 PyObject
* _resultobj
;
6058 wxPyProcess
* _arg0
;
6059 PyObject
* _argo0
= 0;
6060 char *_kwnames
[] = { "self", NULL
};
6063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_Detach",_kwnames
,&_argo0
))
6066 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6067 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6068 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_Detach. Expected _wxPyProcess_p.");
6073 wxPy_BEGIN_ALLOW_THREADS
;
6074 wxProcess_Detach(_arg0
);
6076 wxPy_END_ALLOW_THREADS
;
6077 } Py_INCREF(Py_None
);
6078 _resultobj
= Py_None
;
6082 #define wxProcess_GetInputStream(_swigobj) (_swigobj->GetInputStream())
6083 static PyObject
*_wrap_wxProcess_GetInputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6084 PyObject
* _resultobj
;
6085 wxInputStream
* _result
;
6086 wxPyProcess
* _arg0
;
6087 PyObject
* _argo0
= 0;
6088 char *_kwnames
[] = { "self", NULL
};
6091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_GetInputStream",_kwnames
,&_argo0
))
6094 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6095 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6096 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_GetInputStream. Expected _wxPyProcess_p.");
6101 wxPy_BEGIN_ALLOW_THREADS
;
6102 _result
= (wxInputStream
*)wxProcess_GetInputStream(_arg0
);
6104 wxPy_END_ALLOW_THREADS
;
6106 wxPyInputStream
* _ptr
= NULL
;
6109 _ptr
= new wxPyInputStream(_result
);
6111 _resultobj
= wxPyConstructObject(_ptr
, "wxInputStream", TRUE
);
6116 #define wxProcess_GetErrorStream(_swigobj) (_swigobj->GetErrorStream())
6117 static PyObject
*_wrap_wxProcess_GetErrorStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6118 PyObject
* _resultobj
;
6119 wxInputStream
* _result
;
6120 wxPyProcess
* _arg0
;
6121 PyObject
* _argo0
= 0;
6122 char *_kwnames
[] = { "self", NULL
};
6125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_GetErrorStream",_kwnames
,&_argo0
))
6128 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6129 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6130 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_GetErrorStream. Expected _wxPyProcess_p.");
6135 wxPy_BEGIN_ALLOW_THREADS
;
6136 _result
= (wxInputStream
*)wxProcess_GetErrorStream(_arg0
);
6138 wxPy_END_ALLOW_THREADS
;
6140 wxPyInputStream
* _ptr
= NULL
;
6143 _ptr
= new wxPyInputStream(_result
);
6145 _resultobj
= wxPyConstructObject(_ptr
, "wxInputStream", TRUE
);
6150 #define wxProcess_GetOutputStream(_swigobj) (_swigobj->GetOutputStream())
6151 static PyObject
*_wrap_wxProcess_GetOutputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6152 PyObject
* _resultobj
;
6153 wxOutputStream
* _result
;
6154 wxPyProcess
* _arg0
;
6155 PyObject
* _argo0
= 0;
6156 char *_kwnames
[] = { "self", NULL
};
6160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_GetOutputStream",_kwnames
,&_argo0
))
6163 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6164 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6165 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_GetOutputStream. Expected _wxPyProcess_p.");
6170 wxPy_BEGIN_ALLOW_THREADS
;
6171 _result
= (wxOutputStream
*)wxProcess_GetOutputStream(_arg0
);
6173 wxPy_END_ALLOW_THREADS
;
6175 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxOutputStream_p");
6176 _resultobj
= Py_BuildValue("s",_ptemp
);
6179 _resultobj
= Py_None
;
6184 #define wxProcess_CloseOutput(_swigobj) (_swigobj->CloseOutput())
6185 static PyObject
*_wrap_wxProcess_CloseOutput(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6186 PyObject
* _resultobj
;
6187 wxPyProcess
* _arg0
;
6188 PyObject
* _argo0
= 0;
6189 char *_kwnames
[] = { "self", NULL
};
6192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_CloseOutput",_kwnames
,&_argo0
))
6195 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6196 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6197 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_CloseOutput. Expected _wxPyProcess_p.");
6202 wxPy_BEGIN_ALLOW_THREADS
;
6203 wxProcess_CloseOutput(_arg0
);
6205 wxPy_END_ALLOW_THREADS
;
6206 } Py_INCREF(Py_None
);
6207 _resultobj
= Py_None
;
6211 static void *SwigwxJoystickTowxObject(void *ptr
) {
6214 src
= (wxJoystick
*) ptr
;
6215 dest
= (wxObject
*) src
;
6216 return (void *) dest
;
6219 #define new_wxJoystick(_swigarg0) (new wxJoystick(_swigarg0))
6220 static PyObject
*_wrap_new_wxJoystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6221 PyObject
* _resultobj
;
6222 wxJoystick
* _result
;
6223 int _arg0
= (int ) wxJOYSTICK1
;
6224 char *_kwnames
[] = { "joystick", NULL
};
6228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxJoystick",_kwnames
,&_arg0
))
6231 wxPy_BEGIN_ALLOW_THREADS
;
6232 _result
= (wxJoystick
*)new_wxJoystick(_arg0
);
6234 wxPy_END_ALLOW_THREADS
;
6236 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxJoystick_p");
6237 _resultobj
= Py_BuildValue("s",_ptemp
);
6240 _resultobj
= Py_None
;
6245 #define delete_wxJoystick(_swigobj) (delete _swigobj)
6246 static PyObject
*_wrap_delete_wxJoystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6247 PyObject
* _resultobj
;
6249 PyObject
* _argo0
= 0;
6250 char *_kwnames
[] = { "self", NULL
};
6253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxJoystick",_kwnames
,&_argo0
))
6256 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6257 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6258 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxJoystick. Expected _wxJoystick_p.");
6263 wxPy_BEGIN_ALLOW_THREADS
;
6264 delete_wxJoystick(_arg0
);
6266 wxPy_END_ALLOW_THREADS
;
6267 } Py_INCREF(Py_None
);
6268 _resultobj
= Py_None
;
6272 #define wxJoystick_GetPosition(_swigobj) (_swigobj->GetPosition())
6273 static PyObject
*_wrap_wxJoystick_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6274 PyObject
* _resultobj
;
6277 PyObject
* _argo0
= 0;
6278 char *_kwnames
[] = { "self", NULL
};
6282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPosition",_kwnames
,&_argo0
))
6285 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6286 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6287 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPosition. Expected _wxJoystick_p.");
6292 wxPy_BEGIN_ALLOW_THREADS
;
6293 _result
= new wxPoint (wxJoystick_GetPosition(_arg0
));
6295 wxPy_END_ALLOW_THREADS
;
6296 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
6297 _resultobj
= Py_BuildValue("s",_ptemp
);
6301 #define wxJoystick_GetZPosition(_swigobj) (_swigobj->GetZPosition())
6302 static PyObject
*_wrap_wxJoystick_GetZPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6303 PyObject
* _resultobj
;
6306 PyObject
* _argo0
= 0;
6307 char *_kwnames
[] = { "self", NULL
};
6310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetZPosition",_kwnames
,&_argo0
))
6313 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6314 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6315 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetZPosition. Expected _wxJoystick_p.");
6320 wxPy_BEGIN_ALLOW_THREADS
;
6321 _result
= (int )wxJoystick_GetZPosition(_arg0
);
6323 wxPy_END_ALLOW_THREADS
;
6324 } _resultobj
= Py_BuildValue("i",_result
);
6328 #define wxJoystick_GetButtonState(_swigobj) (_swigobj->GetButtonState())
6329 static PyObject
*_wrap_wxJoystick_GetButtonState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6330 PyObject
* _resultobj
;
6333 PyObject
* _argo0
= 0;
6334 char *_kwnames
[] = { "self", NULL
};
6337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetButtonState",_kwnames
,&_argo0
))
6340 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6341 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6342 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetButtonState. Expected _wxJoystick_p.");
6347 wxPy_BEGIN_ALLOW_THREADS
;
6348 _result
= (int )wxJoystick_GetButtonState(_arg0
);
6350 wxPy_END_ALLOW_THREADS
;
6351 } _resultobj
= Py_BuildValue("i",_result
);
6355 #define wxJoystick_GetPOVPosition(_swigobj) (_swigobj->GetPOVPosition())
6356 static PyObject
*_wrap_wxJoystick_GetPOVPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6357 PyObject
* _resultobj
;
6360 PyObject
* _argo0
= 0;
6361 char *_kwnames
[] = { "self", NULL
};
6364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPOVPosition",_kwnames
,&_argo0
))
6367 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6368 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6369 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPOVPosition. Expected _wxJoystick_p.");
6374 wxPy_BEGIN_ALLOW_THREADS
;
6375 _result
= (int )wxJoystick_GetPOVPosition(_arg0
);
6377 wxPy_END_ALLOW_THREADS
;
6378 } _resultobj
= Py_BuildValue("i",_result
);
6382 #define wxJoystick_GetPOVCTSPosition(_swigobj) (_swigobj->GetPOVCTSPosition())
6383 static PyObject
*_wrap_wxJoystick_GetPOVCTSPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6384 PyObject
* _resultobj
;
6387 PyObject
* _argo0
= 0;
6388 char *_kwnames
[] = { "self", NULL
};
6391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPOVCTSPosition",_kwnames
,&_argo0
))
6394 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6395 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6396 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPOVCTSPosition. Expected _wxJoystick_p.");
6401 wxPy_BEGIN_ALLOW_THREADS
;
6402 _result
= (int )wxJoystick_GetPOVCTSPosition(_arg0
);
6404 wxPy_END_ALLOW_THREADS
;
6405 } _resultobj
= Py_BuildValue("i",_result
);
6409 #define wxJoystick_GetRudderPosition(_swigobj) (_swigobj->GetRudderPosition())
6410 static PyObject
*_wrap_wxJoystick_GetRudderPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6411 PyObject
* _resultobj
;
6414 PyObject
* _argo0
= 0;
6415 char *_kwnames
[] = { "self", NULL
};
6418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetRudderPosition",_kwnames
,&_argo0
))
6421 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6422 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6423 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetRudderPosition. Expected _wxJoystick_p.");
6428 wxPy_BEGIN_ALLOW_THREADS
;
6429 _result
= (int )wxJoystick_GetRudderPosition(_arg0
);
6431 wxPy_END_ALLOW_THREADS
;
6432 } _resultobj
= Py_BuildValue("i",_result
);
6436 #define wxJoystick_GetUPosition(_swigobj) (_swigobj->GetUPosition())
6437 static PyObject
*_wrap_wxJoystick_GetUPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6438 PyObject
* _resultobj
;
6441 PyObject
* _argo0
= 0;
6442 char *_kwnames
[] = { "self", NULL
};
6445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetUPosition",_kwnames
,&_argo0
))
6448 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6449 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6450 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetUPosition. Expected _wxJoystick_p.");
6455 wxPy_BEGIN_ALLOW_THREADS
;
6456 _result
= (int )wxJoystick_GetUPosition(_arg0
);
6458 wxPy_END_ALLOW_THREADS
;
6459 } _resultobj
= Py_BuildValue("i",_result
);
6463 #define wxJoystick_GetVPosition(_swigobj) (_swigobj->GetVPosition())
6464 static PyObject
*_wrap_wxJoystick_GetVPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6465 PyObject
* _resultobj
;
6468 PyObject
* _argo0
= 0;
6469 char *_kwnames
[] = { "self", NULL
};
6472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetVPosition",_kwnames
,&_argo0
))
6475 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6476 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6477 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetVPosition. Expected _wxJoystick_p.");
6482 wxPy_BEGIN_ALLOW_THREADS
;
6483 _result
= (int )wxJoystick_GetVPosition(_arg0
);
6485 wxPy_END_ALLOW_THREADS
;
6486 } _resultobj
= Py_BuildValue("i",_result
);
6490 #define wxJoystick_GetMovementThreshold(_swigobj) (_swigobj->GetMovementThreshold())
6491 static PyObject
*_wrap_wxJoystick_GetMovementThreshold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6492 PyObject
* _resultobj
;
6495 PyObject
* _argo0
= 0;
6496 char *_kwnames
[] = { "self", NULL
};
6499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetMovementThreshold",_kwnames
,&_argo0
))
6502 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6503 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6504 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetMovementThreshold. Expected _wxJoystick_p.");
6509 wxPy_BEGIN_ALLOW_THREADS
;
6510 _result
= (int )wxJoystick_GetMovementThreshold(_arg0
);
6512 wxPy_END_ALLOW_THREADS
;
6513 } _resultobj
= Py_BuildValue("i",_result
);
6517 #define wxJoystick_SetMovementThreshold(_swigobj,_swigarg0) (_swigobj->SetMovementThreshold(_swigarg0))
6518 static PyObject
*_wrap_wxJoystick_SetMovementThreshold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6519 PyObject
* _resultobj
;
6522 PyObject
* _argo0
= 0;
6523 char *_kwnames
[] = { "self","threshold", NULL
};
6526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxJoystick_SetMovementThreshold",_kwnames
,&_argo0
,&_arg1
))
6529 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6530 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6531 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_SetMovementThreshold. Expected _wxJoystick_p.");
6536 wxPy_BEGIN_ALLOW_THREADS
;
6537 wxJoystick_SetMovementThreshold(_arg0
,_arg1
);
6539 wxPy_END_ALLOW_THREADS
;
6540 } Py_INCREF(Py_None
);
6541 _resultobj
= Py_None
;
6545 #define wxJoystick_IsOk(_swigobj) (_swigobj->IsOk())
6546 static PyObject
*_wrap_wxJoystick_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6547 PyObject
* _resultobj
;
6550 PyObject
* _argo0
= 0;
6551 char *_kwnames
[] = { "self", NULL
};
6554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_IsOk",_kwnames
,&_argo0
))
6557 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6558 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6559 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_IsOk. Expected _wxJoystick_p.");
6564 wxPy_BEGIN_ALLOW_THREADS
;
6565 _result
= (bool )wxJoystick_IsOk(_arg0
);
6567 wxPy_END_ALLOW_THREADS
;
6568 } _resultobj
= Py_BuildValue("i",_result
);
6572 #define wxJoystick_GetNumberJoysticks(_swigobj) (_swigobj->GetNumberJoysticks())
6573 static PyObject
*_wrap_wxJoystick_GetNumberJoysticks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6574 PyObject
* _resultobj
;
6577 PyObject
* _argo0
= 0;
6578 char *_kwnames
[] = { "self", NULL
};
6581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetNumberJoysticks",_kwnames
,&_argo0
))
6584 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6585 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6586 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetNumberJoysticks. Expected _wxJoystick_p.");
6591 wxPy_BEGIN_ALLOW_THREADS
;
6592 _result
= (int )wxJoystick_GetNumberJoysticks(_arg0
);
6594 wxPy_END_ALLOW_THREADS
;
6595 } _resultobj
= Py_BuildValue("i",_result
);
6599 #define wxJoystick_GetManufacturerId(_swigobj) (_swigobj->GetManufacturerId())
6600 static PyObject
*_wrap_wxJoystick_GetManufacturerId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6601 PyObject
* _resultobj
;
6604 PyObject
* _argo0
= 0;
6605 char *_kwnames
[] = { "self", NULL
};
6608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetManufacturerId",_kwnames
,&_argo0
))
6611 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6612 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6613 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetManufacturerId. Expected _wxJoystick_p.");
6618 wxPy_BEGIN_ALLOW_THREADS
;
6619 _result
= (int )wxJoystick_GetManufacturerId(_arg0
);
6621 wxPy_END_ALLOW_THREADS
;
6622 } _resultobj
= Py_BuildValue("i",_result
);
6626 #define wxJoystick_GetProductId(_swigobj) (_swigobj->GetProductId())
6627 static PyObject
*_wrap_wxJoystick_GetProductId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6628 PyObject
* _resultobj
;
6631 PyObject
* _argo0
= 0;
6632 char *_kwnames
[] = { "self", NULL
};
6635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetProductId",_kwnames
,&_argo0
))
6638 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6639 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6640 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetProductId. Expected _wxJoystick_p.");
6645 wxPy_BEGIN_ALLOW_THREADS
;
6646 _result
= (int )wxJoystick_GetProductId(_arg0
);
6648 wxPy_END_ALLOW_THREADS
;
6649 } _resultobj
= Py_BuildValue("i",_result
);
6653 #define wxJoystick_GetProductName(_swigobj) (_swigobj->GetProductName())
6654 static PyObject
*_wrap_wxJoystick_GetProductName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6655 PyObject
* _resultobj
;
6658 PyObject
* _argo0
= 0;
6659 char *_kwnames
[] = { "self", NULL
};
6662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetProductName",_kwnames
,&_argo0
))
6665 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6666 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6667 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetProductName. Expected _wxJoystick_p.");
6672 wxPy_BEGIN_ALLOW_THREADS
;
6673 _result
= new wxString (wxJoystick_GetProductName(_arg0
));
6675 wxPy_END_ALLOW_THREADS
;
6677 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
6685 #define wxJoystick_GetXMin(_swigobj) (_swigobj->GetXMin())
6686 static PyObject
*_wrap_wxJoystick_GetXMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6687 PyObject
* _resultobj
;
6690 PyObject
* _argo0
= 0;
6691 char *_kwnames
[] = { "self", NULL
};
6694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetXMin",_kwnames
,&_argo0
))
6697 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6698 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6699 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetXMin. Expected _wxJoystick_p.");
6704 wxPy_BEGIN_ALLOW_THREADS
;
6705 _result
= (int )wxJoystick_GetXMin(_arg0
);
6707 wxPy_END_ALLOW_THREADS
;
6708 } _resultobj
= Py_BuildValue("i",_result
);
6712 #define wxJoystick_GetYMin(_swigobj) (_swigobj->GetYMin())
6713 static PyObject
*_wrap_wxJoystick_GetYMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6714 PyObject
* _resultobj
;
6717 PyObject
* _argo0
= 0;
6718 char *_kwnames
[] = { "self", NULL
};
6721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetYMin",_kwnames
,&_argo0
))
6724 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6725 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6726 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetYMin. Expected _wxJoystick_p.");
6731 wxPy_BEGIN_ALLOW_THREADS
;
6732 _result
= (int )wxJoystick_GetYMin(_arg0
);
6734 wxPy_END_ALLOW_THREADS
;
6735 } _resultobj
= Py_BuildValue("i",_result
);
6739 #define wxJoystick_GetZMin(_swigobj) (_swigobj->GetZMin())
6740 static PyObject
*_wrap_wxJoystick_GetZMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6741 PyObject
* _resultobj
;
6744 PyObject
* _argo0
= 0;
6745 char *_kwnames
[] = { "self", NULL
};
6748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetZMin",_kwnames
,&_argo0
))
6751 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6752 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6753 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetZMin. Expected _wxJoystick_p.");
6758 wxPy_BEGIN_ALLOW_THREADS
;
6759 _result
= (int )wxJoystick_GetZMin(_arg0
);
6761 wxPy_END_ALLOW_THREADS
;
6762 } _resultobj
= Py_BuildValue("i",_result
);
6766 #define wxJoystick_GetXMax(_swigobj) (_swigobj->GetXMax())
6767 static PyObject
*_wrap_wxJoystick_GetXMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6768 PyObject
* _resultobj
;
6771 PyObject
* _argo0
= 0;
6772 char *_kwnames
[] = { "self", NULL
};
6775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetXMax",_kwnames
,&_argo0
))
6778 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6779 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6780 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetXMax. Expected _wxJoystick_p.");
6785 wxPy_BEGIN_ALLOW_THREADS
;
6786 _result
= (int )wxJoystick_GetXMax(_arg0
);
6788 wxPy_END_ALLOW_THREADS
;
6789 } _resultobj
= Py_BuildValue("i",_result
);
6793 #define wxJoystick_GetYMax(_swigobj) (_swigobj->GetYMax())
6794 static PyObject
*_wrap_wxJoystick_GetYMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6795 PyObject
* _resultobj
;
6798 PyObject
* _argo0
= 0;
6799 char *_kwnames
[] = { "self", NULL
};
6802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetYMax",_kwnames
,&_argo0
))
6805 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6806 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6807 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetYMax. Expected _wxJoystick_p.");
6812 wxPy_BEGIN_ALLOW_THREADS
;
6813 _result
= (int )wxJoystick_GetYMax(_arg0
);
6815 wxPy_END_ALLOW_THREADS
;
6816 } _resultobj
= Py_BuildValue("i",_result
);
6820 #define wxJoystick_GetZMax(_swigobj) (_swigobj->GetZMax())
6821 static PyObject
*_wrap_wxJoystick_GetZMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6822 PyObject
* _resultobj
;
6825 PyObject
* _argo0
= 0;
6826 char *_kwnames
[] = { "self", NULL
};
6829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetZMax",_kwnames
,&_argo0
))
6832 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6833 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6834 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetZMax. Expected _wxJoystick_p.");
6839 wxPy_BEGIN_ALLOW_THREADS
;
6840 _result
= (int )wxJoystick_GetZMax(_arg0
);
6842 wxPy_END_ALLOW_THREADS
;
6843 } _resultobj
= Py_BuildValue("i",_result
);
6847 #define wxJoystick_GetNumberButtons(_swigobj) (_swigobj->GetNumberButtons())
6848 static PyObject
*_wrap_wxJoystick_GetNumberButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6849 PyObject
* _resultobj
;
6852 PyObject
* _argo0
= 0;
6853 char *_kwnames
[] = { "self", NULL
};
6856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetNumberButtons",_kwnames
,&_argo0
))
6859 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6860 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6861 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetNumberButtons. Expected _wxJoystick_p.");
6866 wxPy_BEGIN_ALLOW_THREADS
;
6867 _result
= (int )wxJoystick_GetNumberButtons(_arg0
);
6869 wxPy_END_ALLOW_THREADS
;
6870 } _resultobj
= Py_BuildValue("i",_result
);
6874 #define wxJoystick_GetNumberAxes(_swigobj) (_swigobj->GetNumberAxes())
6875 static PyObject
*_wrap_wxJoystick_GetNumberAxes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6876 PyObject
* _resultobj
;
6879 PyObject
* _argo0
= 0;
6880 char *_kwnames
[] = { "self", NULL
};
6883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetNumberAxes",_kwnames
,&_argo0
))
6886 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6887 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6888 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetNumberAxes. Expected _wxJoystick_p.");
6893 wxPy_BEGIN_ALLOW_THREADS
;
6894 _result
= (int )wxJoystick_GetNumberAxes(_arg0
);
6896 wxPy_END_ALLOW_THREADS
;
6897 } _resultobj
= Py_BuildValue("i",_result
);
6901 #define wxJoystick_GetMaxButtons(_swigobj) (_swigobj->GetMaxButtons())
6902 static PyObject
*_wrap_wxJoystick_GetMaxButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6903 PyObject
* _resultobj
;
6906 PyObject
* _argo0
= 0;
6907 char *_kwnames
[] = { "self", NULL
};
6910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetMaxButtons",_kwnames
,&_argo0
))
6913 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6914 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6915 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetMaxButtons. Expected _wxJoystick_p.");
6920 wxPy_BEGIN_ALLOW_THREADS
;
6921 _result
= (int )wxJoystick_GetMaxButtons(_arg0
);
6923 wxPy_END_ALLOW_THREADS
;
6924 } _resultobj
= Py_BuildValue("i",_result
);
6928 #define wxJoystick_GetMaxAxes(_swigobj) (_swigobj->GetMaxAxes())
6929 static PyObject
*_wrap_wxJoystick_GetMaxAxes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6930 PyObject
* _resultobj
;
6933 PyObject
* _argo0
= 0;
6934 char *_kwnames
[] = { "self", NULL
};
6937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetMaxAxes",_kwnames
,&_argo0
))
6940 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6941 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6942 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetMaxAxes. Expected _wxJoystick_p.");
6947 wxPy_BEGIN_ALLOW_THREADS
;
6948 _result
= (int )wxJoystick_GetMaxAxes(_arg0
);
6950 wxPy_END_ALLOW_THREADS
;
6951 } _resultobj
= Py_BuildValue("i",_result
);
6955 #define wxJoystick_GetPollingMin(_swigobj) (_swigobj->GetPollingMin())
6956 static PyObject
*_wrap_wxJoystick_GetPollingMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6957 PyObject
* _resultobj
;
6960 PyObject
* _argo0
= 0;
6961 char *_kwnames
[] = { "self", NULL
};
6964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPollingMin",_kwnames
,&_argo0
))
6967 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6968 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6969 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPollingMin. Expected _wxJoystick_p.");
6974 wxPy_BEGIN_ALLOW_THREADS
;
6975 _result
= (int )wxJoystick_GetPollingMin(_arg0
);
6977 wxPy_END_ALLOW_THREADS
;
6978 } _resultobj
= Py_BuildValue("i",_result
);
6982 #define wxJoystick_GetPollingMax(_swigobj) (_swigobj->GetPollingMax())
6983 static PyObject
*_wrap_wxJoystick_GetPollingMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6984 PyObject
* _resultobj
;
6987 PyObject
* _argo0
= 0;
6988 char *_kwnames
[] = { "self", NULL
};
6991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPollingMax",_kwnames
,&_argo0
))
6994 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6995 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6996 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPollingMax. Expected _wxJoystick_p.");
7001 wxPy_BEGIN_ALLOW_THREADS
;
7002 _result
= (int )wxJoystick_GetPollingMax(_arg0
);
7004 wxPy_END_ALLOW_THREADS
;
7005 } _resultobj
= Py_BuildValue("i",_result
);
7009 #define wxJoystick_GetRudderMin(_swigobj) (_swigobj->GetRudderMin())
7010 static PyObject
*_wrap_wxJoystick_GetRudderMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7011 PyObject
* _resultobj
;
7014 PyObject
* _argo0
= 0;
7015 char *_kwnames
[] = { "self", NULL
};
7018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetRudderMin",_kwnames
,&_argo0
))
7021 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7022 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7023 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetRudderMin. Expected _wxJoystick_p.");
7028 wxPy_BEGIN_ALLOW_THREADS
;
7029 _result
= (int )wxJoystick_GetRudderMin(_arg0
);
7031 wxPy_END_ALLOW_THREADS
;
7032 } _resultobj
= Py_BuildValue("i",_result
);
7036 #define wxJoystick_GetRudderMax(_swigobj) (_swigobj->GetRudderMax())
7037 static PyObject
*_wrap_wxJoystick_GetRudderMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7038 PyObject
* _resultobj
;
7041 PyObject
* _argo0
= 0;
7042 char *_kwnames
[] = { "self", NULL
};
7045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetRudderMax",_kwnames
,&_argo0
))
7048 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7049 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7050 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetRudderMax. Expected _wxJoystick_p.");
7055 wxPy_BEGIN_ALLOW_THREADS
;
7056 _result
= (int )wxJoystick_GetRudderMax(_arg0
);
7058 wxPy_END_ALLOW_THREADS
;
7059 } _resultobj
= Py_BuildValue("i",_result
);
7063 #define wxJoystick_GetUMin(_swigobj) (_swigobj->GetUMin())
7064 static PyObject
*_wrap_wxJoystick_GetUMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7065 PyObject
* _resultobj
;
7068 PyObject
* _argo0
= 0;
7069 char *_kwnames
[] = { "self", NULL
};
7072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetUMin",_kwnames
,&_argo0
))
7075 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7076 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7077 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetUMin. Expected _wxJoystick_p.");
7082 wxPy_BEGIN_ALLOW_THREADS
;
7083 _result
= (int )wxJoystick_GetUMin(_arg0
);
7085 wxPy_END_ALLOW_THREADS
;
7086 } _resultobj
= Py_BuildValue("i",_result
);
7090 #define wxJoystick_GetUMax(_swigobj) (_swigobj->GetUMax())
7091 static PyObject
*_wrap_wxJoystick_GetUMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7092 PyObject
* _resultobj
;
7095 PyObject
* _argo0
= 0;
7096 char *_kwnames
[] = { "self", NULL
};
7099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetUMax",_kwnames
,&_argo0
))
7102 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7103 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7104 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetUMax. Expected _wxJoystick_p.");
7109 wxPy_BEGIN_ALLOW_THREADS
;
7110 _result
= (int )wxJoystick_GetUMax(_arg0
);
7112 wxPy_END_ALLOW_THREADS
;
7113 } _resultobj
= Py_BuildValue("i",_result
);
7117 #define wxJoystick_GetVMin(_swigobj) (_swigobj->GetVMin())
7118 static PyObject
*_wrap_wxJoystick_GetVMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7119 PyObject
* _resultobj
;
7122 PyObject
* _argo0
= 0;
7123 char *_kwnames
[] = { "self", NULL
};
7126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetVMin",_kwnames
,&_argo0
))
7129 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7130 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7131 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetVMin. Expected _wxJoystick_p.");
7136 wxPy_BEGIN_ALLOW_THREADS
;
7137 _result
= (int )wxJoystick_GetVMin(_arg0
);
7139 wxPy_END_ALLOW_THREADS
;
7140 } _resultobj
= Py_BuildValue("i",_result
);
7144 #define wxJoystick_GetVMax(_swigobj) (_swigobj->GetVMax())
7145 static PyObject
*_wrap_wxJoystick_GetVMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7146 PyObject
* _resultobj
;
7149 PyObject
* _argo0
= 0;
7150 char *_kwnames
[] = { "self", NULL
};
7153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetVMax",_kwnames
,&_argo0
))
7156 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7157 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7158 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetVMax. Expected _wxJoystick_p.");
7163 wxPy_BEGIN_ALLOW_THREADS
;
7164 _result
= (int )wxJoystick_GetVMax(_arg0
);
7166 wxPy_END_ALLOW_THREADS
;
7167 } _resultobj
= Py_BuildValue("i",_result
);
7171 #define wxJoystick_HasRudder(_swigobj) (_swigobj->HasRudder())
7172 static PyObject
*_wrap_wxJoystick_HasRudder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7173 PyObject
* _resultobj
;
7176 PyObject
* _argo0
= 0;
7177 char *_kwnames
[] = { "self", NULL
};
7180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasRudder",_kwnames
,&_argo0
))
7183 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7184 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7185 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasRudder. Expected _wxJoystick_p.");
7190 wxPy_BEGIN_ALLOW_THREADS
;
7191 _result
= (bool )wxJoystick_HasRudder(_arg0
);
7193 wxPy_END_ALLOW_THREADS
;
7194 } _resultobj
= Py_BuildValue("i",_result
);
7198 #define wxJoystick_HasZ(_swigobj) (_swigobj->HasZ())
7199 static PyObject
*_wrap_wxJoystick_HasZ(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7200 PyObject
* _resultobj
;
7203 PyObject
* _argo0
= 0;
7204 char *_kwnames
[] = { "self", NULL
};
7207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasZ",_kwnames
,&_argo0
))
7210 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7211 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7212 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasZ. Expected _wxJoystick_p.");
7217 wxPy_BEGIN_ALLOW_THREADS
;
7218 _result
= (bool )wxJoystick_HasZ(_arg0
);
7220 wxPy_END_ALLOW_THREADS
;
7221 } _resultobj
= Py_BuildValue("i",_result
);
7225 #define wxJoystick_HasU(_swigobj) (_swigobj->HasU())
7226 static PyObject
*_wrap_wxJoystick_HasU(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7227 PyObject
* _resultobj
;
7230 PyObject
* _argo0
= 0;
7231 char *_kwnames
[] = { "self", NULL
};
7234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasU",_kwnames
,&_argo0
))
7237 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7238 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7239 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasU. Expected _wxJoystick_p.");
7244 wxPy_BEGIN_ALLOW_THREADS
;
7245 _result
= (bool )wxJoystick_HasU(_arg0
);
7247 wxPy_END_ALLOW_THREADS
;
7248 } _resultobj
= Py_BuildValue("i",_result
);
7252 #define wxJoystick_HasV(_swigobj) (_swigobj->HasV())
7253 static PyObject
*_wrap_wxJoystick_HasV(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7254 PyObject
* _resultobj
;
7257 PyObject
* _argo0
= 0;
7258 char *_kwnames
[] = { "self", NULL
};
7261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasV",_kwnames
,&_argo0
))
7264 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7265 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7266 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasV. Expected _wxJoystick_p.");
7271 wxPy_BEGIN_ALLOW_THREADS
;
7272 _result
= (bool )wxJoystick_HasV(_arg0
);
7274 wxPy_END_ALLOW_THREADS
;
7275 } _resultobj
= Py_BuildValue("i",_result
);
7279 #define wxJoystick_HasPOV(_swigobj) (_swigobj->HasPOV())
7280 static PyObject
*_wrap_wxJoystick_HasPOV(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7281 PyObject
* _resultobj
;
7284 PyObject
* _argo0
= 0;
7285 char *_kwnames
[] = { "self", NULL
};
7288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasPOV",_kwnames
,&_argo0
))
7291 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7292 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7293 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasPOV. Expected _wxJoystick_p.");
7298 wxPy_BEGIN_ALLOW_THREADS
;
7299 _result
= (bool )wxJoystick_HasPOV(_arg0
);
7301 wxPy_END_ALLOW_THREADS
;
7302 } _resultobj
= Py_BuildValue("i",_result
);
7306 #define wxJoystick_HasPOV4Dir(_swigobj) (_swigobj->HasPOV4Dir())
7307 static PyObject
*_wrap_wxJoystick_HasPOV4Dir(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7308 PyObject
* _resultobj
;
7311 PyObject
* _argo0
= 0;
7312 char *_kwnames
[] = { "self", NULL
};
7315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasPOV4Dir",_kwnames
,&_argo0
))
7318 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7319 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7320 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasPOV4Dir. Expected _wxJoystick_p.");
7325 wxPy_BEGIN_ALLOW_THREADS
;
7326 _result
= (bool )wxJoystick_HasPOV4Dir(_arg0
);
7328 wxPy_END_ALLOW_THREADS
;
7329 } _resultobj
= Py_BuildValue("i",_result
);
7333 #define wxJoystick_HasPOVCTS(_swigobj) (_swigobj->HasPOVCTS())
7334 static PyObject
*_wrap_wxJoystick_HasPOVCTS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7335 PyObject
* _resultobj
;
7338 PyObject
* _argo0
= 0;
7339 char *_kwnames
[] = { "self", NULL
};
7342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasPOVCTS",_kwnames
,&_argo0
))
7345 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7346 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7347 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasPOVCTS. Expected _wxJoystick_p.");
7352 wxPy_BEGIN_ALLOW_THREADS
;
7353 _result
= (bool )wxJoystick_HasPOVCTS(_arg0
);
7355 wxPy_END_ALLOW_THREADS
;
7356 } _resultobj
= Py_BuildValue("i",_result
);
7360 #define wxJoystick_SetCapture(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetCapture(_swigarg0,_swigarg1))
7361 static PyObject
*_wrap_wxJoystick_SetCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7362 PyObject
* _resultobj
;
7366 int _arg2
= (int ) 0;
7367 PyObject
* _argo0
= 0;
7368 PyObject
* _argo1
= 0;
7369 char *_kwnames
[] = { "self","win","pollingFreq", NULL
};
7372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxJoystick_SetCapture",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
7375 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7376 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7377 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_SetCapture. Expected _wxJoystick_p.");
7382 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7383 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
7384 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxJoystick_SetCapture. Expected _wxWindow_p.");
7389 wxPy_BEGIN_ALLOW_THREADS
;
7390 _result
= (bool )wxJoystick_SetCapture(_arg0
,_arg1
,_arg2
);
7392 wxPy_END_ALLOW_THREADS
;
7393 } _resultobj
= Py_BuildValue("i",_result
);
7397 #define wxJoystick_ReleaseCapture(_swigobj) (_swigobj->ReleaseCapture())
7398 static PyObject
*_wrap_wxJoystick_ReleaseCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7399 PyObject
* _resultobj
;
7402 PyObject
* _argo0
= 0;
7403 char *_kwnames
[] = { "self", NULL
};
7406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_ReleaseCapture",_kwnames
,&_argo0
))
7409 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7410 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7411 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_ReleaseCapture. Expected _wxJoystick_p.");
7416 wxPy_BEGIN_ALLOW_THREADS
;
7417 _result
= (bool )wxJoystick_ReleaseCapture(_arg0
);
7419 wxPy_END_ALLOW_THREADS
;
7420 } _resultobj
= Py_BuildValue("i",_result
);
7424 static void *SwigwxWaveTowxObject(void *ptr
) {
7427 src
= (wxWave
*) ptr
;
7428 dest
= (wxObject
*) src
;
7429 return (void *) dest
;
7432 #define new_wxWave(_swigarg0,_swigarg1) (new wxWave(_swigarg0,_swigarg1))
7433 static PyObject
*_wrap_new_wxWave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7434 PyObject
* _resultobj
;
7437 bool _arg1
= (bool ) FALSE
;
7438 PyObject
* _obj0
= 0;
7439 int tempbool1
= (int) FALSE
;
7440 char *_kwnames
[] = { "fileName","isResource", NULL
};
7444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:new_wxWave",_kwnames
,&_obj0
,&tempbool1
))
7447 #if PYTHON_API_VERSION >= 1009
7448 char* tmpPtr
; int tmpSize
;
7449 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
7450 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7453 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
7455 _arg0
= new wxString(tmpPtr
, tmpSize
);
7457 if (!PyString_Check(_obj0
)) {
7458 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7461 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
7464 _arg1
= (bool ) tempbool1
;
7466 wxPy_BEGIN_ALLOW_THREADS
;
7467 _result
= (wxWave
*)new_wxWave(*_arg0
,_arg1
);
7469 wxPy_END_ALLOW_THREADS
;
7471 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWave_p");
7472 _resultobj
= Py_BuildValue("s",_ptemp
);
7475 _resultobj
= Py_None
;
7484 #define delete_wxWave(_swigobj) (delete _swigobj)
7485 static PyObject
*_wrap_delete_wxWave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7486 PyObject
* _resultobj
;
7488 PyObject
* _argo0
= 0;
7489 char *_kwnames
[] = { "self", NULL
};
7492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxWave",_kwnames
,&_argo0
))
7495 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7496 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWave_p")) {
7497 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxWave. Expected _wxWave_p.");
7502 wxPy_BEGIN_ALLOW_THREADS
;
7503 delete_wxWave(_arg0
);
7505 wxPy_END_ALLOW_THREADS
;
7506 } Py_INCREF(Py_None
);
7507 _resultobj
= Py_None
;
7511 #define wxWave_IsOk(_swigobj) (_swigobj->IsOk())
7512 static PyObject
*_wrap_wxWave_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7513 PyObject
* _resultobj
;
7516 PyObject
* _argo0
= 0;
7517 char *_kwnames
[] = { "self", NULL
};
7520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWave_IsOk",_kwnames
,&_argo0
))
7523 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7524 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWave_p")) {
7525 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWave_IsOk. Expected _wxWave_p.");
7530 wxPy_BEGIN_ALLOW_THREADS
;
7531 _result
= (bool )wxWave_IsOk(_arg0
);
7533 wxPy_END_ALLOW_THREADS
;
7534 } _resultobj
= Py_BuildValue("i",_result
);
7538 #define wxWave_Play(_swigobj,_swigarg0,_swigarg1) (_swigobj->Play(_swigarg0,_swigarg1))
7539 static PyObject
*_wrap_wxWave_Play(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7540 PyObject
* _resultobj
;
7543 bool _arg1
= (bool ) TRUE
;
7544 bool _arg2
= (bool ) FALSE
;
7545 PyObject
* _argo0
= 0;
7546 int tempbool1
= (int) TRUE
;
7547 int tempbool2
= (int) FALSE
;
7548 char *_kwnames
[] = { "self","async","looped", NULL
};
7551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxWave_Play",_kwnames
,&_argo0
,&tempbool1
,&tempbool2
))
7554 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7555 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWave_p")) {
7556 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWave_Play. Expected _wxWave_p.");
7560 _arg1
= (bool ) tempbool1
;
7561 _arg2
= (bool ) tempbool2
;
7563 wxPy_BEGIN_ALLOW_THREADS
;
7564 _result
= (bool )wxWave_Play(_arg0
,_arg1
,_arg2
);
7566 wxPy_END_ALLOW_THREADS
;
7567 } _resultobj
= Py_BuildValue("i",_result
);
7571 #define new_wxFileTypeInfo(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxFileTypeInfo(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7572 static PyObject
*_wrap_new_wxFileTypeInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7573 PyObject
* _resultobj
;
7574 wxFileTypeInfo
* _result
;
7579 char *_kwnames
[] = { "mimeType","openCmd","printCmd","desc", NULL
};
7583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"ssss:new_wxFileTypeInfo",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
))
7586 wxPy_BEGIN_ALLOW_THREADS
;
7587 _result
= (wxFileTypeInfo
*)new_wxFileTypeInfo(_arg0
,_arg1
,_arg2
,_arg3
);
7589 wxPy_END_ALLOW_THREADS
;
7591 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileTypeInfo_p");
7592 _resultobj
= Py_BuildValue("s",_ptemp
);
7595 _resultobj
= Py_None
;
7600 #define new_wxFileTypeInfoSequence(_swigarg0) (new wxFileTypeInfo(_swigarg0))
7601 static PyObject
*_wrap_new_wxFileTypeInfoSequence(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7602 PyObject
* _resultobj
;
7603 wxFileTypeInfo
* _result
;
7604 wxArrayString
* _arg0
;
7605 PyObject
* _obj0
= 0;
7606 char *_kwnames
[] = { "sArray", NULL
};
7610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxFileTypeInfoSequence",_kwnames
,&_obj0
))
7613 if (! PySequence_Check(_obj0
)) {
7614 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
7617 _arg0
= new wxArrayString
;
7618 int i
, len
=PySequence_Length(_obj0
);
7619 for (i
=0; i
<len
; i
++) {
7620 PyObject
* item
= PySequence_GetItem(_obj0
, i
);
7621 PyObject
* str
= PyObject_Str(item
);
7622 _arg0
->Add(PyString_AsString(item
));
7628 wxPy_BEGIN_ALLOW_THREADS
;
7629 _result
= (wxFileTypeInfo
*)new_wxFileTypeInfoSequence(*_arg0
);
7631 wxPy_END_ALLOW_THREADS
;
7633 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileTypeInfo_p");
7634 _resultobj
= Py_BuildValue("s",_ptemp
);
7637 _resultobj
= Py_None
;
7646 #define new_wxNullFileTypeInfo() (new wxFileTypeInfo())
7647 static PyObject
*_wrap_new_wxNullFileTypeInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7648 PyObject
* _resultobj
;
7649 wxFileTypeInfo
* _result
;
7650 char *_kwnames
[] = { NULL
};
7654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxNullFileTypeInfo",_kwnames
))
7657 wxPy_BEGIN_ALLOW_THREADS
;
7658 _result
= (wxFileTypeInfo
*)new_wxNullFileTypeInfo();
7660 wxPy_END_ALLOW_THREADS
;
7662 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileTypeInfo_p");
7663 _resultobj
= Py_BuildValue("s",_ptemp
);
7666 _resultobj
= Py_None
;
7671 #define wxFileTypeInfo_IsValid(_swigobj) (_swigobj->IsValid())
7672 static PyObject
*_wrap_wxFileTypeInfo_IsValid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7673 PyObject
* _resultobj
;
7675 wxFileTypeInfo
* _arg0
;
7676 PyObject
* _argo0
= 0;
7677 char *_kwnames
[] = { "self", NULL
};
7680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_IsValid",_kwnames
,&_argo0
))
7683 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7684 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
7685 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_IsValid. Expected _wxFileTypeInfo_p.");
7690 wxPy_BEGIN_ALLOW_THREADS
;
7691 _result
= (bool )wxFileTypeInfo_IsValid(_arg0
);
7693 wxPy_END_ALLOW_THREADS
;
7694 } _resultobj
= Py_BuildValue("i",_result
);
7698 #define wxFileTypeInfo_SetIcon(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetIcon(_swigarg0,_swigarg1))
7699 static PyObject
*_wrap_wxFileTypeInfo_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7700 PyObject
* _resultobj
;
7701 wxFileTypeInfo
* _arg0
;
7703 int _arg2
= (int ) 0;
7704 PyObject
* _argo0
= 0;
7705 PyObject
* _obj1
= 0;
7706 char *_kwnames
[] = { "self","iconFile","iconIndex", NULL
};
7709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxFileTypeInfo_SetIcon",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
7712 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7713 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
7714 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_SetIcon. Expected _wxFileTypeInfo_p.");
7719 #if PYTHON_API_VERSION >= 1009
7720 char* tmpPtr
; int tmpSize
;
7721 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
7722 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7725 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
7727 _arg1
= new wxString(tmpPtr
, tmpSize
);
7729 if (!PyString_Check(_obj1
)) {
7730 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7733 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
7737 wxPy_BEGIN_ALLOW_THREADS
;
7738 wxFileTypeInfo_SetIcon(_arg0
,*_arg1
,_arg2
);
7740 wxPy_END_ALLOW_THREADS
;
7741 } Py_INCREF(Py_None
);
7742 _resultobj
= Py_None
;
7750 #define wxFileTypeInfo_SetShortDesc(_swigobj,_swigarg0) (_swigobj->SetShortDesc(_swigarg0))
7751 static PyObject
*_wrap_wxFileTypeInfo_SetShortDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7752 PyObject
* _resultobj
;
7753 wxFileTypeInfo
* _arg0
;
7755 PyObject
* _argo0
= 0;
7756 PyObject
* _obj1
= 0;
7757 char *_kwnames
[] = { "self","shortDesc", NULL
};
7760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileTypeInfo_SetShortDesc",_kwnames
,&_argo0
,&_obj1
))
7763 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7764 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
7765 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_SetShortDesc. Expected _wxFileTypeInfo_p.");
7770 #if PYTHON_API_VERSION >= 1009
7771 char* tmpPtr
; int tmpSize
;
7772 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
7773 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7776 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
7778 _arg1
= new wxString(tmpPtr
, tmpSize
);
7780 if (!PyString_Check(_obj1
)) {
7781 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7784 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
7788 wxPy_BEGIN_ALLOW_THREADS
;
7789 wxFileTypeInfo_SetShortDesc(_arg0
,*_arg1
);
7791 wxPy_END_ALLOW_THREADS
;
7792 } Py_INCREF(Py_None
);
7793 _resultobj
= Py_None
;
7801 #define wxFileTypeInfo_GetMimeType(_swigobj) (_swigobj->GetMimeType())
7802 static PyObject
*_wrap_wxFileTypeInfo_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7803 PyObject
* _resultobj
;
7805 wxFileTypeInfo
* _arg0
;
7806 PyObject
* _argo0
= 0;
7807 char *_kwnames
[] = { "self", NULL
};
7810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetMimeType",_kwnames
,&_argo0
))
7813 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7814 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
7815 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetMimeType. Expected _wxFileTypeInfo_p.");
7820 wxPy_BEGIN_ALLOW_THREADS
;
7821 const wxString
& _result_ref
= wxFileTypeInfo_GetMimeType(_arg0
);
7822 _result
= (wxString
*) &_result_ref
;
7824 wxPy_END_ALLOW_THREADS
;
7826 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
7831 #define wxFileTypeInfo_GetOpenCommand(_swigobj) (_swigobj->GetOpenCommand())
7832 static PyObject
*_wrap_wxFileTypeInfo_GetOpenCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7833 PyObject
* _resultobj
;
7835 wxFileTypeInfo
* _arg0
;
7836 PyObject
* _argo0
= 0;
7837 char *_kwnames
[] = { "self", NULL
};
7840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetOpenCommand",_kwnames
,&_argo0
))
7843 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7844 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
7845 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetOpenCommand. Expected _wxFileTypeInfo_p.");
7850 wxPy_BEGIN_ALLOW_THREADS
;
7851 const wxString
& _result_ref
= wxFileTypeInfo_GetOpenCommand(_arg0
);
7852 _result
= (wxString
*) &_result_ref
;
7854 wxPy_END_ALLOW_THREADS
;
7856 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
7861 #define wxFileTypeInfo_GetPrintCommand(_swigobj) (_swigobj->GetPrintCommand())
7862 static PyObject
*_wrap_wxFileTypeInfo_GetPrintCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7863 PyObject
* _resultobj
;
7865 wxFileTypeInfo
* _arg0
;
7866 PyObject
* _argo0
= 0;
7867 char *_kwnames
[] = { "self", NULL
};
7870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetPrintCommand",_kwnames
,&_argo0
))
7873 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7874 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
7875 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetPrintCommand. Expected _wxFileTypeInfo_p.");
7880 wxPy_BEGIN_ALLOW_THREADS
;
7881 const wxString
& _result_ref
= wxFileTypeInfo_GetPrintCommand(_arg0
);
7882 _result
= (wxString
*) &_result_ref
;
7884 wxPy_END_ALLOW_THREADS
;
7886 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
7891 #define wxFileTypeInfo_GetShortDesc(_swigobj) (_swigobj->GetShortDesc())
7892 static PyObject
*_wrap_wxFileTypeInfo_GetShortDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7893 PyObject
* _resultobj
;
7895 wxFileTypeInfo
* _arg0
;
7896 PyObject
* _argo0
= 0;
7897 char *_kwnames
[] = { "self", NULL
};
7900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetShortDesc",_kwnames
,&_argo0
))
7903 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7904 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
7905 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetShortDesc. Expected _wxFileTypeInfo_p.");
7910 wxPy_BEGIN_ALLOW_THREADS
;
7911 const wxString
& _result_ref
= wxFileTypeInfo_GetShortDesc(_arg0
);
7912 _result
= (wxString
*) &_result_ref
;
7914 wxPy_END_ALLOW_THREADS
;
7916 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
7921 #define wxFileTypeInfo_GetDescription(_swigobj) (_swigobj->GetDescription())
7922 static PyObject
*_wrap_wxFileTypeInfo_GetDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7923 PyObject
* _resultobj
;
7925 wxFileTypeInfo
* _arg0
;
7926 PyObject
* _argo0
= 0;
7927 char *_kwnames
[] = { "self", NULL
};
7930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetDescription",_kwnames
,&_argo0
))
7933 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7934 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
7935 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetDescription. Expected _wxFileTypeInfo_p.");
7940 wxPy_BEGIN_ALLOW_THREADS
;
7941 const wxString
& _result_ref
= wxFileTypeInfo_GetDescription(_arg0
);
7942 _result
= (wxString
*) &_result_ref
;
7944 wxPy_END_ALLOW_THREADS
;
7946 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
7951 static PyObject
* wxFileTypeInfo_GetExtensions(wxFileTypeInfo
*self
) {
7952 wxArrayString
& arr
= (wxArrayString
&)self
->GetExtensions();
7953 return wxArrayString2PyList_helper(arr
);
7955 static PyObject
*_wrap_wxFileTypeInfo_GetExtensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7956 PyObject
* _resultobj
;
7958 wxFileTypeInfo
* _arg0
;
7959 PyObject
* _argo0
= 0;
7960 char *_kwnames
[] = { "self", NULL
};
7963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetExtensions",_kwnames
,&_argo0
))
7966 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7967 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
7968 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetExtensions. Expected _wxFileTypeInfo_p.");
7973 wxPy_BEGIN_ALLOW_THREADS
;
7974 _result
= (PyObject
*)wxFileTypeInfo_GetExtensions(_arg0
);
7976 wxPy_END_ALLOW_THREADS
;
7978 _resultobj
= _result
;
7983 #define wxFileTypeInfo_GetExtensionsCount(_swigobj) (_swigobj->GetExtensionsCount())
7984 static PyObject
*_wrap_wxFileTypeInfo_GetExtensionsCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7985 PyObject
* _resultobj
;
7987 wxFileTypeInfo
* _arg0
;
7988 PyObject
* _argo0
= 0;
7989 char *_kwnames
[] = { "self", NULL
};
7992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetExtensionsCount",_kwnames
,&_argo0
))
7995 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7996 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
7997 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetExtensionsCount. Expected _wxFileTypeInfo_p.");
8002 wxPy_BEGIN_ALLOW_THREADS
;
8003 _result
= (int )wxFileTypeInfo_GetExtensionsCount(_arg0
);
8005 wxPy_END_ALLOW_THREADS
;
8006 } _resultobj
= Py_BuildValue("i",_result
);
8010 #define wxFileTypeInfo_GetIconFile(_swigobj) (_swigobj->GetIconFile())
8011 static PyObject
*_wrap_wxFileTypeInfo_GetIconFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8012 PyObject
* _resultobj
;
8014 wxFileTypeInfo
* _arg0
;
8015 PyObject
* _argo0
= 0;
8016 char *_kwnames
[] = { "self", NULL
};
8019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetIconFile",_kwnames
,&_argo0
))
8022 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8023 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8024 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetIconFile. Expected _wxFileTypeInfo_p.");
8029 wxPy_BEGIN_ALLOW_THREADS
;
8030 const wxString
& _result_ref
= wxFileTypeInfo_GetIconFile(_arg0
);
8031 _result
= (wxString
*) &_result_ref
;
8033 wxPy_END_ALLOW_THREADS
;
8035 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8040 #define wxFileTypeInfo_GetIconIndex(_swigobj) (_swigobj->GetIconIndex())
8041 static PyObject
*_wrap_wxFileTypeInfo_GetIconIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8042 PyObject
* _resultobj
;
8044 wxFileTypeInfo
* _arg0
;
8045 PyObject
* _argo0
= 0;
8046 char *_kwnames
[] = { "self", NULL
};
8049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetIconIndex",_kwnames
,&_argo0
))
8052 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8053 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8054 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetIconIndex. Expected _wxFileTypeInfo_p.");
8059 wxPy_BEGIN_ALLOW_THREADS
;
8060 _result
= (int )wxFileTypeInfo_GetIconIndex(_arg0
);
8062 wxPy_END_ALLOW_THREADS
;
8063 } _resultobj
= Py_BuildValue("i",_result
);
8067 #define new_wxFileType(_swigarg0) (new wxFileType(_swigarg0))
8068 static PyObject
*_wrap_new_wxFileType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8069 PyObject
* _resultobj
;
8070 wxFileType
* _result
;
8071 wxFileTypeInfo
* _arg0
;
8072 PyObject
* _argo0
= 0;
8073 char *_kwnames
[] = { "ftInfo", NULL
};
8077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxFileType",_kwnames
,&_argo0
))
8080 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8081 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8082 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxFileType. Expected _wxFileTypeInfo_p.");
8087 wxPy_BEGIN_ALLOW_THREADS
;
8088 _result
= (wxFileType
*)new_wxFileType(*_arg0
);
8090 wxPy_END_ALLOW_THREADS
;
8092 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileType_p");
8093 _resultobj
= Py_BuildValue("s",_ptemp
);
8096 _resultobj
= Py_None
;
8101 static PyObject
* wxFileType_GetMimeType(wxFileType
*self
) {
8103 if (self
->GetMimeType(&str
))
8104 return PyString_FromString(str
.c_str());
8108 static PyObject
*_wrap_wxFileType_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8109 PyObject
* _resultobj
;
8112 PyObject
* _argo0
= 0;
8113 char *_kwnames
[] = { "self", NULL
};
8116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_GetMimeType",_kwnames
,&_argo0
))
8119 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8120 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8121 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetMimeType. Expected _wxFileType_p.");
8126 wxPy_BEGIN_ALLOW_THREADS
;
8127 _result
= (PyObject
*)wxFileType_GetMimeType(_arg0
);
8129 wxPy_END_ALLOW_THREADS
;
8131 _resultobj
= _result
;
8136 static PyObject
* wxFileType_GetMimeTypes(wxFileType
*self
) {
8138 if (self
->GetMimeTypes(arr
))
8139 return wxArrayString2PyList_helper(arr
);
8143 static PyObject
*_wrap_wxFileType_GetMimeTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8144 PyObject
* _resultobj
;
8147 PyObject
* _argo0
= 0;
8148 char *_kwnames
[] = { "self", NULL
};
8151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_GetMimeTypes",_kwnames
,&_argo0
))
8154 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8155 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8156 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetMimeTypes. Expected _wxFileType_p.");
8161 wxPy_BEGIN_ALLOW_THREADS
;
8162 _result
= (PyObject
*)wxFileType_GetMimeTypes(_arg0
);
8164 wxPy_END_ALLOW_THREADS
;
8166 _resultobj
= _result
;
8171 static PyObject
* wxFileType_GetExtensions(wxFileType
*self
) {
8173 if (self
->GetExtensions(arr
))
8174 return wxArrayString2PyList_helper(arr
);
8178 static PyObject
*_wrap_wxFileType_GetExtensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8179 PyObject
* _resultobj
;
8182 PyObject
* _argo0
= 0;
8183 char *_kwnames
[] = { "self", NULL
};
8186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_GetExtensions",_kwnames
,&_argo0
))
8189 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8190 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8191 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetExtensions. Expected _wxFileType_p.");
8196 wxPy_BEGIN_ALLOW_THREADS
;
8197 _result
= (PyObject
*)wxFileType_GetExtensions(_arg0
);
8199 wxPy_END_ALLOW_THREADS
;
8201 _resultobj
= _result
;
8206 static wxIcon
* wxFileType_GetIcon(wxFileType
*self
) {
8208 if (self
->GetIcon(&icon
))
8209 return new wxIcon(icon
);
8213 static PyObject
*_wrap_wxFileType_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8214 PyObject
* _resultobj
;
8217 PyObject
* _argo0
= 0;
8218 char *_kwnames
[] = { "self", NULL
};
8222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_GetIcon",_kwnames
,&_argo0
))
8225 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8226 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8227 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetIcon. Expected _wxFileType_p.");
8232 wxPy_BEGIN_ALLOW_THREADS
;
8233 _result
= (wxIcon
*)wxFileType_GetIcon(_arg0
);
8235 wxPy_END_ALLOW_THREADS
;
8237 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIcon_p");
8238 _resultobj
= Py_BuildValue("s",_ptemp
);
8241 _resultobj
= Py_None
;
8246 static PyObject
* wxFileType_GetIconInfo(wxFileType
*self
) {
8250 if (self
->GetIcon(&icon
, &iconFile
, &iconIndex
)) {
8251 wxPyTState
* state
= wxPyBeginBlockThreads();
8252 PyObject
* tuple
= PyTuple_New(3);
8253 PyTuple_SetItem(tuple
, 0, wxPyConstructObject(new wxIcon(icon
),
8255 PyTuple_SetItem(tuple
, 1, PyString_FromString(iconFile
.c_str()));
8256 PyTuple_SetItem(tuple
, 2, PyInt_FromLong(iconIndex
));
8257 wxPyEndBlockThreads(state
);
8263 static PyObject
*_wrap_wxFileType_GetIconInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8264 PyObject
* _resultobj
;
8267 PyObject
* _argo0
= 0;
8268 char *_kwnames
[] = { "self", NULL
};
8271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_GetIconInfo",_kwnames
,&_argo0
))
8274 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8275 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8276 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetIconInfo. Expected _wxFileType_p.");
8281 wxPy_BEGIN_ALLOW_THREADS
;
8282 _result
= (PyObject
*)wxFileType_GetIconInfo(_arg0
);
8284 wxPy_END_ALLOW_THREADS
;
8286 _resultobj
= _result
;
8291 static PyObject
* wxFileType_GetDescription(wxFileType
*self
) {
8293 if (self
->GetDescription(&str
))
8294 return PyString_FromString(str
.c_str());
8298 static PyObject
*_wrap_wxFileType_GetDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8299 PyObject
* _resultobj
;
8302 PyObject
* _argo0
= 0;
8303 char *_kwnames
[] = { "self", NULL
};
8306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_GetDescription",_kwnames
,&_argo0
))
8309 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8310 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8311 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetDescription. Expected _wxFileType_p.");
8316 wxPy_BEGIN_ALLOW_THREADS
;
8317 _result
= (PyObject
*)wxFileType_GetDescription(_arg0
);
8319 wxPy_END_ALLOW_THREADS
;
8321 _resultobj
= _result
;
8326 static PyObject
* wxFileType_GetOpenCommand(wxFileType
*self
,const wxString
& filename
,const wxString
& mimetype
) {
8328 if (self
->GetOpenCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
8329 return PyString_FromString(str
.c_str());
8333 static PyObject
*_wrap_wxFileType_GetOpenCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8334 PyObject
* _resultobj
;
8338 wxString
* _arg2
= (wxString
*) &wxPyEmptyStr
;
8339 PyObject
* _argo0
= 0;
8340 PyObject
* _obj1
= 0;
8341 PyObject
* _obj2
= 0;
8342 char *_kwnames
[] = { "self","filename","mimetype", NULL
};
8345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxFileType_GetOpenCommand",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
8348 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8349 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8350 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetOpenCommand. Expected _wxFileType_p.");
8355 #if PYTHON_API_VERSION >= 1009
8356 char* tmpPtr
; int tmpSize
;
8357 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
8358 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8361 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
8363 _arg1
= new wxString(tmpPtr
, tmpSize
);
8365 if (!PyString_Check(_obj1
)) {
8366 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8369 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
8374 #if PYTHON_API_VERSION >= 1009
8375 char* tmpPtr
; int tmpSize
;
8376 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
8377 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8380 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
8382 _arg2
= new wxString(tmpPtr
, tmpSize
);
8384 if (!PyString_Check(_obj2
)) {
8385 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8388 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
8392 wxPy_BEGIN_ALLOW_THREADS
;
8393 _result
= (PyObject
*)wxFileType_GetOpenCommand(_arg0
,*_arg1
,*_arg2
);
8395 wxPy_END_ALLOW_THREADS
;
8397 _resultobj
= _result
;
8410 static PyObject
* wxFileType_GetPrintCommand(wxFileType
*self
,const wxString
& filename
,const wxString
& mimetype
) {
8412 if (self
->GetPrintCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
8413 return PyString_FromString(str
.c_str());
8417 static PyObject
*_wrap_wxFileType_GetPrintCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8418 PyObject
* _resultobj
;
8422 wxString
* _arg2
= (wxString
*) &wxPyEmptyStr
;
8423 PyObject
* _argo0
= 0;
8424 PyObject
* _obj1
= 0;
8425 PyObject
* _obj2
= 0;
8426 char *_kwnames
[] = { "self","filename","mimetype", NULL
};
8429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxFileType_GetPrintCommand",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
8432 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8433 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8434 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetPrintCommand. Expected _wxFileType_p.");
8439 #if PYTHON_API_VERSION >= 1009
8440 char* tmpPtr
; int tmpSize
;
8441 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
8442 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8445 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
8447 _arg1
= new wxString(tmpPtr
, tmpSize
);
8449 if (!PyString_Check(_obj1
)) {
8450 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8453 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
8458 #if PYTHON_API_VERSION >= 1009
8459 char* tmpPtr
; int tmpSize
;
8460 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
8461 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8464 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
8466 _arg2
= new wxString(tmpPtr
, tmpSize
);
8468 if (!PyString_Check(_obj2
)) {
8469 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8472 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
8476 wxPy_BEGIN_ALLOW_THREADS
;
8477 _result
= (PyObject
*)wxFileType_GetPrintCommand(_arg0
,*_arg1
,*_arg2
);
8479 wxPy_END_ALLOW_THREADS
;
8481 _resultobj
= _result
;
8494 static PyObject
* wxFileType_GetAllCommands(wxFileType
*self
,const wxString
& filename
,const wxString
& mimetype
) {
8495 wxArrayString verbs
;
8496 wxArrayString commands
;
8497 if (self
->GetAllCommands(&verbs
, &commands
,
8498 wxFileType::MessageParameters(filename
, mimetype
))) {
8499 wxPyTState
* state
= wxPyBeginBlockThreads();
8500 PyObject
* tuple
= PyTuple_New(2);
8501 PyTuple_SetItem(tuple
, 0, wxArrayString2PyList_helper(verbs
));
8502 PyTuple_SetItem(tuple
, 1, wxArrayString2PyList_helper(commands
));
8503 wxPyEndBlockThreads(state
);
8509 static PyObject
*_wrap_wxFileType_GetAllCommands(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8510 PyObject
* _resultobj
;
8514 wxString
* _arg2
= (wxString
*) &wxPyEmptyStr
;
8515 PyObject
* _argo0
= 0;
8516 PyObject
* _obj1
= 0;
8517 PyObject
* _obj2
= 0;
8518 char *_kwnames
[] = { "self","filename","mimetype", NULL
};
8521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxFileType_GetAllCommands",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
8524 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8525 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8526 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetAllCommands. Expected _wxFileType_p.");
8531 #if PYTHON_API_VERSION >= 1009
8532 char* tmpPtr
; int tmpSize
;
8533 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
8534 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8537 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
8539 _arg1
= new wxString(tmpPtr
, tmpSize
);
8541 if (!PyString_Check(_obj1
)) {
8542 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8545 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
8550 #if PYTHON_API_VERSION >= 1009
8551 char* tmpPtr
; int tmpSize
;
8552 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
8553 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8556 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
8558 _arg2
= new wxString(tmpPtr
, tmpSize
);
8560 if (!PyString_Check(_obj2
)) {
8561 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8564 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
8568 wxPy_BEGIN_ALLOW_THREADS
;
8569 _result
= (PyObject
*)wxFileType_GetAllCommands(_arg0
,*_arg1
,*_arg2
);
8571 wxPy_END_ALLOW_THREADS
;
8573 _resultobj
= _result
;
8586 #define wxFileType_SetCommand(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCommand(_swigarg0,_swigarg1,_swigarg2))
8587 static PyObject
*_wrap_wxFileType_SetCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8588 PyObject
* _resultobj
;
8593 bool _arg3
= (bool ) TRUE
;
8594 PyObject
* _argo0
= 0;
8595 PyObject
* _obj1
= 0;
8596 PyObject
* _obj2
= 0;
8597 int tempbool3
= (int) TRUE
;
8598 char *_kwnames
[] = { "self","cmd","verb","overwriteprompt", NULL
};
8601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|i:wxFileType_SetCommand",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&tempbool3
))
8604 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8605 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8606 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_SetCommand. Expected _wxFileType_p.");
8611 #if PYTHON_API_VERSION >= 1009
8612 char* tmpPtr
; int tmpSize
;
8613 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
8614 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8617 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
8619 _arg1
= new wxString(tmpPtr
, tmpSize
);
8621 if (!PyString_Check(_obj1
)) {
8622 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8625 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
8629 #if PYTHON_API_VERSION >= 1009
8630 char* tmpPtr
; int tmpSize
;
8631 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
8632 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8635 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
8637 _arg2
= new wxString(tmpPtr
, tmpSize
);
8639 if (!PyString_Check(_obj2
)) {
8640 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8643 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
8646 _arg3
= (bool ) tempbool3
;
8648 wxPy_BEGIN_ALLOW_THREADS
;
8649 _result
= (bool )wxFileType_SetCommand(_arg0
,*_arg1
,*_arg2
,_arg3
);
8651 wxPy_END_ALLOW_THREADS
;
8652 } _resultobj
= Py_BuildValue("i",_result
);
8664 #define wxFileType_SetDefaultIcon(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDefaultIcon(_swigarg0,_swigarg1))
8665 static PyObject
*_wrap_wxFileType_SetDefaultIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8666 PyObject
* _resultobj
;
8669 wxString
* _arg1
= (wxString
*) &wxEmptyString
;
8670 int _arg2
= (int ) 0;
8671 PyObject
* _argo0
= 0;
8672 PyObject
* _obj1
= 0;
8673 char *_kwnames
[] = { "self","cmd","index", NULL
};
8676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|Oi:wxFileType_SetDefaultIcon",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
8679 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8680 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8681 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_SetDefaultIcon. Expected _wxFileType_p.");
8687 #if PYTHON_API_VERSION >= 1009
8688 char* tmpPtr
; int tmpSize
;
8689 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
8690 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8693 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
8695 _arg1
= new wxString(tmpPtr
, tmpSize
);
8697 if (!PyString_Check(_obj1
)) {
8698 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8701 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
8705 wxPy_BEGIN_ALLOW_THREADS
;
8706 _result
= (bool )wxFileType_SetDefaultIcon(_arg0
,*_arg1
,_arg2
);
8708 wxPy_END_ALLOW_THREADS
;
8709 } _resultobj
= Py_BuildValue("i",_result
);
8717 #define wxFileType_Unassociate(_swigobj) (_swigobj->Unassociate())
8718 static PyObject
*_wrap_wxFileType_Unassociate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8719 PyObject
* _resultobj
;
8722 PyObject
* _argo0
= 0;
8723 char *_kwnames
[] = { "self", NULL
};
8726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_Unassociate",_kwnames
,&_argo0
))
8729 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8730 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8731 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_Unassociate. Expected _wxFileType_p.");
8736 wxPy_BEGIN_ALLOW_THREADS
;
8737 _result
= (bool )wxFileType_Unassociate(_arg0
);
8739 wxPy_END_ALLOW_THREADS
;
8740 } _resultobj
= Py_BuildValue("i",_result
);
8744 static PyObject
*_wrap_wxFileType_ExpandCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8745 PyObject
* _resultobj
;
8748 wxFileType::MessageParameters
* _arg1
;
8749 PyObject
* _obj0
= 0;
8750 PyObject
* _argo1
= 0;
8751 char *_kwnames
[] = { "command","params", NULL
};
8754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileType_ExpandCommand",_kwnames
,&_obj0
,&_argo1
))
8757 #if PYTHON_API_VERSION >= 1009
8758 char* tmpPtr
; int tmpSize
;
8759 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
8760 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8763 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
8765 _arg0
= new wxString(tmpPtr
, tmpSize
);
8767 if (!PyString_Check(_obj0
)) {
8768 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8771 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
8775 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8776 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFileType::MessageParameters_p")) {
8777 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFileType_ExpandCommand. Expected _wxFileType::MessageParameters_p.");
8782 wxPy_BEGIN_ALLOW_THREADS
;
8783 _result
= new wxString (wxFileType::ExpandCommand(*_arg0
,*_arg1
));
8785 wxPy_END_ALLOW_THREADS
;
8787 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8799 #define delete_wxFileType(_swigobj) (delete _swigobj)
8800 static PyObject
*_wrap_delete_wxFileType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8801 PyObject
* _resultobj
;
8803 PyObject
* _argo0
= 0;
8804 char *_kwnames
[] = { "self", NULL
};
8807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxFileType",_kwnames
,&_argo0
))
8810 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8811 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8812 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxFileType. Expected _wxFileType_p.");
8817 wxPy_BEGIN_ALLOW_THREADS
;
8818 delete_wxFileType(_arg0
);
8820 wxPy_END_ALLOW_THREADS
;
8821 } Py_INCREF(Py_None
);
8822 _resultobj
= Py_None
;
8826 static PyObject
*_wrap_wxMimeTypesManager_IsOfType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8827 PyObject
* _resultobj
;
8831 PyObject
* _obj0
= 0;
8832 PyObject
* _obj1
= 0;
8833 char *_kwnames
[] = { "mimeType","wildcard", NULL
};
8836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_IsOfType",_kwnames
,&_obj0
,&_obj1
))
8839 #if PYTHON_API_VERSION >= 1009
8840 char* tmpPtr
; int tmpSize
;
8841 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
8842 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8845 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
8847 _arg0
= new wxString(tmpPtr
, tmpSize
);
8849 if (!PyString_Check(_obj0
)) {
8850 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8853 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
8857 #if PYTHON_API_VERSION >= 1009
8858 char* tmpPtr
; int tmpSize
;
8859 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
8860 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8863 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
8865 _arg1
= new wxString(tmpPtr
, tmpSize
);
8867 if (!PyString_Check(_obj1
)) {
8868 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8871 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
8875 wxPy_BEGIN_ALLOW_THREADS
;
8876 _result
= (bool )wxMimeTypesManager::IsOfType(*_arg0
,*_arg1
);
8878 wxPy_END_ALLOW_THREADS
;
8879 } _resultobj
= Py_BuildValue("i",_result
);
8891 #define new_wxMimeTypesManager() (new wxMimeTypesManager())
8892 static PyObject
*_wrap_new_wxMimeTypesManager(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8893 PyObject
* _resultobj
;
8894 wxMimeTypesManager
* _result
;
8895 char *_kwnames
[] = { NULL
};
8899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxMimeTypesManager",_kwnames
))
8902 wxPy_BEGIN_ALLOW_THREADS
;
8903 _result
= (wxMimeTypesManager
*)new_wxMimeTypesManager();
8905 wxPy_END_ALLOW_THREADS
;
8907 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMimeTypesManager_p");
8908 _resultobj
= Py_BuildValue("s",_ptemp
);
8911 _resultobj
= Py_None
;
8916 #define wxMimeTypesManager_Initialize(_swigobj,_swigarg0,_swigarg1) (_swigobj->Initialize(_swigarg0,_swigarg1))
8917 static PyObject
*_wrap_wxMimeTypesManager_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8918 PyObject
* _resultobj
;
8919 wxMimeTypesManager
* _arg0
;
8920 int _arg1
= (int ) (wxMAILCAP_STANDARD
);
8921 wxString
* _arg2
= (wxString
*) &wxEmptyString
;
8922 PyObject
* _argo0
= 0;
8923 PyObject
* _obj2
= 0;
8924 char *_kwnames
[] = { "self","mailcapStyle","extraDir", NULL
};
8927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iO:wxMimeTypesManager_Initialize",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
8930 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8931 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
8932 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_Initialize. Expected _wxMimeTypesManager_p.");
8938 #if PYTHON_API_VERSION >= 1009
8939 char* tmpPtr
; int tmpSize
;
8940 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
8941 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8944 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
8946 _arg2
= new wxString(tmpPtr
, tmpSize
);
8948 if (!PyString_Check(_obj2
)) {
8949 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8952 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
8956 wxPy_BEGIN_ALLOW_THREADS
;
8957 wxMimeTypesManager_Initialize(_arg0
,_arg1
,*_arg2
);
8959 wxPy_END_ALLOW_THREADS
;
8960 } Py_INCREF(Py_None
);
8961 _resultobj
= Py_None
;
8969 #define wxMimeTypesManager_ClearData(_swigobj) (_swigobj->ClearData())
8970 static PyObject
*_wrap_wxMimeTypesManager_ClearData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8971 PyObject
* _resultobj
;
8972 wxMimeTypesManager
* _arg0
;
8973 PyObject
* _argo0
= 0;
8974 char *_kwnames
[] = { "self", NULL
};
8977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMimeTypesManager_ClearData",_kwnames
,&_argo0
))
8980 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8981 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
8982 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_ClearData. Expected _wxMimeTypesManager_p.");
8987 wxPy_BEGIN_ALLOW_THREADS
;
8988 wxMimeTypesManager_ClearData(_arg0
);
8990 wxPy_END_ALLOW_THREADS
;
8991 } Py_INCREF(Py_None
);
8992 _resultobj
= Py_None
;
8996 #define wxMimeTypesManager_GetFileTypeFromExtension(_swigobj,_swigarg0) (_swigobj->GetFileTypeFromExtension(_swigarg0))
8997 static PyObject
*_wrap_wxMimeTypesManager_GetFileTypeFromExtension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8998 PyObject
* _resultobj
;
8999 wxFileType
* _result
;
9000 wxMimeTypesManager
* _arg0
;
9002 PyObject
* _argo0
= 0;
9003 PyObject
* _obj1
= 0;
9004 char *_kwnames
[] = { "self","ext", NULL
};
9008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_GetFileTypeFromExtension",_kwnames
,&_argo0
,&_obj1
))
9011 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9012 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9013 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_GetFileTypeFromExtension. Expected _wxMimeTypesManager_p.");
9018 #if PYTHON_API_VERSION >= 1009
9019 char* tmpPtr
; int tmpSize
;
9020 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
9021 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9024 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
9026 _arg1
= new wxString(tmpPtr
, tmpSize
);
9028 if (!PyString_Check(_obj1
)) {
9029 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9032 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
9036 wxPy_BEGIN_ALLOW_THREADS
;
9037 _result
= (wxFileType
*)wxMimeTypesManager_GetFileTypeFromExtension(_arg0
,*_arg1
);
9039 wxPy_END_ALLOW_THREADS
;
9041 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileType_p");
9042 _resultobj
= Py_BuildValue("s",_ptemp
);
9045 _resultobj
= Py_None
;
9054 #define wxMimeTypesManager_GetFileTypeFromMimeType(_swigobj,_swigarg0) (_swigobj->GetFileTypeFromMimeType(_swigarg0))
9055 static PyObject
*_wrap_wxMimeTypesManager_GetFileTypeFromMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9056 PyObject
* _resultobj
;
9057 wxFileType
* _result
;
9058 wxMimeTypesManager
* _arg0
;
9060 PyObject
* _argo0
= 0;
9061 PyObject
* _obj1
= 0;
9062 char *_kwnames
[] = { "self","mimeType", NULL
};
9066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_GetFileTypeFromMimeType",_kwnames
,&_argo0
,&_obj1
))
9069 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9070 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9071 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_GetFileTypeFromMimeType. Expected _wxMimeTypesManager_p.");
9076 #if PYTHON_API_VERSION >= 1009
9077 char* tmpPtr
; int tmpSize
;
9078 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
9079 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9082 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
9084 _arg1
= new wxString(tmpPtr
, tmpSize
);
9086 if (!PyString_Check(_obj1
)) {
9087 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9090 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
9094 wxPy_BEGIN_ALLOW_THREADS
;
9095 _result
= (wxFileType
*)wxMimeTypesManager_GetFileTypeFromMimeType(_arg0
,*_arg1
);
9097 wxPy_END_ALLOW_THREADS
;
9099 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileType_p");
9100 _resultobj
= Py_BuildValue("s",_ptemp
);
9103 _resultobj
= Py_None
;
9112 #define wxMimeTypesManager_ReadMailcap(_swigobj,_swigarg0,_swigarg1) (_swigobj->ReadMailcap(_swigarg0,_swigarg1))
9113 static PyObject
*_wrap_wxMimeTypesManager_ReadMailcap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9114 PyObject
* _resultobj
;
9116 wxMimeTypesManager
* _arg0
;
9118 bool _arg2
= (bool ) FALSE
;
9119 PyObject
* _argo0
= 0;
9120 PyObject
* _obj1
= 0;
9121 int tempbool2
= (int) FALSE
;
9122 char *_kwnames
[] = { "self","filename","fallback", NULL
};
9125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxMimeTypesManager_ReadMailcap",_kwnames
,&_argo0
,&_obj1
,&tempbool2
))
9128 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9129 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9130 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_ReadMailcap. Expected _wxMimeTypesManager_p.");
9135 #if PYTHON_API_VERSION >= 1009
9136 char* tmpPtr
; int tmpSize
;
9137 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
9138 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9141 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
9143 _arg1
= new wxString(tmpPtr
, tmpSize
);
9145 if (!PyString_Check(_obj1
)) {
9146 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9149 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
9152 _arg2
= (bool ) tempbool2
;
9154 wxPy_BEGIN_ALLOW_THREADS
;
9155 _result
= (bool )wxMimeTypesManager_ReadMailcap(_arg0
,*_arg1
,_arg2
);
9157 wxPy_END_ALLOW_THREADS
;
9158 } _resultobj
= Py_BuildValue("i",_result
);
9166 #define wxMimeTypesManager_ReadMimeTypes(_swigobj,_swigarg0) (_swigobj->ReadMimeTypes(_swigarg0))
9167 static PyObject
*_wrap_wxMimeTypesManager_ReadMimeTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9168 PyObject
* _resultobj
;
9170 wxMimeTypesManager
* _arg0
;
9172 PyObject
* _argo0
= 0;
9173 PyObject
* _obj1
= 0;
9174 char *_kwnames
[] = { "self","filename", NULL
};
9177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_ReadMimeTypes",_kwnames
,&_argo0
,&_obj1
))
9180 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9181 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9182 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_ReadMimeTypes. Expected _wxMimeTypesManager_p.");
9187 #if PYTHON_API_VERSION >= 1009
9188 char* tmpPtr
; int tmpSize
;
9189 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
9190 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9193 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
9195 _arg1
= new wxString(tmpPtr
, tmpSize
);
9197 if (!PyString_Check(_obj1
)) {
9198 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9201 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
9205 wxPy_BEGIN_ALLOW_THREADS
;
9206 _result
= (bool )wxMimeTypesManager_ReadMimeTypes(_arg0
,*_arg1
);
9208 wxPy_END_ALLOW_THREADS
;
9209 } _resultobj
= Py_BuildValue("i",_result
);
9217 static PyObject
* wxMimeTypesManager_EnumAllFileTypes(wxMimeTypesManager
*self
) {
9219 self
->EnumAllFileTypes(arr
);
9220 return wxArrayString2PyList_helper(arr
);
9222 static PyObject
*_wrap_wxMimeTypesManager_EnumAllFileTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9223 PyObject
* _resultobj
;
9225 wxMimeTypesManager
* _arg0
;
9226 PyObject
* _argo0
= 0;
9227 char *_kwnames
[] = { "self", NULL
};
9230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMimeTypesManager_EnumAllFileTypes",_kwnames
,&_argo0
))
9233 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9234 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9235 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_EnumAllFileTypes. Expected _wxMimeTypesManager_p.");
9240 wxPy_BEGIN_ALLOW_THREADS
;
9241 _result
= (PyObject
*)wxMimeTypesManager_EnumAllFileTypes(_arg0
);
9243 wxPy_END_ALLOW_THREADS
;
9245 _resultobj
= _result
;
9250 #define wxMimeTypesManager_AddFallback(_swigobj,_swigarg0) (_swigobj->AddFallback(_swigarg0))
9251 static PyObject
*_wrap_wxMimeTypesManager_AddFallback(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9252 PyObject
* _resultobj
;
9253 wxMimeTypesManager
* _arg0
;
9254 wxFileTypeInfo
* _arg1
;
9255 PyObject
* _argo0
= 0;
9256 PyObject
* _argo1
= 0;
9257 char *_kwnames
[] = { "self","ft", NULL
};
9260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_AddFallback",_kwnames
,&_argo0
,&_argo1
))
9263 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9264 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9265 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_AddFallback. Expected _wxMimeTypesManager_p.");
9270 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9271 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFileTypeInfo_p")) {
9272 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMimeTypesManager_AddFallback. Expected _wxFileTypeInfo_p.");
9277 wxPy_BEGIN_ALLOW_THREADS
;
9278 wxMimeTypesManager_AddFallback(_arg0
,*_arg1
);
9280 wxPy_END_ALLOW_THREADS
;
9281 } Py_INCREF(Py_None
);
9282 _resultobj
= Py_None
;
9286 #define wxMimeTypesManager_Associate(_swigobj,_swigarg0) (_swigobj->Associate(_swigarg0))
9287 static PyObject
*_wrap_wxMimeTypesManager_Associate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9288 PyObject
* _resultobj
;
9289 wxFileType
* _result
;
9290 wxMimeTypesManager
* _arg0
;
9291 wxFileTypeInfo
* _arg1
;
9292 PyObject
* _argo0
= 0;
9293 PyObject
* _argo1
= 0;
9294 char *_kwnames
[] = { "self","ftInfo", NULL
};
9298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_Associate",_kwnames
,&_argo0
,&_argo1
))
9301 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9302 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9303 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_Associate. Expected _wxMimeTypesManager_p.");
9308 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9309 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFileTypeInfo_p")) {
9310 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMimeTypesManager_Associate. Expected _wxFileTypeInfo_p.");
9315 wxPy_BEGIN_ALLOW_THREADS
;
9316 _result
= (wxFileType
*)wxMimeTypesManager_Associate(_arg0
,*_arg1
);
9318 wxPy_END_ALLOW_THREADS
;
9320 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileType_p");
9321 _resultobj
= Py_BuildValue("s",_ptemp
);
9324 _resultobj
= Py_None
;
9329 #define wxMimeTypesManager_Unassociate(_swigobj,_swigarg0) (_swigobj->Unassociate(_swigarg0))
9330 static PyObject
*_wrap_wxMimeTypesManager_Unassociate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9331 PyObject
* _resultobj
;
9333 wxMimeTypesManager
* _arg0
;
9335 PyObject
* _argo0
= 0;
9336 PyObject
* _argo1
= 0;
9337 char *_kwnames
[] = { "self","ft", NULL
};
9340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_Unassociate",_kwnames
,&_argo0
,&_argo1
))
9343 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9344 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9345 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_Unassociate. Expected _wxMimeTypesManager_p.");
9350 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9351 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFileType_p")) {
9352 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMimeTypesManager_Unassociate. Expected _wxFileType_p.");
9357 wxPy_BEGIN_ALLOW_THREADS
;
9358 _result
= (bool )wxMimeTypesManager_Unassociate(_arg0
,_arg1
);
9360 wxPy_END_ALLOW_THREADS
;
9361 } _resultobj
= Py_BuildValue("i",_result
);
9365 #define delete_wxMimeTypesManager(_swigobj) (delete _swigobj)
9366 static PyObject
*_wrap_delete_wxMimeTypesManager(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9367 PyObject
* _resultobj
;
9368 wxMimeTypesManager
* _arg0
;
9369 PyObject
* _argo0
= 0;
9370 char *_kwnames
[] = { "self", NULL
};
9373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxMimeTypesManager",_kwnames
,&_argo0
))
9376 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9377 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9378 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxMimeTypesManager. Expected _wxMimeTypesManager_p.");
9383 wxPy_BEGIN_ALLOW_THREADS
;
9384 delete_wxMimeTypesManager(_arg0
);
9386 wxPy_END_ALLOW_THREADS
;
9387 } Py_INCREF(Py_None
);
9388 _resultobj
= Py_None
;
9392 static void *SwigwxFileHistoryTowxObject(void *ptr
) {
9395 src
= (wxFileHistory
*) ptr
;
9396 dest
= (wxObject
*) src
;
9397 return (void *) dest
;
9400 #define new_wxFileHistory(_swigarg0) (new wxFileHistory(_swigarg0))
9401 static PyObject
*_wrap_new_wxFileHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9402 PyObject
* _resultobj
;
9403 wxFileHistory
* _result
;
9404 int _arg0
= (int ) 9;
9405 char *_kwnames
[] = { "maxFiles", NULL
};
9409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxFileHistory",_kwnames
,&_arg0
))
9412 wxPy_BEGIN_ALLOW_THREADS
;
9413 _result
= (wxFileHistory
*)new_wxFileHistory(_arg0
);
9415 wxPy_END_ALLOW_THREADS
;
9417 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileHistory_p");
9418 _resultobj
= Py_BuildValue("s",_ptemp
);
9421 _resultobj
= Py_None
;
9426 #define delete_wxFileHistory(_swigobj) (delete _swigobj)
9427 static PyObject
*_wrap_delete_wxFileHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9428 PyObject
* _resultobj
;
9429 wxFileHistory
* _arg0
;
9430 PyObject
* _argo0
= 0;
9431 char *_kwnames
[] = { "self", NULL
};
9434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxFileHistory",_kwnames
,&_argo0
))
9437 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9438 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9439 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxFileHistory. Expected _wxFileHistory_p.");
9444 wxPy_BEGIN_ALLOW_THREADS
;
9445 delete_wxFileHistory(_arg0
);
9447 wxPy_END_ALLOW_THREADS
;
9448 } Py_INCREF(Py_None
);
9449 _resultobj
= Py_None
;
9453 #define wxFileHistory_AddFileToHistory(_swigobj,_swigarg0) (_swigobj->AddFileToHistory(_swigarg0))
9454 static PyObject
*_wrap_wxFileHistory_AddFileToHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9455 PyObject
* _resultobj
;
9456 wxFileHistory
* _arg0
;
9458 PyObject
* _argo0
= 0;
9459 PyObject
* _obj1
= 0;
9460 char *_kwnames
[] = { "self","file", NULL
};
9463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileHistory_AddFileToHistory",_kwnames
,&_argo0
,&_obj1
))
9466 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9467 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9468 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_AddFileToHistory. Expected _wxFileHistory_p.");
9473 #if PYTHON_API_VERSION >= 1009
9474 char* tmpPtr
; int tmpSize
;
9475 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
9476 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9479 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
9481 _arg1
= new wxString(tmpPtr
, tmpSize
);
9483 if (!PyString_Check(_obj1
)) {
9484 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9487 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
9491 wxPy_BEGIN_ALLOW_THREADS
;
9492 wxFileHistory_AddFileToHistory(_arg0
,*_arg1
);
9494 wxPy_END_ALLOW_THREADS
;
9495 } Py_INCREF(Py_None
);
9496 _resultobj
= Py_None
;
9504 #define wxFileHistory_RemoveFileFromHistory(_swigobj,_swigarg0) (_swigobj->RemoveFileFromHistory(_swigarg0))
9505 static PyObject
*_wrap_wxFileHistory_RemoveFileFromHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9506 PyObject
* _resultobj
;
9507 wxFileHistory
* _arg0
;
9509 PyObject
* _argo0
= 0;
9510 char *_kwnames
[] = { "self","i", NULL
};
9513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFileHistory_RemoveFileFromHistory",_kwnames
,&_argo0
,&_arg1
))
9516 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9517 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9518 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_RemoveFileFromHistory. Expected _wxFileHistory_p.");
9523 wxPy_BEGIN_ALLOW_THREADS
;
9524 wxFileHistory_RemoveFileFromHistory(_arg0
,_arg1
);
9526 wxPy_END_ALLOW_THREADS
;
9527 } Py_INCREF(Py_None
);
9528 _resultobj
= Py_None
;
9532 #define wxFileHistory_GetMaxFiles(_swigobj) (_swigobj->GetMaxFiles())
9533 static PyObject
*_wrap_wxFileHistory_GetMaxFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9534 PyObject
* _resultobj
;
9536 wxFileHistory
* _arg0
;
9537 PyObject
* _argo0
= 0;
9538 char *_kwnames
[] = { "self", NULL
};
9541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileHistory_GetMaxFiles",_kwnames
,&_argo0
))
9544 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9545 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9546 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_GetMaxFiles. Expected _wxFileHistory_p.");
9551 wxPy_BEGIN_ALLOW_THREADS
;
9552 _result
= (int )wxFileHistory_GetMaxFiles(_arg0
);
9554 wxPy_END_ALLOW_THREADS
;
9555 } _resultobj
= Py_BuildValue("i",_result
);
9559 #define wxFileHistory_UseMenu(_swigobj,_swigarg0) (_swigobj->UseMenu(_swigarg0))
9560 static PyObject
*_wrap_wxFileHistory_UseMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9561 PyObject
* _resultobj
;
9562 wxFileHistory
* _arg0
;
9564 PyObject
* _argo0
= 0;
9565 PyObject
* _argo1
= 0;
9566 char *_kwnames
[] = { "self","menu", NULL
};
9569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileHistory_UseMenu",_kwnames
,&_argo0
,&_argo1
))
9572 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9573 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9574 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_UseMenu. Expected _wxFileHistory_p.");
9579 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9580 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
9581 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFileHistory_UseMenu. Expected _wxMenu_p.");
9586 wxPy_BEGIN_ALLOW_THREADS
;
9587 wxFileHistory_UseMenu(_arg0
,_arg1
);
9589 wxPy_END_ALLOW_THREADS
;
9590 } Py_INCREF(Py_None
);
9591 _resultobj
= Py_None
;
9595 #define wxFileHistory_RemoveMenu(_swigobj,_swigarg0) (_swigobj->RemoveMenu(_swigarg0))
9596 static PyObject
*_wrap_wxFileHistory_RemoveMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9597 PyObject
* _resultobj
;
9598 wxFileHistory
* _arg0
;
9600 PyObject
* _argo0
= 0;
9601 PyObject
* _argo1
= 0;
9602 char *_kwnames
[] = { "self","menu", NULL
};
9605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileHistory_RemoveMenu",_kwnames
,&_argo0
,&_argo1
))
9608 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9609 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9610 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_RemoveMenu. Expected _wxFileHistory_p.");
9615 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9616 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
9617 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFileHistory_RemoveMenu. Expected _wxMenu_p.");
9622 wxPy_BEGIN_ALLOW_THREADS
;
9623 wxFileHistory_RemoveMenu(_arg0
,_arg1
);
9625 wxPy_END_ALLOW_THREADS
;
9626 } Py_INCREF(Py_None
);
9627 _resultobj
= Py_None
;
9631 #define wxFileHistory_Load(_swigobj,_swigarg0) (_swigobj->Load(_swigarg0))
9632 static PyObject
*_wrap_wxFileHistory_Load(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9633 PyObject
* _resultobj
;
9634 wxFileHistory
* _arg0
;
9635 wxConfigBase
* _arg1
;
9636 PyObject
* _argo0
= 0;
9637 PyObject
* _argo1
= 0;
9638 char *_kwnames
[] = { "self","config", NULL
};
9641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileHistory_Load",_kwnames
,&_argo0
,&_argo1
))
9644 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9645 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9646 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_Load. Expected _wxFileHistory_p.");
9651 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9652 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxConfigBase_p")) {
9653 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFileHistory_Load. Expected _wxConfigBase_p.");
9658 wxPy_BEGIN_ALLOW_THREADS
;
9659 wxFileHistory_Load(_arg0
,*_arg1
);
9661 wxPy_END_ALLOW_THREADS
;
9662 } Py_INCREF(Py_None
);
9663 _resultobj
= Py_None
;
9667 #define wxFileHistory_Save(_swigobj,_swigarg0) (_swigobj->Save(_swigarg0))
9668 static PyObject
*_wrap_wxFileHistory_Save(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9669 PyObject
* _resultobj
;
9670 wxFileHistory
* _arg0
;
9671 wxConfigBase
* _arg1
;
9672 PyObject
* _argo0
= 0;
9673 PyObject
* _argo1
= 0;
9674 char *_kwnames
[] = { "self","config", NULL
};
9677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileHistory_Save",_kwnames
,&_argo0
,&_argo1
))
9680 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9681 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9682 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_Save. Expected _wxFileHistory_p.");
9687 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9688 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxConfigBase_p")) {
9689 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFileHistory_Save. Expected _wxConfigBase_p.");
9694 wxPy_BEGIN_ALLOW_THREADS
;
9695 wxFileHistory_Save(_arg0
,*_arg1
);
9697 wxPy_END_ALLOW_THREADS
;
9698 } Py_INCREF(Py_None
);
9699 _resultobj
= Py_None
;
9703 #define wxFileHistory_AddFilesToMenu(_swigobj) (_swigobj->AddFilesToMenu())
9704 static PyObject
*_wrap_wxFileHistory_AddFilesToMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9705 PyObject
* _resultobj
;
9706 wxFileHistory
* _arg0
;
9707 PyObject
* _argo0
= 0;
9708 char *_kwnames
[] = { "self", NULL
};
9711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileHistory_AddFilesToMenu",_kwnames
,&_argo0
))
9714 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9715 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9716 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_AddFilesToMenu. Expected _wxFileHistory_p.");
9721 wxPy_BEGIN_ALLOW_THREADS
;
9722 wxFileHistory_AddFilesToMenu(_arg0
);
9724 wxPy_END_ALLOW_THREADS
;
9725 } Py_INCREF(Py_None
);
9726 _resultobj
= Py_None
;
9730 #define wxFileHistory_AddFilesToSingleMenu(_swigobj,_swigarg0) (_swigobj->AddFilesToMenu(_swigarg0))
9731 static PyObject
*_wrap_wxFileHistory_AddFilesToSingleMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9732 PyObject
* _resultobj
;
9733 wxFileHistory
* _arg0
;
9735 PyObject
* _argo0
= 0;
9736 PyObject
* _argo1
= 0;
9737 char *_kwnames
[] = { "self","menu", NULL
};
9740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileHistory_AddFilesToSingleMenu",_kwnames
,&_argo0
,&_argo1
))
9743 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9744 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9745 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_AddFilesToSingleMenu. Expected _wxFileHistory_p.");
9750 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9751 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
9752 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFileHistory_AddFilesToSingleMenu. Expected _wxMenu_p.");
9757 wxPy_BEGIN_ALLOW_THREADS
;
9758 wxFileHistory_AddFilesToSingleMenu(_arg0
,_arg1
);
9760 wxPy_END_ALLOW_THREADS
;
9761 } Py_INCREF(Py_None
);
9762 _resultobj
= Py_None
;
9766 #define wxFileHistory_GetHistoryFile(_swigobj,_swigarg0) (_swigobj->GetHistoryFile(_swigarg0))
9767 static PyObject
*_wrap_wxFileHistory_GetHistoryFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9768 PyObject
* _resultobj
;
9770 wxFileHistory
* _arg0
;
9772 PyObject
* _argo0
= 0;
9773 char *_kwnames
[] = { "self","i", NULL
};
9776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFileHistory_GetHistoryFile",_kwnames
,&_argo0
,&_arg1
))
9779 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9780 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9781 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_GetHistoryFile. Expected _wxFileHistory_p.");
9786 wxPy_BEGIN_ALLOW_THREADS
;
9787 _result
= new wxString (wxFileHistory_GetHistoryFile(_arg0
,_arg1
));
9789 wxPy_END_ALLOW_THREADS
;
9791 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9799 #define wxFileHistory_GetCount(_swigobj) (_swigobj->GetCount())
9800 static PyObject
*_wrap_wxFileHistory_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9801 PyObject
* _resultobj
;
9803 wxFileHistory
* _arg0
;
9804 PyObject
* _argo0
= 0;
9805 char *_kwnames
[] = { "self", NULL
};
9808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileHistory_GetCount",_kwnames
,&_argo0
))
9811 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9812 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9813 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_GetCount. Expected _wxFileHistory_p.");
9818 wxPy_BEGIN_ALLOW_THREADS
;
9819 _result
= (int )wxFileHistory_GetCount(_arg0
);
9821 wxPy_END_ALLOW_THREADS
;
9822 } _resultobj
= Py_BuildValue("i",_result
);
9826 #define wxFileHistory_GetNoHistoryFiles(_swigobj) (_swigobj->GetNoHistoryFiles())
9827 static PyObject
*_wrap_wxFileHistory_GetNoHistoryFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9828 PyObject
* _resultobj
;
9830 wxFileHistory
* _arg0
;
9831 PyObject
* _argo0
= 0;
9832 char *_kwnames
[] = { "self", NULL
};
9835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileHistory_GetNoHistoryFiles",_kwnames
,&_argo0
))
9838 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9839 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9840 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_GetNoHistoryFiles. Expected _wxFileHistory_p.");
9845 wxPy_BEGIN_ALLOW_THREADS
;
9846 _result
= (int )wxFileHistory_GetNoHistoryFiles(_arg0
);
9848 wxPy_END_ALLOW_THREADS
;
9849 } _resultobj
= Py_BuildValue("i",_result
);
9853 static PyMethodDef misc2cMethods
[] = {
9854 { "wxFileHistory_GetNoHistoryFiles", (PyCFunction
) _wrap_wxFileHistory_GetNoHistoryFiles
, METH_VARARGS
| METH_KEYWORDS
},
9855 { "wxFileHistory_GetCount", (PyCFunction
) _wrap_wxFileHistory_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
9856 { "wxFileHistory_GetHistoryFile", (PyCFunction
) _wrap_wxFileHistory_GetHistoryFile
, METH_VARARGS
| METH_KEYWORDS
},
9857 { "wxFileHistory_AddFilesToSingleMenu", (PyCFunction
) _wrap_wxFileHistory_AddFilesToSingleMenu
, METH_VARARGS
| METH_KEYWORDS
},
9858 { "wxFileHistory_AddFilesToMenu", (PyCFunction
) _wrap_wxFileHistory_AddFilesToMenu
, METH_VARARGS
| METH_KEYWORDS
},
9859 { "wxFileHistory_Save", (PyCFunction
) _wrap_wxFileHistory_Save
, METH_VARARGS
| METH_KEYWORDS
},
9860 { "wxFileHistory_Load", (PyCFunction
) _wrap_wxFileHistory_Load
, METH_VARARGS
| METH_KEYWORDS
},
9861 { "wxFileHistory_RemoveMenu", (PyCFunction
) _wrap_wxFileHistory_RemoveMenu
, METH_VARARGS
| METH_KEYWORDS
},
9862 { "wxFileHistory_UseMenu", (PyCFunction
) _wrap_wxFileHistory_UseMenu
, METH_VARARGS
| METH_KEYWORDS
},
9863 { "wxFileHistory_GetMaxFiles", (PyCFunction
) _wrap_wxFileHistory_GetMaxFiles
, METH_VARARGS
| METH_KEYWORDS
},
9864 { "wxFileHistory_RemoveFileFromHistory", (PyCFunction
) _wrap_wxFileHistory_RemoveFileFromHistory
, METH_VARARGS
| METH_KEYWORDS
},
9865 { "wxFileHistory_AddFileToHistory", (PyCFunction
) _wrap_wxFileHistory_AddFileToHistory
, METH_VARARGS
| METH_KEYWORDS
},
9866 { "delete_wxFileHistory", (PyCFunction
) _wrap_delete_wxFileHistory
, METH_VARARGS
| METH_KEYWORDS
},
9867 { "new_wxFileHistory", (PyCFunction
) _wrap_new_wxFileHistory
, METH_VARARGS
| METH_KEYWORDS
},
9868 { "delete_wxMimeTypesManager", (PyCFunction
) _wrap_delete_wxMimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
},
9869 { "wxMimeTypesManager_Unassociate", (PyCFunction
) _wrap_wxMimeTypesManager_Unassociate
, METH_VARARGS
| METH_KEYWORDS
},
9870 { "wxMimeTypesManager_Associate", (PyCFunction
) _wrap_wxMimeTypesManager_Associate
, METH_VARARGS
| METH_KEYWORDS
},
9871 { "wxMimeTypesManager_AddFallback", (PyCFunction
) _wrap_wxMimeTypesManager_AddFallback
, METH_VARARGS
| METH_KEYWORDS
},
9872 { "wxMimeTypesManager_EnumAllFileTypes", (PyCFunction
) _wrap_wxMimeTypesManager_EnumAllFileTypes
, METH_VARARGS
| METH_KEYWORDS
},
9873 { "wxMimeTypesManager_ReadMimeTypes", (PyCFunction
) _wrap_wxMimeTypesManager_ReadMimeTypes
, METH_VARARGS
| METH_KEYWORDS
},
9874 { "wxMimeTypesManager_ReadMailcap", (PyCFunction
) _wrap_wxMimeTypesManager_ReadMailcap
, METH_VARARGS
| METH_KEYWORDS
},
9875 { "wxMimeTypesManager_GetFileTypeFromMimeType", (PyCFunction
) _wrap_wxMimeTypesManager_GetFileTypeFromMimeType
, METH_VARARGS
| METH_KEYWORDS
},
9876 { "wxMimeTypesManager_GetFileTypeFromExtension", (PyCFunction
) _wrap_wxMimeTypesManager_GetFileTypeFromExtension
, METH_VARARGS
| METH_KEYWORDS
},
9877 { "wxMimeTypesManager_ClearData", (PyCFunction
) _wrap_wxMimeTypesManager_ClearData
, METH_VARARGS
| METH_KEYWORDS
},
9878 { "wxMimeTypesManager_Initialize", (PyCFunction
) _wrap_wxMimeTypesManager_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
9879 { "new_wxMimeTypesManager", (PyCFunction
) _wrap_new_wxMimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
},
9880 { "wxMimeTypesManager_IsOfType", (PyCFunction
) _wrap_wxMimeTypesManager_IsOfType
, METH_VARARGS
| METH_KEYWORDS
},
9881 { "delete_wxFileType", (PyCFunction
) _wrap_delete_wxFileType
, METH_VARARGS
| METH_KEYWORDS
},
9882 { "wxFileType_ExpandCommand", (PyCFunction
) _wrap_wxFileType_ExpandCommand
, METH_VARARGS
| METH_KEYWORDS
},
9883 { "wxFileType_Unassociate", (PyCFunction
) _wrap_wxFileType_Unassociate
, METH_VARARGS
| METH_KEYWORDS
},
9884 { "wxFileType_SetDefaultIcon", (PyCFunction
) _wrap_wxFileType_SetDefaultIcon
, METH_VARARGS
| METH_KEYWORDS
},
9885 { "wxFileType_SetCommand", (PyCFunction
) _wrap_wxFileType_SetCommand
, METH_VARARGS
| METH_KEYWORDS
},
9886 { "wxFileType_GetAllCommands", (PyCFunction
) _wrap_wxFileType_GetAllCommands
, METH_VARARGS
| METH_KEYWORDS
},
9887 { "wxFileType_GetPrintCommand", (PyCFunction
) _wrap_wxFileType_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
},
9888 { "wxFileType_GetOpenCommand", (PyCFunction
) _wrap_wxFileType_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
},
9889 { "wxFileType_GetDescription", (PyCFunction
) _wrap_wxFileType_GetDescription
, METH_VARARGS
| METH_KEYWORDS
},
9890 { "wxFileType_GetIconInfo", (PyCFunction
) _wrap_wxFileType_GetIconInfo
, METH_VARARGS
| METH_KEYWORDS
},
9891 { "wxFileType_GetIcon", (PyCFunction
) _wrap_wxFileType_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
9892 { "wxFileType_GetExtensions", (PyCFunction
) _wrap_wxFileType_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
},
9893 { "wxFileType_GetMimeTypes", (PyCFunction
) _wrap_wxFileType_GetMimeTypes
, METH_VARARGS
| METH_KEYWORDS
},
9894 { "wxFileType_GetMimeType", (PyCFunction
) _wrap_wxFileType_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
9895 { "new_wxFileType", (PyCFunction
) _wrap_new_wxFileType
, METH_VARARGS
| METH_KEYWORDS
},
9896 { "wxFileTypeInfo_GetIconIndex", (PyCFunction
) _wrap_wxFileTypeInfo_GetIconIndex
, METH_VARARGS
| METH_KEYWORDS
},
9897 { "wxFileTypeInfo_GetIconFile", (PyCFunction
) _wrap_wxFileTypeInfo_GetIconFile
, METH_VARARGS
| METH_KEYWORDS
},
9898 { "wxFileTypeInfo_GetExtensionsCount", (PyCFunction
) _wrap_wxFileTypeInfo_GetExtensionsCount
, METH_VARARGS
| METH_KEYWORDS
},
9899 { "wxFileTypeInfo_GetExtensions", (PyCFunction
) _wrap_wxFileTypeInfo_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
},
9900 { "wxFileTypeInfo_GetDescription", (PyCFunction
) _wrap_wxFileTypeInfo_GetDescription
, METH_VARARGS
| METH_KEYWORDS
},
9901 { "wxFileTypeInfo_GetShortDesc", (PyCFunction
) _wrap_wxFileTypeInfo_GetShortDesc
, METH_VARARGS
| METH_KEYWORDS
},
9902 { "wxFileTypeInfo_GetPrintCommand", (PyCFunction
) _wrap_wxFileTypeInfo_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
},
9903 { "wxFileTypeInfo_GetOpenCommand", (PyCFunction
) _wrap_wxFileTypeInfo_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
},
9904 { "wxFileTypeInfo_GetMimeType", (PyCFunction
) _wrap_wxFileTypeInfo_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
9905 { "wxFileTypeInfo_SetShortDesc", (PyCFunction
) _wrap_wxFileTypeInfo_SetShortDesc
, METH_VARARGS
| METH_KEYWORDS
},
9906 { "wxFileTypeInfo_SetIcon", (PyCFunction
) _wrap_wxFileTypeInfo_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
9907 { "wxFileTypeInfo_IsValid", (PyCFunction
) _wrap_wxFileTypeInfo_IsValid
, METH_VARARGS
| METH_KEYWORDS
},
9908 { "new_wxNullFileTypeInfo", (PyCFunction
) _wrap_new_wxNullFileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
},
9909 { "new_wxFileTypeInfoSequence", (PyCFunction
) _wrap_new_wxFileTypeInfoSequence
, METH_VARARGS
| METH_KEYWORDS
},
9910 { "new_wxFileTypeInfo", (PyCFunction
) _wrap_new_wxFileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
},
9911 { "wxWave_Play", (PyCFunction
) _wrap_wxWave_Play
, METH_VARARGS
| METH_KEYWORDS
},
9912 { "wxWave_IsOk", (PyCFunction
) _wrap_wxWave_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
9913 { "delete_wxWave", (PyCFunction
) _wrap_delete_wxWave
, METH_VARARGS
| METH_KEYWORDS
},
9914 { "new_wxWave", (PyCFunction
) _wrap_new_wxWave
, METH_VARARGS
| METH_KEYWORDS
},
9915 { "wxJoystick_ReleaseCapture", (PyCFunction
) _wrap_wxJoystick_ReleaseCapture
, METH_VARARGS
| METH_KEYWORDS
},
9916 { "wxJoystick_SetCapture", (PyCFunction
) _wrap_wxJoystick_SetCapture
, METH_VARARGS
| METH_KEYWORDS
},
9917 { "wxJoystick_HasPOVCTS", (PyCFunction
) _wrap_wxJoystick_HasPOVCTS
, METH_VARARGS
| METH_KEYWORDS
},
9918 { "wxJoystick_HasPOV4Dir", (PyCFunction
) _wrap_wxJoystick_HasPOV4Dir
, METH_VARARGS
| METH_KEYWORDS
},
9919 { "wxJoystick_HasPOV", (PyCFunction
) _wrap_wxJoystick_HasPOV
, METH_VARARGS
| METH_KEYWORDS
},
9920 { "wxJoystick_HasV", (PyCFunction
) _wrap_wxJoystick_HasV
, METH_VARARGS
| METH_KEYWORDS
},
9921 { "wxJoystick_HasU", (PyCFunction
) _wrap_wxJoystick_HasU
, METH_VARARGS
| METH_KEYWORDS
},
9922 { "wxJoystick_HasZ", (PyCFunction
) _wrap_wxJoystick_HasZ
, METH_VARARGS
| METH_KEYWORDS
},
9923 { "wxJoystick_HasRudder", (PyCFunction
) _wrap_wxJoystick_HasRudder
, METH_VARARGS
| METH_KEYWORDS
},
9924 { "wxJoystick_GetVMax", (PyCFunction
) _wrap_wxJoystick_GetVMax
, METH_VARARGS
| METH_KEYWORDS
},
9925 { "wxJoystick_GetVMin", (PyCFunction
) _wrap_wxJoystick_GetVMin
, METH_VARARGS
| METH_KEYWORDS
},
9926 { "wxJoystick_GetUMax", (PyCFunction
) _wrap_wxJoystick_GetUMax
, METH_VARARGS
| METH_KEYWORDS
},
9927 { "wxJoystick_GetUMin", (PyCFunction
) _wrap_wxJoystick_GetUMin
, METH_VARARGS
| METH_KEYWORDS
},
9928 { "wxJoystick_GetRudderMax", (PyCFunction
) _wrap_wxJoystick_GetRudderMax
, METH_VARARGS
| METH_KEYWORDS
},
9929 { "wxJoystick_GetRudderMin", (PyCFunction
) _wrap_wxJoystick_GetRudderMin
, METH_VARARGS
| METH_KEYWORDS
},
9930 { "wxJoystick_GetPollingMax", (PyCFunction
) _wrap_wxJoystick_GetPollingMax
, METH_VARARGS
| METH_KEYWORDS
},
9931 { "wxJoystick_GetPollingMin", (PyCFunction
) _wrap_wxJoystick_GetPollingMin
, METH_VARARGS
| METH_KEYWORDS
},
9932 { "wxJoystick_GetMaxAxes", (PyCFunction
) _wrap_wxJoystick_GetMaxAxes
, METH_VARARGS
| METH_KEYWORDS
},
9933 { "wxJoystick_GetMaxButtons", (PyCFunction
) _wrap_wxJoystick_GetMaxButtons
, METH_VARARGS
| METH_KEYWORDS
},
9934 { "wxJoystick_GetNumberAxes", (PyCFunction
) _wrap_wxJoystick_GetNumberAxes
, METH_VARARGS
| METH_KEYWORDS
},
9935 { "wxJoystick_GetNumberButtons", (PyCFunction
) _wrap_wxJoystick_GetNumberButtons
, METH_VARARGS
| METH_KEYWORDS
},
9936 { "wxJoystick_GetZMax", (PyCFunction
) _wrap_wxJoystick_GetZMax
, METH_VARARGS
| METH_KEYWORDS
},
9937 { "wxJoystick_GetYMax", (PyCFunction
) _wrap_wxJoystick_GetYMax
, METH_VARARGS
| METH_KEYWORDS
},
9938 { "wxJoystick_GetXMax", (PyCFunction
) _wrap_wxJoystick_GetXMax
, METH_VARARGS
| METH_KEYWORDS
},
9939 { "wxJoystick_GetZMin", (PyCFunction
) _wrap_wxJoystick_GetZMin
, METH_VARARGS
| METH_KEYWORDS
},
9940 { "wxJoystick_GetYMin", (PyCFunction
) _wrap_wxJoystick_GetYMin
, METH_VARARGS
| METH_KEYWORDS
},
9941 { "wxJoystick_GetXMin", (PyCFunction
) _wrap_wxJoystick_GetXMin
, METH_VARARGS
| METH_KEYWORDS
},
9942 { "wxJoystick_GetProductName", (PyCFunction
) _wrap_wxJoystick_GetProductName
, METH_VARARGS
| METH_KEYWORDS
},
9943 { "wxJoystick_GetProductId", (PyCFunction
) _wrap_wxJoystick_GetProductId
, METH_VARARGS
| METH_KEYWORDS
},
9944 { "wxJoystick_GetManufacturerId", (PyCFunction
) _wrap_wxJoystick_GetManufacturerId
, METH_VARARGS
| METH_KEYWORDS
},
9945 { "wxJoystick_GetNumberJoysticks", (PyCFunction
) _wrap_wxJoystick_GetNumberJoysticks
, METH_VARARGS
| METH_KEYWORDS
},
9946 { "wxJoystick_IsOk", (PyCFunction
) _wrap_wxJoystick_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
9947 { "wxJoystick_SetMovementThreshold", (PyCFunction
) _wrap_wxJoystick_SetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
},
9948 { "wxJoystick_GetMovementThreshold", (PyCFunction
) _wrap_wxJoystick_GetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
},
9949 { "wxJoystick_GetVPosition", (PyCFunction
) _wrap_wxJoystick_GetVPosition
, METH_VARARGS
| METH_KEYWORDS
},
9950 { "wxJoystick_GetUPosition", (PyCFunction
) _wrap_wxJoystick_GetUPosition
, METH_VARARGS
| METH_KEYWORDS
},
9951 { "wxJoystick_GetRudderPosition", (PyCFunction
) _wrap_wxJoystick_GetRudderPosition
, METH_VARARGS
| METH_KEYWORDS
},
9952 { "wxJoystick_GetPOVCTSPosition", (PyCFunction
) _wrap_wxJoystick_GetPOVCTSPosition
, METH_VARARGS
| METH_KEYWORDS
},
9953 { "wxJoystick_GetPOVPosition", (PyCFunction
) _wrap_wxJoystick_GetPOVPosition
, METH_VARARGS
| METH_KEYWORDS
},
9954 { "wxJoystick_GetButtonState", (PyCFunction
) _wrap_wxJoystick_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
},
9955 { "wxJoystick_GetZPosition", (PyCFunction
) _wrap_wxJoystick_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
},
9956 { "wxJoystick_GetPosition", (PyCFunction
) _wrap_wxJoystick_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
9957 { "delete_wxJoystick", (PyCFunction
) _wrap_delete_wxJoystick
, METH_VARARGS
| METH_KEYWORDS
},
9958 { "new_wxJoystick", (PyCFunction
) _wrap_new_wxJoystick
, METH_VARARGS
| METH_KEYWORDS
},
9959 { "wxProcess_CloseOutput", (PyCFunction
) _wrap_wxProcess_CloseOutput
, METH_VARARGS
| METH_KEYWORDS
},
9960 { "wxProcess_GetOutputStream", (PyCFunction
) _wrap_wxProcess_GetOutputStream
, METH_VARARGS
| METH_KEYWORDS
},
9961 { "wxProcess_GetErrorStream", (PyCFunction
) _wrap_wxProcess_GetErrorStream
, METH_VARARGS
| METH_KEYWORDS
},
9962 { "wxProcess_GetInputStream", (PyCFunction
) _wrap_wxProcess_GetInputStream
, METH_VARARGS
| METH_KEYWORDS
},
9963 { "wxProcess_Detach", (PyCFunction
) _wrap_wxProcess_Detach
, METH_VARARGS
| METH_KEYWORDS
},
9964 { "wxProcess_IsRedirected", (PyCFunction
) _wrap_wxProcess_IsRedirected
, METH_VARARGS
| METH_KEYWORDS
},
9965 { "wxProcess_Redirect", (PyCFunction
) _wrap_wxProcess_Redirect
, METH_VARARGS
| METH_KEYWORDS
},
9966 { "wxProcess_base_OnTerminate", (PyCFunction
) _wrap_wxProcess_base_OnTerminate
, METH_VARARGS
| METH_KEYWORDS
},
9967 { "wxProcess__setCallbackInfo", (PyCFunction
) _wrap_wxProcess__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
9968 { "wxProcess_Destroy", (PyCFunction
) _wrap_wxProcess_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
9969 { "new_wxProcess", (PyCFunction
) _wrap_new_wxProcess
, METH_VARARGS
| METH_KEYWORDS
},
9970 { "wxProcessEvent_m_exitcode_get", (PyCFunction
) _wrap_wxProcessEvent_m_exitcode_get
, METH_VARARGS
| METH_KEYWORDS
},
9971 { "wxProcessEvent_m_exitcode_set", (PyCFunction
) _wrap_wxProcessEvent_m_exitcode_set
, METH_VARARGS
| METH_KEYWORDS
},
9972 { "wxProcessEvent_m_pid_get", (PyCFunction
) _wrap_wxProcessEvent_m_pid_get
, METH_VARARGS
| METH_KEYWORDS
},
9973 { "wxProcessEvent_m_pid_set", (PyCFunction
) _wrap_wxProcessEvent_m_pid_set
, METH_VARARGS
| METH_KEYWORDS
},
9974 { "wxProcessEvent_GetExitCode", (PyCFunction
) _wrap_wxProcessEvent_GetExitCode
, METH_VARARGS
| METH_KEYWORDS
},
9975 { "wxProcessEvent_GetPid", (PyCFunction
) _wrap_wxProcessEvent_GetPid
, METH_VARARGS
| METH_KEYWORDS
},
9976 { "new_wxProcessEvent", (PyCFunction
) _wrap_new_wxProcessEvent
, METH_VARARGS
| METH_KEYWORDS
},
9977 { "wxPyLog_Destroy", (PyCFunction
) _wrap_wxPyLog_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
9978 { "wxPyLog__setCallbackInfo", (PyCFunction
) _wrap_wxPyLog__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
9979 { "new_wxPyLog", (PyCFunction
) _wrap_new_wxPyLog
, METH_VARARGS
| METH_KEYWORDS
},
9980 { "wxLogChain_GetOldLog", (PyCFunction
) _wrap_wxLogChain_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
},
9981 { "wxLogChain_IsPassingMessages", (PyCFunction
) _wrap_wxLogChain_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
},
9982 { "wxLogChain_PassMessages", (PyCFunction
) _wrap_wxLogChain_PassMessages
, METH_VARARGS
| METH_KEYWORDS
},
9983 { "wxLogChain_SetLog", (PyCFunction
) _wrap_wxLogChain_SetLog
, METH_VARARGS
| METH_KEYWORDS
},
9984 { "new_wxLogChain", (PyCFunction
) _wrap_new_wxLogChain
, METH_VARARGS
| METH_KEYWORDS
},
9985 { "delete_wxLogNull", (PyCFunction
) _wrap_delete_wxLogNull
, METH_VARARGS
| METH_KEYWORDS
},
9986 { "new_wxLogNull", (PyCFunction
) _wrap_new_wxLogNull
, METH_VARARGS
| METH_KEYWORDS
},
9987 { "wxLogWindow_PassMessages", (PyCFunction
) _wrap_wxLogWindow_PassMessages
, METH_VARARGS
| METH_KEYWORDS
},
9988 { "wxLogWindow_IsPassingMessages", (PyCFunction
) _wrap_wxLogWindow_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
},
9989 { "wxLogWindow_GetOldLog", (PyCFunction
) _wrap_wxLogWindow_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
},
9990 { "wxLogWindow_GetFrame", (PyCFunction
) _wrap_wxLogWindow_GetFrame
, METH_VARARGS
| METH_KEYWORDS
},
9991 { "wxLogWindow_Show", (PyCFunction
) _wrap_wxLogWindow_Show
, METH_VARARGS
| METH_KEYWORDS
},
9992 { "new_wxLogWindow", (PyCFunction
) _wrap_new_wxLogWindow
, METH_VARARGS
| METH_KEYWORDS
},
9993 { "new_wxLogGui", (PyCFunction
) _wrap_new_wxLogGui
, METH_VARARGS
| METH_KEYWORDS
},
9994 { "new_wxLogTextCtrl", (PyCFunction
) _wrap_new_wxLogTextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
9995 { "new_wxLogStderr", (PyCFunction
) _wrap_new_wxLogStderr
, METH_VARARGS
| METH_KEYWORDS
},
9996 { "wxLog_TimeStamp", (PyCFunction
) _wrap_wxLog_TimeStamp
, METH_VARARGS
| METH_KEYWORDS
},
9997 { "wxLog_IsAllowedTraceMask", (PyCFunction
) _wrap_wxLog_IsAllowedTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
9998 { "wxLog_GetTraceMask", (PyCFunction
) _wrap_wxLog_GetTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
9999 { "wxLog_GetVerbose", (PyCFunction
) _wrap_wxLog_GetVerbose
, METH_VARARGS
| METH_KEYWORDS
},
10000 { "wxLog_GetTimestamp", (PyCFunction
) _wrap_wxLog_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
10001 { "wxLog_SetTimestamp", (PyCFunction
) _wrap_wxLog_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
10002 { "wxLog_ClearTraceMasks", (PyCFunction
) _wrap_wxLog_ClearTraceMasks
, METH_VARARGS
| METH_KEYWORDS
},
10003 { "wxLog_RemoveTraceMask", (PyCFunction
) _wrap_wxLog_RemoveTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
10004 { "wxLog_AddTraceMask", (PyCFunction
) _wrap_wxLog_AddTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
10005 { "wxLog_SetTraceMask", (PyCFunction
) _wrap_wxLog_SetTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
10006 { "wxLog_DontCreateOnDemand", (PyCFunction
) _wrap_wxLog_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
},
10007 { "wxLog_SetVerbose", (PyCFunction
) _wrap_wxLog_SetVerbose
, METH_VARARGS
| METH_KEYWORDS
},
10008 { "wxLog_Resume", (PyCFunction
) _wrap_wxLog_Resume
, METH_VARARGS
| METH_KEYWORDS
},
10009 { "wxLog_Suspend", (PyCFunction
) _wrap_wxLog_Suspend
, METH_VARARGS
| METH_KEYWORDS
},
10010 { "wxLog_SetActiveTarget", (PyCFunction
) _wrap_wxLog_SetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
},
10011 { "wxLog_GetActiveTarget", (PyCFunction
) _wrap_wxLog_GetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
},
10012 { "wxLog_FlushActive", (PyCFunction
) _wrap_wxLog_FlushActive
, METH_VARARGS
| METH_KEYWORDS
},
10013 { "wxLog_HasPendingMessages", (PyCFunction
) _wrap_wxLog_HasPendingMessages
, METH_VARARGS
| METH_KEYWORDS
},
10014 { "wxLog_Flush", (PyCFunction
) _wrap_wxLog_Flush
, METH_VARARGS
| METH_KEYWORDS
},
10015 { "wxLog_OnLog", (PyCFunction
) _wrap_wxLog_OnLog
, METH_VARARGS
| METH_KEYWORDS
},
10016 { "wxLog_EnableLogging", (PyCFunction
) _wrap_wxLog_EnableLogging
, METH_VARARGS
| METH_KEYWORDS
},
10017 { "wxLog_IsEnabled", (PyCFunction
) _wrap_wxLog_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
10018 { "new_wxLog", (PyCFunction
) _wrap_new_wxLog
, METH_VARARGS
| METH_KEYWORDS
},
10019 { "wxStopWatch_Time", (PyCFunction
) _wrap_wxStopWatch_Time
, METH_VARARGS
| METH_KEYWORDS
},
10020 { "wxStopWatch_Resume", (PyCFunction
) _wrap_wxStopWatch_Resume
, METH_VARARGS
| METH_KEYWORDS
},
10021 { "wxStopWatch_Pause", (PyCFunction
) _wrap_wxStopWatch_Pause
, METH_VARARGS
| METH_KEYWORDS
},
10022 { "wxStopWatch_Start", (PyCFunction
) _wrap_wxStopWatch_Start
, METH_VARARGS
| METH_KEYWORDS
},
10023 { "new_wxStopWatch", (PyCFunction
) _wrap_new_wxStopWatch
, METH_VARARGS
| METH_KEYWORDS
},
10024 { "wxPyTimer_Stop", (PyCFunction
) _wrap_wxPyTimer_Stop
, METH_VARARGS
| METH_KEYWORDS
},
10025 { "wxPyTimer_Start", (PyCFunction
) _wrap_wxPyTimer_Start
, METH_VARARGS
| METH_KEYWORDS
},
10026 { "wxPyTimer_SetOwner", (PyCFunction
) _wrap_wxPyTimer_SetOwner
, METH_VARARGS
| METH_KEYWORDS
},
10027 { "wxPyTimer_IsRunning", (PyCFunction
) _wrap_wxPyTimer_IsRunning
, METH_VARARGS
| METH_KEYWORDS
},
10028 { "wxPyTimer_IsOneShot", (PyCFunction
) _wrap_wxPyTimer_IsOneShot
, METH_VARARGS
| METH_KEYWORDS
},
10029 { "wxPyTimer_GetInterval", (PyCFunction
) _wrap_wxPyTimer_GetInterval
, METH_VARARGS
| METH_KEYWORDS
},
10030 { "delete_wxPyTimer", (PyCFunction
) _wrap_delete_wxPyTimer
, METH_VARARGS
| METH_KEYWORDS
},
10031 { "new_wxPyTimer", (PyCFunction
) _wrap_new_wxPyTimer
, METH_VARARGS
| METH_KEYWORDS
},
10032 { "wxDragImage_RedrawImage", (PyCFunction
) _wrap_wxDragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
},
10033 { "wxDragImage_GetImageRect", (PyCFunction
) _wrap_wxDragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
},
10034 { "wxDragImage_Hide", (PyCFunction
) _wrap_wxDragImage_Hide
, METH_VARARGS
| METH_KEYWORDS
},
10035 { "wxDragImage_Show", (PyCFunction
) _wrap_wxDragImage_Show
, METH_VARARGS
| METH_KEYWORDS
},
10036 { "wxDragImage_Move", (PyCFunction
) _wrap_wxDragImage_Move
, METH_VARARGS
| METH_KEYWORDS
},
10037 { "wxDragImage_EndDrag", (PyCFunction
) _wrap_wxDragImage_EndDrag
, METH_VARARGS
| METH_KEYWORDS
},
10038 { "wxDragImage_BeginDrag2", (PyCFunction
) _wrap_wxDragImage_BeginDrag2
, METH_VARARGS
| METH_KEYWORDS
},
10039 { "wxDragImage_BeginDrag", (PyCFunction
) _wrap_wxDragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
},
10040 { "wxDragImage_SetBackingBitmap", (PyCFunction
) _wrap_wxDragImage_SetBackingBitmap
, METH_VARARGS
| METH_KEYWORDS
},
10041 { "delete_wxDragImage", (PyCFunction
) _wrap_delete_wxDragImage
, METH_VARARGS
| METH_KEYWORDS
},
10042 { "new_wxDragListItem", (PyCFunction
) _wrap_new_wxDragListItem
, METH_VARARGS
| METH_KEYWORDS
},
10043 { "new_wxDragTreeItem", (PyCFunction
) _wrap_new_wxDragTreeItem
, METH_VARARGS
| METH_KEYWORDS
},
10044 { "new_wxDragString", (PyCFunction
) _wrap_new_wxDragString
, METH_VARARGS
| METH_KEYWORDS
},
10045 { "new_wxDragIcon", (PyCFunction
) _wrap_new_wxDragIcon
, METH_VARARGS
| METH_KEYWORDS
},
10046 { "new_wxDragImage", (PyCFunction
) _wrap_new_wxDragImage
, METH_VARARGS
| METH_KEYWORDS
},
10047 { "new_wxPyTipProvider", (PyCFunction
) _wrap_new_wxPyTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
10048 { "wxTipProvider_GetCurrentTip", (PyCFunction
) _wrap_wxTipProvider_GetCurrentTip
, METH_VARARGS
| METH_KEYWORDS
},
10049 { "wxTipProvider_GetTip", (PyCFunction
) _wrap_wxTipProvider_GetTip
, METH_VARARGS
| METH_KEYWORDS
},
10050 { "delete_wxTipProvider", (PyCFunction
) _wrap_delete_wxTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
10051 { "delete_wxMutexGuiLocker", (PyCFunction
) _wrap_delete_wxMutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
},
10052 { "new_wxMutexGuiLocker", (PyCFunction
) _wrap_new_wxMutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
},
10053 { "delete_wxWindowDisabler", (PyCFunction
) _wrap_delete_wxWindowDisabler
, METH_VARARGS
| METH_KEYWORDS
},
10054 { "new_wxWindowDisabler", (PyCFunction
) _wrap_new_wxWindowDisabler
, METH_VARARGS
| METH_KEYWORDS
},
10055 { "delete_wxBusyCursor", (PyCFunction
) _wrap_delete_wxBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
10056 { "new_wxBusyCursor", (PyCFunction
) _wrap_new_wxBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
10057 { "wxFontEnumerator_GetFacenames", (PyCFunction
) _wrap_wxFontEnumerator_GetFacenames
, METH_VARARGS
| METH_KEYWORDS
},
10058 { "wxFontEnumerator_GetEncodings", (PyCFunction
) _wrap_wxFontEnumerator_GetEncodings
, METH_VARARGS
| METH_KEYWORDS
},
10059 { "wxFontEnumerator_EnumerateEncodings", (PyCFunction
) _wrap_wxFontEnumerator_EnumerateEncodings
, METH_VARARGS
| METH_KEYWORDS
},
10060 { "wxFontEnumerator_EnumerateFacenames", (PyCFunction
) _wrap_wxFontEnumerator_EnumerateFacenames
, METH_VARARGS
| METH_KEYWORDS
},
10061 { "wxFontEnumerator__setCallbackInfo", (PyCFunction
) _wrap_wxFontEnumerator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
10062 { "delete_wxFontEnumerator", (PyCFunction
) _wrap_delete_wxFontEnumerator
, METH_VARARGS
| METH_KEYWORDS
},
10063 { "new_wxFontEnumerator", (PyCFunction
) _wrap_new_wxFontEnumerator
, METH_VARARGS
| METH_KEYWORDS
},
10064 { "wxCaret_Hide", (PyCFunction
) _wrap_wxCaret_Hide
, METH_VARARGS
| METH_KEYWORDS
},
10065 { "wxCaret_Show", (PyCFunction
) _wrap_wxCaret_Show
, METH_VARARGS
| METH_KEYWORDS
},
10066 { "wxCaret_SetSize", (PyCFunction
) _wrap_wxCaret_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
10067 { "wxCaret_SetSizeWH", (PyCFunction
) _wrap_wxCaret_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
10068 { "wxCaret_Move", (PyCFunction
) _wrap_wxCaret_Move
, METH_VARARGS
| METH_KEYWORDS
},
10069 { "wxCaret_MoveXY", (PyCFunction
) _wrap_wxCaret_MoveXY
, METH_VARARGS
| METH_KEYWORDS
},
10070 { "wxCaret_GetWindow", (PyCFunction
) _wrap_wxCaret_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
10071 { "wxCaret_GetSize", (PyCFunction
) _wrap_wxCaret_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
10072 { "wxCaret_GetSizeTuple", (PyCFunction
) _wrap_wxCaret_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
10073 { "wxCaret_GetPosition", (PyCFunction
) _wrap_wxCaret_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
10074 { "wxCaret_GetPositionTuple", (PyCFunction
) _wrap_wxCaret_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
10075 { "wxCaret_IsVisible", (PyCFunction
) _wrap_wxCaret_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
10076 { "wxCaret_IsOk", (PyCFunction
) _wrap_wxCaret_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
10077 { "delete_wxCaret", (PyCFunction
) _wrap_delete_wxCaret
, METH_VARARGS
| METH_KEYWORDS
},
10078 { "new_wxCaret", (PyCFunction
) _wrap_new_wxCaret
, METH_VARARGS
| METH_KEYWORDS
},
10079 { "wxToolTip_SetDelay", (PyCFunction
) _wrap_wxToolTip_SetDelay
, METH_VARARGS
| METH_KEYWORDS
},
10080 { "wxToolTip_Enable", (PyCFunction
) _wrap_wxToolTip_Enable
, METH_VARARGS
| METH_KEYWORDS
},
10081 { "wxToolTip_GetWindow", (PyCFunction
) _wrap_wxToolTip_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
10082 { "wxToolTip_GetTip", (PyCFunction
) _wrap_wxToolTip_GetTip
, METH_VARARGS
| METH_KEYWORDS
},
10083 { "wxToolTip_SetTip", (PyCFunction
) _wrap_wxToolTip_SetTip
, METH_VARARGS
| METH_KEYWORDS
},
10084 { "new_wxToolTip", (PyCFunction
) _wrap_new_wxToolTip
, METH_VARARGS
| METH_KEYWORDS
},
10085 { "wxWaveData", (PyCFunction
) _wrap_wxWaveData
, METH_VARARGS
| METH_KEYWORDS
},
10086 { "wxExecute", (PyCFunction
) _wrap_wxExecute
, METH_VARARGS
| METH_KEYWORDS
},
10087 { "wxLogSysError", (PyCFunction
) _wrap_wxLogSysError
, METH_VARARGS
| METH_KEYWORDS
},
10088 { "wxLogStatusFrame", (PyCFunction
) _wrap_wxLogStatusFrame
, METH_VARARGS
| METH_KEYWORDS
},
10089 { "wxLogStatus", (PyCFunction
) _wrap_wxLogStatus
, METH_VARARGS
| METH_KEYWORDS
},
10090 { "wxLogVerbose", (PyCFunction
) _wrap_wxLogVerbose
, METH_VARARGS
| METH_KEYWORDS
},
10091 { "wxLogInfo", (PyCFunction
) _wrap_wxLogInfo
, METH_VARARGS
| METH_KEYWORDS
},
10092 { "wxLogMessage", (PyCFunction
) _wrap_wxLogMessage
, METH_VARARGS
| METH_KEYWORDS
},
10093 { "wxLogWarning", (PyCFunction
) _wrap_wxLogWarning
, METH_VARARGS
| METH_KEYWORDS
},
10094 { "wxLogError", (PyCFunction
) _wrap_wxLogError
, METH_VARARGS
| METH_KEYWORDS
},
10095 { "wxLogFatalError", (PyCFunction
) _wrap_wxLogFatalError
, METH_VARARGS
| METH_KEYWORDS
},
10096 { "wxSysErrorMsg", (PyCFunction
) _wrap_wxSysErrorMsg
, METH_VARARGS
| METH_KEYWORDS
},
10097 { "wxSysErrorCode", (PyCFunction
) _wrap_wxSysErrorCode
, METH_VARARGS
| METH_KEYWORDS
},
10098 { "wxCreateFileTipProvider", (PyCFunction
) _wrap_wxCreateFileTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
10099 { "wxShowTip", (PyCFunction
) _wrap_wxShowTip
, METH_VARARGS
| METH_KEYWORDS
},
10100 { "wxThread_IsMain", (PyCFunction
) _wrap_wxThread_IsMain
, METH_VARARGS
| METH_KEYWORDS
},
10101 { "wxMutexGuiLeave", (PyCFunction
) _wrap_wxMutexGuiLeave
, METH_VARARGS
| METH_KEYWORDS
},
10102 { "wxMutexGuiEnter", (PyCFunction
) _wrap_wxMutexGuiEnter
, METH_VARARGS
| METH_KEYWORDS
},
10103 { "wxWakeUpMainThread", (PyCFunction
) _wrap_wxWakeUpMainThread
, METH_VARARGS
| METH_KEYWORDS
},
10104 { "wxWakeUpIdle", (PyCFunction
) _wrap_wxWakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
},
10105 { "wxPostEvent", (PyCFunction
) _wrap_wxPostEvent
, METH_VARARGS
| METH_KEYWORDS
},
10106 { "wxSafeYield", (PyCFunction
) _wrap_wxSafeYield
, METH_VARARGS
| METH_KEYWORDS
},
10107 { "wxCaret_SetBlinkTime", (PyCFunction
) _wrap_wxCaret_SetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
},
10108 { "wxCaret_GetBlinkTime", (PyCFunction
) _wrap_wxCaret_GetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
},
10109 { "wxSystemSettings_GetSystemMetric", (PyCFunction
) _wrap_wxSystemSettings_GetSystemMetric
, METH_VARARGS
| METH_KEYWORDS
},
10110 { "wxSystemSettings_GetSystemFont", (PyCFunction
) _wrap_wxSystemSettings_GetSystemFont
, METH_VARARGS
| METH_KEYWORDS
},
10111 { "wxSystemSettings_GetSystemColour", (PyCFunction
) _wrap_wxSystemSettings_GetSystemColour
, METH_VARARGS
| METH_KEYWORDS
},
10112 { "wxResourceParseString", (PyCFunction
) _wrap_wxResourceParseString
, METH_VARARGS
| METH_KEYWORDS
},
10113 { "wxResourceParseFile", (PyCFunction
) _wrap_wxResourceParseFile
, METH_VARARGS
| METH_KEYWORDS
},
10114 { "wxResourceParseData", (PyCFunction
) _wrap_wxResourceParseData
, METH_VARARGS
| METH_KEYWORDS
},
10115 { "wxResourceGetIdentifier", (PyCFunction
) _wrap_wxResourceGetIdentifier
, METH_VARARGS
| METH_KEYWORDS
},
10116 { "wxResourceCreateMenuBar", (PyCFunction
) _wrap_wxResourceCreateMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
10117 { "wxResourceCreateIcon", (PyCFunction
) _wrap_wxResourceCreateIcon
, METH_VARARGS
| METH_KEYWORDS
},
10118 { "wxResourceCreateBitmap", (PyCFunction
) _wrap_wxResourceCreateBitmap
, METH_VARARGS
| METH_KEYWORDS
},
10119 { "wxResourceClear", (PyCFunction
) _wrap_wxResourceClear
, METH_VARARGS
| METH_KEYWORDS
},
10120 { "wxResourceAddIdentifier", (PyCFunction
) _wrap_wxResourceAddIdentifier
, METH_VARARGS
| METH_KEYWORDS
},
10121 { "wxFlushEvents", (PyCFunction
) _wrap_wxFlushEvents
, METH_VARARGS
| METH_KEYWORDS
},
10122 { "wxCheckForInterrupt", (PyCFunction
) _wrap_wxCheckForInterrupt
, METH_VARARGS
| METH_KEYWORDS
},
10123 { "wxFindWindowAtPoint", (PyCFunction
) _wrap_wxFindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
},
10124 { "wxGenericFindWindowAtPoint", (PyCFunction
) _wrap_wxGenericFindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
},
10125 { "wxGetActiveWindow", (PyCFunction
) _wrap_wxGetActiveWindow
, METH_VARARGS
| METH_KEYWORDS
},
10126 { "wxBeginBusyCursor", (PyCFunction
) _wrap_wxBeginBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
10127 { "wxFindWindowByName", (PyCFunction
) _wrap_wxFindWindowByName
, METH_VARARGS
| METH_KEYWORDS
},
10128 { "wxFindWindowByLabel", (PyCFunction
) _wrap_wxFindWindowByLabel
, METH_VARARGS
| METH_KEYWORDS
},
10129 { "wxSetCursor", (PyCFunction
) _wrap_wxSetCursor
, METH_VARARGS
| METH_KEYWORDS
},
10130 { "wxGetClientDisplayRect", (PyCFunction
) _wrap_wxGetClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
},
10131 { "wxClientDisplayRect", (PyCFunction
) _wrap_wxClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
},
10132 { "wxGetDisplaySizeMM", (PyCFunction
) _wrap_wxGetDisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
},
10133 { "wxDisplaySizeMM", (PyCFunction
) _wrap_wxDisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
},
10134 { "wxGetDisplaySize", (PyCFunction
) _wrap_wxGetDisplaySize
, METH_VARARGS
| METH_KEYWORDS
},
10135 { "wxDisplaySize", (PyCFunction
) _wrap_wxDisplaySize
, METH_VARARGS
| METH_KEYWORDS
},
10136 { "wxGetDisplayDepth", (PyCFunction
) _wrap_wxGetDisplayDepth
, METH_VARARGS
| METH_KEYWORDS
},
10137 { "wxDisplayDepth", (PyCFunction
) _wrap_wxDisplayDepth
, METH_VARARGS
| METH_KEYWORDS
},
10138 { "wxColourDisplay", (PyCFunction
) _wrap_wxColourDisplay
, METH_VARARGS
| METH_KEYWORDS
},
10139 { "wxGetNumberFromUser", (PyCFunction
) _wrap_wxGetNumberFromUser
, METH_VARARGS
| METH_KEYWORDS
},
10140 { "wxMessageBox", (PyCFunction
) _wrap_wxMessageBox
, METH_VARARGS
| METH_KEYWORDS
},
10141 { "wxGetSingleChoiceIndex", (PyCFunction
) _wrap_wxGetSingleChoiceIndex
, METH_VARARGS
| METH_KEYWORDS
},
10142 { "wxGetSingleChoice", (PyCFunction
) _wrap_wxGetSingleChoice
, METH_VARARGS
| METH_KEYWORDS
},
10143 { "wxGetPasswordFromUser", (PyCFunction
) _wrap_wxGetPasswordFromUser
, METH_VARARGS
| METH_KEYWORDS
},
10144 { "wxGetTextFromUser", (PyCFunction
) _wrap_wxGetTextFromUser
, METH_VARARGS
| METH_KEYWORDS
},
10145 { "wxFileSelector", (PyCFunction
) _wrap_wxFileSelector
, METH_VARARGS
| METH_KEYWORDS
},
10152 * This table is used by the pointer type-checker
10154 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
10155 { "_wxEvent","_wxProcessEvent",SwigwxProcessEventTowxEvent
},
10156 { "_signed_long","_long",0},
10157 { "_wxPrintQuality","_wxCoord",0},
10158 { "_wxPrintQuality","_int",0},
10159 { "_wxPrintQuality","_signed_int",0},
10160 { "_wxPrintQuality","_unsigned_int",0},
10161 { "_wxPrintQuality","_wxWindowID",0},
10162 { "_wxPrintQuality","_uint",0},
10163 { "_wxPrintQuality","_EBool",0},
10164 { "_wxPrintQuality","_size_t",0},
10165 { "_wxPrintQuality","_time_t",0},
10166 { "_wxLog","_wxPyLog",SwigwxPyLogTowxLog
},
10167 { "_wxLog","_wxLogChain",SwigwxLogChainTowxLog
},
10168 { "_wxLog","_wxLogWindow",SwigwxLogWindowTowxLog
},
10169 { "_wxLog","_wxLogGui",SwigwxLogGuiTowxLog
},
10170 { "_wxLog","_wxLogTextCtrl",SwigwxLogTextCtrlTowxLog
},
10171 { "_wxLog","_wxLogStderr",SwigwxLogStderrTowxLog
},
10172 { "_byte","_unsigned_char",0},
10173 { "_long","_unsigned_long",0},
10174 { "_long","_signed_long",0},
10175 { "_size_t","_wxCoord",0},
10176 { "_size_t","_wxPrintQuality",0},
10177 { "_size_t","_time_t",0},
10178 { "_size_t","_unsigned_int",0},
10179 { "_size_t","_int",0},
10180 { "_size_t","_wxWindowID",0},
10181 { "_size_t","_uint",0},
10182 { "_uint","_wxCoord",0},
10183 { "_uint","_wxPrintQuality",0},
10184 { "_uint","_time_t",0},
10185 { "_uint","_size_t",0},
10186 { "_uint","_unsigned_int",0},
10187 { "_uint","_int",0},
10188 { "_uint","_wxWindowID",0},
10189 { "_wxChar","_char",0},
10190 { "_char","_wxChar",0},
10191 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
10192 { "_EBool","_wxCoord",0},
10193 { "_EBool","_wxPrintQuality",0},
10194 { "_EBool","_signed_int",0},
10195 { "_EBool","_int",0},
10196 { "_EBool","_wxWindowID",0},
10197 { "_unsigned_long","_long",0},
10198 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
10199 { "_signed_int","_wxCoord",0},
10200 { "_signed_int","_wxPrintQuality",0},
10201 { "_signed_int","_EBool",0},
10202 { "_signed_int","_wxWindowID",0},
10203 { "_signed_int","_int",0},
10204 { "_WXTYPE","_wxDateTime_t",0},
10205 { "_WXTYPE","_short",0},
10206 { "_WXTYPE","_signed_short",0},
10207 { "_WXTYPE","_unsigned_short",0},
10208 { "_wxTipProvider","_wxPyTipProvider",SwigwxPyTipProviderTowxTipProvider
},
10209 { "_unsigned_short","_wxDateTime_t",0},
10210 { "_unsigned_short","_WXTYPE",0},
10211 { "_unsigned_short","_short",0},
10212 { "_wxObject","_wxFileHistory",SwigwxFileHistoryTowxObject
},
10213 { "_wxObject","_wxWave",SwigwxWaveTowxObject
},
10214 { "_wxObject","_wxJoystick",SwigwxJoystickTowxObject
},
10215 { "_wxObject","_wxPyProcess",SwigwxPyProcessTowxObject
},
10216 { "_wxObject","_wxProcessEvent",SwigwxProcessEventTowxObject
},
10217 { "_wxObject","_wxPyTimer",SwigwxPyTimerTowxObject
},
10218 { "_wxObject","_wxGenericDragImage",SwigwxGenericDragImageTowxObject
},
10219 { "_wxObject","_wxToolTip",SwigwxToolTipTowxObject
},
10220 { "_signed_short","_WXTYPE",0},
10221 { "_signed_short","_short",0},
10222 { "_unsigned_char","_byte",0},
10223 { "_unsigned_int","_wxCoord",0},
10224 { "_unsigned_int","_wxPrintQuality",0},
10225 { "_unsigned_int","_time_t",0},
10226 { "_unsigned_int","_size_t",0},
10227 { "_unsigned_int","_uint",0},
10228 { "_unsigned_int","_wxWindowID",0},
10229 { "_unsigned_int","_int",0},
10230 { "_short","_wxDateTime_t",0},
10231 { "_short","_WXTYPE",0},
10232 { "_short","_unsigned_short",0},
10233 { "_short","_signed_short",0},
10234 { "_wxWindowID","_wxCoord",0},
10235 { "_wxWindowID","_wxPrintQuality",0},
10236 { "_wxWindowID","_time_t",0},
10237 { "_wxWindowID","_size_t",0},
10238 { "_wxWindowID","_EBool",0},
10239 { "_wxWindowID","_uint",0},
10240 { "_wxWindowID","_int",0},
10241 { "_wxWindowID","_signed_int",0},
10242 { "_wxWindowID","_unsigned_int",0},
10243 { "_int","_wxCoord",0},
10244 { "_int","_wxPrintQuality",0},
10245 { "_int","_time_t",0},
10246 { "_int","_size_t",0},
10247 { "_int","_EBool",0},
10248 { "_int","_uint",0},
10249 { "_int","_wxWindowID",0},
10250 { "_int","_unsigned_int",0},
10251 { "_int","_signed_int",0},
10252 { "_wxDateTime_t","_unsigned_short",0},
10253 { "_wxDateTime_t","_short",0},
10254 { "_wxDateTime_t","_WXTYPE",0},
10255 { "_time_t","_wxCoord",0},
10256 { "_time_t","_wxPrintQuality",0},
10257 { "_time_t","_unsigned_int",0},
10258 { "_time_t","_int",0},
10259 { "_time_t","_wxWindowID",0},
10260 { "_time_t","_uint",0},
10261 { "_time_t","_size_t",0},
10262 { "_wxCoord","_int",0},
10263 { "_wxCoord","_signed_int",0},
10264 { "_wxCoord","_unsigned_int",0},
10265 { "_wxCoord","_wxWindowID",0},
10266 { "_wxCoord","_uint",0},
10267 { "_wxCoord","_EBool",0},
10268 { "_wxCoord","_size_t",0},
10269 { "_wxCoord","_time_t",0},
10270 { "_wxCoord","_wxPrintQuality",0},
10271 { "_wxEvtHandler","_wxPyProcess",SwigwxPyProcessTowxEvtHandler
},
10274 static PyObject
*SWIG_globals
;
10278 SWIGEXPORT(void) initmisc2c() {
10280 SWIG_globals
= SWIG_newvarlink();
10281 m
= Py_InitModule("misc2c", misc2cMethods
);
10282 d
= PyModule_GetDict(m
);
10283 PyDict_SetItemString(d
,"wxSYS_WHITE_BRUSH", PyInt_FromLong((long) wxSYS_WHITE_BRUSH
));
10284 PyDict_SetItemString(d
,"wxSYS_LTGRAY_BRUSH", PyInt_FromLong((long) wxSYS_LTGRAY_BRUSH
));
10285 PyDict_SetItemString(d
,"wxSYS_GRAY_BRUSH", PyInt_FromLong((long) wxSYS_GRAY_BRUSH
));
10286 PyDict_SetItemString(d
,"wxSYS_DKGRAY_BRUSH", PyInt_FromLong((long) wxSYS_DKGRAY_BRUSH
));
10287 PyDict_SetItemString(d
,"wxSYS_BLACK_BRUSH", PyInt_FromLong((long) wxSYS_BLACK_BRUSH
));
10288 PyDict_SetItemString(d
,"wxSYS_NULL_BRUSH", PyInt_FromLong((long) wxSYS_NULL_BRUSH
));
10289 PyDict_SetItemString(d
,"wxSYS_HOLLOW_BRUSH", PyInt_FromLong((long) wxSYS_HOLLOW_BRUSH
));
10290 PyDict_SetItemString(d
,"wxSYS_WHITE_PEN", PyInt_FromLong((long) wxSYS_WHITE_PEN
));
10291 PyDict_SetItemString(d
,"wxSYS_BLACK_PEN", PyInt_FromLong((long) wxSYS_BLACK_PEN
));
10292 PyDict_SetItemString(d
,"wxSYS_NULL_PEN", PyInt_FromLong((long) wxSYS_NULL_PEN
));
10293 PyDict_SetItemString(d
,"wxSYS_OEM_FIXED_FONT", PyInt_FromLong((long) wxSYS_OEM_FIXED_FONT
));
10294 PyDict_SetItemString(d
,"wxSYS_ANSI_FIXED_FONT", PyInt_FromLong((long) wxSYS_ANSI_FIXED_FONT
));
10295 PyDict_SetItemString(d
,"wxSYS_ANSI_VAR_FONT", PyInt_FromLong((long) wxSYS_ANSI_VAR_FONT
));
10296 PyDict_SetItemString(d
,"wxSYS_SYSTEM_FONT", PyInt_FromLong((long) wxSYS_SYSTEM_FONT
));
10297 PyDict_SetItemString(d
,"wxSYS_DEVICE_DEFAULT_FONT", PyInt_FromLong((long) wxSYS_DEVICE_DEFAULT_FONT
));
10298 PyDict_SetItemString(d
,"wxSYS_DEFAULT_PALETTE", PyInt_FromLong((long) wxSYS_DEFAULT_PALETTE
));
10299 PyDict_SetItemString(d
,"wxSYS_SYSTEM_FIXED_FONT", PyInt_FromLong((long) wxSYS_SYSTEM_FIXED_FONT
));
10300 PyDict_SetItemString(d
,"wxSYS_DEFAULT_GUI_FONT", PyInt_FromLong((long) wxSYS_DEFAULT_GUI_FONT
));
10301 PyDict_SetItemString(d
,"wxSYS_COLOUR_SCROLLBAR", PyInt_FromLong((long) wxSYS_COLOUR_SCROLLBAR
));
10302 PyDict_SetItemString(d
,"wxSYS_COLOUR_BACKGROUND", PyInt_FromLong((long) wxSYS_COLOUR_BACKGROUND
));
10303 PyDict_SetItemString(d
,"wxSYS_COLOUR_ACTIVECAPTION", PyInt_FromLong((long) wxSYS_COLOUR_ACTIVECAPTION
));
10304 PyDict_SetItemString(d
,"wxSYS_COLOUR_INACTIVECAPTION", PyInt_FromLong((long) wxSYS_COLOUR_INACTIVECAPTION
));
10305 PyDict_SetItemString(d
,"wxSYS_COLOUR_MENU", PyInt_FromLong((long) wxSYS_COLOUR_MENU
));
10306 PyDict_SetItemString(d
,"wxSYS_COLOUR_WINDOW", PyInt_FromLong((long) wxSYS_COLOUR_WINDOW
));
10307 PyDict_SetItemString(d
,"wxSYS_COLOUR_WINDOWFRAME", PyInt_FromLong((long) wxSYS_COLOUR_WINDOWFRAME
));
10308 PyDict_SetItemString(d
,"wxSYS_COLOUR_MENUTEXT", PyInt_FromLong((long) wxSYS_COLOUR_MENUTEXT
));
10309 PyDict_SetItemString(d
,"wxSYS_COLOUR_WINDOWTEXT", PyInt_FromLong((long) wxSYS_COLOUR_WINDOWTEXT
));
10310 PyDict_SetItemString(d
,"wxSYS_COLOUR_CAPTIONTEXT", PyInt_FromLong((long) wxSYS_COLOUR_CAPTIONTEXT
));
10311 PyDict_SetItemString(d
,"wxSYS_COLOUR_ACTIVEBORDER", PyInt_FromLong((long) wxSYS_COLOUR_ACTIVEBORDER
));
10312 PyDict_SetItemString(d
,"wxSYS_COLOUR_INACTIVEBORDER", PyInt_FromLong((long) wxSYS_COLOUR_INACTIVEBORDER
));
10313 PyDict_SetItemString(d
,"wxSYS_COLOUR_APPWORKSPACE", PyInt_FromLong((long) wxSYS_COLOUR_APPWORKSPACE
));
10314 PyDict_SetItemString(d
,"wxSYS_COLOUR_HIGHLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_HIGHLIGHT
));
10315 PyDict_SetItemString(d
,"wxSYS_COLOUR_HIGHLIGHTTEXT", PyInt_FromLong((long) wxSYS_COLOUR_HIGHLIGHTTEXT
));
10316 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNFACE", PyInt_FromLong((long) wxSYS_COLOUR_BTNFACE
));
10317 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNSHADOW", PyInt_FromLong((long) wxSYS_COLOUR_BTNSHADOW
));
10318 PyDict_SetItemString(d
,"wxSYS_COLOUR_GRAYTEXT", PyInt_FromLong((long) wxSYS_COLOUR_GRAYTEXT
));
10319 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNTEXT", PyInt_FromLong((long) wxSYS_COLOUR_BTNTEXT
));
10320 PyDict_SetItemString(d
,"wxSYS_COLOUR_INACTIVECAPTIONTEXT", PyInt_FromLong((long) wxSYS_COLOUR_INACTIVECAPTIONTEXT
));
10321 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNHIGHLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_BTNHIGHLIGHT
));
10322 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DDKSHADOW", PyInt_FromLong((long) wxSYS_COLOUR_3DDKSHADOW
));
10323 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_3DLIGHT
));
10324 PyDict_SetItemString(d
,"wxSYS_COLOUR_INFOTEXT", PyInt_FromLong((long) wxSYS_COLOUR_INFOTEXT
));
10325 PyDict_SetItemString(d
,"wxSYS_COLOUR_INFOBK", PyInt_FromLong((long) wxSYS_COLOUR_INFOBK
));
10326 PyDict_SetItemString(d
,"wxSYS_COLOUR_DESKTOP", PyInt_FromLong((long) wxSYS_COLOUR_DESKTOP
));
10327 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DFACE", PyInt_FromLong((long) wxSYS_COLOUR_3DFACE
));
10328 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DSHADOW", PyInt_FromLong((long) wxSYS_COLOUR_3DSHADOW
));
10329 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DHIGHLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_3DHIGHLIGHT
));
10330 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DHILIGHT", PyInt_FromLong((long) wxSYS_COLOUR_3DHILIGHT
));
10331 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNHILIGHT", PyInt_FromLong((long) wxSYS_COLOUR_BTNHILIGHT
));
10332 PyDict_SetItemString(d
,"wxSYS_MOUSE_BUTTONS", PyInt_FromLong((long) wxSYS_MOUSE_BUTTONS
));
10333 PyDict_SetItemString(d
,"wxSYS_BORDER_X", PyInt_FromLong((long) wxSYS_BORDER_X
));
10334 PyDict_SetItemString(d
,"wxSYS_BORDER_Y", PyInt_FromLong((long) wxSYS_BORDER_Y
));
10335 PyDict_SetItemString(d
,"wxSYS_CURSOR_X", PyInt_FromLong((long) wxSYS_CURSOR_X
));
10336 PyDict_SetItemString(d
,"wxSYS_CURSOR_Y", PyInt_FromLong((long) wxSYS_CURSOR_Y
));
10337 PyDict_SetItemString(d
,"wxSYS_DCLICK_X", PyInt_FromLong((long) wxSYS_DCLICK_X
));
10338 PyDict_SetItemString(d
,"wxSYS_DCLICK_Y", PyInt_FromLong((long) wxSYS_DCLICK_Y
));
10339 PyDict_SetItemString(d
,"wxSYS_DRAG_X", PyInt_FromLong((long) wxSYS_DRAG_X
));
10340 PyDict_SetItemString(d
,"wxSYS_DRAG_Y", PyInt_FromLong((long) wxSYS_DRAG_Y
));
10341 PyDict_SetItemString(d
,"wxSYS_EDGE_X", PyInt_FromLong((long) wxSYS_EDGE_X
));
10342 PyDict_SetItemString(d
,"wxSYS_EDGE_Y", PyInt_FromLong((long) wxSYS_EDGE_Y
));
10343 PyDict_SetItemString(d
,"wxSYS_HSCROLL_ARROW_X", PyInt_FromLong((long) wxSYS_HSCROLL_ARROW_X
));
10344 PyDict_SetItemString(d
,"wxSYS_HSCROLL_ARROW_Y", PyInt_FromLong((long) wxSYS_HSCROLL_ARROW_Y
));
10345 PyDict_SetItemString(d
,"wxSYS_HTHUMB_X", PyInt_FromLong((long) wxSYS_HTHUMB_X
));
10346 PyDict_SetItemString(d
,"wxSYS_ICON_X", PyInt_FromLong((long) wxSYS_ICON_X
));
10347 PyDict_SetItemString(d
,"wxSYS_ICON_Y", PyInt_FromLong((long) wxSYS_ICON_Y
));
10348 PyDict_SetItemString(d
,"wxSYS_ICONSPACING_X", PyInt_FromLong((long) wxSYS_ICONSPACING_X
));
10349 PyDict_SetItemString(d
,"wxSYS_ICONSPACING_Y", PyInt_FromLong((long) wxSYS_ICONSPACING_Y
));
10350 PyDict_SetItemString(d
,"wxSYS_WINDOWMIN_X", PyInt_FromLong((long) wxSYS_WINDOWMIN_X
));
10351 PyDict_SetItemString(d
,"wxSYS_WINDOWMIN_Y", PyInt_FromLong((long) wxSYS_WINDOWMIN_Y
));
10352 PyDict_SetItemString(d
,"wxSYS_SCREEN_X", PyInt_FromLong((long) wxSYS_SCREEN_X
));
10353 PyDict_SetItemString(d
,"wxSYS_SCREEN_Y", PyInt_FromLong((long) wxSYS_SCREEN_Y
));
10354 PyDict_SetItemString(d
,"wxSYS_FRAMESIZE_X", PyInt_FromLong((long) wxSYS_FRAMESIZE_X
));
10355 PyDict_SetItemString(d
,"wxSYS_FRAMESIZE_Y", PyInt_FromLong((long) wxSYS_FRAMESIZE_Y
));
10356 PyDict_SetItemString(d
,"wxSYS_SMALLICON_X", PyInt_FromLong((long) wxSYS_SMALLICON_X
));
10357 PyDict_SetItemString(d
,"wxSYS_SMALLICON_Y", PyInt_FromLong((long) wxSYS_SMALLICON_Y
));
10358 PyDict_SetItemString(d
,"wxSYS_HSCROLL_Y", PyInt_FromLong((long) wxSYS_HSCROLL_Y
));
10359 PyDict_SetItemString(d
,"wxSYS_VSCROLL_X", PyInt_FromLong((long) wxSYS_VSCROLL_X
));
10360 PyDict_SetItemString(d
,"wxSYS_VSCROLL_ARROW_X", PyInt_FromLong((long) wxSYS_VSCROLL_ARROW_X
));
10361 PyDict_SetItemString(d
,"wxSYS_VSCROLL_ARROW_Y", PyInt_FromLong((long) wxSYS_VSCROLL_ARROW_Y
));
10362 PyDict_SetItemString(d
,"wxSYS_VTHUMB_Y", PyInt_FromLong((long) wxSYS_VTHUMB_Y
));
10363 PyDict_SetItemString(d
,"wxSYS_CAPTION_Y", PyInt_FromLong((long) wxSYS_CAPTION_Y
));
10364 PyDict_SetItemString(d
,"wxSYS_MENU_Y", PyInt_FromLong((long) wxSYS_MENU_Y
));
10365 PyDict_SetItemString(d
,"wxSYS_NETWORK_PRESENT", PyInt_FromLong((long) wxSYS_NETWORK_PRESENT
));
10366 PyDict_SetItemString(d
,"wxSYS_PENWINDOWS_PRESENT", PyInt_FromLong((long) wxSYS_PENWINDOWS_PRESENT
));
10367 PyDict_SetItemString(d
,"wxSYS_SHOW_SOUNDS", PyInt_FromLong((long) wxSYS_SHOW_SOUNDS
));
10368 PyDict_SetItemString(d
,"wxSYS_SWAP_BUTTONS", PyInt_FromLong((long) wxSYS_SWAP_BUTTONS
));
10369 PyDict_SetItemString(d
,"wxLOG_FatalError", PyInt_FromLong((long) wxLOG_FatalError
));
10370 PyDict_SetItemString(d
,"wxLOG_Error", PyInt_FromLong((long) wxLOG_Error
));
10371 PyDict_SetItemString(d
,"wxLOG_Warning", PyInt_FromLong((long) wxLOG_Warning
));
10372 PyDict_SetItemString(d
,"wxLOG_Message", PyInt_FromLong((long) wxLOG_Message
));
10373 PyDict_SetItemString(d
,"wxLOG_Info", PyInt_FromLong((long) wxLOG_Info
));
10374 PyDict_SetItemString(d
,"wxLOG_Status", PyInt_FromLong((long) wxLOG_Status
));
10375 PyDict_SetItemString(d
,"wxLOG_Debug", PyInt_FromLong((long) wxLOG_Debug
));
10376 PyDict_SetItemString(d
,"wxLOG_Trace", PyInt_FromLong((long) wxLOG_Trace
));
10377 PyDict_SetItemString(d
,"wxLOG_Progress", PyInt_FromLong((long) wxLOG_Progress
));
10378 PyDict_SetItemString(d
,"wxLOG_User", PyInt_FromLong((long) wxLOG_User
));
10379 PyDict_SetItemString(d
,"wxEVT_END_PROCESS", PyInt_FromLong((long) wxEVT_END_PROCESS
));
10380 PyDict_SetItemString(d
,"wxMAILCAP_STANDARD", PyInt_FromLong((long) wxMAILCAP_STANDARD
));
10381 PyDict_SetItemString(d
,"wxMAILCAP_NETSCAPE", PyInt_FromLong((long) wxMAILCAP_NETSCAPE
));
10382 PyDict_SetItemString(d
,"wxMAILCAP_KDE", PyInt_FromLong((long) wxMAILCAP_KDE
));
10383 PyDict_SetItemString(d
,"wxMAILCAP_GNOME", PyInt_FromLong((long) wxMAILCAP_GNOME
));
10384 PyDict_SetItemString(d
,"wxMAILCAP_ALL", PyInt_FromLong((long) wxMAILCAP_ALL
));
10385 PyDict_SetItemString(d
,"cvar", SWIG_globals
);
10386 SWIG_addvarlink(SWIG_globals
,"wxTheMimeTypesManager",_wrap_wxTheMimeTypesManager_get
, _wrap_wxTheMimeTypesManager_set
);
10388 wxPyPtrTypeMap_Add("wxFontEnumerator", "wxPyFontEnumerator");
10389 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
10390 wxPyPtrTypeMap_Add("wxProcess", "wxPyProcess");
10393 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
10394 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);