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 #ifdef WXP_WITH_THREAD
149 return wxThread::IsMain();
155 class wxPyTipProvider
: public wxTipProvider
{
157 wxPyTipProvider(size_t currentTip
)
158 : wxTipProvider(currentTip
) {}
160 DEC_PYCALLBACK_STRING__pure(GetTip
);
165 IMP_PYCALLBACK_STRING__pure( wxPyTipProvider
, wxTipProvider
, GetTip
);
168 #include <wx/generic/dragimgg.h>
170 // A Log class that can be derived from in wxPython
171 class wxPyLog
: public wxLog
{
173 wxPyLog() : wxLog() {}
175 virtual void DoLog(wxLogLevel level
, const wxChar
*szString
, time_t t
) {
177 wxPyBeginBlockThreads();
178 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLog")))
179 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(isi)", level
, szString
, t
));
180 wxPyEndBlockThreads();
182 wxLog::DoLog(level
, szString
, t
);
185 virtual void DoLogString(const wxChar
*szString
, time_t t
) {
187 wxPyBeginBlockThreads();
188 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLogString")))
189 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(si)", szString
, t
));
190 wxPyEndBlockThreads();
192 wxLog::DoLogString(szString
, t
);
197 // C++ version of wxProcess derived class
199 class wxPyProcess
: public wxProcess
{
201 wxPyProcess(wxEvtHandler
*parent
= NULL
, int id
= -1)
202 : wxProcess(parent
, id
)
205 DEC_PYCALLBACK_VOID_INTINT(OnTerminate
);
210 IMP_PYCALLBACK_VOID_INTINT( wxPyProcess
, wxProcess
, OnTerminate
);
213 #if !wxUSE_JOYSTICK && !defined(__WXMSW__)
214 // A C++ stub class for wxJoystick for platforms that don't have it.
215 class wxJoystick
: public wxObject
{
217 wxJoystick(int joystick
= wxJOYSTICK1
) {
218 wxPyBeginBlockThreads();
219 PyErr_SetString(PyExc_NotImplementedError
, "wxJoystick is not available on this platform.");
220 wxPyEndBlockThreads();
222 wxPoint
GetPosition() { return wxPoint(-1,-1); }
223 int GetZPosition() { return -1; }
224 int GetButtonState() { return -1; }
225 int GetPOVPosition() { return -1; }
226 int GetPOVCTSPosition() { return -1; }
227 int GetRudderPosition() { return -1; }
228 int GetUPosition() { return -1; }
229 int GetVPosition() { return -1; }
230 int GetMovementThreshold() { return -1; }
231 void SetMovementThreshold(int threshold
) {}
233 bool IsOk(void) { return FALSE
; }
234 int GetNumberJoysticks() { return -1; }
235 int GetManufacturerId() { return -1; }
236 int GetProductId() { return -1; }
237 wxString
GetProductName() { return ""; }
238 int GetXMin() { return -1; }
239 int GetYMin() { return -1; }
240 int GetZMin() { return -1; }
241 int GetXMax() { return -1; }
242 int GetYMax() { return -1; }
243 int GetZMax() { return -1; }
244 int GetNumberButtons() { return -1; }
245 int GetNumberAxes() { return -1; }
246 int GetMaxButtons() { return -1; }
247 int GetMaxAxes() { return -1; }
248 int GetPollingMin() { return -1; }
249 int GetPollingMax() { return -1; }
250 int GetRudderMin() { return -1; }
251 int GetRudderMax() { return -1; }
252 int GetUMin() { return -1; }
253 int GetUMax() { return -1; }
254 int GetVMin() { return -1; }
255 int GetVMax() { return -1; }
257 bool HasRudder() { return FALSE
; }
258 bool HasZ() { return FALSE
; }
259 bool HasU() { return FALSE
; }
260 bool HasV() { return FALSE
; }
261 bool HasPOV() { return FALSE
; }
262 bool HasPOV4Dir() { return FALSE
; }
263 bool HasPOVCTS() { return FALSE
; }
265 bool SetCapture(wxWindow
* win
, int pollingFreq
= 0) { return FALSE
; }
266 bool ReleaseCapture() { return FALSE
; }
271 // A C++ stub class for wxWave for platforms that don't have it.
272 class wxWave
: public wxObject
275 wxWave(const wxString
& fileName
, bool isResource
= FALSE
) {
276 wxPyBeginBlockThreads();
277 PyErr_SetString(PyExc_NotImplementedError
, "wxWave is not available on this platform.");
278 wxPyEndBlockThreads();
280 wxWave(int size
, const wxByte
* data
) {
281 wxPyBeginBlockThreads();
282 PyErr_SetString(PyExc_NotImplementedError
, "wxWave is not available on this platform.");
283 wxPyEndBlockThreads();
288 bool IsOk() const { return FALSE
; }
289 bool Play(bool async
= TRUE
, bool looped
= FALSE
) const { return FALSE
; }
293 // Implementations of some alternate "constructors"
294 wxWave
* wxWaveData(const wxString
& data
) {
295 return new wxWave(data
.Len(), (wxByte
*)data
.c_str());
299 extern wxMimeTypesManager
* wxTheMimeTypesManager
;
303 #include <wx/docview.h>
307 static PyObject
*_wrap_wxFileSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
308 PyObject
* _resultobj
;
311 char * _arg1
= (char *) NULL
;
312 char * _arg2
= (char *) NULL
;
313 char * _arg3
= (char *) NULL
;
314 char * _arg4
= (char *) "*.*";
315 int _arg5
= (int ) 0;
316 wxWindow
* _arg6
= (wxWindow
*) NULL
;
317 int _arg7
= (int ) -1;
318 int _arg8
= (int ) -1;
319 PyObject
* _argo6
= 0;
320 char *_kwnames
[] = { "message","default_path","default_filename","default_extension","wildcard","flags","parent","x","y", NULL
};
323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s|ssssiOii:wxFileSelector",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_argo6
,&_arg7
,&_arg8
))
326 if (_argo6
== Py_None
) { _arg6
= NULL
; }
327 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxWindow_p")) {
328 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxFileSelector. Expected _wxWindow_p.");
333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
334 _result
= new wxString (wxFileSelector(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
,_arg8
));
336 wxPyEndAllowThreads(__tstate
);
337 if (PyErr_Occurred()) return NULL
;
339 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
347 static PyObject
*_wrap_wxGetTextFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
348 PyObject
* _resultobj
;
351 wxString
* _arg1
= (wxString
*) &wxPyEmptyStr
;
352 wxString
* _arg2
= (wxString
*) &wxPyEmptyStr
;
353 wxWindow
* _arg3
= (wxWindow
*) NULL
;
354 int _arg4
= (int ) -1;
355 int _arg5
= (int ) -1;
356 bool _arg6
= (bool ) TRUE
;
357 PyObject
* _obj0
= 0;
358 PyObject
* _obj1
= 0;
359 PyObject
* _obj2
= 0;
360 PyObject
* _argo3
= 0;
361 int tempbool6
= (int) TRUE
;
362 char *_kwnames
[] = { "message","caption","default_value","parent","x","y","centre", NULL
};
365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|OOOiii:wxGetTextFromUser",_kwnames
,&_obj0
,&_obj1
,&_obj2
,&_argo3
,&_arg4
,&_arg5
,&tempbool6
))
368 #if PYTHON_API_VERSION >= 1009
369 char* tmpPtr
; int tmpSize
;
370 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
371 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
374 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
376 _arg0
= new wxString(tmpPtr
, tmpSize
);
378 if (!PyString_Check(_obj0
)) {
379 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
382 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
387 #if PYTHON_API_VERSION >= 1009
388 char* tmpPtr
; int tmpSize
;
389 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
390 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
393 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
395 _arg1
= new wxString(tmpPtr
, tmpSize
);
397 if (!PyString_Check(_obj1
)) {
398 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
401 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
406 #if PYTHON_API_VERSION >= 1009
407 char* tmpPtr
; int tmpSize
;
408 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
409 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
412 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
414 _arg2
= new wxString(tmpPtr
, tmpSize
);
416 if (!PyString_Check(_obj2
)) {
417 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
420 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
424 if (_argo3
== Py_None
) { _arg3
= NULL
; }
425 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxWindow_p")) {
426 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGetTextFromUser. Expected _wxWindow_p.");
430 _arg6
= (bool ) tempbool6
;
432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
433 _result
= new wxString (wxGetTextFromUser(*_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
,_arg6
));
435 wxPyEndAllowThreads(__tstate
);
436 if (PyErr_Occurred()) return NULL
;
438 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
458 static PyObject
*_wrap_wxGetPasswordFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
459 PyObject
* _resultobj
;
462 wxString
* _arg1
= (wxString
*) &wxPyEmptyStr
;
463 wxString
* _arg2
= (wxString
*) &wxPyEmptyStr
;
464 wxWindow
* _arg3
= (wxWindow
*) NULL
;
465 PyObject
* _obj0
= 0;
466 PyObject
* _obj1
= 0;
467 PyObject
* _obj2
= 0;
468 PyObject
* _argo3
= 0;
469 char *_kwnames
[] = { "message","caption","default_value","parent", NULL
};
472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|OOO:wxGetPasswordFromUser",_kwnames
,&_obj0
,&_obj1
,&_obj2
,&_argo3
))
475 #if PYTHON_API_VERSION >= 1009
476 char* tmpPtr
; int tmpSize
;
477 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
478 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
481 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
483 _arg0
= new wxString(tmpPtr
, tmpSize
);
485 if (!PyString_Check(_obj0
)) {
486 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
489 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
494 #if PYTHON_API_VERSION >= 1009
495 char* tmpPtr
; int tmpSize
;
496 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
497 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
500 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
502 _arg1
= new wxString(tmpPtr
, tmpSize
);
504 if (!PyString_Check(_obj1
)) {
505 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
508 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
513 #if PYTHON_API_VERSION >= 1009
514 char* tmpPtr
; int tmpSize
;
515 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
516 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
519 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
521 _arg2
= new wxString(tmpPtr
, tmpSize
);
523 if (!PyString_Check(_obj2
)) {
524 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
527 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
531 if (_argo3
== Py_None
) { _arg3
= NULL
; }
532 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxWindow_p")) {
533 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGetPasswordFromUser. Expected _wxWindow_p.");
538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
539 _result
= new wxString (wxGetPasswordFromUser(*_arg0
,*_arg1
,*_arg2
,_arg3
));
541 wxPyEndAllowThreads(__tstate
);
542 if (PyErr_Occurred()) return NULL
;
544 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
564 static PyObject
*_wrap_wxGetSingleChoice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
565 PyObject
* _resultobj
;
571 wxWindow
* _arg4
= (wxWindow
*) NULL
;
572 int _arg5
= (int ) -1;
573 int _arg6
= (int ) -1;
574 bool _arg7
= (bool ) TRUE
;
575 int _arg8
= (int ) 150;
576 int _arg9
= (int ) 200;
577 PyObject
* _obj0
= 0;
578 PyObject
* _obj1
= 0;
579 PyObject
* _obj3
= 0;
580 PyObject
* _argo4
= 0;
581 int tempbool7
= (int) TRUE
;
582 char *_kwnames
[] = { "message","caption","choices","parent","x","y","centre","width","height", NULL
};
585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|Oiiiii:wxGetSingleChoice",_kwnames
,&_obj0
,&_obj1
,&_obj3
,&_argo4
,&_arg5
,&_arg6
,&tempbool7
,&_arg8
,&_arg9
))
588 #if PYTHON_API_VERSION >= 1009
589 char* tmpPtr
; int tmpSize
;
590 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
591 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
594 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
596 _arg0
= new wxString(tmpPtr
, tmpSize
);
598 if (!PyString_Check(_obj0
)) {
599 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
602 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
606 #if PYTHON_API_VERSION >= 1009
607 char* tmpPtr
; int tmpSize
;
608 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
609 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
612 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
614 _arg1
= new wxString(tmpPtr
, tmpSize
);
616 if (!PyString_Check(_obj1
)) {
617 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
620 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
625 _arg3
= wxString_LIST_helper(_obj3
);
631 if (_argo4
== Py_None
) { _arg4
= NULL
; }
632 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_wxWindow_p")) {
633 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxGetSingleChoice. Expected _wxWindow_p.");
637 _arg7
= (bool ) tempbool7
;
640 _arg2
= PyList_Size(_obj3
);
647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
648 _result
= new wxString (wxGetSingleChoice(*_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,_arg9
));
650 wxPyEndAllowThreads(__tstate
);
651 if (PyErr_Occurred()) return NULL
;
653 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
672 static PyObject
*_wrap_wxGetSingleChoiceIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
673 PyObject
* _resultobj
;
679 wxWindow
* _arg4
= (wxWindow
*) NULL
;
680 int _arg5
= (int ) -1;
681 int _arg6
= (int ) -1;
682 bool _arg7
= (bool ) TRUE
;
683 int _arg8
= (int ) 150;
684 int _arg9
= (int ) 200;
685 PyObject
* _obj0
= 0;
686 PyObject
* _obj1
= 0;
687 PyObject
* _obj3
= 0;
688 PyObject
* _argo4
= 0;
689 int tempbool7
= (int) TRUE
;
690 char *_kwnames
[] = { "message","caption","choices","parent","x","y","centre","width","height", NULL
};
693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|Oiiiii:wxGetSingleChoiceIndex",_kwnames
,&_obj0
,&_obj1
,&_obj3
,&_argo4
,&_arg5
,&_arg6
,&tempbool7
,&_arg8
,&_arg9
))
696 #if PYTHON_API_VERSION >= 1009
697 char* tmpPtr
; int tmpSize
;
698 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
699 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
702 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
704 _arg0
= new wxString(tmpPtr
, tmpSize
);
706 if (!PyString_Check(_obj0
)) {
707 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
710 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
714 #if PYTHON_API_VERSION >= 1009
715 char* tmpPtr
; int tmpSize
;
716 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
717 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
720 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
722 _arg1
= new wxString(tmpPtr
, tmpSize
);
724 if (!PyString_Check(_obj1
)) {
725 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
728 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
733 _arg3
= wxString_LIST_helper(_obj3
);
739 if (_argo4
== Py_None
) { _arg4
= NULL
; }
740 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_wxWindow_p")) {
741 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxGetSingleChoiceIndex. Expected _wxWindow_p.");
745 _arg7
= (bool ) tempbool7
;
748 _arg2
= PyList_Size(_obj3
);
755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
756 _result
= (int )wxGetSingleChoiceIndex(*_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,_arg9
);
758 wxPyEndAllowThreads(__tstate
);
759 if (PyErr_Occurred()) return NULL
;
760 } _resultobj
= Py_BuildValue("i",_result
);
775 static PyObject
*_wrap_wxMessageBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
776 PyObject
* _resultobj
;
779 wxString
* _arg1
= (wxString
*) &wxPyEmptyStr
;
780 int _arg2
= (int ) wxOK
|wxCENTRE
;
781 wxWindow
* _arg3
= (wxWindow
*) NULL
;
782 int _arg4
= (int ) -1;
783 int _arg5
= (int ) -1;
784 PyObject
* _obj0
= 0;
785 PyObject
* _obj1
= 0;
786 PyObject
* _argo3
= 0;
787 char *_kwnames
[] = { "message","caption","style","parent","x","y", NULL
};
790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|OiOii:wxMessageBox",_kwnames
,&_obj0
,&_obj1
,&_arg2
,&_argo3
,&_arg4
,&_arg5
))
793 #if PYTHON_API_VERSION >= 1009
794 char* tmpPtr
; int tmpSize
;
795 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
796 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
799 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
801 _arg0
= new wxString(tmpPtr
, tmpSize
);
803 if (!PyString_Check(_obj0
)) {
804 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
807 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
812 #if PYTHON_API_VERSION >= 1009
813 char* tmpPtr
; int tmpSize
;
814 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
815 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
818 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
820 _arg1
= new wxString(tmpPtr
, tmpSize
);
822 if (!PyString_Check(_obj1
)) {
823 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
826 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
830 if (_argo3
== Py_None
) { _arg3
= NULL
; }
831 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxWindow_p")) {
832 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxMessageBox. Expected _wxWindow_p.");
837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
838 _result
= (int )wxMessageBox(*_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
840 wxPyEndAllowThreads(__tstate
);
841 if (PyErr_Occurred()) return NULL
;
842 } _resultobj
= Py_BuildValue("i",_result
);
854 static PyObject
*_wrap_wxGetNumberFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
855 PyObject
* _resultobj
;
861 long _arg4
= (long ) 0;
862 long _arg5
= (long ) 100;
863 wxWindow
* _arg6
= (wxWindow
*) NULL
;
864 wxPoint
* _arg7
= (wxPoint
*) &wxDefaultPosition
;
865 PyObject
* _obj0
= 0;
866 PyObject
* _obj1
= 0;
867 PyObject
* _obj2
= 0;
868 PyObject
* _argo6
= 0;
870 PyObject
* _obj7
= 0;
871 char *_kwnames
[] = { "message","prompt","caption","value","min","max","parent","pos", NULL
};
874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOl|llOO:wxGetNumberFromUser",_kwnames
,&_obj0
,&_obj1
,&_obj2
,&_arg3
,&_arg4
,&_arg5
,&_argo6
,&_obj7
))
877 #if PYTHON_API_VERSION >= 1009
878 char* tmpPtr
; int tmpSize
;
879 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
880 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
883 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
885 _arg0
= new wxString(tmpPtr
, tmpSize
);
887 if (!PyString_Check(_obj0
)) {
888 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
891 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
895 #if PYTHON_API_VERSION >= 1009
896 char* tmpPtr
; int tmpSize
;
897 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
898 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
901 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
903 _arg1
= new wxString(tmpPtr
, tmpSize
);
905 if (!PyString_Check(_obj1
)) {
906 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
909 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
913 #if PYTHON_API_VERSION >= 1009
914 char* tmpPtr
; int tmpSize
;
915 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
916 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
919 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
921 _arg2
= new wxString(tmpPtr
, tmpSize
);
923 if (!PyString_Check(_obj2
)) {
924 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
927 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
931 if (_argo6
== Py_None
) { _arg6
= NULL
; }
932 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxWindow_p")) {
933 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxGetNumberFromUser. Expected _wxWindow_p.");
940 if (! wxPoint_helper(_obj7
, &_arg7
))
944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
945 _result
= (long )wxGetNumberFromUser(*_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,*_arg7
);
947 wxPyEndAllowThreads(__tstate
);
948 if (PyErr_Occurred()) return NULL
;
949 } _resultobj
= Py_BuildValue("l",_result
);
965 static PyObject
*_wrap_wxColourDisplay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
966 PyObject
* _resultobj
;
968 char *_kwnames
[] = { NULL
};
971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxColourDisplay",_kwnames
))
974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
975 _result
= (bool )wxColourDisplay();
977 wxPyEndAllowThreads(__tstate
);
978 if (PyErr_Occurred()) return NULL
;
979 } _resultobj
= Py_BuildValue("i",_result
);
983 static PyObject
*_wrap_wxDisplayDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
984 PyObject
* _resultobj
;
986 char *_kwnames
[] = { NULL
};
989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxDisplayDepth",_kwnames
))
992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
993 _result
= (int )wxDisplayDepth();
995 wxPyEndAllowThreads(__tstate
);
996 if (PyErr_Occurred()) return NULL
;
997 } _resultobj
= Py_BuildValue("i",_result
);
1001 static PyObject
*_wrap_wxGetDisplayDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1002 PyObject
* _resultobj
;
1004 char *_kwnames
[] = { NULL
};
1007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetDisplayDepth",_kwnames
))
1010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1011 _result
= (int )wxGetDisplayDepth();
1013 wxPyEndAllowThreads(__tstate
);
1014 if (PyErr_Occurred()) return NULL
;
1015 } _resultobj
= Py_BuildValue("i",_result
);
1019 static PyObject
*_wrap_wxDisplaySize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1020 PyObject
* _resultobj
;
1025 char *_kwnames
[] = { NULL
};
1034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxDisplaySize",_kwnames
))
1037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1038 wxDisplaySize(_arg0
,_arg1
);
1040 wxPyEndAllowThreads(__tstate
);
1041 if (PyErr_Occurred()) return NULL
;
1042 } Py_INCREF(Py_None
);
1043 _resultobj
= Py_None
;
1046 o
= PyInt_FromLong((long) (*_arg0
));
1047 _resultobj
= t_output_helper(_resultobj
, o
);
1051 o
= PyInt_FromLong((long) (*_arg1
));
1052 _resultobj
= t_output_helper(_resultobj
, o
);
1057 static PyObject
*_wrap_wxGetDisplaySize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1058 PyObject
* _resultobj
;
1060 char *_kwnames
[] = { NULL
};
1064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetDisplaySize",_kwnames
))
1067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1068 _result
= new wxSize (wxGetDisplaySize());
1070 wxPyEndAllowThreads(__tstate
);
1071 if (PyErr_Occurred()) return NULL
;
1072 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
1073 _resultobj
= Py_BuildValue("s",_ptemp
);
1077 static PyObject
*_wrap_wxDisplaySizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1078 PyObject
* _resultobj
;
1083 char *_kwnames
[] = { NULL
};
1092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxDisplaySizeMM",_kwnames
))
1095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1096 wxDisplaySizeMM(_arg0
,_arg1
);
1098 wxPyEndAllowThreads(__tstate
);
1099 if (PyErr_Occurred()) return NULL
;
1100 } Py_INCREF(Py_None
);
1101 _resultobj
= Py_None
;
1104 o
= PyInt_FromLong((long) (*_arg0
));
1105 _resultobj
= t_output_helper(_resultobj
, o
);
1109 o
= PyInt_FromLong((long) (*_arg1
));
1110 _resultobj
= t_output_helper(_resultobj
, o
);
1115 static PyObject
*_wrap_wxGetDisplaySizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1116 PyObject
* _resultobj
;
1118 char *_kwnames
[] = { NULL
};
1122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetDisplaySizeMM",_kwnames
))
1125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1126 _result
= new wxSize (wxGetDisplaySizeMM());
1128 wxPyEndAllowThreads(__tstate
);
1129 if (PyErr_Occurred()) return NULL
;
1130 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
1131 _resultobj
= Py_BuildValue("s",_ptemp
);
1135 static PyObject
*_wrap_wxClientDisplayRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1136 PyObject
* _resultobj
;
1145 char *_kwnames
[] = { NULL
};
1160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxClientDisplayRect",_kwnames
))
1163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1164 wxClientDisplayRect(_arg0
,_arg1
,_arg2
,_arg3
);
1166 wxPyEndAllowThreads(__tstate
);
1167 if (PyErr_Occurred()) return NULL
;
1168 } Py_INCREF(Py_None
);
1169 _resultobj
= Py_None
;
1172 o
= PyInt_FromLong((long) (*_arg0
));
1173 _resultobj
= t_output_helper(_resultobj
, o
);
1177 o
= PyInt_FromLong((long) (*_arg1
));
1178 _resultobj
= t_output_helper(_resultobj
, o
);
1182 o
= PyInt_FromLong((long) (*_arg2
));
1183 _resultobj
= t_output_helper(_resultobj
, o
);
1187 o
= PyInt_FromLong((long) (*_arg3
));
1188 _resultobj
= t_output_helper(_resultobj
, o
);
1193 static PyObject
*_wrap_wxGetClientDisplayRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1194 PyObject
* _resultobj
;
1196 char *_kwnames
[] = { NULL
};
1200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetClientDisplayRect",_kwnames
))
1203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1204 _result
= new wxRect (wxGetClientDisplayRect());
1206 wxPyEndAllowThreads(__tstate
);
1207 if (PyErr_Occurred()) return NULL
;
1208 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
1209 _resultobj
= Py_BuildValue("s",_ptemp
);
1213 static PyObject
*_wrap_wxSetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1214 PyObject
* _resultobj
;
1216 PyObject
* _argo0
= 0;
1217 char *_kwnames
[] = { "cursor", NULL
};
1220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSetCursor",_kwnames
,&_argo0
))
1223 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1224 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
1225 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSetCursor. Expected _wxCursor_p.");
1230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1231 wxSetCursor(*_arg0
);
1233 wxPyEndAllowThreads(__tstate
);
1234 if (PyErr_Occurred()) return NULL
;
1235 } Py_INCREF(Py_None
);
1236 _resultobj
= Py_None
;
1240 static PyObject
*_wrap_wxFindWindowByLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1241 PyObject
* _resultobj
;
1244 wxWindow
* _arg1
= (wxWindow
*) NULL
;
1245 PyObject
* _obj0
= 0;
1246 PyObject
* _argo1
= 0;
1247 char *_kwnames
[] = { "label","parent", NULL
};
1250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxFindWindowByLabel",_kwnames
,&_obj0
,&_argo1
))
1253 #if PYTHON_API_VERSION >= 1009
1254 char* tmpPtr
; int tmpSize
;
1255 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
1256 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1259 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
1261 _arg0
= new wxString(tmpPtr
, tmpSize
);
1263 if (!PyString_Check(_obj0
)) {
1264 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1267 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
1271 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1272 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1273 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFindWindowByLabel. Expected _wxWindow_p.");
1278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1279 _result
= (wxWindow
*)wxFindWindowByLabel(*_arg0
,_arg1
);
1281 wxPyEndAllowThreads(__tstate
);
1282 if (PyErr_Occurred()) return NULL
;
1283 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1291 static PyObject
*_wrap_wxFindWindowByName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1292 PyObject
* _resultobj
;
1295 wxWindow
* _arg1
= (wxWindow
*) NULL
;
1296 PyObject
* _obj0
= 0;
1297 PyObject
* _argo1
= 0;
1298 char *_kwnames
[] = { "name","parent", NULL
};
1301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxFindWindowByName",_kwnames
,&_obj0
,&_argo1
))
1304 #if PYTHON_API_VERSION >= 1009
1305 char* tmpPtr
; int tmpSize
;
1306 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
1307 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1310 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
1312 _arg0
= new wxString(tmpPtr
, tmpSize
);
1314 if (!PyString_Check(_obj0
)) {
1315 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1318 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
1322 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1323 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1324 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFindWindowByName. Expected _wxWindow_p.");
1329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1330 _result
= (wxWindow
*)wxFindWindowByName(*_arg0
,_arg1
);
1332 wxPyEndAllowThreads(__tstate
);
1333 if (PyErr_Occurred()) return NULL
;
1334 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1342 static PyObject
*_wrap_wxBeginBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1343 PyObject
* _resultobj
;
1344 wxCursor
* _arg0
= (wxCursor
*) wxHOURGLASS_CURSOR
;
1345 PyObject
* _argo0
= 0;
1346 char *_kwnames
[] = { "cursor", NULL
};
1349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:wxBeginBusyCursor",_kwnames
,&_argo0
))
1352 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1353 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
1354 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBeginBusyCursor. Expected _wxCursor_p.");
1359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1360 wxBeginBusyCursor(_arg0
);
1362 wxPyEndAllowThreads(__tstate
);
1363 if (PyErr_Occurred()) return NULL
;
1364 } Py_INCREF(Py_None
);
1365 _resultobj
= Py_None
;
1369 static PyObject
*_wrap_wxGetActiveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1370 PyObject
* _resultobj
;
1372 char *_kwnames
[] = { NULL
};
1375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetActiveWindow",_kwnames
))
1378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1379 _result
= (wxWindow
*)wxGetActiveWindow();
1381 wxPyEndAllowThreads(__tstate
);
1382 if (PyErr_Occurred()) return NULL
;
1383 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1387 static PyObject
*_wrap_wxGenericFindWindowAtPoint(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:wxGenericFindWindowAtPoint",_kwnames
,&_obj0
))
1400 if (! wxPoint_helper(_obj0
, &_arg0
))
1404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1405 _result
= (wxWindow
*)wxGenericFindWindowAtPoint(*_arg0
);
1407 wxPyEndAllowThreads(__tstate
);
1408 if (PyErr_Occurred()) return NULL
;
1409 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1413 static PyObject
*_wrap_wxFindWindowAtPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1414 PyObject
* _resultobj
;
1418 PyObject
* _obj0
= 0;
1419 char *_kwnames
[] = { "pt", NULL
};
1422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFindWindowAtPoint",_kwnames
,&_obj0
))
1426 if (! wxPoint_helper(_obj0
, &_arg0
))
1430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1431 _result
= (wxWindow
*)wxFindWindowAtPoint(*_arg0
);
1433 wxPyEndAllowThreads(__tstate
);
1434 if (PyErr_Occurred()) return NULL
;
1435 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1439 static PyObject
*_wrap_wxCheckForInterrupt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1440 PyObject
* _resultobj
;
1443 PyObject
* _argo0
= 0;
1444 char *_kwnames
[] = { "wnd", NULL
};
1447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCheckForInterrupt",_kwnames
,&_argo0
))
1450 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1451 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1452 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckForInterrupt. Expected _wxWindow_p.");
1457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1458 _result
= (bool )wxCheckForInterrupt(_arg0
);
1460 wxPyEndAllowThreads(__tstate
);
1461 if (PyErr_Occurred()) return NULL
;
1462 } _resultobj
= Py_BuildValue("i",_result
);
1466 static PyObject
*_wrap_wxFlushEvents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1467 PyObject
* _resultobj
;
1468 char *_kwnames
[] = { NULL
};
1471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxFlushEvents",_kwnames
))
1474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1477 wxPyEndAllowThreads(__tstate
);
1478 if (PyErr_Occurred()) return NULL
;
1479 } Py_INCREF(Py_None
);
1480 _resultobj
= Py_None
;
1484 static PyObject
*_wrap_wxResourceAddIdentifier(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1485 PyObject
* _resultobj
;
1489 char *_kwnames
[] = { "name","value", NULL
};
1492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"si:wxResourceAddIdentifier",_kwnames
,&_arg0
,&_arg1
))
1495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1496 _result
= (bool )wxResourceAddIdentifier(_arg0
,_arg1
);
1498 wxPyEndAllowThreads(__tstate
);
1499 if (PyErr_Occurred()) return NULL
;
1500 } _resultobj
= Py_BuildValue("i",_result
);
1504 static PyObject
*_wrap_wxResourceClear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1505 PyObject
* _resultobj
;
1506 char *_kwnames
[] = { NULL
};
1509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxResourceClear",_kwnames
))
1512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1515 wxPyEndAllowThreads(__tstate
);
1516 if (PyErr_Occurred()) return NULL
;
1517 } Py_INCREF(Py_None
);
1518 _resultobj
= Py_None
;
1522 static PyObject
*_wrap_wxResourceCreateBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1523 PyObject
* _resultobj
;
1526 char *_kwnames
[] = { "resource", NULL
};
1530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxResourceCreateBitmap",_kwnames
,&_arg0
))
1533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1534 _result
= new wxBitmap (wxResourceCreateBitmap(_arg0
));
1536 wxPyEndAllowThreads(__tstate
);
1537 if (PyErr_Occurred()) return NULL
;
1538 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBitmap_p");
1539 _resultobj
= Py_BuildValue("s",_ptemp
);
1543 static PyObject
*_wrap_wxResourceCreateIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1544 PyObject
* _resultobj
;
1547 char *_kwnames
[] = { "resource", NULL
};
1551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxResourceCreateIcon",_kwnames
,&_arg0
))
1554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1555 _result
= new wxIcon (wxResourceCreateIcon(_arg0
));
1557 wxPyEndAllowThreads(__tstate
);
1558 if (PyErr_Occurred()) return NULL
;
1559 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxIcon_p");
1560 _resultobj
= Py_BuildValue("s",_ptemp
);
1564 static PyObject
*_wrap_wxResourceCreateMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1565 PyObject
* _resultobj
;
1566 wxMenuBar
* _result
;
1568 char *_kwnames
[] = { "resource", NULL
};
1571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxResourceCreateMenuBar",_kwnames
,&_arg0
))
1574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1575 _result
= (wxMenuBar
*)wxResourceCreateMenuBar(_arg0
);
1577 wxPyEndAllowThreads(__tstate
);
1578 if (PyErr_Occurred()) return NULL
;
1579 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1583 static PyObject
*_wrap_wxResourceGetIdentifier(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1584 PyObject
* _resultobj
;
1587 char *_kwnames
[] = { "name", NULL
};
1590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxResourceGetIdentifier",_kwnames
,&_arg0
))
1593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1594 _result
= (int )wxResourceGetIdentifier(_arg0
);
1596 wxPyEndAllowThreads(__tstate
);
1597 if (PyErr_Occurred()) return NULL
;
1598 } _resultobj
= Py_BuildValue("i",_result
);
1602 static PyObject
*_wrap_wxResourceParseData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1603 PyObject
* _resultobj
;
1606 wxResourceTable
* _arg1
= (wxResourceTable
*) NULL
;
1607 PyObject
* _argo1
= 0;
1608 char *_kwnames
[] = { "resource","table", NULL
};
1611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s|O:wxResourceParseData",_kwnames
,&_arg0
,&_argo1
))
1614 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1615 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxResourceTable_p")) {
1616 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxResourceParseData. Expected _wxResourceTable_p.");
1621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1622 _result
= (bool )wxResourceParseData(_arg0
,_arg1
);
1624 wxPyEndAllowThreads(__tstate
);
1625 if (PyErr_Occurred()) return NULL
;
1626 } _resultobj
= Py_BuildValue("i",_result
);
1630 static PyObject
*_wrap_wxResourceParseFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1631 PyObject
* _resultobj
;
1634 wxResourceTable
* _arg1
= (wxResourceTable
*) NULL
;
1635 PyObject
* _argo1
= 0;
1636 char *_kwnames
[] = { "filename","table", NULL
};
1639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s|O:wxResourceParseFile",_kwnames
,&_arg0
,&_argo1
))
1642 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1643 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxResourceTable_p")) {
1644 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxResourceParseFile. Expected _wxResourceTable_p.");
1649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1650 _result
= (bool )wxResourceParseFile(_arg0
,_arg1
);
1652 wxPyEndAllowThreads(__tstate
);
1653 if (PyErr_Occurred()) return NULL
;
1654 } _resultobj
= Py_BuildValue("i",_result
);
1658 static PyObject
*_wrap_wxResourceParseString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1659 PyObject
* _resultobj
;
1662 wxResourceTable
* _arg1
= (wxResourceTable
*) NULL
;
1663 PyObject
* _argo1
= 0;
1664 char *_kwnames
[] = { "resource","table", NULL
};
1667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s|O:wxResourceParseString",_kwnames
,&_arg0
,&_argo1
))
1670 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1671 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxResourceTable_p")) {
1672 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxResourceParseString. Expected _wxResourceTable_p.");
1677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1678 _result
= (bool )wxResourceParseString(_arg0
,_arg1
);
1680 wxPyEndAllowThreads(__tstate
);
1681 if (PyErr_Occurred()) return NULL
;
1682 } _resultobj
= Py_BuildValue("i",_result
);
1686 static PyObject
*_wrap_wxSystemSettings_GetSystemColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1687 PyObject
* _resultobj
;
1690 char *_kwnames
[] = { "index", NULL
};
1694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSystemSettings_GetSystemColour",_kwnames
,&_arg0
))
1697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1698 _result
= new wxColour (wxSystemSettings_GetSystemColour(_arg0
));
1700 wxPyEndAllowThreads(__tstate
);
1701 if (PyErr_Occurred()) return NULL
;
1702 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
1703 _resultobj
= Py_BuildValue("s",_ptemp
);
1707 static PyObject
*_wrap_wxSystemSettings_GetSystemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1708 PyObject
* _resultobj
;
1711 char *_kwnames
[] = { "index", NULL
};
1715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSystemSettings_GetSystemFont",_kwnames
,&_arg0
))
1718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1719 _result
= new wxFont (wxSystemSettings_GetSystemFont(_arg0
));
1721 wxPyEndAllowThreads(__tstate
);
1722 if (PyErr_Occurred()) return NULL
;
1723 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
1724 _resultobj
= Py_BuildValue("s",_ptemp
);
1728 static PyObject
*_wrap_wxSystemSettings_GetSystemMetric(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1729 PyObject
* _resultobj
;
1732 char *_kwnames
[] = { "index", NULL
};
1735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSystemSettings_GetSystemMetric",_kwnames
,&_arg0
))
1738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1739 _result
= (int )wxSystemSettings_GetSystemMetric(_arg0
);
1741 wxPyEndAllowThreads(__tstate
);
1742 if (PyErr_Occurred()) return NULL
;
1743 } _resultobj
= Py_BuildValue("i",_result
);
1747 static PyObject
*_wrap_wxCaret_GetBlinkTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1748 PyObject
* _resultobj
;
1750 char *_kwnames
[] = { NULL
};
1753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxCaret_GetBlinkTime",_kwnames
))
1756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1757 _result
= (int )wxCaret_GetBlinkTime();
1759 wxPyEndAllowThreads(__tstate
);
1760 if (PyErr_Occurred()) return NULL
;
1761 } _resultobj
= Py_BuildValue("i",_result
);
1765 static PyObject
*_wrap_wxCaret_SetBlinkTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1766 PyObject
* _resultobj
;
1768 char *_kwnames
[] = { "milliseconds", NULL
};
1771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxCaret_SetBlinkTime",_kwnames
,&_arg0
))
1774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1775 wxCaret_SetBlinkTime(_arg0
);
1777 wxPyEndAllowThreads(__tstate
);
1778 if (PyErr_Occurred()) return NULL
;
1779 } Py_INCREF(Py_None
);
1780 _resultobj
= Py_None
;
1784 static PyObject
*_wrap_wxSafeYield(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1785 PyObject
* _resultobj
;
1787 wxWindow
* _arg0
= (wxWindow
*) NULL
;
1788 PyObject
* _argo0
= 0;
1789 char *_kwnames
[] = { "win", NULL
};
1792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:wxSafeYield",_kwnames
,&_argo0
))
1795 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1796 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1797 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSafeYield. Expected _wxWindow_p.");
1802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1803 _result
= (bool )wxSafeYield(_arg0
);
1805 wxPyEndAllowThreads(__tstate
);
1806 if (PyErr_Occurred()) return NULL
;
1807 } _resultobj
= Py_BuildValue("i",_result
);
1811 static PyObject
*_wrap_wxPostEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1812 PyObject
* _resultobj
;
1813 wxEvtHandler
* _arg0
;
1815 PyObject
* _argo0
= 0;
1816 PyObject
* _argo1
= 0;
1817 char *_kwnames
[] = { "dest","event", NULL
};
1820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPostEvent",_kwnames
,&_argo0
,&_argo1
))
1823 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1824 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
1825 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPostEvent. Expected _wxEvtHandler_p.");
1830 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1831 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvent_p")) {
1832 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPostEvent. Expected _wxEvent_p.");
1837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1838 wxPostEvent(_arg0
,*_arg1
);
1840 wxPyEndAllowThreads(__tstate
);
1841 if (PyErr_Occurred()) return NULL
;
1842 } Py_INCREF(Py_None
);
1843 _resultobj
= Py_None
;
1847 static PyObject
*_wrap_wxWakeUpIdle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1848 PyObject
* _resultobj
;
1849 char *_kwnames
[] = { NULL
};
1852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxWakeUpIdle",_kwnames
))
1855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1858 wxPyEndAllowThreads(__tstate
);
1859 if (PyErr_Occurred()) return NULL
;
1860 } Py_INCREF(Py_None
);
1861 _resultobj
= Py_None
;
1865 static PyObject
*_wrap_wxWakeUpMainThread(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1866 PyObject
* _resultobj
;
1867 char *_kwnames
[] = { NULL
};
1870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxWakeUpMainThread",_kwnames
))
1873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1874 wxWakeUpMainThread();
1876 wxPyEndAllowThreads(__tstate
);
1877 if (PyErr_Occurred()) return NULL
;
1878 } Py_INCREF(Py_None
);
1879 _resultobj
= Py_None
;
1883 static PyObject
*_wrap_wxMutexGuiEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1884 PyObject
* _resultobj
;
1885 char *_kwnames
[] = { NULL
};
1888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxMutexGuiEnter",_kwnames
))
1891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1894 wxPyEndAllowThreads(__tstate
);
1895 if (PyErr_Occurred()) return NULL
;
1896 } Py_INCREF(Py_None
);
1897 _resultobj
= Py_None
;
1901 static PyObject
*_wrap_wxMutexGuiLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1902 PyObject
* _resultobj
;
1903 char *_kwnames
[] = { NULL
};
1906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxMutexGuiLeave",_kwnames
))
1909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1912 wxPyEndAllowThreads(__tstate
);
1913 if (PyErr_Occurred()) return NULL
;
1914 } Py_INCREF(Py_None
);
1915 _resultobj
= Py_None
;
1919 static PyObject
*_wrap_wxThread_IsMain(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1920 PyObject
* _resultobj
;
1922 char *_kwnames
[] = { NULL
};
1925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxThread_IsMain",_kwnames
))
1928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1929 _result
= (bool )wxThread_IsMain();
1931 wxPyEndAllowThreads(__tstate
);
1932 if (PyErr_Occurred()) return NULL
;
1933 } _resultobj
= Py_BuildValue("i",_result
);
1937 static PyObject
*_wrap_wxShowTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1938 PyObject
* _resultobj
;
1941 wxTipProvider
* _arg1
;
1942 bool _arg2
= (bool ) TRUE
;
1943 PyObject
* _argo0
= 0;
1944 PyObject
* _argo1
= 0;
1945 int tempbool2
= (int) TRUE
;
1946 char *_kwnames
[] = { "parent","tipProvider","showAtStartup", NULL
};
1949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxShowTip",_kwnames
,&_argo0
,&_argo1
,&tempbool2
))
1952 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1953 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1954 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShowTip. Expected _wxWindow_p.");
1959 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1960 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTipProvider_p")) {
1961 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxShowTip. Expected _wxTipProvider_p.");
1965 _arg2
= (bool ) tempbool2
;
1967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1968 _result
= (bool )wxShowTip(_arg0
,_arg1
,_arg2
);
1970 wxPyEndAllowThreads(__tstate
);
1971 if (PyErr_Occurred()) return NULL
;
1972 } _resultobj
= Py_BuildValue("i",_result
);
1976 static PyObject
*_wrap_wxCreateFileTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1977 PyObject
* _resultobj
;
1978 wxTipProvider
* _result
;
1981 PyObject
* _obj0
= 0;
1982 char *_kwnames
[] = { "filename","currentTip", NULL
};
1986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxCreateFileTipProvider",_kwnames
,&_obj0
,&_arg1
))
1989 #if PYTHON_API_VERSION >= 1009
1990 char* tmpPtr
; int tmpSize
;
1991 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
1992 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1995 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
1997 _arg0
= new wxString(tmpPtr
, tmpSize
);
1999 if (!PyString_Check(_obj0
)) {
2000 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2003 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
2007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2008 _result
= (wxTipProvider
*)wxCreateFileTipProvider(*_arg0
,_arg1
);
2010 wxPyEndAllowThreads(__tstate
);
2011 if (PyErr_Occurred()) return NULL
;
2013 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTipProvider_p");
2014 _resultobj
= Py_BuildValue("s",_ptemp
);
2017 _resultobj
= Py_None
;
2026 static PyObject
*_wrap_wxSysErrorCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2027 PyObject
* _resultobj
;
2028 unsigned long _result
;
2029 char *_kwnames
[] = { NULL
};
2032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxSysErrorCode",_kwnames
))
2035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2036 _result
= (unsigned long )wxSysErrorCode();
2038 wxPyEndAllowThreads(__tstate
);
2039 if (PyErr_Occurred()) return NULL
;
2040 } _resultobj
= Py_BuildValue("l",_result
);
2044 static PyObject
*_wrap_wxSysErrorMsg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2045 PyObject
* _resultobj
;
2047 unsigned long _arg0
= (unsigned long ) 0;
2048 char *_kwnames
[] = { "nErrCode", NULL
};
2051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|l:wxSysErrorMsg",_kwnames
,&_arg0
))
2054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2055 _result
= (char *)wxSysErrorMsg(_arg0
);
2057 wxPyEndAllowThreads(__tstate
);
2058 if (PyErr_Occurred()) return NULL
;
2059 } _resultobj
= Py_BuildValue("s", _result
);
2063 static PyObject
*_wrap_wxLogFatalError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2064 PyObject
* _resultobj
;
2066 char *_kwnames
[] = { "szFormat", NULL
};
2069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLogFatalError",_kwnames
,&_arg0
))
2072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2073 wxLogFatalError(_arg0
);
2075 wxPyEndAllowThreads(__tstate
);
2076 if (PyErr_Occurred()) return NULL
;
2077 } Py_INCREF(Py_None
);
2078 _resultobj
= Py_None
;
2082 static PyObject
*_wrap_wxLogError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2083 PyObject
* _resultobj
;
2085 char *_kwnames
[] = { "szFormat", NULL
};
2088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLogError",_kwnames
,&_arg0
))
2091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2094 wxPyEndAllowThreads(__tstate
);
2095 if (PyErr_Occurred()) return NULL
;
2096 } Py_INCREF(Py_None
);
2097 _resultobj
= Py_None
;
2101 static PyObject
*_wrap_wxLogWarning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2102 PyObject
* _resultobj
;
2104 char *_kwnames
[] = { "szFormat", NULL
};
2107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLogWarning",_kwnames
,&_arg0
))
2110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2111 wxLogWarning(_arg0
);
2113 wxPyEndAllowThreads(__tstate
);
2114 if (PyErr_Occurred()) return NULL
;
2115 } Py_INCREF(Py_None
);
2116 _resultobj
= Py_None
;
2120 static PyObject
*_wrap_wxLogMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2121 PyObject
* _resultobj
;
2123 char *_kwnames
[] = { "szFormat", NULL
};
2126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLogMessage",_kwnames
,&_arg0
))
2129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2130 wxLogMessage(_arg0
);
2132 wxPyEndAllowThreads(__tstate
);
2133 if (PyErr_Occurred()) return NULL
;
2134 } Py_INCREF(Py_None
);
2135 _resultobj
= Py_None
;
2139 static PyObject
*_wrap_wxLogInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2140 PyObject
* _resultobj
;
2142 char *_kwnames
[] = { "szFormat", NULL
};
2145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLogInfo",_kwnames
,&_arg0
))
2148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2151 wxPyEndAllowThreads(__tstate
);
2152 if (PyErr_Occurred()) return NULL
;
2153 } Py_INCREF(Py_None
);
2154 _resultobj
= Py_None
;
2158 static PyObject
*_wrap_wxLogVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2159 PyObject
* _resultobj
;
2161 char *_kwnames
[] = { "szFormat", NULL
};
2164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLogVerbose",_kwnames
,&_arg0
))
2167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2168 wxLogVerbose(_arg0
);
2170 wxPyEndAllowThreads(__tstate
);
2171 if (PyErr_Occurred()) return NULL
;
2172 } Py_INCREF(Py_None
);
2173 _resultobj
= Py_None
;
2177 static PyObject
*_wrap_wxLogStatus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2178 PyObject
* _resultobj
;
2180 char *_kwnames
[] = { "szFormat", NULL
};
2183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLogStatus",_kwnames
,&_arg0
))
2186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2189 wxPyEndAllowThreads(__tstate
);
2190 if (PyErr_Occurred()) return NULL
;
2191 } Py_INCREF(Py_None
);
2192 _resultobj
= Py_None
;
2196 static PyObject
*_wrap_wxLogStatusFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2197 PyObject
* _resultobj
;
2200 PyObject
* _argo0
= 0;
2201 char *_kwnames
[] = { "pFrame","szFormat", NULL
};
2204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Os:wxLogStatusFrame",_kwnames
,&_argo0
,&_arg1
))
2207 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2208 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
2209 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogStatusFrame. Expected _wxFrame_p.");
2214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2215 wxLogStatus(_arg0
,_arg1
);
2217 wxPyEndAllowThreads(__tstate
);
2218 if (PyErr_Occurred()) return NULL
;
2219 } Py_INCREF(Py_None
);
2220 _resultobj
= Py_None
;
2224 static PyObject
*_wrap_wxLogSysError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2225 PyObject
* _resultobj
;
2227 char *_kwnames
[] = { "szFormat", NULL
};
2230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLogSysError",_kwnames
,&_arg0
))
2233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2234 wxLogSysError(_arg0
);
2236 wxPyEndAllowThreads(__tstate
);
2237 if (PyErr_Occurred()) return NULL
;
2238 } Py_INCREF(Py_None
);
2239 _resultobj
= Py_None
;
2243 static PyObject
*_wrap_wxExecute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2244 PyObject
* _resultobj
;
2247 int _arg1
= (int ) FALSE
;
2248 wxPyProcess
* _arg2
= (wxPyProcess
*) NULL
;
2249 PyObject
* _obj0
= 0;
2250 PyObject
* _argo2
= 0;
2251 char *_kwnames
[] = { "command","sync","process", NULL
};
2254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iO:wxExecute",_kwnames
,&_obj0
,&_arg1
,&_argo2
))
2257 #if PYTHON_API_VERSION >= 1009
2258 char* tmpPtr
; int tmpSize
;
2259 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
2260 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2263 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
2265 _arg0
= new wxString(tmpPtr
, tmpSize
);
2267 if (!PyString_Check(_obj0
)) {
2268 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2271 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
2275 if (_argo2
== Py_None
) { _arg2
= NULL
; }
2276 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPyProcess_p")) {
2277 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxExecute. Expected _wxPyProcess_p.");
2282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2283 _result
= (long )wxExecute(*_arg0
,_arg1
,_arg2
);
2285 wxPyEndAllowThreads(__tstate
);
2286 if (PyErr_Occurred()) return NULL
;
2287 } _resultobj
= Py_BuildValue("l",_result
);
2295 static PyObject
*_wrap_wxWaveData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2296 PyObject
* _resultobj
;
2299 PyObject
* _obj0
= 0;
2300 char *_kwnames
[] = { "data", NULL
};
2304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWaveData",_kwnames
,&_obj0
))
2307 #if PYTHON_API_VERSION >= 1009
2308 char* tmpPtr
; int tmpSize
;
2309 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
2310 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2313 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
2315 _arg0
= new wxString(tmpPtr
, tmpSize
);
2317 if (!PyString_Check(_obj0
)) {
2318 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2321 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
2325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2326 _result
= (wxWave
*)wxWaveData(*_arg0
);
2328 wxPyEndAllowThreads(__tstate
);
2329 if (PyErr_Occurred()) return NULL
;
2331 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWave_p");
2332 _resultobj
= Py_BuildValue("s",_ptemp
);
2335 _resultobj
= Py_None
;
2344 static int _wrap_wxTheMimeTypesManager_set(PyObject
*val
) {
2346 PyErr_SetString(PyExc_TypeError
,"Variable wxTheMimeTypesManager is read-only.");
2350 static PyObject
*_wrap_wxTheMimeTypesManager_get() {
2354 SWIG_MakePtr(ptemp
, (char *) wxTheMimeTypesManager
,"_wxMimeTypesManager_p");
2355 pyobj
= PyString_FromString(ptemp
);
2359 static void *SwigwxToolTipTowxObject(void *ptr
) {
2362 src
= (wxToolTip
*) ptr
;
2363 dest
= (wxObject
*) src
;
2364 return (void *) dest
;
2367 #define new_wxToolTip(_swigarg0) (new wxToolTip(_swigarg0))
2368 static PyObject
*_wrap_new_wxToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2369 PyObject
* _resultobj
;
2370 wxToolTip
* _result
;
2372 PyObject
* _obj0
= 0;
2373 char *_kwnames
[] = { "tip", NULL
};
2377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxToolTip",_kwnames
,&_obj0
))
2380 #if PYTHON_API_VERSION >= 1009
2381 char* tmpPtr
; int tmpSize
;
2382 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
2383 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2386 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
2388 _arg0
= new wxString(tmpPtr
, tmpSize
);
2390 if (!PyString_Check(_obj0
)) {
2391 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2394 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
2398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2399 _result
= (wxToolTip
*)new_wxToolTip(*_arg0
);
2401 wxPyEndAllowThreads(__tstate
);
2402 if (PyErr_Occurred()) return NULL
;
2404 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToolTip_p");
2405 _resultobj
= Py_BuildValue("s",_ptemp
);
2408 _resultobj
= Py_None
;
2417 #define wxToolTip_SetTip(_swigobj,_swigarg0) (_swigobj->SetTip(_swigarg0))
2418 static PyObject
*_wrap_wxToolTip_SetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2419 PyObject
* _resultobj
;
2422 PyObject
* _argo0
= 0;
2423 PyObject
* _obj1
= 0;
2424 char *_kwnames
[] = { "self","tip", NULL
};
2427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxToolTip_SetTip",_kwnames
,&_argo0
,&_obj1
))
2430 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2431 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolTip_p")) {
2432 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolTip_SetTip. Expected _wxToolTip_p.");
2437 #if PYTHON_API_VERSION >= 1009
2438 char* tmpPtr
; int tmpSize
;
2439 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
2440 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2443 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
2445 _arg1
= new wxString(tmpPtr
, tmpSize
);
2447 if (!PyString_Check(_obj1
)) {
2448 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2451 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
2455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2456 wxToolTip_SetTip(_arg0
,*_arg1
);
2458 wxPyEndAllowThreads(__tstate
);
2459 if (PyErr_Occurred()) return NULL
;
2460 } Py_INCREF(Py_None
);
2461 _resultobj
= Py_None
;
2469 #define wxToolTip_GetTip(_swigobj) (_swigobj->GetTip())
2470 static PyObject
*_wrap_wxToolTip_GetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2471 PyObject
* _resultobj
;
2474 PyObject
* _argo0
= 0;
2475 char *_kwnames
[] = { "self", NULL
};
2478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolTip_GetTip",_kwnames
,&_argo0
))
2481 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2482 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolTip_p")) {
2483 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolTip_GetTip. Expected _wxToolTip_p.");
2488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2489 _result
= new wxString (wxToolTip_GetTip(_arg0
));
2491 wxPyEndAllowThreads(__tstate
);
2492 if (PyErr_Occurred()) return NULL
;
2494 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2502 #define wxToolTip_GetWindow(_swigobj) (_swigobj->GetWindow())
2503 static PyObject
*_wrap_wxToolTip_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2504 PyObject
* _resultobj
;
2507 PyObject
* _argo0
= 0;
2508 char *_kwnames
[] = { "self", NULL
};
2511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolTip_GetWindow",_kwnames
,&_argo0
))
2514 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2515 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolTip_p")) {
2516 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolTip_GetWindow. Expected _wxToolTip_p.");
2521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2522 _result
= (wxWindow
*)wxToolTip_GetWindow(_arg0
);
2524 wxPyEndAllowThreads(__tstate
);
2525 if (PyErr_Occurred()) return NULL
;
2526 }{ _resultobj
= wxPyMake_wxObject(_result
); }
2530 static PyObject
*_wrap_wxToolTip_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2531 PyObject
* _resultobj
;
2534 char *_kwnames
[] = { "flag", NULL
};
2537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxToolTip_Enable",_kwnames
,&tempbool0
))
2539 _arg0
= (bool ) tempbool0
;
2541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2542 wxToolTip::Enable(_arg0
);
2544 wxPyEndAllowThreads(__tstate
);
2545 if (PyErr_Occurred()) return NULL
;
2546 } Py_INCREF(Py_None
);
2547 _resultobj
= Py_None
;
2551 static PyObject
*_wrap_wxToolTip_SetDelay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2552 PyObject
* _resultobj
;
2554 char *_kwnames
[] = { "milliseconds", NULL
};
2557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:wxToolTip_SetDelay",_kwnames
,&_arg0
))
2560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2561 wxToolTip::SetDelay(_arg0
);
2563 wxPyEndAllowThreads(__tstate
);
2564 if (PyErr_Occurred()) return NULL
;
2565 } Py_INCREF(Py_None
);
2566 _resultobj
= Py_None
;
2570 #define new_wxCaret(_swigarg0,_swigarg1) (new wxCaret(_swigarg0,_swigarg1))
2571 static PyObject
*_wrap_new_wxCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2572 PyObject
* _resultobj
;
2576 PyObject
* _argo0
= 0;
2578 PyObject
* _obj1
= 0;
2579 char *_kwnames
[] = { "window","size", NULL
};
2583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:new_wxCaret",_kwnames
,&_argo0
,&_obj1
))
2586 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2587 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2588 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxCaret. Expected _wxWindow_p.");
2594 if (! wxSize_helper(_obj1
, &_arg1
))
2598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2599 _result
= (wxCaret
*)new_wxCaret(_arg0
,*_arg1
);
2601 wxPyEndAllowThreads(__tstate
);
2602 if (PyErr_Occurred()) return NULL
;
2604 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCaret_p");
2605 _resultobj
= Py_BuildValue("s",_ptemp
);
2608 _resultobj
= Py_None
;
2613 #define delete_wxCaret(_swigobj) (delete _swigobj)
2614 static PyObject
*_wrap_delete_wxCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2615 PyObject
* _resultobj
;
2617 PyObject
* _argo0
= 0;
2618 char *_kwnames
[] = { "self", NULL
};
2621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxCaret",_kwnames
,&_argo0
))
2624 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2625 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2626 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxCaret. Expected _wxCaret_p.");
2631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2632 delete_wxCaret(_arg0
);
2634 wxPyEndAllowThreads(__tstate
);
2635 if (PyErr_Occurred()) return NULL
;
2636 } Py_INCREF(Py_None
);
2637 _resultobj
= Py_None
;
2641 #define wxCaret_IsOk(_swigobj) (_swigobj->IsOk())
2642 static PyObject
*_wrap_wxCaret_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2643 PyObject
* _resultobj
;
2646 PyObject
* _argo0
= 0;
2647 char *_kwnames
[] = { "self", NULL
};
2650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_IsOk",_kwnames
,&_argo0
))
2653 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2654 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2655 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_IsOk. Expected _wxCaret_p.");
2660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2661 _result
= (bool )wxCaret_IsOk(_arg0
);
2663 wxPyEndAllowThreads(__tstate
);
2664 if (PyErr_Occurred()) return NULL
;
2665 } _resultobj
= Py_BuildValue("i",_result
);
2669 #define wxCaret_IsVisible(_swigobj) (_swigobj->IsVisible())
2670 static PyObject
*_wrap_wxCaret_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2671 PyObject
* _resultobj
;
2674 PyObject
* _argo0
= 0;
2675 char *_kwnames
[] = { "self", NULL
};
2678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_IsVisible",_kwnames
,&_argo0
))
2681 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2682 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2683 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_IsVisible. Expected _wxCaret_p.");
2688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2689 _result
= (bool )wxCaret_IsVisible(_arg0
);
2691 wxPyEndAllowThreads(__tstate
);
2692 if (PyErr_Occurred()) return NULL
;
2693 } _resultobj
= Py_BuildValue("i",_result
);
2697 #define wxCaret_GetPositionTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPosition(_swigarg0,_swigarg1))
2698 static PyObject
*_wrap_wxCaret_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2699 PyObject
* _resultobj
;
2705 PyObject
* _argo0
= 0;
2706 char *_kwnames
[] = { "self", NULL
};
2715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetPositionTuple",_kwnames
,&_argo0
))
2718 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2719 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2720 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetPositionTuple. Expected _wxCaret_p.");
2725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2726 wxCaret_GetPositionTuple(_arg0
,_arg1
,_arg2
);
2728 wxPyEndAllowThreads(__tstate
);
2729 if (PyErr_Occurred()) return NULL
;
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_GetPosition(_swigobj) (_swigobj->GetPosition())
2746 static PyObject
*_wrap_wxCaret_GetPosition(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_GetPosition",_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_GetPosition. Expected _wxCaret_p.");
2765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2766 _result
= new wxPoint (wxCaret_GetPosition(_arg0
));
2768 wxPyEndAllowThreads(__tstate
);
2769 if (PyErr_Occurred()) return NULL
;
2770 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2771 _resultobj
= Py_BuildValue("s",_ptemp
);
2775 #define wxCaret_GetSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSize(_swigarg0,_swigarg1))
2776 static PyObject
*_wrap_wxCaret_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2777 PyObject
* _resultobj
;
2783 PyObject
* _argo0
= 0;
2784 char *_kwnames
[] = { "self", NULL
};
2793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetSizeTuple",_kwnames
,&_argo0
))
2796 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2797 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2798 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetSizeTuple. Expected _wxCaret_p.");
2803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2804 wxCaret_GetSizeTuple(_arg0
,_arg1
,_arg2
);
2806 wxPyEndAllowThreads(__tstate
);
2807 if (PyErr_Occurred()) return NULL
;
2808 } Py_INCREF(Py_None
);
2809 _resultobj
= Py_None
;
2812 o
= PyInt_FromLong((long) (*_arg1
));
2813 _resultobj
= t_output_helper(_resultobj
, o
);
2817 o
= PyInt_FromLong((long) (*_arg2
));
2818 _resultobj
= t_output_helper(_resultobj
, o
);
2823 #define wxCaret_GetSize(_swigobj) (_swigobj->GetSize())
2824 static PyObject
*_wrap_wxCaret_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2825 PyObject
* _resultobj
;
2828 PyObject
* _argo0
= 0;
2829 char *_kwnames
[] = { "self", NULL
};
2833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetSize",_kwnames
,&_argo0
))
2836 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2837 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2838 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetSize. Expected _wxCaret_p.");
2843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2844 _result
= new wxSize (wxCaret_GetSize(_arg0
));
2846 wxPyEndAllowThreads(__tstate
);
2847 if (PyErr_Occurred()) return NULL
;
2848 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
2849 _resultobj
= Py_BuildValue("s",_ptemp
);
2853 #define wxCaret_GetWindow(_swigobj) (_swigobj->GetWindow())
2854 static PyObject
*_wrap_wxCaret_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2855 PyObject
* _resultobj
;
2858 PyObject
* _argo0
= 0;
2859 char *_kwnames
[] = { "self", NULL
};
2862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetWindow",_kwnames
,&_argo0
))
2865 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2866 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2867 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetWindow. Expected _wxCaret_p.");
2872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2873 _result
= (wxWindow
*)wxCaret_GetWindow(_arg0
);
2875 wxPyEndAllowThreads(__tstate
);
2876 if (PyErr_Occurred()) return NULL
;
2877 }{ _resultobj
= wxPyMake_wxObject(_result
); }
2881 #define wxCaret_MoveXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->Move(_swigarg0,_swigarg1))
2882 static PyObject
*_wrap_wxCaret_MoveXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2883 PyObject
* _resultobj
;
2887 PyObject
* _argo0
= 0;
2888 char *_kwnames
[] = { "self","x","y", NULL
};
2891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxCaret_MoveXY",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2894 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2895 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2896 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_MoveXY. Expected _wxCaret_p.");
2901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2902 wxCaret_MoveXY(_arg0
,_arg1
,_arg2
);
2904 wxPyEndAllowThreads(__tstate
);
2905 if (PyErr_Occurred()) return NULL
;
2906 } Py_INCREF(Py_None
);
2907 _resultobj
= Py_None
;
2911 #define wxCaret_Move(_swigobj,_swigarg0) (_swigobj->Move(_swigarg0))
2912 static PyObject
*_wrap_wxCaret_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2913 PyObject
* _resultobj
;
2916 PyObject
* _argo0
= 0;
2918 PyObject
* _obj1
= 0;
2919 char *_kwnames
[] = { "self","pt", NULL
};
2922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxCaret_Move",_kwnames
,&_argo0
,&_obj1
))
2925 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2926 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2927 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_Move. Expected _wxCaret_p.");
2933 if (! wxPoint_helper(_obj1
, &_arg1
))
2937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2938 wxCaret_Move(_arg0
,*_arg1
);
2940 wxPyEndAllowThreads(__tstate
);
2941 if (PyErr_Occurred()) return NULL
;
2942 } Py_INCREF(Py_None
);
2943 _resultobj
= Py_None
;
2947 #define wxCaret_SetSizeWH(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSize(_swigarg0,_swigarg1))
2948 static PyObject
*_wrap_wxCaret_SetSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2949 PyObject
* _resultobj
;
2953 PyObject
* _argo0
= 0;
2954 char *_kwnames
[] = { "self","width","height", NULL
};
2957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxCaret_SetSizeWH",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2960 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2961 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2962 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_SetSizeWH. Expected _wxCaret_p.");
2967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2968 wxCaret_SetSizeWH(_arg0
,_arg1
,_arg2
);
2970 wxPyEndAllowThreads(__tstate
);
2971 if (PyErr_Occurred()) return NULL
;
2972 } Py_INCREF(Py_None
);
2973 _resultobj
= Py_None
;
2977 #define wxCaret_SetSize(_swigobj,_swigarg0) (_swigobj->SetSize(_swigarg0))
2978 static PyObject
*_wrap_wxCaret_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2979 PyObject
* _resultobj
;
2982 PyObject
* _argo0
= 0;
2984 PyObject
* _obj1
= 0;
2985 char *_kwnames
[] = { "self","size", NULL
};
2988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxCaret_SetSize",_kwnames
,&_argo0
,&_obj1
))
2991 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2992 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2993 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_SetSize. Expected _wxCaret_p.");
2999 if (! wxSize_helper(_obj1
, &_arg1
))
3003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3004 wxCaret_SetSize(_arg0
,*_arg1
);
3006 wxPyEndAllowThreads(__tstate
);
3007 if (PyErr_Occurred()) return NULL
;
3008 } Py_INCREF(Py_None
);
3009 _resultobj
= Py_None
;
3013 #define wxCaret_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
3014 static PyObject
*_wrap_wxCaret_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3015 PyObject
* _resultobj
;
3017 int _arg1
= (int ) TRUE
;
3018 PyObject
* _argo0
= 0;
3019 char *_kwnames
[] = { "self","show", NULL
};
3022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxCaret_Show",_kwnames
,&_argo0
,&_arg1
))
3025 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3026 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
3027 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_Show. Expected _wxCaret_p.");
3032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3033 wxCaret_Show(_arg0
,_arg1
);
3035 wxPyEndAllowThreads(__tstate
);
3036 if (PyErr_Occurred()) return NULL
;
3037 } Py_INCREF(Py_None
);
3038 _resultobj
= Py_None
;
3042 #define wxCaret_Hide(_swigobj) (_swigobj->Hide())
3043 static PyObject
*_wrap_wxCaret_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3044 PyObject
* _resultobj
;
3046 PyObject
* _argo0
= 0;
3047 char *_kwnames
[] = { "self", NULL
};
3050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_Hide",_kwnames
,&_argo0
))
3053 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3054 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
3055 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_Hide. Expected _wxCaret_p.");
3060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3061 wxCaret_Hide(_arg0
);
3063 wxPyEndAllowThreads(__tstate
);
3064 if (PyErr_Occurred()) return NULL
;
3065 } Py_INCREF(Py_None
);
3066 _resultobj
= Py_None
;
3070 #define new_wxFontEnumerator() (new wxPyFontEnumerator())
3071 static PyObject
*_wrap_new_wxFontEnumerator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3072 PyObject
* _resultobj
;
3073 wxPyFontEnumerator
* _result
;
3074 char *_kwnames
[] = { NULL
};
3078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxFontEnumerator",_kwnames
))
3081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3082 _result
= (wxPyFontEnumerator
*)new_wxFontEnumerator();
3084 wxPyEndAllowThreads(__tstate
);
3085 if (PyErr_Occurred()) return NULL
;
3087 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyFontEnumerator_p");
3088 _resultobj
= Py_BuildValue("s",_ptemp
);
3091 _resultobj
= Py_None
;
3096 #define delete_wxPyFontEnumerator(_swigobj) (delete _swigobj)
3097 static PyObject
*_wrap_delete_wxFontEnumerator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3098 PyObject
* _resultobj
;
3099 wxPyFontEnumerator
* _arg0
;
3100 PyObject
* _argo0
= 0;
3101 char *_kwnames
[] = { "self", NULL
};
3104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxFontEnumerator",_kwnames
,&_argo0
))
3107 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3108 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) {
3109 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxFontEnumerator. Expected _wxPyFontEnumerator_p.");
3114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3115 delete_wxPyFontEnumerator(_arg0
);
3117 wxPyEndAllowThreads(__tstate
);
3118 if (PyErr_Occurred()) return NULL
;
3119 } Py_INCREF(Py_None
);
3120 _resultobj
= Py_None
;
3124 #define wxFontEnumerator__setCallbackInfo(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1,_swigarg2))
3125 static PyObject
*_wrap_wxFontEnumerator__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3126 PyObject
* _resultobj
;
3127 wxPyFontEnumerator
* _arg0
;
3131 PyObject
* _argo0
= 0;
3132 PyObject
* _obj1
= 0;
3133 PyObject
* _obj2
= 0;
3135 char *_kwnames
[] = { "self","self","_class","incref", NULL
};
3138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOi:wxFontEnumerator__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&tempbool3
))
3141 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3142 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) {
3143 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontEnumerator__setCallbackInfo. Expected _wxPyFontEnumerator_p.");
3153 _arg3
= (bool ) tempbool3
;
3155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3156 wxFontEnumerator__setCallbackInfo(_arg0
,_arg1
,_arg2
,_arg3
);
3158 wxPyEndAllowThreads(__tstate
);
3159 if (PyErr_Occurred()) return NULL
;
3160 } Py_INCREF(Py_None
);
3161 _resultobj
= Py_None
;
3165 #define wxFontEnumerator_EnumerateFacenames(_swigobj,_swigarg0,_swigarg1) (_swigobj->EnumerateFacenames(_swigarg0,_swigarg1))
3166 static PyObject
*_wrap_wxFontEnumerator_EnumerateFacenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3167 PyObject
* _resultobj
;
3169 wxPyFontEnumerator
* _arg0
;
3170 wxFontEncoding _arg1
= (wxFontEncoding
) wxFONTENCODING_SYSTEM
;
3171 bool _arg2
= (bool ) FALSE
;
3172 PyObject
* _argo0
= 0;
3173 int tempbool2
= (int) FALSE
;
3174 char *_kwnames
[] = { "self","encoding","fixedWidthOnly", NULL
};
3177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxFontEnumerator_EnumerateFacenames",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
3180 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3181 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) {
3182 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontEnumerator_EnumerateFacenames. Expected _wxPyFontEnumerator_p.");
3186 _arg2
= (bool ) tempbool2
;
3188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3189 _result
= (bool )wxFontEnumerator_EnumerateFacenames(_arg0
,_arg1
,_arg2
);
3191 wxPyEndAllowThreads(__tstate
);
3192 if (PyErr_Occurred()) return NULL
;
3193 } _resultobj
= Py_BuildValue("i",_result
);
3197 #define wxFontEnumerator_EnumerateEncodings(_swigobj,_swigarg0) (_swigobj->EnumerateEncodings(_swigarg0))
3198 static PyObject
*_wrap_wxFontEnumerator_EnumerateEncodings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3199 PyObject
* _resultobj
;
3201 wxPyFontEnumerator
* _arg0
;
3202 char * _arg1
= (char *) "";
3203 PyObject
* _argo0
= 0;
3204 char *_kwnames
[] = { "self","facename", NULL
};
3207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|s:wxFontEnumerator_EnumerateEncodings",_kwnames
,&_argo0
,&_arg1
))
3210 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3211 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) {
3212 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontEnumerator_EnumerateEncodings. Expected _wxPyFontEnumerator_p.");
3217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3218 _result
= (bool )wxFontEnumerator_EnumerateEncodings(_arg0
,_arg1
);
3220 wxPyEndAllowThreads(__tstate
);
3221 if (PyErr_Occurred()) return NULL
;
3222 } _resultobj
= Py_BuildValue("i",_result
);
3226 static PyObject
* wxPyFontEnumerator_GetEncodings(wxPyFontEnumerator
*self
) {
3227 wxArrayString
* arr
= self
->GetEncodings();
3228 return wxArrayString2PyList_helper(*arr
);
3230 static PyObject
*_wrap_wxFontEnumerator_GetEncodings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3231 PyObject
* _resultobj
;
3233 wxPyFontEnumerator
* _arg0
;
3234 PyObject
* _argo0
= 0;
3235 char *_kwnames
[] = { "self", NULL
};
3238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFontEnumerator_GetEncodings",_kwnames
,&_argo0
))
3241 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3242 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) {
3243 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontEnumerator_GetEncodings. Expected _wxPyFontEnumerator_p.");
3248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3249 _result
= (PyObject
*)wxPyFontEnumerator_GetEncodings(_arg0
);
3251 wxPyEndAllowThreads(__tstate
);
3252 if (PyErr_Occurred()) return NULL
;
3254 _resultobj
= _result
;
3259 static PyObject
* wxPyFontEnumerator_GetFacenames(wxPyFontEnumerator
*self
) {
3260 wxArrayString
* arr
= self
->GetFacenames();
3261 return wxArrayString2PyList_helper(*arr
);
3263 static PyObject
*_wrap_wxFontEnumerator_GetFacenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3264 PyObject
* _resultobj
;
3266 wxPyFontEnumerator
* _arg0
;
3267 PyObject
* _argo0
= 0;
3268 char *_kwnames
[] = { "self", NULL
};
3271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFontEnumerator_GetFacenames",_kwnames
,&_argo0
))
3274 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3275 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) {
3276 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontEnumerator_GetFacenames. Expected _wxPyFontEnumerator_p.");
3281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3282 _result
= (PyObject
*)wxPyFontEnumerator_GetFacenames(_arg0
);
3284 wxPyEndAllowThreads(__tstate
);
3285 if (PyErr_Occurred()) return NULL
;
3287 _resultobj
= _result
;
3292 #define new_wxBusyCursor(_swigarg0) (new wxBusyCursor(_swigarg0))
3293 static PyObject
*_wrap_new_wxBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3294 PyObject
* _resultobj
;
3295 wxBusyCursor
* _result
;
3296 wxCursor
* _arg0
= (wxCursor
*) wxHOURGLASS_CURSOR
;
3297 PyObject
* _argo0
= 0;
3298 char *_kwnames
[] = { "cursor", NULL
};
3302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxBusyCursor",_kwnames
,&_argo0
))
3305 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3306 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
3307 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxBusyCursor. Expected _wxCursor_p.");
3312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3313 _result
= (wxBusyCursor
*)new_wxBusyCursor(_arg0
);
3315 wxPyEndAllowThreads(__tstate
);
3316 if (PyErr_Occurred()) return NULL
;
3318 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBusyCursor_p");
3319 _resultobj
= Py_BuildValue("s",_ptemp
);
3322 _resultobj
= Py_None
;
3327 #define delete_wxBusyCursor(_swigobj) (delete _swigobj)
3328 static PyObject
*_wrap_delete_wxBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3329 PyObject
* _resultobj
;
3330 wxBusyCursor
* _arg0
;
3331 PyObject
* _argo0
= 0;
3332 char *_kwnames
[] = { "self", NULL
};
3335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxBusyCursor",_kwnames
,&_argo0
))
3338 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3339 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBusyCursor_p")) {
3340 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxBusyCursor. Expected _wxBusyCursor_p.");
3345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3346 delete_wxBusyCursor(_arg0
);
3348 wxPyEndAllowThreads(__tstate
);
3349 if (PyErr_Occurred()) return NULL
;
3350 } Py_INCREF(Py_None
);
3351 _resultobj
= Py_None
;
3355 #define new_wxWindowDisabler(_swigarg0) (new wxWindowDisabler(_swigarg0))
3356 static PyObject
*_wrap_new_wxWindowDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3357 PyObject
* _resultobj
;
3358 wxWindowDisabler
* _result
;
3359 wxWindow
* _arg0
= (wxWindow
*) NULL
;
3360 PyObject
* _argo0
= 0;
3361 char *_kwnames
[] = { "winToSkip", NULL
};
3365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxWindowDisabler",_kwnames
,&_argo0
))
3368 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3369 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3370 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxWindowDisabler. Expected _wxWindow_p.");
3375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3376 _result
= (wxWindowDisabler
*)new_wxWindowDisabler(_arg0
);
3378 wxPyEndAllowThreads(__tstate
);
3379 if (PyErr_Occurred()) return NULL
;
3381 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindowDisabler_p");
3382 _resultobj
= Py_BuildValue("s",_ptemp
);
3385 _resultobj
= Py_None
;
3390 #define delete_wxWindowDisabler(_swigobj) (delete _swigobj)
3391 static PyObject
*_wrap_delete_wxWindowDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3392 PyObject
* _resultobj
;
3393 wxWindowDisabler
* _arg0
;
3394 PyObject
* _argo0
= 0;
3395 char *_kwnames
[] = { "self", NULL
};
3398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxWindowDisabler",_kwnames
,&_argo0
))
3401 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3402 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindowDisabler_p")) {
3403 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxWindowDisabler. Expected _wxWindowDisabler_p.");
3408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3409 delete_wxWindowDisabler(_arg0
);
3411 wxPyEndAllowThreads(__tstate
);
3412 if (PyErr_Occurred()) return NULL
;
3413 } Py_INCREF(Py_None
);
3414 _resultobj
= Py_None
;
3418 #define new_wxMutexGuiLocker() (new wxMutexGuiLocker())
3419 static PyObject
*_wrap_new_wxMutexGuiLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3420 PyObject
* _resultobj
;
3421 wxMutexGuiLocker
* _result
;
3422 char *_kwnames
[] = { NULL
};
3426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxMutexGuiLocker",_kwnames
))
3429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3430 _result
= (wxMutexGuiLocker
*)new_wxMutexGuiLocker();
3432 wxPyEndAllowThreads(__tstate
);
3433 if (PyErr_Occurred()) return NULL
;
3435 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMutexGuiLocker_p");
3436 _resultobj
= Py_BuildValue("s",_ptemp
);
3439 _resultobj
= Py_None
;
3444 #define delete_wxMutexGuiLocker(_swigobj) (delete _swigobj)
3445 static PyObject
*_wrap_delete_wxMutexGuiLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3446 PyObject
* _resultobj
;
3447 wxMutexGuiLocker
* _arg0
;
3448 PyObject
* _argo0
= 0;
3449 char *_kwnames
[] = { "self", NULL
};
3452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxMutexGuiLocker",_kwnames
,&_argo0
))
3455 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3456 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMutexGuiLocker_p")) {
3457 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxMutexGuiLocker. Expected _wxMutexGuiLocker_p.");
3462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3463 delete_wxMutexGuiLocker(_arg0
);
3465 wxPyEndAllowThreads(__tstate
);
3466 if (PyErr_Occurred()) return NULL
;
3467 } Py_INCREF(Py_None
);
3468 _resultobj
= Py_None
;
3472 #define delete_wxTipProvider(_swigobj) (delete _swigobj)
3473 static PyObject
*_wrap_delete_wxTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3474 PyObject
* _resultobj
;
3475 wxTipProvider
* _arg0
;
3476 PyObject
* _argo0
= 0;
3477 char *_kwnames
[] = { "self", NULL
};
3480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxTipProvider",_kwnames
,&_argo0
))
3483 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3484 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTipProvider_p")) {
3485 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxTipProvider. Expected _wxTipProvider_p.");
3490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3491 delete_wxTipProvider(_arg0
);
3493 wxPyEndAllowThreads(__tstate
);
3494 if (PyErr_Occurred()) return NULL
;
3495 } Py_INCREF(Py_None
);
3496 _resultobj
= Py_None
;
3500 #define wxTipProvider_GetTip(_swigobj) (_swigobj->GetTip())
3501 static PyObject
*_wrap_wxTipProvider_GetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3502 PyObject
* _resultobj
;
3504 wxTipProvider
* _arg0
;
3505 PyObject
* _argo0
= 0;
3506 char *_kwnames
[] = { "self", NULL
};
3509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTipProvider_GetTip",_kwnames
,&_argo0
))
3512 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3513 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTipProvider_p")) {
3514 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTipProvider_GetTip. Expected _wxTipProvider_p.");
3519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3520 _result
= new wxString (wxTipProvider_GetTip(_arg0
));
3522 wxPyEndAllowThreads(__tstate
);
3523 if (PyErr_Occurred()) return NULL
;
3525 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3533 #define wxTipProvider_GetCurrentTip(_swigobj) (_swigobj->GetCurrentTip())
3534 static PyObject
*_wrap_wxTipProvider_GetCurrentTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3535 PyObject
* _resultobj
;
3537 wxTipProvider
* _arg0
;
3538 PyObject
* _argo0
= 0;
3539 char *_kwnames
[] = { "self", NULL
};
3542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTipProvider_GetCurrentTip",_kwnames
,&_argo0
))
3545 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3546 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTipProvider_p")) {
3547 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTipProvider_GetCurrentTip. Expected _wxTipProvider_p.");
3552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3553 _result
= (size_t )wxTipProvider_GetCurrentTip(_arg0
);
3555 wxPyEndAllowThreads(__tstate
);
3556 if (PyErr_Occurred()) return NULL
;
3557 } _resultobj
= Py_BuildValue("i",_result
);
3561 static void *SwigwxPyTipProviderTowxTipProvider(void *ptr
) {
3562 wxPyTipProvider
*src
;
3563 wxTipProvider
*dest
;
3564 src
= (wxPyTipProvider
*) ptr
;
3565 dest
= (wxTipProvider
*) src
;
3566 return (void *) dest
;
3569 #define new_wxPyTipProvider(_swigarg0) (new wxPyTipProvider(_swigarg0))
3570 static PyObject
*_wrap_new_wxPyTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3571 PyObject
* _resultobj
;
3572 wxPyTipProvider
* _result
;
3574 char *_kwnames
[] = { "currentTip", NULL
};
3578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:new_wxPyTipProvider",_kwnames
,&_arg0
))
3581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3582 _result
= (wxPyTipProvider
*)new_wxPyTipProvider(_arg0
);
3584 wxPyEndAllowThreads(__tstate
);
3585 if (PyErr_Occurred()) return NULL
;
3587 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTipProvider_p");
3588 _resultobj
= Py_BuildValue("s",_ptemp
);
3591 _resultobj
= Py_None
;
3596 static void *SwigwxGenericDragImageTowxObject(void *ptr
) {
3597 wxGenericDragImage
*src
;
3599 src
= (wxGenericDragImage
*) ptr
;
3600 dest
= (wxObject
*) src
;
3601 return (void *) dest
;
3604 #define new_wxDragImage(_swigarg0,_swigarg1) (new wxGenericDragImage(_swigarg0,_swigarg1))
3605 static PyObject
*_wrap_new_wxDragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3606 PyObject
* _resultobj
;
3607 wxGenericDragImage
* _result
;
3609 wxCursor
* _arg1
= (wxCursor
*) &wxNullCursor
;
3610 PyObject
* _argo0
= 0;
3611 PyObject
* _argo1
= 0;
3612 char *_kwnames
[] = { "image","cursor", NULL
};
3616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:new_wxDragImage",_kwnames
,&_argo0
,&_argo1
))
3619 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3620 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
3621 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDragImage. Expected _wxBitmap_p.");
3626 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3627 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCursor_p")) {
3628 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxDragImage. Expected _wxCursor_p.");
3633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3634 _result
= (wxGenericDragImage
*)new_wxDragImage(*_arg0
,*_arg1
);
3636 wxPyEndAllowThreads(__tstate
);
3637 if (PyErr_Occurred()) return NULL
;
3639 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
3640 _resultobj
= Py_BuildValue("s",_ptemp
);
3643 _resultobj
= Py_None
;
3648 #define new_wxDragIcon(_swigarg0,_swigarg1) (new wxGenericDragImage(_swigarg0,_swigarg1))
3649 static PyObject
*_wrap_new_wxDragIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3650 PyObject
* _resultobj
;
3651 wxGenericDragImage
* _result
;
3653 wxCursor
* _arg1
= (wxCursor
*) &wxNullCursor
;
3654 PyObject
* _argo0
= 0;
3655 PyObject
* _argo1
= 0;
3656 char *_kwnames
[] = { "image","cursor", NULL
};
3660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:new_wxDragIcon",_kwnames
,&_argo0
,&_argo1
))
3663 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3664 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
3665 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDragIcon. Expected _wxIcon_p.");
3670 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3671 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCursor_p")) {
3672 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxDragIcon. Expected _wxCursor_p.");
3677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3678 _result
= (wxGenericDragImage
*)new_wxDragIcon(*_arg0
,*_arg1
);
3680 wxPyEndAllowThreads(__tstate
);
3681 if (PyErr_Occurred()) return NULL
;
3683 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
3684 _resultobj
= Py_BuildValue("s",_ptemp
);
3687 _resultobj
= Py_None
;
3692 #define new_wxDragString(_swigarg0,_swigarg1) (new wxGenericDragImage(_swigarg0,_swigarg1))
3693 static PyObject
*_wrap_new_wxDragString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3694 PyObject
* _resultobj
;
3695 wxGenericDragImage
* _result
;
3697 wxCursor
* _arg1
= (wxCursor
*) &wxNullCursor
;
3698 PyObject
* _obj0
= 0;
3699 PyObject
* _argo1
= 0;
3700 char *_kwnames
[] = { "str","cursor", NULL
};
3704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:new_wxDragString",_kwnames
,&_obj0
,&_argo1
))
3707 #if PYTHON_API_VERSION >= 1009
3708 char* tmpPtr
; int tmpSize
;
3709 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
3710 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3713 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
3715 _arg0
= new wxString(tmpPtr
, tmpSize
);
3717 if (!PyString_Check(_obj0
)) {
3718 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3721 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
3725 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3726 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCursor_p")) {
3727 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxDragString. Expected _wxCursor_p.");
3732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3733 _result
= (wxGenericDragImage
*)new_wxDragString(*_arg0
,*_arg1
);
3735 wxPyEndAllowThreads(__tstate
);
3736 if (PyErr_Occurred()) return NULL
;
3738 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
3739 _resultobj
= Py_BuildValue("s",_ptemp
);
3742 _resultobj
= Py_None
;
3751 #define new_wxDragTreeItem(_swigarg0,_swigarg1) (new wxGenericDragImage(_swigarg0,_swigarg1))
3752 static PyObject
*_wrap_new_wxDragTreeItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3753 PyObject
* _resultobj
;
3754 wxGenericDragImage
* _result
;
3756 wxTreeItemId
* _arg1
;
3757 PyObject
* _argo0
= 0;
3758 PyObject
* _argo1
= 0;
3759 char *_kwnames
[] = { "treeCtrl","id", NULL
};
3763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:new_wxDragTreeItem",_kwnames
,&_argo0
,&_argo1
))
3766 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3767 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3768 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDragTreeItem. Expected _wxTreeCtrl_p.");
3773 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3774 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3775 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxDragTreeItem. Expected _wxTreeItemId_p.");
3780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3781 _result
= (wxGenericDragImage
*)new_wxDragTreeItem(*_arg0
,*_arg1
);
3783 wxPyEndAllowThreads(__tstate
);
3784 if (PyErr_Occurred()) return NULL
;
3786 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
3787 _resultobj
= Py_BuildValue("s",_ptemp
);
3790 _resultobj
= Py_None
;
3795 #define new_wxDragListItem(_swigarg0,_swigarg1) (new wxGenericDragImage(_swigarg0,_swigarg1))
3796 static PyObject
*_wrap_new_wxDragListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3797 PyObject
* _resultobj
;
3798 wxGenericDragImage
* _result
;
3801 PyObject
* _argo0
= 0;
3802 char *_kwnames
[] = { "listCtrl","id", NULL
};
3806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:new_wxDragListItem",_kwnames
,&_argo0
,&_arg1
))
3809 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3810 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3811 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDragListItem. Expected _wxListCtrl_p.");
3816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3817 _result
= (wxGenericDragImage
*)new_wxDragListItem(*_arg0
,_arg1
);
3819 wxPyEndAllowThreads(__tstate
);
3820 if (PyErr_Occurred()) return NULL
;
3822 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
3823 _resultobj
= Py_BuildValue("s",_ptemp
);
3826 _resultobj
= Py_None
;
3831 #define delete_wxGenericDragImage(_swigobj) (delete _swigobj)
3832 static PyObject
*_wrap_delete_wxDragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3833 PyObject
* _resultobj
;
3834 wxGenericDragImage
* _arg0
;
3835 PyObject
* _argo0
= 0;
3836 char *_kwnames
[] = { "self", NULL
};
3839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxDragImage",_kwnames
,&_argo0
))
3842 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3843 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3844 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxDragImage. Expected _wxGenericDragImage_p.");
3849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3850 delete_wxGenericDragImage(_arg0
);
3852 wxPyEndAllowThreads(__tstate
);
3853 if (PyErr_Occurred()) return NULL
;
3854 } Py_INCREF(Py_None
);
3855 _resultobj
= Py_None
;
3859 #define wxDragImage_SetBackingBitmap(_swigobj,_swigarg0) (_swigobj->SetBackingBitmap(_swigarg0))
3860 static PyObject
*_wrap_wxDragImage_SetBackingBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3861 PyObject
* _resultobj
;
3862 wxGenericDragImage
* _arg0
;
3864 PyObject
* _argo0
= 0;
3865 PyObject
* _argo1
= 0;
3866 char *_kwnames
[] = { "self","bitmap", NULL
};
3869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDragImage_SetBackingBitmap",_kwnames
,&_argo0
,&_argo1
))
3872 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3873 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3874 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_SetBackingBitmap. Expected _wxGenericDragImage_p.");
3879 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3880 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
3881 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDragImage_SetBackingBitmap. Expected _wxBitmap_p.");
3886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3887 wxDragImage_SetBackingBitmap(_arg0
,_arg1
);
3889 wxPyEndAllowThreads(__tstate
);
3890 if (PyErr_Occurred()) return NULL
;
3891 } Py_INCREF(Py_None
);
3892 _resultobj
= Py_None
;
3896 #define wxDragImage_BeginDrag(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->BeginDrag(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3897 static PyObject
*_wrap_wxDragImage_BeginDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3898 PyObject
* _resultobj
;
3900 wxGenericDragImage
* _arg0
;
3903 bool _arg3
= (bool ) FALSE
;
3904 wxRect
* _arg4
= (wxRect
*) NULL
;
3905 PyObject
* _argo0
= 0;
3907 PyObject
* _obj1
= 0;
3908 PyObject
* _argo2
= 0;
3909 int tempbool3
= (int) FALSE
;
3911 PyObject
* _obj4
= 0;
3912 char *_kwnames
[] = { "self","hotspot","window","fullScreen","rect", NULL
};
3915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|iO:wxDragImage_BeginDrag",_kwnames
,&_argo0
,&_obj1
,&_argo2
,&tempbool3
,&_obj4
))
3918 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3919 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3920 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_BeginDrag. Expected _wxGenericDragImage_p.");
3926 if (! wxPoint_helper(_obj1
, &_arg1
))
3930 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3931 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
3932 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxDragImage_BeginDrag. Expected _wxWindow_p.");
3936 _arg3
= (bool ) tempbool3
;
3940 if (! wxRect_helper(_obj4
, &_arg4
))
3944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3945 _result
= (bool )wxDragImage_BeginDrag(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
);
3947 wxPyEndAllowThreads(__tstate
);
3948 if (PyErr_Occurred()) return NULL
;
3949 } _resultobj
= Py_BuildValue("i",_result
);
3953 #define wxDragImage_BeginDrag2(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->BeginDrag(_swigarg0,_swigarg1,_swigarg2))
3954 static PyObject
*_wrap_wxDragImage_BeginDrag2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3955 PyObject
* _resultobj
;
3957 wxGenericDragImage
* _arg0
;
3961 PyObject
* _argo0
= 0;
3963 PyObject
* _obj1
= 0;
3964 PyObject
* _argo2
= 0;
3965 PyObject
* _argo3
= 0;
3966 char *_kwnames
[] = { "self","hotspot","window","fullScreenRect", NULL
};
3969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO:wxDragImage_BeginDrag2",_kwnames
,&_argo0
,&_obj1
,&_argo2
,&_argo3
))
3972 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3973 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3974 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_BeginDrag2. Expected _wxGenericDragImage_p.");
3980 if (! wxPoint_helper(_obj1
, &_arg1
))
3984 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3985 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
3986 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxDragImage_BeginDrag2. Expected _wxWindow_p.");
3991 if (_argo3
== Py_None
) { _arg3
= NULL
; }
3992 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxWindow_p")) {
3993 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxDragImage_BeginDrag2. Expected _wxWindow_p.");
3998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3999 _result
= (bool )wxDragImage_BeginDrag2(_arg0
,*_arg1
,_arg2
,_arg3
);
4001 wxPyEndAllowThreads(__tstate
);
4002 if (PyErr_Occurred()) return NULL
;
4003 } _resultobj
= Py_BuildValue("i",_result
);
4007 #define wxDragImage_EndDrag(_swigobj) (_swigobj->EndDrag())
4008 static PyObject
*_wrap_wxDragImage_EndDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4009 PyObject
* _resultobj
;
4011 wxGenericDragImage
* _arg0
;
4012 PyObject
* _argo0
= 0;
4013 char *_kwnames
[] = { "self", NULL
};
4016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDragImage_EndDrag",_kwnames
,&_argo0
))
4019 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4020 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
4021 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_EndDrag. Expected _wxGenericDragImage_p.");
4026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4027 _result
= (bool )wxDragImage_EndDrag(_arg0
);
4029 wxPyEndAllowThreads(__tstate
);
4030 if (PyErr_Occurred()) return NULL
;
4031 } _resultobj
= Py_BuildValue("i",_result
);
4035 #define wxDragImage_Move(_swigobj,_swigarg0) (_swigobj->Move(_swigarg0))
4036 static PyObject
*_wrap_wxDragImage_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4037 PyObject
* _resultobj
;
4039 wxGenericDragImage
* _arg0
;
4041 PyObject
* _argo0
= 0;
4043 PyObject
* _obj1
= 0;
4044 char *_kwnames
[] = { "self","pt", NULL
};
4047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDragImage_Move",_kwnames
,&_argo0
,&_obj1
))
4050 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4051 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
4052 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_Move. Expected _wxGenericDragImage_p.");
4058 if (! wxPoint_helper(_obj1
, &_arg1
))
4062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4063 _result
= (bool )wxDragImage_Move(_arg0
,*_arg1
);
4065 wxPyEndAllowThreads(__tstate
);
4066 if (PyErr_Occurred()) return NULL
;
4067 } _resultobj
= Py_BuildValue("i",_result
);
4071 #define wxDragImage_Show(_swigobj) (_swigobj->Show())
4072 static PyObject
*_wrap_wxDragImage_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4073 PyObject
* _resultobj
;
4075 wxGenericDragImage
* _arg0
;
4076 PyObject
* _argo0
= 0;
4077 char *_kwnames
[] = { "self", NULL
};
4080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDragImage_Show",_kwnames
,&_argo0
))
4083 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4084 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
4085 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_Show. Expected _wxGenericDragImage_p.");
4090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4091 _result
= (bool )wxDragImage_Show(_arg0
);
4093 wxPyEndAllowThreads(__tstate
);
4094 if (PyErr_Occurred()) return NULL
;
4095 } _resultobj
= Py_BuildValue("i",_result
);
4099 #define wxDragImage_Hide(_swigobj) (_swigobj->Hide())
4100 static PyObject
*_wrap_wxDragImage_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4101 PyObject
* _resultobj
;
4103 wxGenericDragImage
* _arg0
;
4104 PyObject
* _argo0
= 0;
4105 char *_kwnames
[] = { "self", NULL
};
4108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDragImage_Hide",_kwnames
,&_argo0
))
4111 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4112 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
4113 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_Hide. Expected _wxGenericDragImage_p.");
4118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4119 _result
= (bool )wxDragImage_Hide(_arg0
);
4121 wxPyEndAllowThreads(__tstate
);
4122 if (PyErr_Occurred()) return NULL
;
4123 } _resultobj
= Py_BuildValue("i",_result
);
4127 #define wxDragImage_GetImageRect(_swigobj,_swigarg0) (_swigobj->GetImageRect(_swigarg0))
4128 static PyObject
*_wrap_wxDragImage_GetImageRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4129 PyObject
* _resultobj
;
4131 wxGenericDragImage
* _arg0
;
4133 PyObject
* _argo0
= 0;
4135 PyObject
* _obj1
= 0;
4136 char *_kwnames
[] = { "self","pos", NULL
};
4140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDragImage_GetImageRect",_kwnames
,&_argo0
,&_obj1
))
4143 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4144 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
4145 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_GetImageRect. Expected _wxGenericDragImage_p.");
4151 if (! wxPoint_helper(_obj1
, &_arg1
))
4155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4156 _result
= new wxRect (wxDragImage_GetImageRect(_arg0
,*_arg1
));
4158 wxPyEndAllowThreads(__tstate
);
4159 if (PyErr_Occurred()) return NULL
;
4160 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
4161 _resultobj
= Py_BuildValue("s",_ptemp
);
4165 #define wxDragImage_RedrawImage(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->RedrawImage(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4166 static PyObject
*_wrap_wxDragImage_RedrawImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4167 PyObject
* _resultobj
;
4169 wxGenericDragImage
* _arg0
;
4174 PyObject
* _argo0
= 0;
4176 PyObject
* _obj1
= 0;
4178 PyObject
* _obj2
= 0;
4181 char *_kwnames
[] = { "self","oldPos","newPos","eraseOld","drawNew", NULL
};
4184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOii:wxDragImage_RedrawImage",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&tempbool3
,&tempbool4
))
4187 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4188 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
4189 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_RedrawImage. Expected _wxGenericDragImage_p.");
4195 if (! wxPoint_helper(_obj1
, &_arg1
))
4200 if (! wxPoint_helper(_obj2
, &_arg2
))
4203 _arg3
= (bool ) tempbool3
;
4204 _arg4
= (bool ) tempbool4
;
4206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4207 _result
= (bool )wxDragImage_RedrawImage(_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
);
4209 wxPyEndAllowThreads(__tstate
);
4210 if (PyErr_Occurred()) return NULL
;
4211 } _resultobj
= Py_BuildValue("i",_result
);
4215 static void *SwigwxPyTimerTowxObject(void *ptr
) {
4218 src
= (wxPyTimer
*) ptr
;
4219 dest
= (wxObject
*) src
;
4220 return (void *) dest
;
4223 #define new_wxPyTimer(_swigarg0) (new wxPyTimer(_swigarg0))
4224 static PyObject
*_wrap_new_wxPyTimer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4225 PyObject
* _resultobj
;
4226 wxPyTimer
* _result
;
4228 PyObject
* _obj0
= 0;
4229 char *_kwnames
[] = { "notify", NULL
};
4233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxPyTimer",_kwnames
,&_obj0
))
4239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4240 _result
= (wxPyTimer
*)new_wxPyTimer(_arg0
);
4242 wxPyEndAllowThreads(__tstate
);
4243 if (PyErr_Occurred()) return NULL
;
4245 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTimer_p");
4246 _resultobj
= Py_BuildValue("s",_ptemp
);
4249 _resultobj
= Py_None
;
4254 #define delete_wxPyTimer(_swigobj) (delete _swigobj)
4255 static PyObject
*_wrap_delete_wxPyTimer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4256 PyObject
* _resultobj
;
4258 PyObject
* _argo0
= 0;
4259 char *_kwnames
[] = { "self", NULL
};
4262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPyTimer",_kwnames
,&_argo0
))
4265 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4266 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4267 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPyTimer. Expected _wxPyTimer_p.");
4272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4273 delete_wxPyTimer(_arg0
);
4275 wxPyEndAllowThreads(__tstate
);
4276 if (PyErr_Occurred()) return NULL
;
4277 } Py_INCREF(Py_None
);
4278 _resultobj
= Py_None
;
4282 #define wxPyTimer_GetInterval(_swigobj) (_swigobj->GetInterval())
4283 static PyObject
*_wrap_wxPyTimer_GetInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4284 PyObject
* _resultobj
;
4287 PyObject
* _argo0
= 0;
4288 char *_kwnames
[] = { "self", NULL
};
4291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_GetInterval",_kwnames
,&_argo0
))
4294 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4295 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4296 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_GetInterval. Expected _wxPyTimer_p.");
4301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4302 _result
= (int )wxPyTimer_GetInterval(_arg0
);
4304 wxPyEndAllowThreads(__tstate
);
4305 if (PyErr_Occurred()) return NULL
;
4306 } _resultobj
= Py_BuildValue("i",_result
);
4310 #define wxPyTimer_IsOneShot(_swigobj) (_swigobj->IsOneShot())
4311 static PyObject
*_wrap_wxPyTimer_IsOneShot(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4312 PyObject
* _resultobj
;
4315 PyObject
* _argo0
= 0;
4316 char *_kwnames
[] = { "self", NULL
};
4319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_IsOneShot",_kwnames
,&_argo0
))
4322 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4323 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4324 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_IsOneShot. Expected _wxPyTimer_p.");
4329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4330 _result
= (bool )wxPyTimer_IsOneShot(_arg0
);
4332 wxPyEndAllowThreads(__tstate
);
4333 if (PyErr_Occurred()) return NULL
;
4334 } _resultobj
= Py_BuildValue("i",_result
);
4338 #define wxPyTimer_IsRunning(_swigobj) (_swigobj->IsRunning())
4339 static PyObject
*_wrap_wxPyTimer_IsRunning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4340 PyObject
* _resultobj
;
4343 PyObject
* _argo0
= 0;
4344 char *_kwnames
[] = { "self", NULL
};
4347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_IsRunning",_kwnames
,&_argo0
))
4350 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4351 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4352 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_IsRunning. Expected _wxPyTimer_p.");
4357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4358 _result
= (bool )wxPyTimer_IsRunning(_arg0
);
4360 wxPyEndAllowThreads(__tstate
);
4361 if (PyErr_Occurred()) return NULL
;
4362 } _resultobj
= Py_BuildValue("i",_result
);
4366 #define wxPyTimer_SetOwner(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetOwner(_swigarg0,_swigarg1))
4367 static PyObject
*_wrap_wxPyTimer_SetOwner(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4368 PyObject
* _resultobj
;
4370 wxEvtHandler
* _arg1
;
4371 int _arg2
= (int ) -1;
4372 PyObject
* _argo0
= 0;
4373 PyObject
* _argo1
= 0;
4374 char *_kwnames
[] = { "self","owner","id", NULL
};
4377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxPyTimer_SetOwner",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
4380 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4381 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4382 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_SetOwner. Expected _wxPyTimer_p.");
4387 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4388 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
4389 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyTimer_SetOwner. Expected _wxEvtHandler_p.");
4394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4395 wxPyTimer_SetOwner(_arg0
,_arg1
,_arg2
);
4397 wxPyEndAllowThreads(__tstate
);
4398 if (PyErr_Occurred()) return NULL
;
4399 } Py_INCREF(Py_None
);
4400 _resultobj
= Py_None
;
4404 #define wxPyTimer_Start(_swigobj,_swigarg0,_swigarg1) (_swigobj->Start(_swigarg0,_swigarg1))
4405 static PyObject
*_wrap_wxPyTimer_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4406 PyObject
* _resultobj
;
4408 int _arg1
= (int ) -1;
4409 int _arg2
= (int ) FALSE
;
4410 PyObject
* _argo0
= 0;
4411 char *_kwnames
[] = { "self","milliseconds","oneShot", NULL
};
4414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxPyTimer_Start",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4417 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4418 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4419 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_Start. Expected _wxPyTimer_p.");
4424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4425 wxPyTimer_Start(_arg0
,_arg1
,_arg2
);
4427 wxPyEndAllowThreads(__tstate
);
4428 if (PyErr_Occurred()) return NULL
;
4429 } Py_INCREF(Py_None
);
4430 _resultobj
= Py_None
;
4434 #define wxPyTimer_Stop(_swigobj) (_swigobj->Stop())
4435 static PyObject
*_wrap_wxPyTimer_Stop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4436 PyObject
* _resultobj
;
4438 PyObject
* _argo0
= 0;
4439 char *_kwnames
[] = { "self", NULL
};
4442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_Stop",_kwnames
,&_argo0
))
4445 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4446 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4447 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_Stop. Expected _wxPyTimer_p.");
4452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4453 wxPyTimer_Stop(_arg0
);
4455 wxPyEndAllowThreads(__tstate
);
4456 if (PyErr_Occurred()) return NULL
;
4457 } Py_INCREF(Py_None
);
4458 _resultobj
= Py_None
;
4462 #define new_wxStopWatch() (new wxStopWatch())
4463 static PyObject
*_wrap_new_wxStopWatch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4464 PyObject
* _resultobj
;
4465 wxStopWatch
* _result
;
4466 char *_kwnames
[] = { NULL
};
4470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxStopWatch",_kwnames
))
4473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4474 _result
= (wxStopWatch
*)new_wxStopWatch();
4476 wxPyEndAllowThreads(__tstate
);
4477 if (PyErr_Occurred()) return NULL
;
4479 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStopWatch_p");
4480 _resultobj
= Py_BuildValue("s",_ptemp
);
4483 _resultobj
= Py_None
;
4488 #define wxStopWatch_Start(_swigobj,_swigarg0) (_swigobj->Start(_swigarg0))
4489 static PyObject
*_wrap_wxStopWatch_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4490 PyObject
* _resultobj
;
4491 wxStopWatch
* _arg0
;
4492 long _arg1
= (long ) 0;
4493 PyObject
* _argo0
= 0;
4494 char *_kwnames
[] = { "self","t", NULL
};
4497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|l:wxStopWatch_Start",_kwnames
,&_argo0
,&_arg1
))
4500 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4501 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStopWatch_p")) {
4502 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStopWatch_Start. Expected _wxStopWatch_p.");
4507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4508 wxStopWatch_Start(_arg0
,_arg1
);
4510 wxPyEndAllowThreads(__tstate
);
4511 if (PyErr_Occurred()) return NULL
;
4512 } Py_INCREF(Py_None
);
4513 _resultobj
= Py_None
;
4517 #define wxStopWatch_Pause(_swigobj) (_swigobj->Pause())
4518 static PyObject
*_wrap_wxStopWatch_Pause(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4519 PyObject
* _resultobj
;
4520 wxStopWatch
* _arg0
;
4521 PyObject
* _argo0
= 0;
4522 char *_kwnames
[] = { "self", NULL
};
4525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStopWatch_Pause",_kwnames
,&_argo0
))
4528 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4529 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStopWatch_p")) {
4530 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStopWatch_Pause. Expected _wxStopWatch_p.");
4535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4536 wxStopWatch_Pause(_arg0
);
4538 wxPyEndAllowThreads(__tstate
);
4539 if (PyErr_Occurred()) return NULL
;
4540 } Py_INCREF(Py_None
);
4541 _resultobj
= Py_None
;
4545 #define wxStopWatch_Resume(_swigobj) (_swigobj->Resume())
4546 static PyObject
*_wrap_wxStopWatch_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4547 PyObject
* _resultobj
;
4548 wxStopWatch
* _arg0
;
4549 PyObject
* _argo0
= 0;
4550 char *_kwnames
[] = { "self", NULL
};
4553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStopWatch_Resume",_kwnames
,&_argo0
))
4556 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4557 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStopWatch_p")) {
4558 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStopWatch_Resume. Expected _wxStopWatch_p.");
4563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4564 wxStopWatch_Resume(_arg0
);
4566 wxPyEndAllowThreads(__tstate
);
4567 if (PyErr_Occurred()) return NULL
;
4568 } Py_INCREF(Py_None
);
4569 _resultobj
= Py_None
;
4573 #define wxStopWatch_Time(_swigobj) (_swigobj->Time())
4574 static PyObject
*_wrap_wxStopWatch_Time(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4575 PyObject
* _resultobj
;
4577 wxStopWatch
* _arg0
;
4578 PyObject
* _argo0
= 0;
4579 char *_kwnames
[] = { "self", NULL
};
4582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStopWatch_Time",_kwnames
,&_argo0
))
4585 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4586 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStopWatch_p")) {
4587 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStopWatch_Time. Expected _wxStopWatch_p.");
4592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4593 _result
= (long )wxStopWatch_Time(_arg0
);
4595 wxPyEndAllowThreads(__tstate
);
4596 if (PyErr_Occurred()) return NULL
;
4597 } _resultobj
= Py_BuildValue("l",_result
);
4601 #define new_wxLog() (new wxLog())
4602 static PyObject
*_wrap_new_wxLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4603 PyObject
* _resultobj
;
4605 char *_kwnames
[] = { NULL
};
4609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLog",_kwnames
))
4612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4613 _result
= (wxLog
*)new_wxLog();
4615 wxPyEndAllowThreads(__tstate
);
4616 if (PyErr_Occurred()) return NULL
;
4618 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
4619 _resultobj
= Py_BuildValue("s",_ptemp
);
4622 _resultobj
= Py_None
;
4627 static PyObject
*_wrap_wxLog_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4628 PyObject
* _resultobj
;
4630 char *_kwnames
[] = { NULL
};
4633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_IsEnabled",_kwnames
))
4636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4637 _result
= (bool )wxLog::IsEnabled();
4639 wxPyEndAllowThreads(__tstate
);
4640 if (PyErr_Occurred()) return NULL
;
4641 } _resultobj
= Py_BuildValue("i",_result
);
4645 static PyObject
*_wrap_wxLog_EnableLogging(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4646 PyObject
* _resultobj
;
4648 bool _arg0
= (bool ) TRUE
;
4649 int tempbool0
= (int) TRUE
;
4650 char *_kwnames
[] = { "doIt", NULL
};
4653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:wxLog_EnableLogging",_kwnames
,&tempbool0
))
4655 _arg0
= (bool ) tempbool0
;
4657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4658 _result
= (bool )wxLog::EnableLogging(_arg0
);
4660 wxPyEndAllowThreads(__tstate
);
4661 if (PyErr_Occurred()) return NULL
;
4662 } _resultobj
= Py_BuildValue("i",_result
);
4666 static PyObject
*_wrap_wxLog_OnLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4667 PyObject
* _resultobj
;
4670 int _arg2
= (int ) 0;
4671 PyObject
* _argo0
= 0;
4672 char *_kwnames
[] = { "level","szString","t", NULL
};
4675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Os|i:wxLog_OnLog",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4678 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4679 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogLevel_p")) {
4680 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_OnLog. Expected _wxLogLevel_p.");
4685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4686 wxLog::OnLog(*_arg0
,_arg1
,_arg2
);
4688 wxPyEndAllowThreads(__tstate
);
4689 if (PyErr_Occurred()) return NULL
;
4690 } Py_INCREF(Py_None
);
4691 _resultobj
= Py_None
;
4695 #define wxLog_Flush(_swigobj) (_swigobj->Flush())
4696 static PyObject
*_wrap_wxLog_Flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4697 PyObject
* _resultobj
;
4699 PyObject
* _argo0
= 0;
4700 char *_kwnames
[] = { "self", NULL
};
4703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_Flush",_kwnames
,&_argo0
))
4706 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4707 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
4708 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_Flush. Expected _wxLog_p.");
4713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4716 wxPyEndAllowThreads(__tstate
);
4717 if (PyErr_Occurred()) return NULL
;
4718 } Py_INCREF(Py_None
);
4719 _resultobj
= Py_None
;
4723 #define wxLog_HasPendingMessages(_swigobj) (_swigobj->HasPendingMessages())
4724 static PyObject
*_wrap_wxLog_HasPendingMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4725 PyObject
* _resultobj
;
4728 PyObject
* _argo0
= 0;
4729 char *_kwnames
[] = { "self", NULL
};
4732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_HasPendingMessages",_kwnames
,&_argo0
))
4735 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4736 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
4737 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_HasPendingMessages. Expected _wxLog_p.");
4742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4743 _result
= (bool )wxLog_HasPendingMessages(_arg0
);
4745 wxPyEndAllowThreads(__tstate
);
4746 if (PyErr_Occurred()) return NULL
;
4747 } _resultobj
= Py_BuildValue("i",_result
);
4751 static PyObject
*_wrap_wxLog_FlushActive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4752 PyObject
* _resultobj
;
4753 char *_kwnames
[] = { NULL
};
4756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_FlushActive",_kwnames
))
4759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4760 wxLog::FlushActive();
4762 wxPyEndAllowThreads(__tstate
);
4763 if (PyErr_Occurred()) return NULL
;
4764 } Py_INCREF(Py_None
);
4765 _resultobj
= Py_None
;
4769 static PyObject
*_wrap_wxLog_GetActiveTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4770 PyObject
* _resultobj
;
4772 char *_kwnames
[] = { NULL
};
4776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_GetActiveTarget",_kwnames
))
4779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4780 _result
= (wxLog
*)wxLog::GetActiveTarget();
4782 wxPyEndAllowThreads(__tstate
);
4783 if (PyErr_Occurred()) return NULL
;
4785 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
4786 _resultobj
= Py_BuildValue("s",_ptemp
);
4789 _resultobj
= Py_None
;
4794 static PyObject
*_wrap_wxLog_SetActiveTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4795 PyObject
* _resultobj
;
4798 PyObject
* _argo0
= 0;
4799 char *_kwnames
[] = { "pLogger", NULL
};
4803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_SetActiveTarget",_kwnames
,&_argo0
))
4806 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4807 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
4808 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_SetActiveTarget. Expected _wxLog_p.");
4813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4814 _result
= (wxLog
*)wxLog::SetActiveTarget(_arg0
);
4816 wxPyEndAllowThreads(__tstate
);
4817 if (PyErr_Occurred()) return NULL
;
4819 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
4820 _resultobj
= Py_BuildValue("s",_ptemp
);
4823 _resultobj
= Py_None
;
4828 static PyObject
*_wrap_wxLog_Suspend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4829 PyObject
* _resultobj
;
4830 char *_kwnames
[] = { NULL
};
4833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_Suspend",_kwnames
))
4836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4839 wxPyEndAllowThreads(__tstate
);
4840 if (PyErr_Occurred()) return NULL
;
4841 } Py_INCREF(Py_None
);
4842 _resultobj
= Py_None
;
4846 static PyObject
*_wrap_wxLog_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4847 PyObject
* _resultobj
;
4848 char *_kwnames
[] = { NULL
};
4851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_Resume",_kwnames
))
4854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4857 wxPyEndAllowThreads(__tstate
);
4858 if (PyErr_Occurred()) return NULL
;
4859 } Py_INCREF(Py_None
);
4860 _resultobj
= Py_None
;
4864 #define wxLog_SetVerbose(_swigobj,_swigarg0) (_swigobj->SetVerbose(_swigarg0))
4865 static PyObject
*_wrap_wxLog_SetVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4866 PyObject
* _resultobj
;
4868 bool _arg1
= (bool ) TRUE
;
4869 PyObject
* _argo0
= 0;
4870 int tempbool1
= (int) TRUE
;
4871 char *_kwnames
[] = { "self","bVerbose", NULL
};
4874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxLog_SetVerbose",_kwnames
,&_argo0
,&tempbool1
))
4877 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4878 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
4879 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_SetVerbose. Expected _wxLog_p.");
4883 _arg1
= (bool ) tempbool1
;
4885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4886 wxLog_SetVerbose(_arg0
,_arg1
);
4888 wxPyEndAllowThreads(__tstate
);
4889 if (PyErr_Occurred()) return NULL
;
4890 } Py_INCREF(Py_None
);
4891 _resultobj
= Py_None
;
4895 static PyObject
*_wrap_wxLog_DontCreateOnDemand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4896 PyObject
* _resultobj
;
4897 char *_kwnames
[] = { NULL
};
4900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_DontCreateOnDemand",_kwnames
))
4903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4904 wxLog::DontCreateOnDemand();
4906 wxPyEndAllowThreads(__tstate
);
4907 if (PyErr_Occurred()) return NULL
;
4908 } Py_INCREF(Py_None
);
4909 _resultobj
= Py_None
;
4913 static PyObject
*_wrap_wxLog_SetTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4914 PyObject
* _resultobj
;
4915 wxTraceMask
* _arg0
;
4916 PyObject
* _argo0
= 0;
4917 char *_kwnames
[] = { "ulMask", NULL
};
4920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_SetTraceMask",_kwnames
,&_argo0
))
4923 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4924 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTraceMask_p")) {
4925 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_SetTraceMask. Expected _wxTraceMask_p.");
4930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4931 wxLog::SetTraceMask(*_arg0
);
4933 wxPyEndAllowThreads(__tstate
);
4934 if (PyErr_Occurred()) return NULL
;
4935 } Py_INCREF(Py_None
);
4936 _resultobj
= Py_None
;
4940 static PyObject
*_wrap_wxLog_AddTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4941 PyObject
* _resultobj
;
4943 PyObject
* _obj0
= 0;
4944 char *_kwnames
[] = { "str", NULL
};
4947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_AddTraceMask",_kwnames
,&_obj0
))
4950 #if PYTHON_API_VERSION >= 1009
4951 char* tmpPtr
; int tmpSize
;
4952 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
4953 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4956 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
4958 _arg0
= new wxString(tmpPtr
, tmpSize
);
4960 if (!PyString_Check(_obj0
)) {
4961 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4964 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
4968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4969 wxLog::AddTraceMask(*_arg0
);
4971 wxPyEndAllowThreads(__tstate
);
4972 if (PyErr_Occurred()) return NULL
;
4973 } Py_INCREF(Py_None
);
4974 _resultobj
= Py_None
;
4982 static PyObject
*_wrap_wxLog_RemoveTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4983 PyObject
* _resultobj
;
4985 PyObject
* _obj0
= 0;
4986 char *_kwnames
[] = { "str", NULL
};
4989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_RemoveTraceMask",_kwnames
,&_obj0
))
4992 #if PYTHON_API_VERSION >= 1009
4993 char* tmpPtr
; int tmpSize
;
4994 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
4995 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4998 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
5000 _arg0
= new wxString(tmpPtr
, tmpSize
);
5002 if (!PyString_Check(_obj0
)) {
5003 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5006 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
5010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5011 wxLog::RemoveTraceMask(*_arg0
);
5013 wxPyEndAllowThreads(__tstate
);
5014 if (PyErr_Occurred()) return NULL
;
5015 } Py_INCREF(Py_None
);
5016 _resultobj
= Py_None
;
5024 static PyObject
*_wrap_wxLog_ClearTraceMasks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5025 PyObject
* _resultobj
;
5026 char *_kwnames
[] = { NULL
};
5029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_ClearTraceMasks",_kwnames
))
5032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5033 wxLog::ClearTraceMasks();
5035 wxPyEndAllowThreads(__tstate
);
5036 if (PyErr_Occurred()) return NULL
;
5037 } Py_INCREF(Py_None
);
5038 _resultobj
= Py_None
;
5042 static PyObject
*_wrap_wxLog_SetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5043 PyObject
* _resultobj
;
5045 char *_kwnames
[] = { "ts", NULL
};
5048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLog_SetTimestamp",_kwnames
,&_arg0
))
5051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5052 wxLog::SetTimestamp(_arg0
);
5054 wxPyEndAllowThreads(__tstate
);
5055 if (PyErr_Occurred()) return NULL
;
5056 } Py_INCREF(Py_None
);
5057 _resultobj
= Py_None
;
5061 static PyObject
*_wrap_wxLog_GetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5062 PyObject
* _resultobj
;
5064 char *_kwnames
[] = { NULL
};
5067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_GetTimestamp",_kwnames
))
5070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5071 _result
= (wxChar
*)wxLog::GetTimestamp();
5073 wxPyEndAllowThreads(__tstate
);
5074 if (PyErr_Occurred()) return NULL
;
5075 } _resultobj
= Py_BuildValue("s", _result
);
5079 #define wxLog_GetVerbose(_swigobj) (_swigobj->GetVerbose())
5080 static PyObject
*_wrap_wxLog_GetVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5081 PyObject
* _resultobj
;
5084 PyObject
* _argo0
= 0;
5085 char *_kwnames
[] = { "self", NULL
};
5088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_GetVerbose",_kwnames
,&_argo0
))
5091 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5092 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
5093 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_GetVerbose. Expected _wxLog_p.");
5098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5099 _result
= (bool )wxLog_GetVerbose(_arg0
);
5101 wxPyEndAllowThreads(__tstate
);
5102 if (PyErr_Occurred()) return NULL
;
5103 } _resultobj
= Py_BuildValue("i",_result
);
5107 static PyObject
*_wrap_wxLog_GetTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5108 PyObject
* _resultobj
;
5109 wxTraceMask
* _result
;
5110 char *_kwnames
[] = { NULL
};
5114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_GetTraceMask",_kwnames
))
5117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5118 _result
= new wxTraceMask (wxLog::GetTraceMask());
5120 wxPyEndAllowThreads(__tstate
);
5121 if (PyErr_Occurred()) return NULL
;
5122 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTraceMask_p");
5123 _resultobj
= Py_BuildValue("s",_ptemp
);
5127 static PyObject
*_wrap_wxLog_IsAllowedTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5128 PyObject
* _resultobj
;
5131 char *_kwnames
[] = { "mask", NULL
};
5134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLog_IsAllowedTraceMask",_kwnames
,&_arg0
))
5137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5138 _result
= (bool )wxLog::IsAllowedTraceMask(_arg0
);
5140 wxPyEndAllowThreads(__tstate
);
5141 if (PyErr_Occurred()) return NULL
;
5142 } _resultobj
= Py_BuildValue("i",_result
);
5146 static wxString
wxLog_TimeStamp(wxLog
*self
) {
5148 wxLog::TimeStamp(&msg
);
5151 static PyObject
*_wrap_wxLog_TimeStamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5152 PyObject
* _resultobj
;
5155 PyObject
* _argo0
= 0;
5156 char *_kwnames
[] = { "self", NULL
};
5159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_TimeStamp",_kwnames
,&_argo0
))
5162 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5163 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
5164 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_TimeStamp. Expected _wxLog_p.");
5169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5170 _result
= new wxString (wxLog_TimeStamp(_arg0
));
5172 wxPyEndAllowThreads(__tstate
);
5173 if (PyErr_Occurred()) return NULL
;
5175 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5183 static void *SwigwxLogStderrTowxLog(void *ptr
) {
5186 src
= (wxLogStderr
*) ptr
;
5187 dest
= (wxLog
*) src
;
5188 return (void *) dest
;
5191 #define new_wxLogStderr() (new wxLogStderr())
5192 static PyObject
*_wrap_new_wxLogStderr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5193 PyObject
* _resultobj
;
5194 wxLogStderr
* _result
;
5195 char *_kwnames
[] = { NULL
};
5199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLogStderr",_kwnames
))
5202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5203 _result
= (wxLogStderr
*)new_wxLogStderr();
5205 wxPyEndAllowThreads(__tstate
);
5206 if (PyErr_Occurred()) return NULL
;
5208 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogStderr_p");
5209 _resultobj
= Py_BuildValue("s",_ptemp
);
5212 _resultobj
= Py_None
;
5217 static void *SwigwxLogTextCtrlTowxLog(void *ptr
) {
5220 src
= (wxLogTextCtrl
*) ptr
;
5221 dest
= (wxLog
*) src
;
5222 return (void *) dest
;
5225 #define new_wxLogTextCtrl(_swigarg0) (new wxLogTextCtrl(_swigarg0))
5226 static PyObject
*_wrap_new_wxLogTextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5227 PyObject
* _resultobj
;
5228 wxLogTextCtrl
* _result
;
5230 PyObject
* _argo0
= 0;
5231 char *_kwnames
[] = { "pTextCtrl", NULL
};
5235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxLogTextCtrl",_kwnames
,&_argo0
))
5238 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5239 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
5240 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxLogTextCtrl. Expected _wxTextCtrl_p.");
5245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5246 _result
= (wxLogTextCtrl
*)new_wxLogTextCtrl(_arg0
);
5248 wxPyEndAllowThreads(__tstate
);
5249 if (PyErr_Occurred()) return NULL
;
5251 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogTextCtrl_p");
5252 _resultobj
= Py_BuildValue("s",_ptemp
);
5255 _resultobj
= Py_None
;
5260 static void *SwigwxLogGuiTowxLog(void *ptr
) {
5263 src
= (wxLogGui
*) ptr
;
5264 dest
= (wxLog
*) src
;
5265 return (void *) dest
;
5268 #define new_wxLogGui() (new wxLogGui())
5269 static PyObject
*_wrap_new_wxLogGui(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5270 PyObject
* _resultobj
;
5272 char *_kwnames
[] = { NULL
};
5276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLogGui",_kwnames
))
5279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5280 _result
= (wxLogGui
*)new_wxLogGui();
5282 wxPyEndAllowThreads(__tstate
);
5283 if (PyErr_Occurred()) return NULL
;
5285 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogGui_p");
5286 _resultobj
= Py_BuildValue("s",_ptemp
);
5289 _resultobj
= Py_None
;
5294 static void *SwigwxLogWindowTowxLog(void *ptr
) {
5297 src
= (wxLogWindow
*) ptr
;
5298 dest
= (wxLog
*) src
;
5299 return (void *) dest
;
5302 #define new_wxLogWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxLogWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5303 static PyObject
*_wrap_new_wxLogWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5304 PyObject
* _resultobj
;
5305 wxLogWindow
* _result
;
5308 bool _arg2
= (bool ) TRUE
;
5309 bool _arg3
= (bool ) TRUE
;
5310 PyObject
* _argo0
= 0;
5311 int tempbool2
= (int) TRUE
;
5312 int tempbool3
= (int) TRUE
;
5313 char *_kwnames
[] = { "pParent","szTitle","bShow","bPassToOld", NULL
};
5317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Os|ii:new_wxLogWindow",_kwnames
,&_argo0
,&_arg1
,&tempbool2
,&tempbool3
))
5320 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5321 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
5322 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxLogWindow. Expected _wxFrame_p.");
5326 _arg2
= (bool ) tempbool2
;
5327 _arg3
= (bool ) tempbool3
;
5329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5330 _result
= (wxLogWindow
*)new_wxLogWindow(_arg0
,_arg1
,_arg2
,_arg3
);
5332 wxPyEndAllowThreads(__tstate
);
5333 if (PyErr_Occurred()) return NULL
;
5335 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogWindow_p");
5336 _resultobj
= Py_BuildValue("s",_ptemp
);
5339 _resultobj
= Py_None
;
5344 #define wxLogWindow_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
5345 static PyObject
*_wrap_wxLogWindow_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5346 PyObject
* _resultobj
;
5347 wxLogWindow
* _arg0
;
5348 bool _arg1
= (bool ) TRUE
;
5349 PyObject
* _argo0
= 0;
5350 int tempbool1
= (int) TRUE
;
5351 char *_kwnames
[] = { "self","bShow", NULL
};
5354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxLogWindow_Show",_kwnames
,&_argo0
,&tempbool1
))
5357 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5358 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
5359 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_Show. Expected _wxLogWindow_p.");
5363 _arg1
= (bool ) tempbool1
;
5365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5366 wxLogWindow_Show(_arg0
,_arg1
);
5368 wxPyEndAllowThreads(__tstate
);
5369 if (PyErr_Occurred()) return NULL
;
5370 } Py_INCREF(Py_None
);
5371 _resultobj
= Py_None
;
5375 #define wxLogWindow_GetFrame(_swigobj) (_swigobj->GetFrame())
5376 static PyObject
*_wrap_wxLogWindow_GetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5377 PyObject
* _resultobj
;
5379 wxLogWindow
* _arg0
;
5380 PyObject
* _argo0
= 0;
5381 char *_kwnames
[] = { "self", NULL
};
5384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogWindow_GetFrame",_kwnames
,&_argo0
))
5387 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5388 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
5389 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_GetFrame. Expected _wxLogWindow_p.");
5394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5395 _result
= (wxFrame
*)wxLogWindow_GetFrame(_arg0
);
5397 wxPyEndAllowThreads(__tstate
);
5398 if (PyErr_Occurred()) return NULL
;
5399 }{ _resultobj
= wxPyMake_wxObject(_result
); }
5403 #define wxLogWindow_GetOldLog(_swigobj) (_swigobj->GetOldLog())
5404 static PyObject
*_wrap_wxLogWindow_GetOldLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5405 PyObject
* _resultobj
;
5407 wxLogWindow
* _arg0
;
5408 PyObject
* _argo0
= 0;
5409 char *_kwnames
[] = { "self", NULL
};
5413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogWindow_GetOldLog",_kwnames
,&_argo0
))
5416 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5417 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
5418 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_GetOldLog. Expected _wxLogWindow_p.");
5423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5424 _result
= (wxLog
*)wxLogWindow_GetOldLog(_arg0
);
5426 wxPyEndAllowThreads(__tstate
);
5427 if (PyErr_Occurred()) return NULL
;
5429 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
5430 _resultobj
= Py_BuildValue("s",_ptemp
);
5433 _resultobj
= Py_None
;
5438 #define wxLogWindow_IsPassingMessages(_swigobj) (_swigobj->IsPassingMessages())
5439 static PyObject
*_wrap_wxLogWindow_IsPassingMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5440 PyObject
* _resultobj
;
5442 wxLogWindow
* _arg0
;
5443 PyObject
* _argo0
= 0;
5444 char *_kwnames
[] = { "self", NULL
};
5447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogWindow_IsPassingMessages",_kwnames
,&_argo0
))
5450 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5451 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
5452 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_IsPassingMessages. Expected _wxLogWindow_p.");
5457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5458 _result
= (bool )wxLogWindow_IsPassingMessages(_arg0
);
5460 wxPyEndAllowThreads(__tstate
);
5461 if (PyErr_Occurred()) return NULL
;
5462 } _resultobj
= Py_BuildValue("i",_result
);
5466 #define wxLogWindow_PassMessages(_swigobj,_swigarg0) (_swigobj->PassMessages(_swigarg0))
5467 static PyObject
*_wrap_wxLogWindow_PassMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5468 PyObject
* _resultobj
;
5469 wxLogWindow
* _arg0
;
5471 PyObject
* _argo0
= 0;
5473 char *_kwnames
[] = { "self","bDoPass", NULL
};
5476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxLogWindow_PassMessages",_kwnames
,&_argo0
,&tempbool1
))
5479 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5480 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
5481 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_PassMessages. Expected _wxLogWindow_p.");
5485 _arg1
= (bool ) tempbool1
;
5487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5488 wxLogWindow_PassMessages(_arg0
,_arg1
);
5490 wxPyEndAllowThreads(__tstate
);
5491 if (PyErr_Occurred()) return NULL
;
5492 } Py_INCREF(Py_None
);
5493 _resultobj
= Py_None
;
5497 #define new_wxLogNull() (new wxLogNull())
5498 static PyObject
*_wrap_new_wxLogNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5499 PyObject
* _resultobj
;
5500 wxLogNull
* _result
;
5501 char *_kwnames
[] = { NULL
};
5505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLogNull",_kwnames
))
5508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5509 _result
= (wxLogNull
*)new_wxLogNull();
5511 wxPyEndAllowThreads(__tstate
);
5512 if (PyErr_Occurred()) return NULL
;
5514 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogNull_p");
5515 _resultobj
= Py_BuildValue("s",_ptemp
);
5518 _resultobj
= Py_None
;
5523 #define delete_wxLogNull(_swigobj) (delete _swigobj)
5524 static PyObject
*_wrap_delete_wxLogNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5525 PyObject
* _resultobj
;
5527 PyObject
* _argo0
= 0;
5528 char *_kwnames
[] = { "self", NULL
};
5531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxLogNull",_kwnames
,&_argo0
))
5534 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5535 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogNull_p")) {
5536 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxLogNull. Expected _wxLogNull_p.");
5541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5542 delete_wxLogNull(_arg0
);
5544 wxPyEndAllowThreads(__tstate
);
5545 if (PyErr_Occurred()) return NULL
;
5546 } Py_INCREF(Py_None
);
5547 _resultobj
= Py_None
;
5551 static void *SwigwxLogChainTowxLog(void *ptr
) {
5554 src
= (wxLogChain
*) ptr
;
5555 dest
= (wxLog
*) src
;
5556 return (void *) dest
;
5559 #define new_wxLogChain(_swigarg0) (new wxLogChain(_swigarg0))
5560 static PyObject
*_wrap_new_wxLogChain(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5561 PyObject
* _resultobj
;
5562 wxLogChain
* _result
;
5564 PyObject
* _argo0
= 0;
5565 char *_kwnames
[] = { "logger", NULL
};
5569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxLogChain",_kwnames
,&_argo0
))
5572 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5573 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
5574 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxLogChain. Expected _wxLog_p.");
5579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5580 _result
= (wxLogChain
*)new_wxLogChain(_arg0
);
5582 wxPyEndAllowThreads(__tstate
);
5583 if (PyErr_Occurred()) return NULL
;
5585 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogChain_p");
5586 _resultobj
= Py_BuildValue("s",_ptemp
);
5589 _resultobj
= Py_None
;
5594 #define wxLogChain_SetLog(_swigobj,_swigarg0) (_swigobj->SetLog(_swigarg0))
5595 static PyObject
*_wrap_wxLogChain_SetLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5596 PyObject
* _resultobj
;
5599 PyObject
* _argo0
= 0;
5600 PyObject
* _argo1
= 0;
5601 char *_kwnames
[] = { "self","logger", NULL
};
5604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxLogChain_SetLog",_kwnames
,&_argo0
,&_argo1
))
5607 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5608 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogChain_p")) {
5609 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogChain_SetLog. Expected _wxLogChain_p.");
5614 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5615 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxLog_p")) {
5616 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxLogChain_SetLog. Expected _wxLog_p.");
5621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5622 wxLogChain_SetLog(_arg0
,_arg1
);
5624 wxPyEndAllowThreads(__tstate
);
5625 if (PyErr_Occurred()) return NULL
;
5626 } Py_INCREF(Py_None
);
5627 _resultobj
= Py_None
;
5631 #define wxLogChain_PassMessages(_swigobj,_swigarg0) (_swigobj->PassMessages(_swigarg0))
5632 static PyObject
*_wrap_wxLogChain_PassMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5633 PyObject
* _resultobj
;
5636 PyObject
* _argo0
= 0;
5638 char *_kwnames
[] = { "self","bDoPass", NULL
};
5641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxLogChain_PassMessages",_kwnames
,&_argo0
,&tempbool1
))
5644 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5645 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogChain_p")) {
5646 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogChain_PassMessages. Expected _wxLogChain_p.");
5650 _arg1
= (bool ) tempbool1
;
5652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5653 wxLogChain_PassMessages(_arg0
,_arg1
);
5655 wxPyEndAllowThreads(__tstate
);
5656 if (PyErr_Occurred()) return NULL
;
5657 } Py_INCREF(Py_None
);
5658 _resultobj
= Py_None
;
5662 #define wxLogChain_IsPassingMessages(_swigobj) (_swigobj->IsPassingMessages())
5663 static PyObject
*_wrap_wxLogChain_IsPassingMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5664 PyObject
* _resultobj
;
5667 PyObject
* _argo0
= 0;
5668 char *_kwnames
[] = { "self", NULL
};
5671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogChain_IsPassingMessages",_kwnames
,&_argo0
))
5674 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5675 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogChain_p")) {
5676 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogChain_IsPassingMessages. Expected _wxLogChain_p.");
5681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5682 _result
= (bool )wxLogChain_IsPassingMessages(_arg0
);
5684 wxPyEndAllowThreads(__tstate
);
5685 if (PyErr_Occurred()) return NULL
;
5686 } _resultobj
= Py_BuildValue("i",_result
);
5690 #define wxLogChain_GetOldLog(_swigobj) (_swigobj->GetOldLog())
5691 static PyObject
*_wrap_wxLogChain_GetOldLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5692 PyObject
* _resultobj
;
5695 PyObject
* _argo0
= 0;
5696 char *_kwnames
[] = { "self", NULL
};
5700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogChain_GetOldLog",_kwnames
,&_argo0
))
5703 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5704 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogChain_p")) {
5705 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogChain_GetOldLog. Expected _wxLogChain_p.");
5710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5711 _result
= (wxLog
*)wxLogChain_GetOldLog(_arg0
);
5713 wxPyEndAllowThreads(__tstate
);
5714 if (PyErr_Occurred()) return NULL
;
5716 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
5717 _resultobj
= Py_BuildValue("s",_ptemp
);
5720 _resultobj
= Py_None
;
5725 static void *SwigwxPyLogTowxLog(void *ptr
) {
5728 src
= (wxPyLog
*) ptr
;
5729 dest
= (wxLog
*) src
;
5730 return (void *) dest
;
5733 #define new_wxPyLog() (new wxPyLog())
5734 static PyObject
*_wrap_new_wxPyLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5735 PyObject
* _resultobj
;
5737 char *_kwnames
[] = { NULL
};
5741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPyLog",_kwnames
))
5744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5745 _result
= (wxPyLog
*)new_wxPyLog();
5747 wxPyEndAllowThreads(__tstate
);
5748 if (PyErr_Occurred()) return NULL
;
5750 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyLog_p");
5751 _resultobj
= Py_BuildValue("s",_ptemp
);
5754 _resultobj
= Py_None
;
5759 #define wxPyLog__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
5760 static PyObject
*_wrap_wxPyLog__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5761 PyObject
* _resultobj
;
5765 PyObject
* _argo0
= 0;
5766 PyObject
* _obj1
= 0;
5767 PyObject
* _obj2
= 0;
5768 char *_kwnames
[] = { "self","self","_class", NULL
};
5771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyLog__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
5774 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5775 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLog_p")) {
5776 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLog__setCallbackInfo. Expected _wxPyLog_p.");
5787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5788 wxPyLog__setCallbackInfo(_arg0
,_arg1
,_arg2
);
5790 wxPyEndAllowThreads(__tstate
);
5791 if (PyErr_Occurred()) return NULL
;
5792 } Py_INCREF(Py_None
);
5793 _resultobj
= Py_None
;
5797 static void wxPyLog_Destroy(wxPyLog
*self
) { delete self
; }
5798 static PyObject
*_wrap_wxPyLog_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5799 PyObject
* _resultobj
;
5801 PyObject
* _argo0
= 0;
5802 char *_kwnames
[] = { "self", NULL
};
5805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyLog_Destroy",_kwnames
,&_argo0
))
5808 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5809 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLog_p")) {
5810 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLog_Destroy. Expected _wxPyLog_p.");
5815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5816 wxPyLog_Destroy(_arg0
);
5818 wxPyEndAllowThreads(__tstate
);
5819 if (PyErr_Occurred()) return NULL
;
5820 } Py_INCREF(Py_None
);
5821 _resultobj
= Py_None
;
5825 static void *SwigwxProcessEventTowxEvent(void *ptr
) {
5826 wxProcessEvent
*src
;
5828 src
= (wxProcessEvent
*) ptr
;
5829 dest
= (wxEvent
*) src
;
5830 return (void *) dest
;
5833 static void *SwigwxProcessEventTowxObject(void *ptr
) {
5834 wxProcessEvent
*src
;
5836 src
= (wxProcessEvent
*) ptr
;
5837 dest
= (wxObject
*) src
;
5838 return (void *) dest
;
5841 #define new_wxProcessEvent(_swigarg0,_swigarg1,_swigarg2) (new wxProcessEvent(_swigarg0,_swigarg1,_swigarg2))
5842 static PyObject
*_wrap_new_wxProcessEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5843 PyObject
* _resultobj
;
5844 wxProcessEvent
* _result
;
5845 int _arg0
= (int ) 0;
5846 int _arg1
= (int ) 0;
5847 int _arg2
= (int ) 0;
5848 char *_kwnames
[] = { "id","pid","exitcode", NULL
};
5852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iii:new_wxProcessEvent",_kwnames
,&_arg0
,&_arg1
,&_arg2
))
5855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5856 _result
= (wxProcessEvent
*)new_wxProcessEvent(_arg0
,_arg1
,_arg2
);
5858 wxPyEndAllowThreads(__tstate
);
5859 if (PyErr_Occurred()) return NULL
;
5861 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxProcessEvent_p");
5862 _resultobj
= Py_BuildValue("s",_ptemp
);
5865 _resultobj
= Py_None
;
5870 #define wxProcessEvent_GetPid(_swigobj) (_swigobj->GetPid())
5871 static PyObject
*_wrap_wxProcessEvent_GetPid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5872 PyObject
* _resultobj
;
5874 wxProcessEvent
* _arg0
;
5875 PyObject
* _argo0
= 0;
5876 char *_kwnames
[] = { "self", NULL
};
5879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcessEvent_GetPid",_kwnames
,&_argo0
))
5882 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5883 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
5884 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_GetPid. Expected _wxProcessEvent_p.");
5889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5890 _result
= (int )wxProcessEvent_GetPid(_arg0
);
5892 wxPyEndAllowThreads(__tstate
);
5893 if (PyErr_Occurred()) return NULL
;
5894 } _resultobj
= Py_BuildValue("i",_result
);
5898 #define wxProcessEvent_GetExitCode(_swigobj) (_swigobj->GetExitCode())
5899 static PyObject
*_wrap_wxProcessEvent_GetExitCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5900 PyObject
* _resultobj
;
5902 wxProcessEvent
* _arg0
;
5903 PyObject
* _argo0
= 0;
5904 char *_kwnames
[] = { "self", NULL
};
5907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcessEvent_GetExitCode",_kwnames
,&_argo0
))
5910 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5911 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
5912 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_GetExitCode. Expected _wxProcessEvent_p.");
5917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5918 _result
= (int )wxProcessEvent_GetExitCode(_arg0
);
5920 wxPyEndAllowThreads(__tstate
);
5921 if (PyErr_Occurred()) return NULL
;
5922 } _resultobj
= Py_BuildValue("i",_result
);
5926 #define wxProcessEvent_m_pid_set(_swigobj,_swigval) (_swigobj->m_pid = _swigval,_swigval)
5927 static PyObject
*_wrap_wxProcessEvent_m_pid_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5928 PyObject
* _resultobj
;
5930 wxProcessEvent
* _arg0
;
5932 PyObject
* _argo0
= 0;
5933 char *_kwnames
[] = { "self","m_pid", NULL
};
5936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxProcessEvent_m_pid_set",_kwnames
,&_argo0
,&_arg1
))
5939 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5940 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
5941 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_m_pid_set. Expected _wxProcessEvent_p.");
5946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5947 _result
= (int )wxProcessEvent_m_pid_set(_arg0
,_arg1
);
5949 wxPyEndAllowThreads(__tstate
);
5950 if (PyErr_Occurred()) return NULL
;
5951 } _resultobj
= Py_BuildValue("i",_result
);
5955 #define wxProcessEvent_m_pid_get(_swigobj) ((int ) _swigobj->m_pid)
5956 static PyObject
*_wrap_wxProcessEvent_m_pid_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5957 PyObject
* _resultobj
;
5959 wxProcessEvent
* _arg0
;
5960 PyObject
* _argo0
= 0;
5961 char *_kwnames
[] = { "self", NULL
};
5964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcessEvent_m_pid_get",_kwnames
,&_argo0
))
5967 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5968 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
5969 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_m_pid_get. Expected _wxProcessEvent_p.");
5974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5975 _result
= (int )wxProcessEvent_m_pid_get(_arg0
);
5977 wxPyEndAllowThreads(__tstate
);
5978 if (PyErr_Occurred()) return NULL
;
5979 } _resultobj
= Py_BuildValue("i",_result
);
5983 #define wxProcessEvent_m_exitcode_set(_swigobj,_swigval) (_swigobj->m_exitcode = _swigval,_swigval)
5984 static PyObject
*_wrap_wxProcessEvent_m_exitcode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5985 PyObject
* _resultobj
;
5987 wxProcessEvent
* _arg0
;
5989 PyObject
* _argo0
= 0;
5990 char *_kwnames
[] = { "self","m_exitcode", NULL
};
5993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxProcessEvent_m_exitcode_set",_kwnames
,&_argo0
,&_arg1
))
5996 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5997 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
5998 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_m_exitcode_set. Expected _wxProcessEvent_p.");
6003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6004 _result
= (int )wxProcessEvent_m_exitcode_set(_arg0
,_arg1
);
6006 wxPyEndAllowThreads(__tstate
);
6007 if (PyErr_Occurred()) return NULL
;
6008 } _resultobj
= Py_BuildValue("i",_result
);
6012 #define wxProcessEvent_m_exitcode_get(_swigobj) ((int ) _swigobj->m_exitcode)
6013 static PyObject
*_wrap_wxProcessEvent_m_exitcode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6014 PyObject
* _resultobj
;
6016 wxProcessEvent
* _arg0
;
6017 PyObject
* _argo0
= 0;
6018 char *_kwnames
[] = { "self", NULL
};
6021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcessEvent_m_exitcode_get",_kwnames
,&_argo0
))
6024 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6025 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
6026 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_m_exitcode_get. Expected _wxProcessEvent_p.");
6031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6032 _result
= (int )wxProcessEvent_m_exitcode_get(_arg0
);
6034 wxPyEndAllowThreads(__tstate
);
6035 if (PyErr_Occurred()) return NULL
;
6036 } _resultobj
= Py_BuildValue("i",_result
);
6040 static void *SwigwxPyProcessTowxEvtHandler(void *ptr
) {
6043 src
= (wxPyProcess
*) ptr
;
6044 dest
= (wxEvtHandler
*) src
;
6045 return (void *) dest
;
6048 static void *SwigwxPyProcessTowxObject(void *ptr
) {
6051 src
= (wxPyProcess
*) ptr
;
6052 dest
= (wxObject
*) src
;
6053 return (void *) dest
;
6056 #define new_wxProcess(_swigarg0,_swigarg1) (new wxPyProcess(_swigarg0,_swigarg1))
6057 static PyObject
*_wrap_new_wxProcess(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6058 PyObject
* _resultobj
;
6059 wxPyProcess
* _result
;
6060 wxEvtHandler
* _arg0
= (wxEvtHandler
*) NULL
;
6061 int _arg1
= (int ) -1;
6062 PyObject
* _argo0
= 0;
6063 char *_kwnames
[] = { "parent","id", NULL
};
6067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|Oi:new_wxProcess",_kwnames
,&_argo0
,&_arg1
))
6070 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6071 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
6072 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxProcess. Expected _wxEvtHandler_p.");
6077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6078 _result
= (wxPyProcess
*)new_wxProcess(_arg0
,_arg1
);
6080 wxPyEndAllowThreads(__tstate
);
6081 if (PyErr_Occurred()) return NULL
;
6083 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyProcess_p");
6084 _resultobj
= Py_BuildValue("s",_ptemp
);
6087 _resultobj
= Py_None
;
6092 static void wxPyProcess_Destroy(wxPyProcess
*self
) { delete self
; }
6093 static PyObject
*_wrap_wxProcess_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6094 PyObject
* _resultobj
;
6095 wxPyProcess
* _arg0
;
6096 PyObject
* _argo0
= 0;
6097 char *_kwnames
[] = { "self", NULL
};
6100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_Destroy",_kwnames
,&_argo0
))
6103 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6104 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6105 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_Destroy. Expected _wxPyProcess_p.");
6110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6111 wxPyProcess_Destroy(_arg0
);
6113 wxPyEndAllowThreads(__tstate
);
6114 if (PyErr_Occurred()) return NULL
;
6115 } Py_INCREF(Py_None
);
6116 _resultobj
= Py_None
;
6120 #define wxProcess__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
6121 static PyObject
*_wrap_wxProcess__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6122 PyObject
* _resultobj
;
6123 wxPyProcess
* _arg0
;
6126 PyObject
* _argo0
= 0;
6127 PyObject
* _obj1
= 0;
6128 PyObject
* _obj2
= 0;
6129 char *_kwnames
[] = { "self","self","_class", NULL
};
6132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxProcess__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
6135 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6136 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6137 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess__setCallbackInfo. Expected _wxPyProcess_p.");
6148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6149 wxProcess__setCallbackInfo(_arg0
,_arg1
,_arg2
);
6151 wxPyEndAllowThreads(__tstate
);
6152 if (PyErr_Occurred()) return NULL
;
6153 } Py_INCREF(Py_None
);
6154 _resultobj
= Py_None
;
6158 #define wxProcess_base_OnTerminate(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnTerminate(_swigarg0,_swigarg1))
6159 static PyObject
*_wrap_wxProcess_base_OnTerminate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6160 PyObject
* _resultobj
;
6161 wxPyProcess
* _arg0
;
6164 PyObject
* _argo0
= 0;
6165 char *_kwnames
[] = { "self","pid","status", NULL
};
6168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxProcess_base_OnTerminate",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6171 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6172 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6173 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_base_OnTerminate. Expected _wxPyProcess_p.");
6178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6179 wxProcess_base_OnTerminate(_arg0
,_arg1
,_arg2
);
6181 wxPyEndAllowThreads(__tstate
);
6182 if (PyErr_Occurred()) return NULL
;
6183 } Py_INCREF(Py_None
);
6184 _resultobj
= Py_None
;
6188 #define wxProcess_Redirect(_swigobj) (_swigobj->Redirect())
6189 static PyObject
*_wrap_wxProcess_Redirect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6190 PyObject
* _resultobj
;
6191 wxPyProcess
* _arg0
;
6192 PyObject
* _argo0
= 0;
6193 char *_kwnames
[] = { "self", NULL
};
6196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_Redirect",_kwnames
,&_argo0
))
6199 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6200 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6201 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_Redirect. Expected _wxPyProcess_p.");
6206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6207 wxProcess_Redirect(_arg0
);
6209 wxPyEndAllowThreads(__tstate
);
6210 if (PyErr_Occurred()) return NULL
;
6211 } Py_INCREF(Py_None
);
6212 _resultobj
= Py_None
;
6216 #define wxProcess_IsRedirected(_swigobj) (_swigobj->IsRedirected())
6217 static PyObject
*_wrap_wxProcess_IsRedirected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6218 PyObject
* _resultobj
;
6220 wxPyProcess
* _arg0
;
6221 PyObject
* _argo0
= 0;
6222 char *_kwnames
[] = { "self", NULL
};
6225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_IsRedirected",_kwnames
,&_argo0
))
6228 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6229 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6230 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_IsRedirected. Expected _wxPyProcess_p.");
6235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6236 _result
= (bool )wxProcess_IsRedirected(_arg0
);
6238 wxPyEndAllowThreads(__tstate
);
6239 if (PyErr_Occurred()) return NULL
;
6240 } _resultobj
= Py_BuildValue("i",_result
);
6244 #define wxProcess_Detach(_swigobj) (_swigobj->Detach())
6245 static PyObject
*_wrap_wxProcess_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6246 PyObject
* _resultobj
;
6247 wxPyProcess
* _arg0
;
6248 PyObject
* _argo0
= 0;
6249 char *_kwnames
[] = { "self", NULL
};
6252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_Detach",_kwnames
,&_argo0
))
6255 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6256 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6257 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_Detach. Expected _wxPyProcess_p.");
6262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6263 wxProcess_Detach(_arg0
);
6265 wxPyEndAllowThreads(__tstate
);
6266 if (PyErr_Occurred()) return NULL
;
6267 } Py_INCREF(Py_None
);
6268 _resultobj
= Py_None
;
6272 #define wxProcess_GetInputStream(_swigobj) (_swigobj->GetInputStream())
6273 static PyObject
*_wrap_wxProcess_GetInputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6274 PyObject
* _resultobj
;
6275 wxInputStream
* _result
;
6276 wxPyProcess
* _arg0
;
6277 PyObject
* _argo0
= 0;
6278 char *_kwnames
[] = { "self", NULL
};
6281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_GetInputStream",_kwnames
,&_argo0
))
6284 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6285 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6286 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_GetInputStream. Expected _wxPyProcess_p.");
6291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6292 _result
= (wxInputStream
*)wxProcess_GetInputStream(_arg0
);
6294 wxPyEndAllowThreads(__tstate
);
6295 if (PyErr_Occurred()) return NULL
;
6297 wxPyInputStream
* _ptr
= NULL
;
6300 _ptr
= new wxPyInputStream(_result
);
6302 _resultobj
= wxPyConstructObject(_ptr
, "wxInputStream", TRUE
);
6307 #define wxProcess_GetErrorStream(_swigobj) (_swigobj->GetErrorStream())
6308 static PyObject
*_wrap_wxProcess_GetErrorStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6309 PyObject
* _resultobj
;
6310 wxInputStream
* _result
;
6311 wxPyProcess
* _arg0
;
6312 PyObject
* _argo0
= 0;
6313 char *_kwnames
[] = { "self", NULL
};
6316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_GetErrorStream",_kwnames
,&_argo0
))
6319 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6320 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6321 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_GetErrorStream. Expected _wxPyProcess_p.");
6326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6327 _result
= (wxInputStream
*)wxProcess_GetErrorStream(_arg0
);
6329 wxPyEndAllowThreads(__tstate
);
6330 if (PyErr_Occurred()) return NULL
;
6332 wxPyInputStream
* _ptr
= NULL
;
6335 _ptr
= new wxPyInputStream(_result
);
6337 _resultobj
= wxPyConstructObject(_ptr
, "wxInputStream", TRUE
);
6342 #define wxProcess_GetOutputStream(_swigobj) (_swigobj->GetOutputStream())
6343 static PyObject
*_wrap_wxProcess_GetOutputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6344 PyObject
* _resultobj
;
6345 wxOutputStream
* _result
;
6346 wxPyProcess
* _arg0
;
6347 PyObject
* _argo0
= 0;
6348 char *_kwnames
[] = { "self", NULL
};
6352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_GetOutputStream",_kwnames
,&_argo0
))
6355 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6356 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6357 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_GetOutputStream. Expected _wxPyProcess_p.");
6362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6363 _result
= (wxOutputStream
*)wxProcess_GetOutputStream(_arg0
);
6365 wxPyEndAllowThreads(__tstate
);
6366 if (PyErr_Occurred()) return NULL
;
6368 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxOutputStream_p");
6369 _resultobj
= Py_BuildValue("s",_ptemp
);
6372 _resultobj
= Py_None
;
6377 #define wxProcess_CloseOutput(_swigobj) (_swigobj->CloseOutput())
6378 static PyObject
*_wrap_wxProcess_CloseOutput(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6379 PyObject
* _resultobj
;
6380 wxPyProcess
* _arg0
;
6381 PyObject
* _argo0
= 0;
6382 char *_kwnames
[] = { "self", NULL
};
6385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_CloseOutput",_kwnames
,&_argo0
))
6388 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6389 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6390 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_CloseOutput. Expected _wxPyProcess_p.");
6395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6396 wxProcess_CloseOutput(_arg0
);
6398 wxPyEndAllowThreads(__tstate
);
6399 if (PyErr_Occurred()) return NULL
;
6400 } Py_INCREF(Py_None
);
6401 _resultobj
= Py_None
;
6405 static void *SwigwxJoystickTowxObject(void *ptr
) {
6408 src
= (wxJoystick
*) ptr
;
6409 dest
= (wxObject
*) src
;
6410 return (void *) dest
;
6413 #define new_wxJoystick(_swigarg0) (new wxJoystick(_swigarg0))
6414 static PyObject
*_wrap_new_wxJoystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6415 PyObject
* _resultobj
;
6416 wxJoystick
* _result
;
6417 int _arg0
= (int ) wxJOYSTICK1
;
6418 char *_kwnames
[] = { "joystick", NULL
};
6422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxJoystick",_kwnames
,&_arg0
))
6425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6426 _result
= (wxJoystick
*)new_wxJoystick(_arg0
);
6428 wxPyEndAllowThreads(__tstate
);
6429 if (PyErr_Occurred()) return NULL
;
6431 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxJoystick_p");
6432 _resultobj
= Py_BuildValue("s",_ptemp
);
6435 _resultobj
= Py_None
;
6440 #define delete_wxJoystick(_swigobj) (delete _swigobj)
6441 static PyObject
*_wrap_delete_wxJoystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6442 PyObject
* _resultobj
;
6444 PyObject
* _argo0
= 0;
6445 char *_kwnames
[] = { "self", NULL
};
6448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxJoystick",_kwnames
,&_argo0
))
6451 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6452 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6453 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxJoystick. Expected _wxJoystick_p.");
6458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6459 delete_wxJoystick(_arg0
);
6461 wxPyEndAllowThreads(__tstate
);
6462 if (PyErr_Occurred()) return NULL
;
6463 } Py_INCREF(Py_None
);
6464 _resultobj
= Py_None
;
6468 #define wxJoystick_GetPosition(_swigobj) (_swigobj->GetPosition())
6469 static PyObject
*_wrap_wxJoystick_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6470 PyObject
* _resultobj
;
6473 PyObject
* _argo0
= 0;
6474 char *_kwnames
[] = { "self", NULL
};
6478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPosition",_kwnames
,&_argo0
))
6481 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6482 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6483 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPosition. Expected _wxJoystick_p.");
6488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6489 _result
= new wxPoint (wxJoystick_GetPosition(_arg0
));
6491 wxPyEndAllowThreads(__tstate
);
6492 if (PyErr_Occurred()) return NULL
;
6493 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
6494 _resultobj
= Py_BuildValue("s",_ptemp
);
6498 #define wxJoystick_GetZPosition(_swigobj) (_swigobj->GetZPosition())
6499 static PyObject
*_wrap_wxJoystick_GetZPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6500 PyObject
* _resultobj
;
6503 PyObject
* _argo0
= 0;
6504 char *_kwnames
[] = { "self", NULL
};
6507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetZPosition",_kwnames
,&_argo0
))
6510 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6511 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6512 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetZPosition. Expected _wxJoystick_p.");
6517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6518 _result
= (int )wxJoystick_GetZPosition(_arg0
);
6520 wxPyEndAllowThreads(__tstate
);
6521 if (PyErr_Occurred()) return NULL
;
6522 } _resultobj
= Py_BuildValue("i",_result
);
6526 #define wxJoystick_GetButtonState(_swigobj) (_swigobj->GetButtonState())
6527 static PyObject
*_wrap_wxJoystick_GetButtonState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6528 PyObject
* _resultobj
;
6531 PyObject
* _argo0
= 0;
6532 char *_kwnames
[] = { "self", NULL
};
6535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetButtonState",_kwnames
,&_argo0
))
6538 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6539 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6540 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetButtonState. Expected _wxJoystick_p.");
6545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6546 _result
= (int )wxJoystick_GetButtonState(_arg0
);
6548 wxPyEndAllowThreads(__tstate
);
6549 if (PyErr_Occurred()) return NULL
;
6550 } _resultobj
= Py_BuildValue("i",_result
);
6554 #define wxJoystick_GetPOVPosition(_swigobj) (_swigobj->GetPOVPosition())
6555 static PyObject
*_wrap_wxJoystick_GetPOVPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6556 PyObject
* _resultobj
;
6559 PyObject
* _argo0
= 0;
6560 char *_kwnames
[] = { "self", NULL
};
6563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPOVPosition",_kwnames
,&_argo0
))
6566 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6567 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6568 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPOVPosition. Expected _wxJoystick_p.");
6573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6574 _result
= (int )wxJoystick_GetPOVPosition(_arg0
);
6576 wxPyEndAllowThreads(__tstate
);
6577 if (PyErr_Occurred()) return NULL
;
6578 } _resultobj
= Py_BuildValue("i",_result
);
6582 #define wxJoystick_GetPOVCTSPosition(_swigobj) (_swigobj->GetPOVCTSPosition())
6583 static PyObject
*_wrap_wxJoystick_GetPOVCTSPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6584 PyObject
* _resultobj
;
6587 PyObject
* _argo0
= 0;
6588 char *_kwnames
[] = { "self", NULL
};
6591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPOVCTSPosition",_kwnames
,&_argo0
))
6594 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6595 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6596 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPOVCTSPosition. Expected _wxJoystick_p.");
6601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6602 _result
= (int )wxJoystick_GetPOVCTSPosition(_arg0
);
6604 wxPyEndAllowThreads(__tstate
);
6605 if (PyErr_Occurred()) return NULL
;
6606 } _resultobj
= Py_BuildValue("i",_result
);
6610 #define wxJoystick_GetRudderPosition(_swigobj) (_swigobj->GetRudderPosition())
6611 static PyObject
*_wrap_wxJoystick_GetRudderPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6612 PyObject
* _resultobj
;
6615 PyObject
* _argo0
= 0;
6616 char *_kwnames
[] = { "self", NULL
};
6619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetRudderPosition",_kwnames
,&_argo0
))
6622 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6623 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6624 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetRudderPosition. Expected _wxJoystick_p.");
6629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6630 _result
= (int )wxJoystick_GetRudderPosition(_arg0
);
6632 wxPyEndAllowThreads(__tstate
);
6633 if (PyErr_Occurred()) return NULL
;
6634 } _resultobj
= Py_BuildValue("i",_result
);
6638 #define wxJoystick_GetUPosition(_swigobj) (_swigobj->GetUPosition())
6639 static PyObject
*_wrap_wxJoystick_GetUPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6640 PyObject
* _resultobj
;
6643 PyObject
* _argo0
= 0;
6644 char *_kwnames
[] = { "self", NULL
};
6647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetUPosition",_kwnames
,&_argo0
))
6650 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6651 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6652 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetUPosition. Expected _wxJoystick_p.");
6657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6658 _result
= (int )wxJoystick_GetUPosition(_arg0
);
6660 wxPyEndAllowThreads(__tstate
);
6661 if (PyErr_Occurred()) return NULL
;
6662 } _resultobj
= Py_BuildValue("i",_result
);
6666 #define wxJoystick_GetVPosition(_swigobj) (_swigobj->GetVPosition())
6667 static PyObject
*_wrap_wxJoystick_GetVPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6668 PyObject
* _resultobj
;
6671 PyObject
* _argo0
= 0;
6672 char *_kwnames
[] = { "self", NULL
};
6675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetVPosition",_kwnames
,&_argo0
))
6678 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6679 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6680 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetVPosition. Expected _wxJoystick_p.");
6685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6686 _result
= (int )wxJoystick_GetVPosition(_arg0
);
6688 wxPyEndAllowThreads(__tstate
);
6689 if (PyErr_Occurred()) return NULL
;
6690 } _resultobj
= Py_BuildValue("i",_result
);
6694 #define wxJoystick_GetMovementThreshold(_swigobj) (_swigobj->GetMovementThreshold())
6695 static PyObject
*_wrap_wxJoystick_GetMovementThreshold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6696 PyObject
* _resultobj
;
6699 PyObject
* _argo0
= 0;
6700 char *_kwnames
[] = { "self", NULL
};
6703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetMovementThreshold",_kwnames
,&_argo0
))
6706 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6707 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6708 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetMovementThreshold. Expected _wxJoystick_p.");
6713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6714 _result
= (int )wxJoystick_GetMovementThreshold(_arg0
);
6716 wxPyEndAllowThreads(__tstate
);
6717 if (PyErr_Occurred()) return NULL
;
6718 } _resultobj
= Py_BuildValue("i",_result
);
6722 #define wxJoystick_SetMovementThreshold(_swigobj,_swigarg0) (_swigobj->SetMovementThreshold(_swigarg0))
6723 static PyObject
*_wrap_wxJoystick_SetMovementThreshold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6724 PyObject
* _resultobj
;
6727 PyObject
* _argo0
= 0;
6728 char *_kwnames
[] = { "self","threshold", NULL
};
6731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxJoystick_SetMovementThreshold",_kwnames
,&_argo0
,&_arg1
))
6734 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6735 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6736 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_SetMovementThreshold. Expected _wxJoystick_p.");
6741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6742 wxJoystick_SetMovementThreshold(_arg0
,_arg1
);
6744 wxPyEndAllowThreads(__tstate
);
6745 if (PyErr_Occurred()) return NULL
;
6746 } Py_INCREF(Py_None
);
6747 _resultobj
= Py_None
;
6751 #define wxJoystick_IsOk(_swigobj) (_swigobj->IsOk())
6752 static PyObject
*_wrap_wxJoystick_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6753 PyObject
* _resultobj
;
6756 PyObject
* _argo0
= 0;
6757 char *_kwnames
[] = { "self", NULL
};
6760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_IsOk",_kwnames
,&_argo0
))
6763 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6764 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6765 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_IsOk. Expected _wxJoystick_p.");
6770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6771 _result
= (bool )wxJoystick_IsOk(_arg0
);
6773 wxPyEndAllowThreads(__tstate
);
6774 if (PyErr_Occurred()) return NULL
;
6775 } _resultobj
= Py_BuildValue("i",_result
);
6779 #define wxJoystick_GetNumberJoysticks(_swigobj) (_swigobj->GetNumberJoysticks())
6780 static PyObject
*_wrap_wxJoystick_GetNumberJoysticks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6781 PyObject
* _resultobj
;
6784 PyObject
* _argo0
= 0;
6785 char *_kwnames
[] = { "self", NULL
};
6788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetNumberJoysticks",_kwnames
,&_argo0
))
6791 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6792 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6793 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetNumberJoysticks. Expected _wxJoystick_p.");
6798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6799 _result
= (int )wxJoystick_GetNumberJoysticks(_arg0
);
6801 wxPyEndAllowThreads(__tstate
);
6802 if (PyErr_Occurred()) return NULL
;
6803 } _resultobj
= Py_BuildValue("i",_result
);
6807 #define wxJoystick_GetManufacturerId(_swigobj) (_swigobj->GetManufacturerId())
6808 static PyObject
*_wrap_wxJoystick_GetManufacturerId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6809 PyObject
* _resultobj
;
6812 PyObject
* _argo0
= 0;
6813 char *_kwnames
[] = { "self", NULL
};
6816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetManufacturerId",_kwnames
,&_argo0
))
6819 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6820 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6821 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetManufacturerId. Expected _wxJoystick_p.");
6826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6827 _result
= (int )wxJoystick_GetManufacturerId(_arg0
);
6829 wxPyEndAllowThreads(__tstate
);
6830 if (PyErr_Occurred()) return NULL
;
6831 } _resultobj
= Py_BuildValue("i",_result
);
6835 #define wxJoystick_GetProductId(_swigobj) (_swigobj->GetProductId())
6836 static PyObject
*_wrap_wxJoystick_GetProductId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6837 PyObject
* _resultobj
;
6840 PyObject
* _argo0
= 0;
6841 char *_kwnames
[] = { "self", NULL
};
6844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetProductId",_kwnames
,&_argo0
))
6847 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6848 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6849 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetProductId. Expected _wxJoystick_p.");
6854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6855 _result
= (int )wxJoystick_GetProductId(_arg0
);
6857 wxPyEndAllowThreads(__tstate
);
6858 if (PyErr_Occurred()) return NULL
;
6859 } _resultobj
= Py_BuildValue("i",_result
);
6863 #define wxJoystick_GetProductName(_swigobj) (_swigobj->GetProductName())
6864 static PyObject
*_wrap_wxJoystick_GetProductName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6865 PyObject
* _resultobj
;
6868 PyObject
* _argo0
= 0;
6869 char *_kwnames
[] = { "self", NULL
};
6872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetProductName",_kwnames
,&_argo0
))
6875 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6876 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6877 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetProductName. Expected _wxJoystick_p.");
6882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6883 _result
= new wxString (wxJoystick_GetProductName(_arg0
));
6885 wxPyEndAllowThreads(__tstate
);
6886 if (PyErr_Occurred()) return NULL
;
6888 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
6896 #define wxJoystick_GetXMin(_swigobj) (_swigobj->GetXMin())
6897 static PyObject
*_wrap_wxJoystick_GetXMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6898 PyObject
* _resultobj
;
6901 PyObject
* _argo0
= 0;
6902 char *_kwnames
[] = { "self", NULL
};
6905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetXMin",_kwnames
,&_argo0
))
6908 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6909 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6910 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetXMin. Expected _wxJoystick_p.");
6915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6916 _result
= (int )wxJoystick_GetXMin(_arg0
);
6918 wxPyEndAllowThreads(__tstate
);
6919 if (PyErr_Occurred()) return NULL
;
6920 } _resultobj
= Py_BuildValue("i",_result
);
6924 #define wxJoystick_GetYMin(_swigobj) (_swigobj->GetYMin())
6925 static PyObject
*_wrap_wxJoystick_GetYMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6926 PyObject
* _resultobj
;
6929 PyObject
* _argo0
= 0;
6930 char *_kwnames
[] = { "self", NULL
};
6933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetYMin",_kwnames
,&_argo0
))
6936 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6937 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6938 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetYMin. Expected _wxJoystick_p.");
6943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6944 _result
= (int )wxJoystick_GetYMin(_arg0
);
6946 wxPyEndAllowThreads(__tstate
);
6947 if (PyErr_Occurred()) return NULL
;
6948 } _resultobj
= Py_BuildValue("i",_result
);
6952 #define wxJoystick_GetZMin(_swigobj) (_swigobj->GetZMin())
6953 static PyObject
*_wrap_wxJoystick_GetZMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6954 PyObject
* _resultobj
;
6957 PyObject
* _argo0
= 0;
6958 char *_kwnames
[] = { "self", NULL
};
6961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetZMin",_kwnames
,&_argo0
))
6964 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6965 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6966 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetZMin. Expected _wxJoystick_p.");
6971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6972 _result
= (int )wxJoystick_GetZMin(_arg0
);
6974 wxPyEndAllowThreads(__tstate
);
6975 if (PyErr_Occurred()) return NULL
;
6976 } _resultobj
= Py_BuildValue("i",_result
);
6980 #define wxJoystick_GetXMax(_swigobj) (_swigobj->GetXMax())
6981 static PyObject
*_wrap_wxJoystick_GetXMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6982 PyObject
* _resultobj
;
6985 PyObject
* _argo0
= 0;
6986 char *_kwnames
[] = { "self", NULL
};
6989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetXMax",_kwnames
,&_argo0
))
6992 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6993 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6994 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetXMax. Expected _wxJoystick_p.");
6999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7000 _result
= (int )wxJoystick_GetXMax(_arg0
);
7002 wxPyEndAllowThreads(__tstate
);
7003 if (PyErr_Occurred()) return NULL
;
7004 } _resultobj
= Py_BuildValue("i",_result
);
7008 #define wxJoystick_GetYMax(_swigobj) (_swigobj->GetYMax())
7009 static PyObject
*_wrap_wxJoystick_GetYMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7010 PyObject
* _resultobj
;
7013 PyObject
* _argo0
= 0;
7014 char *_kwnames
[] = { "self", NULL
};
7017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetYMax",_kwnames
,&_argo0
))
7020 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7021 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7022 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetYMax. Expected _wxJoystick_p.");
7027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7028 _result
= (int )wxJoystick_GetYMax(_arg0
);
7030 wxPyEndAllowThreads(__tstate
);
7031 if (PyErr_Occurred()) return NULL
;
7032 } _resultobj
= Py_BuildValue("i",_result
);
7036 #define wxJoystick_GetZMax(_swigobj) (_swigobj->GetZMax())
7037 static PyObject
*_wrap_wxJoystick_GetZMax(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_GetZMax",_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_GetZMax. Expected _wxJoystick_p.");
7055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7056 _result
= (int )wxJoystick_GetZMax(_arg0
);
7058 wxPyEndAllowThreads(__tstate
);
7059 if (PyErr_Occurred()) return NULL
;
7060 } _resultobj
= Py_BuildValue("i",_result
);
7064 #define wxJoystick_GetNumberButtons(_swigobj) (_swigobj->GetNumberButtons())
7065 static PyObject
*_wrap_wxJoystick_GetNumberButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7066 PyObject
* _resultobj
;
7069 PyObject
* _argo0
= 0;
7070 char *_kwnames
[] = { "self", NULL
};
7073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetNumberButtons",_kwnames
,&_argo0
))
7076 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7077 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7078 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetNumberButtons. Expected _wxJoystick_p.");
7083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7084 _result
= (int )wxJoystick_GetNumberButtons(_arg0
);
7086 wxPyEndAllowThreads(__tstate
);
7087 if (PyErr_Occurred()) return NULL
;
7088 } _resultobj
= Py_BuildValue("i",_result
);
7092 #define wxJoystick_GetNumberAxes(_swigobj) (_swigobj->GetNumberAxes())
7093 static PyObject
*_wrap_wxJoystick_GetNumberAxes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7094 PyObject
* _resultobj
;
7097 PyObject
* _argo0
= 0;
7098 char *_kwnames
[] = { "self", NULL
};
7101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetNumberAxes",_kwnames
,&_argo0
))
7104 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7105 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7106 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetNumberAxes. Expected _wxJoystick_p.");
7111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7112 _result
= (int )wxJoystick_GetNumberAxes(_arg0
);
7114 wxPyEndAllowThreads(__tstate
);
7115 if (PyErr_Occurred()) return NULL
;
7116 } _resultobj
= Py_BuildValue("i",_result
);
7120 #define wxJoystick_GetMaxButtons(_swigobj) (_swigobj->GetMaxButtons())
7121 static PyObject
*_wrap_wxJoystick_GetMaxButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7122 PyObject
* _resultobj
;
7125 PyObject
* _argo0
= 0;
7126 char *_kwnames
[] = { "self", NULL
};
7129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetMaxButtons",_kwnames
,&_argo0
))
7132 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7133 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7134 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetMaxButtons. Expected _wxJoystick_p.");
7139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7140 _result
= (int )wxJoystick_GetMaxButtons(_arg0
);
7142 wxPyEndAllowThreads(__tstate
);
7143 if (PyErr_Occurred()) return NULL
;
7144 } _resultobj
= Py_BuildValue("i",_result
);
7148 #define wxJoystick_GetMaxAxes(_swigobj) (_swigobj->GetMaxAxes())
7149 static PyObject
*_wrap_wxJoystick_GetMaxAxes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7150 PyObject
* _resultobj
;
7153 PyObject
* _argo0
= 0;
7154 char *_kwnames
[] = { "self", NULL
};
7157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetMaxAxes",_kwnames
,&_argo0
))
7160 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7161 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7162 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetMaxAxes. Expected _wxJoystick_p.");
7167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7168 _result
= (int )wxJoystick_GetMaxAxes(_arg0
);
7170 wxPyEndAllowThreads(__tstate
);
7171 if (PyErr_Occurred()) return NULL
;
7172 } _resultobj
= Py_BuildValue("i",_result
);
7176 #define wxJoystick_GetPollingMin(_swigobj) (_swigobj->GetPollingMin())
7177 static PyObject
*_wrap_wxJoystick_GetPollingMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7178 PyObject
* _resultobj
;
7181 PyObject
* _argo0
= 0;
7182 char *_kwnames
[] = { "self", NULL
};
7185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPollingMin",_kwnames
,&_argo0
))
7188 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7189 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7190 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPollingMin. Expected _wxJoystick_p.");
7195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7196 _result
= (int )wxJoystick_GetPollingMin(_arg0
);
7198 wxPyEndAllowThreads(__tstate
);
7199 if (PyErr_Occurred()) return NULL
;
7200 } _resultobj
= Py_BuildValue("i",_result
);
7204 #define wxJoystick_GetPollingMax(_swigobj) (_swigobj->GetPollingMax())
7205 static PyObject
*_wrap_wxJoystick_GetPollingMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7206 PyObject
* _resultobj
;
7209 PyObject
* _argo0
= 0;
7210 char *_kwnames
[] = { "self", NULL
};
7213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPollingMax",_kwnames
,&_argo0
))
7216 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7217 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7218 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPollingMax. Expected _wxJoystick_p.");
7223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7224 _result
= (int )wxJoystick_GetPollingMax(_arg0
);
7226 wxPyEndAllowThreads(__tstate
);
7227 if (PyErr_Occurred()) return NULL
;
7228 } _resultobj
= Py_BuildValue("i",_result
);
7232 #define wxJoystick_GetRudderMin(_swigobj) (_swigobj->GetRudderMin())
7233 static PyObject
*_wrap_wxJoystick_GetRudderMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7234 PyObject
* _resultobj
;
7237 PyObject
* _argo0
= 0;
7238 char *_kwnames
[] = { "self", NULL
};
7241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetRudderMin",_kwnames
,&_argo0
))
7244 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7245 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7246 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetRudderMin. Expected _wxJoystick_p.");
7251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7252 _result
= (int )wxJoystick_GetRudderMin(_arg0
);
7254 wxPyEndAllowThreads(__tstate
);
7255 if (PyErr_Occurred()) return NULL
;
7256 } _resultobj
= Py_BuildValue("i",_result
);
7260 #define wxJoystick_GetRudderMax(_swigobj) (_swigobj->GetRudderMax())
7261 static PyObject
*_wrap_wxJoystick_GetRudderMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7262 PyObject
* _resultobj
;
7265 PyObject
* _argo0
= 0;
7266 char *_kwnames
[] = { "self", NULL
};
7269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetRudderMax",_kwnames
,&_argo0
))
7272 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7273 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7274 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetRudderMax. Expected _wxJoystick_p.");
7279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7280 _result
= (int )wxJoystick_GetRudderMax(_arg0
);
7282 wxPyEndAllowThreads(__tstate
);
7283 if (PyErr_Occurred()) return NULL
;
7284 } _resultobj
= Py_BuildValue("i",_result
);
7288 #define wxJoystick_GetUMin(_swigobj) (_swigobj->GetUMin())
7289 static PyObject
*_wrap_wxJoystick_GetUMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7290 PyObject
* _resultobj
;
7293 PyObject
* _argo0
= 0;
7294 char *_kwnames
[] = { "self", NULL
};
7297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetUMin",_kwnames
,&_argo0
))
7300 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7301 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7302 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetUMin. Expected _wxJoystick_p.");
7307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7308 _result
= (int )wxJoystick_GetUMin(_arg0
);
7310 wxPyEndAllowThreads(__tstate
);
7311 if (PyErr_Occurred()) return NULL
;
7312 } _resultobj
= Py_BuildValue("i",_result
);
7316 #define wxJoystick_GetUMax(_swigobj) (_swigobj->GetUMax())
7317 static PyObject
*_wrap_wxJoystick_GetUMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7318 PyObject
* _resultobj
;
7321 PyObject
* _argo0
= 0;
7322 char *_kwnames
[] = { "self", NULL
};
7325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetUMax",_kwnames
,&_argo0
))
7328 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7329 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7330 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetUMax. Expected _wxJoystick_p.");
7335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7336 _result
= (int )wxJoystick_GetUMax(_arg0
);
7338 wxPyEndAllowThreads(__tstate
);
7339 if (PyErr_Occurred()) return NULL
;
7340 } _resultobj
= Py_BuildValue("i",_result
);
7344 #define wxJoystick_GetVMin(_swigobj) (_swigobj->GetVMin())
7345 static PyObject
*_wrap_wxJoystick_GetVMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7346 PyObject
* _resultobj
;
7349 PyObject
* _argo0
= 0;
7350 char *_kwnames
[] = { "self", NULL
};
7353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetVMin",_kwnames
,&_argo0
))
7356 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7357 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7358 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetVMin. Expected _wxJoystick_p.");
7363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7364 _result
= (int )wxJoystick_GetVMin(_arg0
);
7366 wxPyEndAllowThreads(__tstate
);
7367 if (PyErr_Occurred()) return NULL
;
7368 } _resultobj
= Py_BuildValue("i",_result
);
7372 #define wxJoystick_GetVMax(_swigobj) (_swigobj->GetVMax())
7373 static PyObject
*_wrap_wxJoystick_GetVMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7374 PyObject
* _resultobj
;
7377 PyObject
* _argo0
= 0;
7378 char *_kwnames
[] = { "self", NULL
};
7381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetVMax",_kwnames
,&_argo0
))
7384 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7385 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7386 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetVMax. Expected _wxJoystick_p.");
7391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7392 _result
= (int )wxJoystick_GetVMax(_arg0
);
7394 wxPyEndAllowThreads(__tstate
);
7395 if (PyErr_Occurred()) return NULL
;
7396 } _resultobj
= Py_BuildValue("i",_result
);
7400 #define wxJoystick_HasRudder(_swigobj) (_swigobj->HasRudder())
7401 static PyObject
*_wrap_wxJoystick_HasRudder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7402 PyObject
* _resultobj
;
7405 PyObject
* _argo0
= 0;
7406 char *_kwnames
[] = { "self", NULL
};
7409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasRudder",_kwnames
,&_argo0
))
7412 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7413 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7414 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasRudder. Expected _wxJoystick_p.");
7419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7420 _result
= (bool )wxJoystick_HasRudder(_arg0
);
7422 wxPyEndAllowThreads(__tstate
);
7423 if (PyErr_Occurred()) return NULL
;
7424 } _resultobj
= Py_BuildValue("i",_result
);
7428 #define wxJoystick_HasZ(_swigobj) (_swigobj->HasZ())
7429 static PyObject
*_wrap_wxJoystick_HasZ(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7430 PyObject
* _resultobj
;
7433 PyObject
* _argo0
= 0;
7434 char *_kwnames
[] = { "self", NULL
};
7437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasZ",_kwnames
,&_argo0
))
7440 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7441 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7442 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasZ. Expected _wxJoystick_p.");
7447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7448 _result
= (bool )wxJoystick_HasZ(_arg0
);
7450 wxPyEndAllowThreads(__tstate
);
7451 if (PyErr_Occurred()) return NULL
;
7452 } _resultobj
= Py_BuildValue("i",_result
);
7456 #define wxJoystick_HasU(_swigobj) (_swigobj->HasU())
7457 static PyObject
*_wrap_wxJoystick_HasU(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7458 PyObject
* _resultobj
;
7461 PyObject
* _argo0
= 0;
7462 char *_kwnames
[] = { "self", NULL
};
7465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasU",_kwnames
,&_argo0
))
7468 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7469 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7470 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasU. Expected _wxJoystick_p.");
7475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7476 _result
= (bool )wxJoystick_HasU(_arg0
);
7478 wxPyEndAllowThreads(__tstate
);
7479 if (PyErr_Occurred()) return NULL
;
7480 } _resultobj
= Py_BuildValue("i",_result
);
7484 #define wxJoystick_HasV(_swigobj) (_swigobj->HasV())
7485 static PyObject
*_wrap_wxJoystick_HasV(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7486 PyObject
* _resultobj
;
7489 PyObject
* _argo0
= 0;
7490 char *_kwnames
[] = { "self", NULL
};
7493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasV",_kwnames
,&_argo0
))
7496 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7497 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7498 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasV. Expected _wxJoystick_p.");
7503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7504 _result
= (bool )wxJoystick_HasV(_arg0
);
7506 wxPyEndAllowThreads(__tstate
);
7507 if (PyErr_Occurred()) return NULL
;
7508 } _resultobj
= Py_BuildValue("i",_result
);
7512 #define wxJoystick_HasPOV(_swigobj) (_swigobj->HasPOV())
7513 static PyObject
*_wrap_wxJoystick_HasPOV(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7514 PyObject
* _resultobj
;
7517 PyObject
* _argo0
= 0;
7518 char *_kwnames
[] = { "self", NULL
};
7521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasPOV",_kwnames
,&_argo0
))
7524 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7525 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7526 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasPOV. Expected _wxJoystick_p.");
7531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7532 _result
= (bool )wxJoystick_HasPOV(_arg0
);
7534 wxPyEndAllowThreads(__tstate
);
7535 if (PyErr_Occurred()) return NULL
;
7536 } _resultobj
= Py_BuildValue("i",_result
);
7540 #define wxJoystick_HasPOV4Dir(_swigobj) (_swigobj->HasPOV4Dir())
7541 static PyObject
*_wrap_wxJoystick_HasPOV4Dir(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7542 PyObject
* _resultobj
;
7545 PyObject
* _argo0
= 0;
7546 char *_kwnames
[] = { "self", NULL
};
7549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasPOV4Dir",_kwnames
,&_argo0
))
7552 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7553 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7554 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasPOV4Dir. Expected _wxJoystick_p.");
7559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7560 _result
= (bool )wxJoystick_HasPOV4Dir(_arg0
);
7562 wxPyEndAllowThreads(__tstate
);
7563 if (PyErr_Occurred()) return NULL
;
7564 } _resultobj
= Py_BuildValue("i",_result
);
7568 #define wxJoystick_HasPOVCTS(_swigobj) (_swigobj->HasPOVCTS())
7569 static PyObject
*_wrap_wxJoystick_HasPOVCTS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7570 PyObject
* _resultobj
;
7573 PyObject
* _argo0
= 0;
7574 char *_kwnames
[] = { "self", NULL
};
7577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasPOVCTS",_kwnames
,&_argo0
))
7580 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7581 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7582 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasPOVCTS. Expected _wxJoystick_p.");
7587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7588 _result
= (bool )wxJoystick_HasPOVCTS(_arg0
);
7590 wxPyEndAllowThreads(__tstate
);
7591 if (PyErr_Occurred()) return NULL
;
7592 } _resultobj
= Py_BuildValue("i",_result
);
7596 #define wxJoystick_SetCapture(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetCapture(_swigarg0,_swigarg1))
7597 static PyObject
*_wrap_wxJoystick_SetCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7598 PyObject
* _resultobj
;
7602 int _arg2
= (int ) 0;
7603 PyObject
* _argo0
= 0;
7604 PyObject
* _argo1
= 0;
7605 char *_kwnames
[] = { "self","win","pollingFreq", NULL
};
7608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxJoystick_SetCapture",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
7611 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7612 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7613 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_SetCapture. Expected _wxJoystick_p.");
7618 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7619 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
7620 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxJoystick_SetCapture. Expected _wxWindow_p.");
7625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7626 _result
= (bool )wxJoystick_SetCapture(_arg0
,_arg1
,_arg2
);
7628 wxPyEndAllowThreads(__tstate
);
7629 if (PyErr_Occurred()) return NULL
;
7630 } _resultobj
= Py_BuildValue("i",_result
);
7634 #define wxJoystick_ReleaseCapture(_swigobj) (_swigobj->ReleaseCapture())
7635 static PyObject
*_wrap_wxJoystick_ReleaseCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7636 PyObject
* _resultobj
;
7639 PyObject
* _argo0
= 0;
7640 char *_kwnames
[] = { "self", NULL
};
7643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_ReleaseCapture",_kwnames
,&_argo0
))
7646 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7647 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7648 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_ReleaseCapture. Expected _wxJoystick_p.");
7653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7654 _result
= (bool )wxJoystick_ReleaseCapture(_arg0
);
7656 wxPyEndAllowThreads(__tstate
);
7657 if (PyErr_Occurred()) return NULL
;
7658 } _resultobj
= Py_BuildValue("i",_result
);
7662 static void *SwigwxWaveTowxObject(void *ptr
) {
7665 src
= (wxWave
*) ptr
;
7666 dest
= (wxObject
*) src
;
7667 return (void *) dest
;
7670 #define new_wxWave(_swigarg0,_swigarg1) (new wxWave(_swigarg0,_swigarg1))
7671 static PyObject
*_wrap_new_wxWave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7672 PyObject
* _resultobj
;
7675 bool _arg1
= (bool ) FALSE
;
7676 PyObject
* _obj0
= 0;
7677 int tempbool1
= (int) FALSE
;
7678 char *_kwnames
[] = { "fileName","isResource", NULL
};
7682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:new_wxWave",_kwnames
,&_obj0
,&tempbool1
))
7685 #if PYTHON_API_VERSION >= 1009
7686 char* tmpPtr
; int tmpSize
;
7687 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
7688 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7691 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
7693 _arg0
= new wxString(tmpPtr
, tmpSize
);
7695 if (!PyString_Check(_obj0
)) {
7696 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7699 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
7702 _arg1
= (bool ) tempbool1
;
7704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7705 _result
= (wxWave
*)new_wxWave(*_arg0
,_arg1
);
7707 wxPyEndAllowThreads(__tstate
);
7708 if (PyErr_Occurred()) return NULL
;
7710 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWave_p");
7711 _resultobj
= Py_BuildValue("s",_ptemp
);
7714 _resultobj
= Py_None
;
7723 #define delete_wxWave(_swigobj) (delete _swigobj)
7724 static PyObject
*_wrap_delete_wxWave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7725 PyObject
* _resultobj
;
7727 PyObject
* _argo0
= 0;
7728 char *_kwnames
[] = { "self", NULL
};
7731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxWave",_kwnames
,&_argo0
))
7734 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7735 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWave_p")) {
7736 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxWave. Expected _wxWave_p.");
7741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7742 delete_wxWave(_arg0
);
7744 wxPyEndAllowThreads(__tstate
);
7745 if (PyErr_Occurred()) return NULL
;
7746 } Py_INCREF(Py_None
);
7747 _resultobj
= Py_None
;
7751 #define wxWave_IsOk(_swigobj) (_swigobj->IsOk())
7752 static PyObject
*_wrap_wxWave_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7753 PyObject
* _resultobj
;
7756 PyObject
* _argo0
= 0;
7757 char *_kwnames
[] = { "self", NULL
};
7760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWave_IsOk",_kwnames
,&_argo0
))
7763 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7764 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWave_p")) {
7765 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWave_IsOk. Expected _wxWave_p.");
7770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7771 _result
= (bool )wxWave_IsOk(_arg0
);
7773 wxPyEndAllowThreads(__tstate
);
7774 if (PyErr_Occurred()) return NULL
;
7775 } _resultobj
= Py_BuildValue("i",_result
);
7779 #define wxWave_Play(_swigobj,_swigarg0,_swigarg1) (_swigobj->Play(_swigarg0,_swigarg1))
7780 static PyObject
*_wrap_wxWave_Play(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7781 PyObject
* _resultobj
;
7784 bool _arg1
= (bool ) TRUE
;
7785 bool _arg2
= (bool ) FALSE
;
7786 PyObject
* _argo0
= 0;
7787 int tempbool1
= (int) TRUE
;
7788 int tempbool2
= (int) FALSE
;
7789 char *_kwnames
[] = { "self","async","looped", NULL
};
7792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxWave_Play",_kwnames
,&_argo0
,&tempbool1
,&tempbool2
))
7795 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7796 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWave_p")) {
7797 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWave_Play. Expected _wxWave_p.");
7801 _arg1
= (bool ) tempbool1
;
7802 _arg2
= (bool ) tempbool2
;
7804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7805 _result
= (bool )wxWave_Play(_arg0
,_arg1
,_arg2
);
7807 wxPyEndAllowThreads(__tstate
);
7808 if (PyErr_Occurred()) return NULL
;
7809 } _resultobj
= Py_BuildValue("i",_result
);
7813 #define new_wxFileTypeInfo(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxFileTypeInfo(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7814 static PyObject
*_wrap_new_wxFileTypeInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7815 PyObject
* _resultobj
;
7816 wxFileTypeInfo
* _result
;
7821 char *_kwnames
[] = { "mimeType","openCmd","printCmd","desc", NULL
};
7825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"ssss:new_wxFileTypeInfo",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
))
7828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7829 _result
= (wxFileTypeInfo
*)new_wxFileTypeInfo(_arg0
,_arg1
,_arg2
,_arg3
);
7831 wxPyEndAllowThreads(__tstate
);
7832 if (PyErr_Occurred()) return NULL
;
7834 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileTypeInfo_p");
7835 _resultobj
= Py_BuildValue("s",_ptemp
);
7838 _resultobj
= Py_None
;
7843 #define new_wxFileTypeInfoSequence(_swigarg0) (new wxFileTypeInfo(_swigarg0))
7844 static PyObject
*_wrap_new_wxFileTypeInfoSequence(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7845 PyObject
* _resultobj
;
7846 wxFileTypeInfo
* _result
;
7847 wxArrayString
* _arg0
;
7848 PyObject
* _obj0
= 0;
7849 char *_kwnames
[] = { "sArray", NULL
};
7853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxFileTypeInfoSequence",_kwnames
,&_obj0
))
7856 if (! PySequence_Check(_obj0
)) {
7857 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
7860 _arg0
= new wxArrayString
;
7861 int i
, len
=PySequence_Length(_obj0
);
7862 for (i
=0; i
<len
; i
++) {
7863 PyObject
* item
= PySequence_GetItem(_obj0
, i
);
7864 PyObject
* str
= PyObject_Str(item
);
7865 _arg0
->Add(PyString_AsString(item
));
7871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7872 _result
= (wxFileTypeInfo
*)new_wxFileTypeInfoSequence(*_arg0
);
7874 wxPyEndAllowThreads(__tstate
);
7875 if (PyErr_Occurred()) return NULL
;
7877 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileTypeInfo_p");
7878 _resultobj
= Py_BuildValue("s",_ptemp
);
7881 _resultobj
= Py_None
;
7890 #define new_wxNullFileTypeInfo() (new wxFileTypeInfo())
7891 static PyObject
*_wrap_new_wxNullFileTypeInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7892 PyObject
* _resultobj
;
7893 wxFileTypeInfo
* _result
;
7894 char *_kwnames
[] = { NULL
};
7898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxNullFileTypeInfo",_kwnames
))
7901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7902 _result
= (wxFileTypeInfo
*)new_wxNullFileTypeInfo();
7904 wxPyEndAllowThreads(__tstate
);
7905 if (PyErr_Occurred()) return NULL
;
7907 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileTypeInfo_p");
7908 _resultobj
= Py_BuildValue("s",_ptemp
);
7911 _resultobj
= Py_None
;
7916 #define wxFileTypeInfo_IsValid(_swigobj) (_swigobj->IsValid())
7917 static PyObject
*_wrap_wxFileTypeInfo_IsValid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7918 PyObject
* _resultobj
;
7920 wxFileTypeInfo
* _arg0
;
7921 PyObject
* _argo0
= 0;
7922 char *_kwnames
[] = { "self", NULL
};
7925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_IsValid",_kwnames
,&_argo0
))
7928 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7929 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
7930 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_IsValid. Expected _wxFileTypeInfo_p.");
7935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7936 _result
= (bool )wxFileTypeInfo_IsValid(_arg0
);
7938 wxPyEndAllowThreads(__tstate
);
7939 if (PyErr_Occurred()) return NULL
;
7940 } _resultobj
= Py_BuildValue("i",_result
);
7944 #define wxFileTypeInfo_SetIcon(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetIcon(_swigarg0,_swigarg1))
7945 static PyObject
*_wrap_wxFileTypeInfo_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7946 PyObject
* _resultobj
;
7947 wxFileTypeInfo
* _arg0
;
7949 int _arg2
= (int ) 0;
7950 PyObject
* _argo0
= 0;
7951 PyObject
* _obj1
= 0;
7952 char *_kwnames
[] = { "self","iconFile","iconIndex", NULL
};
7955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxFileTypeInfo_SetIcon",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
7958 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7959 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
7960 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_SetIcon. Expected _wxFileTypeInfo_p.");
7965 #if PYTHON_API_VERSION >= 1009
7966 char* tmpPtr
; int tmpSize
;
7967 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
7968 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7971 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
7973 _arg1
= new wxString(tmpPtr
, tmpSize
);
7975 if (!PyString_Check(_obj1
)) {
7976 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7979 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
7983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7984 wxFileTypeInfo_SetIcon(_arg0
,*_arg1
,_arg2
);
7986 wxPyEndAllowThreads(__tstate
);
7987 if (PyErr_Occurred()) return NULL
;
7988 } Py_INCREF(Py_None
);
7989 _resultobj
= Py_None
;
7997 #define wxFileTypeInfo_SetShortDesc(_swigobj,_swigarg0) (_swigobj->SetShortDesc(_swigarg0))
7998 static PyObject
*_wrap_wxFileTypeInfo_SetShortDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7999 PyObject
* _resultobj
;
8000 wxFileTypeInfo
* _arg0
;
8002 PyObject
* _argo0
= 0;
8003 PyObject
* _obj1
= 0;
8004 char *_kwnames
[] = { "self","shortDesc", NULL
};
8007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileTypeInfo_SetShortDesc",_kwnames
,&_argo0
,&_obj1
))
8010 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8011 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8012 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_SetShortDesc. Expected _wxFileTypeInfo_p.");
8017 #if PYTHON_API_VERSION >= 1009
8018 char* tmpPtr
; int tmpSize
;
8019 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
8020 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8023 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
8025 _arg1
= new wxString(tmpPtr
, tmpSize
);
8027 if (!PyString_Check(_obj1
)) {
8028 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8031 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
8035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8036 wxFileTypeInfo_SetShortDesc(_arg0
,*_arg1
);
8038 wxPyEndAllowThreads(__tstate
);
8039 if (PyErr_Occurred()) return NULL
;
8040 } Py_INCREF(Py_None
);
8041 _resultobj
= Py_None
;
8049 #define wxFileTypeInfo_GetMimeType(_swigobj) (_swigobj->GetMimeType())
8050 static PyObject
*_wrap_wxFileTypeInfo_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8051 PyObject
* _resultobj
;
8053 wxFileTypeInfo
* _arg0
;
8054 PyObject
* _argo0
= 0;
8055 char *_kwnames
[] = { "self", NULL
};
8058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetMimeType",_kwnames
,&_argo0
))
8061 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8062 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8063 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetMimeType. Expected _wxFileTypeInfo_p.");
8068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8069 const wxString
& _result_ref
= wxFileTypeInfo_GetMimeType(_arg0
);
8070 _result
= (wxString
*) &_result_ref
;
8072 wxPyEndAllowThreads(__tstate
);
8073 if (PyErr_Occurred()) return NULL
;
8075 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8080 #define wxFileTypeInfo_GetOpenCommand(_swigobj) (_swigobj->GetOpenCommand())
8081 static PyObject
*_wrap_wxFileTypeInfo_GetOpenCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8082 PyObject
* _resultobj
;
8084 wxFileTypeInfo
* _arg0
;
8085 PyObject
* _argo0
= 0;
8086 char *_kwnames
[] = { "self", NULL
};
8089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetOpenCommand",_kwnames
,&_argo0
))
8092 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8093 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8094 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetOpenCommand. Expected _wxFileTypeInfo_p.");
8099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8100 const wxString
& _result_ref
= wxFileTypeInfo_GetOpenCommand(_arg0
);
8101 _result
= (wxString
*) &_result_ref
;
8103 wxPyEndAllowThreads(__tstate
);
8104 if (PyErr_Occurred()) return NULL
;
8106 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8111 #define wxFileTypeInfo_GetPrintCommand(_swigobj) (_swigobj->GetPrintCommand())
8112 static PyObject
*_wrap_wxFileTypeInfo_GetPrintCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8113 PyObject
* _resultobj
;
8115 wxFileTypeInfo
* _arg0
;
8116 PyObject
* _argo0
= 0;
8117 char *_kwnames
[] = { "self", NULL
};
8120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetPrintCommand",_kwnames
,&_argo0
))
8123 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8124 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8125 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetPrintCommand. Expected _wxFileTypeInfo_p.");
8130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8131 const wxString
& _result_ref
= wxFileTypeInfo_GetPrintCommand(_arg0
);
8132 _result
= (wxString
*) &_result_ref
;
8134 wxPyEndAllowThreads(__tstate
);
8135 if (PyErr_Occurred()) return NULL
;
8137 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8142 #define wxFileTypeInfo_GetShortDesc(_swigobj) (_swigobj->GetShortDesc())
8143 static PyObject
*_wrap_wxFileTypeInfo_GetShortDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8144 PyObject
* _resultobj
;
8146 wxFileTypeInfo
* _arg0
;
8147 PyObject
* _argo0
= 0;
8148 char *_kwnames
[] = { "self", NULL
};
8151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetShortDesc",_kwnames
,&_argo0
))
8154 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8155 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8156 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetShortDesc. Expected _wxFileTypeInfo_p.");
8161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8162 const wxString
& _result_ref
= wxFileTypeInfo_GetShortDesc(_arg0
);
8163 _result
= (wxString
*) &_result_ref
;
8165 wxPyEndAllowThreads(__tstate
);
8166 if (PyErr_Occurred()) return NULL
;
8168 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8173 #define wxFileTypeInfo_GetDescription(_swigobj) (_swigobj->GetDescription())
8174 static PyObject
*_wrap_wxFileTypeInfo_GetDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8175 PyObject
* _resultobj
;
8177 wxFileTypeInfo
* _arg0
;
8178 PyObject
* _argo0
= 0;
8179 char *_kwnames
[] = { "self", NULL
};
8182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetDescription",_kwnames
,&_argo0
))
8185 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8186 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8187 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetDescription. Expected _wxFileTypeInfo_p.");
8192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8193 const wxString
& _result_ref
= wxFileTypeInfo_GetDescription(_arg0
);
8194 _result
= (wxString
*) &_result_ref
;
8196 wxPyEndAllowThreads(__tstate
);
8197 if (PyErr_Occurred()) return NULL
;
8199 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8204 static PyObject
* wxFileTypeInfo_GetExtensions(wxFileTypeInfo
*self
) {
8205 wxArrayString
& arr
= (wxArrayString
&)self
->GetExtensions();
8206 return wxArrayString2PyList_helper(arr
);
8208 static PyObject
*_wrap_wxFileTypeInfo_GetExtensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8209 PyObject
* _resultobj
;
8211 wxFileTypeInfo
* _arg0
;
8212 PyObject
* _argo0
= 0;
8213 char *_kwnames
[] = { "self", NULL
};
8216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetExtensions",_kwnames
,&_argo0
))
8219 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8220 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8221 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetExtensions. Expected _wxFileTypeInfo_p.");
8226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8227 _result
= (PyObject
*)wxFileTypeInfo_GetExtensions(_arg0
);
8229 wxPyEndAllowThreads(__tstate
);
8230 if (PyErr_Occurred()) return NULL
;
8232 _resultobj
= _result
;
8237 #define wxFileTypeInfo_GetExtensionsCount(_swigobj) (_swigobj->GetExtensionsCount())
8238 static PyObject
*_wrap_wxFileTypeInfo_GetExtensionsCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8239 PyObject
* _resultobj
;
8241 wxFileTypeInfo
* _arg0
;
8242 PyObject
* _argo0
= 0;
8243 char *_kwnames
[] = { "self", NULL
};
8246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetExtensionsCount",_kwnames
,&_argo0
))
8249 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8250 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8251 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetExtensionsCount. Expected _wxFileTypeInfo_p.");
8256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8257 _result
= (int )wxFileTypeInfo_GetExtensionsCount(_arg0
);
8259 wxPyEndAllowThreads(__tstate
);
8260 if (PyErr_Occurred()) return NULL
;
8261 } _resultobj
= Py_BuildValue("i",_result
);
8265 #define wxFileTypeInfo_GetIconFile(_swigobj) (_swigobj->GetIconFile())
8266 static PyObject
*_wrap_wxFileTypeInfo_GetIconFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8267 PyObject
* _resultobj
;
8269 wxFileTypeInfo
* _arg0
;
8270 PyObject
* _argo0
= 0;
8271 char *_kwnames
[] = { "self", NULL
};
8274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetIconFile",_kwnames
,&_argo0
))
8277 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8278 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8279 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetIconFile. Expected _wxFileTypeInfo_p.");
8284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8285 const wxString
& _result_ref
= wxFileTypeInfo_GetIconFile(_arg0
);
8286 _result
= (wxString
*) &_result_ref
;
8288 wxPyEndAllowThreads(__tstate
);
8289 if (PyErr_Occurred()) return NULL
;
8291 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8296 #define wxFileTypeInfo_GetIconIndex(_swigobj) (_swigobj->GetIconIndex())
8297 static PyObject
*_wrap_wxFileTypeInfo_GetIconIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8298 PyObject
* _resultobj
;
8300 wxFileTypeInfo
* _arg0
;
8301 PyObject
* _argo0
= 0;
8302 char *_kwnames
[] = { "self", NULL
};
8305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetIconIndex",_kwnames
,&_argo0
))
8308 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8309 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8310 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetIconIndex. Expected _wxFileTypeInfo_p.");
8315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8316 _result
= (int )wxFileTypeInfo_GetIconIndex(_arg0
);
8318 wxPyEndAllowThreads(__tstate
);
8319 if (PyErr_Occurred()) return NULL
;
8320 } _resultobj
= Py_BuildValue("i",_result
);
8324 #define new_wxFileType(_swigarg0) (new wxFileType(_swigarg0))
8325 static PyObject
*_wrap_new_wxFileType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8326 PyObject
* _resultobj
;
8327 wxFileType
* _result
;
8328 wxFileTypeInfo
* _arg0
;
8329 PyObject
* _argo0
= 0;
8330 char *_kwnames
[] = { "ftInfo", NULL
};
8334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxFileType",_kwnames
,&_argo0
))
8337 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8338 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8339 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxFileType. Expected _wxFileTypeInfo_p.");
8344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8345 _result
= (wxFileType
*)new_wxFileType(*_arg0
);
8347 wxPyEndAllowThreads(__tstate
);
8348 if (PyErr_Occurred()) return NULL
;
8350 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileType_p");
8351 _resultobj
= Py_BuildValue("s",_ptemp
);
8354 _resultobj
= Py_None
;
8359 static PyObject
* wxFileType_GetMimeType(wxFileType
*self
) {
8361 if (self
->GetMimeType(&str
))
8362 return PyString_FromString(str
.c_str());
8366 static PyObject
*_wrap_wxFileType_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8367 PyObject
* _resultobj
;
8370 PyObject
* _argo0
= 0;
8371 char *_kwnames
[] = { "self", NULL
};
8374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_GetMimeType",_kwnames
,&_argo0
))
8377 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8378 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8379 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetMimeType. Expected _wxFileType_p.");
8384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8385 _result
= (PyObject
*)wxFileType_GetMimeType(_arg0
);
8387 wxPyEndAllowThreads(__tstate
);
8388 if (PyErr_Occurred()) return NULL
;
8390 _resultobj
= _result
;
8395 static PyObject
* wxFileType_GetMimeTypes(wxFileType
*self
) {
8397 if (self
->GetMimeTypes(arr
))
8398 return wxArrayString2PyList_helper(arr
);
8402 static PyObject
*_wrap_wxFileType_GetMimeTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8403 PyObject
* _resultobj
;
8406 PyObject
* _argo0
= 0;
8407 char *_kwnames
[] = { "self", NULL
};
8410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_GetMimeTypes",_kwnames
,&_argo0
))
8413 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8414 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8415 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetMimeTypes. Expected _wxFileType_p.");
8420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8421 _result
= (PyObject
*)wxFileType_GetMimeTypes(_arg0
);
8423 wxPyEndAllowThreads(__tstate
);
8424 if (PyErr_Occurred()) return NULL
;
8426 _resultobj
= _result
;
8431 static PyObject
* wxFileType_GetExtensions(wxFileType
*self
) {
8433 if (self
->GetExtensions(arr
))
8434 return wxArrayString2PyList_helper(arr
);
8438 static PyObject
*_wrap_wxFileType_GetExtensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8439 PyObject
* _resultobj
;
8442 PyObject
* _argo0
= 0;
8443 char *_kwnames
[] = { "self", NULL
};
8446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_GetExtensions",_kwnames
,&_argo0
))
8449 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8450 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8451 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetExtensions. Expected _wxFileType_p.");
8456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8457 _result
= (PyObject
*)wxFileType_GetExtensions(_arg0
);
8459 wxPyEndAllowThreads(__tstate
);
8460 if (PyErr_Occurred()) return NULL
;
8462 _resultobj
= _result
;
8467 static wxIcon
* wxFileType_GetIcon(wxFileType
*self
) {
8469 if (self
->GetIcon(&icon
))
8470 return new wxIcon(icon
);
8474 static PyObject
*_wrap_wxFileType_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8475 PyObject
* _resultobj
;
8478 PyObject
* _argo0
= 0;
8479 char *_kwnames
[] = { "self", NULL
};
8483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_GetIcon",_kwnames
,&_argo0
))
8486 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8487 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8488 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetIcon. Expected _wxFileType_p.");
8493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8494 _result
= (wxIcon
*)wxFileType_GetIcon(_arg0
);
8496 wxPyEndAllowThreads(__tstate
);
8497 if (PyErr_Occurred()) return NULL
;
8499 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIcon_p");
8500 _resultobj
= Py_BuildValue("s",_ptemp
);
8503 _resultobj
= Py_None
;
8508 static PyObject
* wxFileType_GetIconInfo(wxFileType
*self
) {
8512 if (self
->GetIcon(&icon
, &iconFile
, &iconIndex
)) {
8513 wxPyBeginBlockThreads();
8514 PyObject
* tuple
= PyTuple_New(3);
8515 PyTuple_SetItem(tuple
, 0, wxPyConstructObject(new wxIcon(icon
),
8517 PyTuple_SetItem(tuple
, 1, PyString_FromString(iconFile
.c_str()));
8518 PyTuple_SetItem(tuple
, 2, PyInt_FromLong(iconIndex
));
8519 wxPyEndBlockThreads();
8525 static PyObject
*_wrap_wxFileType_GetIconInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8526 PyObject
* _resultobj
;
8529 PyObject
* _argo0
= 0;
8530 char *_kwnames
[] = { "self", NULL
};
8533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_GetIconInfo",_kwnames
,&_argo0
))
8536 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8537 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8538 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetIconInfo. Expected _wxFileType_p.");
8543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8544 _result
= (PyObject
*)wxFileType_GetIconInfo(_arg0
);
8546 wxPyEndAllowThreads(__tstate
);
8547 if (PyErr_Occurred()) return NULL
;
8549 _resultobj
= _result
;
8554 static PyObject
* wxFileType_GetDescription(wxFileType
*self
) {
8556 if (self
->GetDescription(&str
))
8557 return PyString_FromString(str
.c_str());
8561 static PyObject
*_wrap_wxFileType_GetDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8562 PyObject
* _resultobj
;
8565 PyObject
* _argo0
= 0;
8566 char *_kwnames
[] = { "self", NULL
};
8569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_GetDescription",_kwnames
,&_argo0
))
8572 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8573 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8574 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetDescription. Expected _wxFileType_p.");
8579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8580 _result
= (PyObject
*)wxFileType_GetDescription(_arg0
);
8582 wxPyEndAllowThreads(__tstate
);
8583 if (PyErr_Occurred()) return NULL
;
8585 _resultobj
= _result
;
8590 static PyObject
* wxFileType_GetOpenCommand(wxFileType
*self
,const wxString
& filename
,const wxString
& mimetype
) {
8592 if (self
->GetOpenCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
8593 return PyString_FromString(str
.c_str());
8597 static PyObject
*_wrap_wxFileType_GetOpenCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8598 PyObject
* _resultobj
;
8602 wxString
* _arg2
= (wxString
*) &wxPyEmptyStr
;
8603 PyObject
* _argo0
= 0;
8604 PyObject
* _obj1
= 0;
8605 PyObject
* _obj2
= 0;
8606 char *_kwnames
[] = { "self","filename","mimetype", NULL
};
8609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxFileType_GetOpenCommand",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
8612 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8613 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8614 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetOpenCommand. Expected _wxFileType_p.");
8619 #if PYTHON_API_VERSION >= 1009
8620 char* tmpPtr
; int tmpSize
;
8621 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
8622 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8625 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
8627 _arg1
= new wxString(tmpPtr
, tmpSize
);
8629 if (!PyString_Check(_obj1
)) {
8630 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8633 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
8638 #if PYTHON_API_VERSION >= 1009
8639 char* tmpPtr
; int tmpSize
;
8640 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
8641 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8644 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
8646 _arg2
= new wxString(tmpPtr
, tmpSize
);
8648 if (!PyString_Check(_obj2
)) {
8649 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8652 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
8656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8657 _result
= (PyObject
*)wxFileType_GetOpenCommand(_arg0
,*_arg1
,*_arg2
);
8659 wxPyEndAllowThreads(__tstate
);
8660 if (PyErr_Occurred()) return NULL
;
8662 _resultobj
= _result
;
8675 static PyObject
* wxFileType_GetPrintCommand(wxFileType
*self
,const wxString
& filename
,const wxString
& mimetype
) {
8677 if (self
->GetPrintCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
8678 return PyString_FromString(str
.c_str());
8682 static PyObject
*_wrap_wxFileType_GetPrintCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8683 PyObject
* _resultobj
;
8687 wxString
* _arg2
= (wxString
*) &wxPyEmptyStr
;
8688 PyObject
* _argo0
= 0;
8689 PyObject
* _obj1
= 0;
8690 PyObject
* _obj2
= 0;
8691 char *_kwnames
[] = { "self","filename","mimetype", NULL
};
8694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxFileType_GetPrintCommand",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
8697 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8698 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8699 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetPrintCommand. Expected _wxFileType_p.");
8704 #if PYTHON_API_VERSION >= 1009
8705 char* tmpPtr
; int tmpSize
;
8706 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
8707 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8710 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
8712 _arg1
= new wxString(tmpPtr
, tmpSize
);
8714 if (!PyString_Check(_obj1
)) {
8715 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8718 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
8723 #if PYTHON_API_VERSION >= 1009
8724 char* tmpPtr
; int tmpSize
;
8725 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
8726 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8729 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
8731 _arg2
= new wxString(tmpPtr
, tmpSize
);
8733 if (!PyString_Check(_obj2
)) {
8734 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8737 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
8741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8742 _result
= (PyObject
*)wxFileType_GetPrintCommand(_arg0
,*_arg1
,*_arg2
);
8744 wxPyEndAllowThreads(__tstate
);
8745 if (PyErr_Occurred()) return NULL
;
8747 _resultobj
= _result
;
8760 static PyObject
* wxFileType_GetAllCommands(wxFileType
*self
,const wxString
& filename
,const wxString
& mimetype
) {
8761 wxArrayString verbs
;
8762 wxArrayString commands
;
8763 if (self
->GetAllCommands(&verbs
, &commands
,
8764 wxFileType::MessageParameters(filename
, mimetype
))) {
8765 wxPyBeginBlockThreads();
8766 PyObject
* tuple
= PyTuple_New(2);
8767 PyTuple_SetItem(tuple
, 0, wxArrayString2PyList_helper(verbs
));
8768 PyTuple_SetItem(tuple
, 1, wxArrayString2PyList_helper(commands
));
8769 wxPyEndBlockThreads();
8775 static PyObject
*_wrap_wxFileType_GetAllCommands(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8776 PyObject
* _resultobj
;
8780 wxString
* _arg2
= (wxString
*) &wxPyEmptyStr
;
8781 PyObject
* _argo0
= 0;
8782 PyObject
* _obj1
= 0;
8783 PyObject
* _obj2
= 0;
8784 char *_kwnames
[] = { "self","filename","mimetype", NULL
};
8787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxFileType_GetAllCommands",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
8790 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8791 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8792 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetAllCommands. Expected _wxFileType_p.");
8797 #if PYTHON_API_VERSION >= 1009
8798 char* tmpPtr
; int tmpSize
;
8799 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
8800 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8803 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
8805 _arg1
= new wxString(tmpPtr
, tmpSize
);
8807 if (!PyString_Check(_obj1
)) {
8808 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8811 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
8816 #if PYTHON_API_VERSION >= 1009
8817 char* tmpPtr
; int tmpSize
;
8818 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
8819 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8822 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
8824 _arg2
= new wxString(tmpPtr
, tmpSize
);
8826 if (!PyString_Check(_obj2
)) {
8827 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8830 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
8834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8835 _result
= (PyObject
*)wxFileType_GetAllCommands(_arg0
,*_arg1
,*_arg2
);
8837 wxPyEndAllowThreads(__tstate
);
8838 if (PyErr_Occurred()) return NULL
;
8840 _resultobj
= _result
;
8853 #define wxFileType_SetCommand(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCommand(_swigarg0,_swigarg1,_swigarg2))
8854 static PyObject
*_wrap_wxFileType_SetCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8855 PyObject
* _resultobj
;
8860 bool _arg3
= (bool ) TRUE
;
8861 PyObject
* _argo0
= 0;
8862 PyObject
* _obj1
= 0;
8863 PyObject
* _obj2
= 0;
8864 int tempbool3
= (int) TRUE
;
8865 char *_kwnames
[] = { "self","cmd","verb","overwriteprompt", NULL
};
8868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|i:wxFileType_SetCommand",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&tempbool3
))
8871 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8872 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8873 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_SetCommand. Expected _wxFileType_p.");
8878 #if PYTHON_API_VERSION >= 1009
8879 char* tmpPtr
; int tmpSize
;
8880 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
8881 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8884 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
8886 _arg1
= new wxString(tmpPtr
, tmpSize
);
8888 if (!PyString_Check(_obj1
)) {
8889 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8892 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
8896 #if PYTHON_API_VERSION >= 1009
8897 char* tmpPtr
; int tmpSize
;
8898 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
8899 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8902 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
8904 _arg2
= new wxString(tmpPtr
, tmpSize
);
8906 if (!PyString_Check(_obj2
)) {
8907 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8910 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
8913 _arg3
= (bool ) tempbool3
;
8915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8916 _result
= (bool )wxFileType_SetCommand(_arg0
,*_arg1
,*_arg2
,_arg3
);
8918 wxPyEndAllowThreads(__tstate
);
8919 if (PyErr_Occurred()) return NULL
;
8920 } _resultobj
= Py_BuildValue("i",_result
);
8932 #define wxFileType_SetDefaultIcon(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDefaultIcon(_swigarg0,_swigarg1))
8933 static PyObject
*_wrap_wxFileType_SetDefaultIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8934 PyObject
* _resultobj
;
8937 wxString
* _arg1
= (wxString
*) &wxEmptyString
;
8938 int _arg2
= (int ) 0;
8939 PyObject
* _argo0
= 0;
8940 PyObject
* _obj1
= 0;
8941 char *_kwnames
[] = { "self","cmd","index", NULL
};
8944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|Oi:wxFileType_SetDefaultIcon",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
8947 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8948 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8949 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_SetDefaultIcon. Expected _wxFileType_p.");
8955 #if PYTHON_API_VERSION >= 1009
8956 char* tmpPtr
; int tmpSize
;
8957 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
8958 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8961 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
8963 _arg1
= new wxString(tmpPtr
, tmpSize
);
8965 if (!PyString_Check(_obj1
)) {
8966 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8969 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
8973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8974 _result
= (bool )wxFileType_SetDefaultIcon(_arg0
,*_arg1
,_arg2
);
8976 wxPyEndAllowThreads(__tstate
);
8977 if (PyErr_Occurred()) return NULL
;
8978 } _resultobj
= Py_BuildValue("i",_result
);
8986 #define wxFileType_Unassociate(_swigobj) (_swigobj->Unassociate())
8987 static PyObject
*_wrap_wxFileType_Unassociate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8988 PyObject
* _resultobj
;
8991 PyObject
* _argo0
= 0;
8992 char *_kwnames
[] = { "self", NULL
};
8995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_Unassociate",_kwnames
,&_argo0
))
8998 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8999 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
9000 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_Unassociate. Expected _wxFileType_p.");
9005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9006 _result
= (bool )wxFileType_Unassociate(_arg0
);
9008 wxPyEndAllowThreads(__tstate
);
9009 if (PyErr_Occurred()) return NULL
;
9010 } _resultobj
= Py_BuildValue("i",_result
);
9014 static PyObject
*_wrap_wxFileType_ExpandCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9015 PyObject
* _resultobj
;
9018 wxFileType::MessageParameters
* _arg1
;
9019 PyObject
* _obj0
= 0;
9020 PyObject
* _argo1
= 0;
9021 char *_kwnames
[] = { "command","params", NULL
};
9024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileType_ExpandCommand",_kwnames
,&_obj0
,&_argo1
))
9027 #if PYTHON_API_VERSION >= 1009
9028 char* tmpPtr
; int tmpSize
;
9029 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
9030 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9033 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
9035 _arg0
= new wxString(tmpPtr
, tmpSize
);
9037 if (!PyString_Check(_obj0
)) {
9038 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9041 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
9045 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9046 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFileType::MessageParameters_p")) {
9047 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFileType_ExpandCommand. Expected _wxFileType::MessageParameters_p.");
9052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9053 _result
= new wxString (wxFileType::ExpandCommand(*_arg0
,*_arg1
));
9055 wxPyEndAllowThreads(__tstate
);
9056 if (PyErr_Occurred()) return NULL
;
9058 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9070 #define delete_wxFileType(_swigobj) (delete _swigobj)
9071 static PyObject
*_wrap_delete_wxFileType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9072 PyObject
* _resultobj
;
9074 PyObject
* _argo0
= 0;
9075 char *_kwnames
[] = { "self", NULL
};
9078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxFileType",_kwnames
,&_argo0
))
9081 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9082 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
9083 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxFileType. Expected _wxFileType_p.");
9088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9089 delete_wxFileType(_arg0
);
9091 wxPyEndAllowThreads(__tstate
);
9092 if (PyErr_Occurred()) return NULL
;
9093 } Py_INCREF(Py_None
);
9094 _resultobj
= Py_None
;
9098 static PyObject
*_wrap_wxMimeTypesManager_IsOfType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9099 PyObject
* _resultobj
;
9103 PyObject
* _obj0
= 0;
9104 PyObject
* _obj1
= 0;
9105 char *_kwnames
[] = { "mimeType","wildcard", NULL
};
9108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_IsOfType",_kwnames
,&_obj0
,&_obj1
))
9111 #if PYTHON_API_VERSION >= 1009
9112 char* tmpPtr
; int tmpSize
;
9113 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
9114 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9117 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
9119 _arg0
= new wxString(tmpPtr
, tmpSize
);
9121 if (!PyString_Check(_obj0
)) {
9122 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9125 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
9129 #if PYTHON_API_VERSION >= 1009
9130 char* tmpPtr
; int tmpSize
;
9131 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
9132 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9135 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
9137 _arg1
= new wxString(tmpPtr
, tmpSize
);
9139 if (!PyString_Check(_obj1
)) {
9140 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9143 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
9147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9148 _result
= (bool )wxMimeTypesManager::IsOfType(*_arg0
,*_arg1
);
9150 wxPyEndAllowThreads(__tstate
);
9151 if (PyErr_Occurred()) return NULL
;
9152 } _resultobj
= Py_BuildValue("i",_result
);
9164 #define new_wxMimeTypesManager() (new wxMimeTypesManager())
9165 static PyObject
*_wrap_new_wxMimeTypesManager(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9166 PyObject
* _resultobj
;
9167 wxMimeTypesManager
* _result
;
9168 char *_kwnames
[] = { NULL
};
9172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxMimeTypesManager",_kwnames
))
9175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9176 _result
= (wxMimeTypesManager
*)new_wxMimeTypesManager();
9178 wxPyEndAllowThreads(__tstate
);
9179 if (PyErr_Occurred()) return NULL
;
9181 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMimeTypesManager_p");
9182 _resultobj
= Py_BuildValue("s",_ptemp
);
9185 _resultobj
= Py_None
;
9190 #define wxMimeTypesManager_Initialize(_swigobj,_swigarg0,_swigarg1) (_swigobj->Initialize(_swigarg0,_swigarg1))
9191 static PyObject
*_wrap_wxMimeTypesManager_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9192 PyObject
* _resultobj
;
9193 wxMimeTypesManager
* _arg0
;
9194 int _arg1
= (int ) (wxMAILCAP_STANDARD
);
9195 wxString
* _arg2
= (wxString
*) &wxEmptyString
;
9196 PyObject
* _argo0
= 0;
9197 PyObject
* _obj2
= 0;
9198 char *_kwnames
[] = { "self","mailcapStyle","extraDir", NULL
};
9201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iO:wxMimeTypesManager_Initialize",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
9204 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9205 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9206 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_Initialize. Expected _wxMimeTypesManager_p.");
9212 #if PYTHON_API_VERSION >= 1009
9213 char* tmpPtr
; int tmpSize
;
9214 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
9215 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9218 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
9220 _arg2
= new wxString(tmpPtr
, tmpSize
);
9222 if (!PyString_Check(_obj2
)) {
9223 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9226 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
9230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9231 wxMimeTypesManager_Initialize(_arg0
,_arg1
,*_arg2
);
9233 wxPyEndAllowThreads(__tstate
);
9234 if (PyErr_Occurred()) return NULL
;
9235 } Py_INCREF(Py_None
);
9236 _resultobj
= Py_None
;
9244 #define wxMimeTypesManager_ClearData(_swigobj) (_swigobj->ClearData())
9245 static PyObject
*_wrap_wxMimeTypesManager_ClearData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9246 PyObject
* _resultobj
;
9247 wxMimeTypesManager
* _arg0
;
9248 PyObject
* _argo0
= 0;
9249 char *_kwnames
[] = { "self", NULL
};
9252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMimeTypesManager_ClearData",_kwnames
,&_argo0
))
9255 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9256 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9257 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_ClearData. Expected _wxMimeTypesManager_p.");
9262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9263 wxMimeTypesManager_ClearData(_arg0
);
9265 wxPyEndAllowThreads(__tstate
);
9266 if (PyErr_Occurred()) return NULL
;
9267 } Py_INCREF(Py_None
);
9268 _resultobj
= Py_None
;
9272 #define wxMimeTypesManager_GetFileTypeFromExtension(_swigobj,_swigarg0) (_swigobj->GetFileTypeFromExtension(_swigarg0))
9273 static PyObject
*_wrap_wxMimeTypesManager_GetFileTypeFromExtension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9274 PyObject
* _resultobj
;
9275 wxFileType
* _result
;
9276 wxMimeTypesManager
* _arg0
;
9278 PyObject
* _argo0
= 0;
9279 PyObject
* _obj1
= 0;
9280 char *_kwnames
[] = { "self","ext", NULL
};
9284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_GetFileTypeFromExtension",_kwnames
,&_argo0
,&_obj1
))
9287 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9288 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9289 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_GetFileTypeFromExtension. Expected _wxMimeTypesManager_p.");
9294 #if PYTHON_API_VERSION >= 1009
9295 char* tmpPtr
; int tmpSize
;
9296 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
9297 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9300 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
9302 _arg1
= new wxString(tmpPtr
, tmpSize
);
9304 if (!PyString_Check(_obj1
)) {
9305 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9308 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
9312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9313 _result
= (wxFileType
*)wxMimeTypesManager_GetFileTypeFromExtension(_arg0
,*_arg1
);
9315 wxPyEndAllowThreads(__tstate
);
9316 if (PyErr_Occurred()) return NULL
;
9318 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileType_p");
9319 _resultobj
= Py_BuildValue("s",_ptemp
);
9322 _resultobj
= Py_None
;
9331 #define wxMimeTypesManager_GetFileTypeFromMimeType(_swigobj,_swigarg0) (_swigobj->GetFileTypeFromMimeType(_swigarg0))
9332 static PyObject
*_wrap_wxMimeTypesManager_GetFileTypeFromMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9333 PyObject
* _resultobj
;
9334 wxFileType
* _result
;
9335 wxMimeTypesManager
* _arg0
;
9337 PyObject
* _argo0
= 0;
9338 PyObject
* _obj1
= 0;
9339 char *_kwnames
[] = { "self","mimeType", NULL
};
9343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_GetFileTypeFromMimeType",_kwnames
,&_argo0
,&_obj1
))
9346 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9347 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9348 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_GetFileTypeFromMimeType. Expected _wxMimeTypesManager_p.");
9353 #if PYTHON_API_VERSION >= 1009
9354 char* tmpPtr
; int tmpSize
;
9355 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
9356 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9359 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
9361 _arg1
= new wxString(tmpPtr
, tmpSize
);
9363 if (!PyString_Check(_obj1
)) {
9364 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9367 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
9371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9372 _result
= (wxFileType
*)wxMimeTypesManager_GetFileTypeFromMimeType(_arg0
,*_arg1
);
9374 wxPyEndAllowThreads(__tstate
);
9375 if (PyErr_Occurred()) return NULL
;
9377 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileType_p");
9378 _resultobj
= Py_BuildValue("s",_ptemp
);
9381 _resultobj
= Py_None
;
9390 #define wxMimeTypesManager_ReadMailcap(_swigobj,_swigarg0,_swigarg1) (_swigobj->ReadMailcap(_swigarg0,_swigarg1))
9391 static PyObject
*_wrap_wxMimeTypesManager_ReadMailcap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9392 PyObject
* _resultobj
;
9394 wxMimeTypesManager
* _arg0
;
9396 bool _arg2
= (bool ) FALSE
;
9397 PyObject
* _argo0
= 0;
9398 PyObject
* _obj1
= 0;
9399 int tempbool2
= (int) FALSE
;
9400 char *_kwnames
[] = { "self","filename","fallback", NULL
};
9403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxMimeTypesManager_ReadMailcap",_kwnames
,&_argo0
,&_obj1
,&tempbool2
))
9406 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9407 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9408 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_ReadMailcap. Expected _wxMimeTypesManager_p.");
9413 #if PYTHON_API_VERSION >= 1009
9414 char* tmpPtr
; int tmpSize
;
9415 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
9416 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9419 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
9421 _arg1
= new wxString(tmpPtr
, tmpSize
);
9423 if (!PyString_Check(_obj1
)) {
9424 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9427 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
9430 _arg2
= (bool ) tempbool2
;
9432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9433 _result
= (bool )wxMimeTypesManager_ReadMailcap(_arg0
,*_arg1
,_arg2
);
9435 wxPyEndAllowThreads(__tstate
);
9436 if (PyErr_Occurred()) return NULL
;
9437 } _resultobj
= Py_BuildValue("i",_result
);
9445 #define wxMimeTypesManager_ReadMimeTypes(_swigobj,_swigarg0) (_swigobj->ReadMimeTypes(_swigarg0))
9446 static PyObject
*_wrap_wxMimeTypesManager_ReadMimeTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9447 PyObject
* _resultobj
;
9449 wxMimeTypesManager
* _arg0
;
9451 PyObject
* _argo0
= 0;
9452 PyObject
* _obj1
= 0;
9453 char *_kwnames
[] = { "self","filename", NULL
};
9456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_ReadMimeTypes",_kwnames
,&_argo0
,&_obj1
))
9459 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9460 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9461 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_ReadMimeTypes. Expected _wxMimeTypesManager_p.");
9466 #if PYTHON_API_VERSION >= 1009
9467 char* tmpPtr
; int tmpSize
;
9468 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
9469 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9472 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
9474 _arg1
= new wxString(tmpPtr
, tmpSize
);
9476 if (!PyString_Check(_obj1
)) {
9477 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9480 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
9484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9485 _result
= (bool )wxMimeTypesManager_ReadMimeTypes(_arg0
,*_arg1
);
9487 wxPyEndAllowThreads(__tstate
);
9488 if (PyErr_Occurred()) return NULL
;
9489 } _resultobj
= Py_BuildValue("i",_result
);
9497 static PyObject
* wxMimeTypesManager_EnumAllFileTypes(wxMimeTypesManager
*self
) {
9499 self
->EnumAllFileTypes(arr
);
9500 return wxArrayString2PyList_helper(arr
);
9502 static PyObject
*_wrap_wxMimeTypesManager_EnumAllFileTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9503 PyObject
* _resultobj
;
9505 wxMimeTypesManager
* _arg0
;
9506 PyObject
* _argo0
= 0;
9507 char *_kwnames
[] = { "self", NULL
};
9510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMimeTypesManager_EnumAllFileTypes",_kwnames
,&_argo0
))
9513 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9514 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9515 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_EnumAllFileTypes. Expected _wxMimeTypesManager_p.");
9520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9521 _result
= (PyObject
*)wxMimeTypesManager_EnumAllFileTypes(_arg0
);
9523 wxPyEndAllowThreads(__tstate
);
9524 if (PyErr_Occurred()) return NULL
;
9526 _resultobj
= _result
;
9531 #define wxMimeTypesManager_AddFallback(_swigobj,_swigarg0) (_swigobj->AddFallback(_swigarg0))
9532 static PyObject
*_wrap_wxMimeTypesManager_AddFallback(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9533 PyObject
* _resultobj
;
9534 wxMimeTypesManager
* _arg0
;
9535 wxFileTypeInfo
* _arg1
;
9536 PyObject
* _argo0
= 0;
9537 PyObject
* _argo1
= 0;
9538 char *_kwnames
[] = { "self","ft", NULL
};
9541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_AddFallback",_kwnames
,&_argo0
,&_argo1
))
9544 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9545 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9546 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_AddFallback. Expected _wxMimeTypesManager_p.");
9551 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9552 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFileTypeInfo_p")) {
9553 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMimeTypesManager_AddFallback. Expected _wxFileTypeInfo_p.");
9558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9559 wxMimeTypesManager_AddFallback(_arg0
,*_arg1
);
9561 wxPyEndAllowThreads(__tstate
);
9562 if (PyErr_Occurred()) return NULL
;
9563 } Py_INCREF(Py_None
);
9564 _resultobj
= Py_None
;
9568 #define wxMimeTypesManager_Associate(_swigobj,_swigarg0) (_swigobj->Associate(_swigarg0))
9569 static PyObject
*_wrap_wxMimeTypesManager_Associate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9570 PyObject
* _resultobj
;
9571 wxFileType
* _result
;
9572 wxMimeTypesManager
* _arg0
;
9573 wxFileTypeInfo
* _arg1
;
9574 PyObject
* _argo0
= 0;
9575 PyObject
* _argo1
= 0;
9576 char *_kwnames
[] = { "self","ftInfo", NULL
};
9580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_Associate",_kwnames
,&_argo0
,&_argo1
))
9583 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9584 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9585 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_Associate. Expected _wxMimeTypesManager_p.");
9590 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9591 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFileTypeInfo_p")) {
9592 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMimeTypesManager_Associate. Expected _wxFileTypeInfo_p.");
9597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9598 _result
= (wxFileType
*)wxMimeTypesManager_Associate(_arg0
,*_arg1
);
9600 wxPyEndAllowThreads(__tstate
);
9601 if (PyErr_Occurred()) return NULL
;
9603 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileType_p");
9604 _resultobj
= Py_BuildValue("s",_ptemp
);
9607 _resultobj
= Py_None
;
9612 #define wxMimeTypesManager_Unassociate(_swigobj,_swigarg0) (_swigobj->Unassociate(_swigarg0))
9613 static PyObject
*_wrap_wxMimeTypesManager_Unassociate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9614 PyObject
* _resultobj
;
9616 wxMimeTypesManager
* _arg0
;
9618 PyObject
* _argo0
= 0;
9619 PyObject
* _argo1
= 0;
9620 char *_kwnames
[] = { "self","ft", NULL
};
9623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_Unassociate",_kwnames
,&_argo0
,&_argo1
))
9626 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9627 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9628 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_Unassociate. Expected _wxMimeTypesManager_p.");
9633 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9634 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFileType_p")) {
9635 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMimeTypesManager_Unassociate. Expected _wxFileType_p.");
9640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9641 _result
= (bool )wxMimeTypesManager_Unassociate(_arg0
,_arg1
);
9643 wxPyEndAllowThreads(__tstate
);
9644 if (PyErr_Occurred()) return NULL
;
9645 } _resultobj
= Py_BuildValue("i",_result
);
9649 #define delete_wxMimeTypesManager(_swigobj) (delete _swigobj)
9650 static PyObject
*_wrap_delete_wxMimeTypesManager(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9651 PyObject
* _resultobj
;
9652 wxMimeTypesManager
* _arg0
;
9653 PyObject
* _argo0
= 0;
9654 char *_kwnames
[] = { "self", NULL
};
9657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxMimeTypesManager",_kwnames
,&_argo0
))
9660 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9661 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9662 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxMimeTypesManager. Expected _wxMimeTypesManager_p.");
9667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9668 delete_wxMimeTypesManager(_arg0
);
9670 wxPyEndAllowThreads(__tstate
);
9671 if (PyErr_Occurred()) return NULL
;
9672 } Py_INCREF(Py_None
);
9673 _resultobj
= Py_None
;
9677 static void *SwigwxFileHistoryTowxObject(void *ptr
) {
9680 src
= (wxFileHistory
*) ptr
;
9681 dest
= (wxObject
*) src
;
9682 return (void *) dest
;
9685 #define new_wxFileHistory(_swigarg0) (new wxFileHistory(_swigarg0))
9686 static PyObject
*_wrap_new_wxFileHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9687 PyObject
* _resultobj
;
9688 wxFileHistory
* _result
;
9689 int _arg0
= (int ) 9;
9690 char *_kwnames
[] = { "maxFiles", NULL
};
9694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxFileHistory",_kwnames
,&_arg0
))
9697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9698 _result
= (wxFileHistory
*)new_wxFileHistory(_arg0
);
9700 wxPyEndAllowThreads(__tstate
);
9701 if (PyErr_Occurred()) return NULL
;
9703 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileHistory_p");
9704 _resultobj
= Py_BuildValue("s",_ptemp
);
9707 _resultobj
= Py_None
;
9712 #define delete_wxFileHistory(_swigobj) (delete _swigobj)
9713 static PyObject
*_wrap_delete_wxFileHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9714 PyObject
* _resultobj
;
9715 wxFileHistory
* _arg0
;
9716 PyObject
* _argo0
= 0;
9717 char *_kwnames
[] = { "self", NULL
};
9720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxFileHistory",_kwnames
,&_argo0
))
9723 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9724 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9725 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxFileHistory. Expected _wxFileHistory_p.");
9730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9731 delete_wxFileHistory(_arg0
);
9733 wxPyEndAllowThreads(__tstate
);
9734 if (PyErr_Occurred()) return NULL
;
9735 } Py_INCREF(Py_None
);
9736 _resultobj
= Py_None
;
9740 #define wxFileHistory_AddFileToHistory(_swigobj,_swigarg0) (_swigobj->AddFileToHistory(_swigarg0))
9741 static PyObject
*_wrap_wxFileHistory_AddFileToHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9742 PyObject
* _resultobj
;
9743 wxFileHistory
* _arg0
;
9745 PyObject
* _argo0
= 0;
9746 PyObject
* _obj1
= 0;
9747 char *_kwnames
[] = { "self","file", NULL
};
9750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileHistory_AddFileToHistory",_kwnames
,&_argo0
,&_obj1
))
9753 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9754 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9755 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_AddFileToHistory. Expected _wxFileHistory_p.");
9760 #if PYTHON_API_VERSION >= 1009
9761 char* tmpPtr
; int tmpSize
;
9762 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
9763 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9766 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
9768 _arg1
= new wxString(tmpPtr
, tmpSize
);
9770 if (!PyString_Check(_obj1
)) {
9771 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9774 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
9778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9779 wxFileHistory_AddFileToHistory(_arg0
,*_arg1
);
9781 wxPyEndAllowThreads(__tstate
);
9782 if (PyErr_Occurred()) return NULL
;
9783 } Py_INCREF(Py_None
);
9784 _resultobj
= Py_None
;
9792 #define wxFileHistory_RemoveFileFromHistory(_swigobj,_swigarg0) (_swigobj->RemoveFileFromHistory(_swigarg0))
9793 static PyObject
*_wrap_wxFileHistory_RemoveFileFromHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9794 PyObject
* _resultobj
;
9795 wxFileHistory
* _arg0
;
9797 PyObject
* _argo0
= 0;
9798 char *_kwnames
[] = { "self","i", NULL
};
9801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFileHistory_RemoveFileFromHistory",_kwnames
,&_argo0
,&_arg1
))
9804 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9805 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9806 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_RemoveFileFromHistory. Expected _wxFileHistory_p.");
9811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9812 wxFileHistory_RemoveFileFromHistory(_arg0
,_arg1
);
9814 wxPyEndAllowThreads(__tstate
);
9815 if (PyErr_Occurred()) return NULL
;
9816 } Py_INCREF(Py_None
);
9817 _resultobj
= Py_None
;
9821 #define wxFileHistory_GetMaxFiles(_swigobj) (_swigobj->GetMaxFiles())
9822 static PyObject
*_wrap_wxFileHistory_GetMaxFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9823 PyObject
* _resultobj
;
9825 wxFileHistory
* _arg0
;
9826 PyObject
* _argo0
= 0;
9827 char *_kwnames
[] = { "self", NULL
};
9830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileHistory_GetMaxFiles",_kwnames
,&_argo0
))
9833 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9834 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9835 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_GetMaxFiles. Expected _wxFileHistory_p.");
9840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9841 _result
= (int )wxFileHistory_GetMaxFiles(_arg0
);
9843 wxPyEndAllowThreads(__tstate
);
9844 if (PyErr_Occurred()) return NULL
;
9845 } _resultobj
= Py_BuildValue("i",_result
);
9849 #define wxFileHistory_UseMenu(_swigobj,_swigarg0) (_swigobj->UseMenu(_swigarg0))
9850 static PyObject
*_wrap_wxFileHistory_UseMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9851 PyObject
* _resultobj
;
9852 wxFileHistory
* _arg0
;
9854 PyObject
* _argo0
= 0;
9855 PyObject
* _argo1
= 0;
9856 char *_kwnames
[] = { "self","menu", NULL
};
9859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileHistory_UseMenu",_kwnames
,&_argo0
,&_argo1
))
9862 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9863 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9864 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_UseMenu. Expected _wxFileHistory_p.");
9869 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9870 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
9871 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFileHistory_UseMenu. Expected _wxMenu_p.");
9876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9877 wxFileHistory_UseMenu(_arg0
,_arg1
);
9879 wxPyEndAllowThreads(__tstate
);
9880 if (PyErr_Occurred()) return NULL
;
9881 } Py_INCREF(Py_None
);
9882 _resultobj
= Py_None
;
9886 #define wxFileHistory_RemoveMenu(_swigobj,_swigarg0) (_swigobj->RemoveMenu(_swigarg0))
9887 static PyObject
*_wrap_wxFileHistory_RemoveMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9888 PyObject
* _resultobj
;
9889 wxFileHistory
* _arg0
;
9891 PyObject
* _argo0
= 0;
9892 PyObject
* _argo1
= 0;
9893 char *_kwnames
[] = { "self","menu", NULL
};
9896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileHistory_RemoveMenu",_kwnames
,&_argo0
,&_argo1
))
9899 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9900 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9901 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_RemoveMenu. Expected _wxFileHistory_p.");
9906 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9907 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
9908 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFileHistory_RemoveMenu. Expected _wxMenu_p.");
9913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9914 wxFileHistory_RemoveMenu(_arg0
,_arg1
);
9916 wxPyEndAllowThreads(__tstate
);
9917 if (PyErr_Occurred()) return NULL
;
9918 } Py_INCREF(Py_None
);
9919 _resultobj
= Py_None
;
9923 #define wxFileHistory_Load(_swigobj,_swigarg0) (_swigobj->Load(_swigarg0))
9924 static PyObject
*_wrap_wxFileHistory_Load(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9925 PyObject
* _resultobj
;
9926 wxFileHistory
* _arg0
;
9927 wxConfigBase
* _arg1
;
9928 PyObject
* _argo0
= 0;
9929 PyObject
* _argo1
= 0;
9930 char *_kwnames
[] = { "self","config", NULL
};
9933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileHistory_Load",_kwnames
,&_argo0
,&_argo1
))
9936 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9937 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9938 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_Load. Expected _wxFileHistory_p.");
9943 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9944 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxConfigBase_p")) {
9945 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFileHistory_Load. Expected _wxConfigBase_p.");
9950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9951 wxFileHistory_Load(_arg0
,*_arg1
);
9953 wxPyEndAllowThreads(__tstate
);
9954 if (PyErr_Occurred()) return NULL
;
9955 } Py_INCREF(Py_None
);
9956 _resultobj
= Py_None
;
9960 #define wxFileHistory_Save(_swigobj,_swigarg0) (_swigobj->Save(_swigarg0))
9961 static PyObject
*_wrap_wxFileHistory_Save(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9962 PyObject
* _resultobj
;
9963 wxFileHistory
* _arg0
;
9964 wxConfigBase
* _arg1
;
9965 PyObject
* _argo0
= 0;
9966 PyObject
* _argo1
= 0;
9967 char *_kwnames
[] = { "self","config", NULL
};
9970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileHistory_Save",_kwnames
,&_argo0
,&_argo1
))
9973 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9974 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9975 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_Save. Expected _wxFileHistory_p.");
9980 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9981 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxConfigBase_p")) {
9982 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFileHistory_Save. Expected _wxConfigBase_p.");
9987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9988 wxFileHistory_Save(_arg0
,*_arg1
);
9990 wxPyEndAllowThreads(__tstate
);
9991 if (PyErr_Occurred()) return NULL
;
9992 } Py_INCREF(Py_None
);
9993 _resultobj
= Py_None
;
9997 #define wxFileHistory_AddFilesToMenu(_swigobj) (_swigobj->AddFilesToMenu())
9998 static PyObject
*_wrap_wxFileHistory_AddFilesToMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9999 PyObject
* _resultobj
;
10000 wxFileHistory
* _arg0
;
10001 PyObject
* _argo0
= 0;
10002 char *_kwnames
[] = { "self", NULL
};
10005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileHistory_AddFilesToMenu",_kwnames
,&_argo0
))
10008 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10009 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
10010 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_AddFilesToMenu. Expected _wxFileHistory_p.");
10015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10016 wxFileHistory_AddFilesToMenu(_arg0
);
10018 wxPyEndAllowThreads(__tstate
);
10019 if (PyErr_Occurred()) return NULL
;
10020 } Py_INCREF(Py_None
);
10021 _resultobj
= Py_None
;
10025 #define wxFileHistory_AddFilesToSingleMenu(_swigobj,_swigarg0) (_swigobj->AddFilesToMenu(_swigarg0))
10026 static PyObject
*_wrap_wxFileHistory_AddFilesToSingleMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10027 PyObject
* _resultobj
;
10028 wxFileHistory
* _arg0
;
10030 PyObject
* _argo0
= 0;
10031 PyObject
* _argo1
= 0;
10032 char *_kwnames
[] = { "self","menu", NULL
};
10035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileHistory_AddFilesToSingleMenu",_kwnames
,&_argo0
,&_argo1
))
10038 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10039 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
10040 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_AddFilesToSingleMenu. Expected _wxFileHistory_p.");
10045 if (_argo1
== Py_None
) { _arg1
= NULL
; }
10046 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
10047 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFileHistory_AddFilesToSingleMenu. Expected _wxMenu_p.");
10052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10053 wxFileHistory_AddFilesToSingleMenu(_arg0
,_arg1
);
10055 wxPyEndAllowThreads(__tstate
);
10056 if (PyErr_Occurred()) return NULL
;
10057 } Py_INCREF(Py_None
);
10058 _resultobj
= Py_None
;
10062 #define wxFileHistory_GetHistoryFile(_swigobj,_swigarg0) (_swigobj->GetHistoryFile(_swigarg0))
10063 static PyObject
*_wrap_wxFileHistory_GetHistoryFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10064 PyObject
* _resultobj
;
10065 wxString
* _result
;
10066 wxFileHistory
* _arg0
;
10068 PyObject
* _argo0
= 0;
10069 char *_kwnames
[] = { "self","i", NULL
};
10072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFileHistory_GetHistoryFile",_kwnames
,&_argo0
,&_arg1
))
10075 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10076 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
10077 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_GetHistoryFile. Expected _wxFileHistory_p.");
10082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10083 _result
= new wxString (wxFileHistory_GetHistoryFile(_arg0
,_arg1
));
10085 wxPyEndAllowThreads(__tstate
);
10086 if (PyErr_Occurred()) return NULL
;
10088 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
10096 #define wxFileHistory_GetCount(_swigobj) (_swigobj->GetCount())
10097 static PyObject
*_wrap_wxFileHistory_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10098 PyObject
* _resultobj
;
10100 wxFileHistory
* _arg0
;
10101 PyObject
* _argo0
= 0;
10102 char *_kwnames
[] = { "self", NULL
};
10105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileHistory_GetCount",_kwnames
,&_argo0
))
10108 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10109 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
10110 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_GetCount. Expected _wxFileHistory_p.");
10115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10116 _result
= (int )wxFileHistory_GetCount(_arg0
);
10118 wxPyEndAllowThreads(__tstate
);
10119 if (PyErr_Occurred()) return NULL
;
10120 } _resultobj
= Py_BuildValue("i",_result
);
10124 #define wxFileHistory_GetNoHistoryFiles(_swigobj) (_swigobj->GetNoHistoryFiles())
10125 static PyObject
*_wrap_wxFileHistory_GetNoHistoryFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10126 PyObject
* _resultobj
;
10128 wxFileHistory
* _arg0
;
10129 PyObject
* _argo0
= 0;
10130 char *_kwnames
[] = { "self", NULL
};
10133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileHistory_GetNoHistoryFiles",_kwnames
,&_argo0
))
10136 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10137 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
10138 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_GetNoHistoryFiles. Expected _wxFileHistory_p.");
10143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10144 _result
= (int )wxFileHistory_GetNoHistoryFiles(_arg0
);
10146 wxPyEndAllowThreads(__tstate
);
10147 if (PyErr_Occurred()) return NULL
;
10148 } _resultobj
= Py_BuildValue("i",_result
);
10152 static PyMethodDef misc2cMethods
[] = {
10153 { "wxFileHistory_GetNoHistoryFiles", (PyCFunction
) _wrap_wxFileHistory_GetNoHistoryFiles
, METH_VARARGS
| METH_KEYWORDS
},
10154 { "wxFileHistory_GetCount", (PyCFunction
) _wrap_wxFileHistory_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
10155 { "wxFileHistory_GetHistoryFile", (PyCFunction
) _wrap_wxFileHistory_GetHistoryFile
, METH_VARARGS
| METH_KEYWORDS
},
10156 { "wxFileHistory_AddFilesToSingleMenu", (PyCFunction
) _wrap_wxFileHistory_AddFilesToSingleMenu
, METH_VARARGS
| METH_KEYWORDS
},
10157 { "wxFileHistory_AddFilesToMenu", (PyCFunction
) _wrap_wxFileHistory_AddFilesToMenu
, METH_VARARGS
| METH_KEYWORDS
},
10158 { "wxFileHistory_Save", (PyCFunction
) _wrap_wxFileHistory_Save
, METH_VARARGS
| METH_KEYWORDS
},
10159 { "wxFileHistory_Load", (PyCFunction
) _wrap_wxFileHistory_Load
, METH_VARARGS
| METH_KEYWORDS
},
10160 { "wxFileHistory_RemoveMenu", (PyCFunction
) _wrap_wxFileHistory_RemoveMenu
, METH_VARARGS
| METH_KEYWORDS
},
10161 { "wxFileHistory_UseMenu", (PyCFunction
) _wrap_wxFileHistory_UseMenu
, METH_VARARGS
| METH_KEYWORDS
},
10162 { "wxFileHistory_GetMaxFiles", (PyCFunction
) _wrap_wxFileHistory_GetMaxFiles
, METH_VARARGS
| METH_KEYWORDS
},
10163 { "wxFileHistory_RemoveFileFromHistory", (PyCFunction
) _wrap_wxFileHistory_RemoveFileFromHistory
, METH_VARARGS
| METH_KEYWORDS
},
10164 { "wxFileHistory_AddFileToHistory", (PyCFunction
) _wrap_wxFileHistory_AddFileToHistory
, METH_VARARGS
| METH_KEYWORDS
},
10165 { "delete_wxFileHistory", (PyCFunction
) _wrap_delete_wxFileHistory
, METH_VARARGS
| METH_KEYWORDS
},
10166 { "new_wxFileHistory", (PyCFunction
) _wrap_new_wxFileHistory
, METH_VARARGS
| METH_KEYWORDS
},
10167 { "delete_wxMimeTypesManager", (PyCFunction
) _wrap_delete_wxMimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
},
10168 { "wxMimeTypesManager_Unassociate", (PyCFunction
) _wrap_wxMimeTypesManager_Unassociate
, METH_VARARGS
| METH_KEYWORDS
},
10169 { "wxMimeTypesManager_Associate", (PyCFunction
) _wrap_wxMimeTypesManager_Associate
, METH_VARARGS
| METH_KEYWORDS
},
10170 { "wxMimeTypesManager_AddFallback", (PyCFunction
) _wrap_wxMimeTypesManager_AddFallback
, METH_VARARGS
| METH_KEYWORDS
},
10171 { "wxMimeTypesManager_EnumAllFileTypes", (PyCFunction
) _wrap_wxMimeTypesManager_EnumAllFileTypes
, METH_VARARGS
| METH_KEYWORDS
},
10172 { "wxMimeTypesManager_ReadMimeTypes", (PyCFunction
) _wrap_wxMimeTypesManager_ReadMimeTypes
, METH_VARARGS
| METH_KEYWORDS
},
10173 { "wxMimeTypesManager_ReadMailcap", (PyCFunction
) _wrap_wxMimeTypesManager_ReadMailcap
, METH_VARARGS
| METH_KEYWORDS
},
10174 { "wxMimeTypesManager_GetFileTypeFromMimeType", (PyCFunction
) _wrap_wxMimeTypesManager_GetFileTypeFromMimeType
, METH_VARARGS
| METH_KEYWORDS
},
10175 { "wxMimeTypesManager_GetFileTypeFromExtension", (PyCFunction
) _wrap_wxMimeTypesManager_GetFileTypeFromExtension
, METH_VARARGS
| METH_KEYWORDS
},
10176 { "wxMimeTypesManager_ClearData", (PyCFunction
) _wrap_wxMimeTypesManager_ClearData
, METH_VARARGS
| METH_KEYWORDS
},
10177 { "wxMimeTypesManager_Initialize", (PyCFunction
) _wrap_wxMimeTypesManager_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
10178 { "new_wxMimeTypesManager", (PyCFunction
) _wrap_new_wxMimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
},
10179 { "wxMimeTypesManager_IsOfType", (PyCFunction
) _wrap_wxMimeTypesManager_IsOfType
, METH_VARARGS
| METH_KEYWORDS
},
10180 { "delete_wxFileType", (PyCFunction
) _wrap_delete_wxFileType
, METH_VARARGS
| METH_KEYWORDS
},
10181 { "wxFileType_ExpandCommand", (PyCFunction
) _wrap_wxFileType_ExpandCommand
, METH_VARARGS
| METH_KEYWORDS
},
10182 { "wxFileType_Unassociate", (PyCFunction
) _wrap_wxFileType_Unassociate
, METH_VARARGS
| METH_KEYWORDS
},
10183 { "wxFileType_SetDefaultIcon", (PyCFunction
) _wrap_wxFileType_SetDefaultIcon
, METH_VARARGS
| METH_KEYWORDS
},
10184 { "wxFileType_SetCommand", (PyCFunction
) _wrap_wxFileType_SetCommand
, METH_VARARGS
| METH_KEYWORDS
},
10185 { "wxFileType_GetAllCommands", (PyCFunction
) _wrap_wxFileType_GetAllCommands
, METH_VARARGS
| METH_KEYWORDS
},
10186 { "wxFileType_GetPrintCommand", (PyCFunction
) _wrap_wxFileType_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
},
10187 { "wxFileType_GetOpenCommand", (PyCFunction
) _wrap_wxFileType_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
},
10188 { "wxFileType_GetDescription", (PyCFunction
) _wrap_wxFileType_GetDescription
, METH_VARARGS
| METH_KEYWORDS
},
10189 { "wxFileType_GetIconInfo", (PyCFunction
) _wrap_wxFileType_GetIconInfo
, METH_VARARGS
| METH_KEYWORDS
},
10190 { "wxFileType_GetIcon", (PyCFunction
) _wrap_wxFileType_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
10191 { "wxFileType_GetExtensions", (PyCFunction
) _wrap_wxFileType_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
},
10192 { "wxFileType_GetMimeTypes", (PyCFunction
) _wrap_wxFileType_GetMimeTypes
, METH_VARARGS
| METH_KEYWORDS
},
10193 { "wxFileType_GetMimeType", (PyCFunction
) _wrap_wxFileType_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
10194 { "new_wxFileType", (PyCFunction
) _wrap_new_wxFileType
, METH_VARARGS
| METH_KEYWORDS
},
10195 { "wxFileTypeInfo_GetIconIndex", (PyCFunction
) _wrap_wxFileTypeInfo_GetIconIndex
, METH_VARARGS
| METH_KEYWORDS
},
10196 { "wxFileTypeInfo_GetIconFile", (PyCFunction
) _wrap_wxFileTypeInfo_GetIconFile
, METH_VARARGS
| METH_KEYWORDS
},
10197 { "wxFileTypeInfo_GetExtensionsCount", (PyCFunction
) _wrap_wxFileTypeInfo_GetExtensionsCount
, METH_VARARGS
| METH_KEYWORDS
},
10198 { "wxFileTypeInfo_GetExtensions", (PyCFunction
) _wrap_wxFileTypeInfo_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
},
10199 { "wxFileTypeInfo_GetDescription", (PyCFunction
) _wrap_wxFileTypeInfo_GetDescription
, METH_VARARGS
| METH_KEYWORDS
},
10200 { "wxFileTypeInfo_GetShortDesc", (PyCFunction
) _wrap_wxFileTypeInfo_GetShortDesc
, METH_VARARGS
| METH_KEYWORDS
},
10201 { "wxFileTypeInfo_GetPrintCommand", (PyCFunction
) _wrap_wxFileTypeInfo_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
},
10202 { "wxFileTypeInfo_GetOpenCommand", (PyCFunction
) _wrap_wxFileTypeInfo_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
},
10203 { "wxFileTypeInfo_GetMimeType", (PyCFunction
) _wrap_wxFileTypeInfo_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
10204 { "wxFileTypeInfo_SetShortDesc", (PyCFunction
) _wrap_wxFileTypeInfo_SetShortDesc
, METH_VARARGS
| METH_KEYWORDS
},
10205 { "wxFileTypeInfo_SetIcon", (PyCFunction
) _wrap_wxFileTypeInfo_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
10206 { "wxFileTypeInfo_IsValid", (PyCFunction
) _wrap_wxFileTypeInfo_IsValid
, METH_VARARGS
| METH_KEYWORDS
},
10207 { "new_wxNullFileTypeInfo", (PyCFunction
) _wrap_new_wxNullFileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
},
10208 { "new_wxFileTypeInfoSequence", (PyCFunction
) _wrap_new_wxFileTypeInfoSequence
, METH_VARARGS
| METH_KEYWORDS
},
10209 { "new_wxFileTypeInfo", (PyCFunction
) _wrap_new_wxFileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
},
10210 { "wxWave_Play", (PyCFunction
) _wrap_wxWave_Play
, METH_VARARGS
| METH_KEYWORDS
},
10211 { "wxWave_IsOk", (PyCFunction
) _wrap_wxWave_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
10212 { "delete_wxWave", (PyCFunction
) _wrap_delete_wxWave
, METH_VARARGS
| METH_KEYWORDS
},
10213 { "new_wxWave", (PyCFunction
) _wrap_new_wxWave
, METH_VARARGS
| METH_KEYWORDS
},
10214 { "wxJoystick_ReleaseCapture", (PyCFunction
) _wrap_wxJoystick_ReleaseCapture
, METH_VARARGS
| METH_KEYWORDS
},
10215 { "wxJoystick_SetCapture", (PyCFunction
) _wrap_wxJoystick_SetCapture
, METH_VARARGS
| METH_KEYWORDS
},
10216 { "wxJoystick_HasPOVCTS", (PyCFunction
) _wrap_wxJoystick_HasPOVCTS
, METH_VARARGS
| METH_KEYWORDS
},
10217 { "wxJoystick_HasPOV4Dir", (PyCFunction
) _wrap_wxJoystick_HasPOV4Dir
, METH_VARARGS
| METH_KEYWORDS
},
10218 { "wxJoystick_HasPOV", (PyCFunction
) _wrap_wxJoystick_HasPOV
, METH_VARARGS
| METH_KEYWORDS
},
10219 { "wxJoystick_HasV", (PyCFunction
) _wrap_wxJoystick_HasV
, METH_VARARGS
| METH_KEYWORDS
},
10220 { "wxJoystick_HasU", (PyCFunction
) _wrap_wxJoystick_HasU
, METH_VARARGS
| METH_KEYWORDS
},
10221 { "wxJoystick_HasZ", (PyCFunction
) _wrap_wxJoystick_HasZ
, METH_VARARGS
| METH_KEYWORDS
},
10222 { "wxJoystick_HasRudder", (PyCFunction
) _wrap_wxJoystick_HasRudder
, METH_VARARGS
| METH_KEYWORDS
},
10223 { "wxJoystick_GetVMax", (PyCFunction
) _wrap_wxJoystick_GetVMax
, METH_VARARGS
| METH_KEYWORDS
},
10224 { "wxJoystick_GetVMin", (PyCFunction
) _wrap_wxJoystick_GetVMin
, METH_VARARGS
| METH_KEYWORDS
},
10225 { "wxJoystick_GetUMax", (PyCFunction
) _wrap_wxJoystick_GetUMax
, METH_VARARGS
| METH_KEYWORDS
},
10226 { "wxJoystick_GetUMin", (PyCFunction
) _wrap_wxJoystick_GetUMin
, METH_VARARGS
| METH_KEYWORDS
},
10227 { "wxJoystick_GetRudderMax", (PyCFunction
) _wrap_wxJoystick_GetRudderMax
, METH_VARARGS
| METH_KEYWORDS
},
10228 { "wxJoystick_GetRudderMin", (PyCFunction
) _wrap_wxJoystick_GetRudderMin
, METH_VARARGS
| METH_KEYWORDS
},
10229 { "wxJoystick_GetPollingMax", (PyCFunction
) _wrap_wxJoystick_GetPollingMax
, METH_VARARGS
| METH_KEYWORDS
},
10230 { "wxJoystick_GetPollingMin", (PyCFunction
) _wrap_wxJoystick_GetPollingMin
, METH_VARARGS
| METH_KEYWORDS
},
10231 { "wxJoystick_GetMaxAxes", (PyCFunction
) _wrap_wxJoystick_GetMaxAxes
, METH_VARARGS
| METH_KEYWORDS
},
10232 { "wxJoystick_GetMaxButtons", (PyCFunction
) _wrap_wxJoystick_GetMaxButtons
, METH_VARARGS
| METH_KEYWORDS
},
10233 { "wxJoystick_GetNumberAxes", (PyCFunction
) _wrap_wxJoystick_GetNumberAxes
, METH_VARARGS
| METH_KEYWORDS
},
10234 { "wxJoystick_GetNumberButtons", (PyCFunction
) _wrap_wxJoystick_GetNumberButtons
, METH_VARARGS
| METH_KEYWORDS
},
10235 { "wxJoystick_GetZMax", (PyCFunction
) _wrap_wxJoystick_GetZMax
, METH_VARARGS
| METH_KEYWORDS
},
10236 { "wxJoystick_GetYMax", (PyCFunction
) _wrap_wxJoystick_GetYMax
, METH_VARARGS
| METH_KEYWORDS
},
10237 { "wxJoystick_GetXMax", (PyCFunction
) _wrap_wxJoystick_GetXMax
, METH_VARARGS
| METH_KEYWORDS
},
10238 { "wxJoystick_GetZMin", (PyCFunction
) _wrap_wxJoystick_GetZMin
, METH_VARARGS
| METH_KEYWORDS
},
10239 { "wxJoystick_GetYMin", (PyCFunction
) _wrap_wxJoystick_GetYMin
, METH_VARARGS
| METH_KEYWORDS
},
10240 { "wxJoystick_GetXMin", (PyCFunction
) _wrap_wxJoystick_GetXMin
, METH_VARARGS
| METH_KEYWORDS
},
10241 { "wxJoystick_GetProductName", (PyCFunction
) _wrap_wxJoystick_GetProductName
, METH_VARARGS
| METH_KEYWORDS
},
10242 { "wxJoystick_GetProductId", (PyCFunction
) _wrap_wxJoystick_GetProductId
, METH_VARARGS
| METH_KEYWORDS
},
10243 { "wxJoystick_GetManufacturerId", (PyCFunction
) _wrap_wxJoystick_GetManufacturerId
, METH_VARARGS
| METH_KEYWORDS
},
10244 { "wxJoystick_GetNumberJoysticks", (PyCFunction
) _wrap_wxJoystick_GetNumberJoysticks
, METH_VARARGS
| METH_KEYWORDS
},
10245 { "wxJoystick_IsOk", (PyCFunction
) _wrap_wxJoystick_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
10246 { "wxJoystick_SetMovementThreshold", (PyCFunction
) _wrap_wxJoystick_SetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
},
10247 { "wxJoystick_GetMovementThreshold", (PyCFunction
) _wrap_wxJoystick_GetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
},
10248 { "wxJoystick_GetVPosition", (PyCFunction
) _wrap_wxJoystick_GetVPosition
, METH_VARARGS
| METH_KEYWORDS
},
10249 { "wxJoystick_GetUPosition", (PyCFunction
) _wrap_wxJoystick_GetUPosition
, METH_VARARGS
| METH_KEYWORDS
},
10250 { "wxJoystick_GetRudderPosition", (PyCFunction
) _wrap_wxJoystick_GetRudderPosition
, METH_VARARGS
| METH_KEYWORDS
},
10251 { "wxJoystick_GetPOVCTSPosition", (PyCFunction
) _wrap_wxJoystick_GetPOVCTSPosition
, METH_VARARGS
| METH_KEYWORDS
},
10252 { "wxJoystick_GetPOVPosition", (PyCFunction
) _wrap_wxJoystick_GetPOVPosition
, METH_VARARGS
| METH_KEYWORDS
},
10253 { "wxJoystick_GetButtonState", (PyCFunction
) _wrap_wxJoystick_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
},
10254 { "wxJoystick_GetZPosition", (PyCFunction
) _wrap_wxJoystick_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
},
10255 { "wxJoystick_GetPosition", (PyCFunction
) _wrap_wxJoystick_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
10256 { "delete_wxJoystick", (PyCFunction
) _wrap_delete_wxJoystick
, METH_VARARGS
| METH_KEYWORDS
},
10257 { "new_wxJoystick", (PyCFunction
) _wrap_new_wxJoystick
, METH_VARARGS
| METH_KEYWORDS
},
10258 { "wxProcess_CloseOutput", (PyCFunction
) _wrap_wxProcess_CloseOutput
, METH_VARARGS
| METH_KEYWORDS
},
10259 { "wxProcess_GetOutputStream", (PyCFunction
) _wrap_wxProcess_GetOutputStream
, METH_VARARGS
| METH_KEYWORDS
},
10260 { "wxProcess_GetErrorStream", (PyCFunction
) _wrap_wxProcess_GetErrorStream
, METH_VARARGS
| METH_KEYWORDS
},
10261 { "wxProcess_GetInputStream", (PyCFunction
) _wrap_wxProcess_GetInputStream
, METH_VARARGS
| METH_KEYWORDS
},
10262 { "wxProcess_Detach", (PyCFunction
) _wrap_wxProcess_Detach
, METH_VARARGS
| METH_KEYWORDS
},
10263 { "wxProcess_IsRedirected", (PyCFunction
) _wrap_wxProcess_IsRedirected
, METH_VARARGS
| METH_KEYWORDS
},
10264 { "wxProcess_Redirect", (PyCFunction
) _wrap_wxProcess_Redirect
, METH_VARARGS
| METH_KEYWORDS
},
10265 { "wxProcess_base_OnTerminate", (PyCFunction
) _wrap_wxProcess_base_OnTerminate
, METH_VARARGS
| METH_KEYWORDS
},
10266 { "wxProcess__setCallbackInfo", (PyCFunction
) _wrap_wxProcess__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
10267 { "wxProcess_Destroy", (PyCFunction
) _wrap_wxProcess_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
10268 { "new_wxProcess", (PyCFunction
) _wrap_new_wxProcess
, METH_VARARGS
| METH_KEYWORDS
},
10269 { "wxProcessEvent_m_exitcode_get", (PyCFunction
) _wrap_wxProcessEvent_m_exitcode_get
, METH_VARARGS
| METH_KEYWORDS
},
10270 { "wxProcessEvent_m_exitcode_set", (PyCFunction
) _wrap_wxProcessEvent_m_exitcode_set
, METH_VARARGS
| METH_KEYWORDS
},
10271 { "wxProcessEvent_m_pid_get", (PyCFunction
) _wrap_wxProcessEvent_m_pid_get
, METH_VARARGS
| METH_KEYWORDS
},
10272 { "wxProcessEvent_m_pid_set", (PyCFunction
) _wrap_wxProcessEvent_m_pid_set
, METH_VARARGS
| METH_KEYWORDS
},
10273 { "wxProcessEvent_GetExitCode", (PyCFunction
) _wrap_wxProcessEvent_GetExitCode
, METH_VARARGS
| METH_KEYWORDS
},
10274 { "wxProcessEvent_GetPid", (PyCFunction
) _wrap_wxProcessEvent_GetPid
, METH_VARARGS
| METH_KEYWORDS
},
10275 { "new_wxProcessEvent", (PyCFunction
) _wrap_new_wxProcessEvent
, METH_VARARGS
| METH_KEYWORDS
},
10276 { "wxPyLog_Destroy", (PyCFunction
) _wrap_wxPyLog_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
10277 { "wxPyLog__setCallbackInfo", (PyCFunction
) _wrap_wxPyLog__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
10278 { "new_wxPyLog", (PyCFunction
) _wrap_new_wxPyLog
, METH_VARARGS
| METH_KEYWORDS
},
10279 { "wxLogChain_GetOldLog", (PyCFunction
) _wrap_wxLogChain_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
},
10280 { "wxLogChain_IsPassingMessages", (PyCFunction
) _wrap_wxLogChain_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
},
10281 { "wxLogChain_PassMessages", (PyCFunction
) _wrap_wxLogChain_PassMessages
, METH_VARARGS
| METH_KEYWORDS
},
10282 { "wxLogChain_SetLog", (PyCFunction
) _wrap_wxLogChain_SetLog
, METH_VARARGS
| METH_KEYWORDS
},
10283 { "new_wxLogChain", (PyCFunction
) _wrap_new_wxLogChain
, METH_VARARGS
| METH_KEYWORDS
},
10284 { "delete_wxLogNull", (PyCFunction
) _wrap_delete_wxLogNull
, METH_VARARGS
| METH_KEYWORDS
},
10285 { "new_wxLogNull", (PyCFunction
) _wrap_new_wxLogNull
, METH_VARARGS
| METH_KEYWORDS
},
10286 { "wxLogWindow_PassMessages", (PyCFunction
) _wrap_wxLogWindow_PassMessages
, METH_VARARGS
| METH_KEYWORDS
},
10287 { "wxLogWindow_IsPassingMessages", (PyCFunction
) _wrap_wxLogWindow_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
},
10288 { "wxLogWindow_GetOldLog", (PyCFunction
) _wrap_wxLogWindow_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
},
10289 { "wxLogWindow_GetFrame", (PyCFunction
) _wrap_wxLogWindow_GetFrame
, METH_VARARGS
| METH_KEYWORDS
},
10290 { "wxLogWindow_Show", (PyCFunction
) _wrap_wxLogWindow_Show
, METH_VARARGS
| METH_KEYWORDS
},
10291 { "new_wxLogWindow", (PyCFunction
) _wrap_new_wxLogWindow
, METH_VARARGS
| METH_KEYWORDS
},
10292 { "new_wxLogGui", (PyCFunction
) _wrap_new_wxLogGui
, METH_VARARGS
| METH_KEYWORDS
},
10293 { "new_wxLogTextCtrl", (PyCFunction
) _wrap_new_wxLogTextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
10294 { "new_wxLogStderr", (PyCFunction
) _wrap_new_wxLogStderr
, METH_VARARGS
| METH_KEYWORDS
},
10295 { "wxLog_TimeStamp", (PyCFunction
) _wrap_wxLog_TimeStamp
, METH_VARARGS
| METH_KEYWORDS
},
10296 { "wxLog_IsAllowedTraceMask", (PyCFunction
) _wrap_wxLog_IsAllowedTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
10297 { "wxLog_GetTraceMask", (PyCFunction
) _wrap_wxLog_GetTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
10298 { "wxLog_GetVerbose", (PyCFunction
) _wrap_wxLog_GetVerbose
, METH_VARARGS
| METH_KEYWORDS
},
10299 { "wxLog_GetTimestamp", (PyCFunction
) _wrap_wxLog_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
10300 { "wxLog_SetTimestamp", (PyCFunction
) _wrap_wxLog_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
10301 { "wxLog_ClearTraceMasks", (PyCFunction
) _wrap_wxLog_ClearTraceMasks
, METH_VARARGS
| METH_KEYWORDS
},
10302 { "wxLog_RemoveTraceMask", (PyCFunction
) _wrap_wxLog_RemoveTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
10303 { "wxLog_AddTraceMask", (PyCFunction
) _wrap_wxLog_AddTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
10304 { "wxLog_SetTraceMask", (PyCFunction
) _wrap_wxLog_SetTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
10305 { "wxLog_DontCreateOnDemand", (PyCFunction
) _wrap_wxLog_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
},
10306 { "wxLog_SetVerbose", (PyCFunction
) _wrap_wxLog_SetVerbose
, METH_VARARGS
| METH_KEYWORDS
},
10307 { "wxLog_Resume", (PyCFunction
) _wrap_wxLog_Resume
, METH_VARARGS
| METH_KEYWORDS
},
10308 { "wxLog_Suspend", (PyCFunction
) _wrap_wxLog_Suspend
, METH_VARARGS
| METH_KEYWORDS
},
10309 { "wxLog_SetActiveTarget", (PyCFunction
) _wrap_wxLog_SetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
},
10310 { "wxLog_GetActiveTarget", (PyCFunction
) _wrap_wxLog_GetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
},
10311 { "wxLog_FlushActive", (PyCFunction
) _wrap_wxLog_FlushActive
, METH_VARARGS
| METH_KEYWORDS
},
10312 { "wxLog_HasPendingMessages", (PyCFunction
) _wrap_wxLog_HasPendingMessages
, METH_VARARGS
| METH_KEYWORDS
},
10313 { "wxLog_Flush", (PyCFunction
) _wrap_wxLog_Flush
, METH_VARARGS
| METH_KEYWORDS
},
10314 { "wxLog_OnLog", (PyCFunction
) _wrap_wxLog_OnLog
, METH_VARARGS
| METH_KEYWORDS
},
10315 { "wxLog_EnableLogging", (PyCFunction
) _wrap_wxLog_EnableLogging
, METH_VARARGS
| METH_KEYWORDS
},
10316 { "wxLog_IsEnabled", (PyCFunction
) _wrap_wxLog_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
10317 { "new_wxLog", (PyCFunction
) _wrap_new_wxLog
, METH_VARARGS
| METH_KEYWORDS
},
10318 { "wxStopWatch_Time", (PyCFunction
) _wrap_wxStopWatch_Time
, METH_VARARGS
| METH_KEYWORDS
},
10319 { "wxStopWatch_Resume", (PyCFunction
) _wrap_wxStopWatch_Resume
, METH_VARARGS
| METH_KEYWORDS
},
10320 { "wxStopWatch_Pause", (PyCFunction
) _wrap_wxStopWatch_Pause
, METH_VARARGS
| METH_KEYWORDS
},
10321 { "wxStopWatch_Start", (PyCFunction
) _wrap_wxStopWatch_Start
, METH_VARARGS
| METH_KEYWORDS
},
10322 { "new_wxStopWatch", (PyCFunction
) _wrap_new_wxStopWatch
, METH_VARARGS
| METH_KEYWORDS
},
10323 { "wxPyTimer_Stop", (PyCFunction
) _wrap_wxPyTimer_Stop
, METH_VARARGS
| METH_KEYWORDS
},
10324 { "wxPyTimer_Start", (PyCFunction
) _wrap_wxPyTimer_Start
, METH_VARARGS
| METH_KEYWORDS
},
10325 { "wxPyTimer_SetOwner", (PyCFunction
) _wrap_wxPyTimer_SetOwner
, METH_VARARGS
| METH_KEYWORDS
},
10326 { "wxPyTimer_IsRunning", (PyCFunction
) _wrap_wxPyTimer_IsRunning
, METH_VARARGS
| METH_KEYWORDS
},
10327 { "wxPyTimer_IsOneShot", (PyCFunction
) _wrap_wxPyTimer_IsOneShot
, METH_VARARGS
| METH_KEYWORDS
},
10328 { "wxPyTimer_GetInterval", (PyCFunction
) _wrap_wxPyTimer_GetInterval
, METH_VARARGS
| METH_KEYWORDS
},
10329 { "delete_wxPyTimer", (PyCFunction
) _wrap_delete_wxPyTimer
, METH_VARARGS
| METH_KEYWORDS
},
10330 { "new_wxPyTimer", (PyCFunction
) _wrap_new_wxPyTimer
, METH_VARARGS
| METH_KEYWORDS
},
10331 { "wxDragImage_RedrawImage", (PyCFunction
) _wrap_wxDragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
},
10332 { "wxDragImage_GetImageRect", (PyCFunction
) _wrap_wxDragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
},
10333 { "wxDragImage_Hide", (PyCFunction
) _wrap_wxDragImage_Hide
, METH_VARARGS
| METH_KEYWORDS
},
10334 { "wxDragImage_Show", (PyCFunction
) _wrap_wxDragImage_Show
, METH_VARARGS
| METH_KEYWORDS
},
10335 { "wxDragImage_Move", (PyCFunction
) _wrap_wxDragImage_Move
, METH_VARARGS
| METH_KEYWORDS
},
10336 { "wxDragImage_EndDrag", (PyCFunction
) _wrap_wxDragImage_EndDrag
, METH_VARARGS
| METH_KEYWORDS
},
10337 { "wxDragImage_BeginDrag2", (PyCFunction
) _wrap_wxDragImage_BeginDrag2
, METH_VARARGS
| METH_KEYWORDS
},
10338 { "wxDragImage_BeginDrag", (PyCFunction
) _wrap_wxDragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
},
10339 { "wxDragImage_SetBackingBitmap", (PyCFunction
) _wrap_wxDragImage_SetBackingBitmap
, METH_VARARGS
| METH_KEYWORDS
},
10340 { "delete_wxDragImage", (PyCFunction
) _wrap_delete_wxDragImage
, METH_VARARGS
| METH_KEYWORDS
},
10341 { "new_wxDragListItem", (PyCFunction
) _wrap_new_wxDragListItem
, METH_VARARGS
| METH_KEYWORDS
},
10342 { "new_wxDragTreeItem", (PyCFunction
) _wrap_new_wxDragTreeItem
, METH_VARARGS
| METH_KEYWORDS
},
10343 { "new_wxDragString", (PyCFunction
) _wrap_new_wxDragString
, METH_VARARGS
| METH_KEYWORDS
},
10344 { "new_wxDragIcon", (PyCFunction
) _wrap_new_wxDragIcon
, METH_VARARGS
| METH_KEYWORDS
},
10345 { "new_wxDragImage", (PyCFunction
) _wrap_new_wxDragImage
, METH_VARARGS
| METH_KEYWORDS
},
10346 { "new_wxPyTipProvider", (PyCFunction
) _wrap_new_wxPyTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
10347 { "wxTipProvider_GetCurrentTip", (PyCFunction
) _wrap_wxTipProvider_GetCurrentTip
, METH_VARARGS
| METH_KEYWORDS
},
10348 { "wxTipProvider_GetTip", (PyCFunction
) _wrap_wxTipProvider_GetTip
, METH_VARARGS
| METH_KEYWORDS
},
10349 { "delete_wxTipProvider", (PyCFunction
) _wrap_delete_wxTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
10350 { "delete_wxMutexGuiLocker", (PyCFunction
) _wrap_delete_wxMutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
},
10351 { "new_wxMutexGuiLocker", (PyCFunction
) _wrap_new_wxMutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
},
10352 { "delete_wxWindowDisabler", (PyCFunction
) _wrap_delete_wxWindowDisabler
, METH_VARARGS
| METH_KEYWORDS
},
10353 { "new_wxWindowDisabler", (PyCFunction
) _wrap_new_wxWindowDisabler
, METH_VARARGS
| METH_KEYWORDS
},
10354 { "delete_wxBusyCursor", (PyCFunction
) _wrap_delete_wxBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
10355 { "new_wxBusyCursor", (PyCFunction
) _wrap_new_wxBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
10356 { "wxFontEnumerator_GetFacenames", (PyCFunction
) _wrap_wxFontEnumerator_GetFacenames
, METH_VARARGS
| METH_KEYWORDS
},
10357 { "wxFontEnumerator_GetEncodings", (PyCFunction
) _wrap_wxFontEnumerator_GetEncodings
, METH_VARARGS
| METH_KEYWORDS
},
10358 { "wxFontEnumerator_EnumerateEncodings", (PyCFunction
) _wrap_wxFontEnumerator_EnumerateEncodings
, METH_VARARGS
| METH_KEYWORDS
},
10359 { "wxFontEnumerator_EnumerateFacenames", (PyCFunction
) _wrap_wxFontEnumerator_EnumerateFacenames
, METH_VARARGS
| METH_KEYWORDS
},
10360 { "wxFontEnumerator__setCallbackInfo", (PyCFunction
) _wrap_wxFontEnumerator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
10361 { "delete_wxFontEnumerator", (PyCFunction
) _wrap_delete_wxFontEnumerator
, METH_VARARGS
| METH_KEYWORDS
},
10362 { "new_wxFontEnumerator", (PyCFunction
) _wrap_new_wxFontEnumerator
, METH_VARARGS
| METH_KEYWORDS
},
10363 { "wxCaret_Hide", (PyCFunction
) _wrap_wxCaret_Hide
, METH_VARARGS
| METH_KEYWORDS
},
10364 { "wxCaret_Show", (PyCFunction
) _wrap_wxCaret_Show
, METH_VARARGS
| METH_KEYWORDS
},
10365 { "wxCaret_SetSize", (PyCFunction
) _wrap_wxCaret_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
10366 { "wxCaret_SetSizeWH", (PyCFunction
) _wrap_wxCaret_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
10367 { "wxCaret_Move", (PyCFunction
) _wrap_wxCaret_Move
, METH_VARARGS
| METH_KEYWORDS
},
10368 { "wxCaret_MoveXY", (PyCFunction
) _wrap_wxCaret_MoveXY
, METH_VARARGS
| METH_KEYWORDS
},
10369 { "wxCaret_GetWindow", (PyCFunction
) _wrap_wxCaret_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
10370 { "wxCaret_GetSize", (PyCFunction
) _wrap_wxCaret_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
10371 { "wxCaret_GetSizeTuple", (PyCFunction
) _wrap_wxCaret_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
10372 { "wxCaret_GetPosition", (PyCFunction
) _wrap_wxCaret_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
10373 { "wxCaret_GetPositionTuple", (PyCFunction
) _wrap_wxCaret_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
10374 { "wxCaret_IsVisible", (PyCFunction
) _wrap_wxCaret_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
10375 { "wxCaret_IsOk", (PyCFunction
) _wrap_wxCaret_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
10376 { "delete_wxCaret", (PyCFunction
) _wrap_delete_wxCaret
, METH_VARARGS
| METH_KEYWORDS
},
10377 { "new_wxCaret", (PyCFunction
) _wrap_new_wxCaret
, METH_VARARGS
| METH_KEYWORDS
},
10378 { "wxToolTip_SetDelay", (PyCFunction
) _wrap_wxToolTip_SetDelay
, METH_VARARGS
| METH_KEYWORDS
},
10379 { "wxToolTip_Enable", (PyCFunction
) _wrap_wxToolTip_Enable
, METH_VARARGS
| METH_KEYWORDS
},
10380 { "wxToolTip_GetWindow", (PyCFunction
) _wrap_wxToolTip_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
10381 { "wxToolTip_GetTip", (PyCFunction
) _wrap_wxToolTip_GetTip
, METH_VARARGS
| METH_KEYWORDS
},
10382 { "wxToolTip_SetTip", (PyCFunction
) _wrap_wxToolTip_SetTip
, METH_VARARGS
| METH_KEYWORDS
},
10383 { "new_wxToolTip", (PyCFunction
) _wrap_new_wxToolTip
, METH_VARARGS
| METH_KEYWORDS
},
10384 { "wxWaveData", (PyCFunction
) _wrap_wxWaveData
, METH_VARARGS
| METH_KEYWORDS
},
10385 { "wxExecute", (PyCFunction
) _wrap_wxExecute
, METH_VARARGS
| METH_KEYWORDS
},
10386 { "wxLogSysError", (PyCFunction
) _wrap_wxLogSysError
, METH_VARARGS
| METH_KEYWORDS
},
10387 { "wxLogStatusFrame", (PyCFunction
) _wrap_wxLogStatusFrame
, METH_VARARGS
| METH_KEYWORDS
},
10388 { "wxLogStatus", (PyCFunction
) _wrap_wxLogStatus
, METH_VARARGS
| METH_KEYWORDS
},
10389 { "wxLogVerbose", (PyCFunction
) _wrap_wxLogVerbose
, METH_VARARGS
| METH_KEYWORDS
},
10390 { "wxLogInfo", (PyCFunction
) _wrap_wxLogInfo
, METH_VARARGS
| METH_KEYWORDS
},
10391 { "wxLogMessage", (PyCFunction
) _wrap_wxLogMessage
, METH_VARARGS
| METH_KEYWORDS
},
10392 { "wxLogWarning", (PyCFunction
) _wrap_wxLogWarning
, METH_VARARGS
| METH_KEYWORDS
},
10393 { "wxLogError", (PyCFunction
) _wrap_wxLogError
, METH_VARARGS
| METH_KEYWORDS
},
10394 { "wxLogFatalError", (PyCFunction
) _wrap_wxLogFatalError
, METH_VARARGS
| METH_KEYWORDS
},
10395 { "wxSysErrorMsg", (PyCFunction
) _wrap_wxSysErrorMsg
, METH_VARARGS
| METH_KEYWORDS
},
10396 { "wxSysErrorCode", (PyCFunction
) _wrap_wxSysErrorCode
, METH_VARARGS
| METH_KEYWORDS
},
10397 { "wxCreateFileTipProvider", (PyCFunction
) _wrap_wxCreateFileTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
10398 { "wxShowTip", (PyCFunction
) _wrap_wxShowTip
, METH_VARARGS
| METH_KEYWORDS
},
10399 { "wxThread_IsMain", (PyCFunction
) _wrap_wxThread_IsMain
, METH_VARARGS
| METH_KEYWORDS
},
10400 { "wxMutexGuiLeave", (PyCFunction
) _wrap_wxMutexGuiLeave
, METH_VARARGS
| METH_KEYWORDS
},
10401 { "wxMutexGuiEnter", (PyCFunction
) _wrap_wxMutexGuiEnter
, METH_VARARGS
| METH_KEYWORDS
},
10402 { "wxWakeUpMainThread", (PyCFunction
) _wrap_wxWakeUpMainThread
, METH_VARARGS
| METH_KEYWORDS
},
10403 { "wxWakeUpIdle", (PyCFunction
) _wrap_wxWakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
},
10404 { "wxPostEvent", (PyCFunction
) _wrap_wxPostEvent
, METH_VARARGS
| METH_KEYWORDS
},
10405 { "wxSafeYield", (PyCFunction
) _wrap_wxSafeYield
, METH_VARARGS
| METH_KEYWORDS
},
10406 { "wxCaret_SetBlinkTime", (PyCFunction
) _wrap_wxCaret_SetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
},
10407 { "wxCaret_GetBlinkTime", (PyCFunction
) _wrap_wxCaret_GetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
},
10408 { "wxSystemSettings_GetSystemMetric", (PyCFunction
) _wrap_wxSystemSettings_GetSystemMetric
, METH_VARARGS
| METH_KEYWORDS
},
10409 { "wxSystemSettings_GetSystemFont", (PyCFunction
) _wrap_wxSystemSettings_GetSystemFont
, METH_VARARGS
| METH_KEYWORDS
},
10410 { "wxSystemSettings_GetSystemColour", (PyCFunction
) _wrap_wxSystemSettings_GetSystemColour
, METH_VARARGS
| METH_KEYWORDS
},
10411 { "wxResourceParseString", (PyCFunction
) _wrap_wxResourceParseString
, METH_VARARGS
| METH_KEYWORDS
},
10412 { "wxResourceParseFile", (PyCFunction
) _wrap_wxResourceParseFile
, METH_VARARGS
| METH_KEYWORDS
},
10413 { "wxResourceParseData", (PyCFunction
) _wrap_wxResourceParseData
, METH_VARARGS
| METH_KEYWORDS
},
10414 { "wxResourceGetIdentifier", (PyCFunction
) _wrap_wxResourceGetIdentifier
, METH_VARARGS
| METH_KEYWORDS
},
10415 { "wxResourceCreateMenuBar", (PyCFunction
) _wrap_wxResourceCreateMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
10416 { "wxResourceCreateIcon", (PyCFunction
) _wrap_wxResourceCreateIcon
, METH_VARARGS
| METH_KEYWORDS
},
10417 { "wxResourceCreateBitmap", (PyCFunction
) _wrap_wxResourceCreateBitmap
, METH_VARARGS
| METH_KEYWORDS
},
10418 { "wxResourceClear", (PyCFunction
) _wrap_wxResourceClear
, METH_VARARGS
| METH_KEYWORDS
},
10419 { "wxResourceAddIdentifier", (PyCFunction
) _wrap_wxResourceAddIdentifier
, METH_VARARGS
| METH_KEYWORDS
},
10420 { "wxFlushEvents", (PyCFunction
) _wrap_wxFlushEvents
, METH_VARARGS
| METH_KEYWORDS
},
10421 { "wxCheckForInterrupt", (PyCFunction
) _wrap_wxCheckForInterrupt
, METH_VARARGS
| METH_KEYWORDS
},
10422 { "wxFindWindowAtPoint", (PyCFunction
) _wrap_wxFindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
},
10423 { "wxGenericFindWindowAtPoint", (PyCFunction
) _wrap_wxGenericFindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
},
10424 { "wxGetActiveWindow", (PyCFunction
) _wrap_wxGetActiveWindow
, METH_VARARGS
| METH_KEYWORDS
},
10425 { "wxBeginBusyCursor", (PyCFunction
) _wrap_wxBeginBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
10426 { "wxFindWindowByName", (PyCFunction
) _wrap_wxFindWindowByName
, METH_VARARGS
| METH_KEYWORDS
},
10427 { "wxFindWindowByLabel", (PyCFunction
) _wrap_wxFindWindowByLabel
, METH_VARARGS
| METH_KEYWORDS
},
10428 { "wxSetCursor", (PyCFunction
) _wrap_wxSetCursor
, METH_VARARGS
| METH_KEYWORDS
},
10429 { "wxGetClientDisplayRect", (PyCFunction
) _wrap_wxGetClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
},
10430 { "wxClientDisplayRect", (PyCFunction
) _wrap_wxClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
},
10431 { "wxGetDisplaySizeMM", (PyCFunction
) _wrap_wxGetDisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
},
10432 { "wxDisplaySizeMM", (PyCFunction
) _wrap_wxDisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
},
10433 { "wxGetDisplaySize", (PyCFunction
) _wrap_wxGetDisplaySize
, METH_VARARGS
| METH_KEYWORDS
},
10434 { "wxDisplaySize", (PyCFunction
) _wrap_wxDisplaySize
, METH_VARARGS
| METH_KEYWORDS
},
10435 { "wxGetDisplayDepth", (PyCFunction
) _wrap_wxGetDisplayDepth
, METH_VARARGS
| METH_KEYWORDS
},
10436 { "wxDisplayDepth", (PyCFunction
) _wrap_wxDisplayDepth
, METH_VARARGS
| METH_KEYWORDS
},
10437 { "wxColourDisplay", (PyCFunction
) _wrap_wxColourDisplay
, METH_VARARGS
| METH_KEYWORDS
},
10438 { "wxGetNumberFromUser", (PyCFunction
) _wrap_wxGetNumberFromUser
, METH_VARARGS
| METH_KEYWORDS
},
10439 { "wxMessageBox", (PyCFunction
) _wrap_wxMessageBox
, METH_VARARGS
| METH_KEYWORDS
},
10440 { "wxGetSingleChoiceIndex", (PyCFunction
) _wrap_wxGetSingleChoiceIndex
, METH_VARARGS
| METH_KEYWORDS
},
10441 { "wxGetSingleChoice", (PyCFunction
) _wrap_wxGetSingleChoice
, METH_VARARGS
| METH_KEYWORDS
},
10442 { "wxGetPasswordFromUser", (PyCFunction
) _wrap_wxGetPasswordFromUser
, METH_VARARGS
| METH_KEYWORDS
},
10443 { "wxGetTextFromUser", (PyCFunction
) _wrap_wxGetTextFromUser
, METH_VARARGS
| METH_KEYWORDS
},
10444 { "wxFileSelector", (PyCFunction
) _wrap_wxFileSelector
, METH_VARARGS
| METH_KEYWORDS
},
10451 * This table is used by the pointer type-checker
10453 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
10454 { "_wxEvent","_wxProcessEvent",SwigwxProcessEventTowxEvent
},
10455 { "_signed_long","_long",0},
10456 { "_wxPrintQuality","_wxCoord",0},
10457 { "_wxPrintQuality","_int",0},
10458 { "_wxPrintQuality","_signed_int",0},
10459 { "_wxPrintQuality","_unsigned_int",0},
10460 { "_wxPrintQuality","_wxWindowID",0},
10461 { "_wxPrintQuality","_uint",0},
10462 { "_wxPrintQuality","_EBool",0},
10463 { "_wxPrintQuality","_size_t",0},
10464 { "_wxPrintQuality","_time_t",0},
10465 { "_wxLog","_wxPyLog",SwigwxPyLogTowxLog
},
10466 { "_wxLog","_wxLogChain",SwigwxLogChainTowxLog
},
10467 { "_wxLog","_wxLogWindow",SwigwxLogWindowTowxLog
},
10468 { "_wxLog","_wxLogGui",SwigwxLogGuiTowxLog
},
10469 { "_wxLog","_wxLogTextCtrl",SwigwxLogTextCtrlTowxLog
},
10470 { "_wxLog","_wxLogStderr",SwigwxLogStderrTowxLog
},
10471 { "_byte","_unsigned_char",0},
10472 { "_long","_unsigned_long",0},
10473 { "_long","_signed_long",0},
10474 { "_size_t","_wxCoord",0},
10475 { "_size_t","_wxPrintQuality",0},
10476 { "_size_t","_time_t",0},
10477 { "_size_t","_unsigned_int",0},
10478 { "_size_t","_int",0},
10479 { "_size_t","_wxWindowID",0},
10480 { "_size_t","_uint",0},
10481 { "_uint","_wxCoord",0},
10482 { "_uint","_wxPrintQuality",0},
10483 { "_uint","_time_t",0},
10484 { "_uint","_size_t",0},
10485 { "_uint","_unsigned_int",0},
10486 { "_uint","_int",0},
10487 { "_uint","_wxWindowID",0},
10488 { "_wxChar","_char",0},
10489 { "_char","_wxChar",0},
10490 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
10491 { "_EBool","_wxCoord",0},
10492 { "_EBool","_wxPrintQuality",0},
10493 { "_EBool","_signed_int",0},
10494 { "_EBool","_int",0},
10495 { "_EBool","_wxWindowID",0},
10496 { "_unsigned_long","_long",0},
10497 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
10498 { "_signed_int","_wxCoord",0},
10499 { "_signed_int","_wxPrintQuality",0},
10500 { "_signed_int","_EBool",0},
10501 { "_signed_int","_wxWindowID",0},
10502 { "_signed_int","_int",0},
10503 { "_WXTYPE","_wxDateTime_t",0},
10504 { "_WXTYPE","_short",0},
10505 { "_WXTYPE","_signed_short",0},
10506 { "_WXTYPE","_unsigned_short",0},
10507 { "_wxTipProvider","_wxPyTipProvider",SwigwxPyTipProviderTowxTipProvider
},
10508 { "_unsigned_short","_wxDateTime_t",0},
10509 { "_unsigned_short","_WXTYPE",0},
10510 { "_unsigned_short","_short",0},
10511 { "_wxObject","_wxFileHistory",SwigwxFileHistoryTowxObject
},
10512 { "_wxObject","_wxWave",SwigwxWaveTowxObject
},
10513 { "_wxObject","_wxJoystick",SwigwxJoystickTowxObject
},
10514 { "_wxObject","_wxPyProcess",SwigwxPyProcessTowxObject
},
10515 { "_wxObject","_wxProcessEvent",SwigwxProcessEventTowxObject
},
10516 { "_wxObject","_wxPyTimer",SwigwxPyTimerTowxObject
},
10517 { "_wxObject","_wxGenericDragImage",SwigwxGenericDragImageTowxObject
},
10518 { "_wxObject","_wxToolTip",SwigwxToolTipTowxObject
},
10519 { "_signed_short","_WXTYPE",0},
10520 { "_signed_short","_short",0},
10521 { "_unsigned_char","_byte",0},
10522 { "_unsigned_int","_wxCoord",0},
10523 { "_unsigned_int","_wxPrintQuality",0},
10524 { "_unsigned_int","_time_t",0},
10525 { "_unsigned_int","_size_t",0},
10526 { "_unsigned_int","_uint",0},
10527 { "_unsigned_int","_wxWindowID",0},
10528 { "_unsigned_int","_int",0},
10529 { "_short","_wxDateTime_t",0},
10530 { "_short","_WXTYPE",0},
10531 { "_short","_unsigned_short",0},
10532 { "_short","_signed_short",0},
10533 { "_wxWindowID","_wxCoord",0},
10534 { "_wxWindowID","_wxPrintQuality",0},
10535 { "_wxWindowID","_time_t",0},
10536 { "_wxWindowID","_size_t",0},
10537 { "_wxWindowID","_EBool",0},
10538 { "_wxWindowID","_uint",0},
10539 { "_wxWindowID","_int",0},
10540 { "_wxWindowID","_signed_int",0},
10541 { "_wxWindowID","_unsigned_int",0},
10542 { "_int","_wxCoord",0},
10543 { "_int","_wxPrintQuality",0},
10544 { "_int","_time_t",0},
10545 { "_int","_size_t",0},
10546 { "_int","_EBool",0},
10547 { "_int","_uint",0},
10548 { "_int","_wxWindowID",0},
10549 { "_int","_unsigned_int",0},
10550 { "_int","_signed_int",0},
10551 { "_wxDateTime_t","_unsigned_short",0},
10552 { "_wxDateTime_t","_short",0},
10553 { "_wxDateTime_t","_WXTYPE",0},
10554 { "_time_t","_wxCoord",0},
10555 { "_time_t","_wxPrintQuality",0},
10556 { "_time_t","_unsigned_int",0},
10557 { "_time_t","_int",0},
10558 { "_time_t","_wxWindowID",0},
10559 { "_time_t","_uint",0},
10560 { "_time_t","_size_t",0},
10561 { "_wxCoord","_int",0},
10562 { "_wxCoord","_signed_int",0},
10563 { "_wxCoord","_unsigned_int",0},
10564 { "_wxCoord","_wxWindowID",0},
10565 { "_wxCoord","_uint",0},
10566 { "_wxCoord","_EBool",0},
10567 { "_wxCoord","_size_t",0},
10568 { "_wxCoord","_time_t",0},
10569 { "_wxCoord","_wxPrintQuality",0},
10570 { "_wxEvtHandler","_wxPyProcess",SwigwxPyProcessTowxEvtHandler
},
10573 static PyObject
*SWIG_globals
;
10577 SWIGEXPORT(void) initmisc2c() {
10579 SWIG_globals
= SWIG_newvarlink();
10580 m
= Py_InitModule("misc2c", misc2cMethods
);
10581 d
= PyModule_GetDict(m
);
10582 PyDict_SetItemString(d
,"wxSYS_WHITE_BRUSH", PyInt_FromLong((long) wxSYS_WHITE_BRUSH
));
10583 PyDict_SetItemString(d
,"wxSYS_LTGRAY_BRUSH", PyInt_FromLong((long) wxSYS_LTGRAY_BRUSH
));
10584 PyDict_SetItemString(d
,"wxSYS_GRAY_BRUSH", PyInt_FromLong((long) wxSYS_GRAY_BRUSH
));
10585 PyDict_SetItemString(d
,"wxSYS_DKGRAY_BRUSH", PyInt_FromLong((long) wxSYS_DKGRAY_BRUSH
));
10586 PyDict_SetItemString(d
,"wxSYS_BLACK_BRUSH", PyInt_FromLong((long) wxSYS_BLACK_BRUSH
));
10587 PyDict_SetItemString(d
,"wxSYS_NULL_BRUSH", PyInt_FromLong((long) wxSYS_NULL_BRUSH
));
10588 PyDict_SetItemString(d
,"wxSYS_HOLLOW_BRUSH", PyInt_FromLong((long) wxSYS_HOLLOW_BRUSH
));
10589 PyDict_SetItemString(d
,"wxSYS_WHITE_PEN", PyInt_FromLong((long) wxSYS_WHITE_PEN
));
10590 PyDict_SetItemString(d
,"wxSYS_BLACK_PEN", PyInt_FromLong((long) wxSYS_BLACK_PEN
));
10591 PyDict_SetItemString(d
,"wxSYS_NULL_PEN", PyInt_FromLong((long) wxSYS_NULL_PEN
));
10592 PyDict_SetItemString(d
,"wxSYS_OEM_FIXED_FONT", PyInt_FromLong((long) wxSYS_OEM_FIXED_FONT
));
10593 PyDict_SetItemString(d
,"wxSYS_ANSI_FIXED_FONT", PyInt_FromLong((long) wxSYS_ANSI_FIXED_FONT
));
10594 PyDict_SetItemString(d
,"wxSYS_ANSI_VAR_FONT", PyInt_FromLong((long) wxSYS_ANSI_VAR_FONT
));
10595 PyDict_SetItemString(d
,"wxSYS_SYSTEM_FONT", PyInt_FromLong((long) wxSYS_SYSTEM_FONT
));
10596 PyDict_SetItemString(d
,"wxSYS_DEVICE_DEFAULT_FONT", PyInt_FromLong((long) wxSYS_DEVICE_DEFAULT_FONT
));
10597 PyDict_SetItemString(d
,"wxSYS_DEFAULT_PALETTE", PyInt_FromLong((long) wxSYS_DEFAULT_PALETTE
));
10598 PyDict_SetItemString(d
,"wxSYS_SYSTEM_FIXED_FONT", PyInt_FromLong((long) wxSYS_SYSTEM_FIXED_FONT
));
10599 PyDict_SetItemString(d
,"wxSYS_DEFAULT_GUI_FONT", PyInt_FromLong((long) wxSYS_DEFAULT_GUI_FONT
));
10600 PyDict_SetItemString(d
,"wxSYS_COLOUR_SCROLLBAR", PyInt_FromLong((long) wxSYS_COLOUR_SCROLLBAR
));
10601 PyDict_SetItemString(d
,"wxSYS_COLOUR_BACKGROUND", PyInt_FromLong((long) wxSYS_COLOUR_BACKGROUND
));
10602 PyDict_SetItemString(d
,"wxSYS_COLOUR_ACTIVECAPTION", PyInt_FromLong((long) wxSYS_COLOUR_ACTIVECAPTION
));
10603 PyDict_SetItemString(d
,"wxSYS_COLOUR_INACTIVECAPTION", PyInt_FromLong((long) wxSYS_COLOUR_INACTIVECAPTION
));
10604 PyDict_SetItemString(d
,"wxSYS_COLOUR_MENU", PyInt_FromLong((long) wxSYS_COLOUR_MENU
));
10605 PyDict_SetItemString(d
,"wxSYS_COLOUR_WINDOW", PyInt_FromLong((long) wxSYS_COLOUR_WINDOW
));
10606 PyDict_SetItemString(d
,"wxSYS_COLOUR_WINDOWFRAME", PyInt_FromLong((long) wxSYS_COLOUR_WINDOWFRAME
));
10607 PyDict_SetItemString(d
,"wxSYS_COLOUR_MENUTEXT", PyInt_FromLong((long) wxSYS_COLOUR_MENUTEXT
));
10608 PyDict_SetItemString(d
,"wxSYS_COLOUR_WINDOWTEXT", PyInt_FromLong((long) wxSYS_COLOUR_WINDOWTEXT
));
10609 PyDict_SetItemString(d
,"wxSYS_COLOUR_CAPTIONTEXT", PyInt_FromLong((long) wxSYS_COLOUR_CAPTIONTEXT
));
10610 PyDict_SetItemString(d
,"wxSYS_COLOUR_ACTIVEBORDER", PyInt_FromLong((long) wxSYS_COLOUR_ACTIVEBORDER
));
10611 PyDict_SetItemString(d
,"wxSYS_COLOUR_INACTIVEBORDER", PyInt_FromLong((long) wxSYS_COLOUR_INACTIVEBORDER
));
10612 PyDict_SetItemString(d
,"wxSYS_COLOUR_APPWORKSPACE", PyInt_FromLong((long) wxSYS_COLOUR_APPWORKSPACE
));
10613 PyDict_SetItemString(d
,"wxSYS_COLOUR_HIGHLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_HIGHLIGHT
));
10614 PyDict_SetItemString(d
,"wxSYS_COLOUR_HIGHLIGHTTEXT", PyInt_FromLong((long) wxSYS_COLOUR_HIGHLIGHTTEXT
));
10615 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNFACE", PyInt_FromLong((long) wxSYS_COLOUR_BTNFACE
));
10616 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNSHADOW", PyInt_FromLong((long) wxSYS_COLOUR_BTNSHADOW
));
10617 PyDict_SetItemString(d
,"wxSYS_COLOUR_GRAYTEXT", PyInt_FromLong((long) wxSYS_COLOUR_GRAYTEXT
));
10618 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNTEXT", PyInt_FromLong((long) wxSYS_COLOUR_BTNTEXT
));
10619 PyDict_SetItemString(d
,"wxSYS_COLOUR_INACTIVECAPTIONTEXT", PyInt_FromLong((long) wxSYS_COLOUR_INACTIVECAPTIONTEXT
));
10620 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNHIGHLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_BTNHIGHLIGHT
));
10621 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DDKSHADOW", PyInt_FromLong((long) wxSYS_COLOUR_3DDKSHADOW
));
10622 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_3DLIGHT
));
10623 PyDict_SetItemString(d
,"wxSYS_COLOUR_INFOTEXT", PyInt_FromLong((long) wxSYS_COLOUR_INFOTEXT
));
10624 PyDict_SetItemString(d
,"wxSYS_COLOUR_INFOBK", PyInt_FromLong((long) wxSYS_COLOUR_INFOBK
));
10625 PyDict_SetItemString(d
,"wxSYS_COLOUR_DESKTOP", PyInt_FromLong((long) wxSYS_COLOUR_DESKTOP
));
10626 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DFACE", PyInt_FromLong((long) wxSYS_COLOUR_3DFACE
));
10627 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DSHADOW", PyInt_FromLong((long) wxSYS_COLOUR_3DSHADOW
));
10628 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DHIGHLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_3DHIGHLIGHT
));
10629 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DHILIGHT", PyInt_FromLong((long) wxSYS_COLOUR_3DHILIGHT
));
10630 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNHILIGHT", PyInt_FromLong((long) wxSYS_COLOUR_BTNHILIGHT
));
10631 PyDict_SetItemString(d
,"wxSYS_MOUSE_BUTTONS", PyInt_FromLong((long) wxSYS_MOUSE_BUTTONS
));
10632 PyDict_SetItemString(d
,"wxSYS_BORDER_X", PyInt_FromLong((long) wxSYS_BORDER_X
));
10633 PyDict_SetItemString(d
,"wxSYS_BORDER_Y", PyInt_FromLong((long) wxSYS_BORDER_Y
));
10634 PyDict_SetItemString(d
,"wxSYS_CURSOR_X", PyInt_FromLong((long) wxSYS_CURSOR_X
));
10635 PyDict_SetItemString(d
,"wxSYS_CURSOR_Y", PyInt_FromLong((long) wxSYS_CURSOR_Y
));
10636 PyDict_SetItemString(d
,"wxSYS_DCLICK_X", PyInt_FromLong((long) wxSYS_DCLICK_X
));
10637 PyDict_SetItemString(d
,"wxSYS_DCLICK_Y", PyInt_FromLong((long) wxSYS_DCLICK_Y
));
10638 PyDict_SetItemString(d
,"wxSYS_DRAG_X", PyInt_FromLong((long) wxSYS_DRAG_X
));
10639 PyDict_SetItemString(d
,"wxSYS_DRAG_Y", PyInt_FromLong((long) wxSYS_DRAG_Y
));
10640 PyDict_SetItemString(d
,"wxSYS_EDGE_X", PyInt_FromLong((long) wxSYS_EDGE_X
));
10641 PyDict_SetItemString(d
,"wxSYS_EDGE_Y", PyInt_FromLong((long) wxSYS_EDGE_Y
));
10642 PyDict_SetItemString(d
,"wxSYS_HSCROLL_ARROW_X", PyInt_FromLong((long) wxSYS_HSCROLL_ARROW_X
));
10643 PyDict_SetItemString(d
,"wxSYS_HSCROLL_ARROW_Y", PyInt_FromLong((long) wxSYS_HSCROLL_ARROW_Y
));
10644 PyDict_SetItemString(d
,"wxSYS_HTHUMB_X", PyInt_FromLong((long) wxSYS_HTHUMB_X
));
10645 PyDict_SetItemString(d
,"wxSYS_ICON_X", PyInt_FromLong((long) wxSYS_ICON_X
));
10646 PyDict_SetItemString(d
,"wxSYS_ICON_Y", PyInt_FromLong((long) wxSYS_ICON_Y
));
10647 PyDict_SetItemString(d
,"wxSYS_ICONSPACING_X", PyInt_FromLong((long) wxSYS_ICONSPACING_X
));
10648 PyDict_SetItemString(d
,"wxSYS_ICONSPACING_Y", PyInt_FromLong((long) wxSYS_ICONSPACING_Y
));
10649 PyDict_SetItemString(d
,"wxSYS_WINDOWMIN_X", PyInt_FromLong((long) wxSYS_WINDOWMIN_X
));
10650 PyDict_SetItemString(d
,"wxSYS_WINDOWMIN_Y", PyInt_FromLong((long) wxSYS_WINDOWMIN_Y
));
10651 PyDict_SetItemString(d
,"wxSYS_SCREEN_X", PyInt_FromLong((long) wxSYS_SCREEN_X
));
10652 PyDict_SetItemString(d
,"wxSYS_SCREEN_Y", PyInt_FromLong((long) wxSYS_SCREEN_Y
));
10653 PyDict_SetItemString(d
,"wxSYS_FRAMESIZE_X", PyInt_FromLong((long) wxSYS_FRAMESIZE_X
));
10654 PyDict_SetItemString(d
,"wxSYS_FRAMESIZE_Y", PyInt_FromLong((long) wxSYS_FRAMESIZE_Y
));
10655 PyDict_SetItemString(d
,"wxSYS_SMALLICON_X", PyInt_FromLong((long) wxSYS_SMALLICON_X
));
10656 PyDict_SetItemString(d
,"wxSYS_SMALLICON_Y", PyInt_FromLong((long) wxSYS_SMALLICON_Y
));
10657 PyDict_SetItemString(d
,"wxSYS_HSCROLL_Y", PyInt_FromLong((long) wxSYS_HSCROLL_Y
));
10658 PyDict_SetItemString(d
,"wxSYS_VSCROLL_X", PyInt_FromLong((long) wxSYS_VSCROLL_X
));
10659 PyDict_SetItemString(d
,"wxSYS_VSCROLL_ARROW_X", PyInt_FromLong((long) wxSYS_VSCROLL_ARROW_X
));
10660 PyDict_SetItemString(d
,"wxSYS_VSCROLL_ARROW_Y", PyInt_FromLong((long) wxSYS_VSCROLL_ARROW_Y
));
10661 PyDict_SetItemString(d
,"wxSYS_VTHUMB_Y", PyInt_FromLong((long) wxSYS_VTHUMB_Y
));
10662 PyDict_SetItemString(d
,"wxSYS_CAPTION_Y", PyInt_FromLong((long) wxSYS_CAPTION_Y
));
10663 PyDict_SetItemString(d
,"wxSYS_MENU_Y", PyInt_FromLong((long) wxSYS_MENU_Y
));
10664 PyDict_SetItemString(d
,"wxSYS_NETWORK_PRESENT", PyInt_FromLong((long) wxSYS_NETWORK_PRESENT
));
10665 PyDict_SetItemString(d
,"wxSYS_PENWINDOWS_PRESENT", PyInt_FromLong((long) wxSYS_PENWINDOWS_PRESENT
));
10666 PyDict_SetItemString(d
,"wxSYS_SHOW_SOUNDS", PyInt_FromLong((long) wxSYS_SHOW_SOUNDS
));
10667 PyDict_SetItemString(d
,"wxSYS_SWAP_BUTTONS", PyInt_FromLong((long) wxSYS_SWAP_BUTTONS
));
10668 PyDict_SetItemString(d
,"wxLOG_FatalError", PyInt_FromLong((long) wxLOG_FatalError
));
10669 PyDict_SetItemString(d
,"wxLOG_Error", PyInt_FromLong((long) wxLOG_Error
));
10670 PyDict_SetItemString(d
,"wxLOG_Warning", PyInt_FromLong((long) wxLOG_Warning
));
10671 PyDict_SetItemString(d
,"wxLOG_Message", PyInt_FromLong((long) wxLOG_Message
));
10672 PyDict_SetItemString(d
,"wxLOG_Info", PyInt_FromLong((long) wxLOG_Info
));
10673 PyDict_SetItemString(d
,"wxLOG_Status", PyInt_FromLong((long) wxLOG_Status
));
10674 PyDict_SetItemString(d
,"wxLOG_Debug", PyInt_FromLong((long) wxLOG_Debug
));
10675 PyDict_SetItemString(d
,"wxLOG_Trace", PyInt_FromLong((long) wxLOG_Trace
));
10676 PyDict_SetItemString(d
,"wxLOG_Progress", PyInt_FromLong((long) wxLOG_Progress
));
10677 PyDict_SetItemString(d
,"wxLOG_User", PyInt_FromLong((long) wxLOG_User
));
10678 PyDict_SetItemString(d
,"wxEVT_END_PROCESS", PyInt_FromLong((long) wxEVT_END_PROCESS
));
10679 PyDict_SetItemString(d
,"wxMAILCAP_STANDARD", PyInt_FromLong((long) wxMAILCAP_STANDARD
));
10680 PyDict_SetItemString(d
,"wxMAILCAP_NETSCAPE", PyInt_FromLong((long) wxMAILCAP_NETSCAPE
));
10681 PyDict_SetItemString(d
,"wxMAILCAP_KDE", PyInt_FromLong((long) wxMAILCAP_KDE
));
10682 PyDict_SetItemString(d
,"wxMAILCAP_GNOME", PyInt_FromLong((long) wxMAILCAP_GNOME
));
10683 PyDict_SetItemString(d
,"wxMAILCAP_ALL", PyInt_FromLong((long) wxMAILCAP_ALL
));
10684 PyDict_SetItemString(d
,"cvar", SWIG_globals
);
10685 SWIG_addvarlink(SWIG_globals
,"wxTheMimeTypesManager",_wrap_wxTheMimeTypesManager_get
, _wrap_wxTheMimeTypesManager_set
);
10687 wxPyPtrTypeMap_Add("wxFontEnumerator", "wxPyFontEnumerator");
10688 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
10689 wxPyPtrTypeMap_Add("wxProcess", "wxPyProcess");
10692 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
10693 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);