2 * FILE : src/mac/misc2.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
32 # define SWIGEXPORT(a) a
36 # define SWIGEXPORT(a) a
45 extern void SWIG_MakePtr(char *, void *, char *);
46 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
47 extern char *SWIG_GetPtr(char *, void **, char *);
48 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
49 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
50 extern PyObject
*SWIG_newvarlink(void);
54 #define SWIG_init initmisc2c
56 #define SWIG_name "misc2c"
59 #include <wx/resource.h>
60 #include <wx/tooltip.h>
62 #include <wx/fontenum.h>
63 #include <wx/tipdlg.h>
64 #include <wx/process.h>
66 #if wxUSE_JOYSTICK || defined(__WXMSW__)
67 #include <wx/joystick.h>
70 #if wxUSE_WAVE || defined(__WXMSW__)
74 #include <wx/mimetype.h>
77 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
83 } else if (target
== Py_None
) {
87 if (!PyTuple_Check(target
)) {
89 target
= PyTuple_New(1);
90 PyTuple_SetItem(target
, 0, o2
);
93 PyTuple_SetItem(o3
, 0, o
);
96 target
= PySequence_Concat(o2
, o3
);
103 #if PYTHON_API_VERSION >= 1009
104 static char* wxStringErrorMsg
= "String or Unicode type required";
106 static char* wxStringErrorMsg
= "String type required";
109 static wxString
wxPyEmptyStr("");
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 wxPyTState
* state
= wxPyBeginBlockThreads();
178 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLog")))
179 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(isi)", level
, szString
, t
));
180 wxPyEndBlockThreads(state
);
182 wxLog::DoLog(level
, szString
, t
);
185 virtual void DoLogString(const wxChar
*szString
, time_t t
) {
187 wxPyTState
* state
= wxPyBeginBlockThreads();
188 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLogString")))
189 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(si)", szString
, t
));
190 wxPyEndBlockThreads(state
);
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 wxPyTState
* state
= wxPyBeginBlockThreads();
219 PyErr_SetString(PyExc_NotImplementedError
, "wxJoystick is not available on this platform.");
220 wxPyEndBlockThreads(state
);
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 wxPyTState
* state
= wxPyBeginBlockThreads();
277 PyErr_SetString(PyExc_NotImplementedError
, "wxWave is not available on this platform.");
278 wxPyEndBlockThreads(state
);
280 wxWave(int size
, const wxByte
* data
) {
281 wxPyTState
* state
= wxPyBeginBlockThreads();
282 PyErr_SetString(PyExc_NotImplementedError
, "wxWave is not available on this platform.");
283 wxPyEndBlockThreads(state
);
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 wxPy_BEGIN_ALLOW_THREADS
;
334 _result
= new wxString (wxFileSelector(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
,_arg8
));
336 wxPy_END_ALLOW_THREADS
;
338 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
346 static PyObject
*_wrap_wxGetTextFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
347 PyObject
* _resultobj
;
350 wxString
* _arg1
= (wxString
*) &wxPyEmptyStr
;
351 wxString
* _arg2
= (wxString
*) &wxPyEmptyStr
;
352 wxWindow
* _arg3
= (wxWindow
*) NULL
;
353 int _arg4
= (int ) -1;
354 int _arg5
= (int ) -1;
355 bool _arg6
= (bool ) TRUE
;
356 PyObject
* _obj0
= 0;
357 PyObject
* _obj1
= 0;
358 PyObject
* _obj2
= 0;
359 PyObject
* _argo3
= 0;
360 int tempbool6
= (int) TRUE
;
361 char *_kwnames
[] = { "message","caption","default_value","parent","x","y","centre", NULL
};
364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|OOOiii:wxGetTextFromUser",_kwnames
,&_obj0
,&_obj1
,&_obj2
,&_argo3
,&_arg4
,&_arg5
,&tempbool6
))
367 #if PYTHON_API_VERSION >= 1009
368 char* tmpPtr
; int tmpSize
;
369 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
370 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
373 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
375 _arg0
= new wxString(tmpPtr
, tmpSize
);
377 if (!PyString_Check(_obj0
)) {
378 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
381 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
386 #if PYTHON_API_VERSION >= 1009
387 char* tmpPtr
; int tmpSize
;
388 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
389 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
392 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
394 _arg1
= new wxString(tmpPtr
, tmpSize
);
396 if (!PyString_Check(_obj1
)) {
397 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
400 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
405 #if PYTHON_API_VERSION >= 1009
406 char* tmpPtr
; int tmpSize
;
407 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
408 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
411 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
413 _arg2
= new wxString(tmpPtr
, tmpSize
);
415 if (!PyString_Check(_obj2
)) {
416 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
419 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
423 if (_argo3
== Py_None
) { _arg3
= NULL
; }
424 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxWindow_p")) {
425 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGetTextFromUser. Expected _wxWindow_p.");
429 _arg6
= (bool ) tempbool6
;
431 wxPy_BEGIN_ALLOW_THREADS
;
432 _result
= new wxString (wxGetTextFromUser(*_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
,_arg6
));
434 wxPy_END_ALLOW_THREADS
;
436 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
456 static PyObject
*_wrap_wxGetPasswordFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
457 PyObject
* _resultobj
;
460 wxString
* _arg1
= (wxString
*) &wxPyEmptyStr
;
461 wxString
* _arg2
= (wxString
*) &wxPyEmptyStr
;
462 wxWindow
* _arg3
= (wxWindow
*) NULL
;
463 PyObject
* _obj0
= 0;
464 PyObject
* _obj1
= 0;
465 PyObject
* _obj2
= 0;
466 PyObject
* _argo3
= 0;
467 char *_kwnames
[] = { "message","caption","default_value","parent", NULL
};
470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|OOO:wxGetPasswordFromUser",_kwnames
,&_obj0
,&_obj1
,&_obj2
,&_argo3
))
473 #if PYTHON_API_VERSION >= 1009
474 char* tmpPtr
; int tmpSize
;
475 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
476 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
479 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
481 _arg0
= new wxString(tmpPtr
, tmpSize
);
483 if (!PyString_Check(_obj0
)) {
484 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
487 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
492 #if PYTHON_API_VERSION >= 1009
493 char* tmpPtr
; int tmpSize
;
494 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
495 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
498 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
500 _arg1
= new wxString(tmpPtr
, tmpSize
);
502 if (!PyString_Check(_obj1
)) {
503 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
506 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
511 #if PYTHON_API_VERSION >= 1009
512 char* tmpPtr
; int tmpSize
;
513 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
514 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
517 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
519 _arg2
= new wxString(tmpPtr
, tmpSize
);
521 if (!PyString_Check(_obj2
)) {
522 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
525 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
529 if (_argo3
== Py_None
) { _arg3
= NULL
; }
530 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxWindow_p")) {
531 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGetPasswordFromUser. Expected _wxWindow_p.");
536 wxPy_BEGIN_ALLOW_THREADS
;
537 _result
= new wxString (wxGetPasswordFromUser(*_arg0
,*_arg1
,*_arg2
,_arg3
));
539 wxPy_END_ALLOW_THREADS
;
541 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
561 static PyObject
*_wrap_wxGetSingleChoice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
562 PyObject
* _resultobj
;
568 wxWindow
* _arg4
= (wxWindow
*) NULL
;
569 int _arg5
= (int ) -1;
570 int _arg6
= (int ) -1;
571 bool _arg7
= (bool ) TRUE
;
572 int _arg8
= (int ) 150;
573 int _arg9
= (int ) 200;
574 PyObject
* _obj0
= 0;
575 PyObject
* _obj1
= 0;
576 PyObject
* _obj3
= 0;
577 PyObject
* _argo4
= 0;
578 int tempbool7
= (int) TRUE
;
579 char *_kwnames
[] = { "message","caption","choices","parent","x","y","centre","width","height", NULL
};
582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|Oiiiii:wxGetSingleChoice",_kwnames
,&_obj0
,&_obj1
,&_obj3
,&_argo4
,&_arg5
,&_arg6
,&tempbool7
,&_arg8
,&_arg9
))
585 #if PYTHON_API_VERSION >= 1009
586 char* tmpPtr
; int tmpSize
;
587 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
588 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
591 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
593 _arg0
= new wxString(tmpPtr
, tmpSize
);
595 if (!PyString_Check(_obj0
)) {
596 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
599 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
603 #if PYTHON_API_VERSION >= 1009
604 char* tmpPtr
; int tmpSize
;
605 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
606 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
609 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
611 _arg1
= new wxString(tmpPtr
, tmpSize
);
613 if (!PyString_Check(_obj1
)) {
614 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
617 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
622 _arg3
= wxString_LIST_helper(_obj3
);
628 if (_argo4
== Py_None
) { _arg4
= NULL
; }
629 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_wxWindow_p")) {
630 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxGetSingleChoice. Expected _wxWindow_p.");
634 _arg7
= (bool ) tempbool7
;
637 _arg2
= PyList_Size(_obj3
);
644 wxPy_BEGIN_ALLOW_THREADS
;
645 _result
= new wxString (wxGetSingleChoice(*_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,_arg9
));
647 wxPy_END_ALLOW_THREADS
;
649 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
668 static PyObject
*_wrap_wxGetSingleChoiceIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
669 PyObject
* _resultobj
;
675 wxWindow
* _arg4
= (wxWindow
*) NULL
;
676 int _arg5
= (int ) -1;
677 int _arg6
= (int ) -1;
678 bool _arg7
= (bool ) TRUE
;
679 int _arg8
= (int ) 150;
680 int _arg9
= (int ) 200;
681 PyObject
* _obj0
= 0;
682 PyObject
* _obj1
= 0;
683 PyObject
* _obj3
= 0;
684 PyObject
* _argo4
= 0;
685 int tempbool7
= (int) TRUE
;
686 char *_kwnames
[] = { "message","caption","choices","parent","x","y","centre","width","height", NULL
};
689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|Oiiiii:wxGetSingleChoiceIndex",_kwnames
,&_obj0
,&_obj1
,&_obj3
,&_argo4
,&_arg5
,&_arg6
,&tempbool7
,&_arg8
,&_arg9
))
692 #if PYTHON_API_VERSION >= 1009
693 char* tmpPtr
; int tmpSize
;
694 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
695 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
698 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
700 _arg0
= new wxString(tmpPtr
, tmpSize
);
702 if (!PyString_Check(_obj0
)) {
703 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
706 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
710 #if PYTHON_API_VERSION >= 1009
711 char* tmpPtr
; int tmpSize
;
712 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
713 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
716 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
718 _arg1
= new wxString(tmpPtr
, tmpSize
);
720 if (!PyString_Check(_obj1
)) {
721 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
724 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
729 _arg3
= wxString_LIST_helper(_obj3
);
735 if (_argo4
== Py_None
) { _arg4
= NULL
; }
736 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_wxWindow_p")) {
737 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxGetSingleChoiceIndex. Expected _wxWindow_p.");
741 _arg7
= (bool ) tempbool7
;
744 _arg2
= PyList_Size(_obj3
);
751 wxPy_BEGIN_ALLOW_THREADS
;
752 _result
= (int )wxGetSingleChoiceIndex(*_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,_arg9
);
754 wxPy_END_ALLOW_THREADS
;
755 } _resultobj
= Py_BuildValue("i",_result
);
770 static PyObject
*_wrap_wxMessageBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
771 PyObject
* _resultobj
;
774 wxString
* _arg1
= (wxString
*) &wxPyEmptyStr
;
775 int _arg2
= (int ) wxOK
|wxCENTRE
;
776 wxWindow
* _arg3
= (wxWindow
*) NULL
;
777 int _arg4
= (int ) -1;
778 int _arg5
= (int ) -1;
779 PyObject
* _obj0
= 0;
780 PyObject
* _obj1
= 0;
781 PyObject
* _argo3
= 0;
782 char *_kwnames
[] = { "message","caption","style","parent","x","y", NULL
};
785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|OiOii:wxMessageBox",_kwnames
,&_obj0
,&_obj1
,&_arg2
,&_argo3
,&_arg4
,&_arg5
))
788 #if PYTHON_API_VERSION >= 1009
789 char* tmpPtr
; int tmpSize
;
790 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
791 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
794 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
796 _arg0
= new wxString(tmpPtr
, tmpSize
);
798 if (!PyString_Check(_obj0
)) {
799 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
802 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
807 #if PYTHON_API_VERSION >= 1009
808 char* tmpPtr
; int tmpSize
;
809 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
810 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
813 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
815 _arg1
= new wxString(tmpPtr
, tmpSize
);
817 if (!PyString_Check(_obj1
)) {
818 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
821 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
825 if (_argo3
== Py_None
) { _arg3
= NULL
; }
826 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxWindow_p")) {
827 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxMessageBox. Expected _wxWindow_p.");
832 wxPy_BEGIN_ALLOW_THREADS
;
833 _result
= (int )wxMessageBox(*_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
835 wxPy_END_ALLOW_THREADS
;
836 } _resultobj
= Py_BuildValue("i",_result
);
848 static PyObject
*_wrap_wxGetNumberFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
849 PyObject
* _resultobj
;
855 long _arg4
= (long ) 0;
856 long _arg5
= (long ) 100;
857 wxWindow
* _arg6
= (wxWindow
*) NULL
;
858 wxPoint
* _arg7
= (wxPoint
*) &wxDefaultPosition
;
859 PyObject
* _obj0
= 0;
860 PyObject
* _obj1
= 0;
861 PyObject
* _obj2
= 0;
862 PyObject
* _argo6
= 0;
864 PyObject
* _obj7
= 0;
865 char *_kwnames
[] = { "message","prompt","caption","value","min","max","parent","pos", NULL
};
868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOl|llOO:wxGetNumberFromUser",_kwnames
,&_obj0
,&_obj1
,&_obj2
,&_arg3
,&_arg4
,&_arg5
,&_argo6
,&_obj7
))
871 #if PYTHON_API_VERSION >= 1009
872 char* tmpPtr
; int tmpSize
;
873 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
874 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
877 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
879 _arg0
= new wxString(tmpPtr
, tmpSize
);
881 if (!PyString_Check(_obj0
)) {
882 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
885 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
889 #if PYTHON_API_VERSION >= 1009
890 char* tmpPtr
; int tmpSize
;
891 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
892 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
895 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
897 _arg1
= new wxString(tmpPtr
, tmpSize
);
899 if (!PyString_Check(_obj1
)) {
900 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
903 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
907 #if PYTHON_API_VERSION >= 1009
908 char* tmpPtr
; int tmpSize
;
909 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
910 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
913 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
915 _arg2
= new wxString(tmpPtr
, tmpSize
);
917 if (!PyString_Check(_obj2
)) {
918 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
921 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
925 if (_argo6
== Py_None
) { _arg6
= NULL
; }
926 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxWindow_p")) {
927 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxGetNumberFromUser. Expected _wxWindow_p.");
934 if (! wxPoint_helper(_obj7
, &_arg7
))
938 wxPy_BEGIN_ALLOW_THREADS
;
939 _result
= (long )wxGetNumberFromUser(*_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,*_arg7
);
941 wxPy_END_ALLOW_THREADS
;
942 } _resultobj
= Py_BuildValue("l",_result
);
958 static PyObject
*_wrap_wxColourDisplay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
959 PyObject
* _resultobj
;
961 char *_kwnames
[] = { NULL
};
964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxColourDisplay",_kwnames
))
967 wxPy_BEGIN_ALLOW_THREADS
;
968 _result
= (bool )wxColourDisplay();
970 wxPy_END_ALLOW_THREADS
;
971 } _resultobj
= Py_BuildValue("i",_result
);
975 static PyObject
*_wrap_wxDisplayDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
976 PyObject
* _resultobj
;
978 char *_kwnames
[] = { NULL
};
981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxDisplayDepth",_kwnames
))
984 wxPy_BEGIN_ALLOW_THREADS
;
985 _result
= (int )wxDisplayDepth();
987 wxPy_END_ALLOW_THREADS
;
988 } _resultobj
= Py_BuildValue("i",_result
);
992 static PyObject
*_wrap_wxGetDisplayDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
993 PyObject
* _resultobj
;
995 char *_kwnames
[] = { NULL
};
998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetDisplayDepth",_kwnames
))
1001 wxPy_BEGIN_ALLOW_THREADS
;
1002 _result
= (int )wxGetDisplayDepth();
1004 wxPy_END_ALLOW_THREADS
;
1005 } _resultobj
= Py_BuildValue("i",_result
);
1009 static PyObject
*_wrap_wxDisplaySize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1010 PyObject
* _resultobj
;
1015 char *_kwnames
[] = { NULL
};
1024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxDisplaySize",_kwnames
))
1027 wxPy_BEGIN_ALLOW_THREADS
;
1028 wxDisplaySize(_arg0
,_arg1
);
1030 wxPy_END_ALLOW_THREADS
;
1031 } Py_INCREF(Py_None
);
1032 _resultobj
= Py_None
;
1035 o
= PyInt_FromLong((long) (*_arg0
));
1036 _resultobj
= t_output_helper(_resultobj
, o
);
1040 o
= PyInt_FromLong((long) (*_arg1
));
1041 _resultobj
= t_output_helper(_resultobj
, o
);
1046 static PyObject
*_wrap_wxGetDisplaySize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1047 PyObject
* _resultobj
;
1049 char *_kwnames
[] = { NULL
};
1053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetDisplaySize",_kwnames
))
1056 wxPy_BEGIN_ALLOW_THREADS
;
1057 _result
= new wxSize (wxGetDisplaySize());
1059 wxPy_END_ALLOW_THREADS
;
1060 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
1061 _resultobj
= Py_BuildValue("s",_ptemp
);
1065 static PyObject
*_wrap_wxDisplaySizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1066 PyObject
* _resultobj
;
1071 char *_kwnames
[] = { NULL
};
1080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxDisplaySizeMM",_kwnames
))
1083 wxPy_BEGIN_ALLOW_THREADS
;
1084 wxDisplaySizeMM(_arg0
,_arg1
);
1086 wxPy_END_ALLOW_THREADS
;
1087 } Py_INCREF(Py_None
);
1088 _resultobj
= Py_None
;
1091 o
= PyInt_FromLong((long) (*_arg0
));
1092 _resultobj
= t_output_helper(_resultobj
, o
);
1096 o
= PyInt_FromLong((long) (*_arg1
));
1097 _resultobj
= t_output_helper(_resultobj
, o
);
1102 static PyObject
*_wrap_wxGetDisplaySizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1103 PyObject
* _resultobj
;
1105 char *_kwnames
[] = { NULL
};
1109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetDisplaySizeMM",_kwnames
))
1112 wxPy_BEGIN_ALLOW_THREADS
;
1113 _result
= new wxSize (wxGetDisplaySizeMM());
1115 wxPy_END_ALLOW_THREADS
;
1116 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
1117 _resultobj
= Py_BuildValue("s",_ptemp
);
1121 static PyObject
*_wrap_wxClientDisplayRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1122 PyObject
* _resultobj
;
1131 char *_kwnames
[] = { NULL
};
1146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxClientDisplayRect",_kwnames
))
1149 wxPy_BEGIN_ALLOW_THREADS
;
1150 wxClientDisplayRect(_arg0
,_arg1
,_arg2
,_arg3
);
1152 wxPy_END_ALLOW_THREADS
;
1153 } Py_INCREF(Py_None
);
1154 _resultobj
= Py_None
;
1157 o
= PyInt_FromLong((long) (*_arg0
));
1158 _resultobj
= t_output_helper(_resultobj
, o
);
1162 o
= PyInt_FromLong((long) (*_arg1
));
1163 _resultobj
= t_output_helper(_resultobj
, o
);
1167 o
= PyInt_FromLong((long) (*_arg2
));
1168 _resultobj
= t_output_helper(_resultobj
, o
);
1172 o
= PyInt_FromLong((long) (*_arg3
));
1173 _resultobj
= t_output_helper(_resultobj
, o
);
1178 static PyObject
*_wrap_wxGetClientDisplayRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1179 PyObject
* _resultobj
;
1181 char *_kwnames
[] = { NULL
};
1185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetClientDisplayRect",_kwnames
))
1188 wxPy_BEGIN_ALLOW_THREADS
;
1189 _result
= new wxRect (wxGetClientDisplayRect());
1191 wxPy_END_ALLOW_THREADS
;
1192 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
1193 _resultobj
= Py_BuildValue("s",_ptemp
);
1197 static PyObject
*_wrap_wxSetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1198 PyObject
* _resultobj
;
1200 PyObject
* _argo0
= 0;
1201 char *_kwnames
[] = { "cursor", NULL
};
1204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSetCursor",_kwnames
,&_argo0
))
1207 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1208 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
1209 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSetCursor. Expected _wxCursor_p.");
1214 wxPy_BEGIN_ALLOW_THREADS
;
1215 wxSetCursor(*_arg0
);
1217 wxPy_END_ALLOW_THREADS
;
1218 } Py_INCREF(Py_None
);
1219 _resultobj
= Py_None
;
1223 static PyObject
*_wrap_wxFindWindowByLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1224 PyObject
* _resultobj
;
1227 wxWindow
* _arg1
= (wxWindow
*) NULL
;
1228 PyObject
* _obj0
= 0;
1229 PyObject
* _argo1
= 0;
1230 char *_kwnames
[] = { "label","parent", NULL
};
1233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxFindWindowByLabel",_kwnames
,&_obj0
,&_argo1
))
1236 #if PYTHON_API_VERSION >= 1009
1237 char* tmpPtr
; int tmpSize
;
1238 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
1239 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1242 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
1244 _arg0
= new wxString(tmpPtr
, tmpSize
);
1246 if (!PyString_Check(_obj0
)) {
1247 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1250 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
1254 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1255 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1256 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFindWindowByLabel. Expected _wxWindow_p.");
1261 wxPy_BEGIN_ALLOW_THREADS
;
1262 _result
= (wxWindow
*)wxFindWindowByLabel(*_arg0
,_arg1
);
1264 wxPy_END_ALLOW_THREADS
;
1265 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1273 static PyObject
*_wrap_wxFindWindowByName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1274 PyObject
* _resultobj
;
1277 wxWindow
* _arg1
= (wxWindow
*) NULL
;
1278 PyObject
* _obj0
= 0;
1279 PyObject
* _argo1
= 0;
1280 char *_kwnames
[] = { "name","parent", NULL
};
1283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxFindWindowByName",_kwnames
,&_obj0
,&_argo1
))
1286 #if PYTHON_API_VERSION >= 1009
1287 char* tmpPtr
; int tmpSize
;
1288 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
1289 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1292 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
1294 _arg0
= new wxString(tmpPtr
, tmpSize
);
1296 if (!PyString_Check(_obj0
)) {
1297 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1300 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
1304 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1305 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1306 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFindWindowByName. Expected _wxWindow_p.");
1311 wxPy_BEGIN_ALLOW_THREADS
;
1312 _result
= (wxWindow
*)wxFindWindowByName(*_arg0
,_arg1
);
1314 wxPy_END_ALLOW_THREADS
;
1315 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1323 static PyObject
*_wrap_wxBeginBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1324 PyObject
* _resultobj
;
1325 wxCursor
* _arg0
= (wxCursor
*) wxHOURGLASS_CURSOR
;
1326 PyObject
* _argo0
= 0;
1327 char *_kwnames
[] = { "cursor", NULL
};
1330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:wxBeginBusyCursor",_kwnames
,&_argo0
))
1333 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1334 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
1335 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBeginBusyCursor. Expected _wxCursor_p.");
1340 wxPy_BEGIN_ALLOW_THREADS
;
1341 wxBeginBusyCursor(_arg0
);
1343 wxPy_END_ALLOW_THREADS
;
1344 } Py_INCREF(Py_None
);
1345 _resultobj
= Py_None
;
1349 static PyObject
*_wrap_wxGetActiveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1350 PyObject
* _resultobj
;
1352 char *_kwnames
[] = { NULL
};
1355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetActiveWindow",_kwnames
))
1358 wxPy_BEGIN_ALLOW_THREADS
;
1359 _result
= (wxWindow
*)wxGetActiveWindow();
1361 wxPy_END_ALLOW_THREADS
;
1362 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1366 static PyObject
*_wrap_wxGenericFindWindowAtPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1367 PyObject
* _resultobj
;
1371 PyObject
* _obj0
= 0;
1372 char *_kwnames
[] = { "pt", NULL
};
1375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGenericFindWindowAtPoint",_kwnames
,&_obj0
))
1379 if (! wxPoint_helper(_obj0
, &_arg0
))
1383 wxPy_BEGIN_ALLOW_THREADS
;
1384 _result
= (wxWindow
*)wxGenericFindWindowAtPoint(*_arg0
);
1386 wxPy_END_ALLOW_THREADS
;
1387 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1391 static PyObject
*_wrap_wxFindWindowAtPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1392 PyObject
* _resultobj
;
1396 PyObject
* _obj0
= 0;
1397 char *_kwnames
[] = { "pt", NULL
};
1400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFindWindowAtPoint",_kwnames
,&_obj0
))
1404 if (! wxPoint_helper(_obj0
, &_arg0
))
1408 wxPy_BEGIN_ALLOW_THREADS
;
1409 _result
= (wxWindow
*)wxFindWindowAtPoint(*_arg0
);
1411 wxPy_END_ALLOW_THREADS
;
1412 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1416 static PyObject
*_wrap_wxResourceAddIdentifier(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1417 PyObject
* _resultobj
;
1421 char *_kwnames
[] = { "name","value", NULL
};
1424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"si:wxResourceAddIdentifier",_kwnames
,&_arg0
,&_arg1
))
1427 wxPy_BEGIN_ALLOW_THREADS
;
1428 _result
= (bool )wxResourceAddIdentifier(_arg0
,_arg1
);
1430 wxPy_END_ALLOW_THREADS
;
1431 } _resultobj
= Py_BuildValue("i",_result
);
1435 static PyObject
*_wrap_wxResourceClear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1436 PyObject
* _resultobj
;
1437 char *_kwnames
[] = { NULL
};
1440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxResourceClear",_kwnames
))
1443 wxPy_BEGIN_ALLOW_THREADS
;
1446 wxPy_END_ALLOW_THREADS
;
1447 } Py_INCREF(Py_None
);
1448 _resultobj
= Py_None
;
1452 static PyObject
*_wrap_wxResourceCreateBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1453 PyObject
* _resultobj
;
1456 char *_kwnames
[] = { "resource", NULL
};
1460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxResourceCreateBitmap",_kwnames
,&_arg0
))
1463 wxPy_BEGIN_ALLOW_THREADS
;
1464 _result
= new wxBitmap (wxResourceCreateBitmap(_arg0
));
1466 wxPy_END_ALLOW_THREADS
;
1467 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBitmap_p");
1468 _resultobj
= Py_BuildValue("s",_ptemp
);
1472 static PyObject
*_wrap_wxResourceCreateIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1473 PyObject
* _resultobj
;
1476 char *_kwnames
[] = { "resource", NULL
};
1480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxResourceCreateIcon",_kwnames
,&_arg0
))
1483 wxPy_BEGIN_ALLOW_THREADS
;
1484 _result
= new wxIcon (wxResourceCreateIcon(_arg0
));
1486 wxPy_END_ALLOW_THREADS
;
1487 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxIcon_p");
1488 _resultobj
= Py_BuildValue("s",_ptemp
);
1492 static PyObject
*_wrap_wxResourceCreateMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1493 PyObject
* _resultobj
;
1494 wxMenuBar
* _result
;
1496 char *_kwnames
[] = { "resource", NULL
};
1499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxResourceCreateMenuBar",_kwnames
,&_arg0
))
1502 wxPy_BEGIN_ALLOW_THREADS
;
1503 _result
= (wxMenuBar
*)wxResourceCreateMenuBar(_arg0
);
1505 wxPy_END_ALLOW_THREADS
;
1506 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1510 static PyObject
*_wrap_wxResourceGetIdentifier(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1511 PyObject
* _resultobj
;
1514 char *_kwnames
[] = { "name", NULL
};
1517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxResourceGetIdentifier",_kwnames
,&_arg0
))
1520 wxPy_BEGIN_ALLOW_THREADS
;
1521 _result
= (int )wxResourceGetIdentifier(_arg0
);
1523 wxPy_END_ALLOW_THREADS
;
1524 } _resultobj
= Py_BuildValue("i",_result
);
1528 static PyObject
*_wrap_wxResourceParseData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1529 PyObject
* _resultobj
;
1532 wxResourceTable
* _arg1
= (wxResourceTable
*) NULL
;
1533 PyObject
* _argo1
= 0;
1534 char *_kwnames
[] = { "resource","table", NULL
};
1537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s|O:wxResourceParseData",_kwnames
,&_arg0
,&_argo1
))
1540 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1541 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxResourceTable_p")) {
1542 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxResourceParseData. Expected _wxResourceTable_p.");
1547 wxPy_BEGIN_ALLOW_THREADS
;
1548 _result
= (bool )wxResourceParseData(_arg0
,_arg1
);
1550 wxPy_END_ALLOW_THREADS
;
1551 } _resultobj
= Py_BuildValue("i",_result
);
1555 static PyObject
*_wrap_wxResourceParseFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1556 PyObject
* _resultobj
;
1559 wxResourceTable
* _arg1
= (wxResourceTable
*) NULL
;
1560 PyObject
* _argo1
= 0;
1561 char *_kwnames
[] = { "filename","table", NULL
};
1564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s|O:wxResourceParseFile",_kwnames
,&_arg0
,&_argo1
))
1567 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1568 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxResourceTable_p")) {
1569 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxResourceParseFile. Expected _wxResourceTable_p.");
1574 wxPy_BEGIN_ALLOW_THREADS
;
1575 _result
= (bool )wxResourceParseFile(_arg0
,_arg1
);
1577 wxPy_END_ALLOW_THREADS
;
1578 } _resultobj
= Py_BuildValue("i",_result
);
1582 static PyObject
*_wrap_wxResourceParseString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1583 PyObject
* _resultobj
;
1586 wxResourceTable
* _arg1
= (wxResourceTable
*) NULL
;
1587 PyObject
* _argo1
= 0;
1588 char *_kwnames
[] = { "resource","table", NULL
};
1591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s|O:wxResourceParseString",_kwnames
,&_arg0
,&_argo1
))
1594 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1595 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxResourceTable_p")) {
1596 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxResourceParseString. Expected _wxResourceTable_p.");
1601 wxPy_BEGIN_ALLOW_THREADS
;
1602 _result
= (bool )wxResourceParseString(_arg0
,_arg1
);
1604 wxPy_END_ALLOW_THREADS
;
1605 } _resultobj
= Py_BuildValue("i",_result
);
1609 static PyObject
*_wrap_wxSystemSettings_GetSystemColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1610 PyObject
* _resultobj
;
1613 char *_kwnames
[] = { "index", NULL
};
1617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSystemSettings_GetSystemColour",_kwnames
,&_arg0
))
1620 wxPy_BEGIN_ALLOW_THREADS
;
1621 _result
= new wxColour (wxSystemSettings_GetSystemColour(_arg0
));
1623 wxPy_END_ALLOW_THREADS
;
1624 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
1625 _resultobj
= Py_BuildValue("s",_ptemp
);
1629 static PyObject
*_wrap_wxSystemSettings_GetSystemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1630 PyObject
* _resultobj
;
1633 char *_kwnames
[] = { "index", NULL
};
1637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSystemSettings_GetSystemFont",_kwnames
,&_arg0
))
1640 wxPy_BEGIN_ALLOW_THREADS
;
1641 _result
= new wxFont (wxSystemSettings_GetSystemFont(_arg0
));
1643 wxPy_END_ALLOW_THREADS
;
1644 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
1645 _resultobj
= Py_BuildValue("s",_ptemp
);
1649 static PyObject
*_wrap_wxSystemSettings_GetSystemMetric(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1650 PyObject
* _resultobj
;
1653 char *_kwnames
[] = { "index", NULL
};
1656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSystemSettings_GetSystemMetric",_kwnames
,&_arg0
))
1659 wxPy_BEGIN_ALLOW_THREADS
;
1660 _result
= (int )wxSystemSettings_GetSystemMetric(_arg0
);
1662 wxPy_END_ALLOW_THREADS
;
1663 } _resultobj
= Py_BuildValue("i",_result
);
1667 static PyObject
*_wrap_wxCaret_GetBlinkTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1668 PyObject
* _resultobj
;
1670 char *_kwnames
[] = { NULL
};
1673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxCaret_GetBlinkTime",_kwnames
))
1676 wxPy_BEGIN_ALLOW_THREADS
;
1677 _result
= (int )wxCaret_GetBlinkTime();
1679 wxPy_END_ALLOW_THREADS
;
1680 } _resultobj
= Py_BuildValue("i",_result
);
1684 static PyObject
*_wrap_wxCaret_SetBlinkTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1685 PyObject
* _resultobj
;
1687 char *_kwnames
[] = { "milliseconds", NULL
};
1690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxCaret_SetBlinkTime",_kwnames
,&_arg0
))
1693 wxPy_BEGIN_ALLOW_THREADS
;
1694 wxCaret_SetBlinkTime(_arg0
);
1696 wxPy_END_ALLOW_THREADS
;
1697 } Py_INCREF(Py_None
);
1698 _resultobj
= Py_None
;
1702 static PyObject
*_wrap_wxSafeYield(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1703 PyObject
* _resultobj
;
1705 wxWindow
* _arg0
= (wxWindow
*) NULL
;
1706 PyObject
* _argo0
= 0;
1707 char *_kwnames
[] = { "win", NULL
};
1710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:wxSafeYield",_kwnames
,&_argo0
))
1713 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1714 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1715 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSafeYield. Expected _wxWindow_p.");
1720 wxPy_BEGIN_ALLOW_THREADS
;
1721 _result
= (bool )wxSafeYield(_arg0
);
1723 wxPy_END_ALLOW_THREADS
;
1724 } _resultobj
= Py_BuildValue("i",_result
);
1728 static PyObject
*_wrap_wxPostEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1729 PyObject
* _resultobj
;
1730 wxEvtHandler
* _arg0
;
1732 PyObject
* _argo0
= 0;
1733 PyObject
* _argo1
= 0;
1734 char *_kwnames
[] = { "dest","event", NULL
};
1737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPostEvent",_kwnames
,&_argo0
,&_argo1
))
1740 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1741 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
1742 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPostEvent. Expected _wxEvtHandler_p.");
1747 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1748 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvent_p")) {
1749 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPostEvent. Expected _wxEvent_p.");
1754 wxPy_BEGIN_ALLOW_THREADS
;
1755 wxPostEvent(_arg0
,*_arg1
);
1757 wxPy_END_ALLOW_THREADS
;
1758 } Py_INCREF(Py_None
);
1759 _resultobj
= Py_None
;
1763 static PyObject
*_wrap_wxWakeUpIdle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1764 PyObject
* _resultobj
;
1765 char *_kwnames
[] = { NULL
};
1768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxWakeUpIdle",_kwnames
))
1771 wxPy_BEGIN_ALLOW_THREADS
;
1774 wxPy_END_ALLOW_THREADS
;
1775 } Py_INCREF(Py_None
);
1776 _resultobj
= Py_None
;
1780 static PyObject
*_wrap_wxMutexGuiEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1781 PyObject
* _resultobj
;
1782 char *_kwnames
[] = { NULL
};
1785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxMutexGuiEnter",_kwnames
))
1788 wxPy_BEGIN_ALLOW_THREADS
;
1791 wxPy_END_ALLOW_THREADS
;
1792 } Py_INCREF(Py_None
);
1793 _resultobj
= Py_None
;
1797 static PyObject
*_wrap_wxMutexGuiLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1798 PyObject
* _resultobj
;
1799 char *_kwnames
[] = { NULL
};
1802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxMutexGuiLeave",_kwnames
))
1805 wxPy_BEGIN_ALLOW_THREADS
;
1808 wxPy_END_ALLOW_THREADS
;
1809 } Py_INCREF(Py_None
);
1810 _resultobj
= Py_None
;
1814 static PyObject
*_wrap_wxThread_IsMain(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1815 PyObject
* _resultobj
;
1817 char *_kwnames
[] = { NULL
};
1820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxThread_IsMain",_kwnames
))
1823 wxPy_BEGIN_ALLOW_THREADS
;
1824 _result
= (bool )wxThread_IsMain();
1826 wxPy_END_ALLOW_THREADS
;
1827 } _resultobj
= Py_BuildValue("i",_result
);
1831 static PyObject
*_wrap_wxShowTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1832 PyObject
* _resultobj
;
1835 wxTipProvider
* _arg1
;
1836 bool _arg2
= (bool ) TRUE
;
1837 PyObject
* _argo0
= 0;
1838 PyObject
* _argo1
= 0;
1839 int tempbool2
= (int) TRUE
;
1840 char *_kwnames
[] = { "parent","tipProvider","showAtStartup", NULL
};
1843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxShowTip",_kwnames
,&_argo0
,&_argo1
,&tempbool2
))
1846 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1847 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1848 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShowTip. Expected _wxWindow_p.");
1853 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1854 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTipProvider_p")) {
1855 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxShowTip. Expected _wxTipProvider_p.");
1859 _arg2
= (bool ) tempbool2
;
1861 wxPy_BEGIN_ALLOW_THREADS
;
1862 _result
= (bool )wxShowTip(_arg0
,_arg1
,_arg2
);
1864 wxPy_END_ALLOW_THREADS
;
1865 } _resultobj
= Py_BuildValue("i",_result
);
1869 static PyObject
*_wrap_wxCreateFileTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1870 PyObject
* _resultobj
;
1871 wxTipProvider
* _result
;
1874 PyObject
* _obj0
= 0;
1875 char *_kwnames
[] = { "filename","currentTip", NULL
};
1879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxCreateFileTipProvider",_kwnames
,&_obj0
,&_arg1
))
1882 #if PYTHON_API_VERSION >= 1009
1883 char* tmpPtr
; int tmpSize
;
1884 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
1885 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1888 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
1890 _arg0
= new wxString(tmpPtr
, tmpSize
);
1892 if (!PyString_Check(_obj0
)) {
1893 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1896 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
1900 wxPy_BEGIN_ALLOW_THREADS
;
1901 _result
= (wxTipProvider
*)wxCreateFileTipProvider(*_arg0
,_arg1
);
1903 wxPy_END_ALLOW_THREADS
;
1905 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTipProvider_p");
1906 _resultobj
= Py_BuildValue("s",_ptemp
);
1909 _resultobj
= Py_None
;
1918 static PyObject
*_wrap_wxSysErrorCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1919 PyObject
* _resultobj
;
1920 unsigned long _result
;
1921 char *_kwnames
[] = { NULL
};
1924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxSysErrorCode",_kwnames
))
1927 wxPy_BEGIN_ALLOW_THREADS
;
1928 _result
= (unsigned long )wxSysErrorCode();
1930 wxPy_END_ALLOW_THREADS
;
1931 } _resultobj
= Py_BuildValue("l",_result
);
1935 static PyObject
*_wrap_wxSysErrorMsg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1936 PyObject
* _resultobj
;
1938 unsigned long _arg0
= (unsigned long ) 0;
1939 char *_kwnames
[] = { "nErrCode", NULL
};
1942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|l:wxSysErrorMsg",_kwnames
,&_arg0
))
1945 wxPy_BEGIN_ALLOW_THREADS
;
1946 _result
= (char *)wxSysErrorMsg(_arg0
);
1948 wxPy_END_ALLOW_THREADS
;
1949 } _resultobj
= Py_BuildValue("s", _result
);
1953 static PyObject
*_wrap_wxLogFatalError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1954 PyObject
* _resultobj
;
1956 char *_kwnames
[] = { "szFormat", NULL
};
1959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLogFatalError",_kwnames
,&_arg0
))
1962 wxPy_BEGIN_ALLOW_THREADS
;
1963 wxLogFatalError(_arg0
);
1965 wxPy_END_ALLOW_THREADS
;
1966 } Py_INCREF(Py_None
);
1967 _resultobj
= Py_None
;
1971 static PyObject
*_wrap_wxLogError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1972 PyObject
* _resultobj
;
1974 char *_kwnames
[] = { "szFormat", NULL
};
1977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLogError",_kwnames
,&_arg0
))
1980 wxPy_BEGIN_ALLOW_THREADS
;
1983 wxPy_END_ALLOW_THREADS
;
1984 } Py_INCREF(Py_None
);
1985 _resultobj
= Py_None
;
1989 static PyObject
*_wrap_wxLogWarning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1990 PyObject
* _resultobj
;
1992 char *_kwnames
[] = { "szFormat", NULL
};
1995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLogWarning",_kwnames
,&_arg0
))
1998 wxPy_BEGIN_ALLOW_THREADS
;
1999 wxLogWarning(_arg0
);
2001 wxPy_END_ALLOW_THREADS
;
2002 } Py_INCREF(Py_None
);
2003 _resultobj
= Py_None
;
2007 static PyObject
*_wrap_wxLogMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2008 PyObject
* _resultobj
;
2010 char *_kwnames
[] = { "szFormat", NULL
};
2013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLogMessage",_kwnames
,&_arg0
))
2016 wxPy_BEGIN_ALLOW_THREADS
;
2017 wxLogMessage(_arg0
);
2019 wxPy_END_ALLOW_THREADS
;
2020 } Py_INCREF(Py_None
);
2021 _resultobj
= Py_None
;
2025 static PyObject
*_wrap_wxLogInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2026 PyObject
* _resultobj
;
2028 char *_kwnames
[] = { "szFormat", NULL
};
2031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLogInfo",_kwnames
,&_arg0
))
2034 wxPy_BEGIN_ALLOW_THREADS
;
2037 wxPy_END_ALLOW_THREADS
;
2038 } Py_INCREF(Py_None
);
2039 _resultobj
= Py_None
;
2043 static PyObject
*_wrap_wxLogVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2044 PyObject
* _resultobj
;
2046 char *_kwnames
[] = { "szFormat", NULL
};
2049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLogVerbose",_kwnames
,&_arg0
))
2052 wxPy_BEGIN_ALLOW_THREADS
;
2053 wxLogVerbose(_arg0
);
2055 wxPy_END_ALLOW_THREADS
;
2056 } Py_INCREF(Py_None
);
2057 _resultobj
= Py_None
;
2061 static PyObject
*_wrap_wxLogStatus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2062 PyObject
* _resultobj
;
2064 char *_kwnames
[] = { "szFormat", NULL
};
2067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLogStatus",_kwnames
,&_arg0
))
2070 wxPy_BEGIN_ALLOW_THREADS
;
2073 wxPy_END_ALLOW_THREADS
;
2074 } Py_INCREF(Py_None
);
2075 _resultobj
= Py_None
;
2079 static PyObject
*_wrap_wxLogStatusFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2080 PyObject
* _resultobj
;
2083 PyObject
* _argo0
= 0;
2084 char *_kwnames
[] = { "pFrame","szFormat", NULL
};
2087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Os:wxLogStatusFrame",_kwnames
,&_argo0
,&_arg1
))
2090 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2091 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
2092 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogStatusFrame. Expected _wxFrame_p.");
2097 wxPy_BEGIN_ALLOW_THREADS
;
2098 wxLogStatus(_arg0
,_arg1
);
2100 wxPy_END_ALLOW_THREADS
;
2101 } Py_INCREF(Py_None
);
2102 _resultobj
= Py_None
;
2106 static PyObject
*_wrap_wxLogSysError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2107 PyObject
* _resultobj
;
2109 char *_kwnames
[] = { "szFormat", NULL
};
2112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLogSysError",_kwnames
,&_arg0
))
2115 wxPy_BEGIN_ALLOW_THREADS
;
2116 wxLogSysError(_arg0
);
2118 wxPy_END_ALLOW_THREADS
;
2119 } Py_INCREF(Py_None
);
2120 _resultobj
= Py_None
;
2124 static PyObject
*_wrap_wxExecute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2125 PyObject
* _resultobj
;
2128 int _arg1
= (int ) FALSE
;
2129 wxPyProcess
* _arg2
= (wxPyProcess
*) NULL
;
2130 PyObject
* _obj0
= 0;
2131 PyObject
* _argo2
= 0;
2132 char *_kwnames
[] = { "command","sync","process", NULL
};
2135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iO:wxExecute",_kwnames
,&_obj0
,&_arg1
,&_argo2
))
2138 #if PYTHON_API_VERSION >= 1009
2139 char* tmpPtr
; int tmpSize
;
2140 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
2141 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2144 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
2146 _arg0
= new wxString(tmpPtr
, tmpSize
);
2148 if (!PyString_Check(_obj0
)) {
2149 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2152 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
2156 if (_argo2
== Py_None
) { _arg2
= NULL
; }
2157 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPyProcess_p")) {
2158 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxExecute. Expected _wxPyProcess_p.");
2163 wxPy_BEGIN_ALLOW_THREADS
;
2164 _result
= (long )wxExecute(*_arg0
,_arg1
,_arg2
);
2166 wxPy_END_ALLOW_THREADS
;
2167 } _resultobj
= Py_BuildValue("l",_result
);
2175 static PyObject
*_wrap_wxWaveData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2176 PyObject
* _resultobj
;
2179 PyObject
* _obj0
= 0;
2180 char *_kwnames
[] = { "data", NULL
};
2184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWaveData",_kwnames
,&_obj0
))
2187 #if PYTHON_API_VERSION >= 1009
2188 char* tmpPtr
; int tmpSize
;
2189 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
2190 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2193 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
2195 _arg0
= new wxString(tmpPtr
, tmpSize
);
2197 if (!PyString_Check(_obj0
)) {
2198 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2201 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
2205 wxPy_BEGIN_ALLOW_THREADS
;
2206 _result
= (wxWave
*)wxWaveData(*_arg0
);
2208 wxPy_END_ALLOW_THREADS
;
2210 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWave_p");
2211 _resultobj
= Py_BuildValue("s",_ptemp
);
2214 _resultobj
= Py_None
;
2223 static int _wrap_wxTheMimeTypesManager_set(PyObject
*val
) {
2225 PyErr_SetString(PyExc_TypeError
,"Variable wxTheMimeTypesManager is read-only.");
2229 static PyObject
*_wrap_wxTheMimeTypesManager_get() {
2233 SWIG_MakePtr(ptemp
, (char *) wxTheMimeTypesManager
,"_wxMimeTypesManager_p");
2234 pyobj
= PyString_FromString(ptemp
);
2238 static void *SwigwxToolTipTowxObject(void *ptr
) {
2241 src
= (wxToolTip
*) ptr
;
2242 dest
= (wxObject
*) src
;
2243 return (void *) dest
;
2246 #define new_wxToolTip(_swigarg0) (new wxToolTip(_swigarg0))
2247 static PyObject
*_wrap_new_wxToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2248 PyObject
* _resultobj
;
2249 wxToolTip
* _result
;
2251 PyObject
* _obj0
= 0;
2252 char *_kwnames
[] = { "tip", NULL
};
2256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxToolTip",_kwnames
,&_obj0
))
2259 #if PYTHON_API_VERSION >= 1009
2260 char* tmpPtr
; int tmpSize
;
2261 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
2262 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2265 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
2267 _arg0
= new wxString(tmpPtr
, tmpSize
);
2269 if (!PyString_Check(_obj0
)) {
2270 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2273 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
2277 wxPy_BEGIN_ALLOW_THREADS
;
2278 _result
= (wxToolTip
*)new_wxToolTip(*_arg0
);
2280 wxPy_END_ALLOW_THREADS
;
2282 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToolTip_p");
2283 _resultobj
= Py_BuildValue("s",_ptemp
);
2286 _resultobj
= Py_None
;
2295 #define wxToolTip_SetTip(_swigobj,_swigarg0) (_swigobj->SetTip(_swigarg0))
2296 static PyObject
*_wrap_wxToolTip_SetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2297 PyObject
* _resultobj
;
2300 PyObject
* _argo0
= 0;
2301 PyObject
* _obj1
= 0;
2302 char *_kwnames
[] = { "self","tip", NULL
};
2305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxToolTip_SetTip",_kwnames
,&_argo0
,&_obj1
))
2308 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2309 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolTip_p")) {
2310 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolTip_SetTip. Expected _wxToolTip_p.");
2315 #if PYTHON_API_VERSION >= 1009
2316 char* tmpPtr
; int tmpSize
;
2317 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
2318 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2321 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
2323 _arg1
= new wxString(tmpPtr
, tmpSize
);
2325 if (!PyString_Check(_obj1
)) {
2326 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2329 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
2333 wxPy_BEGIN_ALLOW_THREADS
;
2334 wxToolTip_SetTip(_arg0
,*_arg1
);
2336 wxPy_END_ALLOW_THREADS
;
2337 } Py_INCREF(Py_None
);
2338 _resultobj
= Py_None
;
2346 #define wxToolTip_GetTip(_swigobj) (_swigobj->GetTip())
2347 static PyObject
*_wrap_wxToolTip_GetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2348 PyObject
* _resultobj
;
2351 PyObject
* _argo0
= 0;
2352 char *_kwnames
[] = { "self", NULL
};
2355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolTip_GetTip",_kwnames
,&_argo0
))
2358 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2359 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolTip_p")) {
2360 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolTip_GetTip. Expected _wxToolTip_p.");
2365 wxPy_BEGIN_ALLOW_THREADS
;
2366 _result
= new wxString (wxToolTip_GetTip(_arg0
));
2368 wxPy_END_ALLOW_THREADS
;
2370 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2378 #define wxToolTip_GetWindow(_swigobj) (_swigobj->GetWindow())
2379 static PyObject
*_wrap_wxToolTip_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2380 PyObject
* _resultobj
;
2383 PyObject
* _argo0
= 0;
2384 char *_kwnames
[] = { "self", NULL
};
2387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolTip_GetWindow",_kwnames
,&_argo0
))
2390 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2391 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolTip_p")) {
2392 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolTip_GetWindow. Expected _wxToolTip_p.");
2397 wxPy_BEGIN_ALLOW_THREADS
;
2398 _result
= (wxWindow
*)wxToolTip_GetWindow(_arg0
);
2400 wxPy_END_ALLOW_THREADS
;
2401 }{ _resultobj
= wxPyMake_wxObject(_result
); }
2405 static PyObject
*_wrap_wxToolTip_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2406 PyObject
* _resultobj
;
2409 char *_kwnames
[] = { "flag", NULL
};
2412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxToolTip_Enable",_kwnames
,&tempbool0
))
2414 _arg0
= (bool ) tempbool0
;
2416 wxPy_BEGIN_ALLOW_THREADS
;
2417 wxToolTip::Enable(_arg0
);
2419 wxPy_END_ALLOW_THREADS
;
2420 } Py_INCREF(Py_None
);
2421 _resultobj
= Py_None
;
2425 static PyObject
*_wrap_wxToolTip_SetDelay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2426 PyObject
* _resultobj
;
2428 char *_kwnames
[] = { "milliseconds", NULL
};
2431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:wxToolTip_SetDelay",_kwnames
,&_arg0
))
2434 wxPy_BEGIN_ALLOW_THREADS
;
2435 wxToolTip::SetDelay(_arg0
);
2437 wxPy_END_ALLOW_THREADS
;
2438 } Py_INCREF(Py_None
);
2439 _resultobj
= Py_None
;
2443 #define new_wxCaret(_swigarg0,_swigarg1) (new wxCaret(_swigarg0,_swigarg1))
2444 static PyObject
*_wrap_new_wxCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2445 PyObject
* _resultobj
;
2449 PyObject
* _argo0
= 0;
2451 PyObject
* _obj1
= 0;
2452 char *_kwnames
[] = { "window","size", NULL
};
2456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:new_wxCaret",_kwnames
,&_argo0
,&_obj1
))
2459 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2460 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2461 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxCaret. Expected _wxWindow_p.");
2467 if (! wxSize_helper(_obj1
, &_arg1
))
2471 wxPy_BEGIN_ALLOW_THREADS
;
2472 _result
= (wxCaret
*)new_wxCaret(_arg0
,*_arg1
);
2474 wxPy_END_ALLOW_THREADS
;
2476 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCaret_p");
2477 _resultobj
= Py_BuildValue("s",_ptemp
);
2480 _resultobj
= Py_None
;
2485 #define delete_wxCaret(_swigobj) (delete _swigobj)
2486 static PyObject
*_wrap_delete_wxCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2487 PyObject
* _resultobj
;
2489 PyObject
* _argo0
= 0;
2490 char *_kwnames
[] = { "self", NULL
};
2493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxCaret",_kwnames
,&_argo0
))
2496 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2497 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2498 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxCaret. Expected _wxCaret_p.");
2503 wxPy_BEGIN_ALLOW_THREADS
;
2504 delete_wxCaret(_arg0
);
2506 wxPy_END_ALLOW_THREADS
;
2507 } Py_INCREF(Py_None
);
2508 _resultobj
= Py_None
;
2512 #define wxCaret_IsOk(_swigobj) (_swigobj->IsOk())
2513 static PyObject
*_wrap_wxCaret_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2514 PyObject
* _resultobj
;
2517 PyObject
* _argo0
= 0;
2518 char *_kwnames
[] = { "self", NULL
};
2521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_IsOk",_kwnames
,&_argo0
))
2524 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2525 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2526 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_IsOk. Expected _wxCaret_p.");
2531 wxPy_BEGIN_ALLOW_THREADS
;
2532 _result
= (bool )wxCaret_IsOk(_arg0
);
2534 wxPy_END_ALLOW_THREADS
;
2535 } _resultobj
= Py_BuildValue("i",_result
);
2539 #define wxCaret_IsVisible(_swigobj) (_swigobj->IsVisible())
2540 static PyObject
*_wrap_wxCaret_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2541 PyObject
* _resultobj
;
2544 PyObject
* _argo0
= 0;
2545 char *_kwnames
[] = { "self", NULL
};
2548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_IsVisible",_kwnames
,&_argo0
))
2551 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2552 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2553 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_IsVisible. Expected _wxCaret_p.");
2558 wxPy_BEGIN_ALLOW_THREADS
;
2559 _result
= (bool )wxCaret_IsVisible(_arg0
);
2561 wxPy_END_ALLOW_THREADS
;
2562 } _resultobj
= Py_BuildValue("i",_result
);
2566 #define wxCaret_GetPositionTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPosition(_swigarg0,_swigarg1))
2567 static PyObject
*_wrap_wxCaret_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2568 PyObject
* _resultobj
;
2574 PyObject
* _argo0
= 0;
2575 char *_kwnames
[] = { "self", NULL
};
2584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetPositionTuple",_kwnames
,&_argo0
))
2587 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2588 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2589 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetPositionTuple. Expected _wxCaret_p.");
2594 wxPy_BEGIN_ALLOW_THREADS
;
2595 wxCaret_GetPositionTuple(_arg0
,_arg1
,_arg2
);
2597 wxPy_END_ALLOW_THREADS
;
2598 } Py_INCREF(Py_None
);
2599 _resultobj
= Py_None
;
2602 o
= PyInt_FromLong((long) (*_arg1
));
2603 _resultobj
= t_output_helper(_resultobj
, o
);
2607 o
= PyInt_FromLong((long) (*_arg2
));
2608 _resultobj
= t_output_helper(_resultobj
, o
);
2613 #define wxCaret_GetPosition(_swigobj) (_swigobj->GetPosition())
2614 static PyObject
*_wrap_wxCaret_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2615 PyObject
* _resultobj
;
2618 PyObject
* _argo0
= 0;
2619 char *_kwnames
[] = { "self", NULL
};
2623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetPosition",_kwnames
,&_argo0
))
2626 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2627 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2628 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetPosition. Expected _wxCaret_p.");
2633 wxPy_BEGIN_ALLOW_THREADS
;
2634 _result
= new wxPoint (wxCaret_GetPosition(_arg0
));
2636 wxPy_END_ALLOW_THREADS
;
2637 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2638 _resultobj
= Py_BuildValue("s",_ptemp
);
2642 #define wxCaret_GetSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSize(_swigarg0,_swigarg1))
2643 static PyObject
*_wrap_wxCaret_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2644 PyObject
* _resultobj
;
2650 PyObject
* _argo0
= 0;
2651 char *_kwnames
[] = { "self", NULL
};
2660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetSizeTuple",_kwnames
,&_argo0
))
2663 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2664 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2665 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetSizeTuple. Expected _wxCaret_p.");
2670 wxPy_BEGIN_ALLOW_THREADS
;
2671 wxCaret_GetSizeTuple(_arg0
,_arg1
,_arg2
);
2673 wxPy_END_ALLOW_THREADS
;
2674 } Py_INCREF(Py_None
);
2675 _resultobj
= Py_None
;
2678 o
= PyInt_FromLong((long) (*_arg1
));
2679 _resultobj
= t_output_helper(_resultobj
, o
);
2683 o
= PyInt_FromLong((long) (*_arg2
));
2684 _resultobj
= t_output_helper(_resultobj
, o
);
2689 #define wxCaret_GetSize(_swigobj) (_swigobj->GetSize())
2690 static PyObject
*_wrap_wxCaret_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2691 PyObject
* _resultobj
;
2694 PyObject
* _argo0
= 0;
2695 char *_kwnames
[] = { "self", NULL
};
2699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetSize",_kwnames
,&_argo0
))
2702 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2703 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2704 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetSize. Expected _wxCaret_p.");
2709 wxPy_BEGIN_ALLOW_THREADS
;
2710 _result
= new wxSize (wxCaret_GetSize(_arg0
));
2712 wxPy_END_ALLOW_THREADS
;
2713 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
2714 _resultobj
= Py_BuildValue("s",_ptemp
);
2718 #define wxCaret_GetWindow(_swigobj) (_swigobj->GetWindow())
2719 static PyObject
*_wrap_wxCaret_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2720 PyObject
* _resultobj
;
2723 PyObject
* _argo0
= 0;
2724 char *_kwnames
[] = { "self", NULL
};
2727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetWindow",_kwnames
,&_argo0
))
2730 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2731 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2732 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetWindow. Expected _wxCaret_p.");
2737 wxPy_BEGIN_ALLOW_THREADS
;
2738 _result
= (wxWindow
*)wxCaret_GetWindow(_arg0
);
2740 wxPy_END_ALLOW_THREADS
;
2741 }{ _resultobj
= wxPyMake_wxObject(_result
); }
2745 #define wxCaret_MoveXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->Move(_swigarg0,_swigarg1))
2746 static PyObject
*_wrap_wxCaret_MoveXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2747 PyObject
* _resultobj
;
2751 PyObject
* _argo0
= 0;
2752 char *_kwnames
[] = { "self","x","y", NULL
};
2755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxCaret_MoveXY",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
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_MoveXY. Expected _wxCaret_p.");
2765 wxPy_BEGIN_ALLOW_THREADS
;
2766 wxCaret_MoveXY(_arg0
,_arg1
,_arg2
);
2768 wxPy_END_ALLOW_THREADS
;
2769 } Py_INCREF(Py_None
);
2770 _resultobj
= Py_None
;
2774 #define wxCaret_Move(_swigobj,_swigarg0) (_swigobj->Move(_swigarg0))
2775 static PyObject
*_wrap_wxCaret_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2776 PyObject
* _resultobj
;
2779 PyObject
* _argo0
= 0;
2781 PyObject
* _obj1
= 0;
2782 char *_kwnames
[] = { "self","pt", NULL
};
2785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxCaret_Move",_kwnames
,&_argo0
,&_obj1
))
2788 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2789 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2790 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_Move. Expected _wxCaret_p.");
2796 if (! wxPoint_helper(_obj1
, &_arg1
))
2800 wxPy_BEGIN_ALLOW_THREADS
;
2801 wxCaret_Move(_arg0
,*_arg1
);
2803 wxPy_END_ALLOW_THREADS
;
2804 } Py_INCREF(Py_None
);
2805 _resultobj
= Py_None
;
2809 #define wxCaret_SetSizeWH(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSize(_swigarg0,_swigarg1))
2810 static PyObject
*_wrap_wxCaret_SetSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2811 PyObject
* _resultobj
;
2815 PyObject
* _argo0
= 0;
2816 char *_kwnames
[] = { "self","width","height", NULL
};
2819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxCaret_SetSizeWH",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2822 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2823 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2824 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_SetSizeWH. Expected _wxCaret_p.");
2829 wxPy_BEGIN_ALLOW_THREADS
;
2830 wxCaret_SetSizeWH(_arg0
,_arg1
,_arg2
);
2832 wxPy_END_ALLOW_THREADS
;
2833 } Py_INCREF(Py_None
);
2834 _resultobj
= Py_None
;
2838 #define wxCaret_SetSize(_swigobj,_swigarg0) (_swigobj->SetSize(_swigarg0))
2839 static PyObject
*_wrap_wxCaret_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2840 PyObject
* _resultobj
;
2843 PyObject
* _argo0
= 0;
2845 PyObject
* _obj1
= 0;
2846 char *_kwnames
[] = { "self","size", NULL
};
2849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxCaret_SetSize",_kwnames
,&_argo0
,&_obj1
))
2852 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2853 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2854 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_SetSize. Expected _wxCaret_p.");
2860 if (! wxSize_helper(_obj1
, &_arg1
))
2864 wxPy_BEGIN_ALLOW_THREADS
;
2865 wxCaret_SetSize(_arg0
,*_arg1
);
2867 wxPy_END_ALLOW_THREADS
;
2868 } Py_INCREF(Py_None
);
2869 _resultobj
= Py_None
;
2873 #define wxCaret_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
2874 static PyObject
*_wrap_wxCaret_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2875 PyObject
* _resultobj
;
2877 int _arg1
= (int ) TRUE
;
2878 PyObject
* _argo0
= 0;
2879 char *_kwnames
[] = { "self","show", NULL
};
2882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxCaret_Show",_kwnames
,&_argo0
,&_arg1
))
2885 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2886 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2887 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_Show. Expected _wxCaret_p.");
2892 wxPy_BEGIN_ALLOW_THREADS
;
2893 wxCaret_Show(_arg0
,_arg1
);
2895 wxPy_END_ALLOW_THREADS
;
2896 } Py_INCREF(Py_None
);
2897 _resultobj
= Py_None
;
2901 #define wxCaret_Hide(_swigobj) (_swigobj->Hide())
2902 static PyObject
*_wrap_wxCaret_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2903 PyObject
* _resultobj
;
2905 PyObject
* _argo0
= 0;
2906 char *_kwnames
[] = { "self", NULL
};
2909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_Hide",_kwnames
,&_argo0
))
2912 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2913 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2914 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_Hide. Expected _wxCaret_p.");
2919 wxPy_BEGIN_ALLOW_THREADS
;
2920 wxCaret_Hide(_arg0
);
2922 wxPy_END_ALLOW_THREADS
;
2923 } Py_INCREF(Py_None
);
2924 _resultobj
= Py_None
;
2928 #define new_wxFontEnumerator() (new wxPyFontEnumerator())
2929 static PyObject
*_wrap_new_wxFontEnumerator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2930 PyObject
* _resultobj
;
2931 wxPyFontEnumerator
* _result
;
2932 char *_kwnames
[] = { NULL
};
2936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxFontEnumerator",_kwnames
))
2939 wxPy_BEGIN_ALLOW_THREADS
;
2940 _result
= (wxPyFontEnumerator
*)new_wxFontEnumerator();
2942 wxPy_END_ALLOW_THREADS
;
2944 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyFontEnumerator_p");
2945 _resultobj
= Py_BuildValue("s",_ptemp
);
2948 _resultobj
= Py_None
;
2953 #define delete_wxPyFontEnumerator(_swigobj) (delete _swigobj)
2954 static PyObject
*_wrap_delete_wxFontEnumerator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2955 PyObject
* _resultobj
;
2956 wxPyFontEnumerator
* _arg0
;
2957 PyObject
* _argo0
= 0;
2958 char *_kwnames
[] = { "self", NULL
};
2961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxFontEnumerator",_kwnames
,&_argo0
))
2964 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2965 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) {
2966 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxFontEnumerator. Expected _wxPyFontEnumerator_p.");
2971 wxPy_BEGIN_ALLOW_THREADS
;
2972 delete_wxPyFontEnumerator(_arg0
);
2974 wxPy_END_ALLOW_THREADS
;
2975 } Py_INCREF(Py_None
);
2976 _resultobj
= Py_None
;
2980 #define wxFontEnumerator__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
2981 static PyObject
*_wrap_wxFontEnumerator__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2982 PyObject
* _resultobj
;
2983 wxPyFontEnumerator
* _arg0
;
2986 PyObject
* _argo0
= 0;
2987 PyObject
* _obj1
= 0;
2988 PyObject
* _obj2
= 0;
2989 char *_kwnames
[] = { "self","self","_class", NULL
};
2992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxFontEnumerator__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
2995 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2996 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) {
2997 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontEnumerator__setCallbackInfo. Expected _wxPyFontEnumerator_p.");
3008 wxPy_BEGIN_ALLOW_THREADS
;
3009 wxFontEnumerator__setCallbackInfo(_arg0
,_arg1
,_arg2
);
3011 wxPy_END_ALLOW_THREADS
;
3012 } Py_INCREF(Py_None
);
3013 _resultobj
= Py_None
;
3017 #define wxFontEnumerator_EnumerateFacenames(_swigobj,_swigarg0,_swigarg1) (_swigobj->EnumerateFacenames(_swigarg0,_swigarg1))
3018 static PyObject
*_wrap_wxFontEnumerator_EnumerateFacenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3019 PyObject
* _resultobj
;
3021 wxPyFontEnumerator
* _arg0
;
3022 wxFontEncoding _arg1
= (wxFontEncoding
) wxFONTENCODING_SYSTEM
;
3023 bool _arg2
= (bool ) FALSE
;
3024 PyObject
* _argo0
= 0;
3025 int tempbool2
= (int) FALSE
;
3026 char *_kwnames
[] = { "self","encoding","fixedWidthOnly", NULL
};
3029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxFontEnumerator_EnumerateFacenames",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
3032 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3033 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) {
3034 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontEnumerator_EnumerateFacenames. Expected _wxPyFontEnumerator_p.");
3038 _arg2
= (bool ) tempbool2
;
3040 wxPy_BEGIN_ALLOW_THREADS
;
3041 _result
= (bool )wxFontEnumerator_EnumerateFacenames(_arg0
,_arg1
,_arg2
);
3043 wxPy_END_ALLOW_THREADS
;
3044 } _resultobj
= Py_BuildValue("i",_result
);
3048 #define wxFontEnumerator_EnumerateEncodings(_swigobj,_swigarg0) (_swigobj->EnumerateEncodings(_swigarg0))
3049 static PyObject
*_wrap_wxFontEnumerator_EnumerateEncodings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3050 PyObject
* _resultobj
;
3052 wxPyFontEnumerator
* _arg0
;
3053 char * _arg1
= (char *) "";
3054 PyObject
* _argo0
= 0;
3055 char *_kwnames
[] = { "self","facename", NULL
};
3058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|s:wxFontEnumerator_EnumerateEncodings",_kwnames
,&_argo0
,&_arg1
))
3061 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3062 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) {
3063 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontEnumerator_EnumerateEncodings. Expected _wxPyFontEnumerator_p.");
3068 wxPy_BEGIN_ALLOW_THREADS
;
3069 _result
= (bool )wxFontEnumerator_EnumerateEncodings(_arg0
,_arg1
);
3071 wxPy_END_ALLOW_THREADS
;
3072 } _resultobj
= Py_BuildValue("i",_result
);
3076 static PyObject
* wxPyFontEnumerator_GetEncodings(wxPyFontEnumerator
*self
) {
3077 wxArrayString
* arr
= self
->GetEncodings();
3078 return wxArrayString2PyList_helper(arr
);
3080 static PyObject
*_wrap_wxFontEnumerator_GetEncodings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3081 PyObject
* _resultobj
;
3083 wxPyFontEnumerator
* _arg0
;
3084 PyObject
* _argo0
= 0;
3085 char *_kwnames
[] = { "self", NULL
};
3088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFontEnumerator_GetEncodings",_kwnames
,&_argo0
))
3091 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3092 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) {
3093 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontEnumerator_GetEncodings. Expected _wxPyFontEnumerator_p.");
3098 wxPy_BEGIN_ALLOW_THREADS
;
3099 _result
= (PyObject
*)wxPyFontEnumerator_GetEncodings(_arg0
);
3101 wxPy_END_ALLOW_THREADS
;
3103 _resultobj
= _result
;
3108 static PyObject
* wxPyFontEnumerator_GetFacenames(wxPyFontEnumerator
*self
) {
3109 wxArrayString
* arr
= self
->GetFacenames();
3110 return wxArrayString2PyList_helper(arr
);
3112 static PyObject
*_wrap_wxFontEnumerator_GetFacenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3113 PyObject
* _resultobj
;
3115 wxPyFontEnumerator
* _arg0
;
3116 PyObject
* _argo0
= 0;
3117 char *_kwnames
[] = { "self", NULL
};
3120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFontEnumerator_GetFacenames",_kwnames
,&_argo0
))
3123 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3124 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) {
3125 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontEnumerator_GetFacenames. Expected _wxPyFontEnumerator_p.");
3130 wxPy_BEGIN_ALLOW_THREADS
;
3131 _result
= (PyObject
*)wxPyFontEnumerator_GetFacenames(_arg0
);
3133 wxPy_END_ALLOW_THREADS
;
3135 _resultobj
= _result
;
3140 #define new_wxBusyCursor(_swigarg0) (new wxBusyCursor(_swigarg0))
3141 static PyObject
*_wrap_new_wxBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3142 PyObject
* _resultobj
;
3143 wxBusyCursor
* _result
;
3144 wxCursor
* _arg0
= (wxCursor
*) wxHOURGLASS_CURSOR
;
3145 PyObject
* _argo0
= 0;
3146 char *_kwnames
[] = { "cursor", NULL
};
3150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxBusyCursor",_kwnames
,&_argo0
))
3153 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3154 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
3155 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxBusyCursor. Expected _wxCursor_p.");
3160 wxPy_BEGIN_ALLOW_THREADS
;
3161 _result
= (wxBusyCursor
*)new_wxBusyCursor(_arg0
);
3163 wxPy_END_ALLOW_THREADS
;
3165 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBusyCursor_p");
3166 _resultobj
= Py_BuildValue("s",_ptemp
);
3169 _resultobj
= Py_None
;
3174 #define delete_wxBusyCursor(_swigobj) (delete _swigobj)
3175 static PyObject
*_wrap_delete_wxBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3176 PyObject
* _resultobj
;
3177 wxBusyCursor
* _arg0
;
3178 PyObject
* _argo0
= 0;
3179 char *_kwnames
[] = { "self", NULL
};
3182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxBusyCursor",_kwnames
,&_argo0
))
3185 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3186 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBusyCursor_p")) {
3187 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxBusyCursor. Expected _wxBusyCursor_p.");
3192 wxPy_BEGIN_ALLOW_THREADS
;
3193 delete_wxBusyCursor(_arg0
);
3195 wxPy_END_ALLOW_THREADS
;
3196 } Py_INCREF(Py_None
);
3197 _resultobj
= Py_None
;
3201 #define new_wxWindowDisabler(_swigarg0) (new wxWindowDisabler(_swigarg0))
3202 static PyObject
*_wrap_new_wxWindowDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3203 PyObject
* _resultobj
;
3204 wxWindowDisabler
* _result
;
3205 wxWindow
* _arg0
= (wxWindow
*) NULL
;
3206 PyObject
* _argo0
= 0;
3207 char *_kwnames
[] = { "winToSkip", NULL
};
3211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxWindowDisabler",_kwnames
,&_argo0
))
3214 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3215 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3216 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxWindowDisabler. Expected _wxWindow_p.");
3221 wxPy_BEGIN_ALLOW_THREADS
;
3222 _result
= (wxWindowDisabler
*)new_wxWindowDisabler(_arg0
);
3224 wxPy_END_ALLOW_THREADS
;
3226 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindowDisabler_p");
3227 _resultobj
= Py_BuildValue("s",_ptemp
);
3230 _resultobj
= Py_None
;
3235 #define delete_wxWindowDisabler(_swigobj) (delete _swigobj)
3236 static PyObject
*_wrap_delete_wxWindowDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3237 PyObject
* _resultobj
;
3238 wxWindowDisabler
* _arg0
;
3239 PyObject
* _argo0
= 0;
3240 char *_kwnames
[] = { "self", NULL
};
3243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxWindowDisabler",_kwnames
,&_argo0
))
3246 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3247 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindowDisabler_p")) {
3248 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxWindowDisabler. Expected _wxWindowDisabler_p.");
3253 wxPy_BEGIN_ALLOW_THREADS
;
3254 delete_wxWindowDisabler(_arg0
);
3256 wxPy_END_ALLOW_THREADS
;
3257 } Py_INCREF(Py_None
);
3258 _resultobj
= Py_None
;
3262 #define new_wxMutexGuiLocker() (new wxMutexGuiLocker())
3263 static PyObject
*_wrap_new_wxMutexGuiLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3264 PyObject
* _resultobj
;
3265 wxMutexGuiLocker
* _result
;
3266 char *_kwnames
[] = { NULL
};
3270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxMutexGuiLocker",_kwnames
))
3273 wxPy_BEGIN_ALLOW_THREADS
;
3274 _result
= (wxMutexGuiLocker
*)new_wxMutexGuiLocker();
3276 wxPy_END_ALLOW_THREADS
;
3278 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMutexGuiLocker_p");
3279 _resultobj
= Py_BuildValue("s",_ptemp
);
3282 _resultobj
= Py_None
;
3287 #define delete_wxMutexGuiLocker(_swigobj) (delete _swigobj)
3288 static PyObject
*_wrap_delete_wxMutexGuiLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3289 PyObject
* _resultobj
;
3290 wxMutexGuiLocker
* _arg0
;
3291 PyObject
* _argo0
= 0;
3292 char *_kwnames
[] = { "self", NULL
};
3295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxMutexGuiLocker",_kwnames
,&_argo0
))
3298 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3299 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMutexGuiLocker_p")) {
3300 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxMutexGuiLocker. Expected _wxMutexGuiLocker_p.");
3305 wxPy_BEGIN_ALLOW_THREADS
;
3306 delete_wxMutexGuiLocker(_arg0
);
3308 wxPy_END_ALLOW_THREADS
;
3309 } Py_INCREF(Py_None
);
3310 _resultobj
= Py_None
;
3314 #define delete_wxTipProvider(_swigobj) (delete _swigobj)
3315 static PyObject
*_wrap_delete_wxTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3316 PyObject
* _resultobj
;
3317 wxTipProvider
* _arg0
;
3318 PyObject
* _argo0
= 0;
3319 char *_kwnames
[] = { "self", NULL
};
3322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxTipProvider",_kwnames
,&_argo0
))
3325 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3326 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTipProvider_p")) {
3327 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxTipProvider. Expected _wxTipProvider_p.");
3332 wxPy_BEGIN_ALLOW_THREADS
;
3333 delete_wxTipProvider(_arg0
);
3335 wxPy_END_ALLOW_THREADS
;
3336 } Py_INCREF(Py_None
);
3337 _resultobj
= Py_None
;
3341 #define wxTipProvider_GetTip(_swigobj) (_swigobj->GetTip())
3342 static PyObject
*_wrap_wxTipProvider_GetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3343 PyObject
* _resultobj
;
3345 wxTipProvider
* _arg0
;
3346 PyObject
* _argo0
= 0;
3347 char *_kwnames
[] = { "self", NULL
};
3350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTipProvider_GetTip",_kwnames
,&_argo0
))
3353 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3354 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTipProvider_p")) {
3355 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTipProvider_GetTip. Expected _wxTipProvider_p.");
3360 wxPy_BEGIN_ALLOW_THREADS
;
3361 _result
= new wxString (wxTipProvider_GetTip(_arg0
));
3363 wxPy_END_ALLOW_THREADS
;
3365 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3373 #define wxTipProvider_GetCurrentTip(_swigobj) (_swigobj->GetCurrentTip())
3374 static PyObject
*_wrap_wxTipProvider_GetCurrentTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3375 PyObject
* _resultobj
;
3377 wxTipProvider
* _arg0
;
3378 PyObject
* _argo0
= 0;
3379 char *_kwnames
[] = { "self", NULL
};
3382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTipProvider_GetCurrentTip",_kwnames
,&_argo0
))
3385 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3386 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTipProvider_p")) {
3387 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTipProvider_GetCurrentTip. Expected _wxTipProvider_p.");
3392 wxPy_BEGIN_ALLOW_THREADS
;
3393 _result
= (size_t )wxTipProvider_GetCurrentTip(_arg0
);
3395 wxPy_END_ALLOW_THREADS
;
3396 } _resultobj
= Py_BuildValue("i",_result
);
3400 static void *SwigwxPyTipProviderTowxTipProvider(void *ptr
) {
3401 wxPyTipProvider
*src
;
3402 wxTipProvider
*dest
;
3403 src
= (wxPyTipProvider
*) ptr
;
3404 dest
= (wxTipProvider
*) src
;
3405 return (void *) dest
;
3408 #define new_wxPyTipProvider(_swigarg0) (new wxPyTipProvider(_swigarg0))
3409 static PyObject
*_wrap_new_wxPyTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3410 PyObject
* _resultobj
;
3411 wxPyTipProvider
* _result
;
3413 char *_kwnames
[] = { "currentTip", NULL
};
3417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:new_wxPyTipProvider",_kwnames
,&_arg0
))
3420 wxPy_BEGIN_ALLOW_THREADS
;
3421 _result
= (wxPyTipProvider
*)new_wxPyTipProvider(_arg0
);
3423 wxPy_END_ALLOW_THREADS
;
3425 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTipProvider_p");
3426 _resultobj
= Py_BuildValue("s",_ptemp
);
3429 _resultobj
= Py_None
;
3434 static void *SwigwxGenericDragImageTowxObject(void *ptr
) {
3435 wxGenericDragImage
*src
;
3437 src
= (wxGenericDragImage
*) ptr
;
3438 dest
= (wxObject
*) src
;
3439 return (void *) dest
;
3442 #define new_wxDragImage(_swigarg0,_swigarg1) (new wxGenericDragImage(_swigarg0,_swigarg1))
3443 static PyObject
*_wrap_new_wxDragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3444 PyObject
* _resultobj
;
3445 wxGenericDragImage
* _result
;
3447 wxCursor
* _arg1
= (wxCursor
*) &wxNullCursor
;
3448 PyObject
* _argo0
= 0;
3449 PyObject
* _argo1
= 0;
3450 char *_kwnames
[] = { "image","cursor", NULL
};
3454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:new_wxDragImage",_kwnames
,&_argo0
,&_argo1
))
3457 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3458 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
3459 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDragImage. Expected _wxBitmap_p.");
3464 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3465 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCursor_p")) {
3466 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxDragImage. Expected _wxCursor_p.");
3471 wxPy_BEGIN_ALLOW_THREADS
;
3472 _result
= (wxGenericDragImage
*)new_wxDragImage(*_arg0
,*_arg1
);
3474 wxPy_END_ALLOW_THREADS
;
3476 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
3477 _resultobj
= Py_BuildValue("s",_ptemp
);
3480 _resultobj
= Py_None
;
3485 #define new_wxDragIcon(_swigarg0,_swigarg1) (new wxGenericDragImage(_swigarg0,_swigarg1))
3486 static PyObject
*_wrap_new_wxDragIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3487 PyObject
* _resultobj
;
3488 wxGenericDragImage
* _result
;
3490 wxCursor
* _arg1
= (wxCursor
*) &wxNullCursor
;
3491 PyObject
* _argo0
= 0;
3492 PyObject
* _argo1
= 0;
3493 char *_kwnames
[] = { "image","cursor", NULL
};
3497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:new_wxDragIcon",_kwnames
,&_argo0
,&_argo1
))
3500 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3501 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
3502 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDragIcon. Expected _wxIcon_p.");
3507 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3508 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCursor_p")) {
3509 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxDragIcon. Expected _wxCursor_p.");
3514 wxPy_BEGIN_ALLOW_THREADS
;
3515 _result
= (wxGenericDragImage
*)new_wxDragIcon(*_arg0
,*_arg1
);
3517 wxPy_END_ALLOW_THREADS
;
3519 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
3520 _resultobj
= Py_BuildValue("s",_ptemp
);
3523 _resultobj
= Py_None
;
3528 #define new_wxDragString(_swigarg0,_swigarg1) (new wxGenericDragImage(_swigarg0,_swigarg1))
3529 static PyObject
*_wrap_new_wxDragString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3530 PyObject
* _resultobj
;
3531 wxGenericDragImage
* _result
;
3533 wxCursor
* _arg1
= (wxCursor
*) &wxNullCursor
;
3534 PyObject
* _obj0
= 0;
3535 PyObject
* _argo1
= 0;
3536 char *_kwnames
[] = { "str","cursor", NULL
};
3540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:new_wxDragString",_kwnames
,&_obj0
,&_argo1
))
3543 #if PYTHON_API_VERSION >= 1009
3544 char* tmpPtr
; int tmpSize
;
3545 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
3546 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3549 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
3551 _arg0
= new wxString(tmpPtr
, tmpSize
);
3553 if (!PyString_Check(_obj0
)) {
3554 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3557 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
3561 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3562 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCursor_p")) {
3563 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxDragString. Expected _wxCursor_p.");
3568 wxPy_BEGIN_ALLOW_THREADS
;
3569 _result
= (wxGenericDragImage
*)new_wxDragString(*_arg0
,*_arg1
);
3571 wxPy_END_ALLOW_THREADS
;
3573 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
3574 _resultobj
= Py_BuildValue("s",_ptemp
);
3577 _resultobj
= Py_None
;
3586 #define new_wxDragTreeItem(_swigarg0,_swigarg1) (new wxGenericDragImage(_swigarg0,_swigarg1))
3587 static PyObject
*_wrap_new_wxDragTreeItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3588 PyObject
* _resultobj
;
3589 wxGenericDragImage
* _result
;
3591 wxTreeItemId
* _arg1
;
3592 PyObject
* _argo0
= 0;
3593 PyObject
* _argo1
= 0;
3594 char *_kwnames
[] = { "treeCtrl","id", NULL
};
3598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:new_wxDragTreeItem",_kwnames
,&_argo0
,&_argo1
))
3601 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3602 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3603 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDragTreeItem. Expected _wxTreeCtrl_p.");
3608 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3609 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3610 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxDragTreeItem. Expected _wxTreeItemId_p.");
3615 wxPy_BEGIN_ALLOW_THREADS
;
3616 _result
= (wxGenericDragImage
*)new_wxDragTreeItem(*_arg0
,*_arg1
);
3618 wxPy_END_ALLOW_THREADS
;
3620 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
3621 _resultobj
= Py_BuildValue("s",_ptemp
);
3624 _resultobj
= Py_None
;
3629 #define new_wxDragListItem(_swigarg0,_swigarg1) (new wxGenericDragImage(_swigarg0,_swigarg1))
3630 static PyObject
*_wrap_new_wxDragListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3631 PyObject
* _resultobj
;
3632 wxGenericDragImage
* _result
;
3635 PyObject
* _argo0
= 0;
3636 char *_kwnames
[] = { "listCtrl","id", NULL
};
3640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:new_wxDragListItem",_kwnames
,&_argo0
,&_arg1
))
3643 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3644 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3645 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDragListItem. Expected _wxListCtrl_p.");
3650 wxPy_BEGIN_ALLOW_THREADS
;
3651 _result
= (wxGenericDragImage
*)new_wxDragListItem(*_arg0
,_arg1
);
3653 wxPy_END_ALLOW_THREADS
;
3655 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
3656 _resultobj
= Py_BuildValue("s",_ptemp
);
3659 _resultobj
= Py_None
;
3664 #define delete_wxGenericDragImage(_swigobj) (delete _swigobj)
3665 static PyObject
*_wrap_delete_wxDragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3666 PyObject
* _resultobj
;
3667 wxGenericDragImage
* _arg0
;
3668 PyObject
* _argo0
= 0;
3669 char *_kwnames
[] = { "self", NULL
};
3672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxDragImage",_kwnames
,&_argo0
))
3675 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3676 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3677 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxDragImage. Expected _wxGenericDragImage_p.");
3682 wxPy_BEGIN_ALLOW_THREADS
;
3683 delete_wxGenericDragImage(_arg0
);
3685 wxPy_END_ALLOW_THREADS
;
3686 } Py_INCREF(Py_None
);
3687 _resultobj
= Py_None
;
3691 #define wxDragImage_SetBackingBitmap(_swigobj,_swigarg0) (_swigobj->SetBackingBitmap(_swigarg0))
3692 static PyObject
*_wrap_wxDragImage_SetBackingBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3693 PyObject
* _resultobj
;
3694 wxGenericDragImage
* _arg0
;
3696 PyObject
* _argo0
= 0;
3697 PyObject
* _argo1
= 0;
3698 char *_kwnames
[] = { "self","bitmap", NULL
};
3701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDragImage_SetBackingBitmap",_kwnames
,&_argo0
,&_argo1
))
3704 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3705 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3706 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_SetBackingBitmap. Expected _wxGenericDragImage_p.");
3711 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3712 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
3713 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDragImage_SetBackingBitmap. Expected _wxBitmap_p.");
3718 wxPy_BEGIN_ALLOW_THREADS
;
3719 wxDragImage_SetBackingBitmap(_arg0
,_arg1
);
3721 wxPy_END_ALLOW_THREADS
;
3722 } Py_INCREF(Py_None
);
3723 _resultobj
= Py_None
;
3727 #define wxDragImage_BeginDrag(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->BeginDrag(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3728 static PyObject
*_wrap_wxDragImage_BeginDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3729 PyObject
* _resultobj
;
3731 wxGenericDragImage
* _arg0
;
3734 bool _arg3
= (bool ) FALSE
;
3735 wxRect
* _arg4
= (wxRect
*) NULL
;
3736 PyObject
* _argo0
= 0;
3738 PyObject
* _obj1
= 0;
3739 PyObject
* _argo2
= 0;
3740 int tempbool3
= (int) FALSE
;
3742 PyObject
* _obj4
= 0;
3743 char *_kwnames
[] = { "self","hotspot","window","fullScreen","rect", NULL
};
3746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|iO:wxDragImage_BeginDrag",_kwnames
,&_argo0
,&_obj1
,&_argo2
,&tempbool3
,&_obj4
))
3749 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3750 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3751 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_BeginDrag. Expected _wxGenericDragImage_p.");
3757 if (! wxPoint_helper(_obj1
, &_arg1
))
3761 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3762 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
3763 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxDragImage_BeginDrag. Expected _wxWindow_p.");
3767 _arg3
= (bool ) tempbool3
;
3771 if (! wxRect_helper(_obj4
, &_arg4
))
3775 wxPy_BEGIN_ALLOW_THREADS
;
3776 _result
= (bool )wxDragImage_BeginDrag(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
);
3778 wxPy_END_ALLOW_THREADS
;
3779 } _resultobj
= Py_BuildValue("i",_result
);
3783 #define wxDragImage_BeginDrag2(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->BeginDrag(_swigarg0,_swigarg1,_swigarg2))
3784 static PyObject
*_wrap_wxDragImage_BeginDrag2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3785 PyObject
* _resultobj
;
3787 wxGenericDragImage
* _arg0
;
3791 PyObject
* _argo0
= 0;
3793 PyObject
* _obj1
= 0;
3794 PyObject
* _argo2
= 0;
3795 PyObject
* _argo3
= 0;
3796 char *_kwnames
[] = { "self","hotspot","window","fullScreenRect", NULL
};
3799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO:wxDragImage_BeginDrag2",_kwnames
,&_argo0
,&_obj1
,&_argo2
,&_argo3
))
3802 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3803 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3804 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_BeginDrag2. Expected _wxGenericDragImage_p.");
3810 if (! wxPoint_helper(_obj1
, &_arg1
))
3814 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3815 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
3816 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxDragImage_BeginDrag2. Expected _wxWindow_p.");
3821 if (_argo3
== Py_None
) { _arg3
= NULL
; }
3822 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxWindow_p")) {
3823 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxDragImage_BeginDrag2. Expected _wxWindow_p.");
3828 wxPy_BEGIN_ALLOW_THREADS
;
3829 _result
= (bool )wxDragImage_BeginDrag2(_arg0
,*_arg1
,_arg2
,_arg3
);
3831 wxPy_END_ALLOW_THREADS
;
3832 } _resultobj
= Py_BuildValue("i",_result
);
3836 #define wxDragImage_EndDrag(_swigobj) (_swigobj->EndDrag())
3837 static PyObject
*_wrap_wxDragImage_EndDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3838 PyObject
* _resultobj
;
3840 wxGenericDragImage
* _arg0
;
3841 PyObject
* _argo0
= 0;
3842 char *_kwnames
[] = { "self", NULL
};
3845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDragImage_EndDrag",_kwnames
,&_argo0
))
3848 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3849 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3850 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_EndDrag. Expected _wxGenericDragImage_p.");
3855 wxPy_BEGIN_ALLOW_THREADS
;
3856 _result
= (bool )wxDragImage_EndDrag(_arg0
);
3858 wxPy_END_ALLOW_THREADS
;
3859 } _resultobj
= Py_BuildValue("i",_result
);
3863 #define wxDragImage_Move(_swigobj,_swigarg0) (_swigobj->Move(_swigarg0))
3864 static PyObject
*_wrap_wxDragImage_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3865 PyObject
* _resultobj
;
3867 wxGenericDragImage
* _arg0
;
3869 PyObject
* _argo0
= 0;
3871 PyObject
* _obj1
= 0;
3872 char *_kwnames
[] = { "self","pt", NULL
};
3875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDragImage_Move",_kwnames
,&_argo0
,&_obj1
))
3878 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3879 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3880 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_Move. Expected _wxGenericDragImage_p.");
3886 if (! wxPoint_helper(_obj1
, &_arg1
))
3890 wxPy_BEGIN_ALLOW_THREADS
;
3891 _result
= (bool )wxDragImage_Move(_arg0
,*_arg1
);
3893 wxPy_END_ALLOW_THREADS
;
3894 } _resultobj
= Py_BuildValue("i",_result
);
3898 #define wxDragImage_Show(_swigobj) (_swigobj->Show())
3899 static PyObject
*_wrap_wxDragImage_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3900 PyObject
* _resultobj
;
3902 wxGenericDragImage
* _arg0
;
3903 PyObject
* _argo0
= 0;
3904 char *_kwnames
[] = { "self", NULL
};
3907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDragImage_Show",_kwnames
,&_argo0
))
3910 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3911 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3912 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_Show. Expected _wxGenericDragImage_p.");
3917 wxPy_BEGIN_ALLOW_THREADS
;
3918 _result
= (bool )wxDragImage_Show(_arg0
);
3920 wxPy_END_ALLOW_THREADS
;
3921 } _resultobj
= Py_BuildValue("i",_result
);
3925 #define wxDragImage_Hide(_swigobj) (_swigobj->Hide())
3926 static PyObject
*_wrap_wxDragImage_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3927 PyObject
* _resultobj
;
3929 wxGenericDragImage
* _arg0
;
3930 PyObject
* _argo0
= 0;
3931 char *_kwnames
[] = { "self", NULL
};
3934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDragImage_Hide",_kwnames
,&_argo0
))
3937 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3938 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3939 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_Hide. Expected _wxGenericDragImage_p.");
3944 wxPy_BEGIN_ALLOW_THREADS
;
3945 _result
= (bool )wxDragImage_Hide(_arg0
);
3947 wxPy_END_ALLOW_THREADS
;
3948 } _resultobj
= Py_BuildValue("i",_result
);
3952 #define wxDragImage_GetImageRect(_swigobj,_swigarg0) (_swigobj->GetImageRect(_swigarg0))
3953 static PyObject
*_wrap_wxDragImage_GetImageRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3954 PyObject
* _resultobj
;
3956 wxGenericDragImage
* _arg0
;
3958 PyObject
* _argo0
= 0;
3960 PyObject
* _obj1
= 0;
3961 char *_kwnames
[] = { "self","pos", NULL
};
3965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDragImage_GetImageRect",_kwnames
,&_argo0
,&_obj1
))
3968 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3969 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3970 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_GetImageRect. Expected _wxGenericDragImage_p.");
3976 if (! wxPoint_helper(_obj1
, &_arg1
))
3980 wxPy_BEGIN_ALLOW_THREADS
;
3981 _result
= new wxRect (wxDragImage_GetImageRect(_arg0
,*_arg1
));
3983 wxPy_END_ALLOW_THREADS
;
3984 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
3985 _resultobj
= Py_BuildValue("s",_ptemp
);
3989 #define wxDragImage_RedrawImage(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->RedrawImage(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3990 static PyObject
*_wrap_wxDragImage_RedrawImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3991 PyObject
* _resultobj
;
3993 wxGenericDragImage
* _arg0
;
3998 PyObject
* _argo0
= 0;
4000 PyObject
* _obj1
= 0;
4002 PyObject
* _obj2
= 0;
4005 char *_kwnames
[] = { "self","oldPos","newPos","eraseOld","drawNew", NULL
};
4008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOii:wxDragImage_RedrawImage",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&tempbool3
,&tempbool4
))
4011 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4012 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
4013 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_RedrawImage. Expected _wxGenericDragImage_p.");
4019 if (! wxPoint_helper(_obj1
, &_arg1
))
4024 if (! wxPoint_helper(_obj2
, &_arg2
))
4027 _arg3
= (bool ) tempbool3
;
4028 _arg4
= (bool ) tempbool4
;
4030 wxPy_BEGIN_ALLOW_THREADS
;
4031 _result
= (bool )wxDragImage_RedrawImage(_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
);
4033 wxPy_END_ALLOW_THREADS
;
4034 } _resultobj
= Py_BuildValue("i",_result
);
4038 static void *SwigwxPyTimerTowxObject(void *ptr
) {
4041 src
= (wxPyTimer
*) ptr
;
4042 dest
= (wxObject
*) src
;
4043 return (void *) dest
;
4046 #define new_wxPyTimer(_swigarg0) (new wxPyTimer(_swigarg0))
4047 static PyObject
*_wrap_new_wxPyTimer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4048 PyObject
* _resultobj
;
4049 wxPyTimer
* _result
;
4051 PyObject
* _obj0
= 0;
4052 char *_kwnames
[] = { "notify", NULL
};
4056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxPyTimer",_kwnames
,&_obj0
))
4062 wxPy_BEGIN_ALLOW_THREADS
;
4063 _result
= (wxPyTimer
*)new_wxPyTimer(_arg0
);
4065 wxPy_END_ALLOW_THREADS
;
4067 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTimer_p");
4068 _resultobj
= Py_BuildValue("s",_ptemp
);
4071 _resultobj
= Py_None
;
4076 #define delete_wxPyTimer(_swigobj) (delete _swigobj)
4077 static PyObject
*_wrap_delete_wxPyTimer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4078 PyObject
* _resultobj
;
4080 PyObject
* _argo0
= 0;
4081 char *_kwnames
[] = { "self", NULL
};
4084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPyTimer",_kwnames
,&_argo0
))
4087 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4088 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4089 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPyTimer. Expected _wxPyTimer_p.");
4094 wxPy_BEGIN_ALLOW_THREADS
;
4095 delete_wxPyTimer(_arg0
);
4097 wxPy_END_ALLOW_THREADS
;
4098 } Py_INCREF(Py_None
);
4099 _resultobj
= Py_None
;
4103 #define wxPyTimer_GetInterval(_swigobj) (_swigobj->GetInterval())
4104 static PyObject
*_wrap_wxPyTimer_GetInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4105 PyObject
* _resultobj
;
4108 PyObject
* _argo0
= 0;
4109 char *_kwnames
[] = { "self", NULL
};
4112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_GetInterval",_kwnames
,&_argo0
))
4115 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4116 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4117 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_GetInterval. Expected _wxPyTimer_p.");
4122 wxPy_BEGIN_ALLOW_THREADS
;
4123 _result
= (int )wxPyTimer_GetInterval(_arg0
);
4125 wxPy_END_ALLOW_THREADS
;
4126 } _resultobj
= Py_BuildValue("i",_result
);
4130 #define wxPyTimer_IsOneShot(_swigobj) (_swigobj->IsOneShot())
4131 static PyObject
*_wrap_wxPyTimer_IsOneShot(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4132 PyObject
* _resultobj
;
4135 PyObject
* _argo0
= 0;
4136 char *_kwnames
[] = { "self", NULL
};
4139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_IsOneShot",_kwnames
,&_argo0
))
4142 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4143 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4144 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_IsOneShot. Expected _wxPyTimer_p.");
4149 wxPy_BEGIN_ALLOW_THREADS
;
4150 _result
= (bool )wxPyTimer_IsOneShot(_arg0
);
4152 wxPy_END_ALLOW_THREADS
;
4153 } _resultobj
= Py_BuildValue("i",_result
);
4157 #define wxPyTimer_IsRunning(_swigobj) (_swigobj->IsRunning())
4158 static PyObject
*_wrap_wxPyTimer_IsRunning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4159 PyObject
* _resultobj
;
4162 PyObject
* _argo0
= 0;
4163 char *_kwnames
[] = { "self", NULL
};
4166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_IsRunning",_kwnames
,&_argo0
))
4169 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4170 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4171 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_IsRunning. Expected _wxPyTimer_p.");
4176 wxPy_BEGIN_ALLOW_THREADS
;
4177 _result
= (bool )wxPyTimer_IsRunning(_arg0
);
4179 wxPy_END_ALLOW_THREADS
;
4180 } _resultobj
= Py_BuildValue("i",_result
);
4184 #define wxPyTimer_SetOwner(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetOwner(_swigarg0,_swigarg1))
4185 static PyObject
*_wrap_wxPyTimer_SetOwner(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4186 PyObject
* _resultobj
;
4188 wxEvtHandler
* _arg1
;
4189 int _arg2
= (int ) -1;
4190 PyObject
* _argo0
= 0;
4191 PyObject
* _argo1
= 0;
4192 char *_kwnames
[] = { "self","owner","id", NULL
};
4195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxPyTimer_SetOwner",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
4198 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4199 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4200 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_SetOwner. Expected _wxPyTimer_p.");
4205 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4206 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
4207 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyTimer_SetOwner. Expected _wxEvtHandler_p.");
4212 wxPy_BEGIN_ALLOW_THREADS
;
4213 wxPyTimer_SetOwner(_arg0
,_arg1
,_arg2
);
4215 wxPy_END_ALLOW_THREADS
;
4216 } Py_INCREF(Py_None
);
4217 _resultobj
= Py_None
;
4221 #define wxPyTimer_Start(_swigobj,_swigarg0,_swigarg1) (_swigobj->Start(_swigarg0,_swigarg1))
4222 static PyObject
*_wrap_wxPyTimer_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4223 PyObject
* _resultobj
;
4225 int _arg1
= (int ) -1;
4226 int _arg2
= (int ) FALSE
;
4227 PyObject
* _argo0
= 0;
4228 char *_kwnames
[] = { "self","milliseconds","oneShot", NULL
};
4231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxPyTimer_Start",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4234 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4235 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4236 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_Start. Expected _wxPyTimer_p.");
4241 wxPy_BEGIN_ALLOW_THREADS
;
4242 wxPyTimer_Start(_arg0
,_arg1
,_arg2
);
4244 wxPy_END_ALLOW_THREADS
;
4245 } Py_INCREF(Py_None
);
4246 _resultobj
= Py_None
;
4250 #define wxPyTimer_Stop(_swigobj) (_swigobj->Stop())
4251 static PyObject
*_wrap_wxPyTimer_Stop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4252 PyObject
* _resultobj
;
4254 PyObject
* _argo0
= 0;
4255 char *_kwnames
[] = { "self", NULL
};
4258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_Stop",_kwnames
,&_argo0
))
4261 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4262 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4263 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_Stop. Expected _wxPyTimer_p.");
4268 wxPy_BEGIN_ALLOW_THREADS
;
4269 wxPyTimer_Stop(_arg0
);
4271 wxPy_END_ALLOW_THREADS
;
4272 } Py_INCREF(Py_None
);
4273 _resultobj
= Py_None
;
4277 #define new_wxStopWatch() (new wxStopWatch())
4278 static PyObject
*_wrap_new_wxStopWatch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4279 PyObject
* _resultobj
;
4280 wxStopWatch
* _result
;
4281 char *_kwnames
[] = { NULL
};
4285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxStopWatch",_kwnames
))
4288 wxPy_BEGIN_ALLOW_THREADS
;
4289 _result
= (wxStopWatch
*)new_wxStopWatch();
4291 wxPy_END_ALLOW_THREADS
;
4293 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStopWatch_p");
4294 _resultobj
= Py_BuildValue("s",_ptemp
);
4297 _resultobj
= Py_None
;
4302 #define wxStopWatch_Start(_swigobj,_swigarg0) (_swigobj->Start(_swigarg0))
4303 static PyObject
*_wrap_wxStopWatch_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4304 PyObject
* _resultobj
;
4305 wxStopWatch
* _arg0
;
4306 long _arg1
= (long ) 0;
4307 PyObject
* _argo0
= 0;
4308 char *_kwnames
[] = { "self","t", NULL
};
4311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|l:wxStopWatch_Start",_kwnames
,&_argo0
,&_arg1
))
4314 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4315 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStopWatch_p")) {
4316 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStopWatch_Start. Expected _wxStopWatch_p.");
4321 wxPy_BEGIN_ALLOW_THREADS
;
4322 wxStopWatch_Start(_arg0
,_arg1
);
4324 wxPy_END_ALLOW_THREADS
;
4325 } Py_INCREF(Py_None
);
4326 _resultobj
= Py_None
;
4330 #define wxStopWatch_Pause(_swigobj) (_swigobj->Pause())
4331 static PyObject
*_wrap_wxStopWatch_Pause(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4332 PyObject
* _resultobj
;
4333 wxStopWatch
* _arg0
;
4334 PyObject
* _argo0
= 0;
4335 char *_kwnames
[] = { "self", NULL
};
4338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStopWatch_Pause",_kwnames
,&_argo0
))
4341 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4342 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStopWatch_p")) {
4343 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStopWatch_Pause. Expected _wxStopWatch_p.");
4348 wxPy_BEGIN_ALLOW_THREADS
;
4349 wxStopWatch_Pause(_arg0
);
4351 wxPy_END_ALLOW_THREADS
;
4352 } Py_INCREF(Py_None
);
4353 _resultobj
= Py_None
;
4357 #define wxStopWatch_Resume(_swigobj) (_swigobj->Resume())
4358 static PyObject
*_wrap_wxStopWatch_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4359 PyObject
* _resultobj
;
4360 wxStopWatch
* _arg0
;
4361 PyObject
* _argo0
= 0;
4362 char *_kwnames
[] = { "self", NULL
};
4365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStopWatch_Resume",_kwnames
,&_argo0
))
4368 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4369 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStopWatch_p")) {
4370 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStopWatch_Resume. Expected _wxStopWatch_p.");
4375 wxPy_BEGIN_ALLOW_THREADS
;
4376 wxStopWatch_Resume(_arg0
);
4378 wxPy_END_ALLOW_THREADS
;
4379 } Py_INCREF(Py_None
);
4380 _resultobj
= Py_None
;
4384 #define wxStopWatch_Time(_swigobj) (_swigobj->Time())
4385 static PyObject
*_wrap_wxStopWatch_Time(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4386 PyObject
* _resultobj
;
4388 wxStopWatch
* _arg0
;
4389 PyObject
* _argo0
= 0;
4390 char *_kwnames
[] = { "self", NULL
};
4393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStopWatch_Time",_kwnames
,&_argo0
))
4396 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4397 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStopWatch_p")) {
4398 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStopWatch_Time. Expected _wxStopWatch_p.");
4403 wxPy_BEGIN_ALLOW_THREADS
;
4404 _result
= (long )wxStopWatch_Time(_arg0
);
4406 wxPy_END_ALLOW_THREADS
;
4407 } _resultobj
= Py_BuildValue("l",_result
);
4411 #define new_wxLog() (new wxLog())
4412 static PyObject
*_wrap_new_wxLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4413 PyObject
* _resultobj
;
4415 char *_kwnames
[] = { NULL
};
4419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLog",_kwnames
))
4422 wxPy_BEGIN_ALLOW_THREADS
;
4423 _result
= (wxLog
*)new_wxLog();
4425 wxPy_END_ALLOW_THREADS
;
4427 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
4428 _resultobj
= Py_BuildValue("s",_ptemp
);
4431 _resultobj
= Py_None
;
4436 static PyObject
*_wrap_wxLog_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4437 PyObject
* _resultobj
;
4439 char *_kwnames
[] = { NULL
};
4442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_IsEnabled",_kwnames
))
4445 wxPy_BEGIN_ALLOW_THREADS
;
4446 _result
= (bool )wxLog::IsEnabled();
4448 wxPy_END_ALLOW_THREADS
;
4449 } _resultobj
= Py_BuildValue("i",_result
);
4453 static PyObject
*_wrap_wxLog_EnableLogging(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4454 PyObject
* _resultobj
;
4456 bool _arg0
= (bool ) TRUE
;
4457 int tempbool0
= (int) TRUE
;
4458 char *_kwnames
[] = { "doIt", NULL
};
4461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:wxLog_EnableLogging",_kwnames
,&tempbool0
))
4463 _arg0
= (bool ) tempbool0
;
4465 wxPy_BEGIN_ALLOW_THREADS
;
4466 _result
= (bool )wxLog::EnableLogging(_arg0
);
4468 wxPy_END_ALLOW_THREADS
;
4469 } _resultobj
= Py_BuildValue("i",_result
);
4473 static PyObject
*_wrap_wxLog_OnLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4474 PyObject
* _resultobj
;
4477 int _arg2
= (int ) 0;
4478 PyObject
* _argo0
= 0;
4479 char *_kwnames
[] = { "level","szString","t", NULL
};
4482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Os|i:wxLog_OnLog",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4485 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4486 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogLevel_p")) {
4487 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_OnLog. Expected _wxLogLevel_p.");
4492 wxPy_BEGIN_ALLOW_THREADS
;
4493 wxLog::OnLog(*_arg0
,_arg1
,_arg2
);
4495 wxPy_END_ALLOW_THREADS
;
4496 } Py_INCREF(Py_None
);
4497 _resultobj
= Py_None
;
4501 #define wxLog_Flush(_swigobj) (_swigobj->Flush())
4502 static PyObject
*_wrap_wxLog_Flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4503 PyObject
* _resultobj
;
4505 PyObject
* _argo0
= 0;
4506 char *_kwnames
[] = { "self", NULL
};
4509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_Flush",_kwnames
,&_argo0
))
4512 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4513 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
4514 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_Flush. Expected _wxLog_p.");
4519 wxPy_BEGIN_ALLOW_THREADS
;
4522 wxPy_END_ALLOW_THREADS
;
4523 } Py_INCREF(Py_None
);
4524 _resultobj
= Py_None
;
4528 #define wxLog_HasPendingMessages(_swigobj) (_swigobj->HasPendingMessages())
4529 static PyObject
*_wrap_wxLog_HasPendingMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4530 PyObject
* _resultobj
;
4533 PyObject
* _argo0
= 0;
4534 char *_kwnames
[] = { "self", NULL
};
4537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_HasPendingMessages",_kwnames
,&_argo0
))
4540 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4541 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
4542 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_HasPendingMessages. Expected _wxLog_p.");
4547 wxPy_BEGIN_ALLOW_THREADS
;
4548 _result
= (bool )wxLog_HasPendingMessages(_arg0
);
4550 wxPy_END_ALLOW_THREADS
;
4551 } _resultobj
= Py_BuildValue("i",_result
);
4555 static PyObject
*_wrap_wxLog_FlushActive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4556 PyObject
* _resultobj
;
4557 char *_kwnames
[] = { NULL
};
4560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_FlushActive",_kwnames
))
4563 wxPy_BEGIN_ALLOW_THREADS
;
4564 wxLog::FlushActive();
4566 wxPy_END_ALLOW_THREADS
;
4567 } Py_INCREF(Py_None
);
4568 _resultobj
= Py_None
;
4572 static PyObject
*_wrap_wxLog_GetActiveTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4573 PyObject
* _resultobj
;
4575 char *_kwnames
[] = { NULL
};
4579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_GetActiveTarget",_kwnames
))
4582 wxPy_BEGIN_ALLOW_THREADS
;
4583 _result
= (wxLog
*)wxLog::GetActiveTarget();
4585 wxPy_END_ALLOW_THREADS
;
4587 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
4588 _resultobj
= Py_BuildValue("s",_ptemp
);
4591 _resultobj
= Py_None
;
4596 static PyObject
*_wrap_wxLog_SetActiveTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4597 PyObject
* _resultobj
;
4600 PyObject
* _argo0
= 0;
4601 char *_kwnames
[] = { "pLogger", NULL
};
4605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_SetActiveTarget",_kwnames
,&_argo0
))
4608 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4609 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
4610 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_SetActiveTarget. Expected _wxLog_p.");
4615 wxPy_BEGIN_ALLOW_THREADS
;
4616 _result
= (wxLog
*)wxLog::SetActiveTarget(_arg0
);
4618 wxPy_END_ALLOW_THREADS
;
4620 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
4621 _resultobj
= Py_BuildValue("s",_ptemp
);
4624 _resultobj
= Py_None
;
4629 static PyObject
*_wrap_wxLog_Suspend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4630 PyObject
* _resultobj
;
4631 char *_kwnames
[] = { NULL
};
4634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_Suspend",_kwnames
))
4637 wxPy_BEGIN_ALLOW_THREADS
;
4640 wxPy_END_ALLOW_THREADS
;
4641 } Py_INCREF(Py_None
);
4642 _resultobj
= Py_None
;
4646 static PyObject
*_wrap_wxLog_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4647 PyObject
* _resultobj
;
4648 char *_kwnames
[] = { NULL
};
4651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_Resume",_kwnames
))
4654 wxPy_BEGIN_ALLOW_THREADS
;
4657 wxPy_END_ALLOW_THREADS
;
4658 } Py_INCREF(Py_None
);
4659 _resultobj
= Py_None
;
4663 #define wxLog_SetVerbose(_swigobj,_swigarg0) (_swigobj->SetVerbose(_swigarg0))
4664 static PyObject
*_wrap_wxLog_SetVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4665 PyObject
* _resultobj
;
4667 bool _arg1
= (bool ) TRUE
;
4668 PyObject
* _argo0
= 0;
4669 int tempbool1
= (int) TRUE
;
4670 char *_kwnames
[] = { "self","bVerbose", NULL
};
4673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxLog_SetVerbose",_kwnames
,&_argo0
,&tempbool1
))
4676 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4677 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
4678 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_SetVerbose. Expected _wxLog_p.");
4682 _arg1
= (bool ) tempbool1
;
4684 wxPy_BEGIN_ALLOW_THREADS
;
4685 wxLog_SetVerbose(_arg0
,_arg1
);
4687 wxPy_END_ALLOW_THREADS
;
4688 } Py_INCREF(Py_None
);
4689 _resultobj
= Py_None
;
4693 static PyObject
*_wrap_wxLog_DontCreateOnDemand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4694 PyObject
* _resultobj
;
4695 char *_kwnames
[] = { NULL
};
4698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_DontCreateOnDemand",_kwnames
))
4701 wxPy_BEGIN_ALLOW_THREADS
;
4702 wxLog::DontCreateOnDemand();
4704 wxPy_END_ALLOW_THREADS
;
4705 } Py_INCREF(Py_None
);
4706 _resultobj
= Py_None
;
4710 static PyObject
*_wrap_wxLog_SetTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4711 PyObject
* _resultobj
;
4712 wxTraceMask
* _arg0
;
4713 PyObject
* _argo0
= 0;
4714 char *_kwnames
[] = { "ulMask", NULL
};
4717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_SetTraceMask",_kwnames
,&_argo0
))
4720 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4721 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTraceMask_p")) {
4722 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_SetTraceMask. Expected _wxTraceMask_p.");
4727 wxPy_BEGIN_ALLOW_THREADS
;
4728 wxLog::SetTraceMask(*_arg0
);
4730 wxPy_END_ALLOW_THREADS
;
4731 } Py_INCREF(Py_None
);
4732 _resultobj
= Py_None
;
4736 static PyObject
*_wrap_wxLog_AddTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4737 PyObject
* _resultobj
;
4739 PyObject
* _obj0
= 0;
4740 char *_kwnames
[] = { "str", NULL
};
4743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_AddTraceMask",_kwnames
,&_obj0
))
4746 #if PYTHON_API_VERSION >= 1009
4747 char* tmpPtr
; int tmpSize
;
4748 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
4749 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4752 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
4754 _arg0
= new wxString(tmpPtr
, tmpSize
);
4756 if (!PyString_Check(_obj0
)) {
4757 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4760 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
4764 wxPy_BEGIN_ALLOW_THREADS
;
4765 wxLog::AddTraceMask(*_arg0
);
4767 wxPy_END_ALLOW_THREADS
;
4768 } Py_INCREF(Py_None
);
4769 _resultobj
= Py_None
;
4777 static PyObject
*_wrap_wxLog_RemoveTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4778 PyObject
* _resultobj
;
4780 PyObject
* _obj0
= 0;
4781 char *_kwnames
[] = { "str", NULL
};
4784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_RemoveTraceMask",_kwnames
,&_obj0
))
4787 #if PYTHON_API_VERSION >= 1009
4788 char* tmpPtr
; int tmpSize
;
4789 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
4790 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4793 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
4795 _arg0
= new wxString(tmpPtr
, tmpSize
);
4797 if (!PyString_Check(_obj0
)) {
4798 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4801 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
4805 wxPy_BEGIN_ALLOW_THREADS
;
4806 wxLog::RemoveTraceMask(*_arg0
);
4808 wxPy_END_ALLOW_THREADS
;
4809 } Py_INCREF(Py_None
);
4810 _resultobj
= Py_None
;
4818 static PyObject
*_wrap_wxLog_ClearTraceMasks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4819 PyObject
* _resultobj
;
4820 char *_kwnames
[] = { NULL
};
4823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_ClearTraceMasks",_kwnames
))
4826 wxPy_BEGIN_ALLOW_THREADS
;
4827 wxLog::ClearTraceMasks();
4829 wxPy_END_ALLOW_THREADS
;
4830 } Py_INCREF(Py_None
);
4831 _resultobj
= Py_None
;
4835 static PyObject
*_wrap_wxLog_SetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4836 PyObject
* _resultobj
;
4838 char *_kwnames
[] = { "ts", NULL
};
4841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLog_SetTimestamp",_kwnames
,&_arg0
))
4844 wxPy_BEGIN_ALLOW_THREADS
;
4845 wxLog::SetTimestamp(_arg0
);
4847 wxPy_END_ALLOW_THREADS
;
4848 } Py_INCREF(Py_None
);
4849 _resultobj
= Py_None
;
4853 static PyObject
*_wrap_wxLog_GetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4854 PyObject
* _resultobj
;
4856 char *_kwnames
[] = { NULL
};
4859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_GetTimestamp",_kwnames
))
4862 wxPy_BEGIN_ALLOW_THREADS
;
4863 _result
= (wxChar
*)wxLog::GetTimestamp();
4865 wxPy_END_ALLOW_THREADS
;
4866 } _resultobj
= Py_BuildValue("s", _result
);
4870 #define wxLog_GetVerbose(_swigobj) (_swigobj->GetVerbose())
4871 static PyObject
*_wrap_wxLog_GetVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4872 PyObject
* _resultobj
;
4875 PyObject
* _argo0
= 0;
4876 char *_kwnames
[] = { "self", NULL
};
4879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_GetVerbose",_kwnames
,&_argo0
))
4882 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4883 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
4884 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_GetVerbose. Expected _wxLog_p.");
4889 wxPy_BEGIN_ALLOW_THREADS
;
4890 _result
= (bool )wxLog_GetVerbose(_arg0
);
4892 wxPy_END_ALLOW_THREADS
;
4893 } _resultobj
= Py_BuildValue("i",_result
);
4897 static PyObject
*_wrap_wxLog_GetTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4898 PyObject
* _resultobj
;
4899 wxTraceMask
* _result
;
4900 char *_kwnames
[] = { NULL
};
4904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_GetTraceMask",_kwnames
))
4907 wxPy_BEGIN_ALLOW_THREADS
;
4908 _result
= new wxTraceMask (wxLog::GetTraceMask());
4910 wxPy_END_ALLOW_THREADS
;
4911 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTraceMask_p");
4912 _resultobj
= Py_BuildValue("s",_ptemp
);
4916 static PyObject
*_wrap_wxLog_IsAllowedTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4917 PyObject
* _resultobj
;
4920 char *_kwnames
[] = { "mask", NULL
};
4923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLog_IsAllowedTraceMask",_kwnames
,&_arg0
))
4926 wxPy_BEGIN_ALLOW_THREADS
;
4927 _result
= (bool )wxLog::IsAllowedTraceMask(_arg0
);
4929 wxPy_END_ALLOW_THREADS
;
4930 } _resultobj
= Py_BuildValue("i",_result
);
4934 static wxString
wxLog_TimeStamp(wxLog
*self
) {
4936 wxLog::TimeStamp(&msg
);
4939 static PyObject
*_wrap_wxLog_TimeStamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4940 PyObject
* _resultobj
;
4943 PyObject
* _argo0
= 0;
4944 char *_kwnames
[] = { "self", NULL
};
4947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_TimeStamp",_kwnames
,&_argo0
))
4950 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4951 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
4952 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_TimeStamp. Expected _wxLog_p.");
4957 wxPy_BEGIN_ALLOW_THREADS
;
4958 _result
= new wxString (wxLog_TimeStamp(_arg0
));
4960 wxPy_END_ALLOW_THREADS
;
4962 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
4970 static void *SwigwxLogStderrTowxLog(void *ptr
) {
4973 src
= (wxLogStderr
*) ptr
;
4974 dest
= (wxLog
*) src
;
4975 return (void *) dest
;
4978 #define new_wxLogStderr() (new wxLogStderr())
4979 static PyObject
*_wrap_new_wxLogStderr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4980 PyObject
* _resultobj
;
4981 wxLogStderr
* _result
;
4982 char *_kwnames
[] = { NULL
};
4986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLogStderr",_kwnames
))
4989 wxPy_BEGIN_ALLOW_THREADS
;
4990 _result
= (wxLogStderr
*)new_wxLogStderr();
4992 wxPy_END_ALLOW_THREADS
;
4994 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogStderr_p");
4995 _resultobj
= Py_BuildValue("s",_ptemp
);
4998 _resultobj
= Py_None
;
5003 static void *SwigwxLogTextCtrlTowxLog(void *ptr
) {
5006 src
= (wxLogTextCtrl
*) ptr
;
5007 dest
= (wxLog
*) src
;
5008 return (void *) dest
;
5011 #define new_wxLogTextCtrl(_swigarg0) (new wxLogTextCtrl(_swigarg0))
5012 static PyObject
*_wrap_new_wxLogTextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5013 PyObject
* _resultobj
;
5014 wxLogTextCtrl
* _result
;
5016 PyObject
* _argo0
= 0;
5017 char *_kwnames
[] = { "pTextCtrl", NULL
};
5021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxLogTextCtrl",_kwnames
,&_argo0
))
5024 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5025 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
5026 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxLogTextCtrl. Expected _wxTextCtrl_p.");
5031 wxPy_BEGIN_ALLOW_THREADS
;
5032 _result
= (wxLogTextCtrl
*)new_wxLogTextCtrl(_arg0
);
5034 wxPy_END_ALLOW_THREADS
;
5036 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogTextCtrl_p");
5037 _resultobj
= Py_BuildValue("s",_ptemp
);
5040 _resultobj
= Py_None
;
5045 static void *SwigwxLogGuiTowxLog(void *ptr
) {
5048 src
= (wxLogGui
*) ptr
;
5049 dest
= (wxLog
*) src
;
5050 return (void *) dest
;
5053 #define new_wxLogGui() (new wxLogGui())
5054 static PyObject
*_wrap_new_wxLogGui(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5055 PyObject
* _resultobj
;
5057 char *_kwnames
[] = { NULL
};
5061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLogGui",_kwnames
))
5064 wxPy_BEGIN_ALLOW_THREADS
;
5065 _result
= (wxLogGui
*)new_wxLogGui();
5067 wxPy_END_ALLOW_THREADS
;
5069 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogGui_p");
5070 _resultobj
= Py_BuildValue("s",_ptemp
);
5073 _resultobj
= Py_None
;
5078 static void *SwigwxLogWindowTowxLog(void *ptr
) {
5081 src
= (wxLogWindow
*) ptr
;
5082 dest
= (wxLog
*) src
;
5083 return (void *) dest
;
5086 #define new_wxLogWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxLogWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5087 static PyObject
*_wrap_new_wxLogWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5088 PyObject
* _resultobj
;
5089 wxLogWindow
* _result
;
5092 bool _arg2
= (bool ) TRUE
;
5093 bool _arg3
= (bool ) TRUE
;
5094 PyObject
* _argo0
= 0;
5095 int tempbool2
= (int) TRUE
;
5096 int tempbool3
= (int) TRUE
;
5097 char *_kwnames
[] = { "pParent","szTitle","bShow","bPassToOld", NULL
};
5101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Os|ii:new_wxLogWindow",_kwnames
,&_argo0
,&_arg1
,&tempbool2
,&tempbool3
))
5104 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5105 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
5106 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxLogWindow. Expected _wxFrame_p.");
5110 _arg2
= (bool ) tempbool2
;
5111 _arg3
= (bool ) tempbool3
;
5113 wxPy_BEGIN_ALLOW_THREADS
;
5114 _result
= (wxLogWindow
*)new_wxLogWindow(_arg0
,_arg1
,_arg2
,_arg3
);
5116 wxPy_END_ALLOW_THREADS
;
5118 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogWindow_p");
5119 _resultobj
= Py_BuildValue("s",_ptemp
);
5122 _resultobj
= Py_None
;
5127 #define wxLogWindow_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
5128 static PyObject
*_wrap_wxLogWindow_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5129 PyObject
* _resultobj
;
5130 wxLogWindow
* _arg0
;
5131 bool _arg1
= (bool ) TRUE
;
5132 PyObject
* _argo0
= 0;
5133 int tempbool1
= (int) TRUE
;
5134 char *_kwnames
[] = { "self","bShow", NULL
};
5137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxLogWindow_Show",_kwnames
,&_argo0
,&tempbool1
))
5140 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5141 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
5142 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_Show. Expected _wxLogWindow_p.");
5146 _arg1
= (bool ) tempbool1
;
5148 wxPy_BEGIN_ALLOW_THREADS
;
5149 wxLogWindow_Show(_arg0
,_arg1
);
5151 wxPy_END_ALLOW_THREADS
;
5152 } Py_INCREF(Py_None
);
5153 _resultobj
= Py_None
;
5157 #define wxLogWindow_GetFrame(_swigobj) (_swigobj->GetFrame())
5158 static PyObject
*_wrap_wxLogWindow_GetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5159 PyObject
* _resultobj
;
5161 wxLogWindow
* _arg0
;
5162 PyObject
* _argo0
= 0;
5163 char *_kwnames
[] = { "self", NULL
};
5166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogWindow_GetFrame",_kwnames
,&_argo0
))
5169 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5170 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
5171 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_GetFrame. Expected _wxLogWindow_p.");
5176 wxPy_BEGIN_ALLOW_THREADS
;
5177 _result
= (wxFrame
*)wxLogWindow_GetFrame(_arg0
);
5179 wxPy_END_ALLOW_THREADS
;
5180 }{ _resultobj
= wxPyMake_wxObject(_result
); }
5184 #define wxLogWindow_GetOldLog(_swigobj) (_swigobj->GetOldLog())
5185 static PyObject
*_wrap_wxLogWindow_GetOldLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5186 PyObject
* _resultobj
;
5188 wxLogWindow
* _arg0
;
5189 PyObject
* _argo0
= 0;
5190 char *_kwnames
[] = { "self", NULL
};
5194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogWindow_GetOldLog",_kwnames
,&_argo0
))
5197 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5198 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
5199 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_GetOldLog. Expected _wxLogWindow_p.");
5204 wxPy_BEGIN_ALLOW_THREADS
;
5205 _result
= (wxLog
*)wxLogWindow_GetOldLog(_arg0
);
5207 wxPy_END_ALLOW_THREADS
;
5209 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
5210 _resultobj
= Py_BuildValue("s",_ptemp
);
5213 _resultobj
= Py_None
;
5218 #define wxLogWindow_IsPassingMessages(_swigobj) (_swigobj->IsPassingMessages())
5219 static PyObject
*_wrap_wxLogWindow_IsPassingMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5220 PyObject
* _resultobj
;
5222 wxLogWindow
* _arg0
;
5223 PyObject
* _argo0
= 0;
5224 char *_kwnames
[] = { "self", NULL
};
5227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogWindow_IsPassingMessages",_kwnames
,&_argo0
))
5230 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5231 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
5232 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_IsPassingMessages. Expected _wxLogWindow_p.");
5237 wxPy_BEGIN_ALLOW_THREADS
;
5238 _result
= (bool )wxLogWindow_IsPassingMessages(_arg0
);
5240 wxPy_END_ALLOW_THREADS
;
5241 } _resultobj
= Py_BuildValue("i",_result
);
5245 #define wxLogWindow_PassMessages(_swigobj,_swigarg0) (_swigobj->PassMessages(_swigarg0))
5246 static PyObject
*_wrap_wxLogWindow_PassMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5247 PyObject
* _resultobj
;
5248 wxLogWindow
* _arg0
;
5250 PyObject
* _argo0
= 0;
5252 char *_kwnames
[] = { "self","bDoPass", NULL
};
5255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxLogWindow_PassMessages",_kwnames
,&_argo0
,&tempbool1
))
5258 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5259 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
5260 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_PassMessages. Expected _wxLogWindow_p.");
5264 _arg1
= (bool ) tempbool1
;
5266 wxPy_BEGIN_ALLOW_THREADS
;
5267 wxLogWindow_PassMessages(_arg0
,_arg1
);
5269 wxPy_END_ALLOW_THREADS
;
5270 } Py_INCREF(Py_None
);
5271 _resultobj
= Py_None
;
5275 #define new_wxLogNull() (new wxLogNull())
5276 static PyObject
*_wrap_new_wxLogNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5277 PyObject
* _resultobj
;
5278 wxLogNull
* _result
;
5279 char *_kwnames
[] = { NULL
};
5283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLogNull",_kwnames
))
5286 wxPy_BEGIN_ALLOW_THREADS
;
5287 _result
= (wxLogNull
*)new_wxLogNull();
5289 wxPy_END_ALLOW_THREADS
;
5291 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogNull_p");
5292 _resultobj
= Py_BuildValue("s",_ptemp
);
5295 _resultobj
= Py_None
;
5300 #define delete_wxLogNull(_swigobj) (delete _swigobj)
5301 static PyObject
*_wrap_delete_wxLogNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5302 PyObject
* _resultobj
;
5304 PyObject
* _argo0
= 0;
5305 char *_kwnames
[] = { "self", NULL
};
5308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxLogNull",_kwnames
,&_argo0
))
5311 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5312 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogNull_p")) {
5313 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxLogNull. Expected _wxLogNull_p.");
5318 wxPy_BEGIN_ALLOW_THREADS
;
5319 delete_wxLogNull(_arg0
);
5321 wxPy_END_ALLOW_THREADS
;
5322 } Py_INCREF(Py_None
);
5323 _resultobj
= Py_None
;
5327 static void *SwigwxLogChainTowxLog(void *ptr
) {
5330 src
= (wxLogChain
*) ptr
;
5331 dest
= (wxLog
*) src
;
5332 return (void *) dest
;
5335 #define new_wxLogChain(_swigarg0) (new wxLogChain(_swigarg0))
5336 static PyObject
*_wrap_new_wxLogChain(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5337 PyObject
* _resultobj
;
5338 wxLogChain
* _result
;
5340 PyObject
* _argo0
= 0;
5341 char *_kwnames
[] = { "logger", NULL
};
5345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxLogChain",_kwnames
,&_argo0
))
5348 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5349 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
5350 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxLogChain. Expected _wxLog_p.");
5355 wxPy_BEGIN_ALLOW_THREADS
;
5356 _result
= (wxLogChain
*)new_wxLogChain(_arg0
);
5358 wxPy_END_ALLOW_THREADS
;
5360 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogChain_p");
5361 _resultobj
= Py_BuildValue("s",_ptemp
);
5364 _resultobj
= Py_None
;
5369 #define wxLogChain_SetLog(_swigobj,_swigarg0) (_swigobj->SetLog(_swigarg0))
5370 static PyObject
*_wrap_wxLogChain_SetLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5371 PyObject
* _resultobj
;
5374 PyObject
* _argo0
= 0;
5375 PyObject
* _argo1
= 0;
5376 char *_kwnames
[] = { "self","logger", NULL
};
5379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxLogChain_SetLog",_kwnames
,&_argo0
,&_argo1
))
5382 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5383 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogChain_p")) {
5384 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogChain_SetLog. Expected _wxLogChain_p.");
5389 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5390 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxLog_p")) {
5391 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxLogChain_SetLog. Expected _wxLog_p.");
5396 wxPy_BEGIN_ALLOW_THREADS
;
5397 wxLogChain_SetLog(_arg0
,_arg1
);
5399 wxPy_END_ALLOW_THREADS
;
5400 } Py_INCREF(Py_None
);
5401 _resultobj
= Py_None
;
5405 #define wxLogChain_PassMessages(_swigobj,_swigarg0) (_swigobj->PassMessages(_swigarg0))
5406 static PyObject
*_wrap_wxLogChain_PassMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5407 PyObject
* _resultobj
;
5410 PyObject
* _argo0
= 0;
5412 char *_kwnames
[] = { "self","bDoPass", NULL
};
5415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxLogChain_PassMessages",_kwnames
,&_argo0
,&tempbool1
))
5418 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5419 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogChain_p")) {
5420 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogChain_PassMessages. Expected _wxLogChain_p.");
5424 _arg1
= (bool ) tempbool1
;
5426 wxPy_BEGIN_ALLOW_THREADS
;
5427 wxLogChain_PassMessages(_arg0
,_arg1
);
5429 wxPy_END_ALLOW_THREADS
;
5430 } Py_INCREF(Py_None
);
5431 _resultobj
= Py_None
;
5435 #define wxLogChain_IsPassingMessages(_swigobj) (_swigobj->IsPassingMessages())
5436 static PyObject
*_wrap_wxLogChain_IsPassingMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5437 PyObject
* _resultobj
;
5440 PyObject
* _argo0
= 0;
5441 char *_kwnames
[] = { "self", NULL
};
5444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogChain_IsPassingMessages",_kwnames
,&_argo0
))
5447 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5448 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogChain_p")) {
5449 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogChain_IsPassingMessages. Expected _wxLogChain_p.");
5454 wxPy_BEGIN_ALLOW_THREADS
;
5455 _result
= (bool )wxLogChain_IsPassingMessages(_arg0
);
5457 wxPy_END_ALLOW_THREADS
;
5458 } _resultobj
= Py_BuildValue("i",_result
);
5462 #define wxLogChain_GetOldLog(_swigobj) (_swigobj->GetOldLog())
5463 static PyObject
*_wrap_wxLogChain_GetOldLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5464 PyObject
* _resultobj
;
5467 PyObject
* _argo0
= 0;
5468 char *_kwnames
[] = { "self", NULL
};
5472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogChain_GetOldLog",_kwnames
,&_argo0
))
5475 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5476 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogChain_p")) {
5477 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogChain_GetOldLog. Expected _wxLogChain_p.");
5482 wxPy_BEGIN_ALLOW_THREADS
;
5483 _result
= (wxLog
*)wxLogChain_GetOldLog(_arg0
);
5485 wxPy_END_ALLOW_THREADS
;
5487 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
5488 _resultobj
= Py_BuildValue("s",_ptemp
);
5491 _resultobj
= Py_None
;
5496 static void *SwigwxPyLogTowxLog(void *ptr
) {
5499 src
= (wxPyLog
*) ptr
;
5500 dest
= (wxLog
*) src
;
5501 return (void *) dest
;
5504 #define new_wxPyLog() (new wxPyLog())
5505 static PyObject
*_wrap_new_wxPyLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5506 PyObject
* _resultobj
;
5508 char *_kwnames
[] = { NULL
};
5512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPyLog",_kwnames
))
5515 wxPy_BEGIN_ALLOW_THREADS
;
5516 _result
= (wxPyLog
*)new_wxPyLog();
5518 wxPy_END_ALLOW_THREADS
;
5520 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyLog_p");
5521 _resultobj
= Py_BuildValue("s",_ptemp
);
5524 _resultobj
= Py_None
;
5529 #define wxPyLog__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
5530 static PyObject
*_wrap_wxPyLog__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5531 PyObject
* _resultobj
;
5535 PyObject
* _argo0
= 0;
5536 PyObject
* _obj1
= 0;
5537 PyObject
* _obj2
= 0;
5538 char *_kwnames
[] = { "self","self","_class", NULL
};
5541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyLog__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
5544 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5545 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLog_p")) {
5546 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLog__setCallbackInfo. Expected _wxPyLog_p.");
5557 wxPy_BEGIN_ALLOW_THREADS
;
5558 wxPyLog__setCallbackInfo(_arg0
,_arg1
,_arg2
);
5560 wxPy_END_ALLOW_THREADS
;
5561 } Py_INCREF(Py_None
);
5562 _resultobj
= Py_None
;
5566 static void wxPyLog_Destroy(wxPyLog
*self
) { delete self
; }
5567 static PyObject
*_wrap_wxPyLog_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5568 PyObject
* _resultobj
;
5570 PyObject
* _argo0
= 0;
5571 char *_kwnames
[] = { "self", NULL
};
5574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyLog_Destroy",_kwnames
,&_argo0
))
5577 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5578 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLog_p")) {
5579 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLog_Destroy. Expected _wxPyLog_p.");
5584 wxPy_BEGIN_ALLOW_THREADS
;
5585 wxPyLog_Destroy(_arg0
);
5587 wxPy_END_ALLOW_THREADS
;
5588 } Py_INCREF(Py_None
);
5589 _resultobj
= Py_None
;
5593 static void *SwigwxProcessEventTowxEvent(void *ptr
) {
5594 wxProcessEvent
*src
;
5596 src
= (wxProcessEvent
*) ptr
;
5597 dest
= (wxEvent
*) src
;
5598 return (void *) dest
;
5601 static void *SwigwxProcessEventTowxObject(void *ptr
) {
5602 wxProcessEvent
*src
;
5604 src
= (wxProcessEvent
*) ptr
;
5605 dest
= (wxObject
*) src
;
5606 return (void *) dest
;
5609 #define new_wxProcessEvent(_swigarg0,_swigarg1,_swigarg2) (new wxProcessEvent(_swigarg0,_swigarg1,_swigarg2))
5610 static PyObject
*_wrap_new_wxProcessEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5611 PyObject
* _resultobj
;
5612 wxProcessEvent
* _result
;
5613 int _arg0
= (int ) 0;
5614 int _arg1
= (int ) 0;
5615 int _arg2
= (int ) 0;
5616 char *_kwnames
[] = { "id","pid","exitcode", NULL
};
5620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iii:new_wxProcessEvent",_kwnames
,&_arg0
,&_arg1
,&_arg2
))
5623 wxPy_BEGIN_ALLOW_THREADS
;
5624 _result
= (wxProcessEvent
*)new_wxProcessEvent(_arg0
,_arg1
,_arg2
);
5626 wxPy_END_ALLOW_THREADS
;
5628 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxProcessEvent_p");
5629 _resultobj
= Py_BuildValue("s",_ptemp
);
5632 _resultobj
= Py_None
;
5637 #define wxProcessEvent_GetPid(_swigobj) (_swigobj->GetPid())
5638 static PyObject
*_wrap_wxProcessEvent_GetPid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5639 PyObject
* _resultobj
;
5641 wxProcessEvent
* _arg0
;
5642 PyObject
* _argo0
= 0;
5643 char *_kwnames
[] = { "self", NULL
};
5646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcessEvent_GetPid",_kwnames
,&_argo0
))
5649 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5650 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
5651 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_GetPid. Expected _wxProcessEvent_p.");
5656 wxPy_BEGIN_ALLOW_THREADS
;
5657 _result
= (int )wxProcessEvent_GetPid(_arg0
);
5659 wxPy_END_ALLOW_THREADS
;
5660 } _resultobj
= Py_BuildValue("i",_result
);
5664 #define wxProcessEvent_GetExitCode(_swigobj) (_swigobj->GetExitCode())
5665 static PyObject
*_wrap_wxProcessEvent_GetExitCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5666 PyObject
* _resultobj
;
5668 wxProcessEvent
* _arg0
;
5669 PyObject
* _argo0
= 0;
5670 char *_kwnames
[] = { "self", NULL
};
5673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcessEvent_GetExitCode",_kwnames
,&_argo0
))
5676 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5677 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
5678 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_GetExitCode. Expected _wxProcessEvent_p.");
5683 wxPy_BEGIN_ALLOW_THREADS
;
5684 _result
= (int )wxProcessEvent_GetExitCode(_arg0
);
5686 wxPy_END_ALLOW_THREADS
;
5687 } _resultobj
= Py_BuildValue("i",_result
);
5691 #define wxProcessEvent_m_pid_set(_swigobj,_swigval) (_swigobj->m_pid = _swigval,_swigval)
5692 static PyObject
*_wrap_wxProcessEvent_m_pid_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5693 PyObject
* _resultobj
;
5695 wxProcessEvent
* _arg0
;
5697 PyObject
* _argo0
= 0;
5698 char *_kwnames
[] = { "self","m_pid", NULL
};
5701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxProcessEvent_m_pid_set",_kwnames
,&_argo0
,&_arg1
))
5704 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5705 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
5706 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_m_pid_set. Expected _wxProcessEvent_p.");
5711 wxPy_BEGIN_ALLOW_THREADS
;
5712 _result
= (int )wxProcessEvent_m_pid_set(_arg0
,_arg1
);
5714 wxPy_END_ALLOW_THREADS
;
5715 } _resultobj
= Py_BuildValue("i",_result
);
5719 #define wxProcessEvent_m_pid_get(_swigobj) ((int ) _swigobj->m_pid)
5720 static PyObject
*_wrap_wxProcessEvent_m_pid_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5721 PyObject
* _resultobj
;
5723 wxProcessEvent
* _arg0
;
5724 PyObject
* _argo0
= 0;
5725 char *_kwnames
[] = { "self", NULL
};
5728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcessEvent_m_pid_get",_kwnames
,&_argo0
))
5731 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5732 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
5733 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_m_pid_get. Expected _wxProcessEvent_p.");
5738 wxPy_BEGIN_ALLOW_THREADS
;
5739 _result
= (int )wxProcessEvent_m_pid_get(_arg0
);
5741 wxPy_END_ALLOW_THREADS
;
5742 } _resultobj
= Py_BuildValue("i",_result
);
5746 #define wxProcessEvent_m_exitcode_set(_swigobj,_swigval) (_swigobj->m_exitcode = _swigval,_swigval)
5747 static PyObject
*_wrap_wxProcessEvent_m_exitcode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5748 PyObject
* _resultobj
;
5750 wxProcessEvent
* _arg0
;
5752 PyObject
* _argo0
= 0;
5753 char *_kwnames
[] = { "self","m_exitcode", NULL
};
5756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxProcessEvent_m_exitcode_set",_kwnames
,&_argo0
,&_arg1
))
5759 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5760 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
5761 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_m_exitcode_set. Expected _wxProcessEvent_p.");
5766 wxPy_BEGIN_ALLOW_THREADS
;
5767 _result
= (int )wxProcessEvent_m_exitcode_set(_arg0
,_arg1
);
5769 wxPy_END_ALLOW_THREADS
;
5770 } _resultobj
= Py_BuildValue("i",_result
);
5774 #define wxProcessEvent_m_exitcode_get(_swigobj) ((int ) _swigobj->m_exitcode)
5775 static PyObject
*_wrap_wxProcessEvent_m_exitcode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5776 PyObject
* _resultobj
;
5778 wxProcessEvent
* _arg0
;
5779 PyObject
* _argo0
= 0;
5780 char *_kwnames
[] = { "self", NULL
};
5783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcessEvent_m_exitcode_get",_kwnames
,&_argo0
))
5786 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5787 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
5788 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_m_exitcode_get. Expected _wxProcessEvent_p.");
5793 wxPy_BEGIN_ALLOW_THREADS
;
5794 _result
= (int )wxProcessEvent_m_exitcode_get(_arg0
);
5796 wxPy_END_ALLOW_THREADS
;
5797 } _resultobj
= Py_BuildValue("i",_result
);
5801 static void *SwigwxPyProcessTowxEvtHandler(void *ptr
) {
5804 src
= (wxPyProcess
*) ptr
;
5805 dest
= (wxEvtHandler
*) src
;
5806 return (void *) dest
;
5809 static void *SwigwxPyProcessTowxObject(void *ptr
) {
5812 src
= (wxPyProcess
*) ptr
;
5813 dest
= (wxObject
*) src
;
5814 return (void *) dest
;
5817 #define new_wxProcess(_swigarg0,_swigarg1) (new wxPyProcess(_swigarg0,_swigarg1))
5818 static PyObject
*_wrap_new_wxProcess(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5819 PyObject
* _resultobj
;
5820 wxPyProcess
* _result
;
5821 wxEvtHandler
* _arg0
= (wxEvtHandler
*) NULL
;
5822 int _arg1
= (int ) -1;
5823 PyObject
* _argo0
= 0;
5824 char *_kwnames
[] = { "parent","id", NULL
};
5828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|Oi:new_wxProcess",_kwnames
,&_argo0
,&_arg1
))
5831 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5832 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
5833 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxProcess. Expected _wxEvtHandler_p.");
5838 wxPy_BEGIN_ALLOW_THREADS
;
5839 _result
= (wxPyProcess
*)new_wxProcess(_arg0
,_arg1
);
5841 wxPy_END_ALLOW_THREADS
;
5843 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyProcess_p");
5844 _resultobj
= Py_BuildValue("s",_ptemp
);
5847 _resultobj
= Py_None
;
5852 static void wxPyProcess_Destroy(wxPyProcess
*self
) { delete self
; }
5853 static PyObject
*_wrap_wxProcess_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5854 PyObject
* _resultobj
;
5855 wxPyProcess
* _arg0
;
5856 PyObject
* _argo0
= 0;
5857 char *_kwnames
[] = { "self", NULL
};
5860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_Destroy",_kwnames
,&_argo0
))
5863 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5864 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
5865 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_Destroy. Expected _wxPyProcess_p.");
5870 wxPy_BEGIN_ALLOW_THREADS
;
5871 wxPyProcess_Destroy(_arg0
);
5873 wxPy_END_ALLOW_THREADS
;
5874 } Py_INCREF(Py_None
);
5875 _resultobj
= Py_None
;
5879 #define wxProcess__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
5880 static PyObject
*_wrap_wxProcess__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5881 PyObject
* _resultobj
;
5882 wxPyProcess
* _arg0
;
5885 PyObject
* _argo0
= 0;
5886 PyObject
* _obj1
= 0;
5887 PyObject
* _obj2
= 0;
5888 char *_kwnames
[] = { "self","self","_class", NULL
};
5891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxProcess__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
5894 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5895 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
5896 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess__setCallbackInfo. Expected _wxPyProcess_p.");
5907 wxPy_BEGIN_ALLOW_THREADS
;
5908 wxProcess__setCallbackInfo(_arg0
,_arg1
,_arg2
);
5910 wxPy_END_ALLOW_THREADS
;
5911 } Py_INCREF(Py_None
);
5912 _resultobj
= Py_None
;
5916 #define wxProcess_base_OnTerminate(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnTerminate(_swigarg0,_swigarg1))
5917 static PyObject
*_wrap_wxProcess_base_OnTerminate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5918 PyObject
* _resultobj
;
5919 wxPyProcess
* _arg0
;
5922 PyObject
* _argo0
= 0;
5923 char *_kwnames
[] = { "self","pid","status", NULL
};
5926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxProcess_base_OnTerminate",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5929 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5930 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
5931 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_base_OnTerminate. Expected _wxPyProcess_p.");
5936 wxPy_BEGIN_ALLOW_THREADS
;
5937 wxProcess_base_OnTerminate(_arg0
,_arg1
,_arg2
);
5939 wxPy_END_ALLOW_THREADS
;
5940 } Py_INCREF(Py_None
);
5941 _resultobj
= Py_None
;
5945 #define wxProcess_Redirect(_swigobj) (_swigobj->Redirect())
5946 static PyObject
*_wrap_wxProcess_Redirect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5947 PyObject
* _resultobj
;
5948 wxPyProcess
* _arg0
;
5949 PyObject
* _argo0
= 0;
5950 char *_kwnames
[] = { "self", NULL
};
5953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_Redirect",_kwnames
,&_argo0
))
5956 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5957 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
5958 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_Redirect. Expected _wxPyProcess_p.");
5963 wxPy_BEGIN_ALLOW_THREADS
;
5964 wxProcess_Redirect(_arg0
);
5966 wxPy_END_ALLOW_THREADS
;
5967 } Py_INCREF(Py_None
);
5968 _resultobj
= Py_None
;
5972 #define wxProcess_IsRedirected(_swigobj) (_swigobj->IsRedirected())
5973 static PyObject
*_wrap_wxProcess_IsRedirected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5974 PyObject
* _resultobj
;
5976 wxPyProcess
* _arg0
;
5977 PyObject
* _argo0
= 0;
5978 char *_kwnames
[] = { "self", NULL
};
5981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_IsRedirected",_kwnames
,&_argo0
))
5984 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5985 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
5986 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_IsRedirected. Expected _wxPyProcess_p.");
5991 wxPy_BEGIN_ALLOW_THREADS
;
5992 _result
= (bool )wxProcess_IsRedirected(_arg0
);
5994 wxPy_END_ALLOW_THREADS
;
5995 } _resultobj
= Py_BuildValue("i",_result
);
5999 #define wxProcess_Detach(_swigobj) (_swigobj->Detach())
6000 static PyObject
*_wrap_wxProcess_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6001 PyObject
* _resultobj
;
6002 wxPyProcess
* _arg0
;
6003 PyObject
* _argo0
= 0;
6004 char *_kwnames
[] = { "self", NULL
};
6007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_Detach",_kwnames
,&_argo0
))
6010 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6011 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6012 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_Detach. Expected _wxPyProcess_p.");
6017 wxPy_BEGIN_ALLOW_THREADS
;
6018 wxProcess_Detach(_arg0
);
6020 wxPy_END_ALLOW_THREADS
;
6021 } Py_INCREF(Py_None
);
6022 _resultobj
= Py_None
;
6026 #define wxProcess_GetInputStream(_swigobj) (_swigobj->GetInputStream())
6027 static PyObject
*_wrap_wxProcess_GetInputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6028 PyObject
* _resultobj
;
6029 wxInputStream
* _result
;
6030 wxPyProcess
* _arg0
;
6031 PyObject
* _argo0
= 0;
6032 char *_kwnames
[] = { "self", NULL
};
6035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_GetInputStream",_kwnames
,&_argo0
))
6038 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6039 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6040 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_GetInputStream. Expected _wxPyProcess_p.");
6045 wxPy_BEGIN_ALLOW_THREADS
;
6046 _result
= (wxInputStream
*)wxProcess_GetInputStream(_arg0
);
6048 wxPy_END_ALLOW_THREADS
;
6050 wxPyInputStream
* _ptr
= NULL
;
6053 _ptr
= new wxPyInputStream(_result
);
6055 _resultobj
= wxPyConstructObject(_ptr
, "wxInputStream", TRUE
);
6060 #define wxProcess_GetErrorStream(_swigobj) (_swigobj->GetErrorStream())
6061 static PyObject
*_wrap_wxProcess_GetErrorStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6062 PyObject
* _resultobj
;
6063 wxInputStream
* _result
;
6064 wxPyProcess
* _arg0
;
6065 PyObject
* _argo0
= 0;
6066 char *_kwnames
[] = { "self", NULL
};
6069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_GetErrorStream",_kwnames
,&_argo0
))
6072 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6073 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6074 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_GetErrorStream. Expected _wxPyProcess_p.");
6079 wxPy_BEGIN_ALLOW_THREADS
;
6080 _result
= (wxInputStream
*)wxProcess_GetErrorStream(_arg0
);
6082 wxPy_END_ALLOW_THREADS
;
6084 wxPyInputStream
* _ptr
= NULL
;
6087 _ptr
= new wxPyInputStream(_result
);
6089 _resultobj
= wxPyConstructObject(_ptr
, "wxInputStream", TRUE
);
6094 #define wxProcess_GetOutputStream(_swigobj) (_swigobj->GetOutputStream())
6095 static PyObject
*_wrap_wxProcess_GetOutputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6096 PyObject
* _resultobj
;
6097 wxOutputStream
* _result
;
6098 wxPyProcess
* _arg0
;
6099 PyObject
* _argo0
= 0;
6100 char *_kwnames
[] = { "self", NULL
};
6104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_GetOutputStream",_kwnames
,&_argo0
))
6107 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6108 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6109 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_GetOutputStream. Expected _wxPyProcess_p.");
6114 wxPy_BEGIN_ALLOW_THREADS
;
6115 _result
= (wxOutputStream
*)wxProcess_GetOutputStream(_arg0
);
6117 wxPy_END_ALLOW_THREADS
;
6119 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxOutputStream_p");
6120 _resultobj
= Py_BuildValue("s",_ptemp
);
6123 _resultobj
= Py_None
;
6128 #define wxProcess_CloseOutput(_swigobj) (_swigobj->CloseOutput())
6129 static PyObject
*_wrap_wxProcess_CloseOutput(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6130 PyObject
* _resultobj
;
6131 wxPyProcess
* _arg0
;
6132 PyObject
* _argo0
= 0;
6133 char *_kwnames
[] = { "self", NULL
};
6136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_CloseOutput",_kwnames
,&_argo0
))
6139 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6140 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6141 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_CloseOutput. Expected _wxPyProcess_p.");
6146 wxPy_BEGIN_ALLOW_THREADS
;
6147 wxProcess_CloseOutput(_arg0
);
6149 wxPy_END_ALLOW_THREADS
;
6150 } Py_INCREF(Py_None
);
6151 _resultobj
= Py_None
;
6155 static void *SwigwxJoystickTowxObject(void *ptr
) {
6158 src
= (wxJoystick
*) ptr
;
6159 dest
= (wxObject
*) src
;
6160 return (void *) dest
;
6163 #define new_wxJoystick(_swigarg0) (new wxJoystick(_swigarg0))
6164 static PyObject
*_wrap_new_wxJoystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6165 PyObject
* _resultobj
;
6166 wxJoystick
* _result
;
6167 int _arg0
= (int ) wxJOYSTICK1
;
6168 char *_kwnames
[] = { "joystick", NULL
};
6172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxJoystick",_kwnames
,&_arg0
))
6175 wxPy_BEGIN_ALLOW_THREADS
;
6176 _result
= (wxJoystick
*)new_wxJoystick(_arg0
);
6178 wxPy_END_ALLOW_THREADS
;
6180 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxJoystick_p");
6181 _resultobj
= Py_BuildValue("s",_ptemp
);
6184 _resultobj
= Py_None
;
6189 #define delete_wxJoystick(_swigobj) (delete _swigobj)
6190 static PyObject
*_wrap_delete_wxJoystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6191 PyObject
* _resultobj
;
6193 PyObject
* _argo0
= 0;
6194 char *_kwnames
[] = { "self", NULL
};
6197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxJoystick",_kwnames
,&_argo0
))
6200 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6201 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6202 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxJoystick. Expected _wxJoystick_p.");
6207 wxPy_BEGIN_ALLOW_THREADS
;
6208 delete_wxJoystick(_arg0
);
6210 wxPy_END_ALLOW_THREADS
;
6211 } Py_INCREF(Py_None
);
6212 _resultobj
= Py_None
;
6216 #define wxJoystick_GetPosition(_swigobj) (_swigobj->GetPosition())
6217 static PyObject
*_wrap_wxJoystick_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6218 PyObject
* _resultobj
;
6221 PyObject
* _argo0
= 0;
6222 char *_kwnames
[] = { "self", NULL
};
6226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPosition",_kwnames
,&_argo0
))
6229 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6230 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6231 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPosition. Expected _wxJoystick_p.");
6236 wxPy_BEGIN_ALLOW_THREADS
;
6237 _result
= new wxPoint (wxJoystick_GetPosition(_arg0
));
6239 wxPy_END_ALLOW_THREADS
;
6240 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
6241 _resultobj
= Py_BuildValue("s",_ptemp
);
6245 #define wxJoystick_GetZPosition(_swigobj) (_swigobj->GetZPosition())
6246 static PyObject
*_wrap_wxJoystick_GetZPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6247 PyObject
* _resultobj
;
6250 PyObject
* _argo0
= 0;
6251 char *_kwnames
[] = { "self", NULL
};
6254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetZPosition",_kwnames
,&_argo0
))
6257 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6258 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6259 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetZPosition. Expected _wxJoystick_p.");
6264 wxPy_BEGIN_ALLOW_THREADS
;
6265 _result
= (int )wxJoystick_GetZPosition(_arg0
);
6267 wxPy_END_ALLOW_THREADS
;
6268 } _resultobj
= Py_BuildValue("i",_result
);
6272 #define wxJoystick_GetButtonState(_swigobj) (_swigobj->GetButtonState())
6273 static PyObject
*_wrap_wxJoystick_GetButtonState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6274 PyObject
* _resultobj
;
6277 PyObject
* _argo0
= 0;
6278 char *_kwnames
[] = { "self", NULL
};
6281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetButtonState",_kwnames
,&_argo0
))
6284 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6285 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6286 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetButtonState. Expected _wxJoystick_p.");
6291 wxPy_BEGIN_ALLOW_THREADS
;
6292 _result
= (int )wxJoystick_GetButtonState(_arg0
);
6294 wxPy_END_ALLOW_THREADS
;
6295 } _resultobj
= Py_BuildValue("i",_result
);
6299 #define wxJoystick_GetPOVPosition(_swigobj) (_swigobj->GetPOVPosition())
6300 static PyObject
*_wrap_wxJoystick_GetPOVPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6301 PyObject
* _resultobj
;
6304 PyObject
* _argo0
= 0;
6305 char *_kwnames
[] = { "self", NULL
};
6308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPOVPosition",_kwnames
,&_argo0
))
6311 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6312 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6313 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPOVPosition. Expected _wxJoystick_p.");
6318 wxPy_BEGIN_ALLOW_THREADS
;
6319 _result
= (int )wxJoystick_GetPOVPosition(_arg0
);
6321 wxPy_END_ALLOW_THREADS
;
6322 } _resultobj
= Py_BuildValue("i",_result
);
6326 #define wxJoystick_GetPOVCTSPosition(_swigobj) (_swigobj->GetPOVCTSPosition())
6327 static PyObject
*_wrap_wxJoystick_GetPOVCTSPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6328 PyObject
* _resultobj
;
6331 PyObject
* _argo0
= 0;
6332 char *_kwnames
[] = { "self", NULL
};
6335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPOVCTSPosition",_kwnames
,&_argo0
))
6338 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6339 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6340 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPOVCTSPosition. Expected _wxJoystick_p.");
6345 wxPy_BEGIN_ALLOW_THREADS
;
6346 _result
= (int )wxJoystick_GetPOVCTSPosition(_arg0
);
6348 wxPy_END_ALLOW_THREADS
;
6349 } _resultobj
= Py_BuildValue("i",_result
);
6353 #define wxJoystick_GetRudderPosition(_swigobj) (_swigobj->GetRudderPosition())
6354 static PyObject
*_wrap_wxJoystick_GetRudderPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6355 PyObject
* _resultobj
;
6358 PyObject
* _argo0
= 0;
6359 char *_kwnames
[] = { "self", NULL
};
6362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetRudderPosition",_kwnames
,&_argo0
))
6365 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6366 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6367 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetRudderPosition. Expected _wxJoystick_p.");
6372 wxPy_BEGIN_ALLOW_THREADS
;
6373 _result
= (int )wxJoystick_GetRudderPosition(_arg0
);
6375 wxPy_END_ALLOW_THREADS
;
6376 } _resultobj
= Py_BuildValue("i",_result
);
6380 #define wxJoystick_GetUPosition(_swigobj) (_swigobj->GetUPosition())
6381 static PyObject
*_wrap_wxJoystick_GetUPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6382 PyObject
* _resultobj
;
6385 PyObject
* _argo0
= 0;
6386 char *_kwnames
[] = { "self", NULL
};
6389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetUPosition",_kwnames
,&_argo0
))
6392 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6393 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6394 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetUPosition. Expected _wxJoystick_p.");
6399 wxPy_BEGIN_ALLOW_THREADS
;
6400 _result
= (int )wxJoystick_GetUPosition(_arg0
);
6402 wxPy_END_ALLOW_THREADS
;
6403 } _resultobj
= Py_BuildValue("i",_result
);
6407 #define wxJoystick_GetVPosition(_swigobj) (_swigobj->GetVPosition())
6408 static PyObject
*_wrap_wxJoystick_GetVPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6409 PyObject
* _resultobj
;
6412 PyObject
* _argo0
= 0;
6413 char *_kwnames
[] = { "self", NULL
};
6416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetVPosition",_kwnames
,&_argo0
))
6419 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6420 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6421 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetVPosition. Expected _wxJoystick_p.");
6426 wxPy_BEGIN_ALLOW_THREADS
;
6427 _result
= (int )wxJoystick_GetVPosition(_arg0
);
6429 wxPy_END_ALLOW_THREADS
;
6430 } _resultobj
= Py_BuildValue("i",_result
);
6434 #define wxJoystick_GetMovementThreshold(_swigobj) (_swigobj->GetMovementThreshold())
6435 static PyObject
*_wrap_wxJoystick_GetMovementThreshold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6436 PyObject
* _resultobj
;
6439 PyObject
* _argo0
= 0;
6440 char *_kwnames
[] = { "self", NULL
};
6443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetMovementThreshold",_kwnames
,&_argo0
))
6446 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6447 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6448 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetMovementThreshold. Expected _wxJoystick_p.");
6453 wxPy_BEGIN_ALLOW_THREADS
;
6454 _result
= (int )wxJoystick_GetMovementThreshold(_arg0
);
6456 wxPy_END_ALLOW_THREADS
;
6457 } _resultobj
= Py_BuildValue("i",_result
);
6461 #define wxJoystick_SetMovementThreshold(_swigobj,_swigarg0) (_swigobj->SetMovementThreshold(_swigarg0))
6462 static PyObject
*_wrap_wxJoystick_SetMovementThreshold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6463 PyObject
* _resultobj
;
6466 PyObject
* _argo0
= 0;
6467 char *_kwnames
[] = { "self","threshold", NULL
};
6470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxJoystick_SetMovementThreshold",_kwnames
,&_argo0
,&_arg1
))
6473 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6474 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6475 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_SetMovementThreshold. Expected _wxJoystick_p.");
6480 wxPy_BEGIN_ALLOW_THREADS
;
6481 wxJoystick_SetMovementThreshold(_arg0
,_arg1
);
6483 wxPy_END_ALLOW_THREADS
;
6484 } Py_INCREF(Py_None
);
6485 _resultobj
= Py_None
;
6489 #define wxJoystick_IsOk(_swigobj) (_swigobj->IsOk())
6490 static PyObject
*_wrap_wxJoystick_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6491 PyObject
* _resultobj
;
6494 PyObject
* _argo0
= 0;
6495 char *_kwnames
[] = { "self", NULL
};
6498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_IsOk",_kwnames
,&_argo0
))
6501 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6502 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6503 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_IsOk. Expected _wxJoystick_p.");
6508 wxPy_BEGIN_ALLOW_THREADS
;
6509 _result
= (bool )wxJoystick_IsOk(_arg0
);
6511 wxPy_END_ALLOW_THREADS
;
6512 } _resultobj
= Py_BuildValue("i",_result
);
6516 #define wxJoystick_GetNumberJoysticks(_swigobj) (_swigobj->GetNumberJoysticks())
6517 static PyObject
*_wrap_wxJoystick_GetNumberJoysticks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6518 PyObject
* _resultobj
;
6521 PyObject
* _argo0
= 0;
6522 char *_kwnames
[] = { "self", NULL
};
6525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetNumberJoysticks",_kwnames
,&_argo0
))
6528 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6529 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6530 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetNumberJoysticks. Expected _wxJoystick_p.");
6535 wxPy_BEGIN_ALLOW_THREADS
;
6536 _result
= (int )wxJoystick_GetNumberJoysticks(_arg0
);
6538 wxPy_END_ALLOW_THREADS
;
6539 } _resultobj
= Py_BuildValue("i",_result
);
6543 #define wxJoystick_GetManufacturerId(_swigobj) (_swigobj->GetManufacturerId())
6544 static PyObject
*_wrap_wxJoystick_GetManufacturerId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6545 PyObject
* _resultobj
;
6548 PyObject
* _argo0
= 0;
6549 char *_kwnames
[] = { "self", NULL
};
6552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetManufacturerId",_kwnames
,&_argo0
))
6555 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6556 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6557 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetManufacturerId. Expected _wxJoystick_p.");
6562 wxPy_BEGIN_ALLOW_THREADS
;
6563 _result
= (int )wxJoystick_GetManufacturerId(_arg0
);
6565 wxPy_END_ALLOW_THREADS
;
6566 } _resultobj
= Py_BuildValue("i",_result
);
6570 #define wxJoystick_GetProductId(_swigobj) (_swigobj->GetProductId())
6571 static PyObject
*_wrap_wxJoystick_GetProductId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6572 PyObject
* _resultobj
;
6575 PyObject
* _argo0
= 0;
6576 char *_kwnames
[] = { "self", NULL
};
6579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetProductId",_kwnames
,&_argo0
))
6582 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6583 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6584 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetProductId. Expected _wxJoystick_p.");
6589 wxPy_BEGIN_ALLOW_THREADS
;
6590 _result
= (int )wxJoystick_GetProductId(_arg0
);
6592 wxPy_END_ALLOW_THREADS
;
6593 } _resultobj
= Py_BuildValue("i",_result
);
6597 #define wxJoystick_GetProductName(_swigobj) (_swigobj->GetProductName())
6598 static PyObject
*_wrap_wxJoystick_GetProductName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6599 PyObject
* _resultobj
;
6602 PyObject
* _argo0
= 0;
6603 char *_kwnames
[] = { "self", NULL
};
6606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetProductName",_kwnames
,&_argo0
))
6609 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6610 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6611 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetProductName. Expected _wxJoystick_p.");
6616 wxPy_BEGIN_ALLOW_THREADS
;
6617 _result
= new wxString (wxJoystick_GetProductName(_arg0
));
6619 wxPy_END_ALLOW_THREADS
;
6621 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
6629 #define wxJoystick_GetXMin(_swigobj) (_swigobj->GetXMin())
6630 static PyObject
*_wrap_wxJoystick_GetXMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6631 PyObject
* _resultobj
;
6634 PyObject
* _argo0
= 0;
6635 char *_kwnames
[] = { "self", NULL
};
6638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetXMin",_kwnames
,&_argo0
))
6641 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6642 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6643 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetXMin. Expected _wxJoystick_p.");
6648 wxPy_BEGIN_ALLOW_THREADS
;
6649 _result
= (int )wxJoystick_GetXMin(_arg0
);
6651 wxPy_END_ALLOW_THREADS
;
6652 } _resultobj
= Py_BuildValue("i",_result
);
6656 #define wxJoystick_GetYMin(_swigobj) (_swigobj->GetYMin())
6657 static PyObject
*_wrap_wxJoystick_GetYMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6658 PyObject
* _resultobj
;
6661 PyObject
* _argo0
= 0;
6662 char *_kwnames
[] = { "self", NULL
};
6665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetYMin",_kwnames
,&_argo0
))
6668 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6669 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6670 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetYMin. Expected _wxJoystick_p.");
6675 wxPy_BEGIN_ALLOW_THREADS
;
6676 _result
= (int )wxJoystick_GetYMin(_arg0
);
6678 wxPy_END_ALLOW_THREADS
;
6679 } _resultobj
= Py_BuildValue("i",_result
);
6683 #define wxJoystick_GetZMin(_swigobj) (_swigobj->GetZMin())
6684 static PyObject
*_wrap_wxJoystick_GetZMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6685 PyObject
* _resultobj
;
6688 PyObject
* _argo0
= 0;
6689 char *_kwnames
[] = { "self", NULL
};
6692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetZMin",_kwnames
,&_argo0
))
6695 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6696 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6697 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetZMin. Expected _wxJoystick_p.");
6702 wxPy_BEGIN_ALLOW_THREADS
;
6703 _result
= (int )wxJoystick_GetZMin(_arg0
);
6705 wxPy_END_ALLOW_THREADS
;
6706 } _resultobj
= Py_BuildValue("i",_result
);
6710 #define wxJoystick_GetXMax(_swigobj) (_swigobj->GetXMax())
6711 static PyObject
*_wrap_wxJoystick_GetXMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6712 PyObject
* _resultobj
;
6715 PyObject
* _argo0
= 0;
6716 char *_kwnames
[] = { "self", NULL
};
6719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetXMax",_kwnames
,&_argo0
))
6722 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6723 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6724 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetXMax. Expected _wxJoystick_p.");
6729 wxPy_BEGIN_ALLOW_THREADS
;
6730 _result
= (int )wxJoystick_GetXMax(_arg0
);
6732 wxPy_END_ALLOW_THREADS
;
6733 } _resultobj
= Py_BuildValue("i",_result
);
6737 #define wxJoystick_GetYMax(_swigobj) (_swigobj->GetYMax())
6738 static PyObject
*_wrap_wxJoystick_GetYMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6739 PyObject
* _resultobj
;
6742 PyObject
* _argo0
= 0;
6743 char *_kwnames
[] = { "self", NULL
};
6746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetYMax",_kwnames
,&_argo0
))
6749 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6750 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6751 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetYMax. Expected _wxJoystick_p.");
6756 wxPy_BEGIN_ALLOW_THREADS
;
6757 _result
= (int )wxJoystick_GetYMax(_arg0
);
6759 wxPy_END_ALLOW_THREADS
;
6760 } _resultobj
= Py_BuildValue("i",_result
);
6764 #define wxJoystick_GetZMax(_swigobj) (_swigobj->GetZMax())
6765 static PyObject
*_wrap_wxJoystick_GetZMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6766 PyObject
* _resultobj
;
6769 PyObject
* _argo0
= 0;
6770 char *_kwnames
[] = { "self", NULL
};
6773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetZMax",_kwnames
,&_argo0
))
6776 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6777 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6778 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetZMax. Expected _wxJoystick_p.");
6783 wxPy_BEGIN_ALLOW_THREADS
;
6784 _result
= (int )wxJoystick_GetZMax(_arg0
);
6786 wxPy_END_ALLOW_THREADS
;
6787 } _resultobj
= Py_BuildValue("i",_result
);
6791 #define wxJoystick_GetNumberButtons(_swigobj) (_swigobj->GetNumberButtons())
6792 static PyObject
*_wrap_wxJoystick_GetNumberButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6793 PyObject
* _resultobj
;
6796 PyObject
* _argo0
= 0;
6797 char *_kwnames
[] = { "self", NULL
};
6800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetNumberButtons",_kwnames
,&_argo0
))
6803 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6804 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6805 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetNumberButtons. Expected _wxJoystick_p.");
6810 wxPy_BEGIN_ALLOW_THREADS
;
6811 _result
= (int )wxJoystick_GetNumberButtons(_arg0
);
6813 wxPy_END_ALLOW_THREADS
;
6814 } _resultobj
= Py_BuildValue("i",_result
);
6818 #define wxJoystick_GetNumberAxes(_swigobj) (_swigobj->GetNumberAxes())
6819 static PyObject
*_wrap_wxJoystick_GetNumberAxes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6820 PyObject
* _resultobj
;
6823 PyObject
* _argo0
= 0;
6824 char *_kwnames
[] = { "self", NULL
};
6827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetNumberAxes",_kwnames
,&_argo0
))
6830 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6831 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6832 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetNumberAxes. Expected _wxJoystick_p.");
6837 wxPy_BEGIN_ALLOW_THREADS
;
6838 _result
= (int )wxJoystick_GetNumberAxes(_arg0
);
6840 wxPy_END_ALLOW_THREADS
;
6841 } _resultobj
= Py_BuildValue("i",_result
);
6845 #define wxJoystick_GetMaxButtons(_swigobj) (_swigobj->GetMaxButtons())
6846 static PyObject
*_wrap_wxJoystick_GetMaxButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6847 PyObject
* _resultobj
;
6850 PyObject
* _argo0
= 0;
6851 char *_kwnames
[] = { "self", NULL
};
6854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetMaxButtons",_kwnames
,&_argo0
))
6857 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6858 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6859 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetMaxButtons. Expected _wxJoystick_p.");
6864 wxPy_BEGIN_ALLOW_THREADS
;
6865 _result
= (int )wxJoystick_GetMaxButtons(_arg0
);
6867 wxPy_END_ALLOW_THREADS
;
6868 } _resultobj
= Py_BuildValue("i",_result
);
6872 #define wxJoystick_GetMaxAxes(_swigobj) (_swigobj->GetMaxAxes())
6873 static PyObject
*_wrap_wxJoystick_GetMaxAxes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6874 PyObject
* _resultobj
;
6877 PyObject
* _argo0
= 0;
6878 char *_kwnames
[] = { "self", NULL
};
6881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetMaxAxes",_kwnames
,&_argo0
))
6884 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6885 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6886 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetMaxAxes. Expected _wxJoystick_p.");
6891 wxPy_BEGIN_ALLOW_THREADS
;
6892 _result
= (int )wxJoystick_GetMaxAxes(_arg0
);
6894 wxPy_END_ALLOW_THREADS
;
6895 } _resultobj
= Py_BuildValue("i",_result
);
6899 #define wxJoystick_GetPollingMin(_swigobj) (_swigobj->GetPollingMin())
6900 static PyObject
*_wrap_wxJoystick_GetPollingMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6901 PyObject
* _resultobj
;
6904 PyObject
* _argo0
= 0;
6905 char *_kwnames
[] = { "self", NULL
};
6908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPollingMin",_kwnames
,&_argo0
))
6911 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6912 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6913 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPollingMin. Expected _wxJoystick_p.");
6918 wxPy_BEGIN_ALLOW_THREADS
;
6919 _result
= (int )wxJoystick_GetPollingMin(_arg0
);
6921 wxPy_END_ALLOW_THREADS
;
6922 } _resultobj
= Py_BuildValue("i",_result
);
6926 #define wxJoystick_GetPollingMax(_swigobj) (_swigobj->GetPollingMax())
6927 static PyObject
*_wrap_wxJoystick_GetPollingMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6928 PyObject
* _resultobj
;
6931 PyObject
* _argo0
= 0;
6932 char *_kwnames
[] = { "self", NULL
};
6935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPollingMax",_kwnames
,&_argo0
))
6938 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6939 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6940 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPollingMax. Expected _wxJoystick_p.");
6945 wxPy_BEGIN_ALLOW_THREADS
;
6946 _result
= (int )wxJoystick_GetPollingMax(_arg0
);
6948 wxPy_END_ALLOW_THREADS
;
6949 } _resultobj
= Py_BuildValue("i",_result
);
6953 #define wxJoystick_GetRudderMin(_swigobj) (_swigobj->GetRudderMin())
6954 static PyObject
*_wrap_wxJoystick_GetRudderMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6955 PyObject
* _resultobj
;
6958 PyObject
* _argo0
= 0;
6959 char *_kwnames
[] = { "self", NULL
};
6962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetRudderMin",_kwnames
,&_argo0
))
6965 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6966 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6967 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetRudderMin. Expected _wxJoystick_p.");
6972 wxPy_BEGIN_ALLOW_THREADS
;
6973 _result
= (int )wxJoystick_GetRudderMin(_arg0
);
6975 wxPy_END_ALLOW_THREADS
;
6976 } _resultobj
= Py_BuildValue("i",_result
);
6980 #define wxJoystick_GetRudderMax(_swigobj) (_swigobj->GetRudderMax())
6981 static PyObject
*_wrap_wxJoystick_GetRudderMax(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_GetRudderMax",_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_GetRudderMax. Expected _wxJoystick_p.");
6999 wxPy_BEGIN_ALLOW_THREADS
;
7000 _result
= (int )wxJoystick_GetRudderMax(_arg0
);
7002 wxPy_END_ALLOW_THREADS
;
7003 } _resultobj
= Py_BuildValue("i",_result
);
7007 #define wxJoystick_GetUMin(_swigobj) (_swigobj->GetUMin())
7008 static PyObject
*_wrap_wxJoystick_GetUMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7009 PyObject
* _resultobj
;
7012 PyObject
* _argo0
= 0;
7013 char *_kwnames
[] = { "self", NULL
};
7016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetUMin",_kwnames
,&_argo0
))
7019 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7020 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7021 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetUMin. Expected _wxJoystick_p.");
7026 wxPy_BEGIN_ALLOW_THREADS
;
7027 _result
= (int )wxJoystick_GetUMin(_arg0
);
7029 wxPy_END_ALLOW_THREADS
;
7030 } _resultobj
= Py_BuildValue("i",_result
);
7034 #define wxJoystick_GetUMax(_swigobj) (_swigobj->GetUMax())
7035 static PyObject
*_wrap_wxJoystick_GetUMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7036 PyObject
* _resultobj
;
7039 PyObject
* _argo0
= 0;
7040 char *_kwnames
[] = { "self", NULL
};
7043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetUMax",_kwnames
,&_argo0
))
7046 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7047 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7048 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetUMax. Expected _wxJoystick_p.");
7053 wxPy_BEGIN_ALLOW_THREADS
;
7054 _result
= (int )wxJoystick_GetUMax(_arg0
);
7056 wxPy_END_ALLOW_THREADS
;
7057 } _resultobj
= Py_BuildValue("i",_result
);
7061 #define wxJoystick_GetVMin(_swigobj) (_swigobj->GetVMin())
7062 static PyObject
*_wrap_wxJoystick_GetVMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7063 PyObject
* _resultobj
;
7066 PyObject
* _argo0
= 0;
7067 char *_kwnames
[] = { "self", NULL
};
7070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetVMin",_kwnames
,&_argo0
))
7073 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7074 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7075 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetVMin. Expected _wxJoystick_p.");
7080 wxPy_BEGIN_ALLOW_THREADS
;
7081 _result
= (int )wxJoystick_GetVMin(_arg0
);
7083 wxPy_END_ALLOW_THREADS
;
7084 } _resultobj
= Py_BuildValue("i",_result
);
7088 #define wxJoystick_GetVMax(_swigobj) (_swigobj->GetVMax())
7089 static PyObject
*_wrap_wxJoystick_GetVMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7090 PyObject
* _resultobj
;
7093 PyObject
* _argo0
= 0;
7094 char *_kwnames
[] = { "self", NULL
};
7097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetVMax",_kwnames
,&_argo0
))
7100 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7101 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7102 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetVMax. Expected _wxJoystick_p.");
7107 wxPy_BEGIN_ALLOW_THREADS
;
7108 _result
= (int )wxJoystick_GetVMax(_arg0
);
7110 wxPy_END_ALLOW_THREADS
;
7111 } _resultobj
= Py_BuildValue("i",_result
);
7115 #define wxJoystick_HasRudder(_swigobj) (_swigobj->HasRudder())
7116 static PyObject
*_wrap_wxJoystick_HasRudder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7117 PyObject
* _resultobj
;
7120 PyObject
* _argo0
= 0;
7121 char *_kwnames
[] = { "self", NULL
};
7124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasRudder",_kwnames
,&_argo0
))
7127 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7128 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7129 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasRudder. Expected _wxJoystick_p.");
7134 wxPy_BEGIN_ALLOW_THREADS
;
7135 _result
= (bool )wxJoystick_HasRudder(_arg0
);
7137 wxPy_END_ALLOW_THREADS
;
7138 } _resultobj
= Py_BuildValue("i",_result
);
7142 #define wxJoystick_HasZ(_swigobj) (_swigobj->HasZ())
7143 static PyObject
*_wrap_wxJoystick_HasZ(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7144 PyObject
* _resultobj
;
7147 PyObject
* _argo0
= 0;
7148 char *_kwnames
[] = { "self", NULL
};
7151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasZ",_kwnames
,&_argo0
))
7154 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7155 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7156 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasZ. Expected _wxJoystick_p.");
7161 wxPy_BEGIN_ALLOW_THREADS
;
7162 _result
= (bool )wxJoystick_HasZ(_arg0
);
7164 wxPy_END_ALLOW_THREADS
;
7165 } _resultobj
= Py_BuildValue("i",_result
);
7169 #define wxJoystick_HasU(_swigobj) (_swigobj->HasU())
7170 static PyObject
*_wrap_wxJoystick_HasU(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7171 PyObject
* _resultobj
;
7174 PyObject
* _argo0
= 0;
7175 char *_kwnames
[] = { "self", NULL
};
7178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasU",_kwnames
,&_argo0
))
7181 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7182 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7183 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasU. Expected _wxJoystick_p.");
7188 wxPy_BEGIN_ALLOW_THREADS
;
7189 _result
= (bool )wxJoystick_HasU(_arg0
);
7191 wxPy_END_ALLOW_THREADS
;
7192 } _resultobj
= Py_BuildValue("i",_result
);
7196 #define wxJoystick_HasV(_swigobj) (_swigobj->HasV())
7197 static PyObject
*_wrap_wxJoystick_HasV(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7198 PyObject
* _resultobj
;
7201 PyObject
* _argo0
= 0;
7202 char *_kwnames
[] = { "self", NULL
};
7205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasV",_kwnames
,&_argo0
))
7208 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7209 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7210 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasV. Expected _wxJoystick_p.");
7215 wxPy_BEGIN_ALLOW_THREADS
;
7216 _result
= (bool )wxJoystick_HasV(_arg0
);
7218 wxPy_END_ALLOW_THREADS
;
7219 } _resultobj
= Py_BuildValue("i",_result
);
7223 #define wxJoystick_HasPOV(_swigobj) (_swigobj->HasPOV())
7224 static PyObject
*_wrap_wxJoystick_HasPOV(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7225 PyObject
* _resultobj
;
7228 PyObject
* _argo0
= 0;
7229 char *_kwnames
[] = { "self", NULL
};
7232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasPOV",_kwnames
,&_argo0
))
7235 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7236 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7237 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasPOV. Expected _wxJoystick_p.");
7242 wxPy_BEGIN_ALLOW_THREADS
;
7243 _result
= (bool )wxJoystick_HasPOV(_arg0
);
7245 wxPy_END_ALLOW_THREADS
;
7246 } _resultobj
= Py_BuildValue("i",_result
);
7250 #define wxJoystick_HasPOV4Dir(_swigobj) (_swigobj->HasPOV4Dir())
7251 static PyObject
*_wrap_wxJoystick_HasPOV4Dir(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7252 PyObject
* _resultobj
;
7255 PyObject
* _argo0
= 0;
7256 char *_kwnames
[] = { "self", NULL
};
7259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasPOV4Dir",_kwnames
,&_argo0
))
7262 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7263 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7264 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasPOV4Dir. Expected _wxJoystick_p.");
7269 wxPy_BEGIN_ALLOW_THREADS
;
7270 _result
= (bool )wxJoystick_HasPOV4Dir(_arg0
);
7272 wxPy_END_ALLOW_THREADS
;
7273 } _resultobj
= Py_BuildValue("i",_result
);
7277 #define wxJoystick_HasPOVCTS(_swigobj) (_swigobj->HasPOVCTS())
7278 static PyObject
*_wrap_wxJoystick_HasPOVCTS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7279 PyObject
* _resultobj
;
7282 PyObject
* _argo0
= 0;
7283 char *_kwnames
[] = { "self", NULL
};
7286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasPOVCTS",_kwnames
,&_argo0
))
7289 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7290 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7291 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasPOVCTS. Expected _wxJoystick_p.");
7296 wxPy_BEGIN_ALLOW_THREADS
;
7297 _result
= (bool )wxJoystick_HasPOVCTS(_arg0
);
7299 wxPy_END_ALLOW_THREADS
;
7300 } _resultobj
= Py_BuildValue("i",_result
);
7304 #define wxJoystick_SetCapture(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetCapture(_swigarg0,_swigarg1))
7305 static PyObject
*_wrap_wxJoystick_SetCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7306 PyObject
* _resultobj
;
7310 int _arg2
= (int ) 0;
7311 PyObject
* _argo0
= 0;
7312 PyObject
* _argo1
= 0;
7313 char *_kwnames
[] = { "self","win","pollingFreq", NULL
};
7316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxJoystick_SetCapture",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
7319 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7320 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7321 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_SetCapture. Expected _wxJoystick_p.");
7326 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7327 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
7328 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxJoystick_SetCapture. Expected _wxWindow_p.");
7333 wxPy_BEGIN_ALLOW_THREADS
;
7334 _result
= (bool )wxJoystick_SetCapture(_arg0
,_arg1
,_arg2
);
7336 wxPy_END_ALLOW_THREADS
;
7337 } _resultobj
= Py_BuildValue("i",_result
);
7341 #define wxJoystick_ReleaseCapture(_swigobj) (_swigobj->ReleaseCapture())
7342 static PyObject
*_wrap_wxJoystick_ReleaseCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7343 PyObject
* _resultobj
;
7346 PyObject
* _argo0
= 0;
7347 char *_kwnames
[] = { "self", NULL
};
7350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_ReleaseCapture",_kwnames
,&_argo0
))
7353 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7354 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7355 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_ReleaseCapture. Expected _wxJoystick_p.");
7360 wxPy_BEGIN_ALLOW_THREADS
;
7361 _result
= (bool )wxJoystick_ReleaseCapture(_arg0
);
7363 wxPy_END_ALLOW_THREADS
;
7364 } _resultobj
= Py_BuildValue("i",_result
);
7368 static void *SwigwxWaveTowxObject(void *ptr
) {
7371 src
= (wxWave
*) ptr
;
7372 dest
= (wxObject
*) src
;
7373 return (void *) dest
;
7376 #define new_wxWave(_swigarg0,_swigarg1) (new wxWave(_swigarg0,_swigarg1))
7377 static PyObject
*_wrap_new_wxWave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7378 PyObject
* _resultobj
;
7381 bool _arg1
= (bool ) FALSE
;
7382 PyObject
* _obj0
= 0;
7383 int tempbool1
= (int) FALSE
;
7384 char *_kwnames
[] = { "fileName","isResource", NULL
};
7388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:new_wxWave",_kwnames
,&_obj0
,&tempbool1
))
7391 #if PYTHON_API_VERSION >= 1009
7392 char* tmpPtr
; int tmpSize
;
7393 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
7394 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7397 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
7399 _arg0
= new wxString(tmpPtr
, tmpSize
);
7401 if (!PyString_Check(_obj0
)) {
7402 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7405 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
7408 _arg1
= (bool ) tempbool1
;
7410 wxPy_BEGIN_ALLOW_THREADS
;
7411 _result
= (wxWave
*)new_wxWave(*_arg0
,_arg1
);
7413 wxPy_END_ALLOW_THREADS
;
7415 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWave_p");
7416 _resultobj
= Py_BuildValue("s",_ptemp
);
7419 _resultobj
= Py_None
;
7428 #define delete_wxWave(_swigobj) (delete _swigobj)
7429 static PyObject
*_wrap_delete_wxWave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7430 PyObject
* _resultobj
;
7432 PyObject
* _argo0
= 0;
7433 char *_kwnames
[] = { "self", NULL
};
7436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxWave",_kwnames
,&_argo0
))
7439 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7440 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWave_p")) {
7441 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxWave. Expected _wxWave_p.");
7446 wxPy_BEGIN_ALLOW_THREADS
;
7447 delete_wxWave(_arg0
);
7449 wxPy_END_ALLOW_THREADS
;
7450 } Py_INCREF(Py_None
);
7451 _resultobj
= Py_None
;
7455 #define wxWave_IsOk(_swigobj) (_swigobj->IsOk())
7456 static PyObject
*_wrap_wxWave_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7457 PyObject
* _resultobj
;
7460 PyObject
* _argo0
= 0;
7461 char *_kwnames
[] = { "self", NULL
};
7464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWave_IsOk",_kwnames
,&_argo0
))
7467 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7468 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWave_p")) {
7469 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWave_IsOk. Expected _wxWave_p.");
7474 wxPy_BEGIN_ALLOW_THREADS
;
7475 _result
= (bool )wxWave_IsOk(_arg0
);
7477 wxPy_END_ALLOW_THREADS
;
7478 } _resultobj
= Py_BuildValue("i",_result
);
7482 #define wxWave_Play(_swigobj,_swigarg0,_swigarg1) (_swigobj->Play(_swigarg0,_swigarg1))
7483 static PyObject
*_wrap_wxWave_Play(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7484 PyObject
* _resultobj
;
7487 bool _arg1
= (bool ) TRUE
;
7488 bool _arg2
= (bool ) FALSE
;
7489 PyObject
* _argo0
= 0;
7490 int tempbool1
= (int) TRUE
;
7491 int tempbool2
= (int) FALSE
;
7492 char *_kwnames
[] = { "self","async","looped", NULL
};
7495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxWave_Play",_kwnames
,&_argo0
,&tempbool1
,&tempbool2
))
7498 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7499 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWave_p")) {
7500 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWave_Play. Expected _wxWave_p.");
7504 _arg1
= (bool ) tempbool1
;
7505 _arg2
= (bool ) tempbool2
;
7507 wxPy_BEGIN_ALLOW_THREADS
;
7508 _result
= (bool )wxWave_Play(_arg0
,_arg1
,_arg2
);
7510 wxPy_END_ALLOW_THREADS
;
7511 } _resultobj
= Py_BuildValue("i",_result
);
7515 #define new_wxFileTypeInfo(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxFileTypeInfo(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7516 static PyObject
*_wrap_new_wxFileTypeInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7517 PyObject
* _resultobj
;
7518 wxFileTypeInfo
* _result
;
7523 char *_kwnames
[] = { "mimeType","openCmd","printCmd","desc", NULL
};
7527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"ssss:new_wxFileTypeInfo",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
))
7530 wxPy_BEGIN_ALLOW_THREADS
;
7531 _result
= (wxFileTypeInfo
*)new_wxFileTypeInfo(_arg0
,_arg1
,_arg2
,_arg3
);
7533 wxPy_END_ALLOW_THREADS
;
7535 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileTypeInfo_p");
7536 _resultobj
= Py_BuildValue("s",_ptemp
);
7539 _resultobj
= Py_None
;
7544 #define new_wxFileTypeInfoSequence(_swigarg0) (new wxFileTypeInfo(_swigarg0))
7545 static PyObject
*_wrap_new_wxFileTypeInfoSequence(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7546 PyObject
* _resultobj
;
7547 wxFileTypeInfo
* _result
;
7548 wxArrayString
* _arg0
;
7549 PyObject
* _obj0
= 0;
7550 char *_kwnames
[] = { "sArray", NULL
};
7554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxFileTypeInfoSequence",_kwnames
,&_obj0
))
7557 if (! PySequence_Check(_obj0
)) {
7558 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
7561 _arg0
= new wxArrayString
;
7562 int i
, len
=PySequence_Length(_obj0
);
7563 for (i
=0; i
<len
; i
++) {
7564 PyObject
* item
= PySequence_GetItem(_obj0
, i
);
7565 PyObject
* str
= PyObject_Str(item
);
7566 _arg0
->Add(PyString_AsString(item
));
7572 wxPy_BEGIN_ALLOW_THREADS
;
7573 _result
= (wxFileTypeInfo
*)new_wxFileTypeInfoSequence(*_arg0
);
7575 wxPy_END_ALLOW_THREADS
;
7577 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileTypeInfo_p");
7578 _resultobj
= Py_BuildValue("s",_ptemp
);
7581 _resultobj
= Py_None
;
7590 #define new_wxNullFileTypeInfo() (new wxFileTypeInfo())
7591 static PyObject
*_wrap_new_wxNullFileTypeInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7592 PyObject
* _resultobj
;
7593 wxFileTypeInfo
* _result
;
7594 char *_kwnames
[] = { NULL
};
7598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxNullFileTypeInfo",_kwnames
))
7601 wxPy_BEGIN_ALLOW_THREADS
;
7602 _result
= (wxFileTypeInfo
*)new_wxNullFileTypeInfo();
7604 wxPy_END_ALLOW_THREADS
;
7606 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileTypeInfo_p");
7607 _resultobj
= Py_BuildValue("s",_ptemp
);
7610 _resultobj
= Py_None
;
7615 #define wxFileTypeInfo_IsValid(_swigobj) (_swigobj->IsValid())
7616 static PyObject
*_wrap_wxFileTypeInfo_IsValid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7617 PyObject
* _resultobj
;
7619 wxFileTypeInfo
* _arg0
;
7620 PyObject
* _argo0
= 0;
7621 char *_kwnames
[] = { "self", NULL
};
7624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_IsValid",_kwnames
,&_argo0
))
7627 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7628 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
7629 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_IsValid. Expected _wxFileTypeInfo_p.");
7634 wxPy_BEGIN_ALLOW_THREADS
;
7635 _result
= (bool )wxFileTypeInfo_IsValid(_arg0
);
7637 wxPy_END_ALLOW_THREADS
;
7638 } _resultobj
= Py_BuildValue("i",_result
);
7642 #define wxFileTypeInfo_SetIcon(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetIcon(_swigarg0,_swigarg1))
7643 static PyObject
*_wrap_wxFileTypeInfo_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7644 PyObject
* _resultobj
;
7645 wxFileTypeInfo
* _arg0
;
7647 int _arg2
= (int ) 0;
7648 PyObject
* _argo0
= 0;
7649 PyObject
* _obj1
= 0;
7650 char *_kwnames
[] = { "self","iconFile","iconIndex", NULL
};
7653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxFileTypeInfo_SetIcon",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
7656 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7657 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
7658 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_SetIcon. Expected _wxFileTypeInfo_p.");
7663 #if PYTHON_API_VERSION >= 1009
7664 char* tmpPtr
; int tmpSize
;
7665 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
7666 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7669 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
7671 _arg1
= new wxString(tmpPtr
, tmpSize
);
7673 if (!PyString_Check(_obj1
)) {
7674 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7677 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
7681 wxPy_BEGIN_ALLOW_THREADS
;
7682 wxFileTypeInfo_SetIcon(_arg0
,*_arg1
,_arg2
);
7684 wxPy_END_ALLOW_THREADS
;
7685 } Py_INCREF(Py_None
);
7686 _resultobj
= Py_None
;
7694 #define wxFileTypeInfo_SetShortDesc(_swigobj,_swigarg0) (_swigobj->SetShortDesc(_swigarg0))
7695 static PyObject
*_wrap_wxFileTypeInfo_SetShortDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7696 PyObject
* _resultobj
;
7697 wxFileTypeInfo
* _arg0
;
7699 PyObject
* _argo0
= 0;
7700 PyObject
* _obj1
= 0;
7701 char *_kwnames
[] = { "self","shortDesc", NULL
};
7704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileTypeInfo_SetShortDesc",_kwnames
,&_argo0
,&_obj1
))
7707 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7708 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
7709 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_SetShortDesc. Expected _wxFileTypeInfo_p.");
7714 #if PYTHON_API_VERSION >= 1009
7715 char* tmpPtr
; int tmpSize
;
7716 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
7717 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7720 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
7722 _arg1
= new wxString(tmpPtr
, tmpSize
);
7724 if (!PyString_Check(_obj1
)) {
7725 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7728 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
7732 wxPy_BEGIN_ALLOW_THREADS
;
7733 wxFileTypeInfo_SetShortDesc(_arg0
,*_arg1
);
7735 wxPy_END_ALLOW_THREADS
;
7736 } Py_INCREF(Py_None
);
7737 _resultobj
= Py_None
;
7745 #define wxFileTypeInfo_GetMimeType(_swigobj) (_swigobj->GetMimeType())
7746 static PyObject
*_wrap_wxFileTypeInfo_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7747 PyObject
* _resultobj
;
7749 wxFileTypeInfo
* _arg0
;
7750 PyObject
* _argo0
= 0;
7751 char *_kwnames
[] = { "self", NULL
};
7754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetMimeType",_kwnames
,&_argo0
))
7757 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7758 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
7759 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetMimeType. Expected _wxFileTypeInfo_p.");
7764 wxPy_BEGIN_ALLOW_THREADS
;
7765 const wxString
& _result_ref
= wxFileTypeInfo_GetMimeType(_arg0
);
7766 _result
= (wxString
*) &_result_ref
;
7768 wxPy_END_ALLOW_THREADS
;
7770 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
7775 #define wxFileTypeInfo_GetOpenCommand(_swigobj) (_swigobj->GetOpenCommand())
7776 static PyObject
*_wrap_wxFileTypeInfo_GetOpenCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7777 PyObject
* _resultobj
;
7779 wxFileTypeInfo
* _arg0
;
7780 PyObject
* _argo0
= 0;
7781 char *_kwnames
[] = { "self", NULL
};
7784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetOpenCommand",_kwnames
,&_argo0
))
7787 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7788 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
7789 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetOpenCommand. Expected _wxFileTypeInfo_p.");
7794 wxPy_BEGIN_ALLOW_THREADS
;
7795 const wxString
& _result_ref
= wxFileTypeInfo_GetOpenCommand(_arg0
);
7796 _result
= (wxString
*) &_result_ref
;
7798 wxPy_END_ALLOW_THREADS
;
7800 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
7805 #define wxFileTypeInfo_GetPrintCommand(_swigobj) (_swigobj->GetPrintCommand())
7806 static PyObject
*_wrap_wxFileTypeInfo_GetPrintCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7807 PyObject
* _resultobj
;
7809 wxFileTypeInfo
* _arg0
;
7810 PyObject
* _argo0
= 0;
7811 char *_kwnames
[] = { "self", NULL
};
7814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetPrintCommand",_kwnames
,&_argo0
))
7817 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7818 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
7819 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetPrintCommand. Expected _wxFileTypeInfo_p.");
7824 wxPy_BEGIN_ALLOW_THREADS
;
7825 const wxString
& _result_ref
= wxFileTypeInfo_GetPrintCommand(_arg0
);
7826 _result
= (wxString
*) &_result_ref
;
7828 wxPy_END_ALLOW_THREADS
;
7830 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
7835 #define wxFileTypeInfo_GetShortDesc(_swigobj) (_swigobj->GetShortDesc())
7836 static PyObject
*_wrap_wxFileTypeInfo_GetShortDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7837 PyObject
* _resultobj
;
7839 wxFileTypeInfo
* _arg0
;
7840 PyObject
* _argo0
= 0;
7841 char *_kwnames
[] = { "self", NULL
};
7844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetShortDesc",_kwnames
,&_argo0
))
7847 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7848 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
7849 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetShortDesc. Expected _wxFileTypeInfo_p.");
7854 wxPy_BEGIN_ALLOW_THREADS
;
7855 const wxString
& _result_ref
= wxFileTypeInfo_GetShortDesc(_arg0
);
7856 _result
= (wxString
*) &_result_ref
;
7858 wxPy_END_ALLOW_THREADS
;
7860 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
7865 #define wxFileTypeInfo_GetDescription(_swigobj) (_swigobj->GetDescription())
7866 static PyObject
*_wrap_wxFileTypeInfo_GetDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7867 PyObject
* _resultobj
;
7869 wxFileTypeInfo
* _arg0
;
7870 PyObject
* _argo0
= 0;
7871 char *_kwnames
[] = { "self", NULL
};
7874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetDescription",_kwnames
,&_argo0
))
7877 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7878 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
7879 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetDescription. Expected _wxFileTypeInfo_p.");
7884 wxPy_BEGIN_ALLOW_THREADS
;
7885 const wxString
& _result_ref
= wxFileTypeInfo_GetDescription(_arg0
);
7886 _result
= (wxString
*) &_result_ref
;
7888 wxPy_END_ALLOW_THREADS
;
7890 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
7895 static PyObject
* wxFileTypeInfo_GetExtensions(wxFileTypeInfo
*self
) {
7896 wxArrayString
& arr
= (wxArrayString
&)self
->GetExtensions();
7897 return wxArrayString2PyList_helper(arr
);
7899 static PyObject
*_wrap_wxFileTypeInfo_GetExtensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7900 PyObject
* _resultobj
;
7902 wxFileTypeInfo
* _arg0
;
7903 PyObject
* _argo0
= 0;
7904 char *_kwnames
[] = { "self", NULL
};
7907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetExtensions",_kwnames
,&_argo0
))
7910 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7911 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
7912 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetExtensions. Expected _wxFileTypeInfo_p.");
7917 wxPy_BEGIN_ALLOW_THREADS
;
7918 _result
= (PyObject
*)wxFileTypeInfo_GetExtensions(_arg0
);
7920 wxPy_END_ALLOW_THREADS
;
7922 _resultobj
= _result
;
7927 #define wxFileTypeInfo_GetExtensionsCount(_swigobj) (_swigobj->GetExtensionsCount())
7928 static PyObject
*_wrap_wxFileTypeInfo_GetExtensionsCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7929 PyObject
* _resultobj
;
7931 wxFileTypeInfo
* _arg0
;
7932 PyObject
* _argo0
= 0;
7933 char *_kwnames
[] = { "self", NULL
};
7936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetExtensionsCount",_kwnames
,&_argo0
))
7939 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7940 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
7941 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetExtensionsCount. Expected _wxFileTypeInfo_p.");
7946 wxPy_BEGIN_ALLOW_THREADS
;
7947 _result
= (int )wxFileTypeInfo_GetExtensionsCount(_arg0
);
7949 wxPy_END_ALLOW_THREADS
;
7950 } _resultobj
= Py_BuildValue("i",_result
);
7954 #define wxFileTypeInfo_GetIconFile(_swigobj) (_swigobj->GetIconFile())
7955 static PyObject
*_wrap_wxFileTypeInfo_GetIconFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7956 PyObject
* _resultobj
;
7958 wxFileTypeInfo
* _arg0
;
7959 PyObject
* _argo0
= 0;
7960 char *_kwnames
[] = { "self", NULL
};
7963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetIconFile",_kwnames
,&_argo0
))
7966 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7967 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
7968 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetIconFile. Expected _wxFileTypeInfo_p.");
7973 wxPy_BEGIN_ALLOW_THREADS
;
7974 const wxString
& _result_ref
= wxFileTypeInfo_GetIconFile(_arg0
);
7975 _result
= (wxString
*) &_result_ref
;
7977 wxPy_END_ALLOW_THREADS
;
7979 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
7984 #define wxFileTypeInfo_GetIconIndex(_swigobj) (_swigobj->GetIconIndex())
7985 static PyObject
*_wrap_wxFileTypeInfo_GetIconIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7986 PyObject
* _resultobj
;
7988 wxFileTypeInfo
* _arg0
;
7989 PyObject
* _argo0
= 0;
7990 char *_kwnames
[] = { "self", NULL
};
7993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetIconIndex",_kwnames
,&_argo0
))
7996 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7997 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
7998 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetIconIndex. Expected _wxFileTypeInfo_p.");
8003 wxPy_BEGIN_ALLOW_THREADS
;
8004 _result
= (int )wxFileTypeInfo_GetIconIndex(_arg0
);
8006 wxPy_END_ALLOW_THREADS
;
8007 } _resultobj
= Py_BuildValue("i",_result
);
8011 #define new_wxFileType(_swigarg0) (new wxFileType(_swigarg0))
8012 static PyObject
*_wrap_new_wxFileType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8013 PyObject
* _resultobj
;
8014 wxFileType
* _result
;
8015 wxFileTypeInfo
* _arg0
;
8016 PyObject
* _argo0
= 0;
8017 char *_kwnames
[] = { "ftInfo", NULL
};
8021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxFileType",_kwnames
,&_argo0
))
8024 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8025 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8026 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxFileType. Expected _wxFileTypeInfo_p.");
8031 wxPy_BEGIN_ALLOW_THREADS
;
8032 _result
= (wxFileType
*)new_wxFileType(*_arg0
);
8034 wxPy_END_ALLOW_THREADS
;
8036 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileType_p");
8037 _resultobj
= Py_BuildValue("s",_ptemp
);
8040 _resultobj
= Py_None
;
8045 static PyObject
* wxFileType_GetMimeType(wxFileType
*self
) {
8047 if (self
->GetMimeType(&str
))
8048 return PyString_FromString(str
.c_str());
8052 static PyObject
*_wrap_wxFileType_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8053 PyObject
* _resultobj
;
8056 PyObject
* _argo0
= 0;
8057 char *_kwnames
[] = { "self", NULL
};
8060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_GetMimeType",_kwnames
,&_argo0
))
8063 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8064 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8065 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetMimeType. Expected _wxFileType_p.");
8070 wxPy_BEGIN_ALLOW_THREADS
;
8071 _result
= (PyObject
*)wxFileType_GetMimeType(_arg0
);
8073 wxPy_END_ALLOW_THREADS
;
8075 _resultobj
= _result
;
8080 static PyObject
* wxFileType_GetMimeTypes(wxFileType
*self
) {
8082 if (self
->GetMimeTypes(arr
))
8083 return wxArrayString2PyList_helper(arr
);
8087 static PyObject
*_wrap_wxFileType_GetMimeTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8088 PyObject
* _resultobj
;
8091 PyObject
* _argo0
= 0;
8092 char *_kwnames
[] = { "self", NULL
};
8095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_GetMimeTypes",_kwnames
,&_argo0
))
8098 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8099 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8100 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetMimeTypes. Expected _wxFileType_p.");
8105 wxPy_BEGIN_ALLOW_THREADS
;
8106 _result
= (PyObject
*)wxFileType_GetMimeTypes(_arg0
);
8108 wxPy_END_ALLOW_THREADS
;
8110 _resultobj
= _result
;
8115 static PyObject
* wxFileType_GetExtensions(wxFileType
*self
) {
8117 if (self
->GetExtensions(arr
))
8118 return wxArrayString2PyList_helper(arr
);
8122 static PyObject
*_wrap_wxFileType_GetExtensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8123 PyObject
* _resultobj
;
8126 PyObject
* _argo0
= 0;
8127 char *_kwnames
[] = { "self", NULL
};
8130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_GetExtensions",_kwnames
,&_argo0
))
8133 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8134 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8135 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetExtensions. Expected _wxFileType_p.");
8140 wxPy_BEGIN_ALLOW_THREADS
;
8141 _result
= (PyObject
*)wxFileType_GetExtensions(_arg0
);
8143 wxPy_END_ALLOW_THREADS
;
8145 _resultobj
= _result
;
8150 static wxIcon
* wxFileType_GetIcon(wxFileType
*self
) {
8152 if (self
->GetIcon(&icon
))
8153 return new wxIcon(icon
);
8157 static PyObject
*_wrap_wxFileType_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8158 PyObject
* _resultobj
;
8161 PyObject
* _argo0
= 0;
8162 char *_kwnames
[] = { "self", NULL
};
8166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_GetIcon",_kwnames
,&_argo0
))
8169 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8170 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8171 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetIcon. Expected _wxFileType_p.");
8176 wxPy_BEGIN_ALLOW_THREADS
;
8177 _result
= (wxIcon
*)wxFileType_GetIcon(_arg0
);
8179 wxPy_END_ALLOW_THREADS
;
8181 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIcon_p");
8182 _resultobj
= Py_BuildValue("s",_ptemp
);
8185 _resultobj
= Py_None
;
8190 static PyObject
* wxFileType_GetIconInfo(wxFileType
*self
) {
8194 if (self
->GetIcon(&icon
, &iconFile
, &iconIndex
)) {
8195 wxPyTState
* state
= wxPyBeginBlockThreads();
8196 PyObject
* tuple
= PyTuple_New(3);
8197 PyTuple_SetItem(tuple
, 0, wxPyConstructObject(new wxIcon(icon
),
8199 PyTuple_SetItem(tuple
, 1, PyString_FromString(iconFile
.c_str()));
8200 PyTuple_SetItem(tuple
, 2, PyInt_FromLong(iconIndex
));
8201 wxPyEndBlockThreads(state
);
8207 static PyObject
*_wrap_wxFileType_GetIconInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8208 PyObject
* _resultobj
;
8211 PyObject
* _argo0
= 0;
8212 char *_kwnames
[] = { "self", NULL
};
8215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_GetIconInfo",_kwnames
,&_argo0
))
8218 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8219 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8220 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetIconInfo. Expected _wxFileType_p.");
8225 wxPy_BEGIN_ALLOW_THREADS
;
8226 _result
= (PyObject
*)wxFileType_GetIconInfo(_arg0
);
8228 wxPy_END_ALLOW_THREADS
;
8230 _resultobj
= _result
;
8235 static PyObject
* wxFileType_GetDescription(wxFileType
*self
) {
8237 if (self
->GetDescription(&str
))
8238 return PyString_FromString(str
.c_str());
8242 static PyObject
*_wrap_wxFileType_GetDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8243 PyObject
* _resultobj
;
8246 PyObject
* _argo0
= 0;
8247 char *_kwnames
[] = { "self", NULL
};
8250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_GetDescription",_kwnames
,&_argo0
))
8253 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8254 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8255 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetDescription. Expected _wxFileType_p.");
8260 wxPy_BEGIN_ALLOW_THREADS
;
8261 _result
= (PyObject
*)wxFileType_GetDescription(_arg0
);
8263 wxPy_END_ALLOW_THREADS
;
8265 _resultobj
= _result
;
8270 static PyObject
* wxFileType_GetOpenCommand(wxFileType
*self
,const wxString
& filename
,const wxString
& mimetype
) {
8272 if (self
->GetOpenCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
8273 return PyString_FromString(str
.c_str());
8277 static PyObject
*_wrap_wxFileType_GetOpenCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8278 PyObject
* _resultobj
;
8282 wxString
* _arg2
= (wxString
*) &wxPyEmptyStr
;
8283 PyObject
* _argo0
= 0;
8284 PyObject
* _obj1
= 0;
8285 PyObject
* _obj2
= 0;
8286 char *_kwnames
[] = { "self","filename","mimetype", NULL
};
8289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxFileType_GetOpenCommand",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
8292 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8293 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8294 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetOpenCommand. Expected _wxFileType_p.");
8299 #if PYTHON_API_VERSION >= 1009
8300 char* tmpPtr
; int tmpSize
;
8301 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
8302 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8305 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
8307 _arg1
= new wxString(tmpPtr
, tmpSize
);
8309 if (!PyString_Check(_obj1
)) {
8310 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8313 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
8318 #if PYTHON_API_VERSION >= 1009
8319 char* tmpPtr
; int tmpSize
;
8320 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
8321 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8324 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
8326 _arg2
= new wxString(tmpPtr
, tmpSize
);
8328 if (!PyString_Check(_obj2
)) {
8329 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8332 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
8336 wxPy_BEGIN_ALLOW_THREADS
;
8337 _result
= (PyObject
*)wxFileType_GetOpenCommand(_arg0
,*_arg1
,*_arg2
);
8339 wxPy_END_ALLOW_THREADS
;
8341 _resultobj
= _result
;
8354 static PyObject
* wxFileType_GetPrintCommand(wxFileType
*self
,const wxString
& filename
,const wxString
& mimetype
) {
8356 if (self
->GetPrintCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
8357 return PyString_FromString(str
.c_str());
8361 static PyObject
*_wrap_wxFileType_GetPrintCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8362 PyObject
* _resultobj
;
8366 wxString
* _arg2
= (wxString
*) &wxPyEmptyStr
;
8367 PyObject
* _argo0
= 0;
8368 PyObject
* _obj1
= 0;
8369 PyObject
* _obj2
= 0;
8370 char *_kwnames
[] = { "self","filename","mimetype", NULL
};
8373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxFileType_GetPrintCommand",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
8376 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8377 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8378 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetPrintCommand. Expected _wxFileType_p.");
8383 #if PYTHON_API_VERSION >= 1009
8384 char* tmpPtr
; int tmpSize
;
8385 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
8386 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8389 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
8391 _arg1
= new wxString(tmpPtr
, tmpSize
);
8393 if (!PyString_Check(_obj1
)) {
8394 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8397 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
8402 #if PYTHON_API_VERSION >= 1009
8403 char* tmpPtr
; int tmpSize
;
8404 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
8405 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8408 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
8410 _arg2
= new wxString(tmpPtr
, tmpSize
);
8412 if (!PyString_Check(_obj2
)) {
8413 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8416 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
8420 wxPy_BEGIN_ALLOW_THREADS
;
8421 _result
= (PyObject
*)wxFileType_GetPrintCommand(_arg0
,*_arg1
,*_arg2
);
8423 wxPy_END_ALLOW_THREADS
;
8425 _resultobj
= _result
;
8438 static PyObject
* wxFileType_GetAllCommands(wxFileType
*self
,const wxString
& filename
,const wxString
& mimetype
) {
8439 wxArrayString verbs
;
8440 wxArrayString commands
;
8441 if (self
->GetAllCommands(&verbs
, &commands
,
8442 wxFileType::MessageParameters(filename
, mimetype
))) {
8443 wxPyTState
* state
= wxPyBeginBlockThreads();
8444 PyObject
* tuple
= PyTuple_New(2);
8445 PyTuple_SetItem(tuple
, 0, wxArrayString2PyList_helper(verbs
));
8446 PyTuple_SetItem(tuple
, 1, wxArrayString2PyList_helper(commands
));
8447 wxPyEndBlockThreads(state
);
8453 static PyObject
*_wrap_wxFileType_GetAllCommands(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8454 PyObject
* _resultobj
;
8458 wxString
* _arg2
= (wxString
*) &wxPyEmptyStr
;
8459 PyObject
* _argo0
= 0;
8460 PyObject
* _obj1
= 0;
8461 PyObject
* _obj2
= 0;
8462 char *_kwnames
[] = { "self","filename","mimetype", NULL
};
8465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxFileType_GetAllCommands",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
8468 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8469 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8470 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetAllCommands. Expected _wxFileType_p.");
8475 #if PYTHON_API_VERSION >= 1009
8476 char* tmpPtr
; int tmpSize
;
8477 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
8478 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8481 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
8483 _arg1
= new wxString(tmpPtr
, tmpSize
);
8485 if (!PyString_Check(_obj1
)) {
8486 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8489 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
8494 #if PYTHON_API_VERSION >= 1009
8495 char* tmpPtr
; int tmpSize
;
8496 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
8497 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8500 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
8502 _arg2
= new wxString(tmpPtr
, tmpSize
);
8504 if (!PyString_Check(_obj2
)) {
8505 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8508 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
8512 wxPy_BEGIN_ALLOW_THREADS
;
8513 _result
= (PyObject
*)wxFileType_GetAllCommands(_arg0
,*_arg1
,*_arg2
);
8515 wxPy_END_ALLOW_THREADS
;
8517 _resultobj
= _result
;
8530 #define wxFileType_SetCommand(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCommand(_swigarg0,_swigarg1,_swigarg2))
8531 static PyObject
*_wrap_wxFileType_SetCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8532 PyObject
* _resultobj
;
8537 bool _arg3
= (bool ) TRUE
;
8538 PyObject
* _argo0
= 0;
8539 PyObject
* _obj1
= 0;
8540 PyObject
* _obj2
= 0;
8541 int tempbool3
= (int) TRUE
;
8542 char *_kwnames
[] = { "self","cmd","verb","overwriteprompt", NULL
};
8545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|i:wxFileType_SetCommand",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&tempbool3
))
8548 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8549 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8550 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_SetCommand. Expected _wxFileType_p.");
8555 #if PYTHON_API_VERSION >= 1009
8556 char* tmpPtr
; int tmpSize
;
8557 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
8558 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8561 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
8563 _arg1
= new wxString(tmpPtr
, tmpSize
);
8565 if (!PyString_Check(_obj1
)) {
8566 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8569 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
8573 #if PYTHON_API_VERSION >= 1009
8574 char* tmpPtr
; int tmpSize
;
8575 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
8576 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8579 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
8581 _arg2
= new wxString(tmpPtr
, tmpSize
);
8583 if (!PyString_Check(_obj2
)) {
8584 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8587 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
8590 _arg3
= (bool ) tempbool3
;
8592 wxPy_BEGIN_ALLOW_THREADS
;
8593 _result
= (bool )wxFileType_SetCommand(_arg0
,*_arg1
,*_arg2
,_arg3
);
8595 wxPy_END_ALLOW_THREADS
;
8596 } _resultobj
= Py_BuildValue("i",_result
);
8608 #define wxFileType_SetDefaultIcon(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDefaultIcon(_swigarg0,_swigarg1))
8609 static PyObject
*_wrap_wxFileType_SetDefaultIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8610 PyObject
* _resultobj
;
8613 wxString
* _arg1
= (wxString
*) &wxEmptyString
;
8614 int _arg2
= (int ) 0;
8615 PyObject
* _argo0
= 0;
8616 PyObject
* _obj1
= 0;
8617 char *_kwnames
[] = { "self","cmd","index", NULL
};
8620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|Oi:wxFileType_SetDefaultIcon",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
8623 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8624 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8625 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_SetDefaultIcon. Expected _wxFileType_p.");
8631 #if PYTHON_API_VERSION >= 1009
8632 char* tmpPtr
; int tmpSize
;
8633 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
8634 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8637 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
8639 _arg1
= new wxString(tmpPtr
, tmpSize
);
8641 if (!PyString_Check(_obj1
)) {
8642 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8645 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
8649 wxPy_BEGIN_ALLOW_THREADS
;
8650 _result
= (bool )wxFileType_SetDefaultIcon(_arg0
,*_arg1
,_arg2
);
8652 wxPy_END_ALLOW_THREADS
;
8653 } _resultobj
= Py_BuildValue("i",_result
);
8661 #define wxFileType_Unassociate(_swigobj) (_swigobj->Unassociate())
8662 static PyObject
*_wrap_wxFileType_Unassociate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8663 PyObject
* _resultobj
;
8666 PyObject
* _argo0
= 0;
8667 char *_kwnames
[] = { "self", NULL
};
8670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_Unassociate",_kwnames
,&_argo0
))
8673 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8674 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8675 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_Unassociate. Expected _wxFileType_p.");
8680 wxPy_BEGIN_ALLOW_THREADS
;
8681 _result
= (bool )wxFileType_Unassociate(_arg0
);
8683 wxPy_END_ALLOW_THREADS
;
8684 } _resultobj
= Py_BuildValue("i",_result
);
8688 static PyObject
*_wrap_wxFileType_ExpandCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8689 PyObject
* _resultobj
;
8692 wxFileType::MessageParameters
* _arg1
;
8693 PyObject
* _obj0
= 0;
8694 PyObject
* _argo1
= 0;
8695 char *_kwnames
[] = { "command","params", NULL
};
8698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileType_ExpandCommand",_kwnames
,&_obj0
,&_argo1
))
8701 #if PYTHON_API_VERSION >= 1009
8702 char* tmpPtr
; int tmpSize
;
8703 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
8704 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8707 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
8709 _arg0
= new wxString(tmpPtr
, tmpSize
);
8711 if (!PyString_Check(_obj0
)) {
8712 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8715 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
8719 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8720 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFileType::MessageParameters_p")) {
8721 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFileType_ExpandCommand. Expected _wxFileType::MessageParameters_p.");
8726 wxPy_BEGIN_ALLOW_THREADS
;
8727 _result
= new wxString (wxFileType::ExpandCommand(*_arg0
,*_arg1
));
8729 wxPy_END_ALLOW_THREADS
;
8731 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8743 #define delete_wxFileType(_swigobj) (delete _swigobj)
8744 static PyObject
*_wrap_delete_wxFileType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8745 PyObject
* _resultobj
;
8747 PyObject
* _argo0
= 0;
8748 char *_kwnames
[] = { "self", NULL
};
8751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxFileType",_kwnames
,&_argo0
))
8754 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8755 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8756 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxFileType. Expected _wxFileType_p.");
8761 wxPy_BEGIN_ALLOW_THREADS
;
8762 delete_wxFileType(_arg0
);
8764 wxPy_END_ALLOW_THREADS
;
8765 } Py_INCREF(Py_None
);
8766 _resultobj
= Py_None
;
8770 static PyObject
*_wrap_wxMimeTypesManager_IsOfType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8771 PyObject
* _resultobj
;
8775 PyObject
* _obj0
= 0;
8776 PyObject
* _obj1
= 0;
8777 char *_kwnames
[] = { "mimeType","wildcard", NULL
};
8780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_IsOfType",_kwnames
,&_obj0
,&_obj1
))
8783 #if PYTHON_API_VERSION >= 1009
8784 char* tmpPtr
; int tmpSize
;
8785 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
8786 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8789 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
8791 _arg0
= new wxString(tmpPtr
, tmpSize
);
8793 if (!PyString_Check(_obj0
)) {
8794 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8797 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
8801 #if PYTHON_API_VERSION >= 1009
8802 char* tmpPtr
; int tmpSize
;
8803 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
8804 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8807 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
8809 _arg1
= new wxString(tmpPtr
, tmpSize
);
8811 if (!PyString_Check(_obj1
)) {
8812 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8815 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
8819 wxPy_BEGIN_ALLOW_THREADS
;
8820 _result
= (bool )wxMimeTypesManager::IsOfType(*_arg0
,*_arg1
);
8822 wxPy_END_ALLOW_THREADS
;
8823 } _resultobj
= Py_BuildValue("i",_result
);
8835 #define new_wxMimeTypesManager() (new wxMimeTypesManager())
8836 static PyObject
*_wrap_new_wxMimeTypesManager(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8837 PyObject
* _resultobj
;
8838 wxMimeTypesManager
* _result
;
8839 char *_kwnames
[] = { NULL
};
8843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxMimeTypesManager",_kwnames
))
8846 wxPy_BEGIN_ALLOW_THREADS
;
8847 _result
= (wxMimeTypesManager
*)new_wxMimeTypesManager();
8849 wxPy_END_ALLOW_THREADS
;
8851 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMimeTypesManager_p");
8852 _resultobj
= Py_BuildValue("s",_ptemp
);
8855 _resultobj
= Py_None
;
8860 #define wxMimeTypesManager_Initialize(_swigobj,_swigarg0,_swigarg1) (_swigobj->Initialize(_swigarg0,_swigarg1))
8861 static PyObject
*_wrap_wxMimeTypesManager_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8862 PyObject
* _resultobj
;
8863 wxMimeTypesManager
* _arg0
;
8864 int _arg1
= (int ) (wxMAILCAP_STANDARD
);
8865 wxString
* _arg2
= (wxString
*) &wxEmptyString
;
8866 PyObject
* _argo0
= 0;
8867 PyObject
* _obj2
= 0;
8868 char *_kwnames
[] = { "self","mailcapStyle","extraDir", NULL
};
8871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iO:wxMimeTypesManager_Initialize",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
8874 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8875 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
8876 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_Initialize. Expected _wxMimeTypesManager_p.");
8882 #if PYTHON_API_VERSION >= 1009
8883 char* tmpPtr
; int tmpSize
;
8884 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
8885 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8888 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
8890 _arg2
= new wxString(tmpPtr
, tmpSize
);
8892 if (!PyString_Check(_obj2
)) {
8893 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8896 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
8900 wxPy_BEGIN_ALLOW_THREADS
;
8901 wxMimeTypesManager_Initialize(_arg0
,_arg1
,*_arg2
);
8903 wxPy_END_ALLOW_THREADS
;
8904 } Py_INCREF(Py_None
);
8905 _resultobj
= Py_None
;
8913 #define wxMimeTypesManager_ClearData(_swigobj) (_swigobj->ClearData())
8914 static PyObject
*_wrap_wxMimeTypesManager_ClearData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8915 PyObject
* _resultobj
;
8916 wxMimeTypesManager
* _arg0
;
8917 PyObject
* _argo0
= 0;
8918 char *_kwnames
[] = { "self", NULL
};
8921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMimeTypesManager_ClearData",_kwnames
,&_argo0
))
8924 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8925 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
8926 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_ClearData. Expected _wxMimeTypesManager_p.");
8931 wxPy_BEGIN_ALLOW_THREADS
;
8932 wxMimeTypesManager_ClearData(_arg0
);
8934 wxPy_END_ALLOW_THREADS
;
8935 } Py_INCREF(Py_None
);
8936 _resultobj
= Py_None
;
8940 #define wxMimeTypesManager_GetFileTypeFromExtension(_swigobj,_swigarg0) (_swigobj->GetFileTypeFromExtension(_swigarg0))
8941 static PyObject
*_wrap_wxMimeTypesManager_GetFileTypeFromExtension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8942 PyObject
* _resultobj
;
8943 wxFileType
* _result
;
8944 wxMimeTypesManager
* _arg0
;
8946 PyObject
* _argo0
= 0;
8947 PyObject
* _obj1
= 0;
8948 char *_kwnames
[] = { "self","ext", NULL
};
8952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_GetFileTypeFromExtension",_kwnames
,&_argo0
,&_obj1
))
8955 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8956 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
8957 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_GetFileTypeFromExtension. Expected _wxMimeTypesManager_p.");
8962 #if PYTHON_API_VERSION >= 1009
8963 char* tmpPtr
; int tmpSize
;
8964 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
8965 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8968 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
8970 _arg1
= new wxString(tmpPtr
, tmpSize
);
8972 if (!PyString_Check(_obj1
)) {
8973 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8976 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
8980 wxPy_BEGIN_ALLOW_THREADS
;
8981 _result
= (wxFileType
*)wxMimeTypesManager_GetFileTypeFromExtension(_arg0
,*_arg1
);
8983 wxPy_END_ALLOW_THREADS
;
8985 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileType_p");
8986 _resultobj
= Py_BuildValue("s",_ptemp
);
8989 _resultobj
= Py_None
;
8998 #define wxMimeTypesManager_GetFileTypeFromMimeType(_swigobj,_swigarg0) (_swigobj->GetFileTypeFromMimeType(_swigarg0))
8999 static PyObject
*_wrap_wxMimeTypesManager_GetFileTypeFromMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9000 PyObject
* _resultobj
;
9001 wxFileType
* _result
;
9002 wxMimeTypesManager
* _arg0
;
9004 PyObject
* _argo0
= 0;
9005 PyObject
* _obj1
= 0;
9006 char *_kwnames
[] = { "self","mimeType", NULL
};
9010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_GetFileTypeFromMimeType",_kwnames
,&_argo0
,&_obj1
))
9013 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9014 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9015 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_GetFileTypeFromMimeType. Expected _wxMimeTypesManager_p.");
9020 #if PYTHON_API_VERSION >= 1009
9021 char* tmpPtr
; int tmpSize
;
9022 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
9023 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9026 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
9028 _arg1
= new wxString(tmpPtr
, tmpSize
);
9030 if (!PyString_Check(_obj1
)) {
9031 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9034 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
9038 wxPy_BEGIN_ALLOW_THREADS
;
9039 _result
= (wxFileType
*)wxMimeTypesManager_GetFileTypeFromMimeType(_arg0
,*_arg1
);
9041 wxPy_END_ALLOW_THREADS
;
9043 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileType_p");
9044 _resultobj
= Py_BuildValue("s",_ptemp
);
9047 _resultobj
= Py_None
;
9056 #define wxMimeTypesManager_ReadMailcap(_swigobj,_swigarg0,_swigarg1) (_swigobj->ReadMailcap(_swigarg0,_swigarg1))
9057 static PyObject
*_wrap_wxMimeTypesManager_ReadMailcap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9058 PyObject
* _resultobj
;
9060 wxMimeTypesManager
* _arg0
;
9062 bool _arg2
= (bool ) FALSE
;
9063 PyObject
* _argo0
= 0;
9064 PyObject
* _obj1
= 0;
9065 int tempbool2
= (int) FALSE
;
9066 char *_kwnames
[] = { "self","filename","fallback", NULL
};
9069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxMimeTypesManager_ReadMailcap",_kwnames
,&_argo0
,&_obj1
,&tempbool2
))
9072 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9073 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9074 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_ReadMailcap. Expected _wxMimeTypesManager_p.");
9079 #if PYTHON_API_VERSION >= 1009
9080 char* tmpPtr
; int tmpSize
;
9081 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
9082 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9085 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
9087 _arg1
= new wxString(tmpPtr
, tmpSize
);
9089 if (!PyString_Check(_obj1
)) {
9090 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9093 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
9096 _arg2
= (bool ) tempbool2
;
9098 wxPy_BEGIN_ALLOW_THREADS
;
9099 _result
= (bool )wxMimeTypesManager_ReadMailcap(_arg0
,*_arg1
,_arg2
);
9101 wxPy_END_ALLOW_THREADS
;
9102 } _resultobj
= Py_BuildValue("i",_result
);
9110 #define wxMimeTypesManager_ReadMimeTypes(_swigobj,_swigarg0) (_swigobj->ReadMimeTypes(_swigarg0))
9111 static PyObject
*_wrap_wxMimeTypesManager_ReadMimeTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9112 PyObject
* _resultobj
;
9114 wxMimeTypesManager
* _arg0
;
9116 PyObject
* _argo0
= 0;
9117 PyObject
* _obj1
= 0;
9118 char *_kwnames
[] = { "self","filename", NULL
};
9121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_ReadMimeTypes",_kwnames
,&_argo0
,&_obj1
))
9124 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9125 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9126 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_ReadMimeTypes. Expected _wxMimeTypesManager_p.");
9131 #if PYTHON_API_VERSION >= 1009
9132 char* tmpPtr
; int tmpSize
;
9133 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
9134 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9137 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
9139 _arg1
= new wxString(tmpPtr
, tmpSize
);
9141 if (!PyString_Check(_obj1
)) {
9142 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9145 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
9149 wxPy_BEGIN_ALLOW_THREADS
;
9150 _result
= (bool )wxMimeTypesManager_ReadMimeTypes(_arg0
,*_arg1
);
9152 wxPy_END_ALLOW_THREADS
;
9153 } _resultobj
= Py_BuildValue("i",_result
);
9161 static PyObject
* wxMimeTypesManager_EnumAllFileTypes(wxMimeTypesManager
*self
) {
9163 self
->EnumAllFileTypes(arr
);
9164 return wxArrayString2PyList_helper(arr
);
9166 static PyObject
*_wrap_wxMimeTypesManager_EnumAllFileTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9167 PyObject
* _resultobj
;
9169 wxMimeTypesManager
* _arg0
;
9170 PyObject
* _argo0
= 0;
9171 char *_kwnames
[] = { "self", NULL
};
9174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMimeTypesManager_EnumAllFileTypes",_kwnames
,&_argo0
))
9177 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9178 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9179 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_EnumAllFileTypes. Expected _wxMimeTypesManager_p.");
9184 wxPy_BEGIN_ALLOW_THREADS
;
9185 _result
= (PyObject
*)wxMimeTypesManager_EnumAllFileTypes(_arg0
);
9187 wxPy_END_ALLOW_THREADS
;
9189 _resultobj
= _result
;
9194 #define wxMimeTypesManager_AddFallback(_swigobj,_swigarg0) (_swigobj->AddFallback(_swigarg0))
9195 static PyObject
*_wrap_wxMimeTypesManager_AddFallback(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9196 PyObject
* _resultobj
;
9197 wxMimeTypesManager
* _arg0
;
9198 wxFileTypeInfo
* _arg1
;
9199 PyObject
* _argo0
= 0;
9200 PyObject
* _argo1
= 0;
9201 char *_kwnames
[] = { "self","ft", NULL
};
9204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_AddFallback",_kwnames
,&_argo0
,&_argo1
))
9207 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9208 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9209 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_AddFallback. Expected _wxMimeTypesManager_p.");
9214 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9215 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFileTypeInfo_p")) {
9216 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMimeTypesManager_AddFallback. Expected _wxFileTypeInfo_p.");
9221 wxPy_BEGIN_ALLOW_THREADS
;
9222 wxMimeTypesManager_AddFallback(_arg0
,*_arg1
);
9224 wxPy_END_ALLOW_THREADS
;
9225 } Py_INCREF(Py_None
);
9226 _resultobj
= Py_None
;
9230 #define wxMimeTypesManager_Associate(_swigobj,_swigarg0) (_swigobj->Associate(_swigarg0))
9231 static PyObject
*_wrap_wxMimeTypesManager_Associate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9232 PyObject
* _resultobj
;
9233 wxFileType
* _result
;
9234 wxMimeTypesManager
* _arg0
;
9235 wxFileTypeInfo
* _arg1
;
9236 PyObject
* _argo0
= 0;
9237 PyObject
* _argo1
= 0;
9238 char *_kwnames
[] = { "self","ftInfo", NULL
};
9242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_Associate",_kwnames
,&_argo0
,&_argo1
))
9245 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9246 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9247 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_Associate. Expected _wxMimeTypesManager_p.");
9252 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9253 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFileTypeInfo_p")) {
9254 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMimeTypesManager_Associate. Expected _wxFileTypeInfo_p.");
9259 wxPy_BEGIN_ALLOW_THREADS
;
9260 _result
= (wxFileType
*)wxMimeTypesManager_Associate(_arg0
,*_arg1
);
9262 wxPy_END_ALLOW_THREADS
;
9264 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileType_p");
9265 _resultobj
= Py_BuildValue("s",_ptemp
);
9268 _resultobj
= Py_None
;
9273 #define wxMimeTypesManager_Unassociate(_swigobj,_swigarg0) (_swigobj->Unassociate(_swigarg0))
9274 static PyObject
*_wrap_wxMimeTypesManager_Unassociate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9275 PyObject
* _resultobj
;
9277 wxMimeTypesManager
* _arg0
;
9279 PyObject
* _argo0
= 0;
9280 PyObject
* _argo1
= 0;
9281 char *_kwnames
[] = { "self","ft", NULL
};
9284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_Unassociate",_kwnames
,&_argo0
,&_argo1
))
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_Unassociate. Expected _wxMimeTypesManager_p.");
9294 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9295 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFileType_p")) {
9296 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMimeTypesManager_Unassociate. Expected _wxFileType_p.");
9301 wxPy_BEGIN_ALLOW_THREADS
;
9302 _result
= (bool )wxMimeTypesManager_Unassociate(_arg0
,_arg1
);
9304 wxPy_END_ALLOW_THREADS
;
9305 } _resultobj
= Py_BuildValue("i",_result
);
9309 #define delete_wxMimeTypesManager(_swigobj) (delete _swigobj)
9310 static PyObject
*_wrap_delete_wxMimeTypesManager(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9311 PyObject
* _resultobj
;
9312 wxMimeTypesManager
* _arg0
;
9313 PyObject
* _argo0
= 0;
9314 char *_kwnames
[] = { "self", NULL
};
9317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxMimeTypesManager",_kwnames
,&_argo0
))
9320 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9321 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9322 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxMimeTypesManager. Expected _wxMimeTypesManager_p.");
9327 wxPy_BEGIN_ALLOW_THREADS
;
9328 delete_wxMimeTypesManager(_arg0
);
9330 wxPy_END_ALLOW_THREADS
;
9331 } Py_INCREF(Py_None
);
9332 _resultobj
= Py_None
;
9336 static void *SwigwxFileHistoryTowxObject(void *ptr
) {
9339 src
= (wxFileHistory
*) ptr
;
9340 dest
= (wxObject
*) src
;
9341 return (void *) dest
;
9344 #define new_wxFileHistory(_swigarg0) (new wxFileHistory(_swigarg0))
9345 static PyObject
*_wrap_new_wxFileHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9346 PyObject
* _resultobj
;
9347 wxFileHistory
* _result
;
9348 int _arg0
= (int ) 9;
9349 char *_kwnames
[] = { "maxFiles", NULL
};
9353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxFileHistory",_kwnames
,&_arg0
))
9356 wxPy_BEGIN_ALLOW_THREADS
;
9357 _result
= (wxFileHistory
*)new_wxFileHistory(_arg0
);
9359 wxPy_END_ALLOW_THREADS
;
9361 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileHistory_p");
9362 _resultobj
= Py_BuildValue("s",_ptemp
);
9365 _resultobj
= Py_None
;
9370 #define delete_wxFileHistory(_swigobj) (delete _swigobj)
9371 static PyObject
*_wrap_delete_wxFileHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9372 PyObject
* _resultobj
;
9373 wxFileHistory
* _arg0
;
9374 PyObject
* _argo0
= 0;
9375 char *_kwnames
[] = { "self", NULL
};
9378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxFileHistory",_kwnames
,&_argo0
))
9381 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9382 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9383 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxFileHistory. Expected _wxFileHistory_p.");
9388 wxPy_BEGIN_ALLOW_THREADS
;
9389 delete_wxFileHistory(_arg0
);
9391 wxPy_END_ALLOW_THREADS
;
9392 } Py_INCREF(Py_None
);
9393 _resultobj
= Py_None
;
9397 #define wxFileHistory_AddFileToHistory(_swigobj,_swigarg0) (_swigobj->AddFileToHistory(_swigarg0))
9398 static PyObject
*_wrap_wxFileHistory_AddFileToHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9399 PyObject
* _resultobj
;
9400 wxFileHistory
* _arg0
;
9402 PyObject
* _argo0
= 0;
9403 PyObject
* _obj1
= 0;
9404 char *_kwnames
[] = { "self","file", NULL
};
9407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileHistory_AddFileToHistory",_kwnames
,&_argo0
,&_obj1
))
9410 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9411 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9412 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_AddFileToHistory. Expected _wxFileHistory_p.");
9417 #if PYTHON_API_VERSION >= 1009
9418 char* tmpPtr
; int tmpSize
;
9419 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
9420 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9423 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
9425 _arg1
= new wxString(tmpPtr
, tmpSize
);
9427 if (!PyString_Check(_obj1
)) {
9428 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9431 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
9435 wxPy_BEGIN_ALLOW_THREADS
;
9436 wxFileHistory_AddFileToHistory(_arg0
,*_arg1
);
9438 wxPy_END_ALLOW_THREADS
;
9439 } Py_INCREF(Py_None
);
9440 _resultobj
= Py_None
;
9448 #define wxFileHistory_RemoveFileFromHistory(_swigobj,_swigarg0) (_swigobj->RemoveFileFromHistory(_swigarg0))
9449 static PyObject
*_wrap_wxFileHistory_RemoveFileFromHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9450 PyObject
* _resultobj
;
9451 wxFileHistory
* _arg0
;
9453 PyObject
* _argo0
= 0;
9454 char *_kwnames
[] = { "self","i", NULL
};
9457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFileHistory_RemoveFileFromHistory",_kwnames
,&_argo0
,&_arg1
))
9460 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9461 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9462 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_RemoveFileFromHistory. Expected _wxFileHistory_p.");
9467 wxPy_BEGIN_ALLOW_THREADS
;
9468 wxFileHistory_RemoveFileFromHistory(_arg0
,_arg1
);
9470 wxPy_END_ALLOW_THREADS
;
9471 } Py_INCREF(Py_None
);
9472 _resultobj
= Py_None
;
9476 #define wxFileHistory_GetMaxFiles(_swigobj) (_swigobj->GetMaxFiles())
9477 static PyObject
*_wrap_wxFileHistory_GetMaxFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9478 PyObject
* _resultobj
;
9480 wxFileHistory
* _arg0
;
9481 PyObject
* _argo0
= 0;
9482 char *_kwnames
[] = { "self", NULL
};
9485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileHistory_GetMaxFiles",_kwnames
,&_argo0
))
9488 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9489 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9490 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_GetMaxFiles. Expected _wxFileHistory_p.");
9495 wxPy_BEGIN_ALLOW_THREADS
;
9496 _result
= (int )wxFileHistory_GetMaxFiles(_arg0
);
9498 wxPy_END_ALLOW_THREADS
;
9499 } _resultobj
= Py_BuildValue("i",_result
);
9503 #define wxFileHistory_UseMenu(_swigobj,_swigarg0) (_swigobj->UseMenu(_swigarg0))
9504 static PyObject
*_wrap_wxFileHistory_UseMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9505 PyObject
* _resultobj
;
9506 wxFileHistory
* _arg0
;
9508 PyObject
* _argo0
= 0;
9509 PyObject
* _argo1
= 0;
9510 char *_kwnames
[] = { "self","menu", NULL
};
9513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileHistory_UseMenu",_kwnames
,&_argo0
,&_argo1
))
9516 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9517 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9518 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_UseMenu. Expected _wxFileHistory_p.");
9523 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9524 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
9525 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFileHistory_UseMenu. Expected _wxMenu_p.");
9530 wxPy_BEGIN_ALLOW_THREADS
;
9531 wxFileHistory_UseMenu(_arg0
,_arg1
);
9533 wxPy_END_ALLOW_THREADS
;
9534 } Py_INCREF(Py_None
);
9535 _resultobj
= Py_None
;
9539 #define wxFileHistory_RemoveMenu(_swigobj,_swigarg0) (_swigobj->RemoveMenu(_swigarg0))
9540 static PyObject
*_wrap_wxFileHistory_RemoveMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9541 PyObject
* _resultobj
;
9542 wxFileHistory
* _arg0
;
9544 PyObject
* _argo0
= 0;
9545 PyObject
* _argo1
= 0;
9546 char *_kwnames
[] = { "self","menu", NULL
};
9549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileHistory_RemoveMenu",_kwnames
,&_argo0
,&_argo1
))
9552 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9553 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9554 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_RemoveMenu. Expected _wxFileHistory_p.");
9559 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9560 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
9561 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFileHistory_RemoveMenu. Expected _wxMenu_p.");
9566 wxPy_BEGIN_ALLOW_THREADS
;
9567 wxFileHistory_RemoveMenu(_arg0
,_arg1
);
9569 wxPy_END_ALLOW_THREADS
;
9570 } Py_INCREF(Py_None
);
9571 _resultobj
= Py_None
;
9575 #define wxFileHistory_Load(_swigobj,_swigarg0) (_swigobj->Load(_swigarg0))
9576 static PyObject
*_wrap_wxFileHistory_Load(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9577 PyObject
* _resultobj
;
9578 wxFileHistory
* _arg0
;
9579 wxConfigBase
* _arg1
;
9580 PyObject
* _argo0
= 0;
9581 PyObject
* _argo1
= 0;
9582 char *_kwnames
[] = { "self","config", NULL
};
9585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileHistory_Load",_kwnames
,&_argo0
,&_argo1
))
9588 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9589 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9590 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_Load. Expected _wxFileHistory_p.");
9595 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9596 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxConfigBase_p")) {
9597 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFileHistory_Load. Expected _wxConfigBase_p.");
9602 wxPy_BEGIN_ALLOW_THREADS
;
9603 wxFileHistory_Load(_arg0
,*_arg1
);
9605 wxPy_END_ALLOW_THREADS
;
9606 } Py_INCREF(Py_None
);
9607 _resultobj
= Py_None
;
9611 #define wxFileHistory_Save(_swigobj,_swigarg0) (_swigobj->Save(_swigarg0))
9612 static PyObject
*_wrap_wxFileHistory_Save(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9613 PyObject
* _resultobj
;
9614 wxFileHistory
* _arg0
;
9615 wxConfigBase
* _arg1
;
9616 PyObject
* _argo0
= 0;
9617 PyObject
* _argo1
= 0;
9618 char *_kwnames
[] = { "self","config", NULL
};
9621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileHistory_Save",_kwnames
,&_argo0
,&_argo1
))
9624 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9625 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9626 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_Save. Expected _wxFileHistory_p.");
9631 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9632 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxConfigBase_p")) {
9633 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFileHistory_Save. Expected _wxConfigBase_p.");
9638 wxPy_BEGIN_ALLOW_THREADS
;
9639 wxFileHistory_Save(_arg0
,*_arg1
);
9641 wxPy_END_ALLOW_THREADS
;
9642 } Py_INCREF(Py_None
);
9643 _resultobj
= Py_None
;
9647 #define wxFileHistory_AddFilesToMenu(_swigobj) (_swigobj->AddFilesToMenu())
9648 static PyObject
*_wrap_wxFileHistory_AddFilesToMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9649 PyObject
* _resultobj
;
9650 wxFileHistory
* _arg0
;
9651 PyObject
* _argo0
= 0;
9652 char *_kwnames
[] = { "self", NULL
};
9655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileHistory_AddFilesToMenu",_kwnames
,&_argo0
))
9658 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9659 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9660 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_AddFilesToMenu. Expected _wxFileHistory_p.");
9665 wxPy_BEGIN_ALLOW_THREADS
;
9666 wxFileHistory_AddFilesToMenu(_arg0
);
9668 wxPy_END_ALLOW_THREADS
;
9669 } Py_INCREF(Py_None
);
9670 _resultobj
= Py_None
;
9674 #define wxFileHistory_AddFilesToSingleMenu(_swigobj,_swigarg0) (_swigobj->AddFilesToMenu(_swigarg0))
9675 static PyObject
*_wrap_wxFileHistory_AddFilesToSingleMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9676 PyObject
* _resultobj
;
9677 wxFileHistory
* _arg0
;
9679 PyObject
* _argo0
= 0;
9680 PyObject
* _argo1
= 0;
9681 char *_kwnames
[] = { "self","menu", NULL
};
9684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileHistory_AddFilesToSingleMenu",_kwnames
,&_argo0
,&_argo1
))
9687 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9688 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9689 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_AddFilesToSingleMenu. Expected _wxFileHistory_p.");
9694 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9695 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
9696 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFileHistory_AddFilesToSingleMenu. Expected _wxMenu_p.");
9701 wxPy_BEGIN_ALLOW_THREADS
;
9702 wxFileHistory_AddFilesToSingleMenu(_arg0
,_arg1
);
9704 wxPy_END_ALLOW_THREADS
;
9705 } Py_INCREF(Py_None
);
9706 _resultobj
= Py_None
;
9710 #define wxFileHistory_GetHistoryFile(_swigobj,_swigarg0) (_swigobj->GetHistoryFile(_swigarg0))
9711 static PyObject
*_wrap_wxFileHistory_GetHistoryFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9712 PyObject
* _resultobj
;
9714 wxFileHistory
* _arg0
;
9716 PyObject
* _argo0
= 0;
9717 char *_kwnames
[] = { "self","i", NULL
};
9720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFileHistory_GetHistoryFile",_kwnames
,&_argo0
,&_arg1
))
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 wxFileHistory_GetHistoryFile. Expected _wxFileHistory_p.");
9730 wxPy_BEGIN_ALLOW_THREADS
;
9731 _result
= new wxString (wxFileHistory_GetHistoryFile(_arg0
,_arg1
));
9733 wxPy_END_ALLOW_THREADS
;
9735 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9743 #define wxFileHistory_GetCount(_swigobj) (_swigobj->GetCount())
9744 static PyObject
*_wrap_wxFileHistory_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9745 PyObject
* _resultobj
;
9747 wxFileHistory
* _arg0
;
9748 PyObject
* _argo0
= 0;
9749 char *_kwnames
[] = { "self", NULL
};
9752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileHistory_GetCount",_kwnames
,&_argo0
))
9755 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9756 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9757 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_GetCount. Expected _wxFileHistory_p.");
9762 wxPy_BEGIN_ALLOW_THREADS
;
9763 _result
= (int )wxFileHistory_GetCount(_arg0
);
9765 wxPy_END_ALLOW_THREADS
;
9766 } _resultobj
= Py_BuildValue("i",_result
);
9770 #define wxFileHistory_GetNoHistoryFiles(_swigobj) (_swigobj->GetNoHistoryFiles())
9771 static PyObject
*_wrap_wxFileHistory_GetNoHistoryFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9772 PyObject
* _resultobj
;
9774 wxFileHistory
* _arg0
;
9775 PyObject
* _argo0
= 0;
9776 char *_kwnames
[] = { "self", NULL
};
9779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileHistory_GetNoHistoryFiles",_kwnames
,&_argo0
))
9782 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9783 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9784 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_GetNoHistoryFiles. Expected _wxFileHistory_p.");
9789 wxPy_BEGIN_ALLOW_THREADS
;
9790 _result
= (int )wxFileHistory_GetNoHistoryFiles(_arg0
);
9792 wxPy_END_ALLOW_THREADS
;
9793 } _resultobj
= Py_BuildValue("i",_result
);
9797 static PyMethodDef misc2cMethods
[] = {
9798 { "wxFileHistory_GetNoHistoryFiles", (PyCFunction
) _wrap_wxFileHistory_GetNoHistoryFiles
, METH_VARARGS
| METH_KEYWORDS
},
9799 { "wxFileHistory_GetCount", (PyCFunction
) _wrap_wxFileHistory_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
9800 { "wxFileHistory_GetHistoryFile", (PyCFunction
) _wrap_wxFileHistory_GetHistoryFile
, METH_VARARGS
| METH_KEYWORDS
},
9801 { "wxFileHistory_AddFilesToSingleMenu", (PyCFunction
) _wrap_wxFileHistory_AddFilesToSingleMenu
, METH_VARARGS
| METH_KEYWORDS
},
9802 { "wxFileHistory_AddFilesToMenu", (PyCFunction
) _wrap_wxFileHistory_AddFilesToMenu
, METH_VARARGS
| METH_KEYWORDS
},
9803 { "wxFileHistory_Save", (PyCFunction
) _wrap_wxFileHistory_Save
, METH_VARARGS
| METH_KEYWORDS
},
9804 { "wxFileHistory_Load", (PyCFunction
) _wrap_wxFileHistory_Load
, METH_VARARGS
| METH_KEYWORDS
},
9805 { "wxFileHistory_RemoveMenu", (PyCFunction
) _wrap_wxFileHistory_RemoveMenu
, METH_VARARGS
| METH_KEYWORDS
},
9806 { "wxFileHistory_UseMenu", (PyCFunction
) _wrap_wxFileHistory_UseMenu
, METH_VARARGS
| METH_KEYWORDS
},
9807 { "wxFileHistory_GetMaxFiles", (PyCFunction
) _wrap_wxFileHistory_GetMaxFiles
, METH_VARARGS
| METH_KEYWORDS
},
9808 { "wxFileHistory_RemoveFileFromHistory", (PyCFunction
) _wrap_wxFileHistory_RemoveFileFromHistory
, METH_VARARGS
| METH_KEYWORDS
},
9809 { "wxFileHistory_AddFileToHistory", (PyCFunction
) _wrap_wxFileHistory_AddFileToHistory
, METH_VARARGS
| METH_KEYWORDS
},
9810 { "delete_wxFileHistory", (PyCFunction
) _wrap_delete_wxFileHistory
, METH_VARARGS
| METH_KEYWORDS
},
9811 { "new_wxFileHistory", (PyCFunction
) _wrap_new_wxFileHistory
, METH_VARARGS
| METH_KEYWORDS
},
9812 { "delete_wxMimeTypesManager", (PyCFunction
) _wrap_delete_wxMimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
},
9813 { "wxMimeTypesManager_Unassociate", (PyCFunction
) _wrap_wxMimeTypesManager_Unassociate
, METH_VARARGS
| METH_KEYWORDS
},
9814 { "wxMimeTypesManager_Associate", (PyCFunction
) _wrap_wxMimeTypesManager_Associate
, METH_VARARGS
| METH_KEYWORDS
},
9815 { "wxMimeTypesManager_AddFallback", (PyCFunction
) _wrap_wxMimeTypesManager_AddFallback
, METH_VARARGS
| METH_KEYWORDS
},
9816 { "wxMimeTypesManager_EnumAllFileTypes", (PyCFunction
) _wrap_wxMimeTypesManager_EnumAllFileTypes
, METH_VARARGS
| METH_KEYWORDS
},
9817 { "wxMimeTypesManager_ReadMimeTypes", (PyCFunction
) _wrap_wxMimeTypesManager_ReadMimeTypes
, METH_VARARGS
| METH_KEYWORDS
},
9818 { "wxMimeTypesManager_ReadMailcap", (PyCFunction
) _wrap_wxMimeTypesManager_ReadMailcap
, METH_VARARGS
| METH_KEYWORDS
},
9819 { "wxMimeTypesManager_GetFileTypeFromMimeType", (PyCFunction
) _wrap_wxMimeTypesManager_GetFileTypeFromMimeType
, METH_VARARGS
| METH_KEYWORDS
},
9820 { "wxMimeTypesManager_GetFileTypeFromExtension", (PyCFunction
) _wrap_wxMimeTypesManager_GetFileTypeFromExtension
, METH_VARARGS
| METH_KEYWORDS
},
9821 { "wxMimeTypesManager_ClearData", (PyCFunction
) _wrap_wxMimeTypesManager_ClearData
, METH_VARARGS
| METH_KEYWORDS
},
9822 { "wxMimeTypesManager_Initialize", (PyCFunction
) _wrap_wxMimeTypesManager_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
9823 { "new_wxMimeTypesManager", (PyCFunction
) _wrap_new_wxMimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
},
9824 { "wxMimeTypesManager_IsOfType", (PyCFunction
) _wrap_wxMimeTypesManager_IsOfType
, METH_VARARGS
| METH_KEYWORDS
},
9825 { "delete_wxFileType", (PyCFunction
) _wrap_delete_wxFileType
, METH_VARARGS
| METH_KEYWORDS
},
9826 { "wxFileType_ExpandCommand", (PyCFunction
) _wrap_wxFileType_ExpandCommand
, METH_VARARGS
| METH_KEYWORDS
},
9827 { "wxFileType_Unassociate", (PyCFunction
) _wrap_wxFileType_Unassociate
, METH_VARARGS
| METH_KEYWORDS
},
9828 { "wxFileType_SetDefaultIcon", (PyCFunction
) _wrap_wxFileType_SetDefaultIcon
, METH_VARARGS
| METH_KEYWORDS
},
9829 { "wxFileType_SetCommand", (PyCFunction
) _wrap_wxFileType_SetCommand
, METH_VARARGS
| METH_KEYWORDS
},
9830 { "wxFileType_GetAllCommands", (PyCFunction
) _wrap_wxFileType_GetAllCommands
, METH_VARARGS
| METH_KEYWORDS
},
9831 { "wxFileType_GetPrintCommand", (PyCFunction
) _wrap_wxFileType_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
},
9832 { "wxFileType_GetOpenCommand", (PyCFunction
) _wrap_wxFileType_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
},
9833 { "wxFileType_GetDescription", (PyCFunction
) _wrap_wxFileType_GetDescription
, METH_VARARGS
| METH_KEYWORDS
},
9834 { "wxFileType_GetIconInfo", (PyCFunction
) _wrap_wxFileType_GetIconInfo
, METH_VARARGS
| METH_KEYWORDS
},
9835 { "wxFileType_GetIcon", (PyCFunction
) _wrap_wxFileType_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
9836 { "wxFileType_GetExtensions", (PyCFunction
) _wrap_wxFileType_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
},
9837 { "wxFileType_GetMimeTypes", (PyCFunction
) _wrap_wxFileType_GetMimeTypes
, METH_VARARGS
| METH_KEYWORDS
},
9838 { "wxFileType_GetMimeType", (PyCFunction
) _wrap_wxFileType_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
9839 { "new_wxFileType", (PyCFunction
) _wrap_new_wxFileType
, METH_VARARGS
| METH_KEYWORDS
},
9840 { "wxFileTypeInfo_GetIconIndex", (PyCFunction
) _wrap_wxFileTypeInfo_GetIconIndex
, METH_VARARGS
| METH_KEYWORDS
},
9841 { "wxFileTypeInfo_GetIconFile", (PyCFunction
) _wrap_wxFileTypeInfo_GetIconFile
, METH_VARARGS
| METH_KEYWORDS
},
9842 { "wxFileTypeInfo_GetExtensionsCount", (PyCFunction
) _wrap_wxFileTypeInfo_GetExtensionsCount
, METH_VARARGS
| METH_KEYWORDS
},
9843 { "wxFileTypeInfo_GetExtensions", (PyCFunction
) _wrap_wxFileTypeInfo_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
},
9844 { "wxFileTypeInfo_GetDescription", (PyCFunction
) _wrap_wxFileTypeInfo_GetDescription
, METH_VARARGS
| METH_KEYWORDS
},
9845 { "wxFileTypeInfo_GetShortDesc", (PyCFunction
) _wrap_wxFileTypeInfo_GetShortDesc
, METH_VARARGS
| METH_KEYWORDS
},
9846 { "wxFileTypeInfo_GetPrintCommand", (PyCFunction
) _wrap_wxFileTypeInfo_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
},
9847 { "wxFileTypeInfo_GetOpenCommand", (PyCFunction
) _wrap_wxFileTypeInfo_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
},
9848 { "wxFileTypeInfo_GetMimeType", (PyCFunction
) _wrap_wxFileTypeInfo_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
9849 { "wxFileTypeInfo_SetShortDesc", (PyCFunction
) _wrap_wxFileTypeInfo_SetShortDesc
, METH_VARARGS
| METH_KEYWORDS
},
9850 { "wxFileTypeInfo_SetIcon", (PyCFunction
) _wrap_wxFileTypeInfo_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
9851 { "wxFileTypeInfo_IsValid", (PyCFunction
) _wrap_wxFileTypeInfo_IsValid
, METH_VARARGS
| METH_KEYWORDS
},
9852 { "new_wxNullFileTypeInfo", (PyCFunction
) _wrap_new_wxNullFileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
},
9853 { "new_wxFileTypeInfoSequence", (PyCFunction
) _wrap_new_wxFileTypeInfoSequence
, METH_VARARGS
| METH_KEYWORDS
},
9854 { "new_wxFileTypeInfo", (PyCFunction
) _wrap_new_wxFileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
},
9855 { "wxWave_Play", (PyCFunction
) _wrap_wxWave_Play
, METH_VARARGS
| METH_KEYWORDS
},
9856 { "wxWave_IsOk", (PyCFunction
) _wrap_wxWave_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
9857 { "delete_wxWave", (PyCFunction
) _wrap_delete_wxWave
, METH_VARARGS
| METH_KEYWORDS
},
9858 { "new_wxWave", (PyCFunction
) _wrap_new_wxWave
, METH_VARARGS
| METH_KEYWORDS
},
9859 { "wxJoystick_ReleaseCapture", (PyCFunction
) _wrap_wxJoystick_ReleaseCapture
, METH_VARARGS
| METH_KEYWORDS
},
9860 { "wxJoystick_SetCapture", (PyCFunction
) _wrap_wxJoystick_SetCapture
, METH_VARARGS
| METH_KEYWORDS
},
9861 { "wxJoystick_HasPOVCTS", (PyCFunction
) _wrap_wxJoystick_HasPOVCTS
, METH_VARARGS
| METH_KEYWORDS
},
9862 { "wxJoystick_HasPOV4Dir", (PyCFunction
) _wrap_wxJoystick_HasPOV4Dir
, METH_VARARGS
| METH_KEYWORDS
},
9863 { "wxJoystick_HasPOV", (PyCFunction
) _wrap_wxJoystick_HasPOV
, METH_VARARGS
| METH_KEYWORDS
},
9864 { "wxJoystick_HasV", (PyCFunction
) _wrap_wxJoystick_HasV
, METH_VARARGS
| METH_KEYWORDS
},
9865 { "wxJoystick_HasU", (PyCFunction
) _wrap_wxJoystick_HasU
, METH_VARARGS
| METH_KEYWORDS
},
9866 { "wxJoystick_HasZ", (PyCFunction
) _wrap_wxJoystick_HasZ
, METH_VARARGS
| METH_KEYWORDS
},
9867 { "wxJoystick_HasRudder", (PyCFunction
) _wrap_wxJoystick_HasRudder
, METH_VARARGS
| METH_KEYWORDS
},
9868 { "wxJoystick_GetVMax", (PyCFunction
) _wrap_wxJoystick_GetVMax
, METH_VARARGS
| METH_KEYWORDS
},
9869 { "wxJoystick_GetVMin", (PyCFunction
) _wrap_wxJoystick_GetVMin
, METH_VARARGS
| METH_KEYWORDS
},
9870 { "wxJoystick_GetUMax", (PyCFunction
) _wrap_wxJoystick_GetUMax
, METH_VARARGS
| METH_KEYWORDS
},
9871 { "wxJoystick_GetUMin", (PyCFunction
) _wrap_wxJoystick_GetUMin
, METH_VARARGS
| METH_KEYWORDS
},
9872 { "wxJoystick_GetRudderMax", (PyCFunction
) _wrap_wxJoystick_GetRudderMax
, METH_VARARGS
| METH_KEYWORDS
},
9873 { "wxJoystick_GetRudderMin", (PyCFunction
) _wrap_wxJoystick_GetRudderMin
, METH_VARARGS
| METH_KEYWORDS
},
9874 { "wxJoystick_GetPollingMax", (PyCFunction
) _wrap_wxJoystick_GetPollingMax
, METH_VARARGS
| METH_KEYWORDS
},
9875 { "wxJoystick_GetPollingMin", (PyCFunction
) _wrap_wxJoystick_GetPollingMin
, METH_VARARGS
| METH_KEYWORDS
},
9876 { "wxJoystick_GetMaxAxes", (PyCFunction
) _wrap_wxJoystick_GetMaxAxes
, METH_VARARGS
| METH_KEYWORDS
},
9877 { "wxJoystick_GetMaxButtons", (PyCFunction
) _wrap_wxJoystick_GetMaxButtons
, METH_VARARGS
| METH_KEYWORDS
},
9878 { "wxJoystick_GetNumberAxes", (PyCFunction
) _wrap_wxJoystick_GetNumberAxes
, METH_VARARGS
| METH_KEYWORDS
},
9879 { "wxJoystick_GetNumberButtons", (PyCFunction
) _wrap_wxJoystick_GetNumberButtons
, METH_VARARGS
| METH_KEYWORDS
},
9880 { "wxJoystick_GetZMax", (PyCFunction
) _wrap_wxJoystick_GetZMax
, METH_VARARGS
| METH_KEYWORDS
},
9881 { "wxJoystick_GetYMax", (PyCFunction
) _wrap_wxJoystick_GetYMax
, METH_VARARGS
| METH_KEYWORDS
},
9882 { "wxJoystick_GetXMax", (PyCFunction
) _wrap_wxJoystick_GetXMax
, METH_VARARGS
| METH_KEYWORDS
},
9883 { "wxJoystick_GetZMin", (PyCFunction
) _wrap_wxJoystick_GetZMin
, METH_VARARGS
| METH_KEYWORDS
},
9884 { "wxJoystick_GetYMin", (PyCFunction
) _wrap_wxJoystick_GetYMin
, METH_VARARGS
| METH_KEYWORDS
},
9885 { "wxJoystick_GetXMin", (PyCFunction
) _wrap_wxJoystick_GetXMin
, METH_VARARGS
| METH_KEYWORDS
},
9886 { "wxJoystick_GetProductName", (PyCFunction
) _wrap_wxJoystick_GetProductName
, METH_VARARGS
| METH_KEYWORDS
},
9887 { "wxJoystick_GetProductId", (PyCFunction
) _wrap_wxJoystick_GetProductId
, METH_VARARGS
| METH_KEYWORDS
},
9888 { "wxJoystick_GetManufacturerId", (PyCFunction
) _wrap_wxJoystick_GetManufacturerId
, METH_VARARGS
| METH_KEYWORDS
},
9889 { "wxJoystick_GetNumberJoysticks", (PyCFunction
) _wrap_wxJoystick_GetNumberJoysticks
, METH_VARARGS
| METH_KEYWORDS
},
9890 { "wxJoystick_IsOk", (PyCFunction
) _wrap_wxJoystick_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
9891 { "wxJoystick_SetMovementThreshold", (PyCFunction
) _wrap_wxJoystick_SetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
},
9892 { "wxJoystick_GetMovementThreshold", (PyCFunction
) _wrap_wxJoystick_GetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
},
9893 { "wxJoystick_GetVPosition", (PyCFunction
) _wrap_wxJoystick_GetVPosition
, METH_VARARGS
| METH_KEYWORDS
},
9894 { "wxJoystick_GetUPosition", (PyCFunction
) _wrap_wxJoystick_GetUPosition
, METH_VARARGS
| METH_KEYWORDS
},
9895 { "wxJoystick_GetRudderPosition", (PyCFunction
) _wrap_wxJoystick_GetRudderPosition
, METH_VARARGS
| METH_KEYWORDS
},
9896 { "wxJoystick_GetPOVCTSPosition", (PyCFunction
) _wrap_wxJoystick_GetPOVCTSPosition
, METH_VARARGS
| METH_KEYWORDS
},
9897 { "wxJoystick_GetPOVPosition", (PyCFunction
) _wrap_wxJoystick_GetPOVPosition
, METH_VARARGS
| METH_KEYWORDS
},
9898 { "wxJoystick_GetButtonState", (PyCFunction
) _wrap_wxJoystick_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
},
9899 { "wxJoystick_GetZPosition", (PyCFunction
) _wrap_wxJoystick_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
},
9900 { "wxJoystick_GetPosition", (PyCFunction
) _wrap_wxJoystick_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
9901 { "delete_wxJoystick", (PyCFunction
) _wrap_delete_wxJoystick
, METH_VARARGS
| METH_KEYWORDS
},
9902 { "new_wxJoystick", (PyCFunction
) _wrap_new_wxJoystick
, METH_VARARGS
| METH_KEYWORDS
},
9903 { "wxProcess_CloseOutput", (PyCFunction
) _wrap_wxProcess_CloseOutput
, METH_VARARGS
| METH_KEYWORDS
},
9904 { "wxProcess_GetOutputStream", (PyCFunction
) _wrap_wxProcess_GetOutputStream
, METH_VARARGS
| METH_KEYWORDS
},
9905 { "wxProcess_GetErrorStream", (PyCFunction
) _wrap_wxProcess_GetErrorStream
, METH_VARARGS
| METH_KEYWORDS
},
9906 { "wxProcess_GetInputStream", (PyCFunction
) _wrap_wxProcess_GetInputStream
, METH_VARARGS
| METH_KEYWORDS
},
9907 { "wxProcess_Detach", (PyCFunction
) _wrap_wxProcess_Detach
, METH_VARARGS
| METH_KEYWORDS
},
9908 { "wxProcess_IsRedirected", (PyCFunction
) _wrap_wxProcess_IsRedirected
, METH_VARARGS
| METH_KEYWORDS
},
9909 { "wxProcess_Redirect", (PyCFunction
) _wrap_wxProcess_Redirect
, METH_VARARGS
| METH_KEYWORDS
},
9910 { "wxProcess_base_OnTerminate", (PyCFunction
) _wrap_wxProcess_base_OnTerminate
, METH_VARARGS
| METH_KEYWORDS
},
9911 { "wxProcess__setCallbackInfo", (PyCFunction
) _wrap_wxProcess__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
9912 { "wxProcess_Destroy", (PyCFunction
) _wrap_wxProcess_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
9913 { "new_wxProcess", (PyCFunction
) _wrap_new_wxProcess
, METH_VARARGS
| METH_KEYWORDS
},
9914 { "wxProcessEvent_m_exitcode_get", (PyCFunction
) _wrap_wxProcessEvent_m_exitcode_get
, METH_VARARGS
| METH_KEYWORDS
},
9915 { "wxProcessEvent_m_exitcode_set", (PyCFunction
) _wrap_wxProcessEvent_m_exitcode_set
, METH_VARARGS
| METH_KEYWORDS
},
9916 { "wxProcessEvent_m_pid_get", (PyCFunction
) _wrap_wxProcessEvent_m_pid_get
, METH_VARARGS
| METH_KEYWORDS
},
9917 { "wxProcessEvent_m_pid_set", (PyCFunction
) _wrap_wxProcessEvent_m_pid_set
, METH_VARARGS
| METH_KEYWORDS
},
9918 { "wxProcessEvent_GetExitCode", (PyCFunction
) _wrap_wxProcessEvent_GetExitCode
, METH_VARARGS
| METH_KEYWORDS
},
9919 { "wxProcessEvent_GetPid", (PyCFunction
) _wrap_wxProcessEvent_GetPid
, METH_VARARGS
| METH_KEYWORDS
},
9920 { "new_wxProcessEvent", (PyCFunction
) _wrap_new_wxProcessEvent
, METH_VARARGS
| METH_KEYWORDS
},
9921 { "wxPyLog_Destroy", (PyCFunction
) _wrap_wxPyLog_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
9922 { "wxPyLog__setCallbackInfo", (PyCFunction
) _wrap_wxPyLog__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
9923 { "new_wxPyLog", (PyCFunction
) _wrap_new_wxPyLog
, METH_VARARGS
| METH_KEYWORDS
},
9924 { "wxLogChain_GetOldLog", (PyCFunction
) _wrap_wxLogChain_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
},
9925 { "wxLogChain_IsPassingMessages", (PyCFunction
) _wrap_wxLogChain_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
},
9926 { "wxLogChain_PassMessages", (PyCFunction
) _wrap_wxLogChain_PassMessages
, METH_VARARGS
| METH_KEYWORDS
},
9927 { "wxLogChain_SetLog", (PyCFunction
) _wrap_wxLogChain_SetLog
, METH_VARARGS
| METH_KEYWORDS
},
9928 { "new_wxLogChain", (PyCFunction
) _wrap_new_wxLogChain
, METH_VARARGS
| METH_KEYWORDS
},
9929 { "delete_wxLogNull", (PyCFunction
) _wrap_delete_wxLogNull
, METH_VARARGS
| METH_KEYWORDS
},
9930 { "new_wxLogNull", (PyCFunction
) _wrap_new_wxLogNull
, METH_VARARGS
| METH_KEYWORDS
},
9931 { "wxLogWindow_PassMessages", (PyCFunction
) _wrap_wxLogWindow_PassMessages
, METH_VARARGS
| METH_KEYWORDS
},
9932 { "wxLogWindow_IsPassingMessages", (PyCFunction
) _wrap_wxLogWindow_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
},
9933 { "wxLogWindow_GetOldLog", (PyCFunction
) _wrap_wxLogWindow_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
},
9934 { "wxLogWindow_GetFrame", (PyCFunction
) _wrap_wxLogWindow_GetFrame
, METH_VARARGS
| METH_KEYWORDS
},
9935 { "wxLogWindow_Show", (PyCFunction
) _wrap_wxLogWindow_Show
, METH_VARARGS
| METH_KEYWORDS
},
9936 { "new_wxLogWindow", (PyCFunction
) _wrap_new_wxLogWindow
, METH_VARARGS
| METH_KEYWORDS
},
9937 { "new_wxLogGui", (PyCFunction
) _wrap_new_wxLogGui
, METH_VARARGS
| METH_KEYWORDS
},
9938 { "new_wxLogTextCtrl", (PyCFunction
) _wrap_new_wxLogTextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
9939 { "new_wxLogStderr", (PyCFunction
) _wrap_new_wxLogStderr
, METH_VARARGS
| METH_KEYWORDS
},
9940 { "wxLog_TimeStamp", (PyCFunction
) _wrap_wxLog_TimeStamp
, METH_VARARGS
| METH_KEYWORDS
},
9941 { "wxLog_IsAllowedTraceMask", (PyCFunction
) _wrap_wxLog_IsAllowedTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
9942 { "wxLog_GetTraceMask", (PyCFunction
) _wrap_wxLog_GetTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
9943 { "wxLog_GetVerbose", (PyCFunction
) _wrap_wxLog_GetVerbose
, METH_VARARGS
| METH_KEYWORDS
},
9944 { "wxLog_GetTimestamp", (PyCFunction
) _wrap_wxLog_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
9945 { "wxLog_SetTimestamp", (PyCFunction
) _wrap_wxLog_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
9946 { "wxLog_ClearTraceMasks", (PyCFunction
) _wrap_wxLog_ClearTraceMasks
, METH_VARARGS
| METH_KEYWORDS
},
9947 { "wxLog_RemoveTraceMask", (PyCFunction
) _wrap_wxLog_RemoveTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
9948 { "wxLog_AddTraceMask", (PyCFunction
) _wrap_wxLog_AddTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
9949 { "wxLog_SetTraceMask", (PyCFunction
) _wrap_wxLog_SetTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
9950 { "wxLog_DontCreateOnDemand", (PyCFunction
) _wrap_wxLog_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
},
9951 { "wxLog_SetVerbose", (PyCFunction
) _wrap_wxLog_SetVerbose
, METH_VARARGS
| METH_KEYWORDS
},
9952 { "wxLog_Resume", (PyCFunction
) _wrap_wxLog_Resume
, METH_VARARGS
| METH_KEYWORDS
},
9953 { "wxLog_Suspend", (PyCFunction
) _wrap_wxLog_Suspend
, METH_VARARGS
| METH_KEYWORDS
},
9954 { "wxLog_SetActiveTarget", (PyCFunction
) _wrap_wxLog_SetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
},
9955 { "wxLog_GetActiveTarget", (PyCFunction
) _wrap_wxLog_GetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
},
9956 { "wxLog_FlushActive", (PyCFunction
) _wrap_wxLog_FlushActive
, METH_VARARGS
| METH_KEYWORDS
},
9957 { "wxLog_HasPendingMessages", (PyCFunction
) _wrap_wxLog_HasPendingMessages
, METH_VARARGS
| METH_KEYWORDS
},
9958 { "wxLog_Flush", (PyCFunction
) _wrap_wxLog_Flush
, METH_VARARGS
| METH_KEYWORDS
},
9959 { "wxLog_OnLog", (PyCFunction
) _wrap_wxLog_OnLog
, METH_VARARGS
| METH_KEYWORDS
},
9960 { "wxLog_EnableLogging", (PyCFunction
) _wrap_wxLog_EnableLogging
, METH_VARARGS
| METH_KEYWORDS
},
9961 { "wxLog_IsEnabled", (PyCFunction
) _wrap_wxLog_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
9962 { "new_wxLog", (PyCFunction
) _wrap_new_wxLog
, METH_VARARGS
| METH_KEYWORDS
},
9963 { "wxStopWatch_Time", (PyCFunction
) _wrap_wxStopWatch_Time
, METH_VARARGS
| METH_KEYWORDS
},
9964 { "wxStopWatch_Resume", (PyCFunction
) _wrap_wxStopWatch_Resume
, METH_VARARGS
| METH_KEYWORDS
},
9965 { "wxStopWatch_Pause", (PyCFunction
) _wrap_wxStopWatch_Pause
, METH_VARARGS
| METH_KEYWORDS
},
9966 { "wxStopWatch_Start", (PyCFunction
) _wrap_wxStopWatch_Start
, METH_VARARGS
| METH_KEYWORDS
},
9967 { "new_wxStopWatch", (PyCFunction
) _wrap_new_wxStopWatch
, METH_VARARGS
| METH_KEYWORDS
},
9968 { "wxPyTimer_Stop", (PyCFunction
) _wrap_wxPyTimer_Stop
, METH_VARARGS
| METH_KEYWORDS
},
9969 { "wxPyTimer_Start", (PyCFunction
) _wrap_wxPyTimer_Start
, METH_VARARGS
| METH_KEYWORDS
},
9970 { "wxPyTimer_SetOwner", (PyCFunction
) _wrap_wxPyTimer_SetOwner
, METH_VARARGS
| METH_KEYWORDS
},
9971 { "wxPyTimer_IsRunning", (PyCFunction
) _wrap_wxPyTimer_IsRunning
, METH_VARARGS
| METH_KEYWORDS
},
9972 { "wxPyTimer_IsOneShot", (PyCFunction
) _wrap_wxPyTimer_IsOneShot
, METH_VARARGS
| METH_KEYWORDS
},
9973 { "wxPyTimer_GetInterval", (PyCFunction
) _wrap_wxPyTimer_GetInterval
, METH_VARARGS
| METH_KEYWORDS
},
9974 { "delete_wxPyTimer", (PyCFunction
) _wrap_delete_wxPyTimer
, METH_VARARGS
| METH_KEYWORDS
},
9975 { "new_wxPyTimer", (PyCFunction
) _wrap_new_wxPyTimer
, METH_VARARGS
| METH_KEYWORDS
},
9976 { "wxDragImage_RedrawImage", (PyCFunction
) _wrap_wxDragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
},
9977 { "wxDragImage_GetImageRect", (PyCFunction
) _wrap_wxDragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
},
9978 { "wxDragImage_Hide", (PyCFunction
) _wrap_wxDragImage_Hide
, METH_VARARGS
| METH_KEYWORDS
},
9979 { "wxDragImage_Show", (PyCFunction
) _wrap_wxDragImage_Show
, METH_VARARGS
| METH_KEYWORDS
},
9980 { "wxDragImage_Move", (PyCFunction
) _wrap_wxDragImage_Move
, METH_VARARGS
| METH_KEYWORDS
},
9981 { "wxDragImage_EndDrag", (PyCFunction
) _wrap_wxDragImage_EndDrag
, METH_VARARGS
| METH_KEYWORDS
},
9982 { "wxDragImage_BeginDrag2", (PyCFunction
) _wrap_wxDragImage_BeginDrag2
, METH_VARARGS
| METH_KEYWORDS
},
9983 { "wxDragImage_BeginDrag", (PyCFunction
) _wrap_wxDragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
},
9984 { "wxDragImage_SetBackingBitmap", (PyCFunction
) _wrap_wxDragImage_SetBackingBitmap
, METH_VARARGS
| METH_KEYWORDS
},
9985 { "delete_wxDragImage", (PyCFunction
) _wrap_delete_wxDragImage
, METH_VARARGS
| METH_KEYWORDS
},
9986 { "new_wxDragListItem", (PyCFunction
) _wrap_new_wxDragListItem
, METH_VARARGS
| METH_KEYWORDS
},
9987 { "new_wxDragTreeItem", (PyCFunction
) _wrap_new_wxDragTreeItem
, METH_VARARGS
| METH_KEYWORDS
},
9988 { "new_wxDragString", (PyCFunction
) _wrap_new_wxDragString
, METH_VARARGS
| METH_KEYWORDS
},
9989 { "new_wxDragIcon", (PyCFunction
) _wrap_new_wxDragIcon
, METH_VARARGS
| METH_KEYWORDS
},
9990 { "new_wxDragImage", (PyCFunction
) _wrap_new_wxDragImage
, METH_VARARGS
| METH_KEYWORDS
},
9991 { "new_wxPyTipProvider", (PyCFunction
) _wrap_new_wxPyTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
9992 { "wxTipProvider_GetCurrentTip", (PyCFunction
) _wrap_wxTipProvider_GetCurrentTip
, METH_VARARGS
| METH_KEYWORDS
},
9993 { "wxTipProvider_GetTip", (PyCFunction
) _wrap_wxTipProvider_GetTip
, METH_VARARGS
| METH_KEYWORDS
},
9994 { "delete_wxTipProvider", (PyCFunction
) _wrap_delete_wxTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
9995 { "delete_wxMutexGuiLocker", (PyCFunction
) _wrap_delete_wxMutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
},
9996 { "new_wxMutexGuiLocker", (PyCFunction
) _wrap_new_wxMutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
},
9997 { "delete_wxWindowDisabler", (PyCFunction
) _wrap_delete_wxWindowDisabler
, METH_VARARGS
| METH_KEYWORDS
},
9998 { "new_wxWindowDisabler", (PyCFunction
) _wrap_new_wxWindowDisabler
, METH_VARARGS
| METH_KEYWORDS
},
9999 { "delete_wxBusyCursor", (PyCFunction
) _wrap_delete_wxBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
10000 { "new_wxBusyCursor", (PyCFunction
) _wrap_new_wxBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
10001 { "wxFontEnumerator_GetFacenames", (PyCFunction
) _wrap_wxFontEnumerator_GetFacenames
, METH_VARARGS
| METH_KEYWORDS
},
10002 { "wxFontEnumerator_GetEncodings", (PyCFunction
) _wrap_wxFontEnumerator_GetEncodings
, METH_VARARGS
| METH_KEYWORDS
},
10003 { "wxFontEnumerator_EnumerateEncodings", (PyCFunction
) _wrap_wxFontEnumerator_EnumerateEncodings
, METH_VARARGS
| METH_KEYWORDS
},
10004 { "wxFontEnumerator_EnumerateFacenames", (PyCFunction
) _wrap_wxFontEnumerator_EnumerateFacenames
, METH_VARARGS
| METH_KEYWORDS
},
10005 { "wxFontEnumerator__setCallbackInfo", (PyCFunction
) _wrap_wxFontEnumerator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
10006 { "delete_wxFontEnumerator", (PyCFunction
) _wrap_delete_wxFontEnumerator
, METH_VARARGS
| METH_KEYWORDS
},
10007 { "new_wxFontEnumerator", (PyCFunction
) _wrap_new_wxFontEnumerator
, METH_VARARGS
| METH_KEYWORDS
},
10008 { "wxCaret_Hide", (PyCFunction
) _wrap_wxCaret_Hide
, METH_VARARGS
| METH_KEYWORDS
},
10009 { "wxCaret_Show", (PyCFunction
) _wrap_wxCaret_Show
, METH_VARARGS
| METH_KEYWORDS
},
10010 { "wxCaret_SetSize", (PyCFunction
) _wrap_wxCaret_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
10011 { "wxCaret_SetSizeWH", (PyCFunction
) _wrap_wxCaret_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
10012 { "wxCaret_Move", (PyCFunction
) _wrap_wxCaret_Move
, METH_VARARGS
| METH_KEYWORDS
},
10013 { "wxCaret_MoveXY", (PyCFunction
) _wrap_wxCaret_MoveXY
, METH_VARARGS
| METH_KEYWORDS
},
10014 { "wxCaret_GetWindow", (PyCFunction
) _wrap_wxCaret_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
10015 { "wxCaret_GetSize", (PyCFunction
) _wrap_wxCaret_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
10016 { "wxCaret_GetSizeTuple", (PyCFunction
) _wrap_wxCaret_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
10017 { "wxCaret_GetPosition", (PyCFunction
) _wrap_wxCaret_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
10018 { "wxCaret_GetPositionTuple", (PyCFunction
) _wrap_wxCaret_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
10019 { "wxCaret_IsVisible", (PyCFunction
) _wrap_wxCaret_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
10020 { "wxCaret_IsOk", (PyCFunction
) _wrap_wxCaret_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
10021 { "delete_wxCaret", (PyCFunction
) _wrap_delete_wxCaret
, METH_VARARGS
| METH_KEYWORDS
},
10022 { "new_wxCaret", (PyCFunction
) _wrap_new_wxCaret
, METH_VARARGS
| METH_KEYWORDS
},
10023 { "wxToolTip_SetDelay", (PyCFunction
) _wrap_wxToolTip_SetDelay
, METH_VARARGS
| METH_KEYWORDS
},
10024 { "wxToolTip_Enable", (PyCFunction
) _wrap_wxToolTip_Enable
, METH_VARARGS
| METH_KEYWORDS
},
10025 { "wxToolTip_GetWindow", (PyCFunction
) _wrap_wxToolTip_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
10026 { "wxToolTip_GetTip", (PyCFunction
) _wrap_wxToolTip_GetTip
, METH_VARARGS
| METH_KEYWORDS
},
10027 { "wxToolTip_SetTip", (PyCFunction
) _wrap_wxToolTip_SetTip
, METH_VARARGS
| METH_KEYWORDS
},
10028 { "new_wxToolTip", (PyCFunction
) _wrap_new_wxToolTip
, METH_VARARGS
| METH_KEYWORDS
},
10029 { "wxWaveData", (PyCFunction
) _wrap_wxWaveData
, METH_VARARGS
| METH_KEYWORDS
},
10030 { "wxExecute", (PyCFunction
) _wrap_wxExecute
, METH_VARARGS
| METH_KEYWORDS
},
10031 { "wxLogSysError", (PyCFunction
) _wrap_wxLogSysError
, METH_VARARGS
| METH_KEYWORDS
},
10032 { "wxLogStatusFrame", (PyCFunction
) _wrap_wxLogStatusFrame
, METH_VARARGS
| METH_KEYWORDS
},
10033 { "wxLogStatus", (PyCFunction
) _wrap_wxLogStatus
, METH_VARARGS
| METH_KEYWORDS
},
10034 { "wxLogVerbose", (PyCFunction
) _wrap_wxLogVerbose
, METH_VARARGS
| METH_KEYWORDS
},
10035 { "wxLogInfo", (PyCFunction
) _wrap_wxLogInfo
, METH_VARARGS
| METH_KEYWORDS
},
10036 { "wxLogMessage", (PyCFunction
) _wrap_wxLogMessage
, METH_VARARGS
| METH_KEYWORDS
},
10037 { "wxLogWarning", (PyCFunction
) _wrap_wxLogWarning
, METH_VARARGS
| METH_KEYWORDS
},
10038 { "wxLogError", (PyCFunction
) _wrap_wxLogError
, METH_VARARGS
| METH_KEYWORDS
},
10039 { "wxLogFatalError", (PyCFunction
) _wrap_wxLogFatalError
, METH_VARARGS
| METH_KEYWORDS
},
10040 { "wxSysErrorMsg", (PyCFunction
) _wrap_wxSysErrorMsg
, METH_VARARGS
| METH_KEYWORDS
},
10041 { "wxSysErrorCode", (PyCFunction
) _wrap_wxSysErrorCode
, METH_VARARGS
| METH_KEYWORDS
},
10042 { "wxCreateFileTipProvider", (PyCFunction
) _wrap_wxCreateFileTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
10043 { "wxShowTip", (PyCFunction
) _wrap_wxShowTip
, METH_VARARGS
| METH_KEYWORDS
},
10044 { "wxThread_IsMain", (PyCFunction
) _wrap_wxThread_IsMain
, METH_VARARGS
| METH_KEYWORDS
},
10045 { "wxMutexGuiLeave", (PyCFunction
) _wrap_wxMutexGuiLeave
, METH_VARARGS
| METH_KEYWORDS
},
10046 { "wxMutexGuiEnter", (PyCFunction
) _wrap_wxMutexGuiEnter
, METH_VARARGS
| METH_KEYWORDS
},
10047 { "wxWakeUpIdle", (PyCFunction
) _wrap_wxWakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
},
10048 { "wxPostEvent", (PyCFunction
) _wrap_wxPostEvent
, METH_VARARGS
| METH_KEYWORDS
},
10049 { "wxSafeYield", (PyCFunction
) _wrap_wxSafeYield
, METH_VARARGS
| METH_KEYWORDS
},
10050 { "wxCaret_SetBlinkTime", (PyCFunction
) _wrap_wxCaret_SetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
},
10051 { "wxCaret_GetBlinkTime", (PyCFunction
) _wrap_wxCaret_GetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
},
10052 { "wxSystemSettings_GetSystemMetric", (PyCFunction
) _wrap_wxSystemSettings_GetSystemMetric
, METH_VARARGS
| METH_KEYWORDS
},
10053 { "wxSystemSettings_GetSystemFont", (PyCFunction
) _wrap_wxSystemSettings_GetSystemFont
, METH_VARARGS
| METH_KEYWORDS
},
10054 { "wxSystemSettings_GetSystemColour", (PyCFunction
) _wrap_wxSystemSettings_GetSystemColour
, METH_VARARGS
| METH_KEYWORDS
},
10055 { "wxResourceParseString", (PyCFunction
) _wrap_wxResourceParseString
, METH_VARARGS
| METH_KEYWORDS
},
10056 { "wxResourceParseFile", (PyCFunction
) _wrap_wxResourceParseFile
, METH_VARARGS
| METH_KEYWORDS
},
10057 { "wxResourceParseData", (PyCFunction
) _wrap_wxResourceParseData
, METH_VARARGS
| METH_KEYWORDS
},
10058 { "wxResourceGetIdentifier", (PyCFunction
) _wrap_wxResourceGetIdentifier
, METH_VARARGS
| METH_KEYWORDS
},
10059 { "wxResourceCreateMenuBar", (PyCFunction
) _wrap_wxResourceCreateMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
10060 { "wxResourceCreateIcon", (PyCFunction
) _wrap_wxResourceCreateIcon
, METH_VARARGS
| METH_KEYWORDS
},
10061 { "wxResourceCreateBitmap", (PyCFunction
) _wrap_wxResourceCreateBitmap
, METH_VARARGS
| METH_KEYWORDS
},
10062 { "wxResourceClear", (PyCFunction
) _wrap_wxResourceClear
, METH_VARARGS
| METH_KEYWORDS
},
10063 { "wxResourceAddIdentifier", (PyCFunction
) _wrap_wxResourceAddIdentifier
, METH_VARARGS
| METH_KEYWORDS
},
10064 { "wxFindWindowAtPoint", (PyCFunction
) _wrap_wxFindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
},
10065 { "wxGenericFindWindowAtPoint", (PyCFunction
) _wrap_wxGenericFindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
},
10066 { "wxGetActiveWindow", (PyCFunction
) _wrap_wxGetActiveWindow
, METH_VARARGS
| METH_KEYWORDS
},
10067 { "wxBeginBusyCursor", (PyCFunction
) _wrap_wxBeginBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
10068 { "wxFindWindowByName", (PyCFunction
) _wrap_wxFindWindowByName
, METH_VARARGS
| METH_KEYWORDS
},
10069 { "wxFindWindowByLabel", (PyCFunction
) _wrap_wxFindWindowByLabel
, METH_VARARGS
| METH_KEYWORDS
},
10070 { "wxSetCursor", (PyCFunction
) _wrap_wxSetCursor
, METH_VARARGS
| METH_KEYWORDS
},
10071 { "wxGetClientDisplayRect", (PyCFunction
) _wrap_wxGetClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
},
10072 { "wxClientDisplayRect", (PyCFunction
) _wrap_wxClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
},
10073 { "wxGetDisplaySizeMM", (PyCFunction
) _wrap_wxGetDisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
},
10074 { "wxDisplaySizeMM", (PyCFunction
) _wrap_wxDisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
},
10075 { "wxGetDisplaySize", (PyCFunction
) _wrap_wxGetDisplaySize
, METH_VARARGS
| METH_KEYWORDS
},
10076 { "wxDisplaySize", (PyCFunction
) _wrap_wxDisplaySize
, METH_VARARGS
| METH_KEYWORDS
},
10077 { "wxGetDisplayDepth", (PyCFunction
) _wrap_wxGetDisplayDepth
, METH_VARARGS
| METH_KEYWORDS
},
10078 { "wxDisplayDepth", (PyCFunction
) _wrap_wxDisplayDepth
, METH_VARARGS
| METH_KEYWORDS
},
10079 { "wxColourDisplay", (PyCFunction
) _wrap_wxColourDisplay
, METH_VARARGS
| METH_KEYWORDS
},
10080 { "wxGetNumberFromUser", (PyCFunction
) _wrap_wxGetNumberFromUser
, METH_VARARGS
| METH_KEYWORDS
},
10081 { "wxMessageBox", (PyCFunction
) _wrap_wxMessageBox
, METH_VARARGS
| METH_KEYWORDS
},
10082 { "wxGetSingleChoiceIndex", (PyCFunction
) _wrap_wxGetSingleChoiceIndex
, METH_VARARGS
| METH_KEYWORDS
},
10083 { "wxGetSingleChoice", (PyCFunction
) _wrap_wxGetSingleChoice
, METH_VARARGS
| METH_KEYWORDS
},
10084 { "wxGetPasswordFromUser", (PyCFunction
) _wrap_wxGetPasswordFromUser
, METH_VARARGS
| METH_KEYWORDS
},
10085 { "wxGetTextFromUser", (PyCFunction
) _wrap_wxGetTextFromUser
, METH_VARARGS
| METH_KEYWORDS
},
10086 { "wxFileSelector", (PyCFunction
) _wrap_wxFileSelector
, METH_VARARGS
| METH_KEYWORDS
},
10093 * This table is used by the pointer type-checker
10095 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
10096 { "_wxEvent","_wxProcessEvent",SwigwxProcessEventTowxEvent
},
10097 { "_signed_long","_long",0},
10098 { "_wxPrintQuality","_wxCoord",0},
10099 { "_wxPrintQuality","_int",0},
10100 { "_wxPrintQuality","_signed_int",0},
10101 { "_wxPrintQuality","_unsigned_int",0},
10102 { "_wxPrintQuality","_wxWindowID",0},
10103 { "_wxPrintQuality","_uint",0},
10104 { "_wxPrintQuality","_EBool",0},
10105 { "_wxPrintQuality","_size_t",0},
10106 { "_wxPrintQuality","_time_t",0},
10107 { "_wxLog","_wxPyLog",SwigwxPyLogTowxLog
},
10108 { "_wxLog","_wxLogChain",SwigwxLogChainTowxLog
},
10109 { "_wxLog","_wxLogWindow",SwigwxLogWindowTowxLog
},
10110 { "_wxLog","_wxLogGui",SwigwxLogGuiTowxLog
},
10111 { "_wxLog","_wxLogTextCtrl",SwigwxLogTextCtrlTowxLog
},
10112 { "_wxLog","_wxLogStderr",SwigwxLogStderrTowxLog
},
10113 { "_byte","_unsigned_char",0},
10114 { "_long","_unsigned_long",0},
10115 { "_long","_signed_long",0},
10116 { "_size_t","_wxCoord",0},
10117 { "_size_t","_wxPrintQuality",0},
10118 { "_size_t","_time_t",0},
10119 { "_size_t","_unsigned_int",0},
10120 { "_size_t","_int",0},
10121 { "_size_t","_wxWindowID",0},
10122 { "_size_t","_uint",0},
10123 { "_uint","_wxCoord",0},
10124 { "_uint","_wxPrintQuality",0},
10125 { "_uint","_time_t",0},
10126 { "_uint","_size_t",0},
10127 { "_uint","_unsigned_int",0},
10128 { "_uint","_int",0},
10129 { "_uint","_wxWindowID",0},
10130 { "_wxChar","_char",0},
10131 { "_char","_wxChar",0},
10132 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
10133 { "_EBool","_wxCoord",0},
10134 { "_EBool","_wxPrintQuality",0},
10135 { "_EBool","_signed_int",0},
10136 { "_EBool","_int",0},
10137 { "_EBool","_wxWindowID",0},
10138 { "_unsigned_long","_long",0},
10139 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
10140 { "_signed_int","_wxCoord",0},
10141 { "_signed_int","_wxPrintQuality",0},
10142 { "_signed_int","_EBool",0},
10143 { "_signed_int","_wxWindowID",0},
10144 { "_signed_int","_int",0},
10145 { "_WXTYPE","_wxDateTime_t",0},
10146 { "_WXTYPE","_short",0},
10147 { "_WXTYPE","_signed_short",0},
10148 { "_WXTYPE","_unsigned_short",0},
10149 { "_wxTipProvider","_wxPyTipProvider",SwigwxPyTipProviderTowxTipProvider
},
10150 { "_unsigned_short","_wxDateTime_t",0},
10151 { "_unsigned_short","_WXTYPE",0},
10152 { "_unsigned_short","_short",0},
10153 { "_wxObject","_wxFileHistory",SwigwxFileHistoryTowxObject
},
10154 { "_wxObject","_wxWave",SwigwxWaveTowxObject
},
10155 { "_wxObject","_wxJoystick",SwigwxJoystickTowxObject
},
10156 { "_wxObject","_wxPyProcess",SwigwxPyProcessTowxObject
},
10157 { "_wxObject","_wxProcessEvent",SwigwxProcessEventTowxObject
},
10158 { "_wxObject","_wxPyTimer",SwigwxPyTimerTowxObject
},
10159 { "_wxObject","_wxGenericDragImage",SwigwxGenericDragImageTowxObject
},
10160 { "_wxObject","_wxToolTip",SwigwxToolTipTowxObject
},
10161 { "_signed_short","_WXTYPE",0},
10162 { "_signed_short","_short",0},
10163 { "_unsigned_char","_byte",0},
10164 { "_unsigned_int","_wxCoord",0},
10165 { "_unsigned_int","_wxPrintQuality",0},
10166 { "_unsigned_int","_time_t",0},
10167 { "_unsigned_int","_size_t",0},
10168 { "_unsigned_int","_uint",0},
10169 { "_unsigned_int","_wxWindowID",0},
10170 { "_unsigned_int","_int",0},
10171 { "_short","_wxDateTime_t",0},
10172 { "_short","_WXTYPE",0},
10173 { "_short","_unsigned_short",0},
10174 { "_short","_signed_short",0},
10175 { "_wxWindowID","_wxCoord",0},
10176 { "_wxWindowID","_wxPrintQuality",0},
10177 { "_wxWindowID","_time_t",0},
10178 { "_wxWindowID","_size_t",0},
10179 { "_wxWindowID","_EBool",0},
10180 { "_wxWindowID","_uint",0},
10181 { "_wxWindowID","_int",0},
10182 { "_wxWindowID","_signed_int",0},
10183 { "_wxWindowID","_unsigned_int",0},
10184 { "_int","_wxCoord",0},
10185 { "_int","_wxPrintQuality",0},
10186 { "_int","_time_t",0},
10187 { "_int","_size_t",0},
10188 { "_int","_EBool",0},
10189 { "_int","_uint",0},
10190 { "_int","_wxWindowID",0},
10191 { "_int","_unsigned_int",0},
10192 { "_int","_signed_int",0},
10193 { "_wxDateTime_t","_unsigned_short",0},
10194 { "_wxDateTime_t","_short",0},
10195 { "_wxDateTime_t","_WXTYPE",0},
10196 { "_time_t","_wxCoord",0},
10197 { "_time_t","_wxPrintQuality",0},
10198 { "_time_t","_unsigned_int",0},
10199 { "_time_t","_int",0},
10200 { "_time_t","_wxWindowID",0},
10201 { "_time_t","_uint",0},
10202 { "_time_t","_size_t",0},
10203 { "_wxCoord","_int",0},
10204 { "_wxCoord","_signed_int",0},
10205 { "_wxCoord","_unsigned_int",0},
10206 { "_wxCoord","_wxWindowID",0},
10207 { "_wxCoord","_uint",0},
10208 { "_wxCoord","_EBool",0},
10209 { "_wxCoord","_size_t",0},
10210 { "_wxCoord","_time_t",0},
10211 { "_wxCoord","_wxPrintQuality",0},
10212 { "_wxEvtHandler","_wxPyProcess",SwigwxPyProcessTowxEvtHandler
},
10215 static PyObject
*SWIG_globals
;
10219 SWIGEXPORT(void) initmisc2c() {
10221 SWIG_globals
= SWIG_newvarlink();
10222 m
= Py_InitModule("misc2c", misc2cMethods
);
10223 d
= PyModule_GetDict(m
);
10224 PyDict_SetItemString(d
,"wxSYS_WHITE_BRUSH", PyInt_FromLong((long) wxSYS_WHITE_BRUSH
));
10225 PyDict_SetItemString(d
,"wxSYS_LTGRAY_BRUSH", PyInt_FromLong((long) wxSYS_LTGRAY_BRUSH
));
10226 PyDict_SetItemString(d
,"wxSYS_GRAY_BRUSH", PyInt_FromLong((long) wxSYS_GRAY_BRUSH
));
10227 PyDict_SetItemString(d
,"wxSYS_DKGRAY_BRUSH", PyInt_FromLong((long) wxSYS_DKGRAY_BRUSH
));
10228 PyDict_SetItemString(d
,"wxSYS_BLACK_BRUSH", PyInt_FromLong((long) wxSYS_BLACK_BRUSH
));
10229 PyDict_SetItemString(d
,"wxSYS_NULL_BRUSH", PyInt_FromLong((long) wxSYS_NULL_BRUSH
));
10230 PyDict_SetItemString(d
,"wxSYS_HOLLOW_BRUSH", PyInt_FromLong((long) wxSYS_HOLLOW_BRUSH
));
10231 PyDict_SetItemString(d
,"wxSYS_WHITE_PEN", PyInt_FromLong((long) wxSYS_WHITE_PEN
));
10232 PyDict_SetItemString(d
,"wxSYS_BLACK_PEN", PyInt_FromLong((long) wxSYS_BLACK_PEN
));
10233 PyDict_SetItemString(d
,"wxSYS_NULL_PEN", PyInt_FromLong((long) wxSYS_NULL_PEN
));
10234 PyDict_SetItemString(d
,"wxSYS_OEM_FIXED_FONT", PyInt_FromLong((long) wxSYS_OEM_FIXED_FONT
));
10235 PyDict_SetItemString(d
,"wxSYS_ANSI_FIXED_FONT", PyInt_FromLong((long) wxSYS_ANSI_FIXED_FONT
));
10236 PyDict_SetItemString(d
,"wxSYS_ANSI_VAR_FONT", PyInt_FromLong((long) wxSYS_ANSI_VAR_FONT
));
10237 PyDict_SetItemString(d
,"wxSYS_SYSTEM_FONT", PyInt_FromLong((long) wxSYS_SYSTEM_FONT
));
10238 PyDict_SetItemString(d
,"wxSYS_DEVICE_DEFAULT_FONT", PyInt_FromLong((long) wxSYS_DEVICE_DEFAULT_FONT
));
10239 PyDict_SetItemString(d
,"wxSYS_DEFAULT_PALETTE", PyInt_FromLong((long) wxSYS_DEFAULT_PALETTE
));
10240 PyDict_SetItemString(d
,"wxSYS_SYSTEM_FIXED_FONT", PyInt_FromLong((long) wxSYS_SYSTEM_FIXED_FONT
));
10241 PyDict_SetItemString(d
,"wxSYS_DEFAULT_GUI_FONT", PyInt_FromLong((long) wxSYS_DEFAULT_GUI_FONT
));
10242 PyDict_SetItemString(d
,"wxSYS_COLOUR_SCROLLBAR", PyInt_FromLong((long) wxSYS_COLOUR_SCROLLBAR
));
10243 PyDict_SetItemString(d
,"wxSYS_COLOUR_BACKGROUND", PyInt_FromLong((long) wxSYS_COLOUR_BACKGROUND
));
10244 PyDict_SetItemString(d
,"wxSYS_COLOUR_ACTIVECAPTION", PyInt_FromLong((long) wxSYS_COLOUR_ACTIVECAPTION
));
10245 PyDict_SetItemString(d
,"wxSYS_COLOUR_INACTIVECAPTION", PyInt_FromLong((long) wxSYS_COLOUR_INACTIVECAPTION
));
10246 PyDict_SetItemString(d
,"wxSYS_COLOUR_MENU", PyInt_FromLong((long) wxSYS_COLOUR_MENU
));
10247 PyDict_SetItemString(d
,"wxSYS_COLOUR_WINDOW", PyInt_FromLong((long) wxSYS_COLOUR_WINDOW
));
10248 PyDict_SetItemString(d
,"wxSYS_COLOUR_WINDOWFRAME", PyInt_FromLong((long) wxSYS_COLOUR_WINDOWFRAME
));
10249 PyDict_SetItemString(d
,"wxSYS_COLOUR_MENUTEXT", PyInt_FromLong((long) wxSYS_COLOUR_MENUTEXT
));
10250 PyDict_SetItemString(d
,"wxSYS_COLOUR_WINDOWTEXT", PyInt_FromLong((long) wxSYS_COLOUR_WINDOWTEXT
));
10251 PyDict_SetItemString(d
,"wxSYS_COLOUR_CAPTIONTEXT", PyInt_FromLong((long) wxSYS_COLOUR_CAPTIONTEXT
));
10252 PyDict_SetItemString(d
,"wxSYS_COLOUR_ACTIVEBORDER", PyInt_FromLong((long) wxSYS_COLOUR_ACTIVEBORDER
));
10253 PyDict_SetItemString(d
,"wxSYS_COLOUR_INACTIVEBORDER", PyInt_FromLong((long) wxSYS_COLOUR_INACTIVEBORDER
));
10254 PyDict_SetItemString(d
,"wxSYS_COLOUR_APPWORKSPACE", PyInt_FromLong((long) wxSYS_COLOUR_APPWORKSPACE
));
10255 PyDict_SetItemString(d
,"wxSYS_COLOUR_HIGHLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_HIGHLIGHT
));
10256 PyDict_SetItemString(d
,"wxSYS_COLOUR_HIGHLIGHTTEXT", PyInt_FromLong((long) wxSYS_COLOUR_HIGHLIGHTTEXT
));
10257 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNFACE", PyInt_FromLong((long) wxSYS_COLOUR_BTNFACE
));
10258 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNSHADOW", PyInt_FromLong((long) wxSYS_COLOUR_BTNSHADOW
));
10259 PyDict_SetItemString(d
,"wxSYS_COLOUR_GRAYTEXT", PyInt_FromLong((long) wxSYS_COLOUR_GRAYTEXT
));
10260 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNTEXT", PyInt_FromLong((long) wxSYS_COLOUR_BTNTEXT
));
10261 PyDict_SetItemString(d
,"wxSYS_COLOUR_INACTIVECAPTIONTEXT", PyInt_FromLong((long) wxSYS_COLOUR_INACTIVECAPTIONTEXT
));
10262 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNHIGHLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_BTNHIGHLIGHT
));
10263 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DDKSHADOW", PyInt_FromLong((long) wxSYS_COLOUR_3DDKSHADOW
));
10264 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_3DLIGHT
));
10265 PyDict_SetItemString(d
,"wxSYS_COLOUR_INFOTEXT", PyInt_FromLong((long) wxSYS_COLOUR_INFOTEXT
));
10266 PyDict_SetItemString(d
,"wxSYS_COLOUR_INFOBK", PyInt_FromLong((long) wxSYS_COLOUR_INFOBK
));
10267 PyDict_SetItemString(d
,"wxSYS_COLOUR_DESKTOP", PyInt_FromLong((long) wxSYS_COLOUR_DESKTOP
));
10268 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DFACE", PyInt_FromLong((long) wxSYS_COLOUR_3DFACE
));
10269 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DSHADOW", PyInt_FromLong((long) wxSYS_COLOUR_3DSHADOW
));
10270 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DHIGHLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_3DHIGHLIGHT
));
10271 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DHILIGHT", PyInt_FromLong((long) wxSYS_COLOUR_3DHILIGHT
));
10272 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNHILIGHT", PyInt_FromLong((long) wxSYS_COLOUR_BTNHILIGHT
));
10273 PyDict_SetItemString(d
,"wxSYS_MOUSE_BUTTONS", PyInt_FromLong((long) wxSYS_MOUSE_BUTTONS
));
10274 PyDict_SetItemString(d
,"wxSYS_BORDER_X", PyInt_FromLong((long) wxSYS_BORDER_X
));
10275 PyDict_SetItemString(d
,"wxSYS_BORDER_Y", PyInt_FromLong((long) wxSYS_BORDER_Y
));
10276 PyDict_SetItemString(d
,"wxSYS_CURSOR_X", PyInt_FromLong((long) wxSYS_CURSOR_X
));
10277 PyDict_SetItemString(d
,"wxSYS_CURSOR_Y", PyInt_FromLong((long) wxSYS_CURSOR_Y
));
10278 PyDict_SetItemString(d
,"wxSYS_DCLICK_X", PyInt_FromLong((long) wxSYS_DCLICK_X
));
10279 PyDict_SetItemString(d
,"wxSYS_DCLICK_Y", PyInt_FromLong((long) wxSYS_DCLICK_Y
));
10280 PyDict_SetItemString(d
,"wxSYS_DRAG_X", PyInt_FromLong((long) wxSYS_DRAG_X
));
10281 PyDict_SetItemString(d
,"wxSYS_DRAG_Y", PyInt_FromLong((long) wxSYS_DRAG_Y
));
10282 PyDict_SetItemString(d
,"wxSYS_EDGE_X", PyInt_FromLong((long) wxSYS_EDGE_X
));
10283 PyDict_SetItemString(d
,"wxSYS_EDGE_Y", PyInt_FromLong((long) wxSYS_EDGE_Y
));
10284 PyDict_SetItemString(d
,"wxSYS_HSCROLL_ARROW_X", PyInt_FromLong((long) wxSYS_HSCROLL_ARROW_X
));
10285 PyDict_SetItemString(d
,"wxSYS_HSCROLL_ARROW_Y", PyInt_FromLong((long) wxSYS_HSCROLL_ARROW_Y
));
10286 PyDict_SetItemString(d
,"wxSYS_HTHUMB_X", PyInt_FromLong((long) wxSYS_HTHUMB_X
));
10287 PyDict_SetItemString(d
,"wxSYS_ICON_X", PyInt_FromLong((long) wxSYS_ICON_X
));
10288 PyDict_SetItemString(d
,"wxSYS_ICON_Y", PyInt_FromLong((long) wxSYS_ICON_Y
));
10289 PyDict_SetItemString(d
,"wxSYS_ICONSPACING_X", PyInt_FromLong((long) wxSYS_ICONSPACING_X
));
10290 PyDict_SetItemString(d
,"wxSYS_ICONSPACING_Y", PyInt_FromLong((long) wxSYS_ICONSPACING_Y
));
10291 PyDict_SetItemString(d
,"wxSYS_WINDOWMIN_X", PyInt_FromLong((long) wxSYS_WINDOWMIN_X
));
10292 PyDict_SetItemString(d
,"wxSYS_WINDOWMIN_Y", PyInt_FromLong((long) wxSYS_WINDOWMIN_Y
));
10293 PyDict_SetItemString(d
,"wxSYS_SCREEN_X", PyInt_FromLong((long) wxSYS_SCREEN_X
));
10294 PyDict_SetItemString(d
,"wxSYS_SCREEN_Y", PyInt_FromLong((long) wxSYS_SCREEN_Y
));
10295 PyDict_SetItemString(d
,"wxSYS_FRAMESIZE_X", PyInt_FromLong((long) wxSYS_FRAMESIZE_X
));
10296 PyDict_SetItemString(d
,"wxSYS_FRAMESIZE_Y", PyInt_FromLong((long) wxSYS_FRAMESIZE_Y
));
10297 PyDict_SetItemString(d
,"wxSYS_SMALLICON_X", PyInt_FromLong((long) wxSYS_SMALLICON_X
));
10298 PyDict_SetItemString(d
,"wxSYS_SMALLICON_Y", PyInt_FromLong((long) wxSYS_SMALLICON_Y
));
10299 PyDict_SetItemString(d
,"wxSYS_HSCROLL_Y", PyInt_FromLong((long) wxSYS_HSCROLL_Y
));
10300 PyDict_SetItemString(d
,"wxSYS_VSCROLL_X", PyInt_FromLong((long) wxSYS_VSCROLL_X
));
10301 PyDict_SetItemString(d
,"wxSYS_VSCROLL_ARROW_X", PyInt_FromLong((long) wxSYS_VSCROLL_ARROW_X
));
10302 PyDict_SetItemString(d
,"wxSYS_VSCROLL_ARROW_Y", PyInt_FromLong((long) wxSYS_VSCROLL_ARROW_Y
));
10303 PyDict_SetItemString(d
,"wxSYS_VTHUMB_Y", PyInt_FromLong((long) wxSYS_VTHUMB_Y
));
10304 PyDict_SetItemString(d
,"wxSYS_CAPTION_Y", PyInt_FromLong((long) wxSYS_CAPTION_Y
));
10305 PyDict_SetItemString(d
,"wxSYS_MENU_Y", PyInt_FromLong((long) wxSYS_MENU_Y
));
10306 PyDict_SetItemString(d
,"wxSYS_NETWORK_PRESENT", PyInt_FromLong((long) wxSYS_NETWORK_PRESENT
));
10307 PyDict_SetItemString(d
,"wxSYS_PENWINDOWS_PRESENT", PyInt_FromLong((long) wxSYS_PENWINDOWS_PRESENT
));
10308 PyDict_SetItemString(d
,"wxSYS_SHOW_SOUNDS", PyInt_FromLong((long) wxSYS_SHOW_SOUNDS
));
10309 PyDict_SetItemString(d
,"wxSYS_SWAP_BUTTONS", PyInt_FromLong((long) wxSYS_SWAP_BUTTONS
));
10310 PyDict_SetItemString(d
,"wxLOG_FatalError", PyInt_FromLong((long) wxLOG_FatalError
));
10311 PyDict_SetItemString(d
,"wxLOG_Error", PyInt_FromLong((long) wxLOG_Error
));
10312 PyDict_SetItemString(d
,"wxLOG_Warning", PyInt_FromLong((long) wxLOG_Warning
));
10313 PyDict_SetItemString(d
,"wxLOG_Message", PyInt_FromLong((long) wxLOG_Message
));
10314 PyDict_SetItemString(d
,"wxLOG_Info", PyInt_FromLong((long) wxLOG_Info
));
10315 PyDict_SetItemString(d
,"wxLOG_Status", PyInt_FromLong((long) wxLOG_Status
));
10316 PyDict_SetItemString(d
,"wxLOG_Debug", PyInt_FromLong((long) wxLOG_Debug
));
10317 PyDict_SetItemString(d
,"wxLOG_Trace", PyInt_FromLong((long) wxLOG_Trace
));
10318 PyDict_SetItemString(d
,"wxLOG_Progress", PyInt_FromLong((long) wxLOG_Progress
));
10319 PyDict_SetItemString(d
,"wxLOG_User", PyInt_FromLong((long) wxLOG_User
));
10320 PyDict_SetItemString(d
,"wxEVT_END_PROCESS", PyInt_FromLong((long) wxEVT_END_PROCESS
));
10321 PyDict_SetItemString(d
,"wxMAILCAP_STANDARD", PyInt_FromLong((long) wxMAILCAP_STANDARD
));
10322 PyDict_SetItemString(d
,"wxMAILCAP_NETSCAPE", PyInt_FromLong((long) wxMAILCAP_NETSCAPE
));
10323 PyDict_SetItemString(d
,"wxMAILCAP_KDE", PyInt_FromLong((long) wxMAILCAP_KDE
));
10324 PyDict_SetItemString(d
,"wxMAILCAP_GNOME", PyInt_FromLong((long) wxMAILCAP_GNOME
));
10325 PyDict_SetItemString(d
,"wxMAILCAP_ALL", PyInt_FromLong((long) wxMAILCAP_ALL
));
10326 PyDict_SetItemString(d
,"cvar", SWIG_globals
);
10327 SWIG_addvarlink(SWIG_globals
,"wxTheMimeTypesManager",_wrap_wxTheMimeTypesManager_get
, _wrap_wxTheMimeTypesManager_set
);
10329 wxPyPtrTypeMap_Add("wxFontEnumerator", "wxPyFontEnumerator");
10330 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
10331 wxPyPtrTypeMap_Add("wxProcess", "wxPyProcess");
10334 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
10335 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);